1 2019-07-12 Mike Crowe <mac@mcrowe.com>
3 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
4 works like pthread_mutex_timedlock but takes a clockid parameter to
5 measure the abstime parameter against.
6 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
7 * nptl/DESIGN-systemtap-probes.txt: Likewise.
8 * nptl/pthread_mutex_timedlock.c
9 (__pthread_mutex_clocklock_common): Rename from
10 __pthread_mutex_timedlock and add clockid parameter. Pass this
11 parameter to lll_clocklock and lll_clocklock_elision in place of
12 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
13 LIBC_PROBE and validate clockid parameter before calling
14 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
15 implementation to add LIBC_PROBE and calls
16 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
18 * nptl/Makefile: Add tst-mutex11.c.
19 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
20 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
21 clockid parameters to pthread_mutex_clocklock.
22 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
23 clockid parameter to indicate which clock to be used. Call
24 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
25 (do_test): Call do_test_clock to separately test
26 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
27 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
28 * nptl/tst-mutex9.c: Likewise.
29 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
30 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
32 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
34 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
36 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
38 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
40 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
42 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
44 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
45 (GLIBC_2.30): Likewise.
46 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
47 (GLIBC_2.30): Likewise.
48 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
49 (GLIBC_2.30): Likewise.
50 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
51 (GLIBC_2.30): Likewise.
52 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
53 (GLIBC_2.30): Likewise.
54 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
56 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
57 (GLIBC_2.30): Likewise.
58 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
59 (GLIBC_2.30): Likewise.
60 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
61 (GLIBC_2.30): Likewise.
62 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
63 (GLIBC_2.30): Likewise.
64 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
65 (GLIBC_2.30): Likewise.
66 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
67 (GLIBC_2.30): Likewise.
68 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
70 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
71 (GLIBC_2.30): Likewise.
72 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
73 (GLIBC_2.30): Likewise.
74 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
75 (GLIBC_2.30): Likewise.
76 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
77 (GLIBC_2.30): Likewise.
79 nptl: Rename lll_timedlock to lll_clocklock and add clockid
80 parameter to indicate the clock that the abstime parameter should
81 be measured against in preparation for adding
82 pthread_mutex_clocklock.
83 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
84 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
85 from __lll_timedlock and add clockid parameter.
86 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
88 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
89 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
90 rather than __gettimeofday so that clockid can be used. This means
91 that conversion from struct timeval is no longer required.
92 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
94 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
95 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
96 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
97 from lll_timedlock_elision, add clockid parameter and use
98 meaningful names for other parameters. (__pthread_mutex_timedlock):
99 Pass CLOCK_REALTIME where necessary to lll_clocklock and
100 lll_clocklock_elision.
101 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
102 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
103 clockid parameter. (__lll_clocklock_elision): Rename from
104 __lll_timedlock_elision and add clockid parameter.
105 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
106 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
107 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
108 (__lll_lock_elision): Call __lll_clocklock_elision rather than
109 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
110 (LLL_LOCK): Likewise.
111 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
112 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
114 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
115 pthread_rwlock_clockwrlock which behave like
116 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
117 respectively, except they always measure abstime against the
118 supplied clockid. The functions currently support CLOCK_REALTIME
119 and CLOCK_MONOTONIC and return EINVAL if any other clock is
121 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
122 pthread_wrlock_clockwrlock.
123 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
124 pthread_rwlock_clockwrlock.c.
125 * nptl/pthread_rwlock_clockrdlock.c: Implement
126 pthread_rwlock_clockrdlock.
127 * nptl/pthread_rwlock_clockwrlock.c: Implement
128 pthread_rwlock_clockwrlock.
129 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
130 clockid parameter and verify that it indicates a supported clock on
131 entry so that we fail even if it doesn't end up being used. Pass
132 that clock on to futex_abstimed_wait when necessary.
133 (__pthread_rwlock_wrlock_full): Likewise.
134 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
135 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
136 be used because there's no timeout.
137 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
138 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
139 be used because there is no timeout.
140 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
141 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
143 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
144 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
146 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
147 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
148 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
149 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
150 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
151 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
152 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
153 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
154 (GLIBC_2.30): Likewise.
155 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
156 (GLIBC_2.30): Likewise.
157 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
158 (GLIBC_2.30): Likewise.
159 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
160 (GLIBC_2.30): Likewise.
161 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
162 (GLIBC_2.30): Likewise.
163 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
165 (GLIBC_2.30): Likewise.
166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
167 (GLIBC_2.30): Likewise.
168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
169 (GLIBC_2.30): Likewise.
170 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
171 (GLIBC_2.30): Likewise.
172 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
173 (GLIBC_2.30): Likewise.
174 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
175 (GLIBC_2.30): Likewise.
176 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
177 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
178 (GLIBC_2.30): Likewise.
179 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
180 (GLIBC_2.30): Likewise.
181 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
182 (GLIBC_2.30): Likewise.
183 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
184 (GLIBC_2.30): Likewise.
185 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
186 pthread_rwlock_clockwrlock timeout tests to match the existing
187 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
188 * nptl/tst-rwlock14.c (do_test): Likewise.
189 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
190 ancillary output throughout. (tf): Accept thread_args structure so
191 that rwlock, a clockid and function name can be passed to the
192 thread. (do_test_clock): Rename from do_test. Accept clockid
193 parameter to specify test clock. Use the magic clockid value of
194 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
195 pthread_rwlock_timedwrlock should be tested, otherwise pass the
196 specified clockid to pthread_rwlock_clockrdlock and
197 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
198 (do_test): Call do_test_clock to test each clockid in turn.
199 * nptl/tst-rwlock7.c: Likewise.
200 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
201 thread_args structure so that the (now int) thread number, the
202 clockid and the function name can be passed to the thread.
203 (do_test_clock): Renamed from do_test. Pass the necessary
204 thread_args when creating the reader and writer threads. Use
205 xpthread_create and xpthread_join.
206 (do_test): Call do_test_clock to test each clockid in turn.
207 * manual/threads.texi: Add documentation for
208 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
210 nptl: pthread_rwlock: Move timeout validation into _full functions
211 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
212 Check validity of abstime parameter.
213 (__pthread_rwlock_rwlock_full): Likewise.
214 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
215 Remove check for validity of abstime parameter.
216 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
219 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
220 like pthread_cond_timedwait except it always measures abstime
221 against the supplied clockid.
222 * nptl/Makefile: Add tst-cond26 and tst-cond27
223 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
224 * sysdeps/nptl/pthread.h: Likewise
225 * nptl/forward.c: Add __pthread_cond_clockwait
226 * nptl/forward.c: Likewise
227 * nptl/pthreadP.h: Likewise
228 * sysdeps/nptl/pthread-functions.h: Likewise
229 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
230 clockid parameter and comment describing why we don't need to check
231 its value. Use that value when calling
232 futex_abstimed_wait_cancelable rather than reading the clock from
233 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
234 (__pthread_cond_timedwait): Read clock from flags and pass it to
235 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
236 function with weak alias from pthread_cond_clockwait.
237 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
238 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
239 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
240 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
241 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
242 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
243 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
244 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
245 (GLIBC_2.30): Likewise.
246 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
247 (GLIBC_2.30): Likewise.
248 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
249 (GLIBC_2.30): Likewise.
250 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
251 (GLIBC_2.30): Likewise.
252 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
253 (GLIBC_2.30): Likewise.
254 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
256 (GLIBC_2.30): Likewise.
257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
258 (GLIBC_2.30): Likewise.
259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
260 (GLIBC_2.30): Likewise.
261 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
262 (GLIBC_2.30): Likewise.
263 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
264 (GLIBC_2.30): Likewise.
265 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
266 (GLIBC_2.30): Likewise.
267 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
268 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
269 (GLIBC_2.30): Likewise.
270 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
271 (GLIBC_2.30): Likewise.
272 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
273 (GLIBC_2.30): Likewise.
274 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
275 (GLIBC_2.30): Likewise.
276 * nptl/tst-cond11.c (run_test): Support testing
277 pthread_cond_clockwait too by using a special magic
278 CLOCK_USE_ATTR_CLOCK value to determine whether to call
279 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
280 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
281 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
282 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
283 clocks to pthread_cond_clockwait.
284 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
285 struct timespec and pthread_cond_clockwait.
286 * manual/threads.texi: Document pthread_cond_clockwait.
288 nptl: Add POSIX-proposed sem_clockwait which behaves just like
289 sem_timedwait, but measures abstime against the specified clock.
290 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
291 clockid parameters to indicate the clock which abstime should be
293 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
294 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
296 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
298 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
299 sem_clockwait.c to match those used for sem_timedwait.c.
300 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
301 * nptl/Versions (GLIBC_2.30): Likewise.
302 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
303 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
304 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
305 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
306 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
307 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
308 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
309 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
310 (GLIBC_2.30): Likewise.
311 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
312 (GLIBC_2.30): Likewise.
313 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
314 (GLIBC_2.30): Likewise.
315 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
316 (GLIBC_2.30): Likewise.
317 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
318 (GLIBC_2.30): Likewise.
319 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
321 (GLIBC_2.30): Likewise.
322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
323 (GLIBC_2.30): Likewise.
324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
325 (GLIBC_2.30): Likewise.
326 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
327 (GLIBC_2.30): Likewise.
328 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
329 (GLIBC_2.30): Likewise.
330 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
331 (GLIBC_2.30): Likewise.
332 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
333 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
334 (GLIBC_2.30): Likewise.
335 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
336 (GLIBC_2.30): Likewise.
337 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
338 (GLIBC_2.30): Likewise.
339 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
340 (GLIBC_2.30): Likewise.
341 * nptl/tst-sem17.c: Add new test for passing invalid clock to
343 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
344 tests to also test sem_clockwait.
345 * manual/threads.texi: Document sem_clockwait.
347 nptl: Add clockid parameter to futex timed wait calls
348 * sysdeps/nptl/lowlevellock-futex.h,
349 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
350 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
351 takes a clockid rather than a special clockbit.
352 * sysdeps/nptl/lowlevellock-futex.h: Add
353 lll_futex_supported_clockid so that client functions can check
354 whether their clockid parameter is valid even if they don't
355 ultimately end up calling lll_futex_clock_wait_bitset.
356 * sysdeps/nptl/futex-internal.h,
357 sysdeps/unix/sysv/linux/futex-internal.h
358 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
359 clockid_t parameter to indicate which clock the absolute time
360 passed should be measured against. Pass that clockid onto
361 lll_futex_clock_wait_bitset. Add invalid clock as reason for
363 * sysdeps/nptl/futex-internal.h,
364 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
365 futex_abstimed_supported_clockid so that client functions can check
366 whether their clockid parameter is valid even if they don't
367 ultimately end up calling futex_abstimed_wait.
368 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
369 code to calculate relative timeout for
370 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
371 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
372 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
373 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
374 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
375 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
376 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
378 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
381 * posix/tst-mmap-offset.c: Mention BZ #24699.
382 (do_test_bz21270): Rename to do_test_large_offset and use
383 mmap64_maximum_offset to check for maximum expected offset value.
384 * sysdeps/generic/mmap_info.h: New file.
385 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
386 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
389 2019-07-10 DJ Delorie <dj@redhat.com>
390 Sergei Trofimovich <slyfox@inbox.ru>
394 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
396 * nss/tst-nss-db-endgrent.c: New.
397 * nss/tst-nss-db-endgrent.root: New.
398 * nss/tst-nss-db-endpwent.c: New.
399 * nss/tst-nss-db-endpwent.root: New.
400 * nss/Makefile: Add new tests.
401 * support/links-dso-program-c.c: Add selinux dependency.
402 * support/links-dso-program.cc: Add selinux dependency.
403 * support/Makefile: Build those with -lselinux if enabled.
405 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
407 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
408 DT_AARCH64_VARIANT_PCS check.
409 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
410 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
413 2019-07-10 Andreas Schwab <schwab@suse.de>
416 * malloc/malloc.h (__malloc_check_init): Don't declare.
417 * include/malloc.h (__malloc_check_init): Likewise.
418 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
419 * manual/memory.texi (__malloc_check_init): Don't mention it.
421 2019-07-10 Mao Han <han_mao@c-sky.com>
423 * locale/Makefile: Fix tst-locale-locpath arguments passing.
425 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
427 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
428 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
430 2019-07-08 DJ Delorie <dj@redhat.com>
433 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
434 * io/tst-ftw-lnk.c: New test.
435 * io/Makefile: Run it.
437 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
439 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
440 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
441 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
442 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
443 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
444 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
446 Adjust implementation path.
447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
448 Adjust implementation path.
449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
450 Adjust implementation path.
451 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
452 (libm-sysdep_routines): Add s_log* objects.
453 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
454 CFLAGS-s_logb-power7.c): New fule.
455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
457 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
461 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
464 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
467 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
471 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
474 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
477 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
481 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
484 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
485 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
486 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
487 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
488 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
490 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
491 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
492 powerpc32 integer 0 converting to -0.
494 * benchtests/Makefile (bench-math): Add logb.
495 * benchtests/logb-inputs: New file.
496 * benchtests/logbf-inputs: New file.
498 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
499 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
500 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
501 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
506 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
507 sysdep_routines): Add s_modf* objects.
508 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
509 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
512 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
516 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
519 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
522 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
525 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
528 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
530 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
531 twoM500, twoM600, two60factor, pdnum): Remove.
532 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
533 (__ieee754_hypot): Replace static variables with inline definition,
534 remove ununsed branches.
535 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
536 (libm-sysdep_routines): Remove e_hypot-* objects.
537 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
538 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
540 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
541 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
542 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
543 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
544 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
546 * benchtests/Makefile (bench-math): Add hypot.
547 * benchtests/hypot-inputs: New file.
549 2019-07-08 Vincent Chen <vincentc@andestech.com>
551 * sysdeps/unix/sysv/linux/dl-vdso.h
552 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
554 2019-07-04 Andreas Schwab <schwab@suse.de>
557 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
559 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
561 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
562 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
563 * sysdeps/aarch64/sys/ifunc.h: New file.
564 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
565 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
567 2019-07-01 Florian Weimer <fweimer@redhat.com>
570 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
571 Replace __vfork with __libpthread_version_placeholder for
573 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
574 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
576 * nptl/pt-vfork.c: Remove file.
577 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
578 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
579 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
580 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
581 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
582 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
583 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
584 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
585 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
586 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
587 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
588 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
589 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
590 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
591 Remove vfork, __vfork.
592 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
594 (GLIBC_2.1.2): Replace __vfork with
595 __libpthread_version_placeholder.
596 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
597 Remove vfork, __vfork.
598 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
600 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
602 (GLIBC_2.1.2): Replace __vfork with
603 __libpthread_version_placeholder.
604 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
606 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
607 (GLIBC_2.4): Remove vfork, __vfork.
608 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
609 (GLIBC_2.0): Remove vfork.
610 (GLIBC_2.1.2): Replace __vfork with
611 __libpthread_version_placeholder.
612 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
613 (GLIBC_2.18): Remove vfork, __vfork.
614 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
615 (GLIBC_2.0): Remove vfork.
616 (GLIBC_2.2): Remove __vfork.
617 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
618 (GLIBC_2.2): Remove vfork, __vfork.
619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
620 (GLIBC_2.0): Remove vfork.
621 (GLIBC_2.1.2): Replace __vfork with
622 __libpthread_version_placeholder.
623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
624 (GLIBC_2.3): Remove vfork, __vfork.
625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
626 (GLIBC_2.17): Likewise.
627 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
628 (GLIBC_2.0): Remove vfork.
629 (GLIBC_2.1.2): Replace __vfork with
630 __libpthread_version_placeholder.
631 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
632 (GLIBC_2.2): Remove vfork, __vfork.
633 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
635 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
636 (GLIBC_2.0): Remove vfork.
637 (GLIBC_2.1.2): Replace __vfork with
638 __libpthread_version_placeholder.
639 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
640 (GLIBC_2.2): Remove vfork, __vfork.
641 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
642 (GLIBC_2.2.5): Likewise.
643 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
644 (GLIBC_2.16): Likewise.
645 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
646 Remove __errno_location.
648 2019-07-02 Florian Weimer <fweimer@redhat.com>
651 * malloc/Depend: Add nptl and htl, due to potential indirect
652 libpthread dependency of memusagestat.
654 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
656 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
659 2019-07-01 Florian Weimer <fweimer@redhat.com>
661 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
662 variant for arm-linux-gnueabi.
664 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
667 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
669 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
670 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
671 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
672 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
673 and tst-cet-legacy-mod-6c.
674 (CFLAGS-tst-cet-legacy-5a.c): New.
675 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
676 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
677 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
678 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
679 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
680 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
681 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
682 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
683 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
684 ($(objpfx)tst-cet-legacy-5a): Likewise.
685 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
686 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
687 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
688 ($(objpfx)tst-cet-legacy-5b): Likewise.
689 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
690 (tst-cet-legacy-5b-ENV): Likewise.
691 ($(objpfx)tst-cet-legacy-6a): Likewise.
692 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
693 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
694 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
695 ($(objpfx)tst-cet-legacy-6b): Likewise.
696 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
697 (tst-cet-legacy-6b-ENV): Likewise.
698 * sysdeps/x86/tst-cet-legacy-5.c: New file.
699 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
700 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
701 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
702 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
703 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
704 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
705 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
706 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
707 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
708 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
709 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
710 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
711 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
713 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
715 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
716 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
717 (__fegetround_ISA300) New.
718 (__fegetround_ISA2) New.
719 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
720 (_FPU_MFFS): Move implementation...
722 (_FPU_MFFSL): Move implementation....
723 (_FPU_GET_RC_ISA300): Here. New.
724 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
725 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
726 (fegetenv_status): New.
727 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
728 instead of fegetenv_register().
729 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
731 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
733 * benchtests/bench-math-inlines.c: Increase iterations.
734 * benchtests/bench-memcmp.c: Likewise.
735 * benchtests/bench-rawmemchr.c: Likewise.
736 * benchtests/bench-strcmp.c: Likewise.
737 * benchtests/bench-strcpy_chk.c: Likewise.
738 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
739 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
740 (INNER_LOOP_ITERS_SMALL): Likewise.
741 * benchtests/bench-strncat.c: Increase iterations.
742 * benchtests/bench-strncmp.c: Increase iterations.
743 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
744 * benchtests/bench-strrchr.c: Increase iterations.
745 * benchtests/bench-strstr.c: Keep iterations unchanged.
746 * benchtests/bench-strtod.c: Increase iterations.
748 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
750 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
751 with INNER_LOOP_ITERS_LARGE.
752 * benchtests/bench-memchr.c: Likewise.
753 * benchtests/bench-rawmemchr.c: Likewise.
754 * benchtests/bench-strcat.c: Likewise.
755 * benchtests/bench-strchr.c: Likewise.
756 * benchtests/bench-string.h: Likewise.
757 * benchtests/bench-strlen.c: Likewise.
758 * benchtests/bench-strncpy.c: Likewise.
759 * benchtests/bench-strnlen.c: Likewise.
761 2019-06-28 Florian Weimer <fweimer@redhat.com>
763 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
764 Use mmap instead of malloc. malloc with M_PERTURB writes to the
765 entire allocated memory range.
767 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
769 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
770 (prepare_version_base): New helper inline function.
771 (prepare_version): New macro replacing PREPARE_VERSION.
772 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
774 2019-06-28 Florian Weimer <fweimer@redhat.com>
777 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
778 mismatch in a versioned symbol reference.
779 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
780 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
781 tst-sonamemove-dlopen.
782 (module-names): Add tst-sonamemove-linkmod1,
783 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
784 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
785 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
786 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
787 (tst-sonamemove-runmod1.so): Link against
788 tst-sonamemove-runmod2.so.
789 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
790 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
791 tst-sonamemove-runmod2.so.
792 (tst-sonamemove-dlopen): Link with -ldl.
793 (tst-sonamemove-dlopen.out): Likewise.
794 * elf/tst-sonamemove-link.c: New file.
795 * elf/tst-sonamemove-dlopen.c: Likewise.
796 * elf/tst-sonamemove-linkmod1.c: Likewise.
797 * elf/tst-sonamemove-linkmod1.map: Likewise.
798 * elf/tst-sonamemove-runmod1.c: Likewise.
799 * elf/tst-sonamemove-runmod1.map: Likewise.
800 * elf/tst-sonamemove-runmod2.c: Likewise.
801 * elf/tst-sonamemove-runmod2.map: Likewise.
803 2019-06-28 Florian Weimer <fweimer@redhat.com>
805 * support/xdlfcn.h (xdlvsym): Declare function.
806 * support/xdlfcn.c (xdlvsym): Define funciton.
808 2019-06-28 Florian Weimer <fweimer@redhat.com>
811 io: Remove the copy_file_range emulation.
812 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
813 not define and call copy_file_range_compat.
814 * io/Makefile (tests-static, tests-internal): Do not add
815 tst-copy_file_range-compat.
816 * io/copy_file_range-compat.c: Remove file.
817 * io/copy_file_range.c (copy_file_range): Define as stub.
818 * io/tst-copy_file_range-compat.c: Remove file.
819 * io/tst-copy_file_range.c (xdevfile): Remove variable.
820 (typical_sizes): Update comment. Remove 16K sizes.
821 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
823 (find_maximum_offset, pipe_as_source, pipe_as_destination)
824 (delayed_write_failure_beginning, delayed_write_failure_end)
825 (cross_device_failure, enospc_failure_1, enospc_failure)
826 (oappend_failure): Remove functions.
827 (tests): Adjust test case list.
828 (do_test): Remove file system search code. Check for ENOSYS from
829 copy_file_range. Do not free xdevfile.
830 * manual/llio.texi (Copying File Data): Document ENOSYS error from
831 copy_file_range. Do not document the EXDEV error, which future
832 kernels may not report. Update the wording to reflect that
833 further errors are possible.
834 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
835 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
837 * sysdeps/unix/sysv/linux/arm/kernel-features.h
838 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
840 * sysdeps/unix/sysv/linux/kernel-features.h
841 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
843 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
844 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
846 * sysdeps/unix/sysv/linux/sh/kernel-features.h
847 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
850 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
852 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
853 used as a mask for the mode argument of __vfprintf_internal.
854 * stdio-common/printf-parse.h (printf_arg): New union member:
856 * stdio-common/vfprintf-internal.c
857 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
858 (PARSE_FLOAT_VA_ARG): Likewise.
859 (SETUP_FLOAT128_INFO): Likewise.
860 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
862 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
863 floating-point value to the new union member, pa_float128.
864 (printf_positional): Zero-initialize args_value[cnt] with memset.
866 2019-06-27 Florian Weimer <fweimer@redhat.com>
869 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
870 buffer size if necessary.
871 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
873 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
875 (large_buffer_checks): Likewise.
876 (do_test): Call large_buffer_checks.
878 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
880 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
881 * sysdeps/x86/dl-lookupcfg.h: Here.
882 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
884 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
886 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
887 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
888 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
890 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
891 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
892 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
893 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
894 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
896 * sysdeps/powerpc/powerpc32/fpu/Makefile
897 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
898 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
899 and fctidz optimization.
900 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
901 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
903 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
904 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
905 CFLAGS-s_lround-power5+.c): New rule.
906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
926 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
927 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
928 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
929 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
930 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
931 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
932 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
934 2019-06-26 Vincent Chen <vincentc@andestech.com>
936 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
937 specific system calls, fp_udfiex_crtl and udftrap.
939 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
941 * nptl/tst-eintr1.c (tf1): Add return statement.
942 (do_test): Remove unused th variable.
944 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
946 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
947 Return error if get_character fails.
949 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
951 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
953 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
956 * localedata/locales/szl_PL (day): Use the correct Unicode
957 sequences instead of non-ASCII characters.
959 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
962 * localedata/locales/szl_PL (abday): Spelling corrections.
966 (alt_mon): This, then apply spelling corrections.
967 (mon): New entry, month names in the genitive case.
969 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
972 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
973 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
974 (thousands_sep): Likewise.
975 (grouping): Set to 3;3.
977 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
979 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
980 PREPARE_VERSION_KNOWN.
981 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
982 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
984 (VDSO_HASH_LINUX_2_6_39): Likewise.
985 (VDSO_NAME_LINUX_4_9): Likewise.
986 (VDSO_HASH_LINUX_4_9): Likewise.
987 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
988 * sysdeps/unix/sysv/linux/powerpc/init-first.c
989 (_libc_vdso_platform_setup): Likewise.
990 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
991 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
993 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
996 2019-06-20 Mike Crowe <mac@mcrowe.com>
998 * nptl/eintr.c: Use libsupport.
999 * nptl/tst-eintr1.c: Likewise.
1000 * nptl/tst-eintr2.c: Likewise.
1001 * nptl/tst-eintr3.c: Likewise.
1002 * nptl/tst-eintr4.c: Likewise.
1003 * nptl/tst-eintr5.c: Likewise.
1004 * nptl/tst-mutex-errorcheck.c: Likewise.
1005 * nptl/tst-mutex5.c: Likewise.
1007 * support/test-driver.h: Add verbose_printf macro.
1009 * support/xtime.h: Add xclock_now() helper function.
1011 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
1012 Florian Weimer <fweimer@redhat.com>
1015 * libio/genops.c (_IO_unbuffer_all)
1016 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
1017 buffers and access _IO_FILE_complete members of legacy libio streams.
1018 * libio/tst-bz24228.c: New file.
1019 * libio/tst-bz24228.map: Likewise.
1020 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
1021 [build-shared] (generated): Add tst-bz24228.mtrace and
1023 [run-built-tests && build-shared] (tests-special): Add
1024 $(objpfx)tst-bz24228-mem.out.
1025 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
1026 ($(objpfx)tst-bz24228-mem.out): New rule.
1028 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
1030 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
1031 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
1032 (__FPU_MFFSL): Likewise.
1033 (_FPU_SETCW): Likewise.
1035 2019-06-19 Stan Shebs <stanshebs@google.com>
1036 Raoni Fassina Firmino <raoni@linux.ibm.com>
1039 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
1040 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
1041 static-linking version.
1042 * sysdeps/unix/sysv/linux/powerpc/Makefile
1043 (tests-static): Add test-gettimebasefreq-static.
1045 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
1048 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
1051 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
1052 between the currency symbol and the minus sign).
1053 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1055 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
1058 * string/test-strcasestr.c (check_result): Add NULL check.
1059 * nss/tst-field.c (check_rewrite): Likewise.
1060 * benchtests/bench-strstr.c (do_one_test): Likewise.
1061 * string/test-strstr.c (check_result): Likewise.
1062 * argp/argp-test.c (popt): Increase size of buf to 12.
1063 * benchtests/bench-malloc-simple.c (bench):
1064 Do not initialize tests array out of bounds.
1066 2019-06-19 Florian Weimer <fweimer@redhat.com>
1069 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
1072 2019-06-18 Florian Weimer <fweimer@redhat.com>
1075 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
1076 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
1077 fail when called from dlopen.
1078 * elf/Makefile [have-fpie && build-shared] (tests): Add
1080 (tst-dlopen-pie): Link with -ldl.
1081 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
1082 * elf/tst-dlopen-pie.c (do_test): New file.
1084 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1087 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
1088 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
1089 between the currency symbol and the minus sign).
1090 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1091 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
1093 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1095 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
1096 sysdep-rtld-routines): Remove rules.
1097 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
1098 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
1099 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
1100 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
1101 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
1102 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
1103 vDSO path for SHARED.
1104 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
1105 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
1106 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1107 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1108 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
1109 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
1111 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1112 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
1113 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
1114 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
1115 CFLAGS-s_llround-power5+.c): New rule.
1116 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
1118 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
1120 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
1122 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
1124 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
1126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
1127 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
1128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
1129 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
1130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
1131 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
1132 * sysdeps/powerpc/powerpc64/fpu/Makefile
1133 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
1134 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1135 (libm-sysdep_routines): Remove s_llround-* objects.
1136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
1138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
1140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
1142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
1144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
1146 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1147 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1148 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
1149 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
1150 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
1151 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
1152 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
1153 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
1154 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1155 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1156 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1157 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1158 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1159 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1161 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
1162 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
1163 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
1164 * sysdeps/powerpc/powerpc32/fpu/Makefile
1165 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
1166 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
1168 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
1169 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
1170 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
1171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1172 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
1173 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
1174 CFLAGS-s_lrint-ppc32.c): New rule.
1175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1185 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1186 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1187 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1188 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
1191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
1193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
1195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
1197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
1200 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1201 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
1203 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
1204 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
1206 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
1208 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
1210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
1211 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
1212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
1213 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
1214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
1215 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
1216 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
1217 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
1218 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1219 (libm-sysdep_routines): Remove s_llrint-* objects.
1220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
1222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
1224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1225 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
1226 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
1227 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
1228 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
1229 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
1230 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1231 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
1232 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1233 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1235 2019-06-14 Florian Weimer <fweimer@redhat.com>
1237 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
1238 argument to __glibc_has_include to inhibit macro expansion.
1240 2019-06-14 Florian Weimer <fweimer@redhat.com>
1242 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
1243 function-like macro, so that __has_include can inhibit expansion
1246 2019-06-13 Joseph Myers <joseph@codesourcery.com>
1248 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
1251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1252 Allow memset in libc.so.
1254 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1256 * sysdeps/aarch64/dl-dtprocnum.h: New file.
1257 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
1258 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
1259 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
1260 symbols at load time.
1261 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
1263 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1265 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
1266 (DT_AARCH64_VARIANT_PCS): Define.
1268 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1271 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
1273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
1277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
1278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1281 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1282 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
1283 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1284 Remove s_finite* objects.
1285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
1286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
1287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
1288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
1290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1291 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1292 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
1293 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1294 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
1296 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
1297 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
1299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1300 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
1302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
1304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
1306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1310 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1311 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
1312 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1313 Remove s_isinf* and s_isinf* objects.
1314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
1315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
1316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
1317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
1319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1320 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1321 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
1322 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1323 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
1325 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
1326 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
1328 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
1329 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
1330 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1332 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
1334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
1336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
1338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
1340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
1342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
1345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
1348 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1349 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
1350 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1351 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
1352 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1353 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
1354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
1355 Remove s_isnan-* and s_isnanf-* objects.
1356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
1357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
1358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
1360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
1361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
1362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
1363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1365 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1366 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1367 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1368 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1369 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1370 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
1371 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1372 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
1374 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
1375 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
1377 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
1378 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
1379 CFLAGS-bench-isfinite.c): New rule.
1380 * benchtests/isnan-input: New file.
1381 * benchtests/isinf-input: New file.
1382 * benchtests/isfinite-input: New file.
1384 * sysdeps/powerpc/fpu/s_copysign.c: New file.
1385 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
1386 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
1387 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
1388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1389 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
1391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
1399 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1400 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
1401 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
1402 Remove s_copysign-power6 s_copysign-ppc64.
1403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
1405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
1407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
1409 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1410 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
1411 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1412 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
1414 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
1415 round_to_integer_float, round_mode): Add RINT handling.
1416 (reset_fenv_mode): New symbol.
1417 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
1418 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
1419 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
1420 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1421 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1422 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1424 2019-06-12 Florian Weimer <fweimer@redhat.com>
1427 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
1428 * libio/freopen.c (freopen): Use it.
1430 2019-06-12 Florian Weimer <fweimer@redhat.com>
1432 Linux: Deprecate sysctl.
1433 * include/sysctl.h (__sysctl): Remove declaration.
1434 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
1436 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
1437 (sysctl): Add deprecation attribute.
1438 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
1439 directly, to avoid the deprecation warning. Do not include
1441 (__sysctl): Remove hidden alias.
1443 2019-06-12 Florian Weimer <fweimer@redhat.com>
1445 Linux: Use kernel headers for statx definitions if available.
1446 * include/bits/statx-generic.h: New file.
1447 * include/bits/types/struct_statx.h: Likewise.
1448 * include/bits/types/struct_statx_timestamp.h: Likewise.
1449 * io/Makefile (headers): Add bits/statx-generic.h.
1450 * io/bits/statx-generic.h: New file. Partly copied from
1452 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
1453 define original_statx.
1454 * io/bits/types/struct_statx.h: Likewise.
1455 * io/bits/types/struct_statx_timestamp.h: Likewise.
1456 (statx_generic): Use original_statx.
1457 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
1458 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
1460 2019-06-12 Florian Weimer <fweimer@redhat.com>
1462 * misc/sys/cdefs.h (__glibc_has_include): Define.
1464 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1466 * string/memmem.c (__memmem): Rewrite to improve performance.
1468 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1470 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
1472 (two_way_long_needle): Block inlining.
1473 * string/strstr.c (strstr2): Add new function.
1474 (strstr3): Likewise.
1475 (STRSTR): Completely rewrite strstr to improve performance.
1477 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
1479 * benchtests/bench-strstr.c (test_hard_needle): New function.
1481 2019-06-10 Joseph Myers <joseph@codesourcery.com>
1483 * malloc/tst-calloc.c: Include <libc-diag.h>.
1484 (null_test): Ignore -Wunused-result around calls to calloc.
1485 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
1486 (do_test): Ignore -Wunused-result around call to malloc.
1488 2019-06-07 Florian Weimer <fweimer@redhat.com>
1490 Linux: Add getdents64 system call.
1491 * include/dirnent.h (getdents): Add comment and change buffer
1492 argument type to void *.
1493 (getdents64): Likewise. Add hidden prototype.
1494 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
1496 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
1498 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
1499 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
1500 argument type to void *.
1501 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
1502 Add hidden definition and getdents64 alias.
1503 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1505 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
1506 * manual/filesys.texi (Accessing Directories): Add Low-level
1507 Directory Access node reference.
1508 (Opening a Directory): Cross-reference it.
1509 (Low-level Directory Access): New node.
1510 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1512 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1514 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1515 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1517 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1519 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1521 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1523 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1525 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1527 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1529 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1530 (GLIBC_2.30): Likewise.
1531 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1532 (GLIBC_2.30): Likewise.
1533 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1534 (GLIBC_2.30): Likewise.
1535 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1536 (GLIBC_2.30): Likewise.
1537 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1540 (GLIBC_2.30): Likewise.
1541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1542 (GLIBC_2.30): Likewise.
1543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1544 (GLIBC_2.30): Likewise.
1545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1546 (GLIBC_2.30): Likewise.
1547 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1549 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1551 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1553 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1554 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1556 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1558 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1560 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1563 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
1565 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
1569 (_FPU_GETCW): Use __FPU_MFFS().
1570 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
1572 2019-06-06 Florian Weimer <fweimer@redhat.com>
1574 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
1575 internal GCC preprocessor identifier __has_include__.
1577 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
1579 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
1580 with call to equivalent function.
1582 2019-06-04 Florian Weimer <fweimer@redhat.com>
1584 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
1585 (do_release_shlib): Adjust for __twalk_r.
1586 (__gconv_release_shlib): Call __twalk_r.
1588 2019-06-04 Andreas Schwab <schwab@suse.de>
1591 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
1592 no irreversible characters occurred.
1593 * iconv/gconv_simple.c (internal_ucs4_loop)
1594 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
1595 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
1596 (ucs4_internal_loop_single, internal_ucs4le_loop)
1597 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
1598 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
1599 (ucs4le_internal_loop_single): Add const to outend.
1600 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
1601 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
1602 * iconv/Makefile (tests): Add tst-iconv7.
1603 * iconv/tst-iconv7.c: New file.
1605 2019-06-03 Joseph Myers <joseph@codesourcery.com>
1607 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
1609 2019-06-01 Florian Weimer <fweimer@redhat.com>
1611 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
1612 * sysdeps/unix/sysv/linux/arm/Makefile
1613 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
1614 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
1615 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
1616 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
1617 compatibility symbols.
1619 2019-05-31 Florian Weimer <fweimer@redhat.com>
1621 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
1622 system calls for the arm architecture: breakpoint, get_tls,
1623 set_tls, usr26, usr32.
1625 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1627 * sysdeps/powerpc/Makefile
1628 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
1629 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
1630 Declare '.machine power7' to get support for ldbrx.
1631 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
1632 directive based on the directory of the file.
1633 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1634 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1635 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
1636 '.machine' directive.
1637 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
1638 (VADDUQM_V7_V8): Remove.
1639 (__STRCASECMP): Replace macros with actual instructions.
1640 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
1641 '.machine' directive.
1642 (VCLZD_V8_v7): Remove.
1643 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
1645 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1647 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
1649 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
1651 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1653 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1655 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
1656 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
1657 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
1658 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
1659 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1660 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1662 2019-05-28 mansayk <6688000@gmail.com>
1665 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
1667 2019-05-28 mansayk <6688000@gmail.com>
1670 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
1671 (abmon): Likewise, but remove the trailing dots.
1673 2019-05-28 Joseph Myers <joseph@codesourcery.com>
1675 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
1677 2019-05-27 Florian Weimer <fweimer@redhat.com>
1679 * nptl/nptl-init.c: Add comment.
1681 2019-05-24 Florian Weimer <fweimer@redhat.com>
1683 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
1684 struct in_addr/struct in6_addr alignment.
1686 2019-05-23 Joseph Myers <joseph@codesourcery.com>
1688 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1689 (F_SEAL_FUTURE_WRITE): New macro.
1691 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
1693 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
1694 * elf/tst-ldconfig-bad-aux-cache.c: New file.
1695 * elf/tst-ldconfig_aux-cache.root: New directory.
1696 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
1697 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
1698 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
1700 2019-05-22 Zack Weinberg <zackw@panix.com>
1702 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
1704 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
1705 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
1707 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
1708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
1709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
1712 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
1713 Issue an #error if used with a compiler in SPE-float mode.
1714 * sysdeps/powerpc/powerpc32/__longjmp_common.S
1715 * sysdeps/powerpc/powerpc32/setjmp_common.S
1716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
1718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
1719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
1720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1722 Remove code to preserve SPE register state.
1724 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1725 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1726 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
1727 Remove __SPE__ ifndefs.
1729 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
1731 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
1732 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
1733 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
1734 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
1735 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
1736 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
1737 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
1738 (INNER_LOOP_ITERS_MEDIUM): New define.
1739 (INNER_LOOP_ITERS_SMALL): New define.
1740 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
1741 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
1742 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
1743 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
1744 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
1746 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
1748 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
1750 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
1751 (SEMTIMEDOP_IPC_ARGS): Likewise.
1753 2019-05-21 Florian Weimer <fweimer@redhat.com>
1756 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
1757 before updating __counter field and release it afterwards. Add
1759 * iconv/gconv.h (struct __gconv_step): Mention synchronization
1760 requirement for __counter member.
1762 2019-05-21 Florian Weimer <fweimer@redhat.com>
1765 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
1766 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
1767 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
1768 instead of __gconv_release_step.
1769 * libio/Makefile (tests): Add tst-wfile-gconv.
1770 (tests-container): Add tst-wfile-ascii.
1771 (tst-wfile-gconv-ENV): Enable mtrace.
1772 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
1773 (tests-special): Add tst-wfile-gconv-mem.out.
1774 (tst-wfile-gconv.out): Depend on locales.
1775 (tst-wfile-gconv-mem.out): Add mtrace rule.
1776 * libio/tst-wfile-ascii.c: New file.
1777 * libio/tst-wfile-gconv.c: Likewise.
1779 2019-05-20 Florian Weimer <fweimer@redhat.com>
1782 libio: Remove codecvt vtable.
1783 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
1785 * libio/iofgetpos.c (_IO_new_fgetpos): Call
1786 __libio_codecvt_encoding.
1787 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
1788 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1789 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
1790 * libio/iofwide.c (__libio_codecvt): Remove variable.
1791 (_IO_fwide): Do not copy __libio_codecvt.
1792 (__libio_codecvt_out): Rename from do_out and export.
1793 (do_unshift): Remove function.
1794 (__libio_codecvt_in): Rename from do_in and export.
1795 (__libio_codecvt_encoding): Rename from do_encoding and export.
1796 (do_always_noconv): Remove function.
1797 (__libio_codecvt_length): Rename from do_length and export.
1798 (do_max_length): Remove function.
1799 * libio/libio.h (enum __codecvt_result): Remove definition; moved
1801 (struct _IO_codecvt): Remove fields __codecvt_destr,
1802 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
1803 __codecvt_do_encoding, __codecvt_do_always_noconv,
1804 __codecvt_do_length, __codecvt_do_max_length.
1805 * libio/libioP.h (enum __codecvt_result): Define; moved from
1807 (__libio_codecvt_out, __libio_codecvt_in)
1808 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
1810 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
1811 (_IO_wfile_underflow): Call __libio_codecvt_in.
1812 (_IO_wfile_underflow): Likewise.
1813 (_IO_wfile_underflow_mmap): Likewise.
1814 (_IO_wfile_sync): Call __libio_codecvt_encoding,
1815 __libio_codecvt_length.
1816 (adjust_wide_data): Call __libio_codecvt_encoding,
1818 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
1819 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
1820 __libio_codecvt_length.
1822 2019-05-20 Florian Weimer <fweimer@redhat.com>
1824 * support/support.h (support_sbindir_prefix): Declare.
1825 (support_install_rootsbindir): Update comment.
1826 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
1827 * support/support_paths.c (support_sbindir_prefix): Define.
1829 2019-05-20 Mike Crowe <mac@mcrowe.com>
1831 * support/timespec.c: Add backslash to correct newline in failure
1834 * support/timespec.h: Correct confusing comment.
1836 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1838 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
1840 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
1841 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
1842 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
1843 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
1846 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
1849 2019-05-20 Joseph Myers <joseph@codesourcery.com>
1851 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
1852 (NT_ARM_PACG_KEYS): Likewise.
1854 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
1856 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
1857 (tcache_put): Remove redundant assert.
1858 (tcache_get): Remove redundant asserts.
1859 (__libc_malloc): Check tcache count is not zero.
1860 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
1862 2019-05-17 Florian Weimer <fweimer@redhat.com>
1864 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
1866 2019-05-16 Joseph Myers <joseph@codesourcery.com>
1868 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1869 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
1871 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
1873 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1874 (__ASSUME_STATX): Likewise.
1876 2019-05-16 Florian Weimer <fweimer@redhat.com>
1878 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
1880 (LINE_PARSER): Do not map IPv4 addresses.
1881 (internal_nis_gethostent_r): Remove flags argument. Adjust call
1883 (_nss_nis_gethostent_r): Always pass AF_INET to
1884 internal_nis_gethostent_r.
1885 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1887 (_nss_nis_gethostbyname2_r): Adjust call to
1888 internal_nis_gethostent_r.
1889 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
1890 call to internal_nis_gethostent_r.
1891 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
1893 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
1894 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
1895 Remove flags argument. Do not map IPv4 addresses.
1896 (internal_nisplus_gethostent_r): Adjust call to
1897 _nss_nisplus_parse_hostent.
1898 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1899 to _nss_nisplus_parse_hostent.
1900 (_nss_nisplus_gethostbyname2_r): Adjust call to
1901 internal_gethostbyname2_r.
1902 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
1903 Adjust call to internal_gethostbyname2_r.
1904 (_nss_nisplus_gethostbyaddr_r): Adjust call to
1905 _nss_nisplus_parse_hostent.
1906 (_nss_nisplus_gethostbyname4_r): Adjust call to
1907 internal_gethostbyname2_r.
1909 2019-05-16 Florian Weimer <fweimer@redhat.com>
1911 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
1913 (LINE_PARSER): Remove address mapping.
1914 (EXTRA_ARGS_VALUE): Remove flags argument.
1915 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
1916 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
1917 gethostbyname3_multi.
1918 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
1919 _nss_files_gethostbyname3_r.
1920 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
1922 2019-05-16 Florian Weimer <fweimer@redhat.com>
1924 * support/support_test_compare_blob.c (report_blob): Report
1925 incorrect NULL blobs.
1927 2019-05-15 Mark Wielaard <mark@klomp.org>
1930 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
1931 __libc_once_get (once) and static_buf == NULL.
1932 (__dlerror): Check we have a valid key, set result to static_buf
1935 2019-05-15 Andreas Schwab <schwab@suse.de>
1938 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
1939 __codecvt_do_length.
1940 * libio/Makefile (tests): Add tst-wfile-sync.
1941 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
1942 * libio/tst-wfile-sync.c: New file.
1943 * libio/tst-wfile-sync.input: New file.
1945 2019-05-15 Florian Weimer <fweimer@redhat.com>
1947 nss: Turn __nss_database_lookup into a compatibility symbol.
1948 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
1949 __nss_database_lookup.
1950 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
1951 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
1952 __nss_database_lookup.
1953 (__nss_next): Move to …
1954 * nss/compat-lookup.c (nss_next): … here. Change it to fail
1956 (__nss_database_lookup): New function.
1957 * nss/Versions (GLIBC_2.0): Update comment.
1958 (GLIBC_PRIVATE): Export __nss_database_lookup2.
1959 * grp/initgroups.c (internal_getgrouplist): Call
1960 __nss_database_lookup2 instead of __nss_database_lookup.
1961 * nscd/aicache.c (addhstaiX): Likewise.
1962 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1963 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1964 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
1965 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
1966 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
1968 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
1969 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
1970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1972 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
1974 * support/support.h (support_install_rootsbindir): New variable.
1975 * support/support_paths.c: Likewise.
1976 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
1978 2019-05-15 Florian Weimer <fweimer@redhat.com>
1980 * iconv/gconv.h (__gconv_transliterate): Move declaration …
1981 * iconv/gconv_int.h (__gconv_transliterate): … here.
1982 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
1983 * iconv/skeleton.c: Likewise.
1985 2019-05-14 Florian Weimer <fweimer@redhat.com>
1987 Linux: Add the tgkill function.
1988 * bits/signal_ext.h: New file.
1989 * manual/signal.texi (Signaling Another Process): Document tgkill.
1990 * signal/Makefile (headers): Add bits/signal_ext.h.
1991 * signal/signal.h: Include <bits/signal_ext.h>.
1992 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
1993 (tst-tgkill): Link with libpthread.
1994 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
1995 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
1996 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
1997 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1999 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2000 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2001 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2002 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2003 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2004 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2005 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2006 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2007 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2008 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2009 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2011 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2012 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2013 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
2020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
2022 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2023 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2024 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2025 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2026 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2027 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2028 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2029 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2031 2019-05-14 Carlos O'Donell <carlos@redhat.com>
2033 * manual/search.texi (Tree Search Function): Adjust twalk_r
2036 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2039 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
2042 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
2043 * support/support.h (support_bindir_prefix): New variable.
2044 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
2046 * config.make.in (bindir): New variable.
2048 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
2049 (lll_trylock): Call __lll_trylock.
2050 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
2051 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
2052 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2053 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2054 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
2055 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
2056 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2057 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2058 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
2059 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
2060 lowlevellock-futex.h.
2062 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2063 initialization for LLL_LOCK_INITIALIZER different than 0.
2064 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
2065 Assume LLL_LOCK_INITIALIZER being 0.
2066 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
2067 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
2069 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
2070 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
2072 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
2073 Optimize futex call and add systemtap probe.
2075 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
2076 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
2077 __libc_disable_asynccancel, __librt_enable_asynccancel,
2078 __libc_disable_asynccancel, __librt_enable_asynccancel,
2079 __librt_disable_asynccancel): Move to ...
2080 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
2081 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
2082 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
2083 * sysdeps/generic/single-thread.h: New file.
2084 * sysdeps/unix/sysdep.h: Include single-thread.h.
2085 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
2086 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2088 2019-05-08 Mike FABIAN <mfabian@redhat.com>
2091 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
2092 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2094 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2095 * localedata/unicode-gen/PropList.txt: Likewise.
2096 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2097 * localedata/charmaps/UTF-8: Regenerate.
2098 * localedata/locales/i18n_ctype: Likewise.
2099 * localedata/locales/tr_TR: Likewise.
2100 * localedata/locales/translit_circle: Likewise.
2101 * localedata/locales/translit_cjk_compat: Likewise.
2102 * localedata/locales/translit_combining: Likewise.
2103 * localedata/locales/translit_compat: Likewise.
2104 * localedata/locales/translit_font: Likewise.
2105 * localedata/locales/translit_fraction: Likewise.
2107 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
2110 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
2111 (do_set_tcache_count): Only update if count is small enough.
2112 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
2114 2019-05-10 Florian Weimer <fweimer@redhat.com>
2116 * nptl/sem_close.c (struct walk_closure): Define.
2117 (walker): Adjust for __twalk_r.
2118 (sem_close): Call __twalk_r.
2120 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2122 * support/timespec.c (test_timespec_before_impl,
2123 test_timespec_equal_or_after_impl): print timespec member as intmax_t
2126 2019-05-09 Mike Crowe <mac@mcrowe.com>
2128 * nptl/tst-abstime.c: Use libsupport.
2130 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
2131 small bug where only tv.tv_usec was checked which could cause an
2132 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
2135 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
2138 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
2139 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
2141 * nptl/tst-cond11.c: Use libsupport.
2143 * support/timespec.h: New file. Provide timespec helper functions
2144 along with macros in the style of those in check.h.
2145 * support/timespec.c: New file. Implement check functions declared
2146 in support/timespec.h.
2147 * support/timespec-add.c: New file from gnulib containing
2148 timespec_add implementation that handles overflow.
2149 * support/timespec-sub.c: New file from gnulib containing
2150 timespec_sub implementation that handles overflow.
2151 * support/README: Mention timespec.h.
2153 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2156 * nptl/Makefile: Move tst-eintr1 to xtests.
2158 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2160 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
2162 (round_mode): Add definition for TRUNC.
2163 * sysdeps/powerpc/fpu/s_trunc.c: New file.
2164 * sysdeps/powerpc/fpu/s_truncf.c: New file.
2165 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
2166 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2167 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
2169 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
2171 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
2173 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2175 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
2177 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
2179 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
2181 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
2183 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
2184 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
2185 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2186 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
2187 s_truncf-power5+, and s_truncf-ppc64.
2188 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
2189 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
2191 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
2192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
2193 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
2194 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
2196 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
2198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
2199 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
2200 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2201 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
2202 s_truncf-power5+, and s_truncf-ppc64.
2203 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
2205 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
2206 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
2208 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
2209 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2210 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2211 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2212 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2214 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2216 (round_mode): Add definition for ROUND.
2217 (round_to_integer_float): Likewise.
2218 * sysdeps/powerpc/fpu/s_round.c: New file.
2219 * sysdeps/powerpc/fpu/s_roundf.c: New file.
2220 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
2221 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2222 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
2224 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
2226 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
2228 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2230 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
2232 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
2234 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
2236 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
2238 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
2239 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
2240 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2241 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
2242 s_roundf-power5+, and s_roundf-ppc64.
2243 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
2244 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
2246 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
2247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
2248 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
2249 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
2251 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
2253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
2254 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
2255 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2256 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
2257 s_roundf-power5+, and s_roundf-ppc64.
2258 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
2260 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
2261 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
2263 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
2264 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2265 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2266 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2267 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2269 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
2271 (round_mode): Add definition for FLOOR.
2272 * sysdeps/powerpc/fpu/s_floor.c: New file.
2273 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
2274 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
2275 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
2280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
2286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
2288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
2290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
2292 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
2293 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
2294 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2295 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
2296 s_floorf-power5+, and s_floorf-ppc64.
2297 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
2298 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
2300 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
2301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
2302 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
2303 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
2305 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
2307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
2308 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
2309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2310 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
2311 s_floorf-power5+, and s_floorf-ppc64.
2312 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
2314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
2316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
2318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
2320 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2321 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2322 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2323 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2325 2019-05-08 Mike Crowe <mac@mcrowe.com>
2327 * support/xclock_gettime.c (xclock_gettime): New file. Provide
2328 clock_gettime wrapper for use in tests that fails the test rather
2329 than returning failure.
2331 * support/xtime.h: New file to declare xclock_gettime.
2333 * support/Makefile: Add xclock_gettime.c.
2335 * support/README: Mention xtime.h.
2337 2019-05-08 Florian Weimer <fweimer@redhat.com>
2339 malloc/tst-mallocfork2: Use process-shared barriers.
2340 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
2341 (signal_count, sigusr1_sender_pid): Remove.
2342 (iterations): Define constant.
2343 (shared): New variable.
2344 (sigusr1_received): Update comment.
2345 (sigusr1_handler): Do not send SIGSTOP to the sender process.
2346 (signal_sender): Optional use barriers to avoid sending signals
2347 during irrelevant times.
2348 (do_it): Initialize variable shared. Use xfork for error
2349 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
2350 the iteration count, independent of signal delivery. Check for
2351 deadlocks in fork. Introduce barriers for reducing signal
2352 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
2353 replaced by the barriers. Count signals during fork/free/malloc
2355 * malloc/Makefile (tst-mallocfork): Link with libpthread.
2357 2019-05-07 Joseph Myers <joseph@codesourcery.com>
2359 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2361 (clock_adjtime64) New syscall.
2362 (clock_getres_time64) Likewise.
2363 (clock_gettime64) Likewise.
2364 (clock_nanosleep_time64) Likewise.
2365 (clock_settime64) Likewise.
2366 (futex_time64) Likewise.
2367 (io_pgetevents_time64) Likewise.
2368 (io_uring_enter) Likewise.
2369 (io_uring_register) Likewise.
2370 (io_uring_setup) Likewise.
2371 (mq_timedreceive_time64) Likewise.
2372 (mq_timedsend_time64) Likewise.
2373 (pidfd_send_signal) Likewise.
2374 (ppoll_time64) Likewise.
2375 (pselect6_time64) Likewise.
2376 (recvmmsg_time64) Likewise.
2377 (rt_sigtimedwait_time64) Likewise.
2378 (sched_rr_get_interval_time64) Likewise.
2379 (semtimedop_time64) Likewise.
2380 (timer_gettime64) Likewise.
2381 (timer_settime64) Likewise.
2382 (timerfd_gettime64) Likewise.
2383 (timerfd_settime64) Likewise.
2384 (utimensat_time64) Likewise.
2386 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
2387 version to 9 branch.
2389 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2391 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
2392 __memmove_thunderx2 to the list of implementations
2393 * sysdeps/aarch64/multiarch/memmove.c: Likewise
2394 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
2395 (__memmove_thunderx2): Rewritten using SIMD ld/st
2396 (__memcpy_thunderx2): Fixed handling overlapping cases.
2397 Used ldp/stp instead of ldr/str if possible. Made loops
2400 2019-05-03 Florian Weimer <fweimer@redhat.com>
2402 * misc/tst-tsearch.c (walk_tree): Add more error checking.
2404 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2407 * elf/tst-pldd.c (in_str_list): New function.
2408 (do_test): Add default names for ld and libc as one option.
2410 2019-05-02 Florian Weimer <fweimer@redhat.com>
2412 misc: Add twalk_r function.
2413 * include/search.h (__twalk_r): Declare.
2414 * manual/examples/twalk.c: New file.
2415 * manual/search.texi (Tree Search Function): Document twalk_r.
2416 * misc/Versions (2.30): Export twalk_r.
2417 (GLIBC_PRIVATE): Export __twalk_r.
2418 * misc/search.h [__USE_GNU] (twalk_r): Declare.
2419 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
2420 (twalk_r): Add weak alias.
2421 * misc/tst-tsearch.c (struct walk_trace_element): Define.
2422 (walk_trace): New variable.
2423 (struct twalk_with_twalk_r_closure): Define.
2424 (twalk_with_twalk_r_action): New function.
2425 (twalk_with_twalk_r): Likewise.
2426 (walk_action): Call walk_trace_add.
2427 (walk_tree_with): Rename from walk_tree. Add walk argument.
2428 (walk_tree): New function.
2429 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
2430 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2432 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2434 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2435 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
2436 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
2437 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
2438 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
2439 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2441 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2443 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2445 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2446 (GLIBC_2.30): Likewise.
2447 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2448 (GLIBC_2.30): Likewise.
2449 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2450 (GLIBC_2.30): Likewise.
2451 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2452 (GLIBC_2.30): Likewise.
2453 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2456 (GLIBC_2.30): Likewise.
2457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2458 (GLIBC_2.30): Likewise.
2459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2460 (GLIBC_2.30): Likewise.
2461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2462 (GLIBC_2.30): Likewise.
2463 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2465 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2467 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2469 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2470 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2472 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2474 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2476 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2479 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
2481 Make mktime etc. compatible with __time64_t
2482 Keep these functions compatible with Gnulib while adding
2483 __time64_t support. The basic idea is to move private API
2484 declarations from include/time.h to time/mktime-internal.h, since
2485 the former file cannot easily be shared with Gnulib whereas the
2487 Also, do some other minor cleanup while in the neighborhood.
2488 * include/time.h: Include stdbool.h, time/mktime-internal.h.
2489 (__mktime_internal): Move this prototype to time/mktime-internal.h,
2490 since Gnulib needs it.
2491 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
2492 Move these macros to time/mktime-internal.h, since Gnulib needs them.
2493 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
2494 (in_time_t_range): New static function.
2495 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
2496 so that glibc users are not tempted to use __time64_t.
2497 * time/mktime-internal.h: Rewrite so that it does both glibc
2498 and Gnulib work. Include time.h if not _LIBC.
2499 (mktime_offset_t) [!_LIBC]: Define for gnulib.
2500 (__time64_t): New type or macro, moved here from
2502 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
2503 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
2504 from include/time.h.
2505 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
2506 New macros, taken from GNulib.
2507 (__mktime_internal): New prototype, moved here from include/time.h.
2508 * time/mktime.c (mktime_min, mktime_max, convert_time)
2509 (ranged_convert, __mktime_internal, __mktime64):
2510 * time/timegm.c (__timegm64):
2511 Use __time64_t, not time_t.
2512 * time/mktime.c: Stop worrying about whether time_t is floating-point.
2513 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
2515 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
2516 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
2517 for libc_hidden_def.
2519 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
2521 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
2523 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
2526 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
2527 from `-Wmaybe-uninitialized'.
2528 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
2530 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2532 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
2534 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
2535 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
2536 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
2537 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
2538 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2540 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
2541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
2545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
2549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
2551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
2553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
2555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
2557 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
2558 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
2559 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
2560 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
2562 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
2564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
2565 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
2566 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
2568 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
2570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
2571 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
2573 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2574 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
2575 s_ceilf-power5+, and s_ceilf-ppc64.
2576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
2578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
2579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
2580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
2581 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2582 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2583 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2584 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2586 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
2587 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
2588 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
2590 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
2592 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
2593 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
2594 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
2595 (sem_getvalue): Likewise.
2597 2019-04-26 Florian Weimer <fweimer@redhat.com>
2599 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
2600 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
2602 2019-04-26 Florian Weimer <fweimer@redhat.com>
2604 Makeconfig: Move -Wl,-rpath-link options before library references.
2605 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
2606 (link-libc): Remove $(link-libc-rpath-link).
2608 2019-04-25 Florian Weimer <fweimer@redhat.com>
2610 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2611 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2612 (+link-static-before-libc): Remove $(CC).
2613 (+link-static, +link-static-tests): Add $(CC).
2614 (+link-before-libc): Remove $(CC).
2615 (+link, +link-pie, +link-pie-printers): Add $(CC).
2617 2019-04-26 Florian Weimer <fweimer@redhat.com>
2619 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2620 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2621 (+link-static-before-libc): Remove $(CC).
2622 (+link-static, +link-static-tests): Add $(CC).
2623 (+link-before-libc): Remove $(CC).
2624 (+link, +link-pie, +link-pie-printers): Add $(CC).
2626 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
2629 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
2631 2019-04-25 Florian Weimer <fweimer@redhat.com>
2633 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
2634 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
2635 (bench-link-targets): New variable.
2636 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
2638 2019-04-25 Florian Weimer <fweimer@redhat.com>
2640 Also enable BIND_NOW for programs if --enable-bind-now.
2641 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
2642 (+link-pie): Use $(link-extra-flags).
2643 (+link-static): Likewise.
2644 [! $(build-pie-default)] (+link): Likewise.
2645 * manual/install.texi (Configuring and compiling): Update
2646 --enable-bind-now description.
2647 * INSTALL: Regenerated.
2649 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
2651 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
2652 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
2654 2019-04-24 Mike Frysinger <vapier@gentoo.org>
2657 * malloc/Makefile (others): Add memusagestat.
2658 ($(objpfx)memusagestat): Delete rule.
2659 (LDLIBS-memusagestat): New variable.
2661 2019-04-24 Florian Weimer <fweimer@redhat.com>
2663 * locale/Makefile (tests-special): Guard setting by
2664 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
2665 to run while cross-compiling.
2667 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2670 * elf/Makefile (tests-container): Add tst-pldd.
2671 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
2672 (E(find_maps)): Avoid use alloca, use default read file operations
2673 instead of explicit LFS names, and fix infinite loop.
2674 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
2675 (get_process_info): Use _Static_assert instead of assert, use default
2676 directory operations instead of explicit LFS names, and free some
2678 * elf/tst-pldd.c: New file.
2680 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
2682 * malloc/arena.c (do_set_mallopt_check): Removed.
2684 2019-04-23 Florian Weimer <fweimer@redhat.com>
2686 locale: Add LOCPATH diagnostics to the locale program.
2687 * locale/programs/locale.c (setlocale_failed): New variable.
2688 (try_setlocale): New function.
2689 (quote_string): Likewise.
2690 (setlocale_diagnostics): Likewise.
2691 (main): Call try_setlocale instead of setlocale. Call
2692 setlocale_diagnostics.
2693 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
2694 (tst-locale-locpath.out): New target.
2695 * locale/tst-locale-locpath.sh: New file.
2697 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2699 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
2702 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2705 * malloc/hooks.c (malloc_check, realloc_check): Use
2706 __builtin_add_overflow on overflow check and adapt to
2707 checked_request2size change.
2708 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
2709 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
2710 allocation size to PTRDIFF_MAX.
2711 (REQUEST_OUT_OF_RANGE): Remove macro.
2712 (checked_request2size): Change to inline function and limit maximum
2713 requested size to PTRDIFF_MAX.
2714 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
2715 maximum allocation size to PTRDIFF_MAX.
2716 (_mid_memalign): Use _int_memalign call for overflow check.
2717 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
2718 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
2719 limit maximum requested size to PTRDIFF_MAX.
2720 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
2721 valloc, pvalloc): Add __attribute_alloc_size__.
2722 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
2723 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
2724 larger than PTRDIFF_MAX.
2725 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
2726 around tests of malloc with negative sizes.
2727 * malloc/tst-posix_memalign.c (do_test): Likewise.
2728 * malloc/tst-pvalloc.c (do_test): Likewise.
2729 * malloc/tst-valloc.c (do_test): Likewise.
2730 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
2731 with resulting size allocation larger than PTRDIFF_MAX with
2732 reallocarray_nowarn.
2733 (reallocarray_nowarn): New function.
2734 * NEWS: Mention the malloc function semantic change.
2736 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2738 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
2739 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2741 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
2742 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2743 * sysdeps/powerpc/fpu/s_fma.c: New file.
2744 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2746 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
2747 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
2749 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
2750 the magic flag store.
2751 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2753 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
2755 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
2756 Remove rt_sigreturn call.
2758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2759 Remove rt_sigreturn call.
2760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
2763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2765 * support/Makefile (libsupport-routines): Add support_subprocess,
2766 xposix_spawn, xposix_spawn_file_actions_addclose, and
2767 xposix_spawn_file_actions_adddup2.
2768 (tst-support_capture_subprocess-ARGS): New rule.
2769 * support/capture_subprocess.h (support_capture_subprogram): New
2771 * support/support_capture_subprocess.c (support_capture_subprocess):
2772 Refactor to use support_subprocess and support_capture_poll.
2773 (support_capture_subprogram): New function.
2774 * support/tst-support_capture_subprocess.c (write_mode_to_str,
2775 str_to_write_mode, test_common, parse_int, handle_restart,
2776 do_subprocess, do_subprogram, do_multiple_tests): New functions.
2777 (do_test): Add support_capture_subprogram tests.
2778 * support/subprocess.h: New file.
2779 * support/support_subprocess.c: Likewise.
2780 * support/xposix_spawn.c: Likewise.
2781 * support/xposix_spawn_file_actions_addclose.c: Likewise.
2782 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
2783 * support/xspawn.h: Likewise.
2785 2019-04-17 Mike Gerow <gerow@google.com>
2787 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
2790 2019-04-11 Florian Weimer <fweimer@redhat.com>
2792 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
2793 domain with empty string.
2794 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2796 2019-04-11 Florian Weimer <fweimer@redhat.com>
2798 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
2800 (alloc_buffer_next): Change return type to non-const. Update
2803 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
2805 * manual/time.texi (Formatting Calendar Time): Add missing percent
2806 sign to conversion specifier.
2808 2019-04-09 Carlos O'Donell <carlos@redhat.com>
2809 Kwok Cheung Yeung <kcy@codesourcery.com>
2812 * malloc/mtrace.c: Define prototypes for all hooks.
2813 (set_default_hooks): New function.
2814 (set_trace_hooks): Likewise.
2815 (save_default_hooks): Likewise.
2816 (tr_freehook): Use new s*_hooks functions.
2817 (tr_mallochook): Likewise.
2818 (tr_reallochook): Likewise.
2819 (tr_memalignhook): Likewise.
2821 (muntrace): Likewise.
2823 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2825 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
2826 (generic_stpcpy): New function.
2827 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
2828 (generic_stpncpy): New function.
2829 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
2830 (generic_strcat): New function.
2831 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
2832 (generic_strcpy): New function.
2833 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
2834 (STUPID_STRNCAT): Remove function.
2835 (generic_strncat): New function.
2836 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
2837 (STUPID_STRNCPY): Remove function.
2838 (generic_strncpy): New function.
2839 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
2840 (generic_strnlen): New function.
2841 (memchr_strnlen): New function.
2842 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
2843 (memchr_strlen): Likewise.
2845 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2847 * benchtests/bench-strstr.c (input): Add realistic input text.
2848 (stupid_strstr): Remove function.
2849 (basic_strstr): Add function.
2850 (twoway_strstr): Add function.
2851 (do_one_test): Add result checking.
2852 (do_test): Use new input text. Remove accidental early matches.
2853 (test_main): Improve range of tests, reduce unaligned cases.
2855 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2857 * benchtests/bench-memmem.c (simple_memmem): Remove function.
2858 (basic_memmem): Add function.
2859 (twoway_memmem): Add function.
2861 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2863 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
2864 * benchtests/bench-malloc-thread.c: Likewise.
2865 * benchtests/bench-skeleton.c: Likewise.
2866 * benchtests/bench-strtod.c: Likewise.
2867 * benchtests/bench-timing.h: Likewise.
2869 2019-04-08 Florian Weimer <fweimer@redhat.com>
2871 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
2873 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
2874 RES_INSECURE2 security checks.
2875 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
2876 RES_INSECURE2 handling.
2878 2019-04-08 Florian Weimer <fweimer@redhat.com>
2880 resolv: Remove support for RES_USE_INET6 and the inet6 option.
2881 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
2882 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
2884 * resolv/Makefile (tests): Remove tst-res_use_inet6.
2885 (tests-internal): Update justification for tst-resolv-res_init,
2886 tst-resolv-res_init-thread.
2887 (tst-res_use_inet6): Remove target.
2888 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
2889 * resolv/res_debug.c (p_option): Remove "inet6" support.
2890 * resolv/res_init.c (res_setoptions): Likewise.
2891 * resolv/res_use_inet6.h: Remove file.
2892 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
2894 (res_use_inet6): Always return false.
2895 * resolv/resolv.h (RES_USE_INET6): Remove definition.
2896 * resolv/resolv_context.h: Adjust file comment.
2897 (struct resolv_context): Update comment on __next field.
2898 (__resolv_context_put): Update comment.
2899 * resolv/tst-res_use_inet6.c: Remove file.
2900 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
2902 (test_cases): Adjust test case.
2903 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
2904 (thread_byname2_af_inet6): Use old byname_inet6 code.
2905 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
2906 (gai): Remove do_inet6 argument.
2907 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
2908 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
2909 (thread_gai_unspec_inet6): Remove functions.
2910 (do_test): Adjust thread_funcs.
2911 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
2913 (gaih_inet): Do not disable RES_USE_INET6 flag.
2915 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2917 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
2918 and remove redundant code.
2920 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2922 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
2924 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
2925 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
2927 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
2929 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
2931 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2932 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
2933 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
2934 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
2935 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2936 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
2937 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2938 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
2940 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
2941 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2943 Remove wcsrchr optimizations.
2944 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2946 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
2949 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
2951 * sysdeps/powerpc/power6/wcschr.c: Remove file.
2952 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
2954 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
2956 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
2958 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2959 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
2960 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
2961 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
2962 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2963 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
2964 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2965 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
2967 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
2968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2969 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2970 Remove wcschr optimizations.
2971 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2973 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
2976 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
2978 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
2979 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
2981 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
2983 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
2985 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2986 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
2987 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
2988 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
2989 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2990 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
2991 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2992 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
2994 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
2995 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2997 Remove wcscpy optimizations.
2998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3000 * include/loop_unroll.h: New file.
3001 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
3002 besides generic implementation.
3004 2019-04-03 DJ Delorie <dj@redhat.com>
3006 * time/tst-strftime3.c (tm_to_printed): Disable warning about
3007 snprintf truncating output.
3009 2019-04-02 DJ Delorie <dj@redhat.com>
3011 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
3014 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3017 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
3019 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
3020 (mkreftable): Add rules for the new Japanese era and the new dates.
3022 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3023 Rafal Luzynski <digitalfreak@lingonborough.com>
3025 * time/tst-strftime2.c (date_t): Explicitly define the type.
3026 (dates): Use natural month and year numbers to express a date.
3027 (is_before): New function to compare dates.
3028 (mkreftable): Minor improvements to simplify maintenance.
3029 (do_test): Reflect the changes in dates array.
3032 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
3033 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
3034 * time/tst-strftime2.c (locales): Likewise.
3035 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
3036 2010-04-01, and 2011-04-01.
3037 (mkreftable): Add rules for the new locales and the new dates.
3039 2019-04-01 Carlos O'Donell <carlos@redhat.com>
3041 * localedata/locales/ja_JP: Add comments to era entries.
3043 2019-04-01 DJ Delorie <dj@redhat.com>
3046 * time/strptime_l.c (%Ey): Fix fencepost error.
3047 * time/tst-strftime3.c: New.
3048 * time/Makefile (tests): Add tst-strftime3.
3050 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
3052 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
3053 conditional branch to DIVBYZERO. Fix unwind info.
3054 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
3055 excb after conditional branch to $powerof2. Add missing unop
3056 instructions and .align directives and reorder instructions to
3059 2019-04-01 Richard Henderson <rth@twiddle.net>
3061 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3063 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
3066 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
3068 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
3069 $libc_cv_riscv_float_abi in `test' invocation.
3070 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
3072 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
3074 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
3076 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
3078 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3079 (_GET_SI_FPSCR): Likewise.
3080 (_SET_SI_FPSCR): Likewise.
3082 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3084 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
3086 (signbit): Use builtin for clang 3.3.
3087 (isinf): Use builtin for clang 3.7.
3089 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3091 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
3093 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
3095 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
3098 2019-03-25 Mike Crowe <mac@mcrowe.com>
3100 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
3101 pthread_rwlock_timedrdlock with calls to
3102 pthread_rwlock_timedwrlock to ensure that the latter is tested
3103 too. Use new function name in diagnostic messages too.
3105 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
3106 (do_test) Use libsupport test macros rather than hand-coded
3107 conditionals and error messages. Ensure that sem_init returns zero
3108 rather than not -1. Use <support/test-driver.c> rather than
3111 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
3112 test macros rather than hand-coded conditionals and error messages.
3113 Use <support/test-driver.c> rather than test-skeleton.c.
3115 2019-03-25 Joseph Myers <joseph@codesourcery.com>
3117 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
3119 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
3120 (NT_MIPS_MSA): Likewise.
3122 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3124 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
3125 * benchtests/README: Update description.
3126 * benchtests/bench-timing.h: Default to hp-timing.
3127 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
3128 HP_TIMING_PRINT): Remove.
3129 (HP_TIMING_NOW): Add generic implementation.
3130 (hp_timing_t): Change to uint64_t.
3132 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
3134 * nptl/descr.h: Likewise.
3135 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
3136 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
3137 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
3138 Abstract hp-timing usage with RTLD_* macros.
3139 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
3140 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
3141 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
3142 HP_TIMING_NONAVAIL): Likewise.
3143 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3145 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
3146 HP_SMALL_TIMING_AVAIL): Likewise.
3147 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
3148 HP_SMALL_TIMING_AVAIL): Likewise.
3149 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
3150 HP_SMALL_TIMING_AVAIL): Likewise.
3151 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
3152 HP_SMALL_TIMING_AVAIL): Likewise.
3153 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3155 * sysdeps/generic/hp-timing-common.h: Update comment with
3156 HP_TIMING_AVAIL removal.
3158 * include/random-bits.h: New file.
3159 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
3160 (__res_context_mkquery): Remove usage hp-timing usage and replace with
3162 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
3163 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
3166 * include/libc-internal.h (__get_clockfreq): Remove prototype.
3167 * rt/Makefile (clock-routines): Remove get_clockfreq.
3168 * rt/get_clockfreq.c: Remove file.
3169 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
3170 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
3171 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
3172 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
3173 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
3175 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
3176 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
3177 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
3178 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
3179 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
3181 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
3182 pthread_clock_settime.
3183 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
3184 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
3185 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
3186 * elf/rtld.c (_dl_start_final): Likewise.
3187 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
3188 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
3190 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
3191 (_dl_cpuclock_offset): Remove.
3192 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
3193 cpuclock_offset_ununsed.
3194 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3195 cpuclock_offset set.
3196 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3197 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3198 * nptl/pthread_clock_gettime.c: Remove file.
3199 * nptl/pthread_clock_settime.c: Likewise.
3200 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
3201 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
3202 and CLOCK_PROCESS_CPUTIME_ID support.
3203 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
3204 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
3205 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
3206 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
3207 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
3209 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
3211 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3213 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
3214 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
3215 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
3217 * sysdeps/s390/memmem-arch13.S: New file.
3218 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
3219 if it is only used as fallback.
3220 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
3221 * sysdeps/s390/multiarch/ifunc-impl-list.c
3222 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
3224 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3226 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
3227 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
3228 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
3230 * sysdeps/s390/multiarch/ifunc-impl-list.c
3231 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
3232 * sysdeps/s390/strstr-arch13.S: New file.
3233 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
3234 if it is only used as fallback.
3235 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
3237 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3239 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
3240 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
3241 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
3242 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
3244 * sysdeps/s390/multiarch/ifunc-impl-list.c
3245 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
3246 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
3247 S390_IS_ARCH13_MIE3): New defines.
3249 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3251 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
3252 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
3253 * sysdeps/s390/configure.ac: Add checks for arch13 support.
3254 * sysdeps/s390/configure: Regenerated.
3256 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3258 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
3259 Add vxe2, vxp, dflt, sort flags.
3260 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
3261 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
3263 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
3264 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
3265 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
3266 HWCAP_S390_DFLT): Define.
3268 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3271 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
3272 of compiler warning.
3273 * locale/programs/ld-collate.c (collate_output): Likewise.
3275 2019-03-21 DJ Delorie <dj@redhat.com>
3278 * iconv/iconvconfig.c (write_output): Replace floating point math
3279 with integer math to avoid imprecise results.
3280 * locale/programs/ld-collate.c (collate_output): Likewise.
3282 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
3284 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
3285 Add HWCAP_S390_VX and HWCAP_S390_VXE.
3287 2019-03-20 mansayk <6688000@gmail.com>
3290 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
3291 (abday): Likewise, but remove the trailing dots.
3293 2019-03-19 Joseph Myers <joseph@codesourcery.com>
3295 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
3297 (HWCAP_PACA): Likewise.
3298 (HWCAP_PACG): Likewise.
3299 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3301 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
3303 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3305 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
3308 2019-03-15 Joseph Myers <joseph@codesourcery.com>
3310 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3312 (old_getpagesize): New syscall.
3314 2019-03-15 Felix Yan <felixonmars@archlinux.org>
3317 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
3318 * localedata/locales/cmn_TW (era): Likewise.
3319 * localedata/locales/hak_TW (era): Likewise.
3320 * localedata/locales/lzh_TW (era): Likewise.
3321 * localedata/locales/nan_TW (era): Likewise.
3323 2019-03-14 Adam Maris <amaris@redhat.com>
3325 * malloc/malloc.c (_int_malloc): Check for large bin list
3326 corruption when inserting unsorted chunk.
3328 2019-03-14 Florian Weimer <fweimer@redhat.com>
3330 Remove obsolete, never-implemented XSI STREAMS declarations.
3331 * manual/terminal.texi (Allocation): Remove portability note and
3333 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
3335 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
3336 * sysdeps/unix/inet/Subdirs (streams): Remove.
3337 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
3338 (conformtest-headers-UNIX98): Likewise.
3339 (conformtest-headers-XOPEN2K): Likewise.
3340 (conformtest-headers-POSIX2008): Likewise.
3341 * posix/compat-streams.c: New file.
3342 * posix/Makefile (routines): Add it.
3343 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
3344 getpmsg, isastream, putmsg, putpmsg.
3345 (GLIBC_2.30): New section.
3346 * bits/stropts.h: Remove file.
3347 * bits/xtitypes.h: Likewise.
3348 * conform/data/stropts.h-data: Likewise.
3349 * include/stropts.h: Likewise.
3350 * include/sys/stropts.h: Likewise.
3351 * include/xtitypes.h: Likewise.
3352 * streams/Makefile: Likewise.
3353 * streams/fattach.c: Likewise.
3354 * streams/fdetach.c: Likewise.
3355 * streams/getmsg.c: Likewise.
3356 * streams/getpmsg.c: Likewise.
3357 * streams/isastream.c: Likewise.
3358 * streams/putmsg.c: Likewise.
3359 * streams/putpmsg.c: Likewise.
3360 * streams/stropts.h: Likewise.
3361 * streams/sys/stropts.h: Likewise.
3362 * sysdeps/ia64/bits/xtitypes.h: Likewise.
3363 * sysdeps/s390/bits/xtitypes.h: Likewise.
3364 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
3365 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
3366 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
3367 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
3368 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
3369 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
3370 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
3371 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
3372 * sysdeps/x86/bits/xtitypes.h: Likewise.
3374 2019-03-14 Florian Weimer <fweimer@redhat.com>
3376 * nss/tst-nss-files-alias-truncated.c (do_test): Load
3378 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
3379 but not with libnss_files.
3380 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
3382 2019-03-14 Zack Weinberg <zackw@panix.com>
3384 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
3385 Specify encoding="utf-8" when opening headers to check.
3387 2019-03-13 Joseph Myers <joseph@codesourcery.com>
3389 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3391 (Context.checkout_tar): Handle variable major version for Linux
3394 2019-03-13 Florian Weimer <fweimer@redhat.com>
3397 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
3399 2019-03-13 Zack Weinberg <zackw@panix.com>
3401 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
3403 * include/inttypes.h: Adjust to match.
3404 * include/stdint.h: New wrapper.
3406 2019-03-13 Zack Weinberg <zackw@panix.com>
3408 * scripts/check-obsolete-constructs.py: New test script.
3409 * scripts/check-installed-headers.sh: Remove tests for
3410 obsolete typedefs, superseded by check-obsolete-constructs.py.
3411 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
3412 as a special test. Update commentary.
3413 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
3414 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
3416 * posix/sys/types.h (__u_intN_t): Remove.
3417 (u_int8_t): Typedef using __uint8_t.
3418 (u_int16_t): Typedef using __uint16_t.
3419 (u_int32_t): Typedef using __uint32_t.
3420 (u_int64_t): Typedef using __uint64_t.
3422 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
3424 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
3426 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
3427 Ignore types other than AT_HWCAP.
3428 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
3429 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
3431 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
3432 in the case of falling back to generic output mechanism.
3433 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
3436 2019-03-12 Florian Weimer <fweimer@redhat.com>
3438 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
3440 2019-03-12 Florian Weimer <fweimer@redhat.com>
3443 resolv: Enable full ICMP errors for UDP DNS sockets
3444 * resolv/res_enable_icmp.c: New file.
3445 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
3446 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
3447 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
3450 2019-03-11 Mao Han <han_mao@c-sky.com>
3452 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
3453 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
3455 2019-03-11 Mao Han <han_mao@c-sky.com>
3457 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
3458 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3459 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3461 2019-03-11 Mao Han <han_mao@c-sky.com>
3463 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
3465 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
3468 2019-03-11 Mao Han <han_mao@c-sky.com>
3470 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
3471 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
3474 2019-03-08 Mike FABIAN <mfabian@redhat.com>
3477 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
3478 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3480 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3481 * localedata/unicode-gen/PropList.txt: Likewise.
3482 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3483 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
3484 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
3485 * localedata/charmaps/UTF-8: Regenerate.
3486 * localedata/locales/i18n_ctype: Likewise.
3487 * localedata/locales/tr_TR: Likewise.
3488 * localedata/locales/translit_circle: Likewise.
3489 * localedata/locales/translit_cjk_compat: Likewise.
3490 * localedata/locales/translit_combining: Likewise.
3491 * localedata/locales/translit_compat: Likewise.
3492 * localedata/locales/translit_font: Likewise.
3493 * localedata/locales/translit_fraction: Likewise.
3495 2019-03-07 Joseph Myers <joseph@codesourcery.com>
3497 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
3498 than after operators.
3499 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
3500 (setitimer_locked): Likewise.
3501 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3502 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3503 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
3504 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
3505 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
3506 (PPC_CPU_SUPPORTED): Likewise.
3507 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
3508 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
3509 (stat_overflow): Likewise.
3510 (statfs_overflow): Likewise.
3511 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
3512 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
3513 (eq_ttyname_r): Likewise.
3514 (run_chroot_tests): Likewise.
3516 2019-03-07 Florian Weimer <fweimer@redhat.com>
3518 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
3521 2019-03-07 Martin Liska <mliska@suse.cz>
3523 * math/Makefile: Change location where math-vector-fortran.h is
3525 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
3526 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
3527 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
3528 * scripts/check-installed-headers.sh: Skip Fortran header files.
3529 * scripts/check-wrapper-headers.py: Likewise.
3531 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3533 * nptl/nptl-init.c (__have_futex_clock_realtime,
3534 __have_futex_clock_realtime): Remove definition.
3535 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
3536 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
3537 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
3538 __ASSUME_FUTEX_CLOCK_REALTIME support.
3539 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3540 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3541 * sysdeps/unix/sysv/linux/kernel-features.h
3542 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
3543 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
3546 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3548 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
3549 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
3550 __GI___wcscpy and wcscpy.
3552 2019-03-04 Florian Weimer <fweimer@redhat.com>
3554 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
3556 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
3559 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
3561 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
3562 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3564 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3567 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
3568 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
3570 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3572 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
3574 (do_test): Likewise.
3575 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3576 (do_test_call_varg): Likewise.
3577 (do_test_call_rarg): Likewise.
3578 * sysdeps/ieee754/ldbl-opt/Makefile
3579 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
3581 ($(objpfx)tst-nldbl-warn.c): New rule.
3582 ($(objpfx)tst-nldbl-error.c): Likewise.
3583 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
3586 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3589 * include/bits/error-ldbl.h: New file.
3590 * include/error.h: Include stdarg.h. Declare internal functions
3591 __error_internal and __error_at_line_internal.
3592 * misc/Makefile (headers): Add bits/error-ldbl.h.
3593 * misc/bits/error-ldbl.h: New file.
3594 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
3595 avoid the inclusion of bits/error.h.
3596 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
3597 and __nldbl_error_at_line.
3598 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
3599 (__nldbl_error, __ndlbl_error_at_line): New functions.
3600 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
3601 Redirect error and error_at_line.
3602 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3611 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3612 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3613 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3615 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3618 * include/bits/err-ldbl.h: New file.
3619 * include/err.h: Add prototypes for the internal functions:
3620 __vwarnx_internal and __vwarn_internal.
3621 * misc/Makefile (headers): Add bits/err-ldbl.h.
3622 * misc/bits/err-ldbl.h: New file.
3623 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
3624 defined, i.e.: when -mlong-double-64 is in use.
3625 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
3626 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
3627 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
3628 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
3629 (VA_CALL): New macro.
3630 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
3631 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
3633 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
3634 declare prototypes for the new functions.
3635 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3644 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3645 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3646 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3648 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3650 * sysdeps/ieee754/ldbl-opt/Makefile
3651 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
3652 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
3653 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
3655 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3658 * argp/Makefile (headers): Add bits/argp-ldbl.h.
3659 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
3660 * argp/bits/argp-ldbl.h: New file.
3661 * include/argp.h: Include stdarg.h. Add prototypes for internal
3662 functions: __argp_error_internal and __argp_failure_internal.
3663 * include/bits/argp-ldbl.h: New file.
3664 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
3665 __nldbl_argp_error and __nldbl_argp_failure.
3666 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
3667 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
3668 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
3669 Redirect argp_error and argp_failure calls.
3670 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3679 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3680 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3681 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3683 2019-03-01 Florian Weimer <fweimer@redhat.com>
3686 * elf/tst-big-note-lib.S: Create a syntactically valid note.
3687 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
3688 code, to avoid creating an ABI tag note.
3689 (modules-names-nobuild): Add tst-big-note-lib.
3691 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
3693 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
3694 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
3696 2019-03-01 Florian Weimer <fweimer@redhat.com>
3699 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3700 (__netlink_assert_response): Add additional missing newlines.
3702 2019-02-28 Joseph Myers <joseph@codesourcery.com>
3704 * sysdeps/powerpc/powerpc32/dl-machine.c
3705 (__elf_machine_fixup_plt): Use space before '('.
3706 (__process_machine_rela): Likewise.
3707 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
3709 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
3711 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
3713 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
3714 (pattern): Likewise.
3716 (check_result): Likewise.
3717 (check_excepts): Likewise.
3718 (check_op): Likewise.
3719 (fail_xr): Likewise.
3720 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
3721 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
3723 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
3726 (__makecontext): Likewise.
3727 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
3730 2019-02-28 Florian Weimer <fweimer@redhat.com>
3733 elf: Add test with a local IFUNC resolver.
3734 * elf/ifuncmain9.c: New file.
3735 * elf/ifuncmain9pic.c: Likewise.
3736 * elf/ifuncmain9picstatic.c: Likewise.
3737 * elf/ifuncmain9pie.c: Likewise.
3738 * elf/ifuncmain9static.c: Likewise.
3739 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
3740 ifuncmain9static, ifuncmain9picstatic.
3741 * elf/Makefile [multi-arch && build-shared] (tests-internal):
3742 Add ifuncmain9, ifuncmain9pic.
3743 * elf/Makefile [multi-arch && build-shared && have-fpie]
3744 (ifunc-pie-tests): Add ifuncmain9pie.
3745 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
3746 (CFLAGS-ifuncmain9picstatic.c): Likewise.
3747 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
3749 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
3751 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
3752 * configure: Regenerated.
3753 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
3755 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3757 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
3758 symbol as __wcspcy instead of wcscpy.
3760 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3762 * include/stdio.h (__renameat2): New hidden prototype.
3763 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
3764 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
3765 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
3766 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
3768 2019-02-27 Joseph Myers <joseph@codesourcery.com>
3770 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
3773 * benchtests/bench-strcpy.c (do_test): Use space before '('.
3774 * benchtests/bench-string.h (cmdline_process_function): Likewise.
3775 * benchtests/bench-strlen.c (do_test): Likewise.
3776 (test_main): Likewise.
3777 * catgets/gencat.c (read_old): Likewise.
3778 * elf/cache.c (load_aux_cache): Likewise.
3779 * iconvdata/bug-iconv8.c (do_test): Likewise.
3780 * math/test-tgmath-ret.c (do_test): Likewise.
3781 * nis/nis_call.c (rec_dirsearch): Likewise.
3782 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3783 * nptl/tst-audit-threads.c (do_test): Likewise.
3784 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
3785 * nss/nss_test1.c (init): Likewise.
3786 * nss/test-netdb.c (test_hosts): Likewise.
3787 * posix/execvpe.c (maybe_script_execute): Likewise.
3788 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
3789 * stdio-common/tst-printf.c (do_test): Likewise.
3790 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
3791 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
3792 * stdlib/qsort.c (STACK_SIZE): Likewise.
3793 * stdlib/test-canon.c (do_test): Likewise.
3794 * stdlib/tst-swapcontext1.c (do_test): Likewise.
3795 * string/memcmp.c (OPSIZ): Likewise.
3796 * string/test-strcpy.c (do_test): Likewise.
3797 (do_random_tests): Likewise.
3798 * string/test-strlen.c (do_test): Likewise.
3799 (test_main): Likewise.
3800 * string/test-strrchr.c (do_test): Likewise.
3801 (do_random_tests): Likewise.
3802 * string/tester.c (test_memrchr): Likewise.
3803 (test_memchr): Likewise.
3804 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
3805 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
3806 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
3807 (read_encoded_value_with_base): Likewise.
3808 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
3809 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
3810 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
3811 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3812 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
3813 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
3815 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
3817 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
3818 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
3819 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
3821 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
3823 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
3825 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3827 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
3828 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3829 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3830 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
3831 * time/test_time.c (main): Likewise.
3833 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3835 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
3837 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
3840 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
3843 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3845 * include/wchar.h (__wcscpy): New prototype.
3846 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
3847 (__wcscpy): Route internal symbol to generic implementation.
3848 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
3849 Add internal __wcscpy alias.
3850 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
3851 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
3852 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
3853 * wcsmbs/wcscpy.c (wcscpy): Add
3854 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
3855 use generic implementation.
3856 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
3858 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
3861 * sysdeps/m68k/wcpcpy.c: Remove file.
3862 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3864 2019-02-26 Joseph Myers <joseph@codesourcery.com>
3866 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
3867 than after operators.
3868 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3869 * sysdeps/mach/hurd/getcwd.c
3870 (__hurd_canonicalize_directory_name_internal): Likewise.
3871 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
3872 (pthread_mutex_consistent): Likewise.
3873 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
3875 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
3876 (__pthread_mutex_transfer_np): Likewise.
3877 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
3878 (__pthread_mutex_unlock): Likewise.
3879 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
3880 (mtx_owned_p): Likewise.
3881 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
3882 (pthread_mutexattr_getrobust): Likewise.
3883 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
3884 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3886 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3887 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
3888 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
3889 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
3890 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3891 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3892 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
3894 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
3896 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
3897 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
3898 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
3899 (____longjmp_chk): Likewise.
3900 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
3902 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3903 (INTERNAL_SYSCALL): Likewise.
3904 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3905 (INTERNAL_SYSCALL): Likewise.
3906 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3907 (__get_clockfreq_via_cpuinfo): Likewise.
3909 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
3911 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
3912 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
3913 (WORD_COPY_BWD): Likewise.
3914 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3915 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3917 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
3918 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
3920 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
3922 2019-02-25 Joseph Myers <joseph@codesourcery.com>
3924 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
3925 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
3926 rather than after operators.
3927 * elf/cache.c (print_cache): Likewise.
3928 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
3929 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
3930 * hurd/hurdinit.c (_hurd_setproc): Likewise.
3931 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
3932 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
3933 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3934 (reauth_proc): Likewise.
3935 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
3936 (__file_name_split_at): Likewise.
3937 (__directory_name_split_at): Likewise.
3938 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3939 * hurd/port2fd.c (_hurd_port2fd): Likewise.
3940 * iconv/gconv_dl.c (do_print): Likewise.
3941 * inet/netinet/in.h (struct sockaddr_in): Likewise.
3942 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
3943 * locale/setlocale.c (new_composite_name): Likewise.
3944 * malloc/memusagestat.c (main): Likewise.
3945 * misc/fstab.c (fstab_convert): Likewise.
3946 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3948 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
3949 (getgrent_next_file): Likewise.
3950 (internal_getgrnam_r): Likewise.
3951 (internal_getgrgid_r): Likewise.
3952 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
3954 (internal_getgrent_r): Likewise.
3955 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
3956 (getpwent_next_nss): Likewise.
3957 (getpwent_next_file): Likewise.
3958 (internal_getpwnam_r): Likewise.
3959 (internal_getpwuid_r): Likewise.
3960 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
3962 (getspent_next_nss): Likewise.
3963 (internal_getspnam_r): Likewise.
3964 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
3965 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
3966 * string/strchr.c (STRCHR): Likewise.
3967 * string/strchrnul.c (STRCHRNUL): Likewise.
3968 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
3969 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3970 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
3971 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
3972 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
3974 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
3975 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3976 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3977 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
3978 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
3979 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
3980 (open_file): Likewise.
3981 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
3982 (pthread_mutexattr_setprotocol): Likewise.
3983 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3984 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3985 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3986 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3987 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3989 (elf_machine_rela): Likewise.
3990 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3991 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3992 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
3993 * sysdeps/posix/rename.c (rename): Likewise.
3994 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
3995 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
3996 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
3997 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
3998 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3999 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
4000 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
4002 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
4004 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
4005 * time/tzfile.c (__tzfile_compute): Likewise.
4007 2019-02-22 Joseph Myers <joseph@codesourcery.com>
4009 * benchtests/bench-memmem.c (simple_memmem): Break lines before
4010 rather than after operators.
4011 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
4012 * crypt/md5.c (md5_finish_ctx): Likewise.
4013 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
4014 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
4015 * elf/cache.c (load_aux_cache): Likewise.
4016 * elf/dl-load.c (open_verify): Likewise.
4017 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
4018 * elf/readelflib.c (process_elf_file): Likewise.
4019 * elf/rtld.c (dl_main): Likewise.
4020 * elf/sprof.c (generate_call_graph): Likewise.
4021 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
4022 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
4023 * hurd/dtable.c (reauth_dtable): Likewise.
4024 * hurd/getdport.c (__getdport): Likewise.
4025 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
4026 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
4027 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
4029 * hurd/hurdioctl.c (fioctl): Likewise.
4030 * hurd/hurdselect.c (_hurd_select): Likewise.
4031 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
4032 (STOPSIGS): Likewise.
4033 * hurd/hurdstartup.c (_hurd_startup): Likewise.
4034 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
4035 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4036 * hurd/msgportdemux.c (msgport_server): Likewise.
4037 * hurd/setauth.c (_hurd_setauth): Likewise.
4038 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
4039 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
4040 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4041 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
4042 * login/tst-utmp.c (do_check): Likewise.
4043 (simulate_login): Likewise.
4044 * mach/lowlevellock.h (lll_lock): Likewise.
4045 (lll_trylock): Likewise.
4046 * math/test-fenv.c (ALL_EXC): Likewise.
4047 * math/test-fenvinline.c (ALL_EXC): Likewise.
4048 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
4049 * nis/nis_call.c (__do_niscall3): Likewise.
4050 * nis/nis_callback.c (cb_prog_1): Likewise.
4051 * nis/nis_defaults.c (searchaccess): Likewise.
4052 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4053 * nis/nis_ismember.c (internal_ismember): Likewise.
4054 * nis/nis_local_names.c (nis_local_principal): Likewise.
4055 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
4056 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
4058 * nis/ypclnt.c (yp_match): Likewise.
4059 (yp_first): Likewise.
4060 (yp_next): Likewise.
4061 (yp_master): Likewise.
4062 (yp_order): Likewise.
4063 * nscd/hstcache.c (cache_addhst): Likewise.
4064 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4065 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
4066 (internal_getpwuid_r): Likewise.
4067 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
4068 * posix/glob.h (__GLOB_FLAGS): Likewise.
4069 * posix/regcomp.c (peek_token): Likewise.
4070 (peek_token_bracket): Likewise.
4071 (parse_expression): Likewise.
4072 * posix/regexec.c (sift_states_iter_mb): Likewise.
4073 (check_node_accept_bytes): Likewise.
4074 * posix/tst-spawn3.c (do_test): Likewise.
4075 * posix/wordexp-test.c (testit): Likewise.
4076 * posix/wordexp.c (parse_tilde): Likewise.
4077 (exec_comm): Likewise.
4078 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
4079 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
4080 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
4081 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
4082 * stdio-common/tst-fileno.c (do_test): Likewise.
4083 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
4084 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
4085 * stdlib/strtod_l.c (round_and_return): Likewise.
4086 (____STRTOF_INTERNAL): Likewise.
4087 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
4088 * string/strcspn.c (STRCSPN): Likewise.
4089 * string/test-memmem.c (simple_memmem): Likewise.
4090 * termios/tcsetattr.c (tcsetattr): Likewise.
4091 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
4092 * time/asctime.c (asctime_internal): Likewise.
4093 * time/strptime_l.c (__strptime_internal): Likewise.
4094 * time/sys/time.h (timercmp): Likewise.
4095 * time/tzfile.c (__tzfile_compute): Likewise.
4097 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
4100 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
4102 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4104 * argp/argp-help.c (__argp_error_internal): New function,
4105 renamed from __argp_error, but that takes a 'mode_flags'
4106 parameter to control the format of long double parameters.
4107 (__argp_error): Converted into a call __argp_error_internal.
4108 (__argp_failure_internal): New function, renamed from
4109 __argp_failure, but that takes a 'mode_flags' parameter.
4110 (__argp_failure): Converted into a call __argp_failure_internal.
4111 * misc/err.c (__vwarnx_internal): New function, renamed from
4112 vwarnx, but that takes a 'mode_flags' parameter.
4113 (vwarnx): Converted into a call to __vwarnx_internal.
4114 (__vwarn_internal): New function, renamed from vwarn, but that
4115 takes a 'mode_flags' parameter.
4116 (vwarn): Converted into a call to __vwarn_internal.
4117 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
4118 call to __vfxprintf with 'mode_flags'.
4119 (__error_internal): New function, renamed from error, but that
4120 takes a 'mode_flags' parameter.
4121 (error): Converted into a call to __error_internal.
4122 (__error_at_line_internal): New function, renamed from
4123 error_at_line, but that takes a 'mode_flags' parameter.
4124 (error_at_line): Converted into a call to
4125 __error_at_line_internal.
4126 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
4127 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
4130 2019-02-20 Martin Liska <mliska@suse.cz>
4132 * math/Makefile: Install math-vector-fortran.h.
4133 * bits/math-vector-fortran.h: New file.
4134 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
4136 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4138 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
4139 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
4141 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
4143 * nptl/pthread_mutex_trylock.c: Fix comment.
4145 2019-02-19 Carlos O'Donell <carlos@redhat.com>
4147 * nptl/pthread_tryjoin.c: Fix comment.
4149 2019-02-18 Joseph Myers <joseph@codesourcery.com>
4152 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
4153 after R_SPARC_H34 case.
4155 2019-02-18 Florian Weimer <fweimer@redhat.com>
4157 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
4158 (getanswer): Do not call Dprintf.
4159 (res_gethostbyname2_context): Likewise.
4160 (res_gethostbyaddr_context): Likewise.
4162 2019-02-18 Florian Weimer <fweimer@redhat.com>
4164 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
4166 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
4168 * libio/stdfiles.c: Update comment.
4169 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
4170 set _IO_stdin, _IO_stdout, _IO_stderr.
4171 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
4172 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
4174 (_IO_deallocate_file): New inline function.
4175 * libio/iolibio.h (_IO_vprintf): Remove definition.
4176 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
4177 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4178 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
4180 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
4181 __builtin_expect. Use _IO_legacy_file.
4183 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
4185 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
4186 Initialize ctid with a known value and remove update of ctid
4188 (wait_tid): Adjust arguments and call futex_wait with ctid_val
4189 as assumed current value of ctid_ptr.
4191 2019-02-16 Florian Weimer <fweimer@redhat.com>
4193 Check that non-sysdeps headers have wrapper headers.
4194 * scripts/check-wrapper-headers.py: New file.
4195 * Makefile (tests-special): Add check-wrapper-headers.out.
4196 (check-wrapper-headers.out): New target.
4197 * Rules (tests-special): Add check-wrapper-headers.out.
4198 (check-wrapper-headers.out): New target.
4200 2019-02-16 Florian Weimer <fweimer@redhat.com>
4202 Add missing header wrappers under include/.
4203 * include/ar.h: New file.
4204 * include/bits/mqueue2.h: Likewise.
4205 * include/bits/stdio.h: Likewise.
4206 * include/bits/stdio2.h: Likewise.
4207 * include/fstab.h: Likewise.
4208 * include/fts.h: Likewise.
4209 * include/lastlog.h: Likewise.
4210 * include/netinet/icmp6.h: Likewise.
4211 * include/netinet/igmp.h: Likewise.
4212 * include/netinet/ip6.h: Likewise.
4213 * include/re_comp.h: Likewise.
4214 * include/regexp.h: Likewise.
4215 * include/rpcsvc/bootparam.h: Likewise.
4216 * include/rpcsvc/yp_prot.h: Likewise.
4217 * include/sys/random.h: Likewise.
4218 * include/sys/stropts.h: Likewise.
4219 * include/sys/ttychars.h: Likewise.
4220 * include/sys/vfs.h: Likewise.
4221 * include/wait.h: Likewise.
4223 2019-02-16 Florian Weimer <fweimer@redhat.com>
4225 * nptl_db/proc_service.h: Move to ...
4226 * sysdeps/nptl/proc_service.h: ... here.
4227 * nptl_db/thread_db.h: Move to ...
4228 * sysdeps/nptl/thread_db.h: ... here.
4229 * nptl/descr.h: Include <thread_db.h>.
4231 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4233 * io/Makefile (tests): Add tst-lockf.
4234 * io/lockf.c (lockf): Use __fcntl and only define for
4235 !__OFF_T_MATCHES_OFF64_T.
4236 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
4237 __OFF_T_MATCHES_OFF64_T case.
4238 * io/tst-lockf.c: New file.
4239 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
4240 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
4241 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
4242 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
4243 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
4244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
4245 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
4246 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
4247 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
4249 2019-02-15 Florian Weimer <fweimer@redhat.com>
4252 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
4253 pd->result after the thread descriptor has been freed.
4255 2019-02-15 Joseph Myers <joseph@codesourcery.com>
4257 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
4258 from function return type.
4260 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
4262 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4264 * scripts/test_printers_common.py: Set TERM to a known harmless
4267 2019-02-14 Joseph Myers <joseph@codesourcery.com>
4269 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
4270 (xdr_u_int): Likewise.
4271 (xdr_enum): Likewise.
4272 (xdr_bytes): Reword fall-through comment.
4273 (xdr_string): Likewise.
4275 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4278 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
4279 (tests): Add tst-join8 tst-join9.
4280 * nptl/lll_timedwait_tid.c: Remove file.
4281 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
4282 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
4283 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
4284 * nptl/pthread_join_common.c (timedwait_tid): New function.
4285 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
4287 * nptl/tst-join5.c (thread_join): New function.
4288 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
4290 * nptl/tst-join8.c: New file.
4291 * nptl/tst-join9.c: Likewise.
4292 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
4293 lll_futex_timed_wait_cancel): Add generic macros.
4294 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
4296 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4297 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4298 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4299 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
4301 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
4303 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4304 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4305 (lll_futex_timed_wait_cancel): New macro.
4307 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
4309 * benchtests/Makefile: Add malloc-simple benchmark.
4310 * benchtests/bench-malloc-simple.c: New benchmark.
4312 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
4314 * benchtests/bench-memmove.c (do_one_test): Remove unused
4317 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
4321 2019-01-13 Jim Wilson <jimw@sifive.com>
4324 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
4325 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
4327 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
4329 * nptl/Makefile (tests): Add tst-unwind-thread.
4330 (CFLAGS-tst-unwind-thread.c): Define.
4331 * nptl/tst-unwind-thread.c: New file.
4332 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
4335 2019-02-13 Joseph Myers <joseph@codesourcery.com>
4337 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
4339 * nis/nis_call.c (__do_niscall3): Likewise.
4341 * catgets/gencat.c (normalize_line): Use braces around empty
4343 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4344 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
4345 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
4346 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
4347 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
4348 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
4349 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
4352 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
4355 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
4357 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
4358 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
4359 * benchtests/bench-strchr.c (stupid_strchr): Remove.
4360 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
4361 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
4362 * benchtests/bench-strlen.c (builtin_strlen): Remove.
4363 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
4364 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
4365 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
4366 * benchtests/bench-strspn.c (stupid_strspn): Remove.
4367 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
4368 * benchtests/bench-bcopy.c: Delete file.
4369 * benchtests/bench-bzero.c: Likewise.
4370 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
4371 (simple_memccpy): Remove.
4372 (generic_memccpy): Add function.
4373 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
4374 * benchtests/bench-memmove.c (simple_bcopy): Remove.
4375 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
4376 (generic_mempcpy): Add new function.
4377 * benchtests/bench-memset.c (simple_bzero): Remove.
4378 (builtin_bzero): Remove.
4379 (builtin_memset): Remove.
4380 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
4381 (generic_rawmemchr): Add new function.
4383 2019-02-12 Florian Weimer <fweimer@redhat.com>
4385 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
4387 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4390 * elf/Makefile (tests): Add tst-audit13.
4391 (modules-names): Add tst-audit13mod1.
4392 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4394 * elf/tst-audit13.c: New file.
4395 * elf/tst-audit13mod1.c: Likewise.
4397 2019-02-12 Florian Weimer <fweimer@redhat.com>
4400 * elf/rtld.c (unload_audit_module): New function.
4401 (report_audit_module_load_error): Likewise.
4402 (load_audit_module): Likewise. Extracted from dl_main. Call
4403 _dl_close if the laversion symbol cannot be found. Use early
4404 returns for error handling. Add malloc error check. Check for a
4405 zero return value from la_version. Remove spurious comment about
4406 static TLS initialization. Remove useless casts.
4407 (notify_audit_modules_of_loaded_object): New function. Extracted
4409 (load_audit_module): Likewise.
4410 (dl_main): Call load_audit_modules.
4412 2019-02-12 Joseph Myers <joseph@codesourcery.com>
4414 * elf/dl-exception.c (_dl_exception_create_format): Add
4415 fall-through comments.
4416 * elf/ldconfig.c (parse_conf_include): Likewise.
4417 * elf/rtld.c (print_statistics): Likewise.
4418 * locale/programs/charmap.c (parse_charmap): Likewise.
4419 * misc/mntent_r.c (__getmntent_r): Likewise.
4420 * posix/wordexp.c (parse_arith): Likewise.
4421 (parse_backtick): Likewise.
4422 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
4423 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4424 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4426 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
4428 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
4429 Use float instead of double.
4431 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4433 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
4435 2019-02-08 Joseph Myers <joseph@codesourcery.com>
4437 * sysdeps/powerpc/bits/mathinline.h: Remove.
4439 2019-02-08 Florian Weimer <fweimer@redhat.com>
4441 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
4442 * math/bits/math-finite.h: Move to ...
4443 * bits/math-finite.h: ... here.
4445 2019-02-08 Florian Weimer <fweimer@redhat.com>
4447 * sysdeps/generic/bits/unistd_ext.h: Move to ...
4448 * bits/unistd_ext.h: here.
4450 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
4453 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
4454 * nss/tst-nss-files-hosts-long.c: New file.
4455 * nss/tst-nss-files-hosts-long.root: New directory.
4456 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
4457 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
4459 2019-02-08 Florian Weimer <fweimer@redhat.com>
4461 * include/bits/unistd_ext.h: Remove file.
4462 * posix/bits/unistd_ext.h: Move to ...
4463 * sysdeps/generic/bits/unistd_ext.h: ... here.
4465 2019-02-08 Florian Weimer <fweimer@redhat.com>
4467 * include/bits/unistd_ext.h: New file.
4469 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
4471 * time/tst-strftime2.c: Use array_length macros instead of magic
4474 2019-02-08 Florian Weimer <fweimer@redhat.com>
4477 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
4479 * nptl/register-atfork.c (__run_fork_handlers): Only perform
4480 locking if the new do_locking argument is true.
4481 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
4482 __run_fork_handlers.
4484 2019-02-08 Florian Weimer <fweimer@redhat.com>
4487 Linux: Add gettid system call wrapper.
4488 * posix/Makefile (headers): Add bits/unistd_ext.h.
4489 * posix/bits/unistd_ext.h: New file.
4490 * posix/unistd.h: Include it.
4491 * manual/process.texi (Process Identification): Document gettid.
4492 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
4493 tst-gettid, tst-gettid-kill.
4494 (tst-gettid): Link with $(shared-thread-library).
4495 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
4496 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
4497 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
4498 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
4499 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
4500 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4502 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4504 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4505 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
4507 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
4509 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
4511 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
4513 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4515 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4517 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4519 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4520 (GLIBC_2.30): Likewise.
4521 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4522 (GLIBC_2.30): Likewise.
4523 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4524 (GLIBC_2.30): Likewise.
4525 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4526 (GLIBC_2.30): Likewise.
4527 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4530 (GLIBC_2.30): Likewise.
4531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4532 (GLIBC_2.30): Likewise.
4533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4534 (GLIBC_2.30): Likewise.
4535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4536 (GLIBC_2.30): Likewise.
4537 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4539 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4541 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4543 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4544 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4546 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4548 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4550 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4552 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
4554 2019-02-08 Florian Weimer <fweimer@redhat.com>
4556 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
4557 compatibility symbols.
4559 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
4562 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4563 Add compiler barriers and comments.
4565 2019-02-07 Florian Weimer <fweimer@redhat.com>
4567 * include/array_length.h (array_length): Do not use a statement
4568 expression and _Static_assert, so that array_length can be used at
4569 file scope and as a constant expression.
4571 2019-02-07 Florian Weimer <fweimer@redhat.com>
4573 * support/xdlfcn.h (xdlmopen): Declare.
4574 * support/xdlmopen.c: New file.
4575 * support/Makefile (libsupport-routines): Add xdlmopen.
4577 2019-02-06 Joseph Myers <joseph@codesourcery.com>
4579 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
4580 before return type, without separate inline.
4581 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
4582 * elf/dl-tunables.h (tunable_is_name): Likewise.
4583 * malloc/malloc.c (do_set_trim_threshold): Likewise.
4584 (do_set_top_pad): Likewise.
4585 (do_set_mmap_threshold): Likewise.
4586 (do_set_mmaps_max): Likewise.
4587 (do_set_mallopt_check): Likewise.
4588 (do_set_perturb_byte): Likewise.
4589 (do_set_arena_test): Likewise.
4590 (do_set_arena_max): Likewise.
4591 (do_set_tcache_max): Likewise.
4592 (do_set_tcache_count): Likewise.
4593 (do_set_tcache_unsorted_limit): Likewise.
4594 * nis/nis_subr.c (count_dots): Likewise.
4595 * nptl/allocatestack.c (advise_stack_range): Likewise.
4596 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
4598 (reduce_sincos): Likewise.
4599 (do_sincos): Likewise.
4600 * sysdeps/unix/sysv/linux/x86/elision-conf.c
4601 (do_set_elision_enable): Likewise.
4602 (TUNABLE_CALLBACK_FNDECL): Likewise.
4604 2019-02-06 Florian Weimer <fweimer@redhat.com>
4606 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
4607 (xdlsym): Use dlerror to detect a NULL symbol.
4609 2019-02-06 Florian Weimer <fweimer@redhat.com>
4611 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
4613 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4615 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4617 * libio/tst-bz24153.c (wide): Use wide char format specifier.
4619 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4621 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
4622 __wmemcmp and weak alias to wmemcmp.
4624 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4627 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
4628 TLS_TCB_AT_TP tls variant.
4629 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
4630 Add alignment checks.
4631 * support/Makefile (libsupport-routines): Add xposix_memalign and
4633 * support/support.h: Add xposix_memalign.
4634 * support/xthread.h: Add xpthread_attr_setstack.
4635 * support/xposix_memalign.c: New File.
4636 * support/xpthread_attr_setstack.c: Likewise.
4638 2019-02-05 Florian Weimer <fweimer@redhat.com>
4641 arm: Use "nr" constraint for Systemtap probes, to avoid the
4642 compiler using memory operands for constants, due to the "o"
4643 alternative in the default "nor" constraint.
4644 * include/stap-probe.h [USE_STAP_PROBE]: Include
4645 <stap-probe-machine.h>
4646 * sysdeps/generic/stap-probe-machine.h: New file.
4647 * sysdeps/arm/stap-probe-machine.h: Likewise.
4649 2019-02-04 Joseph Myers <joseph@codesourcery.com>
4651 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
4652 with 0, not tcache->entries[tc_idx].
4654 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
4657 2019-02-04 Andreas Schwab <schwab@suse.de>
4661 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
4662 looking up collating elements match against (wide) character
4663 sequence instead of name. Correct alignment adjustment.
4664 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
4665 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
4666 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
4667 (LOCALES): Add cs_CZ.ISO-8859-2.
4668 * posix/tst-fnmatch4.c: New file.
4669 * posix/tst-fnmatch5.c: New file.
4670 * include/wchar.h (__wmemcmp): Declare.
4671 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
4672 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4673 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
4674 * sysdeps/s390/wmemcmp.c: Likewise.
4676 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
4680 * NEWS: Updated for CVE-2019-7309.
4681 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
4682 upper 32 bits of RDX register for x32. Use unsigned Jcc
4683 instructions, instead of signed.
4684 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
4685 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
4687 2019-02-04 Florian Weimer <fweimer@redhat.com>
4689 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
4690 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
4691 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
4693 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
4694 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
4695 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
4696 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
4698 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
4700 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
4702 (posix_spawn_file_actions_addopen): Likewise.
4703 (posix_spawn_file_actions_addclose): Likewise.
4704 (posix_spawn_file_actions_adddup2): Likewise.
4705 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
4707 (posix_spawn_file_actions_addfchdir_np): Likewise.
4709 2019-02-04 David Newall <glibc@davidnewall.com>
4711 elf: Implement --preload option for the dynamic linker.
4712 * elf/rtld.c (preloadarg): New variable.
4713 (handle_preload_list): Pass through “where” argument to
4715 (dl_main): Handle "--preload" and add second call to
4716 handle_preload_list.
4717 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
4718 (tst-rtld-preload-OBJS): Set variable.
4719 (tst-rtld-preload.out): New target.
4720 * elf/tst-rtld-preload.sh: New file.
4722 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
4724 * Makefile (testrun.sh): Exit in case of incorrect argument.
4726 2019-02-04 Florian Weimer <fweimer@redhat.com>
4728 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
4731 2019-02-03 Florian Weimer <fweimer@redhat.com>
4733 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
4734 implicit overflow checks.
4736 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
4738 * stdlib/isomac.c: Include <unistd.h>.
4740 2019-02-03 Florian Weimer <fweimer@redhat.com>
4742 * include/time.h (__tzfile_default): Use int, not long int, for
4744 * time/tzfile.c (struct ttinfo): Change type of the offset member
4746 (__tzfile_read): Remove useless cast.
4747 (__tzfile_default): Adjust prototype.
4748 * time/tzset.c (tz_rule): Change type of the offset member to int.
4749 (parse_offset): Change the type of the sign variable to int.
4751 2019-02-03 Florian Weimer <fweimer@redhat.com>
4754 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
4755 * libio/getchar.c (getchar): Likewise.
4756 * libio/getchar_u.c (getchar_unlocked): Likewise.
4757 * libio/getwchar.c (getwchar): Likewise.
4758 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4759 * libio/iogets.c (_IO_gets): Likewise.
4760 * libio/vscanf.c (_IO_vscanf): Likewise.
4761 * libio/vwscanf.c (__vwscanf): Likewise.
4762 * libio/tst-bz24153.c: New file.
4763 * libio/Makefile (tests): Add it.
4765 2019-02-02 Florian Weimer <fweimer@redhat.com>
4768 * manual/resource.texi (Basic Scheduling Functions): Add
4769 portability note. Change process to task throughout the section.
4770 Remove incorrect comment about sched_yield as it affects
4771 tasks/threads, not entire processes.
4772 * sysdeps/unix/sysv/linux/bits/posix_opt.h
4773 (_POSIX_PRIORITY_SCHEDULING): Update comment.
4775 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4777 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
4778 * configure: Regenerated.
4779 * manual/install.texi (Tools for Compilation): Update minimum GCC
4781 * INSTALL: Regenerated.
4783 2019-02-01 Florian Weimer <fweimer@redhat.com>
4785 * support/support_test_compare_string.c
4786 (support_test_compare_string): Use "string" in error message.
4787 * support/tst-test_compare_string.c (do_test): Adjust.
4789 2019-02-01 Florian Weimer <fweimer@redhat.com>
4791 * support/support_format_address_family.c
4792 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
4794 2019-02-01 Florian Weimer <fweimer@redhat.com>
4796 * manual/socket.texi (Internet Address Formats): Clarify the byte
4797 order of struct sockaddr_in, struct sockaddr_in6. Document
4798 sin6_flowinfo and sin6_scope_id.
4800 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
4802 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
4803 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
4804 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
4805 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
4806 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
4807 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
4809 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4811 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
4812 [!MEMCHR](MEMCHR): Set to __memchr.
4813 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4814 Add memchr_generic and memchr_nosimd.
4815 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4816 (__libc_ifunc_impl_list): Add memchr ifuncs.
4817 * sysdeps/aarch64/multiarch/memchr.c: New file.
4818 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
4819 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
4821 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4823 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4825 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4826 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
4827 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
4828 Add IS_EMAG check for ifunc dispatch.
4829 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
4830 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
4832 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4834 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
4835 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4837 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
4840 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
4842 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
4844 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
4846 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
4847 syscall-template file.
4849 2019-01-31 Carlos O'Donell <carlos@redhat.com>
4850 Torvald Riegel <triegel@redhat.com>
4851 Rik Prohaska <prohaska7@gmail.com>
4854 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
4855 tst-rwlock-trywrlock-stall.
4856 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4857 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
4858 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
4859 Set __wrphase_fute to 1 only if we started the write phase.
4860 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
4861 * nptl/tst-rwlock-trywrlock-stall.c: New file.
4862 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
4863 * support/xpthread_rwlock_destroy.c: New file.
4864 * support/xthread.h: Declare xpthread_rwlock_destroy.
4866 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4868 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4871 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4874 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
4875 * libio/fileops.c (_IO_new_file_underflow): Likewise
4876 * libio/wfileops.c (_IO_wfile_underflow): Likewise
4877 * libio/putchar.c (putchar): Likewise.
4878 * libio/putchar_u.c (putchar_unlocked): Likewise.
4879 * libio/putwchar.c (putchar): Likewise.
4880 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4881 * libio/tst-bz24051.c: New test.
4882 * libio/Makefile (tests): Add tst-bz24051
4884 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
4887 regex: fix read overrun [BZ #24114]
4888 Problem found by AddressSanitizer, reported by Hongxu Chen in:
4889 https://debbugs.gnu.org/34140
4890 * posix/regexec.c (proceed_next_node):
4891 Do not read past end of input buffer.
4893 2019-01-31 Florian Weimer <fweimer@redhat.com>
4896 * nss/nss_files/files-alias.c (get_next_alias): Handle
4897 continuation line without newline at the end.
4898 * nss/tst-nss-files-alias-truncated.c: New file.
4899 * nss/Makefile [$(build-shared)] (tests): Add
4900 tst-nss-files-alias-truncated.
4901 (tst-nss-files-alias-truncated): Link with libnss_files.so.
4902 * support/namespace.h (struct support_chroot_configuration): Add
4904 (struct support_chroot): Add path_aliases member.
4905 * support/support_chroot.c (support_chroot_create): Handle
4907 (support_chroot_free): Free path_aliases.
4909 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4911 * version.h (RELEASE): Set to "development".
4912 (VERSION): Set to "2.29.9000".
4913 * NEWS: Add section for 2.30.
4915 * version.h (RELEASE): Set to "stable".
4916 (VERSION): Set to "2.29".
4917 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
4919 * NEWS: Add the list of bugs fixed in 2.29.
4920 * manual/contrib.texi: Update contributors list with some more
4922 * manual/install.texi: Update latest versions of packages
4924 * INSTALL: Regenerated.
4926 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4928 * po/be.po: Update translations.
4929 * po/bg.po: Likewise.
4930 * po/ca.po: Likewise.
4931 * po/cs.po: Likewise.
4932 * po/da.po: Likewise.
4933 * po/de.po: Likewise.
4934 * po/el.po: Likewise.
4935 * po/eo.po: Likewise.
4936 * po/es.po: Likewise.
4937 * po/fi.po: Likewise.
4938 * po/fr.po: Likewise.
4939 * po/gl.po: Likewise.
4940 * po/hr.po: Likewise.
4941 * po/hu.po: Likewise.
4942 * po/ia.po: Likewise.
4943 * po/id.po: Likewise.
4944 * po/it.po: Likewise.
4945 * po/ja.po: Likewise.
4946 * po/ko.po: Likewise.
4947 * po/lt.po: Likewise.
4948 * po/nb.po: Likewise.
4949 * po/nl.po: Likewise.
4950 * po/pl.po: Likewise.
4951 * po/pt_BR.po: Likewise.
4952 * po/ru.po: Likewise.
4953 * po/rw.po: Likewise.
4954 * po/sk.po: Likewise.
4955 * po/sl.po: Likewise.
4956 * po/sv.po: Likewise.
4957 * po/tr.po: Likewise.
4958 * po/uk.po: Likewise.
4959 * po/vi.po: Likewise.
4960 * po/zh_CN.po: Likewise.
4961 * po/zh_TW.po: Likewise.
4963 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
4966 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
4967 of $f3 register on $y_is_neg path.
4969 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
4972 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
4973 sigaltstack.ss_flags.
4975 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
4978 * manual/time.texi (strftime): Document "%Ey".
4979 * time/strftime_l.c (__strftime_internal): Set the default width
4980 padding with zero of "%Ey" to 2.
4983 * manual/time.texi (strftime): Document "%EC" and "%EY".
4984 * time/Makefile (tests): Add tst-strftime2.
4985 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
4986 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
4987 override padding for "%Ey".
4988 If an optional flag ('_' or '-') is specified to "%EY", interpret the
4989 "%Ey" in the subformat as if decorated with that flag.
4990 * time/tst-strftime2.c: New file.
4992 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4994 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
4998 * elf/Makefile (tests): Add tst-audit13.
4999 (modules-names): Add tst-audit13mod1.
5000 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5002 * elf/rtld.c (dl_main): Handle invalid audit module version.
5003 * elf/tst-audit13.c: New file.
5004 * elf/tst-audit13mod1.c: Likewise.
5006 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5008 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
5009 returned by __hurd_at_flags.
5010 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
5011 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
5012 directly instead of __hurd_file_name_lookup.
5014 2019-01-21 Joseph Myers <joseph@codesourcery.com>
5016 * scripts/build-many-glibcs.py (Context.checkout): Default
5017 binutils version to 2.32 branch.
5019 2019-01-21 Florian Weimer <fweimer@redhat.com>
5023 resolv: Reject trailing characters in host names
5024 * include/arpa/inet.h (__inet_aton_exact): Declare.
5025 (inet_aton): Remove hidden prototype. No longer used internally.
5026 * nscd/gai.c (__inet_aton): Do not define.
5027 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
5028 * nss/digits_dots.c (__inet_aton): Likewise.
5029 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
5030 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
5031 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
5032 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
5033 (tst-resolv-trailing): Likewise.
5034 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
5036 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
5037 Make static. Add endp parameter.
5038 (__inet_aton_exact): New function.
5039 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
5040 (__inet_addr): Call inet_aton_end.
5041 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
5042 not just IPv6. Call __inet_aton_exact.
5043 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
5044 (tests): Make const. Add additional test cases with trailing
5046 (do_test): Use array_length.
5047 * resolv/tst-inet_aton_exact.c: New file.
5048 * resolv/tst-resolv-trailing.c: Likewise.
5049 * resolv/tst-resolv-nondecimal.c: Likewise.
5050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
5052 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5056 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
5057 Clear the upper 32 bits of RSI register.
5058 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
5059 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
5060 and tst-size_t-wcsnlen.
5061 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
5062 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
5064 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5068 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
5069 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5070 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5071 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
5072 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
5074 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5078 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
5079 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5080 * sysdeps/x86_64/strcmp.S: Likewise.
5081 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
5082 tst-size_t-strncmp and tst-size_t-wcsncmp.
5083 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
5084 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
5085 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
5087 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5091 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
5092 RDX_LP for length. Clear the upper 32 bits of RDX register.
5093 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
5094 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
5095 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
5096 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
5098 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5102 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
5103 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
5104 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
5105 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
5107 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5111 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
5112 length. Clear the upper 32 bits of RDX register.
5113 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5114 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5116 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5118 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
5120 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
5122 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5126 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
5127 length. Clear the upper 32 bits of RDX register.
5128 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5129 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5130 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
5132 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
5133 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
5135 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5139 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
5140 upper 32 bits of RDX register.
5141 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
5142 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
5144 * sysdeps/x86_64/x32/test-size_t.h: New file.
5145 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
5146 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
5148 2019-01-18 Florian Weimer <fweimer@redhat.com>
5151 resolv: Do not send queries for non-host-names in nss_dns.
5152 * resolv/nss_dns/dns-host.c (check_name): New function.
5153 (_nss_dns_gethostbyname2_r): Use it.
5154 (_nss_dns_gethostbyname_r): Likewise.
5155 (_nss_dns_gethostbyname4_r): Likewise.
5157 2019-01-21 Florian Weimer <fweimer@redhat.com>
5159 * resolv/inet_addr.c: Reformat to GNU style.
5160 (__inet_addr, __inet_aton): Update comment.
5162 2019-01-18 Florian Weimer <fweimer@redhat.com>
5164 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
5165 ("malloc: Use current (C11-style) atomics for fastbin access").
5166 This commit introduces a substantial performance regression on
5168 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
5169 (REMOVE_FB): Define.
5170 (_int_malloc): Use it and reindent.
5171 (_int_free): Use CAS loop with
5172 catomic_compare_and_exchange_val_rel.
5173 (malloc_consolidate): Use atomic_exchange_acq.
5176 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
5178 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
5180 (LDFLAGS-tst-minsigstksz-2): Likewise.
5181 (LDFLAGS-tst-minsigstksz-3): Likewise.
5182 (LDFLAGS-tst-minsigstksz-3a): Likewise.
5183 (LDFLAGS-tst-minsigstksz-4): Likewise.
5185 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
5187 * manual/time.texi (strftime): Fix the wording to "alternative" rather
5190 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
5192 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
5194 2019-01-16 Zack Weinberg <zackw@panix.com>
5196 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
5197 (xget_sigstack_location): New test support functions.
5198 * support/xsigstack.c: New file, implementing them.
5199 * support/tst-xsigstack.c: New test for them.
5200 * support/Makefile: Update.
5202 * signal/tst-minsigstksz-1.c
5203 * signal/tst-minsigstksz-2.c
5204 * signal/tst-minsigstksz-3.c
5205 * signal/tst-minsigstksz-3a.c
5206 * signal/tst-minsigstksz-4.c: New tests.
5207 * signal/Makefile: Run them.
5209 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5211 * po/libc.pot: Regenerate.
5213 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5215 * math/libm-test-fma.inc (fma_test_data): Set
5216 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
5218 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5220 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
5221 (do_test): Changed __vector __int128_t to __vector unsigned int.
5223 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5226 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
5227 stpcpy-avx2 and stpncpy-avx2.
5228 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
5229 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
5230 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
5232 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
5233 ifunc-strcpy.h}: rename header for a more generic name.
5234 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
5235 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
5236 AVX unaligned load is fast and vzeroupper is preferred.
5237 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
5238 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
5239 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
5240 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
5241 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
5242 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
5244 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
5246 * argp/argp-help.c: Fix typo in comment.
5247 * misc/sys/cdefs.h: Likewise.
5248 * posix/regexec.c (sift_states_iter_mb): Likewise.
5249 * socket/sockatmark.c: Likewise.
5250 * socket/sys/socket.h: Likewise.
5251 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
5252 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
5253 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
5254 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5255 * sysdeps/unix/sockatmark.c: Likewise.
5256 * time/strptime_l.c: Likewise.
5258 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5260 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
5261 missing space after the cast of "_NL_CURRENT".
5263 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5265 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
5266 ifdef to fix read of VSCR.
5267 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
5268 tst-ucontext-ppc64-vscr.c to test list.
5269 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
5271 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
5273 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
5276 2019-01-09 Jim Wilson <jimw@sifive.com>
5278 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
5280 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
5282 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
5283 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
5284 __memcpy_falkor for ares.
5285 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
5287 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5290 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
5293 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
5294 4_FP_W_TYPEs are used for IEEE quad precision.
5295 * soft-fp/extendhftf2.c: Likewise.
5296 * soft-fp/extendsftf2.c: Likewise.
5297 * soft-fp/extendxftf2.c: Likewise.
5298 * soft-fp/trunctfdf2.c: Likewise.
5299 * soft-fp/trunctfhf2.c: Likewise.
5300 * soft-fp/trunctfsf2.c: Likewise.
5301 * soft-fp/trunctfxf2.c: Likewise.
5302 * sysdeps/alpha/ots_cvttx.c: Likewise.
5303 * sysdeps/alpha/ots_cvtxt.c: Likewise.
5304 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
5305 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
5306 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
5307 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
5308 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
5309 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
5310 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
5311 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
5312 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
5313 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
5314 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
5315 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
5316 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
5317 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
5318 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
5319 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
5321 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5324 * Makeconfig: Build libm with -fno-math-errno but build the remaining
5325 code with -fmath-errno.
5326 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
5327 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
5328 * string/test-strerror-errno.c: New file.
5330 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5333 * localedata/locales/en_US (date_fmt): Add, set to
5334 "%a %d %b %Y %r %Z".
5336 2019-01-07 Florian Weimer <fweimer@redhat.com>
5339 * manual/arith.texi (Math Error Reporting): Use @code{errno}
5340 instead of @var{errno}.
5341 (Parsing of Integers): Likewise.
5342 (Parsing of Floats): Likewise.
5343 * manual/filesys.texi (Working with Directory Trees): Likewise.
5344 (Temporary Files): Likewise.
5345 * manual/job.texi (Terminal Access Functions): Likewise.
5346 * manual/llio.texi (Synchronizing I/O): Likewise.
5347 * manual/math.texi (SVID Random): Likewise.
5348 * manual/message.texi (The catgets Functions): Likewise.
5349 (Translation with gettext): Likewise.
5350 (Locating gettext catalog): Likewise.
5351 (Charset conversion in gettext): Likewise.
5352 * manual/nss.texi (NSS Module Function Internals): Likewise.
5353 * manual/search.texi (Hash Search Function): Likewise.
5354 * manual/setjmp.texi (System V contexts): Likewise.
5355 * manual/time.texi (Sleeping): Likewise.
5356 * manual/users.texi (Lookup User): Likewise.
5357 (Lookup Group): Likewise.
5359 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5361 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
5364 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
5367 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
5368 __builtin_unreachable for default case in switch.
5369 (__ieee754_yn): Likewise.
5370 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5371 (__ieee754_ynl): Likewise.
5372 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5373 (__ieee754_ynl): Likewise.
5374 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5375 (__ieee754_ynl): Likewise.
5377 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
5379 * manual/maint.texi: Use @{ and @}.
5381 2019-01-04 Florian Weimer <fweimer@redhat.com>
5383 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
5385 (do_in_chroot_1): Call it.
5387 Improve error reporting in case it is not possible to create a
5388 collision for the PTY name required by the test.
5390 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5392 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
5393 lll_wait_tid with timeout.
5394 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
5395 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
5396 futex_reltimed_wait_cancelable for cancelabla mode.
5397 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
5398 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
5400 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
5401 * sysdeps/posix/waitid.c (__sigwait): Likewise.
5402 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
5403 SYSCALL_CANCEL_NCS): New macro.
5404 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
5405 (lll_timedwait_tid): Remove macro.
5406 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
5408 (lll_timedwait_tid): Likewise.
5409 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
5411 (lll_timedwait_tid): Likewise.
5412 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
5414 (lll_timedwait_tid): Likewise.
5415 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
5416 Use INTERNAL_SYSCALL_CANCEL.
5417 * sysdeps/unix/sysv/linux/futex-internal.h
5418 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
5419 instead of __pthread_{enable,disable}_asynccancel.
5420 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5421 (lll_futex_wait_cancel): New macro.
5423 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5424 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5426 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5427 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5429 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
5430 in backtrace analysis.
5431 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
5433 (tf_send): Likewise.
5435 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
5436 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
5437 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
5438 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
5439 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5440 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5441 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
5442 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
5443 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
5444 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
5445 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
5446 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
5448 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
5449 tst-cancel-wrappers.sh.
5450 (generated): Remove tst-cancel-wrappers.out.
5451 (tst-cancel-wrappers.out): Remove rule.
5452 * nptl/tst-cancel-wrappers.sh: Remove file.
5454 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5456 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
5457 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5460 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5463 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
5464 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
5465 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
5466 close-on-exec reset for adddup2 file action.
5467 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5469 2019-01-03 Zack Weinberg <zackw@panix.com>
5471 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
5472 parameter. Only use deprecated scanf when __USE_GNU is defined
5473 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
5474 than 201103L, whichever is relevant for the language being compiled.
5476 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
5477 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
5478 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
5479 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
5480 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
5484 * libio/iovswscanf.c
5489 * stdio-common/fscanf.c
5490 * stdio-common/scanf.c
5491 * stdio-common/vfscanf.c
5492 * stdio-common/vfwscanf.c
5493 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5494 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
5495 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
5496 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
5497 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
5498 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
5499 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
5500 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
5501 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
5502 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
5503 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
5504 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
5505 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
5506 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
5507 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
5509 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
5510 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
5511 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
5513 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
5514 with a preprocessor macro.
5516 * stdio-common/bug21.c, stdio-common/scanf14.c:
5517 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
5518 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5519 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
5520 to xscanf, xfscanf, xsscanf.
5522 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
5523 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5524 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
5525 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
5527 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
5528 override feature selection macros or provide definitions of u_char etc.
5529 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
5530 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
5531 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
5534 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5537 bits/termios-misc.h.
5538 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
5539 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5540 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5541 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5542 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
5543 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
5545 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
5546 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5547 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
5548 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
5549 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
5550 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
5552 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
5553 (sysdep_headers): Add termios-misc.h.
5555 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
5556 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5557 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5561 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
5562 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
5563 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
5564 TCSAFLUSH): Move to termios-tcflow.h.
5565 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5566 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5567 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5568 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5572 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
5573 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
5574 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
5575 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
5576 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
5577 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
5578 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
5579 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
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/Makefile (sysdep_headers): Add
5588 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
5589 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
5590 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
5591 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
5592 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
5594 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5595 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5596 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5597 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5600 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5602 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
5603 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
5604 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
5605 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
5606 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
5607 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
5608 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
5609 __MAX_BAUD): Move to termios-baud.h.
5610 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
5611 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
5612 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5613 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5614 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5616 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5618 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
5619 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
5620 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
5621 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
5622 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
5623 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
5625 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
5626 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
5628 [USE_MISC] (XTABS): Likewise.
5629 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5630 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5631 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5632 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
5634 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5636 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
5637 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
5638 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
5639 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
5640 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
5641 IUTF8): Move to termios-c_iflag.h.
5642 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5643 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5644 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5645 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5647 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5649 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
5650 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
5651 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
5652 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
5653 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
5654 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
5655 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
5656 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
5657 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5658 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5659 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5660 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5662 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
5663 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
5664 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
5665 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
5666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5668 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
5670 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
5672 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
5674 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
5676 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
5678 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
5679 _HAVE_C_OSPEED): Define.
5680 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
5681 _HAVE_C_OSPEED): Likewise.
5682 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
5683 _HAVE_C_OSPEED): Likewise.
5684 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
5685 (cfsetospeed): Check for define value instead of existence.
5686 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
5687 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5688 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
5689 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5690 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
5693 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
5695 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5696 (TIOCSER_TEMT): Likewise.
5697 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
5698 (TEOCSER_TEMT): Likewise.
5700 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
5703 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
5705 2019-01-02 Joseph Myers <joseph@codesourcery.com>
5707 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
5709 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5711 * sysdeps/htl/pt-barrierattr-setpshared.c
5712 (pthread_barrierattr_setpshared): Add stub warning.
5713 * sysdeps/htl/pt-condattr-setpshared.c
5714 (pthread_condattr_setpshared): Likewise.
5715 * sysdeps/htl/pt-mutexattr-setpshared.c
5716 (pthread_mutexattr_setpshared): Likewise.
5717 * sysdeps/htl/pt-rwlockattr-setpshared.c
5718 (pthread_rwlockattr_setpshared): Likewise.
5719 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
5720 (pthread_mutexattr_setpshared): Likewise.
5722 2019-01-02 Joseph Myers <joseph@codesourcery.com>
5724 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
5725 constants to match with Linux 4.20.
5727 * sysdeps/mips/mips32/libm-test-ulps: Update.
5728 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5730 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
5733 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
5734 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
5735 than __typeof (...) for the a_ptr variable.
5737 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5739 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
5740 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
5741 * libio/Makefile (tests): Add tst-sprintf-ub and
5743 (CFLAGS-tst-sprintf-ub.c): New variable.
5744 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
5745 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
5746 destination buffer and check for overflows in fortified mode.
5747 * libio/libioP.h (PRINTF_CHK): New macro.
5748 * libio/tst-sprintf-chk-ub.c: New file.
5749 * libio/tst-sprintf-ub.c: Likewise.
5751 2019-01-02 Florian Weimer <fweimer@redhat.com>
5754 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
5757 2019-01-02 Florian Weimer <fweimer@redhat.com>
5759 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
5761 2019-01-01 Joseph Myers <joseph@codesourcery.com>
5763 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
5766 * sysdeps/unix/sysv/linux/netpacket/packet.h
5767 (PACKET_IGNORE_OUTGOING): New macro.
5769 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
5772 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5774 (riscv_flush_icache): New syscall.
5776 * manual/texinfo.tex: Update to version 2018-12-28.17 with
5777 trailing whitespace removed.
5778 * scripts/config.guess: Update to version 2019-01-01.
5779 * scripts/config.sub: Update to version 2019-01-01.
5780 * scripts/move-if-change: Update from gnulib.
5782 * NEWS: Update copyright dates.
5783 * catgets/gencat.c (print_version): Likewise.
5784 * csu/version.c (banner): Likewise.
5785 * debug/catchsegv.sh: Likewise.
5786 * debug/pcprofiledump.c (print_version): Likewise.
5787 * debug/xtrace.sh (do_version): Likewise.
5788 * elf/ldconfig.c (print_version): Likewise.
5789 * elf/ldd.bash.in: Likewise.
5790 * elf/pldd.c (print_version): Likewise.
5791 * elf/sotruss.sh: Likewise.
5792 * elf/sprof.c (print_version): Likewise.
5793 * iconv/iconv_prog.c (print_version): Likewise.
5794 * iconv/iconvconfig.c (print_version): Likewise.
5795 * locale/programs/locale.c (print_version): Likewise.
5796 * locale/programs/localedef.c (print_version): Likewise.
5797 * login/programs/pt_chown.c (print_version): Likewise.
5798 * malloc/memusage.sh (do_version): Likewise.
5799 * malloc/memusagestat.c (print_version): Likewise.
5800 * malloc/mtrace.pl: Likewise.
5801 * manual/libc.texinfo: Likewise.
5802 * nptl/version.c (banner): Likewise.
5803 * nscd/nscd.c (print_version): Likewise.
5804 * nss/getent.c (print_version): Likewise.
5805 * nss/makedb.c (print_version): Likewise.
5806 * posix/getconf.c (main): Likewise.
5807 * scripts/test-installation.pl: Likewise.
5808 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5810 * All files with FSF copyright notices: Update copyright dates
5811 using scripts/update-copyrights.
5812 * locale/programs/charmap-kw.h: Regenerated.
5813 * locale/programs/locfile-kw.h: Likewise.
5815 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5817 * timezone/zdump.c: Update from tzcode 2018i.
5818 * timezone/zic.c: Likewise.
5820 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
5822 regex: improve Gnulib port to AIX
5823 From the glibc point of view, this removes duplicate macro
5824 definitions and is obviously safe.
5825 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
5826 * posix/regex_internal.h:
5827 (__attribute__, __attribute_warn_unused_result__):
5828 Remove; already defined elsewhere.
5830 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
5833 * malloc/malloc.c (_int_realloc): Always call memcpy for the
5834 copying operation. (ncopies had the wrong type, resulting in an
5835 integer wraparound and too few elements being copied.)
5837 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
5840 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
5841 <asm/syscalls.h> exists with __has_include__ before including it.
5843 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5845 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5848 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
5850 * hurd/lookup-retry: Include <unistd.h>.
5851 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
5852 Release it on return. Handle "pid" magical lookup retry.
5854 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5857 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
5858 (t_fmt_ampm): Likewise.
5859 * localedata/locales/aa_ER (t_fmt): Likewise.
5860 (t_fmt_ampm): Likewise.
5861 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
5862 (t_fmt_ampm): Likewise.
5863 * localedata/locales/aa_ET (t_fmt): Likewise.
5864 (t_fmt_ampm): Likewise.
5865 * localedata/locales/am_ET (t_fmt): Likewise.
5866 (t_fmt_ampm): Likewise.
5867 * localedata/locales/byn_ER (t_fmt): Likewise.
5868 (t_fmt_ampm): Likewise.
5869 * localedata/locales/om_ET (t_fmt): Likewise.
5870 (t_fmt_ampm): Likewise.
5871 * localedata/locales/sid_ET (t_fmt): Likewise.
5872 (t_fmt_ampm): Likewise.
5873 * localedata/locales/so_DJ (t_fmt): Likewise.
5874 (t_fmt_ampm): Likewise.
5875 * localedata/locales/so_ET (t_fmt): Likewise.
5876 (t_fmt_ampm): Likewise.
5877 * localedata/locales/so_SO (t_fmt): Likewise.
5878 (t_fmt_ampm): Likewise.
5879 * localedata/locales/ti_ER (t_fmt): Likewise.
5880 (t_fmt_ampm): Likewise.
5881 * localedata/locales/ti_ET (t_fmt): Likewise.
5882 (t_fmt_ampm): Likewise.
5883 * localedata/locales/tig_ER (t_fmt): Likewise.
5884 (t_fmt_ampm): Likewise.
5885 * localedata/locales/wal_ET (t_fmt): Likewise.
5886 (t_fmt_ampm): Likewise.
5888 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
5889 * localedata/locales/ar_IN (t_fmt): Likewise.
5890 * localedata/locales/bhb_IN (t_fmt): Likewise.
5891 * localedata/locales/bho_IN (t_fmt): Likewise.
5892 * localedata/locales/bi_VU (t_fmt): Likewise.
5893 * localedata/locales/bn_BD (t_fmt): Likewise.
5894 * localedata/locales/bn_IN (t_fmt): Likewise.
5895 * localedata/locales/brx_IN (t_fmt): Likewise.
5896 * localedata/locales/doi_IN (t_fmt): Likewise.
5897 * localedata/locales/en_HK (t_fmt): Likewise.
5898 (t_fmt_ampm): Likewise.
5899 * localedata/locales/en_IN (t_fmt): Likewise.
5900 * localedata/locales/en_PH (t_fmt): Likewise.
5901 * localedata/locales/gu_IN (t_fmt): Likewise.
5902 * localedata/locales/hi_IN (t_fmt): Likewise.
5903 * localedata/locales/hif_FJ (t_fmt): Likewise.
5904 * localedata/locales/hne_IN (t_fmt): Likewise.
5905 * localedata/locales/kn_IN (t_fmt): Likewise.
5906 * localedata/locales/kok_IN (t_fmt): Likewise.
5907 * localedata/locales/ks_IN (t_fmt): Likewise.
5908 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
5909 * localedata/locales/mag_IN (t_fmt): Likewise.
5910 * localedata/locales/mai_IN (t_fmt): Likewise.
5911 * localedata/locales/mjw_IN (t_fmt): Likewise.
5912 * localedata/locales/ml_IN (t_fmt): Likewise.
5913 * localedata/locales/mni_IN (t_fmt): Likewise.
5914 * localedata/locales/mr_IN (t_fmt): Likewise.
5915 * localedata/locales/ms_MY (t_fmt): Likewise.
5916 * localedata/locales/pa_IN (t_fmt): Likewise.
5917 * localedata/locales/raj_IN (t_fmt): Likewise.
5918 * localedata/locales/sa_IN (t_fmt): Likewise.
5919 * localedata/locales/sat_IN (t_fmt): Likewise.
5920 * localedata/locales/sd_IN (t_fmt): Likewise.
5921 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
5922 * localedata/locales/tcy_IN (t_fmt): Likewise.
5923 * localedata/locales/the_NP (t_fmt): Likewise.
5924 * localedata/locales/to_TO (t_fmt): Likewise.
5925 * localedata/locales/ur_IN (t_fmt): Likewise.
5927 * localedata/locales/hif_FJ (d_t_fmt): Set to
5928 "%A %d %b %Y %I:%M:%S %p".
5929 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
5931 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
5932 * localedata/locales/ar_BH (t_fmt): Likewise.
5933 * localedata/locales/ar_DZ (t_fmt): Likewise.
5934 * localedata/locales/ar_EG (t_fmt): Likewise.
5935 * localedata/locales/ar_IQ (t_fmt): Likewise.
5936 * localedata/locales/ar_JO (t_fmt): Likewise.
5937 * localedata/locales/ar_KW (t_fmt): Likewise.
5938 * localedata/locales/ar_LB (t_fmt): Likewise.
5939 * localedata/locales/ar_LY (t_fmt): Likewise.
5940 * localedata/locales/ar_OM (t_fmt): Likewise.
5941 * localedata/locales/ar_QA (t_fmt): Likewise.
5942 * localedata/locales/ar_SD (t_fmt): Likewise.
5943 * localedata/locales/ar_SS (t_fmt): Likewise.
5944 * localedata/locales/ar_SY (t_fmt): Likewise.
5945 * localedata/locales/ar_TN (t_fmt): Likewise.
5946 * localedata/locales/ar_YE (t_fmt): Likewise.
5948 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
5949 (t_fmt_ampm): Likewise.
5950 * localedata/locales/gez_ET (t_fmt): Likewise.
5951 (t_fmt_ampm): Likewise.
5953 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
5954 (t_fmt_ampm): Likewise.
5955 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
5957 * localedata/locales/zh_HK (t_fmt):
5958 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
5960 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
5961 because this locale does not use the 12-hour clock.
5962 (t_fmt): Set to "%Z %H:%M:%S".
5963 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
5965 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
5966 because this locale does not use the 12-hour clock.
5967 (t_fmt): Set to "%H:%M:%S %Z".
5968 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
5970 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
5971 because this locale does not use the 12-hour clock.
5972 (t_fmt): Set to "%T".
5973 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
5974 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
5976 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
5977 because this locale does not use the 12-hour clock.
5978 (t_fmt): Set to "%H:%M:%S %Z".
5979 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
5981 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
5982 because this locale does not use the 12-hour clock.
5983 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
5984 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
5986 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5990 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
5991 (t_fmt_ampm): Likewise.
5992 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
5993 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
5994 (d_fmt): Set to "%-d.%-m.%y".
5996 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5998 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
5999 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
6000 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
6002 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
6003 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
6004 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
6006 * support/blob_repeat.c (check_mul_overflow_size_t,
6007 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
6009 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
6011 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
6013 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
6015 regex: simplify Gnulib port
6016 This simplifies the code, by removing stuff intended for porting
6017 to Gnulib but no longer needed there.
6018 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
6019 uses of libc_hidden_def, weak_alias.
6020 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
6021 _Restrict_ except for public-facing headers.
6022 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
6023 Remove; already defined elsewhere.
6024 * posix/regex.c, posix/regex_internal.h:
6025 Use __GNUC_PREREQ instead of rolling our own.
6026 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
6028 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
6030 * benchtests/bench-strlen.c (generic_strlen): New function.
6031 (memchr_strlen): New function.
6033 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6035 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
6036 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
6037 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
6039 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6041 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6043 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6045 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
6046 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
6047 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
6048 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
6049 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
6050 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
6051 <sysdeps/ieee754/flt-32/s_sincosf.c>.
6053 2018-12-21 Joseph Myers <joseph@codesourcery.com>
6056 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
6057 PLT reference in libc.so.
6058 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
6059 _Q_lltoq and _Q_qtod PLT references in libc.so.
6061 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
6063 * benchtests/bench-memchr.c: Cleanup defines.
6064 * benchtests/bench-memcmp.c: Likewise.
6065 * benchtests/bench-memset.c: Likewise.
6066 * benchtests/bench-memset-large.c: Likewise.
6067 * benchtests/bench-memset-walk.c: Likewise.
6068 * benchtests/bench-stpcpy.c: Likewise.
6069 * benchtests/bench-stpncpy.c: Likewise.
6070 * benchtests/bench-strcat.c: Likewise.
6071 * benchtests/bench-strchr.c: Likewise.
6072 * benchtests/bench-strcmp.c: Likewise.
6073 * benchtests/bench-strcpy.c: Likewise.
6074 * benchtests/bench-strcspn.c: Likewise.
6075 * benchtests/bench-string.h: Likewise.
6076 * benchtests/bench-strlen.c: Likewise.
6077 * benchtests/bench-strncat.c: Likewise.
6078 * benchtests/bench-strncmp.c: Likewise.
6079 * benchtests/bench-strncpy.c: Likewise.
6080 * benchtests/bench-strnlen.c: Likewise.
6081 * benchtests/bench-strpbrk.c: Likewise.
6082 * benchtests/bench-strrchr.c: Likewise.
6083 * benchtests/bench-strspn.c: Likewise.
6085 2018-12-21 Joseph Myers <joseph@codesourcery.com>
6087 * stdlib/longlong.h: Update from GCC.
6090 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
6091 * configure: Regenerated.
6092 * manual/install.texi (Tools for Compilation): Update minimum GCC
6094 * INSTALL: Regenerated.
6096 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
6098 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
6100 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
6102 * malloc/malloc.c (mremap_chunk): Additional checks.
6104 2018-12-21 Mao Han <han_mao@c-sky.com>
6106 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
6107 * scripts/build-many-glibcs.py: Add C-SKY targets.
6108 * sysdeps/csky/Implies: New file.
6109 * sysdeps/csky/Makefile: Likewise.
6110 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
6111 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
6112 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
6113 * sysdeps/csky/abiv2/memcmp.S: Likewise.
6114 * sysdeps/csky/abiv2/memcpy.S: Likewise.
6115 * sysdeps/csky/abiv2/memmove.S: Likewise.
6116 * sysdeps/csky/abiv2/memset.S: Likewise.
6117 * sysdeps/csky/abiv2/setjmp.S: Likewise.
6118 * sysdeps/csky/abiv2/start.S: Likewise.
6119 * sysdeps/csky/abiv2/strcmp.S: Likewise.
6120 * sysdeps/csky/abiv2/strcpy.S: Likewise.
6121 * sysdeps/csky/abiv2/strlen.S: Likewise.
6122 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
6123 * sysdeps/csky/abort-instr.h: Likewise.
6124 * sysdeps/csky/atomic-machine.h: Likewise.
6125 * sysdeps/csky/bits/endian.h: Likewise.
6126 * sysdeps/csky/bits/fenv.h: Likewise.
6127 * sysdeps/csky/bits/link.h: Likewise.
6128 * sysdeps/csky/bits/setjmp.h: Likewise.
6129 * sysdeps/csky/bsd-_setjmp.S: Likewise.
6130 * sysdeps/csky/bsd-setjmp.S: Likewise.
6131 * sysdeps/csky/configure: Likewise.
6132 * sysdeps/csky/configure.ac: Likewise.
6133 * sysdeps/csky/dl-machine.h: Likewise.
6134 * sysdeps/csky/dl-procinfo.c: Likewise.
6135 * sysdeps/csky/dl-procinfo.h: Likewise.
6136 * sysdeps/csky/dl-sysdep.h: Likewise.
6137 * sysdeps/csky/dl-tls.h: Likewise.
6138 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
6139 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
6140 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
6141 * sysdeps/csky/fpu/fegetenv.c: Likewise.
6142 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
6143 * sysdeps/csky/fpu/fegetmode.c: Likewise.
6144 * sysdeps/csky/fpu/fegetround.c: Likewise.
6145 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
6146 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
6147 * sysdeps/csky/fpu/fenv_private.h: Likewise.
6148 * sysdeps/csky/fpu/fesetenv.c: Likewise.
6149 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
6150 * sysdeps/csky/fpu/fesetmode.c: Likewise.
6151 * sysdeps/csky/fpu/fesetround.c: Likewise.
6152 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
6153 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
6154 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
6155 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
6156 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
6157 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
6158 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
6159 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
6160 * sysdeps/csky/fpu_control.h: Likewise.
6161 * sysdeps/csky/gccframe.h: Likewise.
6162 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
6163 * sysdeps/csky/ldsodefs.h: Likewise.
6164 * sysdeps/csky/libc-tls.c: Likewise.
6165 * sysdeps/csky/linkmap.h: Likewise.
6166 * sysdeps/csky/machine-gmon.h: Likewise.
6167 * sysdeps/csky/memusage.h: Likewise.
6168 * sysdeps/csky/nofpu/Implies: Likewise.
6169 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
6170 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
6171 * sysdeps/csky/nptl/Makefile: Likewise.
6172 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
6173 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
6174 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
6175 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
6176 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
6177 * sysdeps/csky/nptl/tls.h: Likewise.
6178 * sysdeps/csky/preconfigure: Likewise.
6179 * sysdeps/csky/sfp-machine.h: Likewise.
6180 * sysdeps/csky/sotruss-lib.c: Likewise.
6181 * sysdeps/csky/stackinfo.h: Likewise.
6182 * sysdeps/csky/sysdep.h: Likewise.
6183 * sysdeps/csky/tininess.h: Likewise.
6184 * sysdeps/csky/tst-audit.h: Likewise.
6185 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
6186 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
6187 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
6188 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
6189 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
6190 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
6191 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
6192 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
6193 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
6194 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
6195 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
6196 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
6197 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
6198 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
6199 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
6200 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
6201 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
6202 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
6203 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
6204 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
6205 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
6206 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
6207 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
6208 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
6209 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
6210 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
6211 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
6212 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
6213 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
6214 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
6215 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
6216 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
6217 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
6218 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
6219 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
6220 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
6221 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
6222 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
6223 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
6224 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
6225 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
6226 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
6227 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
6228 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
6230 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
6232 * include/time.h (__difftime64): Add.
6233 * time/difftime.c (subtract): convert to 64-bit time.
6234 * time/difftime.c (__difftime64): Add.
6235 * time/difftime.c (__difftime): Wrap around __difftime64.
6237 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
6239 * manual/examples/add.c: Remove redundant "if not".
6240 * manual/examples/argp-ex1.c: Likewise.
6241 * manual/examples/argp-ex2.c: Likewise.
6242 * manual/examples/argp-ex3.c: Likewise.
6243 * manual/examples/argp-ex4.c: Likewise.
6244 * manual/examples/atexit.c: Likewise.
6245 * manual/examples/db.c: Likewise.
6246 * manual/examples/dir.c: Likewise.
6247 * manual/examples/dir2.c: Likewise.
6248 * manual/examples/execinfo.c: Likewise.
6249 * manual/examples/filecli.c: Likewise.
6250 * manual/examples/filesrv.c: Likewise.
6251 * manual/examples/fmtmsgexpl.c: Likewise.
6252 * manual/examples/genpass.c: Likewise.
6253 * manual/examples/inetcli.c: Likewise.
6254 * manual/examples/inetsrv.c: Likewise.
6255 * manual/examples/isockad.c: Likewise.
6256 * manual/examples/longopt.c: Likewise.
6257 * manual/examples/memopen.c: Likewise.
6258 * manual/examples/memstrm.c: Likewise.
6259 * manual/examples/mkdirent.c: Likewise.
6260 * manual/examples/mkfsock.c: Likewise.
6261 * manual/examples/mkisock.c: Likewise.
6262 * manual/examples/mygetpass.c: Likewise.
6263 * manual/examples/pipe.c: Likewise.
6264 * manual/examples/popen.c: Likewise.
6265 * manual/examples/rprintf.c: Likewise.
6266 * manual/examples/search.c: Likewise.
6267 * manual/examples/select.c: Likewise.
6268 * manual/examples/setjmp.c: Likewise.
6269 * manual/examples/sigh1.c: Likewise.
6270 * manual/examples/sigusr.c: Likewise.
6271 * manual/examples/stpcpy.c: Likewise.
6272 * manual/examples/strdupa.c: Likewise.
6273 * manual/examples/strftim.c: Likewise.
6274 * manual/examples/subopt.c: Likewise.
6275 * manual/examples/swapcontext.c: Likewise.
6276 * manual/examples/termios.c: Likewise.
6277 * manual/examples/testopt.c: Likewise.
6278 * manual/examples/testpass.c: Likewise.
6279 * manual/examples/timeval_subtract.c: Likewise.
6281 2018-12-19 Joseph Myers <joseph@codesourcery.com>
6283 * sysdeps/x86/fpu/math_private.h: New file.
6284 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
6286 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
6291 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6293 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
6294 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
6295 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
6296 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
6298 (_dl_show_auxv): Give a special treatment to
6299 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
6300 and AT_L3_CACHEGEOMETRY.
6301 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
6302 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
6303 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
6304 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
6306 2018-12-19 Andreas Schwab <schwab@suse.de>
6308 * nscd/connections.c (check_use): Don't abort on invalid len.
6310 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6312 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
6313 values in the 64bit value cases.
6315 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
6321 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
6327 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
6330 (__gmtime64_r): Add.
6332 (__gmtime64_r): Add.
6333 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6339 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6342 (__localtime64_r): Add.
6344 (__localtime64_r): Add.
6345 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
6347 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6349 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
6350 kernel_sigction definition.
6352 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
6354 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
6356 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
6357 __syscall_rt_sigaction.
6358 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
6359 (kernel_sigaction): Use Linux generic defintion.
6361 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
6362 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
6363 (__syscall_rt_sigaction): Remove implementation.
6364 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
6366 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
6367 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
6368 INTERNAL_SYSCALL): Remove definitions.
6369 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
6370 action and signal set size.
6371 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
6372 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
6374 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6375 James Clarke <jrtc27@jrtc27.com>
6378 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
6379 Define if SA_RESTORER is defined.
6380 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
6381 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
6383 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
6384 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
6386 (HAS_SA_RESTORER): Define.
6387 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
6388 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
6389 (HAS_SA_RESTORER): Define.
6390 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
6391 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
6392 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
6393 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
6394 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6396 2018-12-18 Joseph Myers <joseph@codesourcery.com>
6398 * sysdeps/unix/sysv/linux/kernel-features.h
6399 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
6400 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6401 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
6402 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6403 (__ASSUME_ST_INO_64_BIT): Likewise.
6404 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6405 <kernel-features.h>.
6406 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6407 Remove conditional code.
6408 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6409 <kernel-features.h>.
6410 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6411 Remove conditional code.
6412 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
6413 <kernel-features.h>.
6414 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6415 Remove conditional code.
6416 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
6417 <kernel-features.h>.
6418 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
6419 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
6421 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6423 * sysdeps/s390/multiarch/ifunc-resolve.h
6424 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
6425 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
6426 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
6427 Delete macro definition.
6428 (s390_libc_ifunc_init): Rename to
6429 s390_libc_ifunc_expr_stfle_init.
6430 * sysdeps/s390/bzero: Use
6431 s390_libc_ifunc_expr_stfle_init instead of
6432 s390_libc_ifunc_init.
6433 * sysdeps/s390/memcmp.c: Likewise.
6434 * sysdeps/s390/memcpy.c: Likewise.
6435 * sysdeps/s390/mempcpy.c: Likewise.
6436 * sysdeps/s390/memset.c: Likewise.
6438 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6440 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
6441 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
6443 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6445 * sysdeps/s390/multiarch/Makefile
6446 (sysdep_routines): Remove wmemcmp variants.
6447 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
6448 * sysdeps/s390/multiarch/ifunc-impl-list.c
6449 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
6450 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
6451 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
6452 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
6453 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
6454 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
6455 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
6456 * sysdeps/s390/ifunc-wmemcmp.h: New file.
6458 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6460 * sysdeps/s390/multiarch/Makefile
6461 (sysdep_routines): Remove wmemset variants.
6462 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
6463 * sysdeps/s390/multiarch/ifunc-impl-list.c
6464 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
6465 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
6466 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
6467 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
6468 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
6469 * sysdeps/s390/multiarch/wmemset.c: Move to ...
6470 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
6471 * sysdeps/s390/ifunc-wmemset.h: New file.
6473 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6475 * sysdeps/s390/multiarch/Makefile
6476 (sysdep_routines): Remove wmemchr variants.
6477 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
6478 * sysdeps/s390/multiarch/ifunc-impl-list.c
6479 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
6480 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
6481 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
6482 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
6483 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
6484 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
6485 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
6486 * sysdeps/s390/ifunc-wmemchr.h: New file.
6488 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6490 * sysdeps/s390/multiarch/Makefile
6491 (sysdep_routines): Remove wcscspn variants.
6492 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
6493 * sysdeps/s390/multiarch/ifunc-impl-list.c
6494 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
6495 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
6496 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
6497 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
6498 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
6499 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
6500 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
6501 * sysdeps/s390/ifunc-wcscspn.h: New file.
6503 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6505 * sysdeps/s390/multiarch/Makefile
6506 (sysdep_routines): Remove wcspbrk variants.
6507 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
6508 * sysdeps/s390/multiarch/ifunc-impl-list.c
6509 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
6510 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
6511 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
6512 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
6513 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
6514 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
6515 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
6516 * sysdeps/s390/ifunc-wcspbrk.h: New file.
6518 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6520 * sysdeps/s390/multiarch/Makefile
6521 (sysdep_routines): Remove wcsspn variants.
6522 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
6523 * sysdeps/s390/multiarch/ifunc-impl-list.c
6524 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
6525 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
6526 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
6527 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
6528 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
6529 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
6530 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
6531 * sysdeps/s390/ifunc-wcsspn.h: New file.
6533 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6535 * sysdeps/s390/multiarch/Makefile
6536 (sysdep_routines): Remove wcsrchr variants.
6537 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
6538 * sysdeps/s390/multiarch/ifunc-impl-list.c
6539 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
6540 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
6541 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
6542 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
6543 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
6544 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
6545 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
6546 * sysdeps/s390/ifunc-wcsrchr.h: New file.
6548 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6550 * sysdeps/s390/multiarch/Makefile
6551 (sysdep_routines): Remove wcschrnul variants.
6552 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
6553 * sysdeps/s390/multiarch/ifunc-impl-list.c
6554 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
6555 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
6556 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
6557 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
6558 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
6559 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
6560 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
6561 * sysdeps/s390/ifunc-wcschrnul.h: New file.
6563 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6565 * sysdeps/s390/multiarch/Makefile
6566 (sysdep_routines): Remove wcschr variants.
6567 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
6568 * sysdeps/s390/multiarch/ifunc-impl-list.c
6569 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
6570 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
6571 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
6572 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
6573 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
6574 * sysdeps/s390/multiarch/wcschr.c: Move to ...
6575 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
6576 * sysdeps/s390/ifunc-wcschr.h: New file.
6578 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6580 * sysdeps/s390/multiarch/Makefile
6581 (sysdep_routines): Remove wcsncmp variants.
6582 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
6583 * sysdeps/s390/multiarch/ifunc-impl-list.c
6584 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
6585 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
6586 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
6587 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
6588 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
6589 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
6590 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
6591 * sysdeps/s390/ifunc-wcsncmp.h: New file.
6593 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6595 * sysdeps/s390/multiarch/Makefile
6596 (sysdep_routines): Remove wcscmp variants.
6597 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
6598 * sysdeps/s390/multiarch/ifunc-impl-list.c
6599 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
6600 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
6601 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
6602 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
6603 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
6604 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
6605 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
6606 * sysdeps/s390/ifunc-wcscmp.h: New file.
6608 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6610 * sysdeps/s390/multiarch/Makefile
6611 (sysdep_routines): Remove wcsncat variants.
6612 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
6613 * sysdeps/s390/multiarch/ifunc-impl-list.c
6614 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
6615 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
6616 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
6617 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
6618 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
6619 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
6620 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
6621 * sysdeps/s390/ifunc-wcsncat.h: New file.
6623 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6625 * sysdeps/s390/multiarch/Makefile
6626 (sysdep_routines): Remove wcscat variants.
6627 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
6628 * sysdeps/s390/multiarch/ifunc-impl-list.c
6629 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
6630 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
6631 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
6632 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
6633 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
6634 * sysdeps/s390/multiarch/wcscat.c: Move to ...
6635 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
6636 * sysdeps/s390/ifunc-wcscat.h: New file.
6638 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6640 * sysdeps/s390/multiarch/Makefile
6641 (sysdep_routines): Remove wcpncpy variants.
6642 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
6643 * sysdeps/s390/multiarch/ifunc-impl-list.c
6644 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
6645 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
6646 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
6647 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
6648 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
6649 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
6650 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
6651 * sysdeps/s390/ifunc-wcpncpy.h: New file.
6653 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6655 * sysdeps/s390/multiarch/Makefile
6656 (sysdep_routines): Remove wcsncpy variants.
6657 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
6658 * sysdeps/s390/multiarch/ifunc-impl-list.c
6659 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
6660 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
6661 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
6662 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
6663 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
6664 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
6665 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
6666 * sysdeps/s390/ifunc-wcsncpy.h: New file.
6668 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6670 * sysdeps/s390/multiarch/Makefile
6671 (sysdep_routines): Remove wcpcpy variants.
6672 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
6673 * sysdeps/s390/multiarch/ifunc-impl-list.c
6674 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
6675 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
6676 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
6677 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
6678 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
6679 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
6680 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
6681 * sysdeps/s390/ifunc-wcpcpy.h: New file.
6683 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6685 * sysdeps/s390/multiarch/Makefile
6686 (sysdep_routines): Remove wcscpy variants.
6687 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
6688 * sysdeps/s390/multiarch/ifunc-impl-list.c
6689 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
6690 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
6691 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
6692 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
6693 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
6694 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
6695 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
6696 * sysdeps/s390/ifunc-wcscpy.h: New file.
6698 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6700 * sysdeps/s390/multiarch/Makefile
6701 (sysdep_routines): Remove wcsnlen variants.
6702 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
6703 * sysdeps/s390/multiarch/ifunc-impl-list.c
6704 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
6705 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
6706 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
6707 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
6708 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
6709 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
6710 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
6711 * sysdeps/s390/ifunc-wcsnlen.h: New file.
6713 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6715 * sysdeps/s390/multiarch/Makefile
6716 (sysdep_routines): Remove wcslen variants.
6717 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
6718 * sysdeps/s390/multiarch/ifunc-impl-list.c
6719 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
6720 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
6721 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
6722 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
6723 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
6724 * sysdeps/s390/multiarch/wcslen.c: Move to ...
6725 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
6726 * sysdeps/s390/ifunc-wcslen.h: New file.
6728 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6730 * sysdeps/s390/multiarch/Makefile
6731 (sysdep_routines): Remove memrchr variants.
6732 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
6733 * sysdeps/s390/multiarch/ifunc-impl-list.c
6734 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
6735 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
6736 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
6737 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
6738 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
6739 * sysdeps/s390/multiarch/memrchr.c: Move to ...
6740 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
6741 * sysdeps/s390/ifunc-memrchr.h: New file.
6743 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6745 * sysdeps/s390/multiarch/Makefile
6746 (sysdep_routines): Remove memccpy variants.
6747 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
6748 * sysdeps/s390/multiarch/ifunc-impl-list.c
6749 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
6750 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
6751 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
6752 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
6753 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
6754 * sysdeps/s390/multiarch/memccpy.c: Move to ...
6755 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
6756 * sysdeps/s390/ifunc-memccpy.h: New file.
6758 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6760 * sysdeps/s390/multiarch/Makefile
6761 (sysdep_routines): Remove rawmemchr variants.
6762 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
6763 * sysdeps/s390/multiarch/ifunc-impl-list.c
6764 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
6765 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
6766 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
6767 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
6768 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
6769 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
6770 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
6771 * sysdeps/s390/ifunc-rawmemchr.h: New file.
6773 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6775 * sysdeps/s390/multiarch/Makefile
6776 (sysdep_routines): Remove memchr variants.
6777 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
6778 * sysdeps/s390/multiarch/ifunc-impl-list.c
6779 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
6780 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
6781 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
6782 * sysdeps/s390/multiarch/memchr.c: Move to ...
6783 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
6784 * sysdeps/s390/ifunc-memchr.h: New file.
6785 * sysdeps/s390/s390-64/memchr.S: Move to ...
6786 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
6787 for 31/64bit and ifunc handling.
6788 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
6789 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6790 * sysdeps/s390/s390-32/memchr.S: Likewise.
6792 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6794 * sysdeps/s390/multiarch/Makefile
6795 (sysdep_routines): Remove strcspn variants.
6796 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
6797 * sysdeps/s390/multiarch/ifunc-impl-list.c
6798 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
6799 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
6800 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
6801 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
6802 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
6803 * sysdeps/s390/multiarch/strcspn.c: Move to ...
6804 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
6805 * sysdeps/s390/ifunc-strcspn.h: New file.
6807 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6809 * sysdeps/s390/multiarch/Makefile
6810 (sysdep_routines): Remove strpbrk variants.
6811 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
6812 * sysdeps/s390/multiarch/ifunc-impl-list.c
6813 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
6814 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
6815 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
6816 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
6817 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
6818 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
6819 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
6820 * sysdeps/s390/ifunc-strpbrk.h: New file.
6822 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6824 * sysdeps/s390/multiarch/Makefile
6825 (sysdep_routines): Remove strspn variants.
6826 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
6827 * sysdeps/s390/multiarch/ifunc-impl-list.c
6828 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
6829 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
6830 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
6831 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
6832 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
6833 * sysdeps/s390/multiarch/strspn.c: Move to ...
6834 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
6835 * sysdeps/s390/ifunc-strspn.h: New file.
6837 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6839 * sysdeps/s390/multiarch/Makefile
6840 (sysdep_routines): Remove strrchr variants.
6841 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
6842 * sysdeps/s390/multiarch/ifunc-impl-list.c
6843 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
6844 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
6845 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
6846 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
6847 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
6848 * sysdeps/s390/multiarch/strrchr.c: Move to ...
6849 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
6850 * sysdeps/s390/ifunc-strrchr.h: New file.
6852 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6854 * sysdeps/s390/multiarch/Makefile
6855 (sysdep_routines): Remove strchrnul variants.
6856 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
6857 * sysdeps/s390/multiarch/ifunc-impl-list.c
6858 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
6859 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
6860 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
6861 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
6862 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
6863 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
6864 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
6865 * sysdeps/s390/ifunc-strchrnul.h: New file.
6867 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6869 * sysdeps/s390/multiarch/Makefile
6870 (sysdep_routines): Remove strchr variants.
6871 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
6872 * sysdeps/s390/multiarch/ifunc-impl-list.c
6873 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
6874 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
6875 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
6876 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
6877 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
6878 * sysdeps/s390/multiarch/strchr.c: Move to ...
6879 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
6880 * sysdeps/s390/ifunc-strchr.h: New file.
6882 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6884 * sysdeps/s390/multiarch/Makefile
6885 (sysdep_routines): Remove strncmp variants.
6886 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
6887 * sysdeps/s390/multiarch/ifunc-impl-list.c
6888 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
6889 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
6890 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
6891 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
6892 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
6893 * sysdeps/s390/multiarch/strncmp.c: Move to ...
6894 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
6895 * sysdeps/s390/ifunc-strncmp.h: New file.
6897 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6899 * sysdeps/s390/multiarch/Makefile
6900 (sysdep_routines): Remove strcmp variants.
6901 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
6902 * sysdeps/s390/multiarch/ifunc-impl-list.c
6903 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
6904 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
6905 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
6906 * sysdeps/s390/multiarch/strcmp.c: Move to ...
6907 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
6908 * sysdeps/s390/ifunc-strcmp.h: New file.
6909 * sysdeps/s390/s390-64/strcmp.S: Move to ...
6910 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
6911 for 31/64bit and ifunc handling.
6912 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
6913 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6914 * sysdeps/s390/s390-32/strcmp.S: Likewise.
6916 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6918 * sysdeps/s390/multiarch/Makefile
6919 (sysdep_routines): Remove strncat variants.
6920 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
6921 * sysdeps/s390/multiarch/ifunc-impl-list.c
6922 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
6923 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
6924 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
6925 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
6926 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
6927 * sysdeps/s390/multiarch/strncat.c: Move to ...
6928 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
6929 * sysdeps/s390/ifunc-strncat.h: New file.
6931 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6933 * sysdeps/s390/multiarch/Makefile
6934 (sysdep_routines): Remove strcat variants.
6935 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
6936 * sysdeps/s390/multiarch/ifunc-impl-list.c
6937 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
6938 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
6939 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
6940 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
6941 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
6942 * sysdeps/s390/multiarch/strcat.c: Move to ...
6943 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
6944 * sysdeps/s390/ifunc-strcat.h: New file.
6946 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6948 * sysdeps/s390/multiarch/Makefile
6949 (sysdep_routines): Remove stpncpy variants.
6950 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
6951 * sysdeps/s390/multiarch/ifunc-impl-list.c
6952 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
6953 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
6954 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
6955 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
6956 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
6957 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
6958 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
6959 * sysdeps/s390/ifunc-stpncpy.h: New file.
6961 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6963 * sysdeps/s390/multiarch/Makefile
6964 (sysdep_routines): Remove strncpy variants.
6965 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
6966 * sysdeps/s390/multiarch/ifunc-impl-list.c
6967 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
6968 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
6969 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
6970 * sysdeps/s390/multiarch/strncpy.c: Move to ...
6971 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
6972 * sysdeps/s390/ifunc-strncpy.h: New file.
6973 * sysdeps/s390/s390-64/strncpy.S: Move to ...
6974 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
6975 and adjust ifunc handling.
6976 * sysdeps/s390/s390-32/strncpy.S: Move to ...
6977 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
6978 and adjust ifunc handling.
6979 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
6980 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6982 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6984 * sysdeps/s390/multiarch/Makefile
6985 (sysdep_routines): Remove stpcpy variants.
6986 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
6987 * sysdeps/s390/multiarch/ifunc-impl-list.c
6988 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
6989 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
6990 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
6991 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
6992 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
6993 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
6994 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
6995 * sysdeps/s390/ifunc-stpcpy.h: New file.
6997 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6999 * sysdeps/s390/multiarch/Makefile
7000 (sysdep_routines): Remove strcpy variants.
7001 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
7002 * sysdeps/s390/multiarch/ifunc-impl-list.c
7003 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
7004 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
7005 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
7006 * sysdeps/s390/multiarch/strcpy.c: Move to ...
7007 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
7008 * sysdeps/s390/ifunc-strcpy.h: New file.
7009 * sysdeps/s390/s390-64/strcpy.S: Move to ...
7010 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
7011 for 31/64bit and ifunc handling.
7012 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
7013 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7014 * sysdeps/s390/s390-32/strcpy.S: Likewise.
7016 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7018 * sysdeps/s390/multiarch/Makefile
7019 (sysdep_routines): Remove strnlen variants.
7020 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
7021 * sysdeps/s390/multiarch/ifunc-impl-list.c
7022 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
7023 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
7024 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
7025 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
7026 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
7027 * sysdeps/s390/multiarch/strnlen.c: Move to ...
7028 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
7029 * sysdeps/s390/ifunc-strnlen.h: New file.
7031 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7033 * sysdeps/s390/multiarch/Makefile
7034 (sysdep_routines): Remove strlen variants.
7035 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
7036 * sysdeps/s390/multiarch/ifunc-impl-list.c
7037 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
7038 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
7039 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
7040 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
7041 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
7042 * sysdeps/s390/multiarch/strlen.c: Move to ...
7043 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
7044 * sysdeps/s390/ifunc-strlen.h: New file.
7046 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7048 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
7049 * sysdeps/s390/multiarch/ifunc-impl-list.c
7050 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
7051 * sysdeps/s390/ifunc-memmem.h: New file.
7052 * sysdeps/s390/memmem.c: Likewise.
7053 * sysdeps/s390/memmem-c.c: Likewise.
7054 * sysdeps/s390/memmem-vx.c: Likewise.
7056 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7058 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
7059 * sysdeps/s390/multiarch/ifunc-impl-list.c
7060 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
7061 * sysdeps/s390/ifunc-strstr.h: New file.
7062 * sysdeps/s390/strstr.c: Likewise.
7063 * sysdeps/s390/strstr-c.c: Likewise.
7064 * sysdeps/s390/strstr-vx.c: Likewise.
7066 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7068 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
7069 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
7070 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
7071 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
7073 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
7074 * sysdeps/s390/memmove-c.c: New file.
7075 * sysdeps/s390/memmove.c: Likewise.
7076 * sysdeps/s390/multiarch/ifunc-impl-list.c
7077 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
7079 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7081 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
7082 * sysdeps/s390/configure.ac: Add check for z13 support.
7083 * sysdeps/s390/configure: Regenerated.
7085 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7087 * sysdeps/s390/memcopy.h: New file.
7089 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7091 * sysdeps/s390/s390-32/bcopy.S: Remove.
7092 * sysdeps/s390/s390-64/bcopy.S: Likewise.
7094 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7096 * sysdeps/s390/ifunc-memcpy.h: New File.
7097 * sysdeps/s390/memcpy.S: Move to ...
7098 * sysdeps/s390/memcpy-z900.S ... here.
7099 Move implementations from memcpy-s390x.s to here.
7100 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
7101 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7102 Remove memcpy/mempcpy variants.
7103 * sysdeps/s390/Makefile (sysdep_routines):
7104 Add memcpy/mempcpy variants.
7105 * sysdeps/s390/multiarch/ifunc-impl-list.c
7106 (__libc_ifunc_impl_list): Adjust ifunc variants for
7108 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
7110 * sysdeps/s390/memcpy.c: ... here.
7111 Adjust ifunc variants for memcpy.
7112 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
7113 * sysdeps/s390/mempcpy.c: ... here.
7114 Adjust ifunc variants for mempcpy.
7115 * sysdeps/s390/mempcpy.S: Delete file.
7117 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7119 * sysdeps/s390/s390-64/memcpy.S: Move to ...
7120 * sysdeps/s390/memcpy.S: ... here.
7121 Adjust to be usable for 31/64bit.
7122 * sysdeps/s390/s390-32/memcpy.S: Delete File.
7123 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
7124 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
7125 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7126 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
7127 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
7128 Adjust to be usable for 31/64bit.
7129 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
7130 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
7131 * sysdeps/s390/multiarch/memcpy.c: ... here.
7132 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
7134 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7136 * sysdeps/s390/ifunc-memcmp.h: New File.
7137 * sysdeps/s390/memcmp.S: Move to ...
7138 * sysdeps/s390/memcmp-z900.S ... here.
7139 Move implementations from memcmp-s390x.s to here.
7140 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
7141 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7142 Remove memcmp variants.
7143 * sysdeps/s390/Makefile (sysdep_routines):
7144 Add memcmp variants.
7145 * sysdeps/s390/multiarch/ifunc-impl-list.c
7146 (__libc_ifunc_impl_list): Adjust ifunc variants for
7148 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
7150 * sysdeps/s390/memcmp.c: ... here.
7151 Adjust ifunc variants for memcmp.
7153 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7155 * sysdeps/s390/s390-64/memcmp.S: Move to ...
7156 * sysdeps/s390/memcmp.S: ... here.
7157 Adjust to be usable for 31/64bit.
7158 * sysdeps/s390/s390-32/memcmp.S: Delete File.
7159 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
7160 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7162 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7163 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
7164 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
7165 Adjust to be usable for 31/64bit.
7166 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
7167 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
7168 * sysdeps/s390/multiarch/memcmp.c: ... here.
7169 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
7171 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7173 * sysdeps/s390/s390-32/bzero.S: Delete file.
7174 * sysdeps/s390/s390-64/bzero.S: Likewise.
7175 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
7176 * sysdeps/s390/bzero.c: New file.
7177 * sysdeps/s390/memset-z900.S: Add bzero entry points.
7178 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
7179 * sysdeps/s390/multiarch/ifunc-impl-list.c
7180 (__libc_ifunc_impl_list): Add bzero ifunc variants.
7182 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7184 * sysdeps/s390/ifunc-memset.h: New File.
7185 * sysdeps/s390/memset.S: Move to ...
7186 * sysdeps/s390/memset-z900.S ... here.
7187 Move implementations from memset-s390x.s to here.
7188 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
7189 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7190 Remove memset variants.
7191 * sysdeps/s390/Makefile (sysdep_routines):
7192 Add memset variants.
7193 * sysdeps/s390/multiarch/ifunc-impl-list.c
7194 (__libc_ifunc_impl_list): Adjust ifunc variants for
7196 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
7198 * sysdeps/s390/memset.c: ... here.
7199 Adjust ifunc variants for memset.
7201 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7203 * sysdeps/s390/s390-64/memset.S: Move to ...
7204 * sysdeps/s390/memset.S: ... here.
7205 Adjust to be usable for 31/64bit.
7206 * sysdeps/s390/s390-32/memset.S: Delete File.
7207 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
7208 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7210 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7211 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
7212 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
7213 Adjust to be usable for 31/64bit.
7214 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
7215 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
7216 * sysdeps/s390/multiarch/memset.c: ... here.
7217 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
7219 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7221 * sysdeps/s390/multiarch/ifunc-resolve.h
7222 (s390_libc_ifunc_init, s390_libc_ifunc,
7223 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
7225 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7227 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
7228 * sysdeps/s390/configure.ac: Add check for z10 support.
7229 * sysdeps/s390/configure: Regenerated.
7231 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
7233 * sysdeps/i386/atomic-machine.h: Merged with ...
7234 * sysdeps/x86_64/atomic-machine.h: To ...
7235 * sysdeps/x86/atomic-machine.h: This. New file.
7237 2018-12-18 Florian Weimer <fweimer@redhat.com>
7239 Rewrite locale/gen-translit.pl in Python.
7240 * locale/Makefile (generated): Add C-translit.h.
7241 (before-compile): Add $(objpfx)C-translit.h.
7242 (C-translit.h): Move to $(objpfx). Create target directory.
7243 Build using Python script.
7244 * locale/gen-translit.py: New file.
7245 * locale/gen-translit.pl: Remove file.
7246 * locale/C-translit.h.in: Change comment character to '#' for
7247 easier parsing without a C preprocessor.
7248 * locale/C-translit.h: Remove generated file.
7249 * manual/install.texi (Tools for Compilation): Do not mention
7251 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7252 Remove locale/C-translit.h.
7253 * scripts/update-copyrights: Likewise.
7254 * INSTALL: Regenerate.
7256 2018-12-18 Florian Weimer <fweimer@redhat.com>
7259 * localedata/locales/bi_VU: Remove executable bit from file.
7261 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
7264 (__localtime64): Add.
7265 * manual/maint.texi: Document Y2038 symbol handling.
7267 (__localtime64): Add.
7268 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
7270 2018-12-17 Joseph Myers <joseph@codesourcery.com>
7272 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
7275 * scripts/glibcextract.py (compare_macro_consts): Take parameters
7276 to allow extra macros from first or second sources.
7277 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
7278 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7279 (tests-special): Add $(objpfx)tst-mman-consts.out.
7280 ($(objpfx)tst-mman-consts.out): New makefile target.
7282 2018-12-17 Mao Han <han_mao@c-sky.com>
7284 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
7285 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
7286 without stat64 system call support.
7287 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
7288 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
7289 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7290 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
7291 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
7292 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
7293 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
7294 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
7295 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
7296 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
7297 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
7299 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
7301 regex: fix storage-exhaustion error
7303 * posix/regexec.c (get_subexp):
7304 Do not continue if storage is exhausted.
7306 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
7308 regex: fix heap-use-after-free error
7310 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
7311 https://debbugs.gnu.org/32592
7312 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
7313 call extend_buffers which reallocates the re_string_t internal buffer.
7314 Local variable 'buf' was not updated in such case, resulting in
7316 * posix/regexec.c (get_subexp): Update 'buf' after call to
7319 2018-12-15 Florian Weimer <fweimer@redhat.com>
7321 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
7322 (minimum_stride_size): Use it.
7323 (support_blob_repeat_allocate): Likewise.
7325 2018-12-14 Joseph Myers <joseph@codesourcery.com>
7327 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
7332 2018-12-14 Florian Weimer <fweimer@redhat.com>
7334 * manual/process.texi (Process Creation Concepts): Remove
7335 documentation of process (ID) lifetime. List more process
7336 creation functions. Reference Process Identification section.
7337 (Process Identification): Add information about process ID
7338 lifetime. Describe Linux thread/task IDs.
7339 * manual/signal.texi (Signaling Another Process): Mention that the
7340 signal is always sent to the process.
7342 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7344 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
7345 and tst-ldbl-efgcvt.
7346 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
7347 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
7348 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
7349 (fcvt_tests, output_error, output_r_error, do_test): Use the
7350 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
7351 select the type of floating-point variables and arguments; to
7352 produce extra tests for double and conversion specifiers for
7353 printf; and to set the names of called functions.
7354 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
7355 in tst-efgcvt-template.c.
7356 * misc/tst-ldbl-efgcvt.c: Likewise.
7358 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
7360 * nss/Makefile (tst-nss-test3.out): New rule.
7362 2018-12-13 Joseph Myers <joseph@codesourcery.com>
7364 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
7367 2018-12-13 fanjinke <fanjinke@hygon.cn>
7369 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
7372 2018-12-13 Andreas Schwab <schwab@suse.de>
7375 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
7376 (__pthread_rwlock_rdlock_full): Update expected value for
7377 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
7378 * nptl/tst-rwlock-pwn.c: New file.
7379 * nptl/Makefile (tests): Add tst-rwlock-pwn.
7381 2018-12-12 Joseph Myers <joseph@codesourcery.com>
7383 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
7386 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7388 * benchtests/scripts/compare_bench.py (do_compare): write to
7389 stderr in casestat is not present.
7390 * benchtests/scripts/compare_bench.py (plot_graphs): write to
7391 stderr in case timings field is not present. Also string showing
7392 the output filename goes into the stderr.
7394 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7396 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
7397 and ZeroDivisorError exceptions.
7398 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
7399 argument to loop through user provided statistics.
7400 * benchtests/scripts/compare_bench.py (main): Include the --stats
7403 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7405 * benchtests/scripts/compare_bench.py (compare_runs): Continue
7408 2018-12-12 Florian Weimer <fweimer@redhat.com>
7410 * sysdeps/posix/timespec_get.c: Add missing “any later version”
7411 clause to copyright header.
7413 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7416 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
7417 registers saved in the stack frame.
7418 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
7419 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
7421 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7423 * include/bits/monetary-ldbl.h: New file.
7424 * include/bits/printf-ldbl.h: Likewise.
7425 * include/bits/stdio-ldbl.h: Likewise.
7426 * include/bits/stdlib-ldbl.h: Likewise.
7427 * include/bits/syslog-ldbl.h: Likewise.
7428 * include/bits/wchar-ldbl.h: Likewise.
7430 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7432 * libio/libio.h: Remove redirection for _IO_vfprintf.
7434 2018-12-11 Andreas Schwab <schwab@suse.de>
7436 * Makerules: Remove all references to abilist-pattern.
7437 (update-all-abi): Simplify find expression.
7439 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7442 * math/auto-libm-test-in: Add new test case.
7443 * math/auto-libm-test-out-pow: Regenerated.
7444 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
7446 2018-12-10 DJ Delorie <dj@redhat.com>
7449 * support/test-container.c: Move postclean step to before we
7452 2018-12-10 Joseph Myers <joseph@codesourcery.com>
7454 * scripts/gen-as-const.py (main): Handle --python option.
7455 * scripts/gen-py-const.awk: Remove.
7456 * Makerules (py-const-script): Use gen-as-const.py.
7457 ($(py-const)): Likewise.
7458 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
7459 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
7460 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
7461 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
7462 ~PTHREAD_MUTEX_NO_ELISION_NP.
7463 * manual/README.pretty-printers: Update reference to
7466 * scripts/glibcextract.py: New file.
7467 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
7468 or tempfile. Import glibcexctract.
7469 (compute_c_consts): Remove. Moved to glibcextract.py.
7470 (gen_test): Update reference to compute_c_consts.
7472 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
7473 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
7474 * sysdeps/unix/sysv/linux/Makefile
7475 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
7476 Redirect stderr as well as stdout.
7478 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
7481 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
7482 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
7483 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
7484 ALWAYS_USE_VSYSCALL.
7485 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
7486 ALWAYS_USE_VSYSCALL.
7487 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
7488 ALWAYS_USE_VSYSCALL.
7490 2018-12-10 Florian Weimer <fweimer@redhat.com>
7493 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
7494 offset instead of count for clarity. Fix typo in comment.
7495 (__old_getdents64): Keep track of previous offset. Use it to call
7497 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
7498 that d_off is never zero.
7500 2018-12-10 Andreas Schwab <schwab@suse.de>
7502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
7503 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
7504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
7505 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
7506 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
7508 2018-12-10 Joseph Myers <joseph@codesourcery.com>
7510 * timezone/private.h: Update from tzcode 2018g.
7511 * timezone/tzfile.h: Likewise.
7512 * timezone/tzselect.ksh: Likewise.
7513 * timezone/zdump.c: Likewise.
7514 * timezone/zic.c: Likewise.
7516 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7519 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
7520 (do_test): Adjust buffer size and fix format.
7522 2018-12-07 DJ Delorie <dj@redhat.com>
7525 * malloc/tst-tcfree3.c: New.
7526 * malloc/Makefile: Add it.
7528 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7530 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
7532 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7534 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
7535 used as a mask for the mode argument of __vfscanf_internal and
7536 __vfwscanf_internal.
7537 * stdio-common/vfscanf-internal.c
7538 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
7539 (__strtof128_internal): Define to __wcstof128_internal.
7540 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
7541 __strtof128_internal or __wcstof128_internal when the format of
7542 long double is the same as _Float128.
7544 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
7546 * include/unistd.h (__confstr): Add prototype and hidden prototype.
7547 * posix/confstr.c (confstr): Rename to __confstr.
7548 (__confstr): Add hidden def.
7549 (confstr): Add weak alias for __confstr.
7550 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
7553 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7555 * NEWS: Mention getcpu.
7556 * include/sched.h (__getcpu): New libc_hidden_proto.
7557 * manual/resource.texi: Document getcpu.
7558 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
7559 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
7560 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
7561 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7562 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7563 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7564 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7565 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7566 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7567 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7568 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7569 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7570 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
7572 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7573 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7574 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
7583 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7584 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7585 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7586 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7587 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7588 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7589 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7590 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7591 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
7592 * sysdeps/unix/sysv/linux/getcpu.c: New file.
7593 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
7596 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
7598 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
7600 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
7602 2018-12-07 Florian Weimer <fweimer@redhat.com>
7605 * posix/Makefile (routines): Add spawn_faction_addfchdir.
7606 * posix/Versions (GLIBC_2.29): Export
7607 posix_spawn_file_actions_addfchdir_np.
7608 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
7609 * posix/spawn_faction_destroy.c
7610 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
7611 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
7612 and the field action.fchdir_action.
7613 * posix/tst-spawn-chdir.c (add_chdir): New function.
7614 (do_test): Add do_fchdir loop. Call add_chdir.
7615 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
7616 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7617 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7618 posix_spawn_file_actions_addfchdir_np.
7619 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7621 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7623 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7624 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7626 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7628 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7630 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7632 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7634 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7636 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7637 (GLIBC_2.29): Likewise.
7638 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7639 (GLIBC_2.29): Likewise.
7640 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7641 (GLIBC_2.29): Likewise.
7642 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7643 (GLIBC_2.29): Likewise.
7644 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7647 (GLIBC_2.29): Likewise.
7648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7649 (GLIBC_2.29): Likewise.
7650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7651 (GLIBC_2.29): Likewise.
7652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7653 (GLIBC_2.29): Likewise.
7654 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7656 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7658 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7660 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7661 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7663 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7665 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7667 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7670 2018-12-06 Joseph Myers <joseph@codesourcery.com>
7672 * manual/texinfo.tex: Update to version 2018-09-21.20 with
7673 trailing whitespace removed.
7674 * scripts/config.guess: Update to version 2018-11-28.
7675 * scripts/config.sub: Update to version 2018-11-28.
7676 * scripts/install-sh: Update to version 2018-03-11.20.
7677 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
7678 * scripts/move-if-change: Update to version 2018-03-07 03:47.
7680 2018-12-07 Florian Weimer <fweimer@redhat.com>
7684 * inet/tst-if_index-long.c: New file.
7685 * inet/Makefile (tests): Add tst-if_index-long.
7687 2018-12-07 Florian Weimer <fweimer@redhat.com>
7689 * support/check.h (support_record_failure_is_failed): Declare.
7690 * support/descriptors.h: New file.
7691 * support/support_descriptors.c: Likewise.
7692 * support/tst-support_descriptors.c: Likewise.
7693 * support/support_record_failure.c
7694 (support_record_failure_is_failed): New function.
7695 * support/Makefile (libsupport-routines): Add support_descriptors.
7696 (tests): Add tst-support_descriptors.
7698 2018-12-05 Zack Weinberg <zackw@panix.com>
7699 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7701 * stdio-common/vfprintf-internal.c
7702 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
7703 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
7704 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
7705 and __no_long_double.
7706 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
7707 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
7708 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
7709 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
7710 and __nldbl_*syslog* functions.
7711 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
7712 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
7713 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
7714 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
7715 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
7716 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
7717 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
7718 (__nldbl_vwprintf, __nldbl_wprintf):
7719 Directly call the appropriate __v*printf_internal routine, passing
7720 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
7722 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
7723 (__nldbl___printf_chk, __nldbl___snprintf_chk)
7724 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
7725 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
7726 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
7727 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7728 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
7729 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
7730 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
7731 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
7732 Likewise, and also pass PRINTF_FORTIFY when appropriate.
7733 (__nldbl_syslog, __nldbl_vsyslog):
7734 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
7735 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7737 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7740 2018-12-05 Zack Weinberg <zackw@panix.com>
7741 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7744 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
7745 Moved here from debug/vsprintf_chk.c.
7746 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
7747 and completion logic for the strfile to match exactly what
7748 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
7749 _IO_str_init_static_internal instead of maxlen-1.
7750 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7751 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
7752 __vsprintf_internal.
7754 * debug/vsprintf_chk.c (__vsprintf_chk)
7755 * debug/sprintf_chk.c (__sprintf_chk):
7756 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
7757 'flags' argument is positive, and slen as maxlen. No need to lock
7758 the FILE and/or construct a temporary FILE. Minimize and normalize
7759 header inclusions and variable names. Do not libc_hidden_def anything.
7761 * debug/asprintf_chk.c (__asprintf_chk)
7762 * debug/dprintf_chk.c (__dprintf_chk)
7763 * debug/fprintf_chk.c (__fprintf_chk)
7764 * debug/fwprintf_chk.c (__fwprintf_chk)
7765 * debug/printf_chk.c (__printf_chk)
7766 * debug/snprintf_chk.c (__snprintf_chk)
7767 * debug/swprintf_chk.c (__swprintf_chk)
7768 * debug/vasprintf_chk.c (__vasprintf_chk)
7769 * debug/vdprintf_chk.c (__vdprintf_chk)
7770 * debug/vfprintf_chk.c (__vfprintf_chk)
7771 * debug/vfwprintf_chk.c (__vfwprintf_chk)
7772 * debug/vprintf_chk.c (__vprintf_chk)
7773 * debug/vsnprintf_chk.c (__vsnprintf_chk)
7774 * debug/vswprintf_chk.c (__vswprintf_chk)
7775 * debug/vwprintf_chk.c (__vwprintf_chk)
7776 * debug/wprintf_chk.c (__wprintf_chk):
7777 Directly call the corresponding vxxprintf_internal function, passing
7778 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
7779 the FILE and/or construct a temporary FILE. Minimize and normalize
7780 header inclusions and variable names. Do not libc_hidden_def anything.
7782 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
7783 __obstack_vprintf_internal.
7784 (__obstack_vprintf_chk): Convert into a wrapper that calls
7785 __obstack_vprintf_internal (these two functions already had the
7786 same code) and move to new file...
7787 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
7789 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
7790 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
7791 * debug/Makefile (routines): Add vobprintf_chk.
7793 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7794 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7795 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
7796 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7797 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
7798 (__nldbl___obstack_vfprintf_chk):
7799 Directly call the corresponding vxxprintf_internal function,
7800 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
7801 duplicate comparison of slen with 0 or maxlen from the corresponding
7802 non-__nldbl function.
7804 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
7805 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
7806 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
7807 Remove libc_hidden_proto.
7809 * stdio-common/vfprintf-internal.c
7810 (__vfprintf_internal, __vfwprintf_internal):
7811 Do not check _IO_FLAGS2_FORTIFY.
7812 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
7813 * libio/libioP.h: Update prototype of __vsprintf_internal and add
7814 a comment explaining why it has the maxlen argument.
7815 (_IO_acquire_lock_clear_flags2_fct): Remove.
7816 (_IO_acquire_lock_clear_flags2): Remove.
7817 (_IO_release_lock): Remove conditional statement which will
7819 (_IO_acquire_lock): Remove variable which is now unused.
7820 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7821 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7823 * stdio-common/Makefile (tests): Add tst-bz11319 and
7824 tst-bz11319-fortify2.
7825 (CFLAGS-tst-bz11319-fortify2.c): New macro.
7826 * stdio-common/tst-bz11319-fortify2.c: New file.
7827 * stdio-common/tst-bz11319.c: Likewise.
7829 2018-12-05 Zack Weinberg <zackw@panix.com>
7830 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7832 * misc/syslog.c: Include libioP.h, not iolibio.h.
7833 (__vsyslog_internal): New function with the former body of
7834 __vsyslog_chk; takes mode_flags argument same as
7835 __v*printf_internal. Call __vfprintf_internal directly.
7837 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
7838 Remove libc_hidden_def.
7839 (__syslog, __syslog_chk): Use __vsyslog_internal.
7840 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
7842 * include/sys/syslog.h: Add multiple inclusion guard.
7843 Add prototype for __vsyslog_internal.
7844 Remove declaration and libc_hidden_proto for __vsyslog_chk.
7846 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
7847 Use __vsyslog_internal.
7849 2018-12-05 Zack Weinberg <zackw@panix.com>
7850 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7852 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
7853 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
7854 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
7856 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
7857 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
7859 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
7860 Include wctype.h here if COMPILE_WPRINTF is defined.
7861 Define __vfprintf_internal or __vfwprintf_internal, depending
7863 Temporarily, on entry to this function, update mode_flags
7864 according to the environmental settings corresponding to
7865 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
7866 Throughout, check mode_flags instead of __ldbl_is_dbl and
7867 _IO_FLAGS2_FORTIFY on the destination FILE.
7868 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
7869 Include vfprintf-internal.c. Don't include wctype.h.
7870 * stdio-common/vfprintf.c: New file. Just define __vfprintf
7871 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
7873 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
7874 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
7876 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
7878 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
7879 and add mode_flags argument; use __vfprintf_internal.
7880 (__vdprintf): New function. Alias vdprintf to this.
7881 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
7882 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
7883 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
7884 (__obstack_printf): Use __obstack_printf_internal.
7885 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
7886 public aliases __vsnprintf and vsnprintf.
7887 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
7889 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
7890 public aliases _IO_vsprintf and vsprintf.
7891 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
7892 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
7893 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
7894 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
7895 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
7897 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
7898 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
7899 * stdio-common/fprintf.c, stdio-common/fxprintf.c
7900 * stdio-common/printf.c: Use __vfprintf_internal.
7902 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
7903 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
7904 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
7906 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
7907 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
7908 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
7909 __vfwprintf_internal.
7911 * libio/libio.h: Remove libc_hidden_proto and declaration for
7913 Remove declaration of _IO_vfwprintf.
7914 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
7916 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
7918 * include/stdio.h: Add prototype for __vasprintf.
7919 (__vsnprintf): Remove declaration, because there are no more
7921 * include/wchar.h (__vfwprintf, __vswprintf): Remove
7922 declaration, because there are no more internal calls.
7924 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
7925 __vsnprintf_internal, instead of _IO_vsnprintf.
7926 * argp/argp-help.c (__argp_error, __argp_failure): Use
7927 __vasprintf_internal, instead of _IO_vasprintf.
7928 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
7929 redefine, because there are no more internal calls.
7931 2018-12-05 Zack Weinberg <zackw@panix.com>
7932 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7934 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
7935 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
7936 Include libio/strfile.h instead of libioP.h.
7937 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
7938 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
7939 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
7940 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
7941 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
7942 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
7943 necessary. Do not set __no_long_double. Normalize variable names.
7944 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
7945 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
7946 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
7947 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
7948 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
7949 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
7950 Call __vfscanf_internal / __vfwscanf_internal directly, passing
7951 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
7952 Do not set __no_long_double. Normalize variable names.
7954 2018-12-05 Zack Weinberg <zackw@panix.com>
7955 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7957 * stdio-common/isoc99_scanf.c
7958 * stdio-common/isoc99_fscanf.c
7959 * stdio-common/isoc99_sscanf.c
7960 * stdio-common/isoc99_vscanf.c
7961 * stdio-common/isoc99_vfscanf.c
7962 * stdio-common/isoc99_vsscanf.c
7963 * wcsmbs/isoc99_wscanf.c
7964 * wcsmbs/isoc99_fwscanf.c
7965 * wcsmbs/isoc99_swscanf.c
7966 * wcsmbs/isoc99_vwscanf.c
7967 * wcsmbs/isoc99_vfwscanf.c
7968 * wcsmbs/isoc99_vswscanf.c:
7969 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
7970 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
7971 No need to lock and unlock the FILE passed to that function.
7973 * stdio-common/vfscanf-internal.c
7974 (__vfscanf_internal, __vfwscanf_internal):
7975 Don't look at _IO_FLAGS2_SCANF_STD.
7976 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
7977 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
7978 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
7980 2018-12-05 Zack Weinberg <zackw@panix.com>
7981 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7983 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
7984 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
7985 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
7986 * libio/strfile.h: Add multiple inclusion guard.
7987 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
7989 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
7990 consistency with the other version of this file.
7991 (ldbl_compat_symbol): New macro.
7992 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
7995 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
7996 Define __vfscanf_internal or __vfwscanf_internal, depending on
7997 COMPILE_WSCANF; don't define any other public symbols.
7998 Remove errval and code to set errp.
7999 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
8000 as the mode_flags argument.
8001 (encode_error, conv_error, input_error): Don't set errval.
8002 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
8003 Include vfscanf-internal.c.
8004 * stdio-common/vfscanf.c: New file defining the public entry
8005 point vfscanf, which calls __vfscanf_internal.
8006 * stdio-common/vfwscanf.c: New file defining the public entry
8007 point vfwscanf, which calls __vfwscanf_internal.
8009 * stdio-common/iovfscanf.c: New file.
8010 * stdio-common/iovfwscanf.c: Likewise.
8012 * stdio-common/Makefile (routines): Add vfscanf-internal,
8013 vfwscanf-internal, iovfscanf, iovfwscanf.
8014 * stdio-common/Versions: Mention GLIBC_2.29, so that
8015 it can be used in SHLIB_COMPAT expressions.
8016 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
8017 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
8018 Call __vfscanf_internal, instead of _IO_vfscanf.
8019 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
8021 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
8024 * libio/iovsscanf.c: Clean up includes, when possible. Use
8025 _IO_strfile_read or _IO_strfile_readw, when needed. Call
8026 __vfscanf_internal or __vfwscanf_internal directly.
8027 * libio/iovswscanf.c: Likewise.
8028 * libio/swscanf.c: Likewise.
8029 * libio/vscanf.c: Likewise.
8030 * libio/vwscanf.c: Likewise.
8031 * libio/wscanf.c: Likewise.
8032 * stdio-common/isoc99_fscanf.c: Likewise.
8033 * stdio-common/isoc99_scanf.c: Likewise.
8034 * stdio-common/isoc99_sscanf.c: Likewise.
8035 * stdio-common/isoc99_vfscanf.c: Likewise.
8036 * stdio-common/isoc99_vscanf.c: Likewise.
8037 * stdio-common/isoc99_vsscanf.c: Likewise.
8038 * stdio-common/scanf.c: Likewise.
8039 * stdio-common/sscanf.c: Likewise.
8040 * wcsmbs/isoc99_fwscanf.c: Likewise.
8041 * wcsmbs/isoc99_swscanf.c: Likewise.
8042 * wcsmbs/isoc99_vfwscanf.c: Likewise.
8043 * wcsmbs/isoc99_vswscanf.c: Likewise.
8044 * wcsmbs/isoc99_vwscanf.c: Likewise.
8045 * wcsmbs/isoc99_wscanf.c: Likewise.
8047 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
8050 (__tz_compute): Replace time_t with __time64_t.
8051 (__tz_convert): Replace time_t* with __time64_t.
8052 (__offtime): Replace time_t* with __time64_t.
8054 (__gmtime_r): Adjust call to __tz_convert.
8057 (__localtime_r): Likewise.
8058 (localtime): Likewise.
8059 * time/offtime.c: Replace time_t with __time64_t.
8060 * time/tzset.c: Likewise.
8062 2018-12-04 Joseph Myers <joseph@codesourcery.com>
8064 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
8065 dynamic linker unless [$(run-built-tests) = yes].
8067 2018-12-03 DJ Delorie <dj@delorie.com>
8069 * support/test-container.c (check_for_unshare_hints): New.
8070 (main): Call it if unshare fails. Add support for "su" scriptlet
8073 2018-12-03 Joseph Myers <joseph@codesourcery.com>
8075 * scripts/gen-as-const.py (compute_c_consts): Take an argument
8076 'START' to indicate that start text should be output.
8077 (gen_test): Likewise.
8078 (main): Generate 'START' for first symbol or '--' line, or at end
8079 of input if not previously generated.
8081 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
8084 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
8085 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
8086 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
8087 ALWAYS_USE_VSYSCALL.
8089 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8092 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
8095 2018-12-03 Carlos O'Donell <carlos@redhat.com>
8098 * locale/programs/localedef.c: Declare boolean hard_links default true.
8099 (options): Add --no-hard-links option.
8100 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
8101 * locale/programs/localedef.h: Declare prototype for hard_links.
8102 * locale/programs/locfile.c (write_locale_data): Don't use hard
8103 links if hard_links is false.
8105 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
8107 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
8109 (__cache_sysconf): Likewise.
8110 (init_cacheinfo): Likewise.
8111 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
8112 populate COMMON_CPUID_INDEX_80000007 and
8113 COMMON_CPUID_INDEX_80000008.
8114 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
8115 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
8116 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
8117 (init_cpu_features): Use _Static_assert on
8118 index_arch_Fast_Unaligned_Load.
8119 __get_cpuid_registers and __get_arch_feature. Updated for
8120 cpu_features_basic. Set stepping in cpu_features.
8121 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
8122 (FEATURE_INDEX_2): New.
8123 (FEATURE_INDEX_MAX): Changed to enum.
8124 (COMMON_CPUID_INDEX_D_ECX_1): New.
8125 (COMMON_CPUID_INDEX_80000007): Likewise.
8126 (COMMON_CPUID_INDEX_80000008): Likewise.
8127 (cpuid_registers): Likewise.
8128 (cpu_features_basic): Likewise.
8129 (CPU_FEATURE_USABLE): Likewise.
8130 (bit_arch_XXX_Usable): Likewise.
8131 (cpu_features): Use cpuid_registers and cpu_features_basic.
8132 (bit_arch_XXX): Reweritten.
8133 (bit_cpu_XXX): Likewise.
8134 (index_cpu_XXX): Likewise.
8135 (reg_XXX): Likewise.
8136 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
8138 (CHECK_CPU_FEATURE): New.
8139 (CHECK_CPU_FEATURE_USABLE): Likewise.
8140 (cpu_kinds): Likewise.
8141 (do_test): Print vendor, family, model and stepping. Check
8142 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
8143 (TEST_FUNCTION): Removed.
8144 Include <support/test-driver.c> instead of
8145 "../../test-skeleton.c".
8146 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
8147 Check POPCNT instead of POPCOUNT.
8148 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
8150 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8152 * scripts/gen-as-const.py (main): Avoid emitting empty line when
8153 there is no element in `consts'.
8155 2018-12-01 Florian Weimer <fweimer@redhat.com>
8157 * support/support_capture_subprocess.c
8158 (support_capture_subprocess): Check that pipe descriptors have
8159 expected values. Close original pipe descriptors in subprocess.
8161 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8164 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
8165 attr with __pthread_default_barrierattr.
8166 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
8167 attr with __pthread_default_condattr.
8168 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
8169 attr with __pthread_default_mutexattr.
8170 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
8171 attr with __pthread_default_rwlockattr.
8173 2018-12-01 Kemi Wang <kemi.wang@intel.com>
8175 * manual/tunables.texi (POSIX Thread Tunables): New node.
8176 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
8177 * nptl/nptl-init.c: Include pthread_mutex_conf.h
8178 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
8179 __pthread_tunables_init.
8180 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
8181 (max_adaptive_count): Define.
8182 * nptl/pthread_mutex_conf.c: New file.
8183 * nptl/pthread_mutex_conf.h: New file.
8184 * sysdeps/generic/adaptive_spin_count.h: New file.
8185 * sysdeps/nptl/dl-tunables.list: New file.
8186 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8187 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
8188 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
8191 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8194 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
8195 * stdlib/on_exit.c (__on_exit): Likewise.
8196 * stdlib/Makefile (tests): Add tst-bz20544.
8197 * stdlib/tst-bz20544.c: New test.
8199 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
8202 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
8203 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
8206 2018-11-30 Florian Weimer <fweimer@redhat.com>
8208 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
8209 Extend error logging.
8210 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
8213 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8215 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
8216 __sigismember instead of sigismember.
8217 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
8218 cancel_handler): New definitions.
8219 (do_system): Use posix_spawn instead of fork and execl and remove
8221 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
8222 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
8223 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
8224 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8225 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8226 * sysdeps/unix/sysv/linux/system.c: Likewise.
8230 * NEWS: Add new semantic for atfork with popen and system.
8231 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
8234 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8237 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
8238 modification order when accessing reloc_result->addr.
8239 * include/link.h (reloc_result): Add field init.
8240 * nptl/Makefile (tests): Add tst-audit-threads.
8241 (modules-names): Add tst-audit-threads-mod1 and
8242 tst-audit-threads-mod2.
8243 Add rules to build tst-audit-threads.
8244 * nptl/tst-audit-threads-mod1.c: New file.
8245 * nptl/tst-audit-threads-mod2.c: Likewise.
8246 * nptl/tst-audit-threads.c: Likewise.
8247 * nptl/tst-audit-threads.h: Likewise.
8249 2018-11-30 Joseph Myers <joseph@codesourcery.com>
8251 * scripts/gen-as-const.py: New file.
8252 * scripts/gen-as-const.awk: Remove.
8253 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
8255 ($(objpfx)test-as-const-%.c): Likewise.
8257 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8259 * elf/dl-exception.c: Include <_itoa.h>.
8261 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8263 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
8264 returned by __f_setlk.
8266 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8267 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8269 * elf/Makefile (tests-internal): Add tst-create_format1.
8270 * elf/dl-exception.c (_dl_exception_create_format): Support
8272 * elf/tst-create_format1.c: New file.
8274 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
8276 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
8277 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
8279 * argp/argp-help.c (__argp_failure): Likewise.
8281 2018-11-29 Mao Han <han_mao@c-sky.com>
8283 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
8284 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
8285 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
8286 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
8287 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
8288 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
8289 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
8290 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
8291 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
8292 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
8293 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
8294 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
8295 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
8296 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
8297 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
8298 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
8299 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
8300 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
8301 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
8302 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
8303 (R_CKCORE_TLS_TPOFF32): New defines.
8305 2018-11-29 Florian Weimer <fweimer@redhat.com>
8307 * posix/Makefile (before-compile): Remove testcases.h and
8309 (generated): Add testcases.h and ptestcases.h.
8310 (testcases.h, ptestcases.h): Move to $(objpfx).
8311 (runtests.o): Add dependency on testcases.h.
8312 (runptests.o): Add dependency on ptestcases.h.
8313 * posix/testcases.h, posix/ptestcases.h: Remove files.
8314 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
8315 not touch posix/testcases.h and posix/ptestcases.h.
8317 2018-11-28 Florian Weimer <fweimer@redhat.com>
8319 support: Add signal support to support_capture_subprocess_check.
8320 * support/capture_subprocess.h (support_capture_subprocess_check):
8321 Adjust comment and rename parameter.
8322 * support/support_capture_subprocess_check.c
8323 (print_actual_status): New function.
8324 (support_capture_subprocess_check): Support negative
8325 status_or_signal. Call print_actual_status.
8326 * support/tst-support_capture_subprocess.c (do_test): Call
8327 support_capture_subprocess_check.
8328 * libio/tst-vtables-common.c (termination_status)
8329 (init_termination_status): Remove.
8330 (check_for_termination): Adjust support_capture_subprocess_check
8332 (do_test): Remove call to init_termination_status.
8334 2018-11-28 Joseph Myers <joseph@codesourcery.com>
8336 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
8337 source directory instead of a copy.
8338 (CommandList.create_copy_dir): Remove.
8340 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
8342 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8344 2018-11-28 Florian Weimer <fweimer@redhat.com>
8346 * support/support.h (support_quote_string): Do not use str
8349 2018-11-27 Joseph Myers <joseph@codesourcery.com>
8351 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
8352 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
8354 2018-11-27 Florian Weimer <fweimer@redhat.com>
8356 * support/support.h (support_quote_string): Declare.
8357 * support/support_quote_string.c: New file.
8358 * support/tst-support_quote_string.c: Likewise.
8359 * support/Makefile (libsupport-routines): Add
8360 support_quote_string.
8361 (tests): Add tst-support_quote_string.
8363 2018-11-27 Florian Weimer <fweimer@redhat.com>
8367 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
8368 descriptor leak in case of ENODEV error.
8370 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
8373 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
8374 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
8375 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
8377 2018-11-26 Carlos O'Donell <carlos@redhat.com>
8379 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
8380 Error for unknown lines.
8382 2018-11-26 Joseph Myers <joseph@codesourcery.com>
8384 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8385 Touch additional files.
8387 2018-11-26 Florian Weimer <fweimer@redhat.com>
8390 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
8393 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
8396 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
8397 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
8398 SHARED. Include sysdep.h.
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
8400 ALWAYS_USE_VSYSCALL.
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
8402 ALWAYS_USE_VSYSCALL.
8404 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
8407 * nptl/Makefile (tests-static): Add tst-cond11-static.
8409 * nptl/tst-cond11-static.c: New File.
8410 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
8411 tst-affinity-static.
8413 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
8415 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
8416 (USE_VSYSCALL): Likewise.
8417 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
8418 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
8420 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
8422 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
8425 2018-11-23 Joseph Myers <joseph@codesourcery.com>
8428 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8429 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
8432 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
8434 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
8435 (tst-cet-legacy-1a-ARGS): New.
8436 ($(objpfx)tst-cet-legacy-1a): New target.
8437 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
8439 2018-11-22 Joseph Myers <joseph@codesourcery.com>
8441 * conform/conformtest.py (CompileSubTest.__init__): Set
8442 self.run_early to False.
8443 (ExecuteSubTest.__init__): Likewise.
8444 (HeaderTests.run): Try running all non-optional, non-XFAILed
8445 compilation tests in a single execution of the compiler.
8447 * conform/conformtest.py (CompileSubTest): New class.
8448 (ExecuteSubTest): Likewise.
8449 (ElementTest.run): Rename to gen_subtests. Append tests to
8450 self.subtests instead of running them.
8451 (ConstantTest.run): Likewise.
8452 (SymbolTest.run): Likewise.
8453 (TypeTest.run): Likewise.
8454 (TagTest.run): Likewise.
8455 (FunctionTest.run): Likewise.
8456 (VariableTest.run): Likewise.
8457 (MacroFunctionTest.run): Likewise.
8458 (MacroStrTest.run): Likewise.
8459 (HeaderTests.handle_test_line): Generate subtests for tests.
8460 (HeaderTests.run): Run subtests for tests.
8462 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8464 * math/Versions (GLIBC_2.29): Add pow.
8465 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
8467 * math/w_pow.c: New file.
8468 * sysdeps/i386/fpu/w_pow.c: New file.
8469 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
8470 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
8471 and add necessary aliases.
8472 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
8473 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
8474 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8475 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8476 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8477 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8478 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8479 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8480 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8481 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8482 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8483 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8484 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8485 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8486 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8491 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8492 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8493 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8494 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8495 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8496 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8497 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8498 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
8500 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
8501 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
8502 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
8504 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8506 * math/Versions (GLIBC_2.29): Add log2.
8507 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
8509 * math/w_log2.c: New file.
8510 * sysdeps/i386/fpu/w_log2.c: New file.
8511 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
8512 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
8513 and add necessary aliases.
8514 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
8515 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
8516 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8517 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8518 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8519 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8520 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8521 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8522 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8523 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8524 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8525 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8526 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8527 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8528 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8533 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8534 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8535 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8536 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8537 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8538 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8539 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8541 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8543 * math/Versions (GLIBC_2.29): Add log.
8544 * math/w_log_compat.c (__log_compat): Change to versioned compat
8546 * math/w_log.c: New file.
8547 * sysdeps/i386/fpu/w_log.c: New file.
8548 * sysdeps/ia64/fpu/e_log.S: Update.
8549 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
8550 and add necessary aliases.
8551 * sysdeps/ieee754/dbl-64/w_log.c: New file.
8552 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
8553 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8554 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8555 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8556 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8557 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8558 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8559 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8560 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8561 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8562 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8563 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8564 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8565 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8570 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8571 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8572 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8573 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8574 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8575 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8576 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8577 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
8579 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
8580 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
8581 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
8582 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
8584 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8586 * math/Versions (GLIBC_2.29): Add exp and exp2.
8587 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
8588 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
8589 * math/w_exp_compat.c (__exp_compat): Likewise.
8590 * math/w_exp.c: New file.
8591 * math/w_exp2.c: New file.
8592 * sysdeps/i386/fpu/w_exp.c: New file.
8593 * sysdeps/i386/fpu/w_exp2.c: New file.
8594 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
8595 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
8596 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
8597 and add necessary aliases.
8598 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
8599 and add necessary aliases.
8600 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
8601 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
8602 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
8603 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
8604 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8605 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8606 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8607 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8608 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8609 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8610 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8611 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8612 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8613 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8614 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8615 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8616 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8621 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8622 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8623 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8624 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8625 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8626 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8627 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8628 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
8629 (__ieee754_exp): Rename to __exp.
8630 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
8631 (__ieee754_exp): Rename to __exp.
8632 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
8633 (__ieee754_exp): Rename to __exp.
8634 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
8636 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
8638 2018-11-20 DJ Delorie <dj@redhat.com>
8640 * malloc/malloc.c (tcache_entry): Add key field.
8641 (tcache_put): Set it.
8642 (tcache_get): Likewise.
8643 (_int_free): Check for double free in tcache.
8644 * malloc/tst-tcfree1.c: New.
8645 * malloc/tst-tcfree2.c: New.
8646 * malloc/Makefile: Run the new tests.
8647 * manual/probes.texi: Document memory_tcache_double_free probe.
8649 * dlfcn/dlerror.c (check_free): Prevent double frees.
8651 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
8653 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
8655 2018-11-20 Joseph Myers <joseph@codesourcery.com>
8657 * conform/conformtest.py (ElementTest.run): Use unique identifiers
8658 in tests. Use names for format arguments.
8659 (ConstantTest.run): Likewise.
8660 (SymbolTest.run): Likewise.
8661 (TypeTest.run): Likewise.
8662 (TagTest.run): Likewise.
8663 (FunctionTest.run): Likewise.
8664 (VariableTest.run): Likewise.
8665 (MacroFunctionTest.run): Likewise.
8666 (MacroStrTest.run): Likewise.
8667 (HeaderTests.__init__): Set self.num_tests.
8668 (HeaderTests.handle_test_line): Set test.num. Increment
8671 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
8673 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
8674 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
8677 2018-11-19 Mao Han <han_mao@c-sky.com>
8679 * scripts/config.guess: Update to version 2018-08-29.
8680 * scripts/config.sub: Update to version 2018-08-29.
8682 2018-11-19 Florian Weimer <fweimer@redhat.com>
8684 support: Print timestamps in timeout handler.
8685 * support/support_test_main.c (print_timestamp): New function.
8686 (signal_handler): Use it to print the termination time and the
8687 time of the last write to standard output.
8689 2018-11-16 Zack Weinberg <zackw@panix.com>
8690 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8692 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
8693 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
8695 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
8696 and add flags argument. Check flags instead of __ldbl_is_dbl when
8697 deciding whether to set is_long_double.
8698 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
8699 passing zero for flags argument.
8700 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
8702 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8703 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
8704 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
8705 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
8706 variable names. Remove libc_hidden_def/libc_hidden_proto from
8707 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
8708 longer called from within the library.
8709 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
8710 for __nldbl___vstrfmon_l, declare it explicitly.
8712 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
8714 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8716 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
8718 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
8719 F_SETLK64, F_SETLKW64, respectively.
8720 * sysdeps/mach/hurd/f_setlk.c: New file.
8721 * sysdeps/mach/hurd/f_setlk.h: New file.
8722 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
8724 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
8725 (__libc_fcntl): Move non-flock operations to...
8726 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
8727 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
8729 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
8731 mktime: DEBUG_MKTIME cleanup
8732 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
8733 And it’s no longer needed now that glibc and Gnulib both have
8734 their own testing mechanisms for mktime.
8735 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
8737 mktime: fix non-EOVERFLOW errno handling
8739 mktime was not properly reporting failures when the underlying
8740 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
8741 them like EOVERFLOW failures, and set errno to EOVERFLOW.
8742 The problem could happen on non-glibc platforms, with Gnulib.
8743 * time/mktime.c (guess_time_tm): Remove, replacing with ...
8744 (tm_diff): ... this simpler function, which does not change errno.
8745 All callers changed to deal with errno themselves.
8746 (ranged_convert, __mktime_internal): Return failure immediately if
8747 the underlying function reports any failure other than EOVERFLOW.
8748 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
8751 mktime: fix bug with Y2038 DST transition
8753 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
8754 mishandle a DST transition that jumps over the Y2038 boundary.
8755 No such DST transitions are known so this is only a theoretical
8756 bug, but we might as well do things right.
8758 mktime: make more room for overflow
8760 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
8761 This is so that we can add tm_diff results to a previous guess,
8762 which will be useful in a later patch.
8764 mktime: simplify offset guess
8766 * time/mktime.c (__mktime_internal): Omit excess precision.
8768 mktime: new test for mktime failure
8770 Based on a test suggested by Albert Aribaud in:
8771 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
8772 * time/Makefile (tests): Add bug-mktime4.
8773 * time/bug-mktime4.c: New file.
8775 mktime: fix EOVERFLOW bug
8777 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
8778 Include libc-config.h, not config.h, for __set_errno.
8779 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
8781 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8783 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
8784 __attribute_copy__ to copy attributes from name. Drop static qualifier
8785 to avoid warnings about leaf attribute not having effect on static
8788 2018-11-13 Florian Weimer <fweimer@redhat.com>
8790 * malloc/malloc.c (fastbin_push_entry): New function.
8791 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
8792 (REMOVE_FB): Remove macro.
8793 (_int_malloc): Use fastbin_pop_entry and reindent.
8794 (_int_free): Use fastbin_push_entry.
8795 (malloc_consolidate): Use atomic_exchange_acquire.
8797 2018-11-13 Joseph Myers <joseph@codesourcery.com>
8799 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
8800 alias attribute, not with strong_alias.
8802 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
8803 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
8804 with additional parameter thread.
8805 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
8806 in terms of __hidden_ver2.
8807 (hidden_tls_def): New macro.
8808 (libc_hidden_tls_def): Likewise.
8809 (rtld_hidden_tls_def): Likewise.
8810 (libm_hidden_tls_def): Likewise.
8811 (libmvec_hidden_tls_def): Likewise.
8812 (libresolv_hidden_tls_def): Likewise.
8813 (librt_hidden_tls_def): Likewise.
8814 (libdl_hidden_tls_def): Likewise.
8815 (libnss_files_hidden_tls_def): Likewise.
8816 (libnsl_hidden_tls_def): Likewise.
8817 (libnss_nisplus_hidden_tls_def): Likewise.
8818 (libutil_hidden_tls_def): Likewise.
8819 (libutil_hidden_tls_def): Likweise.
8820 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
8821 libc_hidden_tls_def.
8822 (__sim_disabled_exceptions_thread): Likewise.
8823 (__sim_round_mode_thread): Likewise.
8825 * sysdeps/sparc/sparc-ifunc.h [SHARED]
8826 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
8827 copy attributes from name.
8829 2018-11-12 Joseph Myers <joseph@codesourcery.com>
8831 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
8832 Use __attribute_copy__ to copy attributes from name.
8834 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
8835 with __hidden_ver1 call.
8836 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
8837 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
8838 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
8839 (__cosf): Do not declare here.
8840 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
8841 (__sincosf): Do not declare here.
8842 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
8843 (__sinf): Do not declare here.
8845 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
8846 (__BIG_ENDIAN): Likewise.
8847 (__BYTE_ORDER): Likewise.
8848 (strong_alias): Likewise.
8849 (_strong_alias): Likewise.
8851 2018-11-12 Florian Weimer <fweimer@redhat.com>
8853 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
8854 function. Move after the definition of in_smallbin_range. Do not
8855 use __builtin_expect for paths that lead to a noreturn function.
8856 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
8857 because it is unclear whether this is in fact an unlikely
8859 (_int_malloc, _int_free): Adjust.
8860 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
8862 * malloc/arena.c (heap_trim): Likewise.
8864 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8866 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
8867 it, free it if needed.
8868 (reauthenticate): Test and use ccwdir.
8869 (child_init_port): In non-resetids case, test and use ccwdir.
8870 (child_chdir): New nested function to set ccwdir.
8871 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
8872 * hurd/hurd/port.h (_hurd_port_move): New function.
8873 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
8874 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
8875 * hurd/Versions (_hurd_port_move): Export function.
8876 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
8878 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
8879 of dtablesize for allocating dtable_cloexec.
8881 2018-11-09 Martin Sebor <msebor@redhat.com>
8883 * include/libc-symbols.h (__attribute_copy__): Define macro unless
8884 it's already defined.
8885 (_strong_alias): Use __attribute_copy__.
8886 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
8887 * misc/sys/cdefs.h (__attribute_copy__): New macro.
8888 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
8889 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
8890 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
8891 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
8892 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
8893 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
8894 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
8895 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
8896 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
8897 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
8898 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
8899 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
8900 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
8901 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
8902 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
8903 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
8904 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
8906 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8908 * misc/tst-efgcvt.c: Include support/check.h and
8909 support/test-driver.c. Do not include test-skeleton.c.
8910 (error_count): Remove.
8911 (output_error): Replace increments to error_count with calls to
8912 support_record_failure.
8913 (output_r_error): Likewise.
8914 (special): Likewise.
8915 (do_test): Unconditionally return zero.
8916 (TEST_FUNCTION): Remove.
8918 2018-11-09 Joseph Myers <joseph@codesourcery.com>
8920 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
8922 ($(linknamespace-header-tests)): Likewise.
8924 * conform/conformtest.py: New file.
8925 * conform/conformtest.pl: Remove.
8926 * conform/GlibcConform.pm: Likewise.
8927 * conform/glibcconform.py (KEYWORDS_C90): New constant.
8928 (KEYWORDS_C99): Likewise.
8929 (KEYWORDS): Likewise.
8930 * conform/Makefile ($(conformtest-header-tests)): Use
8931 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
8932 option. Use --header instead of --headers.
8933 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
8935 * conform/data/spawn.h-data: Likewise.
8936 * conform/data/fcntl.h-data (openat): Add space after function
8938 * conform/data/wchar.h-data (wcscasecmp): Likewise.
8939 (wcscasecmp_l): Likewise.
8940 * conform/data/termios.h-data (c_cc): Add space after element
8943 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8945 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
8946 instead of manually comparing and reporting mismatching strings.
8947 * misc/tst-ldbl-error.c (do_one_test): Likewise.
8948 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
8950 2018-11-08 Joseph Myers <joseph@codesourcery.com>
8952 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
8953 __ASSUME_SOCKETCALL.
8954 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8955 (__ASSUME_SOCKETCALL): Remove.
8956 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8957 (__ASSUME_SOCKETCALL): Likewise.
8958 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8959 (__ASSUME_SOCKETCALL): Likewise.
8960 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8961 (__ASSUME_SOCKETCALL): Likewise.
8962 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8963 (__ASSUME_SOCKETCALL): Likewise.
8964 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8965 (__ASSUME_SOCKETCALL): Likewise.
8966 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8967 (__ASSUME_SOCKETCALL): Likewise.
8969 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
8972 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
8973 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
8974 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
8975 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
8976 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
8979 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
8982 * resolv/tst-resolv-network.c: Add test for getnetbyname.
8984 2018-11-07 Joseph Myers <joseph@codesourcery.com>
8987 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8988 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8989 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8990 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8992 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8994 * support/support_test_compare_string.c
8995 (support_test_compare_string): Fix printf format.
8997 2018-11-07 Florian Weimer <fweimer@redhat.com>
8999 Implement TEST_COMPARE_STRING.
9000 * support/check.h (TEST_COMPARE_STRING): Define.
9001 (support_test_compare_string): Declare.
9002 * support/Makefile (libsupport-routines): Add
9003 support_test_compare_string.
9004 (tests): Add tst-test_compare_string.
9005 * support/support_test_compare_string.c: New file.
9006 * support/tst-test_compare_string.c: Likewise.
9008 2018-11-07 Andreas Schwab <schwab@suse.de>
9011 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
9012 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
9015 2018-11-06 Joseph Myers <joseph@codesourcery.com>
9018 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9019 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
9020 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
9021 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
9024 2018-11-06 Florian Weimer <fweimer@redhat.com>
9027 * posix/Makefile (routines): Add spawn_faction_addchdir.
9028 (tests): Add tst-spawn-chdir.
9029 * posix/Versions (GLIBC_2.29): Add
9030 posix_spawn_file_actions_addchdir_np.
9031 * posix/spawn_faction_addchdir.c: New file.
9032 * posix/spawn_faction_destroy.c
9033 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
9034 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
9035 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
9037 * posix/tst-spawn-chdir.c: New file.
9038 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
9039 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9040 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9041 posix_spawn_file_actions_addchdir_np.
9042 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9044 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9046 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9047 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9049 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9051 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9053 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9055 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9057 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9059 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9060 (GLIBC_2.29): Likewise.
9061 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9062 (GLIBC_2.29): Likewise.
9063 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9064 (GLIBC_2.29): Likewise.
9065 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9066 (GLIBC_2.29): Likewise.
9067 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9070 (GLIBC_2.29): Likewise.
9071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9072 (GLIBC_2.29): Likewise.
9073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9074 (GLIBC_2.29): Likewise.
9075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9076 (GLIBC_2.29): Likewise.
9077 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9079 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9081 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9083 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9084 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9086 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9088 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9090 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9093 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9095 * misc/Makefile (tests): Add tst-ldbl-error.
9096 * misc/tst-ldbl-error.c: New file.
9098 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9100 * misc/Makefile (tests): Add tst-ldbl-warn.
9101 * misc/tst-ldbl-warn.c: New file.
9103 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9105 * argp/Makefile (tests): Add tst-ldbl-argp.
9106 * argp/tst-ldbl-argp.c: New file.
9108 2018-11-05 Arjun Shankar <arjun@redhat.com>
9110 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
9111 __gconv_path_elem and call __gconv_get_path unconditionally.
9113 2018-11-05 Andreas Schwab <schwab@suse.de>
9116 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
9117 creating the first helper thread failed.
9119 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9121 * sysdeps/mach/hurd/msync.c: New file.
9123 2018-11-02 Florian Weimer <fweimer@redhat.com>
9125 * support/shell-container.c (copy_func): Call
9126 support_copy_file_range instead of copy_file_range to support
9127 cross-device copies.
9129 2018-11-02 Florian Weimer <fweimer@redhat.com>
9131 * support/test-container.c: Include <libc-pointer-arith.h> for
9134 2018-11-01 Zong Li <zong@andestech.com>
9136 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
9137 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
9138 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
9139 (__FP_FRAC_SET_8): Add implementation for RV32 use.
9141 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
9142 variable to avoid overlap arguments.
9144 2018-11-01 Joseph Myers <joseph@codesourcery.com>
9146 * posix/bug-regex22.c (main): Use puts with distinct error
9147 messages for unexpected success of re_compile_pattern, not printf
9148 with NULL argument to %s.
9150 * stdio-common/bug22.c: Include <libc-diag.h>.
9151 (do_test): Disable -Wformat-overflow= warnings around fprintf
9152 calls outputting more than INT_MAX characters.
9153 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
9154 around printf call with NULL %s argument.
9157 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
9158 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
9160 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9161 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9162 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9163 (__ASSUME_SENDTO_SYSCALL): Likewise.
9164 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9165 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
9167 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9168 (__ASSUME_CONNECT_SYSCALL): Likewise.
9169 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9170 (__ASSUME_RECVFROM_SYSCALL): Likewise.
9171 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
9173 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
9175 [__LINUX_KERNEL_VERSION >= 0x040400]
9176 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9177 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
9180 (setsockopt): Likewise.
9182 2018-11-01 Fredrik Noring <noring@nocrew.org>
9184 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
9185 with the ISA override.
9187 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
9189 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
9192 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9194 * manual/errno.texi (EIEIO): Document how translators should
9195 translate the error message.
9196 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
9197 printing trailing whitespaces refused by git.
9198 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
9199 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9200 * hurd/Makefile (user-interfaces): Add pci.
9202 2018-10-30 Joseph Myers <joseph@codesourcery.com>
9204 * conform/linknamespace.py: New file.
9205 * conform/linknamespace.pl: Remove file.
9206 * conform/Makefile ($(linknamespace-header-tests)): Use
9207 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
9210 2018-10-30 Florian Weimer <fweimer@redhat.com>
9212 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
9215 2018-10-30 Florian Weimer <fweimer@redhat.com>
9217 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
9219 2018-10-30 Florian Weimer <fweimer@redhat.com>
9221 * stdlib/tst-strtod-overflow.c (do_test): Switch to
9222 support_blob_repeat.
9224 2018-10-30 Florian Weimer <fweimer@redhat.com>
9226 Avoid spurious test failures in stdlib/test-bz22786.
9227 * support/Makefile (libsupport-routines): Add blob_repeat.
9228 (tests): Add tst-support_blob_repeat.
9229 * support/blob_repeat.h: New file.
9230 * support/blob_repeat.c: Likewise.
9231 * support/tst-support_blob_repeat.c: Likewise.
9232 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
9233 support_blob_repeat_allocate.
9235 2018-10-30 Andreas Schwab <schwab@suse.de>
9238 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
9239 Don't use tail call.
9240 * elf/tst-unwind-main.c: New file.
9241 * elf/Makefile (tests): Add tst-unwind-main.
9242 (CFLAGS-tst-unwind-main.c): Define.
9244 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
9247 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
9249 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
9251 2018-10-29 Joseph Myers <joseph@codesourcery.com>
9253 * conform/glibcconform.py: Do not import shutil.
9254 (list_exported_functions): Use tempfile.TemporaryDirectory instead
9257 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
9258 critic_missing for versions before 3.4.
9259 * configure: Regenerated.
9260 * manual/install.texi (Tools for Compilation): Document
9261 requirement for Python to build glibc.
9262 * INSTALL: Regenerated.
9263 * Rules [PYTHON]: Make code unconditional.
9264 * benchtests/Makefile [PYTHON]: Likewise.
9265 * conform/Makefile [PYTHON]: Likewise.
9266 * manual/Makefile [PYTHON]: Likewise.
9267 * math/Makefile [PYTHON]: Likewise.
9269 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9271 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
9272 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
9273 answer to interrupt_operation, return EIEIO instead of EINTR.
9274 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
9275 _hurd_intr_rpc_msg_about_to global point to start of controlled
9276 assembly snippet. Make it check canceled flag.
9277 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
9278 the _hurd_intr_rpc_msg_about_to point.
9279 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
9280 issue, remove cancel flag check.
9282 2018-10-26 Joseph Myers <joseph@codesourcery.com>
9284 * scripts/build-many-glibcs.py: Remove compatibility for missing
9285 os.cpu_count and re.fullmatch.
9287 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
9290 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
9291 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
9292 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
9294 2018-10-25 Joseph Myers <joseph@codesourcery.com>
9296 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
9299 2018-10-25 Florian Weimer <fweimer@redhat.com>
9303 XFAIL siginfo_t si_band conform test on sparc64.
9304 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
9305 (__SI_BAND_TYPE): Only override long int default type on sparc64.
9306 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9307 (conformtest-xfail-conds): Add sparc64-linux.
9308 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
9310 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
9312 2018-10-25 Joseph Myers <joseph@codesourcery.com>
9314 * elf/elf.h (NT_MIPS_DSP): New macro.
9315 (NT_MIPS_FP_MODE): Likewise.
9317 2018-10-25 Zong Li <zong@andestech.com>
9319 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
9320 name by adding the file extension (.so).
9322 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
9324 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
9325 (test-xfail-ISO11/threads.h/linknamespace,
9326 test-xfail-ISO11/threads.h/conform): Add.
9328 2018-10-24 Joseph Myers <joseph@codesourcery.com>
9330 * math/gen-libm-test.py: Import os.
9331 (ALL_FLOATS_MANUAL): New constant.
9332 (ALL_FLOATS_SUFFIX): Likewise.
9333 (Ulps.all_functions): New function.
9334 (real_all_ulps): Likewise.
9335 (generate_err_table_sub): Likewise.
9336 (generate_err_table): Likewise.
9337 (main): Handle -s and -m options.
9338 * manual/libm-err-tab.pl: Remove.
9339 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
9340 instead of libm-err-tab.pl.
9341 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
9343 * manual/install.texi (Tools for Compilation): Document
9344 requirement for Python to build manual.
9345 * INSTALL: Regenerated.
9347 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
9349 * bits/time64.h: New file.
9350 * include/time.h: Replace internal_time_t with __time64_t.
9351 * posix/bits/types (__time64_t): Add.
9352 * stdlib/Makefile: Add bits/time64.h to includes.
9353 * time/tzfile.c: Replace internal_time_t with __time64_t.
9355 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9357 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
9358 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
9359 __posix_spawn_file_actions_init, __posix_spawnattr_init,
9360 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
9361 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
9363 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
9364 * posix/spawn_faction_addclose.c
9365 (__posix_spawn_file_actions_addclose): Add hidden definition.
9366 * posix/spawn_faction_adddup2.c
9367 (__posix_spawn_file_actions_adddup2): Likewise.
9368 * posix/spawn_faction_destroy.c
9369 (__posix_spawn_file_actions_destroy): Likewise.
9370 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
9372 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
9373 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
9374 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
9376 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
9377 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
9380 2018-10-24 Andreas Schwab <schwab@suse.de>
9383 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
9385 * elf/cache.c (print_cache): Likewise.
9387 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
9389 * bits/timesize.h: New file.
9390 * stdlib/Makefile (headers): Add bits/timesize.h.
9391 * sysdeps/unix/sysv/linux/bits/msq-pad.h
9392 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
9393 * sysdeps/unix/sysv/linux/bits/sem-pad.h
9394 (__SEM_PAD_AFTER_TIME): Likewise.
9395 * sysdeps/unix/sysv/linux/bits/shm-pad.h
9396 (__SHM_PAD_AFTER_TIME): Likewise.
9397 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
9398 (__MSQ_PAD_BEFORE_TIME): Likewise.
9399 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
9400 (__SEM_PAD_BEFORE_TIME): Likewise.
9401 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
9402 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9403 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
9404 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
9405 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
9406 (__MSQ_PAD_BEFORE_TIME): Likewise.
9407 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
9408 (__SEM_PAD_BEFORE_TIME): Likewise.
9409 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
9410 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9411 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
9412 (__MSQ_PAD_BEFORE_TIME): Likewise.
9413 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
9414 (__SEM_PAD_BEFORE_TIME): Likewise.
9415 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
9416 (__SHM_PAD_BEFORE_TIME): Likewise.
9417 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
9418 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9419 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
9421 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
9423 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
9424 USE_RDTSCP is defined.
9425 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
9426 USE_RDTSCP is defined.
9428 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9430 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
9434 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
9435 independently of other flags.
9437 2018-10-23 Florian Weimer <fweimer@redhat.com>
9439 * time/tst-mktime2.c (N_STRINGS): Remove.
9440 (set_timezone): New function.
9441 (spring_forward_gap): Call it. Use FAIL_EXIT1.
9442 (mktime_test1): Report localtime failure and check errno value.
9444 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
9445 (do_test): Remove alarm call. Use set_timezone and array_length.
9447 2018-10-23 Andreas Schwab <schwab@suse.de>
9449 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
9450 (__start_context): Use END instead of PSEUDO_END.
9452 2018-10-22 Joseph Myers <joseph@codesourcery.com>
9454 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9457 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9461 * wcsmbs/c32rtomb.c: New file.
9462 * wcsmbs/mbrtoc32.c: Likewise.
9463 * wcsmbs/tst-c32-state.c: Likewise.
9464 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
9465 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
9466 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
9467 (tests): Add tst-c32-state.
9468 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
9471 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
9473 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
9474 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
9476 2018-10-19 Joseph Myers <joseph@codesourcery.com>
9479 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
9480 pair and return 0 in that case, and use saved character to
9481 interpret following character.
9482 * wcsmbs/tst-c16-surrogate.c: New file.
9483 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
9484 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
9485 Depend on $(gen-locales)
9487 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
9490 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
9491 (struct siginfo_t): Use correct type for si_band.
9493 2018-10-19 Florian Weimer <fweimer@redhat.com>
9496 * resource/bits/types/struct_rusage.h (struct rusage): Update
9497 comment on struct. Remove extraneous field comment.
9499 2018-10-18 David S. Miller <davem@davemloft.net>
9501 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
9502 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
9503 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
9504 sysdep_routines in subdir elf.
9505 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
9506 version for __vdso_clock_gettime.
9507 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
9509 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9510 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9512 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9514 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
9516 * sysdeps/i386/init-arch.h: Removed.
9517 * sysdeps/i386/i586/init-arch.h: Likewise.
9518 * sysdeps/i386/i686/init-arch.h: Likewise.
9519 * sysdeps/i386/i686/hp-timing.h: Likewise.
9520 * sysdeps/x86_64/hp-timing.h: Likewise.
9521 * sysdeps/i386/isa.h: New file.
9522 * sysdeps/i386/i586/isa.h: Likewise.
9523 * sysdeps/i386/i686/isa.h: Likewise.
9524 * sysdeps/x86_64/isa.h: Likewise.
9525 * sysdeps/x86/hp-timing.h: New file.
9526 * sysdeps/x86/init-arch.h: Include <isa.h>.
9528 2018-10-17 Joseph Myers <joseph@codesourcery.com>
9530 * math/libm-test-pow.inc (pow_test_data): Do not allow
9531 divide-by-zero exception for pow(+/- 0, -Inf).
9533 2018-10-17 Zack Weinberg <zackw@panix.com>
9535 * manual/job.texi (Job Control is Optional): Remove node, as
9536 job control has not been optional in quite some time.
9537 (Job Control): Mention briefly that systems older than
9538 POSIX.1-2001 might not support job control.
9539 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
9540 defined on systems conforming to POSIX.1-2001.
9542 2018-10-17 Arjun Shankar <arjun@redhat.com>
9545 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
9547 * (__gconv_read_conf): Mark function static.
9548 * (once): New static variable.
9549 * (__gconv_load_conf): New function.
9550 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
9551 * iconv/gconv_db.c (once): Remove static variable.
9552 * (__gconv_compare_alias): Use __gconv_load_conf instead of
9554 * (__gconv_find_transform): Likewise.
9555 * iconv/tst-iconv-mt.c: New test.
9556 * iconv/Makefile: Add tst-iconv_mt.
9558 2018-10-17 Joseph Myers <joseph@codesourcery.com>
9560 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9562 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
9563 (shmatt_t): Define as __syscall_ulong_t.
9564 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
9565 and [__SHM_PAD_AFTER_TIME].
9566 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
9567 Define shm_segsz and associated padding based on
9568 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
9569 Use __syscall_ulong_t instead of unsigned long int.
9570 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
9572 [__USE_MISC] (struct shm_info): Likewise.
9573 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
9574 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
9575 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
9576 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
9577 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
9578 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9579 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
9580 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
9581 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9582 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9583 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9587 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
9588 (SHMLBA): Remove macro.
9589 (__getpagesize): Remove function declaration.
9590 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
9592 (SHMLBA): Remove macro.
9593 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
9595 (SHMLBA): Remove macro.
9596 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
9598 (SHMLBA): Remove macro.
9599 (__getpagesize): Remove function declaration.
9600 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
9602 (SHMLBA): Remove macro.
9603 (__getshmlba): Remove function declaration.
9604 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
9605 (SHMLBA): Remove macro.
9606 (__getpagesize): Remove function declaration.
9607 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
9608 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
9609 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9610 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
9611 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
9612 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
9613 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
9614 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
9615 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
9616 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
9618 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
9621 * nptl/tst-mutex10.c: New File.
9622 * nptl/Makefile (tests): Add tst-mutex10.
9623 (tst-mutex10-ENV): New variable.
9624 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
9625 Ensure that elision path is used if elision is available.
9626 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
9628 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
9630 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
9631 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
9632 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
9633 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
9635 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
9636 (__pthread_mutex_cond_lock_adjust): Likewise.
9637 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9639 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
9640 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9641 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9642 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
9644 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9645 Use atomic_load_relaxed and atomic_store_relaxed.
9646 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
9647 Use atomic_store_relaxed.
9649 2018-10-17 Andreas Schwab <schwab@suse.de>
9651 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
9652 * crypt/badsalttest.c (TIMEOUT): Likewise.
9653 * crypt/sha256c-test.c (TIMEOUT): Likewise.
9654 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
9655 * io/test-lfs.c (TIMEOUT): Likewise.
9656 * libio/tst-atime.c (TIMEOUT): Likewise.
9657 * localedata/tst-leaks.c (TIMEOUT): Likewise.
9658 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
9659 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
9660 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
9661 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
9662 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
9663 * nptl/tst-cond11.c (TIMEOUT): Likewise.
9664 * nptl/tst-cond14.c (TIMEOUT): Likewise.
9665 * nptl/tst-cond15.c (TIMEOUT): Likewise.
9666 * nptl/tst-cond24.c (TIMEOUT): Likewise.
9667 * nptl/tst-cond25.c (TIMEOUT): Likewise.
9668 * nptl/tst-kill2.c (TIMEOUT): Likewise.
9669 * nptl/tst-kill3.c (TIMEOUT): Likewise.
9670 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
9671 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
9672 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
9673 * nptl/tst-once2.c (TIMEOUT): Likewise.
9674 * nptl/tst-once3.c (TIMEOUT): Likewise.
9675 * nptl/tst-once4.c (TIMEOUT): Likewise.
9676 * nptl/tst-robust8.c (TIMEOUT): Likewise.
9677 * nptl/tst-robust9.c (TIMEOUT): Likewise.
9678 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
9679 * nptl/tst-sem14.c (TIMEOUT): Likewise.
9680 * nptl/tst-sem6.c (TIMEOUT): Likewise.
9681 * nptl/tst-signal3.c (TIMEOUT): Likewise.
9682 * nptl/tst-spin4.c (TIMEOUT): Likewise.
9683 * nptl/tst-tls3.c (TIMEOUT): Likewise.
9684 * nptl/tst-tls4.c (TIMEOUT): Likewise.
9685 * posix/tst-chmod.c (TIMEOUT): Likewise.
9686 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
9687 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
9688 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
9689 * posix/tst-regex2.c (TIMEOUT): Likewise.
9690 * posix/tst-waitid.c (TIMEOUT): Likewise.
9691 * rt/tst-aio.c (TIMEOUT): Likewise.
9692 * rt/tst-aio10.c (TIMEOUT): Likewise.
9693 * rt/tst-aio4.c (TIMEOUT): Likewise.
9694 * rt/tst-aio5.c (TIMEOUT): Likewise.
9695 * rt/tst-aio6.c (TIMEOUT): Likewise.
9696 * rt/tst-aio64.c (TIMEOUT): Likewise.
9697 * rt/tst-aio7.c (TIMEOUT): Likewise.
9698 * rt/tst-aio9.c (TIMEOUT): Likewise.
9699 * rt/tst-clock.c (TIMEOUT): Likewise.
9700 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
9701 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
9702 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
9703 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
9704 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
9705 * rt/tst-timer4.c (TIMEOUT): Likewise.
9706 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
9707 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
9708 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
9709 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
9710 * time/tst-ftime.c (TIMEOUT): Likewise.
9711 * timezone/tst-tzset.c (TIMEOUT): Likewise.
9713 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
9715 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
9716 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
9719 2018-10-15 Joseph Myers <joseph@codesourcery.com>
9721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9723 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
9724 instead of <bits/wordsize.h>.
9725 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
9726 and [__SEM_PAD_AFTER_TIME].
9727 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
9728 __syscall_ulong_t instead of unsigned long int.
9729 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
9730 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
9731 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
9732 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
9733 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
9734 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
9735 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
9736 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
9737 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9738 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9739 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9741 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
9743 regex: simplify by using intprops.h
9745 * posix/regex_internal.h [_LIBC]: Include intprops.h.
9746 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
9747 intprops.h defines them.
9749 regex: __builtin_expect → __glibc_unlikely
9751 This refactoring was prompted by a problem when the regex code is
9752 used as part of Gnulib and when the builder’s compiler does not grok
9753 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
9754 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
9755 Although this refactoring does not fix the problem directly,
9756 we might as well have Gawk use the now-preferred glibc style for when
9757 __builtin_expect is unavailable.
9758 * posix/regex_internal.h (BE): Remove.
9759 All uses replaced by __glibc_unlikely or __glibc_likely.
9761 2018-10-11 Joseph Myers <joseph@codesourcery.com>
9763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9765 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
9766 instead of <bits/wordsize.h>.
9767 (msgqnum_t): Define as __syscall_ulong_t.
9768 (msglen_t): Likewise.
9769 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
9770 and [__MSQ_PAD_AFTER_TIME].
9771 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
9772 __syscall_ulong_t instead of unsigned long int.
9773 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
9774 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
9775 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
9776 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
9777 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
9778 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
9779 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
9780 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
9781 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9782 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9783 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9785 2018-10-10 Joseph Myers <joseph@codesourcery.com>
9787 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
9788 (struct shmid_ds): Condition padding after time fields on
9790 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
9791 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
9792 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9794 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
9795 (struct semid_ds): Condition padding after time fields on
9797 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
9798 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
9799 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
9800 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9802 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
9803 (struct msqid_ds): Condition padding after time fields on
9805 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
9806 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
9807 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
9808 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9810 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9812 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
9814 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9816 * libio/tst-readline.c (TIMEOUT): Define.
9818 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
9820 mktime fix for Gnulib + coreutils
9822 This fix affects only Gnulib. Problem discovered when
9823 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
9825 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
9826 Do not define since it is not used. Defining an unused static
9827 function prompts a warning from GCC when Coreutils is configured
9828 with --enable-gcc-warnings.
9830 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9832 * benchtests/scripts/compare_bench.py (main): set float type on
9835 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
9838 * localedata/locales/kl_GL (mon): Update, the relative case.
9839 (alt_mon): Add, fill with month names in the nominative case.
9840 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
9841 (d_fmt): Set to "%b %d %Y".
9843 2018-10-04 Joseph Myers <joseph@codesourcery.com>
9845 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
9846 <bits/mman-linux.h>.
9847 (PROT_READ): Don't define here.
9848 (PROT_WRITE): Likewise.
9849 (PROT_EXEC): Likewise.
9850 (PROT_NONE): Likewise.
9851 (PROT_GROWSDOWN): Likewise.
9852 (PROT_GROWSUP): Likewise.
9853 (MAP_SHARED): Likewise.
9854 (MAP_PRIVATE): Likewise.
9855 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
9856 [__USE_MISC] (MAP_FILE): Likewise.
9857 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
9858 [__USE_MISC] (MAP_ANON): Likewise.
9859 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
9860 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
9861 (MCL_CURRENT): Likewise.
9862 (MCL_FUTURE): Likewise.
9863 (MCL_ONFAULT): Likewise.
9864 [__USE_MISC] (MADV_NORMAL): Likewise.
9865 [__USE_MISC] (MADV_RANDOM): Likewise.
9866 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
9867 [__USE_MISC] (MADV_WILLNEED): Likewise.
9868 [__USE_MISC] (MADV_DONTNEED): Likewise.
9869 [__USE_MISC] (MADV_FREE): Likewise.
9870 [__USE_MISC] (MADV_REMOVE): Likewise.
9871 [__USE_MISC] (MADV_DONTFORK): Likewise.
9872 [__USE_MISC] (MADV_DOFORK): Likewise.
9873 [__USE_MISC] (MADV_HWPOISON): Likewise.
9874 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
9875 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
9876 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
9877 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
9878 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
9879 (__MAP_ANONYMOUS): New macro.
9880 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
9881 <bits/mman-linux.h> inclusion.
9882 (MAP_FIXED): Likewise.
9883 (MS_SYNC): Likewise.
9884 (MS_ASYNC): Likewise.
9885 (MS_INVALIDATE): Likewise.
9886 [__USE_MISC] (MADV_MERGEABLE): Likewise.
9887 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
9888 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
9889 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
9890 [__USE_MISC] (MADV_DONTDUMP): Likewise.
9891 [__USE_MISC] (MADV_DODUMP): Likewise.
9892 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
9893 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
9896 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
9898 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
9899 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
9900 Add test-nldbl-redirect.
9901 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
9902 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
9903 $(objpfx)libnldbl_nonshared.a.
9905 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
9907 * support/support.h (support_objdir_elf_ldso): New variable.
9908 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
9909 * support/Makefile (CFLAGS-support_paths.c): Add definition
9910 for OBJDIR_ELF_LDSO_PATH.
9911 * support/test-container.c (main): Search for the ld.so
9912 which is also used by the testsuite.
9914 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
9917 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
9918 should be "sap" rather than "sab".
9919 (day): Fix spelling of Sunday, should be "sapaat" rather than
9922 2018-10-02 Joseph Myers <joseph@codesourcery.com>
9924 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9926 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
9929 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
9930 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
9931 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
9933 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9935 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
9937 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
9939 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
9941 (CFLAGS-elision-unlock.c): Likewise.
9942 (CFLAGS-elision-timed.c): Likewise.
9943 (CFLAGS-elision-trylock.c): Likewise.
9944 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
9946 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9949 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
9950 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
9951 new fd_to_filename interface.
9952 * libio/freopen64.c (freopen64): Likewise.
9953 * libio/tst-memstream.h: New file.
9954 * libio/tst-memstream4.c: Likewise.
9955 * libio/tst-wmemstream4.c: Likewise.
9956 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
9957 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
9958 and remove internal dynamic allocation.
9960 2018-10-01 Joseph Myers <joseph@codesourcery.com>
9962 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
9963 (MREMAP_MAYMOVE): Do not define here.
9964 [__USE_GNU] (MREMAP_FIXED): Likewise.
9965 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
9966 (MREMAP_MAYMOVE): Define here instead.
9967 [__USE_GNU] (MREMAP_FIXED): Likewise.
9968 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
9969 (MREMAP_MAYMOVE): Remove.
9970 [__USE_GNU] (MREMAP_FIXED): Likewise.
9972 2018-09-28 Joseph Myers <joseph@codesourcery.com>
9974 * math/fromfp.h: Do not include <math_private.h>.
9975 * math/s_cacosh_template.c: Likewise.
9976 * math/s_casin_template.c: Likewise.
9977 * math/s_casinh_template.c: Likewise.
9978 * math/s_ccos_template.c: Likewise.
9979 * math/s_cproj_template.c: Likewise.
9980 * math/s_fdim_template.c: Likewise.
9981 * math/s_fmaxmag_template.c: Likewise.
9982 * math/s_fminmag_template.c: Likewise.
9983 * math/s_iseqsig_template.c: Likewise.
9984 * math/s_ldexp_template.c: Likewise.
9985 * math/s_nextdown_template.c: Likewise.
9986 * math/w_log1p_template.c: Likewise.
9987 * math/w_scalbln_template.c: Likewise.
9988 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9989 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9990 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9991 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9992 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
9993 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
9994 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
9995 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
9996 * sysdeps/i386/fpu/s_atanl.c: Likewise.
9997 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
9998 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9999 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10000 * sysdeps/i386/fpu/s_logbl.c: Likewise.
10001 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10002 * sysdeps/i386/fpu/s_significandl.c: Likewise.
10003 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
10004 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
10005 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10006 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10007 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10008 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10009 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10010 * sysdeps/ieee754/k_standardf.c: Likewise.
10011 * sysdeps/ieee754/k_standardl.c: Likewise.
10012 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10013 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10014 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
10015 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10016 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10017 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10018 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10019 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10020 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10021 * sysdeps/ieee754/s_signgam.c: Likewise.
10022 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10023 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
10024 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
10025 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10026 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10027 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10028 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10029 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10030 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10031 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10032 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10033 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10034 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10035 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10036 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10037 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10038 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10039 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10040 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10041 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10042 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10043 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10044 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10045 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10046 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10047 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10048 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10049 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10050 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10051 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10052 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10053 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10054 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10055 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10056 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10057 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10058 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
10060 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10062 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
10065 * sysdeps/i386/dl-cet.c: Removed.
10066 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
10068 (_dl_runtime_profile_shstk): Likewise.
10069 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
10070 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
10072 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10075 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
10076 do_test_with_invalid_iov): New tests.
10077 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
10078 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
10079 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
10081 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
10082 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
10083 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
10085 2018-09-27 Joseph Myers <joseph@codesourcery.com>
10087 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10088 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
10089 (MATH_REDIRECT_BINARY_ARGS): New macro.
10090 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10091 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
10092 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
10094 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
10095 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10096 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
10097 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10098 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10099 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10100 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
10105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
10107 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
10108 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
10109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
10111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
10113 * sysdeps/generic/math_private_calls.h
10114 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
10115 Do not declare and define as an inline function.
10116 * math/divtc3.c (__divtc3): Use copysign functions instead of
10117 __copysign variants.
10118 * math/multc3.c (__multc3): Likewise.
10119 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
10120 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
10121 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10122 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10124 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10125 (__ieee754_yn): Likewise.
10126 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10127 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
10128 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10129 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10130 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
10132 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10133 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10135 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10137 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10139 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10140 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10142 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10143 (__ieee754_ynf): Likewise.
10144 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10145 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10146 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10147 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10149 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10150 (__ieee754_ynl): Likewise.
10151 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10152 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10153 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10155 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10156 (__ieee754_ynl): Likewise.
10157 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
10158 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10159 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10160 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10162 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10164 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
10165 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10166 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
10167 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10168 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10170 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10171 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
10172 using MATH_REDIRECT.
10173 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
10175 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
10176 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10177 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10178 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
10179 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10180 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10181 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
10183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
10184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
10185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
10186 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10187 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10188 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10189 (round): Redirect to __round.
10190 (__roundl): Call round instead of __round.
10191 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
10193 [_ARCH_PWR5X] (__roundf): Likewise.
10194 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
10195 functions instead of __round variants.
10196 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10197 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10199 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10201 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10203 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
10204 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
10206 (__ieee754_expl): Call roundl instead of __roundl.
10208 2018-09-27 Andreas Schwab <schwab@suse.de>
10211 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
10212 (do_test): Make st1 static.
10214 2018-09-26 Andreas Schwab <schwab@suse.de>
10217 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
10218 * elf/Makefile (tests): Add tst-unwind-ctor.
10219 (modules-names): Add tst-unwind-ctor-lib.
10220 ($(objpfx)tst-unwind-ctor): Depend on
10221 $(objpfx)tst-unwind-ctor-lib.so.
10223 2018-09-26 Joseph Myers <joseph@codesourcery.com>
10225 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
10226 file. Most contents moved from ....
10227 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
10228 and include <bits/mman-map-flags-generic.h>.
10229 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10230 (sysdep_headers): Add bits/mman-map-flags-generic.h.
10231 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
10232 <bits/mman-map-flags-generic.h>.
10233 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
10234 macros defined in <bits/mman-map-flags-generic.h>.
10235 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
10236 <bits/mman-map-flags-generic.h>.
10237 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
10238 defined in <bits/mman-map-flags-generic.h>.
10240 2018-09-26 Andreas Schwab <schwab@suse.de>
10242 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
10245 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
10246 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10247 Fangrui Song <maskray@google.com>
10250 * config.make.in (have-textrel_ifunc): New define.
10251 * configure.ac: Add check if linker supports textrel relocation with
10253 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
10255 (CFLAGS-tst-ifunc-textrel.c): New rule.
10256 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
10257 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
10258 * elf/tst-ifunc-textrel.c: New file.
10260 2018-09-25 Joseph Myers <joseph@codesourcery.com>
10262 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10263 <bits/procfs-prregset.h>.
10264 (prgregset_t): Define using __prgregset_t.
10265 (prfpregset_t): Define using __prfpregset_t.
10266 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10267 (sysdep_headers): Add bits/procfs-prregset.h.
10268 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
10269 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
10270 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
10271 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
10273 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10274 <bits/procfs-id.h> and <bits/procfs-extra.h>.
10275 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
10277 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10278 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
10279 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
10280 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
10281 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
10282 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
10283 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
10284 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
10285 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
10286 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
10287 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
10288 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
10289 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
10290 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
10291 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
10292 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
10293 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
10294 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
10295 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
10296 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
10297 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
10298 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
10299 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10300 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
10302 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
10303 AArch64 version. Include <bits/procfs.h>.
10304 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10305 (sysdep_headers): Add bits/procfs.h.
10306 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
10307 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
10308 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
10309 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
10310 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
10311 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
10312 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
10313 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
10314 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
10315 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
10316 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
10317 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
10318 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
10319 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
10320 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
10321 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
10322 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
10324 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10326 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
10329 2018-09-25 Arjun Shankar <arjun@redhat.com>
10331 * iconv/gconv_int.h (__gconv_path_elem): Remove.
10332 (__gconv_max_path_elem_len): Likewise.
10333 (__gconv_nmodules): Likewise.
10334 (__gconv_get_path): Likewise.
10335 (path_elem): Move to ...
10336 * iconv/gconv_conf.c: ... here.
10337 (__gconv_get_path): Mark function static.
10338 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
10339 * iconv/gconv_open.c: ... here.
10341 2018-09-24 Andreas Schwab <schwab@suse.de>
10343 * scripts/haveversions.awk: New file.
10344 * Makerules ($(common-objpfx)Versions.def)
10345 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10346 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10348 * Makeconfig ($(common-objpfx)Versions.def)
10349 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10350 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10352 ($(common-objpfx)Versions.mk): New rule. Include it.
10353 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
10354 Emit error if build-obsolete-nsl = yes.
10355 * manual/install.texi (Configuring and compiling): Describe
10356 --enable-obsolete-nsl as unavaiable after version 2.28.
10357 * INSTALL: Regenerate.
10359 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10361 * NEWS: Add note about new TLE support on powerpc64le.
10362 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
10363 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
10365 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
10366 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
10367 * sysdeps/powerpc/powerpc32/sysdep.h,
10368 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
10369 ABORT_TRANSACTION): Remove macros.
10370 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
10371 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
10372 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
10373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
10374 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10375 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
10377 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
10379 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
10382 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
10383 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
10384 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
10385 which is the same as in it_IT.
10386 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
10387 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
10389 2018-09-20 Joseph Myers <joseph@codesourcery.com>
10391 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10392 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
10393 using MATH_REDIRECT.
10394 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
10396 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
10397 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10398 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
10399 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10400 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10401 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
10403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
10404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
10405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
10406 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10407 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10408 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10409 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10410 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
10411 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
10412 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
10413 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10414 (ceil): Redirect to __ceil.
10415 (floor): Redirect to __floor.
10416 (trunc): Redirect to __trunc.
10417 (__truncl): Call trunc instead of __trunc.
10418 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
10420 [_ARCH_PWR5X] (__truncf): Likewise.
10421 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
10422 trunc functions instead of __trunc variants.
10423 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10425 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10427 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10429 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10432 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
10433 [__i586__ || __pentium__].
10434 [__i486__]: Handle explicitly.
10435 (HAS_CPUID): Define to 1 if above macros are undefined.
10436 (HAS_I586): Likewise.
10437 (HAS_I686): Likewise.
10439 2018-09-20 Florian Weimer <fweimer@redhat.com>
10441 * misc/tst-gethostid.c: New file.
10442 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
10443 (tst-gethostid): Link with -ldl.
10445 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
10447 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
10448 value from gethostbyname_r.
10450 2018-09-19 Carlos O'Donell <carlos@redhat.com>
10452 * stdlib/tst-setcontext9.c (f1): Rename to...
10454 (f1b): New function implementing lower half of f1 in alternate stack.
10456 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
10458 Fix mktime localtime offset confusion
10460 * include/time.h (__mktime_internal): The localtime offset is now
10461 of type long int instead of time_t. This is the longstanding type
10462 in glibc, and it is more than enough to represent difference
10463 between localtime and gmtime even if it is 32 bits and time_t is
10464 64. Changing it now will let us avoid an unnecessary change when
10465 time_t is widened to 64 bits on 32-bit platforms.
10466 * time/mktime-internal.h (mktime_offset_t): Now long int.
10468 Merge mktime, timegm from upstream Gnulib
10469 [BZ #23603][BZ #16346]
10470 This fixes some obscure problems with integer overflow.
10471 Although it looks scary, it is almost all a byte-for-byte copy
10472 from Gnulib, and the Gnulib code has been tested reasonably well.
10473 * include/intprops.h: New file, copied from Gnulib.
10474 * include/verify.h, time/mktime-internal.h:
10475 New tiny files, simplified from Gnulib.
10476 * time/mktime.c: Copy from Gnulib. This has the following changes:
10477 Do not include config.h if DEBUG_MKTIME is nonzero.
10478 Include stdbool.h, intprops.h, verify.h.
10479 Include string.h only if needed.
10480 Include stdlib.h on MS-Windows.
10481 Include mktime-internal.h.
10482 (DEBUG_MKTIME): Default to 0, and simplify later uses.
10483 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
10484 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
10485 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
10486 simplify later conditionals; default the others to zero. Use
10487 these conditionals to express only the code needed on the current
10488 platform. In uses of these conditionals, explicitly spell out how
10489 _LIBC affects things, so it’s easier to review from a glibc
10491 (WRAPV): Remove; no longer needed now that we have
10492 systematic overflow checking.
10493 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
10494 compartmentalize tzset issues. Move system-dependent tzsettish
10495 code here from mktime.
10496 (verify): Remove; now done by verify.h. All uses changed.
10497 (long_int): Use a more-conservative definition, to avoid
10499 (SHR): Remove, replacing with ...
10500 (shr): New function, which means we needn’t worry about side
10501 effects in args, and conversion analysis is simpler.
10502 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
10503 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
10504 (time_t_avg, time_t_add_ok): Remove.
10505 (mktime_min, mktime_max): New constants.
10506 (leapyear, isdst_differ): Use bool for booleans.
10507 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
10508 Use long_int, not time_t, for mktime differences.
10509 (long_int_avg): New function, replacing time_t_avg.
10510 INT_ADD_WRAPV replaces time_t_add_ok.
10511 (guess_time_tm): 6th arg is now long_int, not time_t const *.
10513 (convert_time): New function.
10514 (ranged_convert): Use it.
10515 (__mktime_internal): Last arg now points to mktime_offset_t, not
10516 time_t. All uses changed. This is a no-op on glibc, where
10517 mktime_offset_t is always time_t. Use int, not time_t, for UTC
10518 offset guess. Directly check for integer overflow instead of
10519 using a heuristic that works only 99.9...% of the time.
10520 Access *OFFSET only once, to avoid an unlikely race if the
10521 compiler delays a load and if this cascades into a signed integer
10523 (mktime): Move tzsettish code to my_tzset, and move
10524 localtime_offset to within mktime so that it doesn’t
10525 need a separate ifdef.
10526 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
10527 instead of localtime.
10528 * time/timegm.c: Copy from Gnulib. This has the following changes:
10529 Include mktime-internal.h.
10530 [!_LIBC]: Include config.h and time.h. Do not include
10531 timegm.h or time_r.h. Make __mktime_internal a macro,
10532 and include mktime-internal.h to get its declaration.
10533 (timegm): Temporary is now mktime_offset_t, not time_t.
10534 This affects only Gnulib.
10536 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10539 * string/test-strstr.c (pr23637): New function.
10540 (test_main): Add tests with longer needles.
10541 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
10542 * string/strstr.c (AVAILABLE): Likewise.
10544 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10546 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
10548 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10550 * NEWS: Mention pow improvements.
10551 * math/Makefile (type-double-routines): Add e_pow_log_data.
10552 * sysdeps/generic/math_private.h (__exp1): Remove.
10553 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
10554 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
10555 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
10557 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
10558 (exp_inline): Remove.
10559 (__ieee754_exp): Only single double input is handled.
10560 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
10561 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
10562 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
10563 (__pow_log_data): Define.
10564 * sysdeps/ieee754/dbl-64/upow.h: Remove.
10565 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
10566 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
10567 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
10569 (CFLAGS-e_pow-fma4.c): Likewise.
10571 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
10573 Simplify tzfile fstat failure code
10575 * time/tzfile.c (__tzfile_read): Simplify slightly.
10577 Fix tzfile low-memory assertion failure
10579 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
10580 when registering time zone abbreviations.
10582 2018-09-18 Joseph Myers <joseph@codesourcery.com>
10584 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
10585 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
10586 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10587 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10588 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
10589 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
10590 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
10591 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10592 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10594 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
10596 (__ceill): Call ceil instead of __ceil.
10597 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
10599 (__floorl): Call floor instead of __floor.
10601 2018-09-17 Joseph Myers <joseph@codesourcery.com>
10603 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10604 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
10605 using MATH_REDIRECT.
10606 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
10608 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
10609 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10610 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10611 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
10612 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10613 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10614 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10615 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
10616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
10617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
10618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
10619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
10620 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10621 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10624 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
10625 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
10626 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
10628 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
10629 functions instead of __ceil variants.
10630 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10631 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10633 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10635 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10636 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10638 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10639 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10642 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
10644 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
10645 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
10646 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
10647 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
10648 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
10649 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
10650 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
10651 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
10652 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
10653 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
10654 (ILL_BADIADDR): Remove constant.
10655 (TRAP_BRANCH): Likewise.
10656 (TRAP_HWBKPT): Likewise.
10658 2018-09-14 Joseph Myers <joseph@codesourcery.com>
10661 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
10662 Remove [_MIPS_SIM = _ABIN32] conditional case.
10663 (struct elf_prpsinfo): Likewise.
10666 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
10667 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
10668 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
10670 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
10671 elf_prpsinfo): Likewise.
10672 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
10673 elf_prpsinfo): Likewise.
10674 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
10677 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10678 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
10679 using MATH_REDIRECT.
10680 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
10682 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
10683 * sysdeps/alpha/fpu/s_rint.c: Likewise.
10684 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
10685 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10686 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10687 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10688 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
10689 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10690 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10691 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10692 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
10693 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
10694 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
10695 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
10696 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
10697 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10698 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10699 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
10700 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
10702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
10703 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
10704 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
10705 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10706 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10707 * sysdeps/x86_64/fpu/math_private.h: Remove file.
10708 * math/e_scalb.c (invalid_fn): Use rint functions instead of
10710 * math/e_scalbf.c (invalid_fn): Likewise.
10711 * math/e_scalbl.c (invalid_fn): Likewise.
10712 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10714 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10716 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10717 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
10718 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10720 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10722 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10724 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
10725 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
10727 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10728 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
10730 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10731 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
10732 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10733 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
10734 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10735 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
10736 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10737 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
10738 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10739 && !NO_MATH_REDIRECT] (floor): Likewise.
10740 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
10742 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
10743 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10744 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10745 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
10746 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10747 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10748 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10749 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
10750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
10751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
10752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
10753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
10754 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10755 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10758 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10759 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10760 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
10762 [_ARCH_PWR5X] (__floorf): Likewise.
10763 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
10765 [__SSE4_1__] (__floorf): Likewise.
10766 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
10767 instead of __floor variants.
10768 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
10769 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
10770 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
10771 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
10772 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
10773 * math/w_tgamma_compat.c (__tgamma): Likewise.
10774 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
10775 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
10776 * math/w_tgammal_compat.c (__tgammal): Likewise.
10777 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
10778 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10780 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10781 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
10782 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10783 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10785 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10786 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
10788 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10789 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
10791 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10792 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
10794 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10795 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10796 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10797 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
10798 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10799 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10801 2018-09-12 Joseph Myers <joseph@codesourcery.com>
10803 * elf/Makefile (modules-names-tests): New variable.
10805 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10807 * NEWS: Mention log2 improvements.
10808 * math/Makefile (type-double-routines): Add e_log2_data.
10809 * sysdeps/i386/fpu/e_log2_data.c: New file.
10810 * sysdeps/ia64/fpu/e_log2_data.c: New file.
10811 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
10812 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
10813 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
10814 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
10815 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
10817 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10819 * NEWS: Mention log improvement.
10820 * math/Makefile (type-double-routines): Add e_log_data.
10821 * sysdeps/i386/fpu/e_log_data.c: New file.
10822 * sysdeps/ia64/fpu/e_log_data.c: New file.
10823 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
10824 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
10825 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
10826 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
10827 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
10828 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
10830 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
10831 Xuepeng Guo <xuepeng.guo@intel.com>
10834 * sysdeps/i386/start.S: Include <sysdep.h>
10835 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
10836 enabled. Add cfi_undefined (eip).
10838 2018-09-11 Joseph Myers <joseph@codesourcery.com>
10840 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
10842 (EXTRACT_WORDS64): Likewise.
10843 (INSERT_WORDS64): Likewise.
10844 (GET_FLOAT_WORD): Likewise.
10845 (SET_FLOAT_WORD): Likewise.
10847 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
10849 (Config.build_gcc): Use --disable-libsanitizer for first GCC
10850 build, but not for second build if --full-gcc. Use
10851 --enable-languages=all for second build if --full-gcc.
10852 (get_parser): Add --full-gcc option.
10853 (main): Update call to Context.
10855 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
10858 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
10859 Single Quotation Mark).
10860 (thousands_sep): Likewise.
10861 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
10862 * localedata/locales/it_IT (thousands_sep): Use ".".
10863 (grouping): Use "3;3".
10865 2018-09-10 Joseph Myers <joseph@codesourcery.com>
10867 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10868 x86_64 and i686 configs using --enable-obsolete-rpc
10869 --enable-obsolete-nsl.
10871 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10873 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10875 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10877 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
10878 Increment size of new_argv by one.
10880 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
10883 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
10884 * localedata/locales/ar_IN (d_fmt): Likewise.
10885 * localedata/locales/bhb_IN (d_fmt): Likewise.
10886 * localedata/locales/bho_IN (d_fmt): Likewise.
10887 * localedata/locales/bn_BD (d_fmt): Likewise.
10888 * localedata/locales/bn_IN (d_fmt): Likewise.
10889 * localedata/locales/doi_IN (d_fmt): Likewise.
10890 * localedata/locales/gu_IN (d_fmt): Likewise.
10891 * localedata/locales/hi_IN (d_fmt): Likewise.
10892 * localedata/locales/hne_IN (d_fmt): Likewise.
10893 * localedata/locales/kn_IN (d_fmt): Likewise.
10894 * localedata/locales/mag_IN (d_fmt): Likewise.
10895 * localedata/locales/mai_IN (d_fmt): Likewise.
10896 * localedata/locales/mjw_IN (d_fmt): Likewise.
10897 * localedata/locales/ml_IN (d_fmt): Likewise.
10898 * localedata/locales/mni_IN (d_fmt): Likewise.
10899 * localedata/locales/mr_IN (d_fmt): Likewise.
10900 * localedata/locales/pa_IN (d_fmt): Likewise.
10901 * localedata/locales/raj_IN (d_fmt): Likewise.
10902 * localedata/locales/sat_IN (d_fmt): Likewise.
10903 * localedata/locales/sd_IN (d_fmt): Likewise.
10904 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
10905 * localedata/locales/ta_IN (d_fmt): Likewise.
10906 * localedata/locales/ta_LK (d_fmt): Likewise.
10907 * localedata/locales/tcy_IN (d_fmt): Likewise.
10908 * localedata/locales/ur_IN (d_fmt): Likewise.
10910 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
10911 * localedata/locales/ks_IN (d_fmt): Likewise.
10912 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
10914 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
10915 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
10916 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
10917 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
10919 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
10921 * NEWS: Mention exp and exp2 improvements.
10922 * math/Makefile (libm-support): Remove t_exp.
10923 (type-double-routines): Add math_err and e_exp_data.
10924 * sysdeps/aarch64/libm-test-ulps: Update.
10925 * sysdeps/arm/libm-test-ulps: Update.
10926 * sysdeps/i386/fpu/e_exp_data.c: New file.
10927 * sysdeps/i386/fpu/math_err.c: New file.
10928 * sysdeps/i386/fpu/t_exp.c: Remove.
10929 * sysdeps/ia64/fpu/e_exp_data.c: New file.
10930 * sysdeps/ia64/fpu/math_err.c: New file.
10931 * sysdeps/ia64/fpu/t_exp.c: Remove.
10932 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
10933 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
10934 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
10935 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
10936 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
10937 * sysdeps/ieee754/dbl-64/math_config.h: New file.
10938 * sysdeps/ieee754/dbl-64/math_err.c: New file.
10939 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
10940 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
10941 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
10942 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
10943 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
10944 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
10945 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
10946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10949 2018-09-05 Joseph Myers <joseph@codesourcery.com>
10951 * sysdeps/alpha/fpu/math_private.h: Remove.
10953 * sysdeps/generic/math_private.h
10954 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
10955 Move this inline function ....
10956 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
10957 * include/math.h [!_ISOMAC]: To here....
10959 2018-09-04 Joseph Myers <joseph@codesourcery.com>
10961 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
10963 [!FE_HAVE_ROUNDING_MODES]: And this code ....
10964 * include/fenv.h [!_ISOMAC]: ... to here.
10965 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
10966 (feraiseexcept): Likewise.
10967 * math/fromfp.h: Do not include <fenv_private.h>.
10968 * math/s_cexp_template.c: Likewise.
10969 * math/s_csin_template.c: Likewise.
10970 * math/s_csinh_template.c: Likewise.
10971 * math/s_ctan_template.c: Likewise.
10972 * math/s_ctanh_template.c: Likewise.
10973 * math/s_iseqsig_template.c: Likewise.
10974 * math/w_acos_compat.c: Likewise.
10975 * math/w_acosf_compat.c: Likewise.
10976 * math/w_acosl_compat.c: Likewise.
10977 * math/w_asin_compat.c: Likewise.
10978 * math/w_asinf_compat.c: Likewise.
10979 * math/w_asinl_compat.c: Likewise.
10980 * math/w_j0_compat.c: Likewise.
10981 * math/w_j0f_compat.c: Likewise.
10982 * math/w_j0l_compat.c: Likewise.
10983 * math/w_j1_compat.c: Likewise.
10984 * math/w_j1f_compat.c: Likewise.
10985 * math/w_j1l_compat.c: Likewise.
10986 * math/w_jn_compat.c: Likewise.
10987 * math/w_jnf_compat.c: Likewise.
10988 * math/w_log10_compat.c: Likewise.
10989 * math/w_log10f_compat.c: Likewise.
10990 * math/w_log10l_compat.c: Likewise.
10991 * math/w_log2_compat.c: Likewise.
10992 * math/w_log2f_compat.c: Likewise.
10993 * math/w_log2l_compat.c: Likewise.
10994 * math/w_log_compat.c: Likewise.
10995 * math/w_logf_compat.c: Likewise.
10996 * math/w_logl_compat.c: Likewise.
10997 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10998 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10999 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11000 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11001 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11002 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11003 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11004 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11005 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11006 * sysdeps/ieee754/k_standardl.c: Likewise.
11007 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11008 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11009 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11010 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11011 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11012 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11013 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11014 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11015 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11016 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11017 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11018 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11019 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11020 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11021 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11022 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11023 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11024 * math/w_ilogb_template.c: Include <fenv.h> instead of
11026 * math/w_llogb_template.c: Likewise.
11027 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11028 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11030 2018-09-03 Joseph Myers <joseph@codesourcery.com>
11032 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
11033 * math/fromfp.h: Include <fenv_private.h>.
11034 * math/math-narrow.h: Likewise.
11035 * math/s_cexp_template.c: Likewise.
11036 * math/s_csin_template.c: Likewise.
11037 * math/s_csinh_template.c: Likewise.
11038 * math/s_ctan_template.c: Likewise.
11039 * math/s_ctanh_template.c: Likewise.
11040 * math/s_iseqsig_template.c: Likewise.
11041 * math/w_acos_compat.c: Likewise.
11042 * math/w_acosf_compat.c: Likewise.
11043 * math/w_acosl_compat.c: Likewise.
11044 * math/w_asin_compat.c: Likewise.
11045 * math/w_asinf_compat.c: Likewise.
11046 * math/w_asinl_compat.c: Likewise.
11047 * math/w_ilogb_template.c: Likewise.
11048 * math/w_j0_compat.c: Likewise.
11049 * math/w_j0f_compat.c: Likewise.
11050 * math/w_j0l_compat.c: Likewise.
11051 * math/w_j1_compat.c: Likewise.
11052 * math/w_j1f_compat.c: Likewise.
11053 * math/w_j1l_compat.c: Likewise.
11054 * math/w_jn_compat.c: Likewise.
11055 * math/w_jnf_compat.c: Likewise.
11056 * math/w_llogb_template.c: Likewise.
11057 * math/w_log10_compat.c: Likewise.
11058 * math/w_log10f_compat.c: Likewise.
11059 * math/w_log10l_compat.c: Likewise.
11060 * math/w_log2_compat.c: Likewise.
11061 * math/w_log2f_compat.c: Likewise.
11062 * math/w_log2l_compat.c: Likewise.
11063 * math/w_log_compat.c: Likewise.
11064 * math/w_logf_compat.c: Likewise.
11065 * math/w_logl_compat.c: Likewise.
11066 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11067 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11068 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11069 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11070 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11071 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11072 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11073 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11074 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11075 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11076 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11077 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11078 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
11079 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11080 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11081 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11082 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11083 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11084 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11085 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11086 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11087 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11088 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11089 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11090 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11091 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11092 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11093 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11094 * sysdeps/ieee754/float128/float128_private.h: Likewise.
11095 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11096 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11097 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11098 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11099 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11100 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11101 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11102 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11103 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11104 * sysdeps/ieee754/k_standardl.c: Likewise.
11105 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11106 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11107 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11108 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11111 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11112 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11117 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11118 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11120 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11121 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11124 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11125 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11130 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11131 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11135 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11136 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11137 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11139 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11140 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11141 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11142 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11143 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11144 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11145 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11146 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11147 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11148 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11149 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11150 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11151 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11152 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11153 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11154 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11155 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11156 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11157 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11158 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11159 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11160 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11161 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11162 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11163 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11164 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11165 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11166 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11167 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11168 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11169 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11170 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11171 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11172 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11173 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11174 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11175 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11177 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11180 * include/stdio.h (__libc_fatal): Mention newline in comment.
11181 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
11182 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
11183 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11184 * nss/nsswitch.c (__nss_next2): Likewise.
11185 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
11186 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
11187 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
11188 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11189 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
11190 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
11191 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
11192 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
11193 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
11194 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
11195 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
11196 * sysdeps/unix/sysv/linux/netlink_assert_response.c
11197 (__netlink_assert_response): Likewise.
11199 2018-08-31 Joseph Myers <joseph@codesourcery.com>
11201 * conform/glibcconform.py: New file.
11202 * conform/list-header-symbols.py: Likewise.
11203 * conform/list-header-symbols.pl: Remove.
11204 * conform/Makefile (tests-special): Only add linknamespace tests
11206 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
11208 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
11211 * support/Makefile (libsupport-routines): Add
11212 support_copy_file_range and xcopy_file_range.
11213 * support/support.h: Include <sys/types.h>.
11214 (support_copy_file_range): New prototype.
11215 * support/support_copy_file_range.c: New file. Copied and
11216 modified from io/copy_file_range-compat.c.
11217 * support/test-container.c (copy_one_file): Call xcopy_file_rang
11218 instead of copy_file_range.
11219 * support/xcopy_file_range.c: New file.
11220 * support/xunistd.h (xcopy_file_range): New prototype.
11222 2018-08-30 Carlos O'Donell <carlos@redhat.com>
11224 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
11225 xpthread_create and xpthread_join.
11227 2018-08-30 Florian Weimer <fweimer@redhat.com>
11229 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
11231 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
11233 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
11236 2018-08-29 Joseph Myers <joseph@codesourcery.com>
11238 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
11239 and minus_oflow as non-finite.
11241 2018-08-28 Joseph Myers <joseph@codesourcery.com>
11243 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
11244 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
11245 moved to fenv_private.h except for ...
11246 (TOINT_INTRINSICS): Kept in math_private.h.
11247 (roundtoint): Likewise.
11248 (converttoint): Likewise.
11249 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
11250 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11251 * sysdeps/arm/math_private.h: Remove.
11252 * sysdeps/generic/fenv_private.h: New file. Contents moved from
11254 * sysdeps/generic/math_private.h: ... this file. Include
11255 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
11256 Include <fenv_private.h>. Remove functions and macros moved to
11258 * sysdeps/i386/fpu/math_private.h: Remove.
11259 * sysdeps/mips/math_private.h: Move to ....
11260 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
11261 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
11262 [__mips_hard_float] conditional. Include next <fenv_private.h>.
11263 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
11264 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11265 * sysdeps/powerpc/fpu/math_private.h: Do not include
11267 * sysdeps/riscv/rvf/math_private.h: Move to ....
11268 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
11269 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
11271 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
11272 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11273 * sysdeps/sparc/fpu/math_private.h: Remove.
11274 * sysdeps/i386/fpu/fenv_private.h: Move to ....
11275 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
11276 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
11278 * sysdeps/x86_64/fpu/math_private.h: Do not include
11279 <sysdeps/i386/fpu/fenv_private.h>.
11281 2018-08-28 Florian Weimer <fweimer@redhat.com>
11284 * posix/tst-regcomp-truncated.c: New file.
11285 * posix/Makefile (tests): Add it.
11286 (tst-regcomp-truncated.out): Depend on generated locales.
11288 2018-08-28 Florian Weimer <fweimer@redhat.com>
11290 * support/test-container.c (main): Treat unshare failure with
11291 EPERM as an unsupported test.
11293 2018-08-28 Florian Weimer <fweimer@redhat.com>
11296 nscd: Fix use-after-free in addgetnetgrentX and its callers.
11297 * nscd/netgroupcache.c
11298 (addgetnetgrentX): Add tofreep parameter. Do not free
11299 heap-allocated buffer.
11300 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
11301 (addgetnetgrentX_ignore): New function.
11302 (addgetnetgrent): Call it.
11303 (readdgetnetgrent): Likewise.
11305 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11307 * string/memmem.c: Use memcmp for first match.
11309 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
11312 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
11314 2018-08-27 DJ Delorie <dj@redhat.com>
11316 * support/Makefile (others): Don't list programs explicitly as a
11317 dependency of "others".
11319 2018-08-27 Joseph Myers <joseph@codesourcery.com>
11321 * sysdeps/generic/math-tests-trap-force.h: New file.
11322 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
11323 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
11324 * sysdeps/powerpc/math-tests.h: Remove file.
11325 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
11327 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
11328 Torvald Riegel <triegel@redhat.com>
11331 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
11332 Update r to include the set wake-request flag if waiters are
11333 remaining after spinning.
11335 2018-08-27 Joseph Myers <joseph@codesourcery.com>
11337 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
11339 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
11342 regex: fix uninitialized memory access
11343 I introduced this bug into gnulib in commit
11344 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
11345 eventually it was merged into glibc. The bug was found by
11346 project-repo <bugs@feusi.co> and reported here:
11347 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
11348 Diagnosis and draft fix reported by Assaf Gordon here:
11349 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
11350 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
11351 * posix/regex_internal.c (build_wcs_upper_buffer):
11352 Fix bug when mbrtowc returns 0.
11354 2018-08-24 Carlos O'Donell <carlos@redhat.com>
11356 * po/be.po: Update translation.
11358 2018-08-24 DJ Delorie <dj@delorie.com>
11360 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
11363 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11366 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
11367 create temporary files in source tree.
11369 2018-08-24 Joseph Myers <joseph@codesourcery.com>
11371 * sysdeps/generic/math-tests-trap.h: New file.
11372 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
11373 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
11374 * sysdeps/aarch64/math-tests.h: Remove file.
11375 * sysdeps/arm/math-tests.h: Likewise.
11376 * sysdeps/riscv/math-tests.h: Likewise.
11377 * sysdeps/aarch64/math-tests-trap.h: New file.
11378 * sysdeps/arm/math-tests-trap.h: Likewise.
11379 * sysdeps/riscv/math-tests-trap.h: Likewise.
11381 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
11383 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
11384 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
11385 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
11386 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
11387 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
11388 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
11389 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11390 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
11391 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
11392 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11393 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11394 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11395 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11396 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
11397 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
11398 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
11399 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11400 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11402 2018-08-23 Joseph Myers <joseph@codesourcery.com>
11404 * sysdeps/generic/math-tests-exceptions.h: New file.
11405 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
11406 (EXCEPTION_TESTS_float): Do not define here.
11407 (EXCEPTION_TESTS_double): Likewise.
11408 (EXCEPTION_TESTS_long_double): Likewise.
11409 (EXCEPTION_TESTS_float128): Likewise.
11410 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
11412 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
11413 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
11414 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
11415 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
11416 * sysdeps/mips/math-tests.h: Likewise.
11417 * sysdeps/nios2/math-tests.h: Likewise.
11418 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11419 (EXCEPTION_TESTS_float): Do not define here.
11420 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
11421 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
11422 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
11424 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11426 * NEWS: Move optimized sinf entry to 2.29.
11428 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11430 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
11432 2018-08-22 DJ Delorie <dj@redhat.com>
11434 * Makefile (testroot.pristine): New rules to initialize the
11435 test-in-container "testroot".
11436 * Makerules (all-testsuite): Add tests-container.
11437 * Rules (tests-expected): Add tests-container.
11438 (binaries-all-tests): Likewise.
11439 (tests-container): New, run these tests in the testroot container.
11440 * support/Makefile (others): Add *-container, support_paths.c,
11441 xmkdirp, and links-dso-program.
11442 * support/links-dso-program-c.c: New.
11443 * support/links-dso-program.cc: New.
11444 * support/test-container.c: New.
11445 * support/shell-container.c: New.
11446 * support/echo-container.c: New.
11447 * support/true-container.c: New.
11448 * support/xmkdirp.c: New.
11449 * support/xsymlink.c: New.
11450 * support/support_paths.c: New.
11451 * support/support.h: Add support paths prototypes.
11452 * support/xunistd.h: Add xmkdirp () and xsymlink ().
11454 * nss/tst-nss-test3.c: Convert to test-in-container.
11455 * nss/tst-nss-test3.root/: New.
11457 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
11459 regex: port Gnulib code to z/OS POSIX environment
11460 Problem reported by Arnold Robbins in:
11461 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
11462 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
11465 2018-08-22 Joseph Myers <joseph@codesourcery.com>
11467 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
11468 (ROUNDING_TESTS_double): Remove.
11469 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
11470 (ROUNDING_TESTS_double): Remove.
11471 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
11472 (ROUNDING_TESTS_double): Remove.
11473 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
11474 (ROUNDING_TESTS_float): Remove.
11475 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
11476 (ROUNDING_TESTS_float): Remove.
11477 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
11478 (ROUNDING_TESTS_float): Remove.
11479 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
11480 !TEST_MATHVEC here.
11481 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11482 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11484 * sysdeps/generic/math-tests-rounding.h: New file.
11485 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
11486 (ROUNDING_TESTS_float): Do not define here.
11487 (ROUNDING_TESTS_double): Likewise.
11488 (ROUNDING_TESTS_long_double): Likewise.
11489 (ROUNDING_TESTS_float128): Likewise.
11490 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
11491 (ROUNDING_TESTS_double): Undefine before defining.
11492 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
11493 (ROUNDING_TESTS_double): Undefine before defining.
11494 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
11495 (ROUNDING_TESTS_double): Undefine before defining.
11496 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
11497 (ROUNDING_TESTS_float): Undefine before defining.
11498 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
11499 (ROUNDING_TESTS_float): Undefine before defining.
11500 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
11501 (ROUNDING_TESTS_float): Undefine before defining.
11502 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
11503 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
11505 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
11506 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
11507 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
11508 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11509 (ROUNDING_TESTS_float): Do not define here.
11510 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
11511 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
11512 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
11513 (ROUNDING_TESTS_float): Likewise.
11514 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
11515 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
11516 * sysdeps/mips/math-tests.h [__mips_soft_float]
11517 (ROUNDING_TESTS_float): Likewise.
11518 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
11519 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
11520 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
11521 (ROUNDING_TESTS_double): Likewise.
11522 (ROUNDING_TESTS_long_double): Likewise.
11524 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
11526 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
11527 (PF_XDP): New macro.
11528 (AF_XDP): New macro.
11529 (SOL_XDP): New macro.
11531 2018-08-21 Joseph Myers <joseph@codesourcery.com>
11533 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
11534 (TCP_INQ): Likewise.
11535 (TCP_CM_INQ): Likewise.
11536 (TCP_REPAIR_ON): Likewise.
11537 (TCP_REPAIR_OFF): Likewise.
11538 (TCP_REPAIR_OFF_NO_WP): Likewise.
11539 (struct tcp_zerocopy_receive): New type.
11541 2018-08-21 Florian Weimer <fweimer@redhat.com>
11543 * support/support.h (support_descriptor_supports_holes): Declare.
11544 * support/Makefile (libsupport-routines): Add
11545 support_descriptor_supports_holes.
11546 * support/support_descriptor_supports_holes.c: New file.
11547 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
11548 and stop testing if holes are not supported.
11549 * io/test-lfs.c (do_prepare): Likewise.
11550 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
11552 * timezone/tst-tzset.c (create_tz_file): Likewise.
11553 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
11555 (do_prepare): Set it.
11556 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
11558 2018-08-21 Florian Weimer <fweimer@redhat.com>
11561 * Makeconfig (+cflags): Do not sort (and deduplicate).
11563 2018-08-21 Florian Weimer <fweimer@redhat.com>
11565 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
11566 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
11568 2018-08-20 Florian Weimer <fweimer@redhat.com>
11570 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
11571 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
11573 2018-08-20 Joseph Myers <joseph@codesourcery.com>
11575 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
11576 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
11577 and ssi_arch members.
11579 * elf/elf.c (NT_VMCOREDD): New macro.
11580 (AT_MINSIGSTKSZ): Likewise.
11582 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11584 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11585 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
11586 s_cosf-ppc64 and s_cosf-power8.
11587 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
11588 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11589 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11590 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
11592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
11593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
11594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
11595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11597 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
11598 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11600 2018-08-17 Florian Weimer <fweimer@redhat.com>
11602 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11604 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
11606 * malloc/malloc.c (_int_malloc): Additional binning code checks.
11608 2018-08-16 Florian Weimer <fweimer@redhat.com>
11610 * configure.ac: Add --with-nonshared-cflags option.
11611 * config.make.in (extra-nonshared-cflags): Set variable.
11612 * Makeconfig (CFLAGS-.oS): Use it.
11613 * manual/install.texi (Configuring and compiling): Document
11614 --with-nonshared-cflags.
11615 * configure: Regenerate.
11616 * INSTALL: Likewise.
11618 2018-08-16 Florian Weimer <fweimer@redhat.com>
11620 * Makeconfig (ASFLAGS): Always append required assembler flags.
11622 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
11624 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
11625 (malloc_consolidate): Likewise.
11627 2018-08-16 Pochang Chen <johnchen902@gmail.com>
11629 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
11631 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
11633 * benchtests/bench-strlen.c (do_test): Allocate buffers before
11636 * benchtests/bench-strlen.c: Print performance numbers in json.
11638 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11640 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11641 (sysdep_routines): Build strcmp-power9 and strncmp-power9
11642 only for little endian.
11643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11644 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
11645 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
11646 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
11647 Add check for little endian.
11648 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11649 (__strcmp_power9): Add check for little endian.
11650 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
11651 Add check for little endian.
11652 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11653 (__strncmp_power9): Add check for little endian.
11654 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
11655 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
11656 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
11657 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
11658 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
11660 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
11662 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
11663 [!STRLEN](STRLEN): Set to __strlen.
11664 * sysdeps/aarch64/multiarch/strlen.c: New file.
11665 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
11666 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
11667 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
11668 (__libc_ifunc_impl_list): Add strlen.
11669 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
11670 strlen_generic and strlen_asimd.
11672 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11674 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
11675 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
11676 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11678 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11680 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
11682 2018-08-14 Florian Weimer <fweimer@redhat.com>
11685 * include/stdio.h (__vfxprintf): Declare.
11686 * stdio-common/fxprintf.c (__vfxprintf): New function.
11687 (__fxprintf): Call it.
11688 * misc/err.c (convert_and_print): Remove function.
11689 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
11690 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
11691 * misc/Makefile (tests): Add tst-warn-wide.
11692 * misc/tst-warn-wide.c: New file.
11694 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
11695 Szabolcs Nagy <szabolcs.nagy@arm.com>
11697 * NEWS: Mention sinf, cosf, sincosf.
11698 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
11699 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
11700 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
11701 constants rather than including generic sincosf.h.
11702 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
11703 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
11704 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
11705 (reduced_cos): Remove.
11706 (sinf_poly): New function.
11707 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
11709 2018-08-14 Florian Weimer <fweimer@redhat.com>
11713 * nss/nss_files/files-alias.c (get_next_alias): During :include:
11714 processing, bail out if no room, and close the stream before
11716 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
11717 (tst-nss-files-alias-leak): Link with libdl.
11718 (tst-nss-files-alias-leak.out): Depend on nss_files.
11720 * nss/tst-nss-files-alias-leak.c: New file.
11722 2018-08-14 Florian Weimer <fweimer@redhat.com>
11724 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
11725 server_user, stat_user.
11727 2018-08-13 Joseph Myers <joseph@codesourcery.com>
11729 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11731 (io_pgetevents): New syscall.
11734 * manual/install.texi (Configuring and compiling): Do not list
11735 tools used for testing pretty printers here.
11736 (Tools for Compilation): List Python, PExpect and GDB here.
11737 Update descriptions of uses of Perl and Python.
11738 * INSTALL: Regenerate.
11740 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11743 2018-08-13 Florian Weimer <fweimer@redhat.com>
11745 * misc/error.c (error): Add missing va_end call.
11746 (error_at_line): Likewise.
11748 2018-08-13 Florian Weimer <fweimer@redhat.com>
11750 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
11752 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11754 * benchtests/scripts/benchout.schema.json (properties): Add
11757 * benchtests/bench-skeleton.c (main): Add duration and
11758 iterations attributes.
11760 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
11762 regex: Gnulib unibyte RRI uses bytes not chars
11763 Adjust the non-glibc code to agree with what Gawk needs for
11764 rational range interpretation (RRI) for regular expression ranges.
11765 In unibyte locales, Gawk wants ranges to use the underlying byte
11766 rather than the character code point. This change does not affect
11768 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
11769 In unibyte locales, use the byte value rather than
11770 running it through btowc.
11772 2018-08-10 Joseph Myers <joseph@codesourcery.com>
11774 * sysdeps/generic/math-tests-snan.h: New file.
11775 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
11776 (SNAN_TESTS_float): Do not define here.
11777 (SNAN_TESTS_double): Likewise.
11778 (SNAN_TESTS_long_double): Likewise.
11779 (SNAN_TESTS_float128): Likewise.
11780 * sysdeps/i386/fpu/math-tests-snan.h: New file.
11781 * sysdeps/i386/fpu/math-tests.h: Remove file.
11782 * sysdeps/ia64/math-tests-snan.h: New file.
11783 * sysdeps/ia64/math-tests.h: Remove file.
11784 * sysdeps/x86/math-tests.h: Likewise.
11785 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
11787 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11788 Szabolcs Nagy <szabolcs.nagy@arm.com>
11790 * math/Makefile: Add s_sincosf_data.c.
11791 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
11792 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
11793 (sincosf_poly): Likewise.
11794 (reduce_small): Likewise.
11795 (reduce_large): Likewise.
11796 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
11797 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
11798 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
11799 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
11801 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11802 Szabolcs Nagy <szabolcs.nagy@arm.com>
11804 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
11805 (converttoint): Use lround.
11806 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
11807 document the semantics when TOINT_INTRINSICS is set.
11808 (converttoint): Likewise.
11809 (TOINT_RINT): Remove.
11810 (TOINT_SHIFT): Remove.
11811 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
11814 2018-08-10 Florian Weimer <fweimer@redhat.com>
11817 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
11819 (__old_getdents64): Use getdents64. Convert entries without
11821 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
11822 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
11823 tst-readdir64-compat.
11825 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11827 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
11830 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11832 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
11833 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
11834 code to s390x-mcount.h and #include it.
11835 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
11836 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11839 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11841 * stdlib/Versions: Remove __fentry__.
11842 * sysdeps/i386/Versions: Add __fentry__.
11843 * sysdeps/x86_64/Versions: Add __fentry__.
11845 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11847 * sysdeps/s390/Makefile: Register the new tests.
11848 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
11849 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
11850 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
11851 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
11852 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
11853 * sysdeps/s390/tst-dl-runtime.c: New file.
11855 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11857 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11860 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11862 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11865 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11867 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11870 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11872 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11875 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11877 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11878 Use symbolic offsets for stack variables.
11880 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11882 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11883 Use symbolic offsets for stack variables.
11885 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11887 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11888 Use symbolic offsets for stack variables.
11890 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11892 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11893 Use symbolic offsets for stack variables.
11895 2018-08-09 Joseph Myers <joseph@codesourcery.com>
11897 * math/gen-libm-test.py: New file.
11898 * math/gen-libm-test.pl: Remove.
11899 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
11900 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
11902 ($(libm-test-c-noauto-obj)): Likewise.
11903 ($(libm-test-c-auto-obj)): Likewise.
11904 ($(libm-test-c-narrow-obj)): Likewise.
11905 (regen-ulps): Likewise.
11906 * math/README.libm-test: Update references to gen-libm-test.pl.
11907 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
11908 referencing gen-libm-test.pl.
11909 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
11910 * math/libm-test-support.c: Likewise.
11911 * math/libm-test-support.h: Likewise.
11912 * sysdeps/generic/libm-test-ulps: Likewise.
11914 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
11916 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
11919 2018-08-08 Joseph Myers <joseph@codesourcery.com>
11921 * math/libm-test-nextdown.inc (do_test): Move comment to ....
11922 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
11924 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
11926 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
11928 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
11929 __pthread_setspecific): Add hidden proto.
11930 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
11931 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
11933 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11935 * benchtests/bench-string.h (buf1_size, buf2_size): New
11937 (init_sizes): New function.
11938 (test_init): Use it.
11939 (alloc_buf, exit_error): New functions.
11940 (alloc_bufs): Use ALLOC_BUF.
11941 (realloc_bufs): Remove.
11942 * benchtests/bench-memcmp.c (do_test): Adjust.
11943 * benchtests/bench-memset-large.c (do_test): Likewise.
11944 * benchtests/bench-memset-walk.c (do_test): Likewise.
11945 * benchtests/bench-memset.c (do_test): Likewise.
11946 * benchtests/bench-strncmp.c (do_test): Likewise.
11948 2018-08-06 Andreas Schwab <schwab@suse.de>
11950 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
11951 of CONST_THREAD_AREA.
11953 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
11955 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
11956 (STATE_SAVE_MASK): Likewise.
11957 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
11958 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
11959 (STATE_SAVE_MASK): Likewise.
11960 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
11961 instead of <cpu-features.h>.
11963 2018-08-03 DJ Delorie <dj@redhat.com>
11965 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
11966 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
11968 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
11970 2018-08-03 Joseph Myers <joseph@codesourcery.com>
11972 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
11973 after TEST_* calls.
11974 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
11975 * math/libm-test-logb.inc (logb_test_data): Likewise.
11977 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
11979 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
11980 * string/strstr.c (AVAILABLE): Likewise.
11982 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11984 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
11986 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
11987 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
11988 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
11990 2018-08-03 Carlos O'Donell <carlos@redhat.com>
11992 * po/be.po: Update translation.
11994 * po/be.po: Update translation.
11996 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11998 * sysdeps/x86/cpu-features-offsets.sym
11999 (rtld_global_ro_offsetof): Removed.
12000 (CPU_FEATURES_SIZE): Likewise.
12001 (CPUID_OFFSET): Likewise.
12002 (CPUID_SIZE): Likewise.
12003 (CPUID_EAX_OFFSET): Likewise.
12004 (CPUID_EBX_OFFSET): Likewise.
12005 (CPUID_ECX_OFFSET): Likewise.
12006 (CPUID_EDX_OFFSET): Likewise.
12007 (FAMILY_OFFSET): Likewise.
12008 (MODEL_OFFSET): Likewise.
12009 (FEATURE_OFFSET): Likewise.
12010 (FEATURE_SIZ): Likewise.
12011 (COMMON_CPUID_INDEX_1): Likewise.
12012 (COMMON_CPUID_INDEX_7): Likewise.
12013 (FEATURE_INDEX_1): Likewise.
12014 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
12016 2018-08-02 Carlos O'Donell <carlos@redhat.com>
12018 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
12019 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
12020 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
12021 (install-locales): Depend on install-locale-archive.
12022 (install-locale-archive): Define.
12023 (install-locale-files): Define.
12024 (build-one-locale): Define macro.
12025 * manual/install.texi (Running make install): Document.
12026 * manual/INSTALL: Regenerate.
12028 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
12030 * benchtests/scripts/compare_strings.py: Import traceback.
12031 (parse_file): Pretty-print error.
12033 * NEWS: Mention the change.
12034 * elf/dl-tunables.list: Rename tune namespace to cpu.
12035 * sysdeps/powerpc/dl-tunables.list: Likewise.
12036 * sysdeps/x86/dl-tunables.list: Likewise.
12037 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
12039 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
12040 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
12041 * manual/README.tunables: Likewise.
12042 * manual/tunables.texi: Likewise.
12043 * sysdeps/powerpc/cpu-features.c: Likewise.
12044 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
12045 (init_cpu_features): Likewise.
12046 * sysdeps/x86/cpu-features.c: Likewise.
12047 * sysdeps/x86/cpu-features.h: Likewise.
12048 * sysdeps/x86/cpu-tunables.c: Likewise.
12049 * sysdeps/x86_64/Makefile: Likewise.
12050 * sysdeps/x86/dl-cet.c: Likewise.
12052 2018-08-02 Joseph Myers <joseph@codesourcery.com>
12055 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
12056 [__mips_hard_float].
12057 (FE_UNDERFLOW): Likewise.
12058 (FE_OVERFLOW): Likewise.
12059 (FE_DIVBYZERO): Likewise.
12060 (FE_INVALID): Likewise.
12061 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
12062 (FE_TOWARDZERO): Define only if [__mips_hard_float].
12063 (FE_UPWARD): Likewise.
12064 (FE_DOWNWARD): Likewise.
12065 (__FE_UNDEFINED): Define if [!__mips_hard_float]
12066 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
12067 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
12068 [__mips_hard_float].
12069 (FP_ROUNDMODE): Likewise.
12070 (FP_RND_NEAREST): Likewise.
12071 (FP_RND_ZERO): Likewise.
12072 (FP_RND_PINF): Likewise.
12073 (FP_RND_MINF): Likewise.
12074 (FP_EX_INVALID): Likewise.
12075 (FP_EX_OVERFLOW): Likewise.
12076 (FP_EX_UNDERFLOW): Likewise.
12077 (FP_EX_DIVZERO): Likewise.
12078 (FP_EX_INEXACT): Likewise.
12079 (FP_INIT_ROUNDMODE): Likewise.
12080 * sysdeps/mips/nofpu/fesetenv.c: New file.
12081 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
12083 2018-08-01 Joseph Myers <joseph@codesourcery.com>
12085 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
12086 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
12087 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
12088 conditional on [FE_UPWARD].
12090 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
12092 regex: fix memory leak in Gnulib
12093 Problem and fix reported by Assaf Gordon in:
12094 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
12095 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
12096 range_ends members too, as they are defined in 'struct
12097 re_charset_t' even if not _LIBC. This affects only Gnulib.
12099 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
12101 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
12103 (get_common_indices): This.
12104 (init_cpu_features): Updated.
12106 2018-08-01 Joseph Myers <joseph@codesourcery.com>
12108 * sysdeps/generic/math-tests-snan-payload.h: New file.
12109 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
12110 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
12111 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
12112 * sysdeps/generic/math-tests.h: Include
12113 <math-tests-snan-payload.h>.
12114 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12115 * sysdeps/hppa/math-tests.h: Remove file.
12116 * sysdeps/mips/math-tests.h [!__mips_nan2008]
12117 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12118 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
12121 * sysdeps/generic/math-tests-snan-cast.h: New file.
12122 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
12123 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
12124 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
12125 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
12127 2018-08-01 Carlos O'Donel <carlos@redhat.com>
12129 * version.h (RELEASE): Set to "development".
12130 (VERSION): Set to "2.28.9000".
12131 * NEWS (2.29): New section.
12133 * version.h (RELEASE): Set to "stable".
12134 (VERSION): Set to "2.28".
12135 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
12136 * NEWS: Add the list of bugs fixed in 2.28.
12138 * po/ca.po: Update to latest version.
12139 * po/cs.po: Likewise
12140 * po/da.po: Likewise
12141 * po/el.po: Likewise
12142 * po/eo.po: Likewise
12143 * po/es.po: Likewise
12144 * po/fi.po: Likewise
12145 * po/fr.po: Likewise
12146 * po/gl.po: Likewise
12147 * po/hu.po: Likewise
12148 * po/ia.po: Likewise
12149 * po/id.po: Likewise
12150 * po/it.po: Likewise
12151 * po/ja.po: Likewise
12152 * po/ko.po: Likewise
12153 * po/lt.po: Likewise
12154 * po/nb.po: Likewise
12155 * po/nl.po: Likewise
12156 * po/pt_BR.po: Likewise
12157 * po/ru.po: Likewise
12158 * po/rw.po: Likewise
12159 * po/sk.po: Likewise
12160 * po/sl.po: Likewise
12161 * po/tr.po: Likewise
12162 * po/zh_CN.po: Likewise
12163 * po/zh_TW.po: Likewise
12165 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12167 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
12169 (init): ... before initializing libpthread.
12171 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
12172 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
12173 (__mach_setup_tls): ... new function.
12174 (mach_setup_tls): New alias.
12175 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
12176 __mach_setup_thread.
12177 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
12178 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
12179 * mach/Versions [libc] (mach_setup_tls): Add symbol.
12180 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
12182 2018-07-31 Carlos O'Donell <carlos@redhat.com>
12184 * manual/install.texi: Update versions.
12185 * INSTALL: Regenerate.
12187 * manual/contrib.texi (Contributors): Update contributions.
12189 2018-07-31 Carlos O'Donell <carlos@redhat.com>
12191 * po/be.po: Update translations.
12193 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12195 * sysdeps/sh/libm-test-ulps: Update.
12197 2018-07-30 Carlos O'Donell <carlos@redhat.com>
12199 * po/bg.po: Update translations.
12200 * po/de.po: Likewise.
12201 * po/hr.po: Likewise.
12202 * po/pt_BR.po: Likewise.
12203 * po/sv.po: Likewise.
12204 * po/vi.po: Likewise.
12206 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12209 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12210 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
12211 (CFLAGS-tst-cet-property-1.o): New.
12212 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
12213 ($(objpfx)tst-cet-property-2): Likewise.
12214 ($(objpfx)tst-cet-property-2.out): Likewise.
12215 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
12216 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
12217 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
12218 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
12219 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
12221 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12224 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
12226 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12228 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
12229 __sbrk): Do not set attribute_hidden.
12230 * sysdeps/mach/hurd/not-errno.h: New file.
12231 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12232 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
12234 2018-07-27 Carlos O'Donell <carlos@redhat.com>
12236 * po/uk.po: Update translations.
12237 * po/cs.po: Likewise.
12238 * po/pl.po: Likewise.
12240 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
12242 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
12243 parse beyond the note end.
12245 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12247 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
12248 kernel does not support OFD locks.
12249 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
12251 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12253 * sysdeps/mach/hurd/Versions (libc): Make __access and
12254 __access_noerrno external so they can override the ld symbols.
12255 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
12256 __writev, __open64, __access_noerrno extern so they can be overrided.
12257 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
12258 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12260 2018-07-26 Carlos O'Donell <carlos@redhat.com>
12262 * po/libc.pot: Regenerate.
12264 2018-07-26 Joseph Myers <joseph@codesourcery.com>
12266 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
12268 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12271 * sysdeps/x86/cpu-features.c (get_extended_indices): New
12273 (init_cpu_features): Call get_extended_indices for both Intel
12275 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
12276 Remove "for AMD" comment.
12278 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12281 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
12282 COMMON_CPUID_INDEX_80000001.
12284 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
12286 * string/tst-xbzero-opt.c (use_test_buffer): New function.
12287 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
12289 2018-07-26 Florian Weimer <fweimer@redhat.com>
12291 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
12292 aliases for symbols not in the implementation namespace.
12294 2018-07-25 Carlos O'Donell <carlos@redhat.com>
12297 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
12298 lowercase in LATIN script.
12299 * localedata/Makefile (test-input): Add en_US.UTF-8.
12300 * localedata/en_US.UTF-8.in: New file.
12301 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
12302 and restore old tests.
12303 * posix/tst-regexloc.c (do_test): Add back range expression test.
12305 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12307 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
12309 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12311 * nptl/threads.h: Move to ...
12312 * sysdeps/nptl/threads.h: ... here.
12313 * sysdeps/hurd/stdc-predef.h: New file.
12315 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12317 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12318 tst-cet-setcontext-1 if CET is enabled.
12319 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
12320 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
12322 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12324 * include/threads.h: Move to ...
12325 * sysdeps/nptl/threads.h: ... here.
12326 * sysdeps/htl/threads.h: New file.
12327 * conform/Makefile (linknamespace-libs-ISO11): Use
12328 static-thread-library instead of linking libpthread.
12329 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
12331 2018-07-25 Florian Weimer <fweimer@redhat.com>
12333 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
12334 nanoseconds into seconds.
12335 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
12336 (do_test): Likewise.
12337 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
12338 (do_test): Likewise. Avoid nanosecond overflow and spurious
12339 timeouts due to system load.
12340 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
12341 (child_wait): Increment it.
12342 (do_test): Wait as long as necessary until all expected threads
12345 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
12346 H.J. Lu <hongjiu.lu@intel.com>
12348 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
12350 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
12351 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
12352 (__push___start_context): New.
12353 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
12355 (__getcontext): Record the current shadow stack base. Save the
12356 caller's shadow stack pointer and base.
12357 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
12358 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
12359 (__push___start_context): New prototype.
12360 (__makecontext): Call __push___start_context to allocate a new
12361 shadow stack, push __start_context onto the new stack as well
12362 as the new shadow stack.
12363 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
12365 (__setcontext): Restore the target shadow stack.
12366 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
12368 (__swapcontext): Record the current shadow stack base. Save
12369 the caller's shadow stack pointer and base. Restore the target
12371 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12372 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
12373 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
12375 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12377 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
12378 tst-setcontext8 and tst-setcontext9.
12379 * stdlib/tst-setcontext6.c: New file.
12380 * stdlib/tst-setcontext7.c: Likewise.
12381 * stdlib/tst-setcontext8.c: Likewise.
12382 * stdlib/tst-setcontext9.c: Likewise.
12384 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12386 * stdlib/Makefile ((tests): Add tst-setcontext5.
12387 * stdlib/tst-setcontext5.c: New file.
12389 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12391 * stdlib/Makefile (tests): Add tst-setcontext4.
12392 * stdlib/tst-setcontext4.c: New file.
12394 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12396 * stdlib/Makefile (tests): Add tst-swapcontext1.
12397 * stdlib/tst-swapcontext1.c: New test.
12399 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12401 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
12402 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
12403 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
12404 and tst-cet-legacy-4c.
12405 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
12406 and tst-cet-legacy-mod-4.
12407 (CFLAGS-tst-cet-legacy-2.c): New.
12408 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
12409 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
12410 (CFLAGS-tst-cet-legacy-3.c): Likewise.
12411 (CFLAGS-tst-cet-legacy-4.c): Likewise.
12412 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
12413 ($(objpfx)tst-cet-legacy-1): Likewise.
12414 ($(objpfx)tst-cet-legacy-2): Likewise.
12415 ($(objpfx)tst-cet-legacy-2.out): Likewise.
12416 ($(objpfx)tst-cet-legacy-2a): Likewise.
12417 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
12418 ($(objpfx)tst-cet-legacy-4): Likewise.
12419 ($(objpfx)tst-cet-legacy-4.out): Likewise.
12420 ($(objpfx)tst-cet-legacy-4a): Likewise.
12421 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
12422 (tst-cet-legacy-4a-ENV): Likewise.
12423 ($(objpfx)tst-cet-legacy-4b): Likewise.
12424 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
12425 (tst-cet-legacy-4b-ENV): Likewise.
12426 ($(objpfx)tst-cet-legacy-4c): Likewise.
12427 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
12428 (tst-cet-legacy-4c-ENV): Likewise.
12429 * sysdeps/x86/tst-cet-legacy-1.c: New file.
12430 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
12431 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
12432 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
12433 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
12434 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
12435 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
12436 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
12437 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
12438 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
12439 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
12441 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12443 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12444 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12446 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12447 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12450 2018-07-25 Andreas Schwab <schwab@suse.de>
12453 * locale/weightwc.h (findidx): Handle the case where usrc is a
12454 prefix of cp but one character too short.
12456 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12458 * NEWS: Add ISO C threads addition.
12460 2018-07-24 Florian Weimer <fweimer@redhat.com>
12462 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12463 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
12464 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
12467 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12469 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
12470 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
12471 <sys/prctl.h> and <asm/prctl.h>.
12472 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
12473 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
12475 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
12476 ARCH_CET_LEGACY_BITMAP.
12477 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
12478 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
12479 * sysdeps/x86/libc-start.c: Include <startup.h>.
12481 2018-07-24 Florian Weimer <fweimer@redhat.com>
12483 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
12484 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
12486 2018-07-24 Rical Jasan <rj@2c3t.io>
12487 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12488 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12491 * manual/debug.texi: Update adjacent chapter name.
12492 * manual/probes.texi: Likewise.
12493 * manual/threads.texi (ISO C Threads): New section.
12494 (POSIX Threads): Convert to a section.
12496 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12497 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12500 * nptl/Makefile (tests): Add new test files.
12501 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
12502 * nptl/tst-cnd-basic.c: Likewise.
12503 * nptl/tst-cnd-broadcast.c: Likewise.
12504 * nptl/tst-cnd-timedwait.c: Likewise.
12505 * nptl/tst-mtx-basic.c: Likewise.
12506 * nptl/tst-mtx-recursive.c: Likewise.
12507 * nptl/tst-mtx-timedlock.c: Likewise.
12508 * nptl/tst-mtx-trylock.c: Likewise.
12509 * nptl/tst-thrd-basic.c: Likewise.
12510 * nptl/tst-thrd-detach.c: Likewise.
12511 * nptl/tst-thrd-sleep.c: Likewise.
12512 * nptl/tst-tss-basic.c: Likewise.
12514 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12517 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12518 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
12520 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12521 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12522 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12523 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12524 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12525 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12526 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12527 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12528 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12529 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12530 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12531 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
12538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12539 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12540 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12541 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12542 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12543 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12544 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12545 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12546 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12547 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
12548 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
12549 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
12550 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
12551 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
12553 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12554 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12555 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12556 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12557 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12558 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12559 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12560 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12561 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12562 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12563 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12564 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12571 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12572 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12573 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12574 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12575 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12576 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12577 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12578 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12581 * conform/data/threads.h-data (thread_local): New macro.
12582 (TSS_DTOR_ITERATIONS): Likewise.
12584 (tss_dtor_t): Likewise.
12585 (tss_create): New function.
12586 (tss_get): Likewise.
12587 (tss_set): Likewise.
12588 (tss_delete): Likewise.
12589 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
12590 tss_get, and tss_set objects.
12591 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12592 * nptl/tss_create.c: New file.
12593 * nptl/tss_delete.c: Likewise.
12594 * nptl/tss_get.c: Likewise.
12595 * nptl/tss_set.c: Likewise.
12596 * sysdeps/nptl/threads.h (thread_local): New define.
12597 (TSS_DTOR_ITERATIONS): Likewise.
12598 (tss_t): New typedef.
12599 (tss_dtor_t): Likewise.
12600 (tss_create): New prototype.
12601 (tss_get): Likewise.
12602 (tss_set): Likewise.
12603 (tss_delete): Likewise.
12606 * conform/data/threads.h-data (cnd_t): New type.
12607 (cnd_init): New function.
12608 (cnd_signal): Likewise.
12609 (cnd_broadcast): Likewise.
12610 (cnd_wait): Likewise.
12611 (cnd_timedwait): Likewise.
12612 (cnd_destroy): Likewise.
12613 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
12614 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
12616 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12617 * nptl/cnd_broadcast.c: New file.
12618 * nptl/cnd_destroy.c: Likewise.
12619 * nptl/cnd_init.c: Likewise.
12620 * nptl/cnd_signal.c: Likewise.
12621 * nptl/cnd_timedwait.c: Likewise.
12622 * nptl/cnd_wait.c: Likewise.
12623 * sysdeps/nptl/threads.h (cnd_t): New type.
12624 (cnd_init): New prototype.
12625 (cnd_signa): Likewise.
12626 (cnd_broadcast): Likewise.
12627 (cnd_wait): Likewise.
12628 (cnd_timedwait): Likewise.
12629 (cnd_destroy): Likewise.
12632 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
12633 (once_flag): New type.
12634 (call_once): New function.
12635 * nptl/Makefile (libpthread-routines): Add call_once object.
12636 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
12637 * nptl/call_once.c: New file.
12638 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
12639 (once_flag): New type.
12640 (call_once): New prototype.
12643 * conform/data/threads.h-data (mtx_plain): New constant.
12644 (mtx_recursive): Likewise.
12645 (mtx_timed): Likewise.
12647 (mtx_init): New function.
12648 (mtx_lock): Likewise.
12649 (mtx_timedlock): Likewise.
12650 (mtx_trylock): Likewise.
12651 (mtx_unlock): Likewise.
12652 (mtx_destroy): Likewise.
12653 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
12654 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
12655 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
12656 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
12657 * nptl/mtx_destroy.c: New file.
12658 * nptl/mtx_init.c: Likewise.
12659 * nptl/mtx_lock.c: Likewise.
12660 * nptl/mtx_timedlock.c: Likewise.
12661 * nptl/mtx_trylock.c: Likewise.
12662 * nptl/mtx_unlock.c: Likewise.
12663 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
12664 (mtx_recursive): Likewise.
12665 (mtx_timed): Likewise.
12667 (mtx_init): New prototype.
12668 (mtx_lock): Likewise.
12669 (mtx_timedlock): Likewise.
12670 (mtx_trylock): Likewise.
12671 (mtx_unlock): Likewise.
12672 (mtx_destroy): Likewise.
12675 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
12676 (linknamespace-libs-ISO11): Add libpthread.a.
12677 * conform/data/threads.h-data: New file: add C11 thrd_* types and
12679 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
12680 * nptl/Makefile (headers): Add threads.h.
12681 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
12682 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
12684 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
12685 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
12686 thrd_join, thrd_sleep, and thrd_yield symbols.
12687 * nptl/descr.h (struct pthread): Add c11 field.
12688 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
12689 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
12690 routine with expected function prototype.
12691 (__pthread_create_2_1): Add C11 threads check based on attribute
12693 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
12694 * nptl/thrd_create.c: New file.
12695 * nptl/thrd_current.c: Likewise.
12696 * nptl/thrd_detach.c: Likewise.
12697 * nptl/thrd_equal.c: Likewise.
12698 * nptl/thrd_exit.c: Likewise.
12699 * nptl/thrd_join.c: Likewise.
12700 * nptl/thrd_priv.h: Likewise.
12701 * nptl/thrd_sleep.c: Likewise.
12702 * nptl/thrd_yield.c: Likewise.
12703 * include/threads.h: Likewise.
12705 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12707 * bits/indirect-return.h: New file.
12708 * misc/sys/cdefs.h (__glibc_has_attribute): New.
12709 * sysdeps/x86/bits/indirect-return.h: Likewise.
12710 * stdlib/Makefile (headers): Add bits/indirect-return.h.
12711 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
12712 (swapcontext): Add __INDIRECT_RETURN.
12713 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
12714 (prepare_test_buffer): Use it.
12716 2018-07-24 Andreas Schwab <schwab@suse.de>
12719 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
12720 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
12722 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12724 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
12725 Redefine if shadow stack is enabled.
12726 (SYSCALL_ERROR_LABEL): Likewise.
12727 (__vfork): Pop shadow stack and jump back to to caller directly
12728 when shadow stack is in use.
12729 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
12730 Redefine if shadow stack is enabled.
12731 (SYSCALL_ERROR_LABEL): Likewise.
12732 (__vfork): Pop shadow stack and jump back to to caller directly
12733 when shadow stack is in use.
12735 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12737 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
12740 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
12743 2018-07-20 Joseph Myers <joseph@codesourcery.com>
12745 * scripts/build-many-glibcs.py (Context.checkout): Default
12746 binutils version to 2.31 branch.
12748 2018-07-20 Zong Li <zong@andestech.com>
12750 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
12751 URL of gcc's tarball.
12753 2018-07-20 Florian Weimer <fweimer@redhat.com>
12756 * posix/regcomp.c (build_equiv_class): When comparing weights, do
12757 not compare an extra byte after the end of the weights.
12759 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12761 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
12763 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
12765 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
12766 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
12767 * scripts/check-execstack.awk: Consider `xfail' variable containing a
12768 list of libraries whose stack executability is expected.
12769 * elf/Makefile ($(objpfx)check-execstack.out): Pass
12770 $(check-execstack-xfail) to check-execstack.awk through `xfail'
12772 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
12773 libc.so libpthread.so.
12775 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
12777 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
12779 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
12781 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
12783 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
12785 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12787 * benchtests/scripts/compare_bench.py (__main__): use the argparse
12788 library to improve command line parsing.
12789 (__main__): make schema file as optional parameter (--schema),
12790 defaulting to benchtests/scripts/benchout.schema.json.
12791 (main): move out of the parsing stuff to __main_ and leave it
12792 only as caller of main comparison functions.
12794 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
12796 * NEWS: Add a note for Intel CET status.
12797 * manual/install.texi: Likewise.
12798 * INSTALL: Regenerated.
12800 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
12803 * localedata/locales/oc_FR (mon): Rename to...
12804 (alt_mon): This, then update October (typo fix).
12805 (mon): New content (genitive case, month names preceded by
12809 * localedata/locales/oc_FR (abday): Update all items.
12810 (day): Update Wednesday and Saturday (typo fixes).
12811 (abmon): Update all items, except May.
12812 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
12813 (LC_IDENTIFICATION): Bump the revision number and date.
12814 Keep the "category" entries in alphabetic order.
12815 (LC_ADDRESS): Remove no longer needed comment.
12816 (LC_COLLATE): Use “copy "ca_ES"”.
12817 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
12820 2018-07-18 Joseph Myers <joseph@codesourcery.com>
12822 * grp/tst_fgetgrent.c: Include <unistd.h>.
12823 (main): Use mkstemp instead of tmpnam.
12824 * io/test-utime.c (main): Likewise.
12825 * posix/annexc.c (macrofile): Change to modifiable array.
12826 (main): Remove macrofile here.
12827 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12829 (check_header): Do not remove macrofile here.
12830 * posix/bug-getopt1.c: Include <stdlib.h>.
12831 (do_test): Use mkstemp instead of tmpnam.
12832 * posix/bug-getopt2.c: Include <stdlib.h>.
12833 (do_test): Use mkstemp instead of tmpnam.
12834 * posix/bug-getopt3.c: Include <stdlib.h>.
12835 (do_test): Use mkstemp instead of tmpnam.
12836 * posix/bug-getopt4.c: Include <stdlib.h>.
12837 (do_test): Use mkstemp instead of tmpnam.
12838 * posix/bug-getopt5.c: Include <stdlib.h>.
12839 (do_test): Use mkstemp instead of tmpnam.
12840 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
12841 (main): Use mkstemp instead of tmpnam.
12842 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
12843 (main): Use mkstemp instead of tmpnam.
12844 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
12845 (main): use mkstemp instead of tmpnam.
12846 * stdlib/isomac.c (macrofile): Change to modifiable array.
12847 (main): Remove macrofile here.
12848 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12850 (check_header): Do not remove macrofile here.
12852 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12854 * manual/tunables.texi: Document glibc.tune.x86_ibt and
12855 glibc.tune.x86_shstk.
12857 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12859 * NEWS: Mention --enable-cet.
12860 * manual/install.texi: Document --enable-cet.
12861 * INSTALL: Regenerated.
12863 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12865 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
12866 Add _CET_NOTRACK before indirect jump to jump table.
12868 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12870 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
12871 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12874 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12876 * sysdeps/i386/i686/multiarch/strcat-sse2.S
12877 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12880 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12882 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
12883 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12886 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12888 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
12889 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12892 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12894 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
12895 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12897 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
12899 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12901 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
12902 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12905 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12907 * sysdeps/i386/i686/multiarch/memset-sse2.S
12908 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12911 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12913 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
12914 indirect jump to jump table.
12916 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12918 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
12919 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12921 (MEMCPY): Likewise.
12923 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12925 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
12926 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12928 (MEMCPY): Likewise.
12930 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12932 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12933 _CET_NOTRACK before indirect jump to jump table.
12935 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12937 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
12938 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12941 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12943 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
12944 indirect jump to jump table.
12946 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
12949 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
12950 (LOCALES): Likewise.
12951 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
12952 * localedata/locales/sah_RU: New file.
12953 * localedata/sah_RU.UTF-8.in: New file.
12955 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12957 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
12959 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12960 _CET_ENDBR to indirect jump targets and adjust jump destination
12962 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
12964 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12965 _CET_ENDBR to indirect jump targets and adjust jump destination
12967 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
12969 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
12970 _CET_ENDBR to indirect jump targets and adjust jump destination
12973 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12975 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12978 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12980 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
12982 (_dl_tlsdesc_undefweak): Likewise.
12983 (_dl_tlsdesc_dynamic): Likewise.
12984 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
12985 (_dl_tlsdesc_resolve_rel): Likewise.
12986 (_dl_tlsdesc_resolve_rela): Likewise.
12987 (_dl_tlsdesc_resolve_hold): Likewise.
12988 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
12989 (_dl_tlsdesc_undefweak): Likewise.
12990 (_dl_tlsdesc_dynamic): Likewise.
12991 (_dl_tlsdesc_resolve_rela): Likewise.
12992 (_dl_tlsdesc_resolve_hold): Likewise.
12994 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12996 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
12998 * sysdeps/x86_64/crti.S (_init): Likewise.
13001 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
13004 * localedata/locales/os_RU (mon): Rename to...
13006 (mon): Import from CLDR (genitive case).
13008 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13010 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
13011 cet-tunables.h> when CET is enabled.
13013 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
13016 * configure.ac: Add --enable-cet.
13017 * configure: Regenerated.
13018 * elf/Makefille (all-built-dso): Add a comment.
13019 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
13020 Include <dl-prop.h>.
13021 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
13023 * elf/dl-open.c: Include <dl-prop.h>.
13024 (dl_open_worker): Call _dl_open_check.
13025 * elf/rtld.c: Include <dl-prop.h>.
13026 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
13028 * sysdeps/generic/dl-prop.h: New file.
13029 * sysdeps/i386/dl-cet.c: Likewise.
13030 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
13031 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
13032 * sysdeps/x86/cet-tunables.h: Likewise.
13033 * sysdeps/x86/check-cet.awk: Likewise.
13034 * sysdeps/x86/configure: Likewise.
13035 * sysdeps/x86/configure.ac: Likewise.
13036 * sysdeps/x86/dl-cet.c: Likewise.
13037 * sysdeps/x86/dl-procruntime.c: Likewise.
13038 * sysdeps/x86/dl-prop.h: Likewise.
13039 * sysdeps/x86/libc-start.h: Likewise.
13040 * sysdeps/x86/link_map.h: Likewise.
13041 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
13043 (_dl_runtime_profile): Likewise.
13044 (_dl_runtime_resolve_shstk): New.
13045 (_dl_runtime_profile_shstk): Likewise.
13046 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
13048 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
13049 (CFLAGS-.os): Likewise.
13050 (CFLAGS-.op): Likewise.
13051 (CFLAGS-.oS): Likewise.
13052 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
13054 (tests-special): Add $(objpfx)check-cet.out.
13055 (cet-built-dso): New.
13056 (+$(cet-built-dso:=.note)): Likewise.
13057 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
13058 ($(objpfx)check-cet.out): New.
13059 (generated): Add check-cet.out.
13060 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
13062 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
13063 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13064 (init_cpu_features): Call get_cet_status to check CET status
13065 and update dl_x86_feature_1 with CET status. Call
13066 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
13067 (set_x86_shstk). Disable and lock CET in libc.a.
13068 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
13069 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
13070 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13071 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
13072 (_CET_ENDBR): Define if not defined.
13073 (ENTRY): Add _CET_ENDBR.
13074 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
13076 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
13078 (_dl_runtime_profile): Likewise.
13080 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
13083 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
13084 restore r2 on longjmp.
13085 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
13087 Added rules to build test tst-setjmp-bug21895-static.
13088 Added module setjmp-bug21895 and rules to build a shared object from it.
13089 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
13090 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
13092 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
13094 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
13095 * benchtests/bench-strstr.c: Likewise.
13096 * string/memmem.c (FASTSEARCH): Define.
13097 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
13098 Add support for FASTSEARCH.
13099 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
13100 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
13101 (FASTSEARCH): Define.
13102 * string/test-strcasestr.c: Rename __strnlen to strnlen.
13103 * string/test-strstr.c: Likewise.
13105 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
13107 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
13108 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
13110 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
13111 H.J. Lu <hongjiu.lu@intel.com>
13113 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
13114 (__longjmp): Restore shadow stack pointer if shadow stack is
13115 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13116 isn't defined for __longjmp_cancel.
13117 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
13118 (_setjmp): Save shadow stack pointer if shadow stack is enabled
13119 and SHADOW_STACK_POINTER_OFFSET is defined.
13120 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
13121 (setjmp): Save shadow stack pointer if shadow stack is enabled
13122 and SHADOW_STACK_POINTER_OFFSET is defined.
13123 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
13124 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13125 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13126 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
13128 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13129 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13130 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
13131 Remove jmp_buf-ssp.sym.
13132 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13134 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13135 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13136 * sysdeps/x86/Makefile (gen-as-const-headers): Add
13138 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
13139 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
13140 (__longjmp): Restore shadow stack pointer if shadow stack is
13141 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13142 isn't defined for __longjmp_cancel.
13143 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
13144 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13145 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13147 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
13150 * nptl/pthread_create.c: Include <tls-setup.h>.
13151 (__pthread_create_2_1): Call tls_setup_tcbhead.
13152 * sysdeps/generic/tls-setup.h: New file.
13153 * sysdeps/x86/nptl/tls-setup.h: Likewise.
13154 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13155 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
13157 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
13159 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13160 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
13161 (X86_FEATURE_1_SHSTK): Likewise.
13162 (CET_ENABLED): Likewise.
13163 (IBT_ENABLED): Likewise.
13164 (SHSTK_ENABLED): Likewise.
13166 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
13169 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
13170 (LOCALES): Likewise.
13171 * localedata/dsb_DE.UTF-8.in: New file.
13172 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
13174 2018-07-12 Florian Weimer <fweimer@redhat.com>
13176 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
13177 __mprotect, not mprotect.
13179 2018-07-11 Florian Weimer <fweimer@redhat.com>
13181 * io/Makefile (headers): Add bits/statx.h.
13183 2018-07-10 Mike FABIAN <mfabian@redhat.com>
13185 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
13186 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
13188 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
13189 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
13192 2018-07-10 Florian Weimer <fweimer@redhat.com>
13194 * io/Makefile (routines): Add statx.
13195 (tests-internal): Add tst-statx.
13196 * io/Versions (GLIBC_2.28): Export statx.
13197 * io/bits/statx.h: New file.
13198 * io/sys/stat.h [__USE_GNU]: Include it.
13199 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
13200 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
13202 * io/statx.c: New file.
13203 * io/statx_generic.: Likewise.
13204 * io/tst-statx.: Likewise.
13205 * include/bits/statx.h: Likewise.
13206 * sysdeps/unix/sysv/linux/kernel-features.h
13207 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
13208 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13209 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
13210 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
13212 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13213 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
13214 * sysdeps/unix/sysv/linux/statx.c: New file.
13215 * manual/filesys.texi: Note that statx is undocumented.
13216 * sysdeps/**/libc*.abilist: Update.
13218 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13220 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
13221 a kernel issue which lead to test failure in some cases.
13223 2018-07-10 Florian Weimer <fweimer@redhat.com>
13226 * posix/regexec.c (check_node_accept_bytes): When comparing
13227 weights, do not compare an extra byte after the end of the
13230 2018-07-10 Florian Weimer <fweimer@redhat.com>
13232 * libio/readline.c: Fix copyright year.
13233 * libio/tst-readline.c Likewise.
13234 * nss/tst-nss-files-hosts-getent.c: Likewise.
13236 2018-07-06 Florian Weimer <fweimer@redhat.com>
13239 * nss/nss_files/files-XXX.c (internal_getent): Use
13240 __libc_readline_unlocked. Seek back to the start of the line if
13241 parsing failes with ERANGE.
13242 (get_contents_ret, get_contents): Remove.
13243 * nss/tst-nss-files-hosts-getent.c: New file.
13244 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
13245 (tst-nss-files-hosts-getent): Link with -ldl.
13247 2018-07-06 Florian Weimer <fweimer@redhat.com>
13249 * include/stdio.h (__libc_readline_unlocked): Declare.
13250 (__ftello64, __fseeko64): Declare aliases.
13251 * libio/readline.c: New file.
13252 * libio/tst-readline.c: Likewise.
13253 (routines): Add readline.
13254 (tests-internal): Add tst-readlime.
13255 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
13256 __libc_readline_unlocked.
13257 * libio/fseeko.c (__fseeko): Rename from fseeko.
13258 (fseeko): Add alias.
13259 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
13260 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
13261 (fseeko64): Add alias.
13262 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
13263 * libio/ftello64.c (__ftello64): Rename from ftello64.
13264 (ftello64): Add alias.
13266 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13268 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
13271 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13273 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
13274 Use dl_hwcap without masking.
13275 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
13276 Remove HWCAP_CPUID.
13278 2018-07-06 Florian Weimer <fweimer@redhat.com>
13280 * conform/conformtest.pl (checknamespace): Escape literal braces
13281 in regular expressions.
13283 2018-07-06 Amit Pawar <amit.pawar@amd.com>
13285 * sysdeps/x86/cpu-features.c (get_common_indeces):
13286 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
13287 * sysdeps/x86/cpu-features.c (init_cpu_features):
13288 AVX_Fast_Unaligned_Load is disabled for Excavator core.
13290 2018-07-05 Florian Weimer <fweimer@redhat.com>
13292 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
13294 (CFLAGS-elf-init.oS): Likewise.
13296 2018-07-05 Florian Weimer <fweimer@redhat.com>
13297 Carlos O'Donell <carlos@redhat.com>
13299 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
13300 $(no-stack-protector). stack_chk_fail_local.c can be compiled
13301 with stack protector enabled because there is no risk of infinite
13304 2018-07-05 Maciej W. Rozycki <macro@mips.com>
13308 * libc-abis (ABSOLUTE): New ABI.
13309 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
13310 * NEWS: Mention the new ABI.
13312 2018-07-05 Florian Weimer <fweimer@redhat.com>
13315 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
13316 (RENAME_WHITEOUT): Define.
13317 [__USE_GNU] (renameat2): Declare.
13318 * stdio-common/Makefile (routines): Add renameat2.
13319 (tests): Add tst-renameat2.
13320 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
13321 * stdio-common/renameat2.c: New file.
13322 * stdio-common/tst-renameat2.c: Likewise.
13323 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
13324 * manual/filesys.texi (Temporary Files): Note that renameat2 is
13326 * sysdeps/unix/sysv/linux/kernel-features.h
13327 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
13328 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13329 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13330 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13331 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13332 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13333 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
13334 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13335 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
13336 * include/stdio.h (__renameat): Add alias for renameat.
13337 * stdio-common/renameat.c (__renameat): Rename from renameat.
13338 Add hidden definition and alias.
13339 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13340 * sysdeps/mach/hurd/renameat.c: Likewise.
13341 * sysdeps/**/libc*.abilist: Add renameat2.
13343 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13345 * posix/bug-regex33.c: Fix build after regex sync.
13347 2018-07-04 Carlos O'Donell <carlos@redhat.com>
13350 * localedata/tst-langinfo-setlocale.c: New file.
13351 * localedata/tst-langinfo-setlocale-static.c: New file.
13352 * localedata/tst-langinfo-newlocale.c: New file.
13353 * localedata/tst-langinfo-newlocale-static.c: New file.
13354 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
13355 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
13356 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
13357 (tests-static): Remove tst-langinfo-static. Add
13358 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
13359 (tests-special): Remove $(objpfx)tst-langinfo.out,
13360 $(objpfx)tst-langinfo-static.out. Add
13361 $(objpfx)tst-langinfo-setlocale.out,
13362 $(objpfx)tst-langinfo-newlocale.out,
13363 $(objpfx)tst-langinfo-setlocale-static.out,
13364 $(objpfx)tst-langinfo-newlocale-static.out.
13365 ($(objpfx)tst-langinfo.out): Remove.
13366 ($(objpfx)tst-langinfo-static.out): Remove.
13367 ($(objpfx)tst-langinfo-newlocale.out): New target.
13368 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
13369 (test-xfail-tst-langinfo-newlocale-static): Add.
13370 ($(objpfx)tst-langinfo-setlocale.out): New target.
13371 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
13372 * localedata/tst-langinfo.c: Call test_locale.
13373 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
13376 2018-07-04 Florian Weimer <fweimer@redhat.com>
13378 testrun.sh: Implement --tool=strace, --tool=valgrind
13379 * Makefile (testrun-script): Define variable.
13380 (testrun.sh): Use variable.
13381 * manual/install.texi (Tools for Compilation): make 4.0 or later
13383 * configure.ac: Check for make 4.0 or later.
13384 * INSTALL: Regenerate.
13385 * configure: Likewise.
13387 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13393 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
13394 * posix/PCRE.tests: Remove invalid test.
13395 * posix/bug-regex28.c: Fix expected values for used syntax.
13396 * posix/bug-regex37.c: New file.
13397 * posix/bug-regex38.c: Likewise.
13398 * posix/regcomp.c: Sync with gnulib.
13399 * posix/regex.c: Likewise.
13400 * posix/regex.h: Likewise.
13401 * posix/regex_internal.c: Likewise.
13402 * posix/regex_internal.h: Likewise.
13403 * posix/regexec.c: Likewise.
13405 2018-06-26 Mike FABIAN <mfabian@redhat.com>
13408 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
13409 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
13410 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
13411 * localedata/unicode-gen/PropList.txt: likewise.
13412 * localedata/unicode-gen/UnicodeData.txt: likewise.
13413 * localedata/charmaps/UTF-8: Regenerate.
13414 * localedata/locales/i18n_ctype: likewise.
13415 * localedata/locales/tr_TR: likewise.
13416 * localedata/locales/translit_circle: likewise.
13417 * localedata/locales/translit_cjk_compat: likewise.
13418 * localedata/locales/translit_combining: likewise.
13419 * localedata/locales/translit_compat: likewise.
13420 * localedata/locales/translit_font: likewise.
13421 * localedata/locales/translit_fraction: likewise.
13423 2018-07-03 Florian Weimer <fweimer@redhat.com>
13426 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
13427 * stdio-common/tst-printf.sh: Adjust expected output.
13428 * LICENSES: Update.
13430 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13432 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
13435 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13437 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
13438 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
13439 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
13440 * stdio-common/tst-printfsz-islongdouble.c: New file.
13441 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
13442 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
13443 [subdir == stdio-common] (routines): Add ieee128-printf_size.
13444 [subdir == stdio-common] (tests-internal): Add
13445 test-printf-size-ieee128, and test-printf-size-ibm128.
13446 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
13447 (CFLAGS-test-printf-size-ibm128.c): New variables.
13448 [subdir == stdio-common] (tests-special): Add
13449 $(objpfx)test-printf-size-ieee128.out and
13450 $(objpfx)test-printf-size-ibm128.out.
13451 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
13452 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
13453 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
13454 __printf_sizeieee128.
13455 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
13457 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
13459 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
13462 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13464 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
13465 (exp2f_inline): Likewise.
13466 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
13467 (__math_uflowf): Likewise.
13468 (__math_may_uflowf): Likewise.
13469 (__math_divzerof): Likewise.
13470 (__math_invalidf): Likewise.
13471 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
13472 (__math_oflowf): Likewise.
13473 (__math_uflowf): Likewise.
13474 (__math_may_uflowf): Likewise.
13475 (__math_divzerof): Likewise.
13476 (__math_invalidf): Likewise.
13478 2018-06-29 DJ Delorie <dj@redhat.com>
13479 Carlos O'Donell <carlos@redhat.com>
13482 * include/libc-symbols.h: Comment the freeres framework.
13483 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
13484 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
13485 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
13486 * dlfcn/dlerror.c: Include libc-symbols.h
13487 (__dlerror_main_freeres): New function.
13488 * dlfcn/dlfreeres.c: New file.
13489 * dlfcn/sdlfreeres.c: New file.
13490 * include/dlfcn.h: Declare __dlerror_main_freeres.
13491 * malloc/set-freeres.c: Declare __libdl_freeres, and
13492 __libpthread_freeres.
13493 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
13494 the releavant libraries are loaded.
13495 * malloc/thread-freeres.c: Add comments.
13496 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
13497 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
13498 * nptl/allocatestack.c (__nptl_free_stacks): New function.
13499 (__free_stacks): Rename to...
13500 (free_stacks): ...this. Mark static.
13501 (queue_stack): Call free_stacks.
13502 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
13503 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
13504 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
13505 ptr_freeres element from struct.
13506 (pthread_functions): Remove .ptr_freeres from struct initializer.
13507 [SHARED] (nptl_freeres): Remove.
13508 * nptl/nptlfreeres.c: New file.
13510 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
13511 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
13513 (__free_stacks): Rename to...
13514 (__nptl_stacks_freeres): ...this.
13515 (__shm_directory_freeres): Declare.
13516 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
13517 (__nptl_unwind_freeres): ...this.
13518 * resolv/res-close.c: Add comment.
13519 * resolv/resolv_conf.c: Include libc-symbols.h.
13520 * string/strerror_l.c: Include libc-symbols.h.
13521 * sunrpc/rpc_thread.c: Include libc-symbols.h.
13522 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
13523 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
13524 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
13526 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13528 * stdlib/tst-strfmon_l.c: Add tests for long double.
13530 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
13533 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
13534 * localedata/locales/dsb_DE: New file.
13536 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13539 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
13541 (alt_mon): New entry, import from CLDR (nominative case).
13543 2018-06-29 Sylvain Lesage <severo@rednegra.net>
13546 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
13548 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
13550 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13551 Use vector registers.
13553 * sysdeps/aarch64/multiarch/memmove_falkor.S
13554 (__memcpy_falkor): Use vector registers.
13556 2018-06-29 Martin Sebor <msebor@redhat.com>
13558 * manual/stdio.texi (Customizing Printf): Mention interaction
13559 with GCC built-ins.
13561 2018-06-29 Maciej W. Rozycki <macro@mips.com>
13564 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
13565 `st_value' is 0 if `st_shndx' is SHN_ABS.
13566 * elf/tst-absolute-zero.c: New file.
13567 * elf/tst-absolute-zero-lib.c: New file.
13568 * elf/tst-absolute-zero-lib.lds: New file.
13569 * elf/Makefile (tests): Add `tst-absolute-zero'.
13570 (modules-names): Add `tst-absolute-zero-lib'.
13571 (LDLIBS-tst-absolute-zero-lib.so): New variable.
13572 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
13573 ($(objpfx)tst-absolute-zero: New dependency.
13575 2018-06-29 Zack Weinberg <zackw@panix.com>
13577 * configure.ac: New command-line option --disable-crypt.
13578 Force --disable-nss-crypt when --disable-crypt is given, with a
13579 warning if it was explicitly enabled.
13580 * configure: Regenerate.
13581 * config.make.in: New boolean substitution variable $(build-crypt).
13582 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
13583 when $(build-crypt).
13584 * manual/install.texi: Document --disable-crypt.
13585 * INSTALL: Regenerate.
13587 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
13588 which is never set.
13589 * conform/Makefile: Only include libcrypt.a in
13590 linknamespace-libs-xsi and linknamespace-libs-XPG4
13591 when $(build-crypt).
13592 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
13593 USE_CRYPT to 1 when $(build-crypt).
13594 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
13595 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
13596 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
13598 2018-06-29 Zack Weinberg <zackw@panix.com>
13600 * crypt/crypt.h, posix/unistd.h: Update comments and
13601 prototypes for crypt and crypt_r.
13603 * manual/crypt.texi (Cryptographic Functions): New initial
13605 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
13606 (Unpredictable Bytes): Improve initial exposition. Clarify error
13607 behavior of getentropy and getrandom.
13608 * manual/examples/genpass.c: Generate a salt using getentropy
13609 instead of the current time. Use hash $5$ (SHA-2-256).
13610 * manual/examples/testpass.c: Demonstrate validation against
13611 hashes generated with three different one-way functions.
13613 * manual/intro.texi: crypt.texi does not need an overview
13616 * manual/nss.texi, manual/memory.texi, manual/socket.texi
13617 * manual/terminal.texi: Consistently refer to "passphrases"
13618 * instead of "passwords", and to the "user database" instead
13619 * of the "password database".
13620 * manual/users.texi: Similarly. Add notes about how actual
13621 passphrase hashes are now stored in the shadow database.
13622 Remove 20-year-old junk todo note.
13624 2018-06-29 Zack Weinberg <zackw@panix.com>
13626 * manual/crypt.texi: Use a normal top-level @node declaration.
13627 Move most of the introductory text to the 'crypt' section.
13628 Move the example programs below the @deftypefun for 'crypt_r'.
13629 Move the 'getpass' section...
13630 * manual/terminal.texi: ...here.
13632 2018-06-29 Zack Weinberg <zackw@panix.com>
13633 Florian Weimer <fweimer@redhat.com>
13635 * posix/unistd.h: Do not declare encrypt.
13636 (_XOPEN_CRYPT): Remove macro definition.
13637 (crypt): Declare only for _USE_MISC.
13638 * stdlib/stdlib.h: Do not declare setkey.
13639 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
13640 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
13642 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
13643 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
13644 into compat symbols. Don't define initial_perm if it's not
13646 * crypt/cert.c: Link explicitly with the expected versions for
13647 setkey and encrypt. If they are not available at all, mark
13648 the test as unsupported.
13650 * sunrpc/des_crypt.c: Unconditionally block linkage with
13651 cbc_crypt and ecb_crypt for new binaries.
13652 * sunrpc/des_soft.c: Unconditionally block linkage with
13653 des_setparity for new binaries.
13655 * manual/crypt.texi: Remove the entire "DES Encryption"
13656 section. Also remove the paragraph talking about FIPS 140-2
13657 from the introduction.
13658 * manual/string.texi (strfry, memfrob): Revise. Recommend use
13659 of libgcrypt for "real" encryption, not DES.
13660 * manual/conf.texi (Constants for Sysconf): Mention that
13661 _XOPEN_CRYPT is no longer impelemented.
13663 * conform/data/unistd.h-data: Remove crypt function declaration.
13665 2018-06-29 Florian Weimer <fweimer@redhat.com>
13668 * malloc/hooks.c: Update comments on restoring of dumped heaps.
13669 (disallow_malloc_check): Remove variable.
13670 (__malloc_check_init): Adjust.
13671 (malloc_set_state): Update comment.
13672 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
13675 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13678 * localedata/locales/ast_ES (mon): Rename to...
13680 (mon): Import from CLDR (genitive case).
13682 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
13683 Jakub Sitnicki <jkbs@redhat.com>
13686 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
13687 on NLM_F_DUMP_INTR.
13689 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
13691 * manual/llio.texi: Remove spurious space.
13693 2018-06-28 Florian Weimer <fweimer@redhat.com>
13696 * time/bits/types/struct_timespec.h: Change header inclusion guard to
13699 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13701 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
13702 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
13703 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
13704 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
13705 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
13706 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
13707 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
13709 2018-06-27 Maciej W. Rozycki <macro@mips.com>
13712 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
13713 Copy and null-terminate entries that are not terminated, in
13714 addition to empty ones.
13716 2018-06-27 Florian Weimer <fweimer@redhat.com>
13719 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
13720 (extend_alloca_account): Remove.
13721 * manual/stdio.texi (Variable Arguments Output): Update comment.
13723 2018-06-27 Joseph Myers <joseph@codesourcery.com>
13725 * nptl/sockperf.c: Remove file.
13727 2018-06-27 Florian Weimer <fweimer@redhat.com>
13730 * elf/dl-deps.c (_dl_map_object_deps): Use struct
13731 scratch_buffer instead of extend_alloca.
13733 2018-06-27 Florian Weimer <fweimer@redhat.com>
13736 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
13737 scratch_buffer instead of extend_alloca. Update comments.
13739 2018-06-27 Florian Weimer <fweimer@redhat.com>
13742 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
13743 instead of extend_alloca.
13745 2018-06-26 Joseph Myers <joseph@codesourcery.com>
13748 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
13749 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
13751 * scripts/test-installation.pl: Put temporary files in build
13752 directory, not /tmp.
13753 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
13754 (CFLAGS-bug4.c): Likewise.
13755 (CFLAGS-bug5.c): Likewise.
13756 (CFLAGS-test-fseek.c): Likewise.
13757 (CFLAGS-test-popen.c): Likewise.
13758 (CFLAGS-test_rdwr.c): Likewise.
13759 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
13761 * stdio-common/bug4.c (main): Likewise.
13762 * stdio-common/bug5.c (main): Likewise.
13763 * stdio-common/test-fseek.c (TESTFILE): Likewise.
13764 * stdio-common/test-popen.c (do_test): Likewise.
13765 * stdio-common/test_rdwr.c (main): Likewise.
13767 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
13769 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
13770 (sem_open): Set sem.newsem.pad to zero for valgrind.
13772 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13775 * NEWS: Mention fcntl64 addition.
13776 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
13777 * login/utmp_file.c: Likewise.
13778 * sysdeps/posix/fdopendir.c: Likewise.
13779 * sysdeps/posix/opendir.c: Likewise.
13780 * sysdeps/unix/pt-fcntl.c: Likewise.
13781 * include/fcntl.h (__libc_fcntl64, __fcntl64,
13782 __fcntl64_nocancel_adjusted): New prototype.
13783 (__fcntl_nocancel_adjusted): Remove prototype.
13784 * io/Makefile (routines): Add fcntl64.
13785 (CFLAGS-fcntl64.c): New rule.
13786 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
13787 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
13788 * io/fcntl.h (fcntl64): Add prototype and redirect if
13789 __USE_FILE_OFFSET64 is defined.
13790 * io/fcntl64.c: New file.
13791 * manual/llio.text: Add a note for which commands fcntl acts a
13792 cancellation point.
13793 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
13794 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
13795 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
13797 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
13798 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
13800 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
13801 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
13802 to __fcntl64_nocancel.
13803 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
13804 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
13805 to __fcntl64_nocancel.
13806 * sysdeps/generic/not-cancel.h: Likewise.
13807 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
13808 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
13809 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13810 (fcntl64): New symbol.
13811 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13812 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13813 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13816 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13817 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13818 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13819 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13820 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13821 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
13822 fcntl64): Likewise.
13823 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13824 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
13825 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13826 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13827 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13828 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13829 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13830 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13831 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13836 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13837 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13838 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13840 2018-06-26 Florian Weimer <fweimer@redhat.com>
13842 Run thread shutdown functions in an explicit order.
13843 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
13845 (__libc_thread_freeres): Call thread shutdown functions
13847 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
13848 * include/string.h (__strerror_thread_freeres): Declare.
13849 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
13850 arena_thread_freeres. No longer static. Remove thread shutdown
13852 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
13854 * resolv/res-close.c (__res_thread_freeres): Renamed from
13855 res_thread_freeres. No longer static. Remove thread shutdown
13857 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
13858 * resolv/resolv_conf.c (freeres): Remove incorrect section
13859 attribute and use libc_freeres_fn.
13860 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
13861 strerror_thread_freeres. No longer static. Remove thread
13862 shutdown hook registration.
13863 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
13864 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
13865 shutdown hook registration.
13866 * Makerules (shlib.lds): Do not provide section boundary symbols
13867 for __libc_thread_subfreeres.
13868 * manual/memory.texi (Basic Allocation): Update comment.
13870 2018-06-26 Florian Weimer <fweimer@redhat.com>
13872 Remove always-defined _RPC_THREAD_SAFE_ macro.
13873 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
13874 Do not define _RPC_THREAD_SAFE_.
13875 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
13877 * sunrpc/clnt_perr.c: Likewise.
13878 * sunrpc/clnt_raw.c: Likewise.
13879 * sunrpc/clnt_simp.c: Likewise.
13880 * sunrpc/key_call.c: Likewise.
13881 * sunrpc/rpc_common.c: Likewise.
13882 * sunrpc/rpc_main.c: Likewise.
13883 * sunrpc/rpc_thread.c: Likewise.
13884 * sunrpc/svc.c: Likewise.
13885 * sunrpc/svc_raw.c: Likewise.
13886 * sunrpc/svc_simple.c: Likewise.
13887 * sumrpc/svcauth_des.c: Likewise.
13889 2018-06-26 Florian Weimer <fweimer@redhat.com>
13891 * libio/Makefile (tests-internal): Add tst-vtables,
13892 tst-vtables-interposed.
13893 * libio/tst-vtables.c: New file.
13894 * libio/tst-vtables-common.c: Likewise.
13895 * libio/tst-vtables-interposed.c: Likewise.
13897 2018-06-26 Florian Weimer <fweimer@redhat.com>
13899 * support/support_test_main.c (support_test_main): Only call
13900 setvbuf if not disables.
13901 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
13902 * support/test-driver.h (struct test_config): Add no_setvbuf member.
13904 2018-06-26 Florian Weimer <fweimer@redhat.com>
13907 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
13909 2018-06-25 Florian Weimer <fweimer@redhat.com>
13912 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13913 Use struct scratch_buffer instead of extend_alloca.
13915 2018-06-25 Florian Weimer <fweimer@redhat.com>
13918 * nss/getent.c (initgroups_keys): Use dynarray instead of
13921 2018-06-25 Florian Weimer <fweimer@redhat.com>
13924 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
13925 Use struct scratch_buffer instead of extend_alloca.
13927 2018-06-25 Florian Weimer <fweimer@redhat.com>
13930 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
13931 back to malloc directly, without stack allocations.
13933 2018-06-25 Florian Weimer <fweimer@redhat.com>
13936 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
13939 2018-06-25 Florian Weimer <fweimer@redhat.com>
13942 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
13944 * nscd/hstcache.c (addhstbyX): Likewise.
13945 * nscd/pwdcache.c (addpwbyX): Likewise.
13946 * nscd/servicescache.c (addservbyX): Likewise.
13948 2018-06-25 Florian Weimer <fweimer@redhat.com>
13951 * nscd/connections.c (read_cmdline): New function.
13952 (restart): Use it. Update comment.
13954 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13957 * localedata/locales/csb_PL (mon): Rename to...
13959 (abmon): Rename to...
13960 (ab_alt_mon): This.
13961 (mon): Add with proper genitive forms, copy from Wikipedia.
13964 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13967 * localedata/locales/csb_PL (mon): Fix typos:
13968 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
13969 (yesstr): Add, value is "jo".
13970 (nostr): Add, value is "nié".
13972 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13974 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
13975 all log1p and significand functions on m680x0.
13976 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
13977 of s_significand.c..
13978 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13979 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
13980 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
13981 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
13982 s_log1p.c and include it..
13984 2018-06-21 Vincent Chen <vincentc@andestech.com>
13986 * elf/elf.h (R_NDS32_NONE): New define.
13987 (R_NDS32_32_RELA): Likewise.
13988 (R_NDS32_COPY): Likewise.
13989 (R_NDS32_GLOB_DAT): Likewise.
13990 (R_NDS32_JUMP_SLOT): Likewise.
13991 (R_NDS32_RELATIVE): Likewise.
13992 (R_NDS32_TLS_TPOFF): Likewise.
13993 (R_NDS32_TLS_DESC): Likewise.
13995 2018-06-21 Mark Wielaard <mark@klomp.org>
13997 * elf/elf.h (R_BPF_MAP_FD): Removed.
13998 (R_BPF_64_64, R_BPF_64_32): New.
14000 2018-06-21 Florian Weimer <fweimer@redhat.com>
14003 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
14004 Renamed from libc_feholdsetround_ctx.
14005 (default_libc_feresetround_ctx): Renamed from
14006 libc_feresetround_ctx.
14007 (default_libc_feholdsetround_noex_ctx): Renamed from
14008 libc_feholdsetround_noex_ctx.
14009 (default_libc_feresetround_noex_ctx): Renamed from
14010 libc_feresetround_noex_ctx.
14011 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
14012 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
14013 forwardning to the old implementations under the new names.
14014 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
14015 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
14016 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
14017 (libc_feresetround_ctx): Forward to default implements for i386
14018 and MATH_SET_BOTH_ROUNDING_MODES.
14019 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
14020 Add -DMATH_SET_BOTH_ROUNDING_MODES.
14022 2018-06-20 Joseph Myers <joseph@codesourcery.com>
14024 * string/tst-cmp.c: Include <libc-diag.h>.
14025 (strncmp_max): Disable -Wstringop-overflow= around call to
14027 (strncasecmp_max): Disable -Wstringop-overflow= around call to
14030 * string/bug-strpbrk1.c: Include <libc-diag.h>.
14031 (main): Disable -Wunused-value around call to strpbrk.
14032 * string/bug-strspn1.c: Include <libc-diag.h>.
14033 (main): Disable -Wunused-value around call to strspn.
14035 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14036 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14038 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
14039 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
14041 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14043 * math/Makefile (libm-calls): Move s_significandF to...
14044 (gen-libm-calls): ... here.
14045 * math/s_significand_template.c: New file.
14046 * math/s_significand.c: Removed.
14047 * math/s_significandf.c: Removed.
14048 * math/s_significandl.c: Removed.
14049 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
14050 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
14052 * math/e_exp2_template.c (declare_mgen_finite_alias,
14053 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
14054 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
14055 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
14057 2018-06-20 Florian Weimer <fweimer@redhat.com>
14059 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
14061 2018-06-19 Joseph Myers <joseph@codesourcery.com>
14064 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
14065 floating-point number to strtod functions rather than possibly
14066 negating result of those functions.
14067 * stdio-common/tst-scanf-round.c: New file.
14068 * stdio-common/Makefile (tests): Add tst-scanf-round.
14069 ($(objpfx)tst-scanf-round): Depend on $(libm).
14071 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14073 * sysdeps/mach/hurd/localplt.data: Move to...
14074 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
14075 R_386_GLOB_DAT like on Linux i386.
14077 2018-06-18 Joseph Myers <joseph@codesourcery.com>
14079 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
14080 (SHM_STAT_ANY): New macro.
14081 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
14082 (SHM_STAT_ANY): Likewise.
14083 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
14084 (SHM_STAT_ANY): Likewise.
14085 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
14086 (SHM_STAT_ANY): Likewise.
14087 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
14088 (SHM_STAT_ANY): Likewise.
14089 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
14090 (SHM_STAT_ANY): Likewise.
14091 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
14092 (SHM_STAT_ANY): Likewise.
14093 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
14094 (SHM_STAT_ANY): Likewise.
14095 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
14096 (SHM_STAT_ANY): Likewise.
14097 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
14098 (SHM_STAT_ANY): Likewise.
14099 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
14100 (SHM_STAT_ANY): Likewise.
14101 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
14102 (SHM_STAT_ANY): Likewise.
14104 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
14105 (SEM_STAT_ANY): New macro.
14106 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
14107 (SEM_STAT_ANY): Likewise.
14108 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
14109 (SEM_STAT_ANY): Likewise.
14110 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
14111 (SEM_STAT_ANY): Likewise.
14112 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
14113 (SEM_STAT_ANY): Likewise.
14114 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
14115 (SEM_STAT_ANY): Likewise.
14116 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
14117 (SEM_STAT_ANY): Likewise.
14118 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
14119 (SEM_STAT_ANY): Likewise.
14120 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
14121 (SEM_STAT_ANY): Likewise.
14122 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
14123 (SEM_STAT_ANY): Likewise.
14125 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
14126 (MSG_STAT_ANY): New macro.
14127 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
14128 (MSG_STAT_ANY): Likewise.
14129 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
14130 (MSG_STAT_ANY): Likewise.
14131 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
14132 (MSG_STAT_ANY): Likewise.
14133 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
14134 (MSG_STAT_ANY): Likewise.
14135 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
14136 (MSG_STAT_ANY): Likewise.
14137 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
14138 (MSG_STAT_ANY): Likewise.
14139 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
14140 (MSG_STAT_ANY): Likewise.
14141 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
14142 (MSG_STAT_ANY): Likewise.
14143 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
14144 (MSG_STAT_ANY): Likewise.
14146 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14147 (MAP_TYPE): Change value to 0x2b.
14149 2018-06-18 Florian Weimer <fweimer@redhat.com>
14152 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
14153 socket with SOCK_CLOEXEC.
14155 2018-06-18 Joseph Myers <joseph@codesourcery.com>
14158 * sysdeps/powerpc/powerpc64/le/Makefile
14159 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
14160 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
14161 (gnulib-tests): Also add $(f128-loader-link) for
14162 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
14164 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
14166 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
14167 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
14169 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
14170 (sendfile64): New strong alias.
14171 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
14172 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
14173 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
14174 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
14176 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
14177 ___pthread_get_cleanup_stack.
14178 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
14179 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
14180 * mach/shortcut.awk: Make syscall stubs include
14181 <mach-shortcuts-hidden.h> and add hidden definition.
14182 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
14183 (__mach_msg): Add hidden prototype.
14184 * mach/msg.c: Include <mach.h>.
14185 (__mach_msg): Add hidden definition.
14186 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
14187 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
14188 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
14189 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
14190 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
14191 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
14192 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
14193 prototype and definition.
14194 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
14195 hidden target for _hurd_self_sigstate.
14197 2018-06-15 Joseph Myers <joseph@codesourcery.com>
14200 * stdlib/tst-strtod-nan-sign-main.c: New file.
14201 * stdlib/tst-strtod-nan-sign.c: Likewise.
14202 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
14203 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
14204 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
14205 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
14206 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
14208 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
14211 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
14214 2018-06-14 Florian Weimer <fweimer@redhat.com>
14217 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
14218 that the result stays within the ISO-8859-1 range.
14219 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
14220 characters are defined in IBM273.
14222 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
14224 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
14225 __mach_task_self): Remove attribute_hidden.
14227 2018-06-14 Joseph Myers <joseph@codesourcery.com>
14229 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
14230 ignore -Wrestrict for one test.
14232 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
14233 Szabolcs Nagy <szabolcs.nagy@arm.com>
14235 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
14237 2018-06-14 Florian Weimer <fweimer@redhat.com>
14239 * scripts/update-abilist.sh: Accept empty list of files to patch.
14241 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
14243 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
14244 test-xfail-check-abi-libmachuser): Add.
14245 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
14246 __libc_read and __libc_write to __read and __write.
14247 * sysdeps/hurd/include/hurd/port.h: New file.
14248 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
14249 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
14250 __thread_switch, __evc_wait): Move declarations to...
14251 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
14253 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
14254 use PLT to call _hurd_self_sigstate.
14256 2018-06-13 Joseph Myers <joseph@codesourcery.com>
14259 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
14260 MAX_EXP as overflowing.
14261 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
14263 (round_str): Output also whether result overflows in each rounding
14265 * stdlib/tst-strtod-round-data: Add more tests.
14266 * stdlib/tst-strtod-round-data.h: Regenerated.
14267 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
14268 (TEST): Handle extra arguments for overflow flags.
14269 (struct test_overflow): New type.
14270 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
14271 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
14272 (test_in_one_mode): Take argument with overflow information.
14273 (do_test): Update calls to test_in_one_mode.
14275 2018-06-12 Carlos O'Donell <carlos@redhat.com>
14277 * elf/dl-load (_dl_dst_substitute): Correct comment.
14278 (_dl_dst_count): Likewise.
14280 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
14281 lll_futex_timed_wait.
14283 2018-06-12 Joseph Myers <joseph@codesourcery.com>
14286 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
14288 * math/test-nan-const.c: New file.
14289 * math/Makefile (tests): Add test-nan-const.
14290 (CFLAGS-test-nan-const.c): New variable.
14292 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14294 * benchtests/scripts/compare_strings.py (process_results): Add
14295 funcs argument. Compare only functions which are selected.
14296 (main): Check if base function is among selected functions.
14297 Pass selected functions to process_results.
14298 (__main__): Add -f/--functions argument.
14300 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
14301 Hongbo Zhang <hongbo.zhang@linaro.org>
14303 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
14304 __memcpy_falkor for phecda core.
14305 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
14306 __memmove_falkor for phecda core.
14307 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
14308 __memset_falkor for phecda core.
14309 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
14311 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
14312 macro to identify phecda core.
14314 2018-06-12 Carlos O'Donell <carlos@redhat.com>
14315 Andreas Schwab <schwab@suse.de>
14316 Dmitry V. Levin <ldv@altlinux.org>
14317 Florian Weimer <fweimer@redhat.com>
14324 * elf/dl-dst.h: Remove DL_DST_COUNT.
14325 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
14326 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
14327 (is_dst): Comment. Support ELF gABI.
14328 (_dl_dst_count): Comment. Simplify and count DSTs.
14329 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
14330 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
14333 2018-06-12 Zack Weinberg <zackw@panix.com>
14335 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
14336 * sysdeps/unix/sysv/linux/dl-sysdep.c
14337 Include not-cancel.h. Use __close_nocancel instead of __close,
14338 __open64_nocancel instead of __open, __read_nocancel instead of
14339 __libc_read, and __write_nocancel instead of __libc_write.
14341 * csu/check_fds.c (check_one_fd)
14342 * sysdeps/posix/fdopendir.c (__fdopendir)
14343 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
14344 instead of __fcntl and/or __libc_fcntl.
14346 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
14347 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
14348 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
14349 Use __open64_nocancel instead of __open_nocancel.
14351 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
14352 hidden_proto declarations to the end and issue them if either
14353 IS_IN(libc) or IS_IN(rtld).
14354 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
14355 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
14356 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
14357 read_nocancel, waitpid_nocancel, write_nocancel.
14359 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
14360 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
14361 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
14363 * nptl/pt-fcntl.c: New file.
14364 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
14365 (libpthread-routines): Add pt-fcntl.
14366 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
14367 (__libc_fcntl): Remove attribute_hidden.
14368 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
14369 __fcntl_nocancel_adjusted, not fcntl_common.
14370 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
14371 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
14372 to fcntl_nocancel.c.
14373 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
14374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
14375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14376 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
14378 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
14379 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
14380 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
14381 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
14382 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
14383 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
14384 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
14385 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
14386 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
14387 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
14388 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
14389 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
14390 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
14391 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
14392 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
14393 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
14394 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
14395 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
14396 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
14397 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
14399 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
14400 libpthread-routines.
14401 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
14404 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
14405 __libc_read, and __write instead of __libc_write. Define
14406 __open64 in addition to __open.
14408 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14412 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
14413 to _private_tm[3] and add __glibc_reserved2.
14414 Add _Static_assert of offset of __private_ss == 0x30.
14415 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
14416 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
14418 2018-06-12 Florian Weimer <fweimer@redhat.com>
14420 x86: Make strncmp usable from rtld.
14421 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
14422 __strncmp_ia32 if in libc (and not in rtld).
14423 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
14424 strncmp if not in libc (and not to __strncmp_sse2).
14426 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
14429 * localedata/locales/gd_GB (mon): Rename to...
14431 (mon): Import from CLDR (genitive case).
14432 * localedata/locales/hsb_DE (mon): Rename to...
14434 (mon): Import from CLDR (genitive case).
14435 * localedata/locales/wa_BE (mon): Rename to...
14437 (mon): Add, fill with the proper genitive forms, but CLDR data
14438 is incomplete; completed according to the comments in this file.
14439 (d_t_fmt): Do not use "di" before the month name, no longer needed.
14441 * localedata/locales/wa_BE (country_name): Reword
14442 "Beljike" -> "Beldjike".
14444 2018-06-11 Joseph Myers <joseph@codesourcery.com>
14447 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
14448 cases of non-finite arguments.
14449 * math/libm-test-fma.inc (fma_test_data): Add more tests.
14451 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
14454 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
14456 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14459 * include/unistd.h (__execvpex): New prototype.
14460 * posix/Makefile (tests): Add tst-spawn4.
14461 (tests-internal): Add tst-spawn4-compat.
14462 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
14463 * posix/tst-spawn4-compat.c: New file.
14464 * posix/tst-spawn4.c: Likewise.
14465 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
14466 binaries as shell scripts.
14467 * sysdeps/posix/spawni.c (__spawni): Likewise.
14469 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
14472 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
14473 ($(all-built-dso:=.dynsym): New target.
14474 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
14475 ($(objpfx)check-initfini.out): New target.
14476 (generated): Add check-initfini.out.
14477 * scripts/check-initfini.awk: New file.
14478 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
14480 * sysdeps/alpha/crti.S (_init): Mark as hidden.
14482 * sysdeps/arm/crti.S (_init): Mark as hidden.
14484 * sysdeps/hppa/crti.S (_init): Mark as hidden.
14486 * sysdeps/i386/crti.S (_init): Mark as hidden.
14488 * sysdeps/ia64/crti.S (_init): Mark as hidden.
14490 * sysdeps/m68k/crti.S (_init): Mark as hidden.
14492 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
14494 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
14496 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
14498 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
14500 * sysdeps/nios2/crti.S (_init): Mark as hidden.
14502 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
14504 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
14506 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
14508 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
14510 * sysdeps/sh/crti.S (_init): Mark as hidden.
14512 * sysdeps/sparc/crti.S (_init): Mark as hidden.
14514 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
14517 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14519 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
14520 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
14521 and TF redirection to KFtype and KF only when the default
14522 long double type is not the IEEE 128-bit floating point type.
14524 2018-06-05 Joseph Myers <joseph@codesourcery.com>
14526 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
14528 (HWCAP_USCAT): Likewise.
14529 (HWCAP_ILRCPC): Likewise.
14530 (HWCAP_FLAGM): Likewise.
14531 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14533 (_dl_aarch64_cap_flags): Add new flag names.
14535 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14536 (MAP_FIXED_NOREPLACE): New macro.
14537 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
14538 (MAP_FIXED_NOREPLACE): Likewise.
14539 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
14540 (MAP_FIXED_NOREPLACE): Likewise.
14541 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14542 (MAP_FIXED_NOREPLACE): Likewise.
14543 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14544 (MAP_FIXED_NOREPLACE): Likewise.
14545 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14546 (MAP_FIXED_NOREPLACE): Likewise.
14547 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14548 (MAP_FIXED_NOREPLACE): Likewise.
14549 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
14550 (MAP_FIXED_NOREPLACE): Likewise.
14551 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14552 (MAP_FIXED_NOREPLACE): Likewise.
14553 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
14554 (MAP_FIXED_NOREPLACE): Likewise.
14555 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14556 (MAP_FIXED_NOREPLACE): Likewise.
14557 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14558 (MAP_FIXED_NOREPLACE): Likewise.
14559 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
14560 (MAP_FIXED_NOREPLACE): Likewise.
14561 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
14562 (MAP_FIXED_NOREPLACE): Likewise.
14563 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
14564 (MAP_FIXED_NOREPLACE): Likewise.
14566 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14569 2018-06-04 Joseph Myers <joseph@codesourcery.com>
14571 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14574 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14576 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
14578 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
14580 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14582 * benchtests/scripts/compare_string.py: (process_results) Catch
14583 exception in non-existent base_func and catch exception in
14584 non-existent attribute.
14585 (parse_file) Catch exception if input file does not exist.
14587 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14589 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
14590 options to avoid diff calculation and omit header, respectively.
14591 (main): process --no-diff and --no-header
14593 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14594 H.J. Lu <hongjiu.lu@intel.com>
14596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14597 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
14599 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14600 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
14601 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
14602 and __wcsncmp_sse2.
14603 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
14604 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
14605 AVX unaligned load is fast and vzeroupper is preferred.
14606 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
14607 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
14608 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
14609 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
14610 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
14611 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
14612 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
14613 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
14614 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
14615 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
14618 2018-06-01 Florian Weimer <fweimer@redhat.com>
14620 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
14621 configuring with --disable-multi-arch, building with
14622 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
14625 2018-06-01 Florian Weimer <fweimer@redhat.com>
14627 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
14628 results from building with “-march=x86-64 -mtune=generic
14629 -mfpmath=sse” and running on a Haswell-era CPU.
14631 2018-06-01 Joseph Myers <joseph@codesourcery.com>
14634 * soft-fp/sqrttf2.c: Remove file.
14635 * soft-fp/sqrtdf2.c: Move to ....
14636 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
14638 (__sqrtdf2): Make conditional on
14639 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14641 * soft-fp/sqrtsf2.c: Move to ....
14642 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
14644 (__sqrtsf2): Make conditional on
14645 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14647 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
14648 (gcc-double-routines): Remove sqrtdf2.
14649 (gcc-quad-routines): Remove sqrttf2.
14650 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14651 Do not filter out sqrtsf2 and sqrtdf2.
14652 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14653 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
14655 2018-06-01 Florian Weimer <fweimer@redhat.com>
14657 * sysdeps/generic/libcidn.abilist: Remove file.
14659 2018-06-01 Florian Weimer <fweimer@redhat.com>
14662 * libio/strfile.h (struct _IO_str_fields): Rename members to
14663 discourage their use and add comment.
14664 (_IO_STR_DYNAMIC): Remove unused macro.
14665 * libio/strops.c (_IO_str_init_static_internal): Do not use
14666 callback pointers. Call malloc and free.
14667 (_IO_str_overflow): Do not use callback pointers. Call malloc
14669 (enlarge_userbuf): Likewise.
14670 (_IO_str_finish): Call free.
14671 * libio/wstrops.c (_IO_wstr_init_static): Initialize
14672 _allocate_buffer_unused.
14673 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
14675 (enlarge_userbuf): Likewise.
14676 (_IO_wstr_finish): Call free.
14677 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
14678 _allocate_buffer_unused, _free_buffer_unused.
14679 * libio/memstream.c (__open_memstream): Likewise.
14680 * libio/vasprintf.c (_IO_vasprintf): Likewise.
14681 * libio/wmemstream.c (open_wmemstream): Likewise.
14683 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14685 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
14688 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14690 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
14691 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
14692 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
14694 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
14696 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
14698 2018-05-29 Florian Weimer <fweimer@redhat.com>
14700 * support/Makefile (libsupport-routines): Add
14701 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
14702 xpthread_barrierattr_setpshared.
14703 * support/xpthread_barrierattr_destroy.c: New file.
14704 * support/xpthread_barrierattr_init.c: Likewise.
14705 * support/xpthread_barrierattr_setpshared.c: Likewise.
14707 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
14710 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
14711 _r_debug and update DT_DEBUG for debugger.
14713 2018-05-29 Florian Weimer <fweimer@redhat.com>
14715 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
14716 (tst-strtod5i.out): Likewise.
14718 2018-05-25 Joseph Myers <joseph@codesourcery.com>
14720 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
14721 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
14722 (sparc64-quad-routines): New variable. Moved from ....
14723 [$(subdir) = soft-fp] (sysdep_routines): Add
14724 $(sparc64-quad-routines). Moved from ....
14725 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
14726 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
14727 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
14729 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
14730 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
14731 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
14732 * sysdeps/sparc/sparc64/qp_add.c: ... here.
14733 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
14734 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
14735 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
14736 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
14737 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
14738 * sysdeps/sparc/sparc64/qp_div.c: ... here.
14739 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
14740 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
14741 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
14742 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
14743 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
14744 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
14745 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
14746 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
14747 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
14748 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
14749 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
14750 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
14751 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
14752 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
14753 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
14754 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
14755 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
14756 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
14757 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
14758 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
14759 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
14760 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
14761 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
14762 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
14763 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
14764 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
14765 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
14766 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
14767 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
14768 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
14769 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
14770 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
14771 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
14772 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
14773 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
14774 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
14775 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
14776 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
14777 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
14778 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
14779 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
14780 * sysdeps/sparc/sparc64/qp_util.c: ... here.
14781 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
14782 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
14783 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
14784 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
14785 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
14786 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
14788 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
14789 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
14790 (sparc32-quad-routines): New variable. Moved from ....
14791 [$(subdir) = soft-fp] (sysdep_routines): Add
14792 $(sparc32-quad-routines). Moved from ....
14793 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
14794 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
14796 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
14797 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
14798 * sysdeps/sparc/sparc32/q_add.c: ... here.
14799 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
14800 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
14801 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
14802 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
14803 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
14804 * sysdeps/sparc/sparc32/q_div.c: ... here.
14805 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
14806 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
14807 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
14808 * sysdeps/sparc/sparc32/q_feq.c: ... here.
14809 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
14810 * sysdeps/sparc/sparc32/q_fge.c: ... here.
14811 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
14812 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
14813 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
14814 * sysdeps/sparc/sparc32/q_fle.c: ... here.
14815 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
14816 * sysdeps/sparc/sparc32/q_flt.c: ... here.
14817 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
14818 * sysdeps/sparc/sparc32/q_fne.c: ... here.
14819 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
14820 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
14821 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
14822 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
14823 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
14824 * sysdeps/sparc/sparc32/q_mul.c: ... here.
14825 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
14826 * sysdeps/sparc/sparc32/q_neg.c: ... here.
14827 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
14828 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
14829 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
14830 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
14831 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
14832 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
14833 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
14834 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
14835 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
14836 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
14837 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
14838 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
14839 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
14840 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
14841 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
14842 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
14843 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
14844 * sysdeps/sparc/sparc32/q_sub.c: ... here.
14845 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
14846 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
14847 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
14848 * sysdeps/sparc/sparc32/q_util.c: ... here.
14849 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
14850 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
14851 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
14852 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
14854 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14855 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14857 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
14858 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
14859 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
14860 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
14862 2018-05-24 Joseph Myers <joseph@codesourcery.com>
14864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
14866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14868 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
14869 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
14871 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14874 * math/math.h [C++] (iseqsig): Fix parameter type for the long
14877 2018-05-23 Joseph Myers <joseph@codesourcery.com>
14879 * sysdeps/sh/Implies: Remove sh/soft-fp.
14880 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
14881 * sysdeps/sh/sfp-machine.h: ... here.
14883 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14885 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14886 (__mempcpy_erms): Skip zero length.
14887 (__memmove_erms): Likewise.
14888 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14889 (__memset_erms): Likewise.
14891 2018-05-23 Joseph Myers <joseph@codesourcery.com>
14893 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
14894 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14895 Add functions moved from ....
14896 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
14897 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
14898 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
14900 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
14901 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
14902 * sysdeps/alpha/e_sqrtl.c: ... here.
14903 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
14904 * sysdeps/alpha/local-soft-fp.h: ... here.
14905 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
14906 * sysdeps/alpha/ots_add.c: ... here.
14907 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
14908 * sysdeps/alpha/ots_cmp.c: ... here.
14909 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
14910 * sysdeps/alpha/ots_cmpe.c: ... here.
14911 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
14912 * sysdeps/alpha/ots_cvtqux.c: ... here.
14913 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
14914 * sysdeps/alpha/ots_cvtqx.c: ... here.
14915 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
14916 * sysdeps/alpha/ots_cvttx.c: ... here.
14917 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
14918 * sysdeps/alpha/ots_cvtxq.c: ... here.
14919 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
14920 * sysdeps/alpha/ots_cvtxt.c: ... here.
14921 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
14922 * sysdeps/alpha/ots_div.c: ... here.
14923 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
14924 * sysdeps/alpha/ots_mul.c: ... here.
14925 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
14926 * sysdeps/alpha/ots_nintxq.c: ... here.
14927 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
14928 * sysdeps/alpha/ots_sub.c: ... here.
14929 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
14930 * sysdeps/alpha/sfp-machine.h: ... here.
14932 2018-05-23 Florian Weimer <fweimer@redhat.com>
14940 Switch to extern IDNA implementation (libidn2).
14941 * libidn: Remove subdirectory.
14942 * LICENSES: Do not mention licensing conditions for the removed
14944 * config.h.in (HAVE_LIBIDN): Remove.
14945 * include/dlfcn.h (__libc_dlopen): Update comment.
14946 * include/idna.h: Remove file.
14947 * inet/Makefile (routines): Add idna.
14948 (tests-static, tests-internal): Add tst-idna_name_classify.
14949 (LOCALES): Generate locales for tests.
14950 (tst-idna_name_classify.out): Depend on generated locales.
14951 * inet/idna_name_classify.c: New file.
14952 * inet/tst-idna_name_classify.c: Likewise.
14953 * inet/net-internal.h (__idna_to_dns_encoding)
14954 (__idna_from_dns_encoding): Declare.
14955 * inet/net-internal.h (enum idna_name_classification): Define.
14956 (__idna_name_classify): Declare.
14957 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
14958 __idna_from_dns_encoding.
14959 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
14960 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
14961 name as a fallback in case of encoding errors.
14962 (getnameinfo): Use DEPRECATED_NI_IDN.
14963 * inet/idna.c: New file.
14964 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
14965 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
14966 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
14967 (modules-names): Add tst-no-libidn2.
14968 (extra-test-objs): Add tst-no-libidn2.os.
14969 (LDFLAGS-tst-no-libidn2.so): Set soname.
14970 (LOCALES): Set, and generate locales.
14971 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
14972 (tst-resolv-ai_idn-latin1): Likewise.
14973 (tst-resolv-ai_idn-nolibidn2): Likewise.
14974 (tst-resolv-ai_idn.out): Depend on locales.
14975 (tst-resolv-ai_idn-latin1.out): Depend on locales.
14976 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
14978 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
14979 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
14980 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
14981 * resolv/tst-resolv-ai_idn.c: New file.
14982 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
14983 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
14984 * resolv/tst-no-libidn2.c: Likewise.
14985 * support/support_format_addrinfo.c (format_ai_flags): Do not
14986 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
14987 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
14988 (gaih_inet): Call __idna_to_dns_encoding and
14989 __idna_from_dns_encoding, and use the original (punycode) name if
14990 __idna_from_dns_encoding fails due to an encoding error.
14991 (getaddrinfo): Use DEPRECATED_AI_IDN.
14992 * sysdeps/unix/inet/Subdirs (libidn): Remove.
14993 * sysdeps/unix/inet/configure: Remove file.
14994 * sysdeps/unix/inet/configure.ac: Likewise.
14996 2018-05-23 Florian Weimer <fweimer@redhat.com>
14998 Implement allocate_once.
14999 * include/allocate_once.h: New file.
15000 * misc/allocate_once.c: Likewise.
15001 * misc/tst-allocate_once.c: Likewise.
15002 * misc/Makefile (routines): Add allocate_once.
15003 (tests-internal): Add tst-allocate_once.
15004 (generated): Add tst-allocate_once.mtrace,
15005 tst-allocate_once-mem.out.
15006 (tests-special): Add tst-allocate_once-mem.out.
15007 (tst-allocate_once-ENV): Set MALLOC_TRACE.
15008 (tst-allocate_once-mem.out): Call mtrace.
15009 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
15011 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15014 * string/test-memcpy.c (do_test1): New function.
15015 (test_main): Call it.
15017 2018-05-23 Andreas Schwab <schwab@suse.de>
15021 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
15022 (L(preloop_large)): Save initial destination pointer in %r11 and
15023 use it instead of %rax after the loop.
15024 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
15026 2018-05-22 Joseph Myers <joseph@codesourcery.com>
15028 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
15029 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
15030 -I../soft-fp. Moved from ....
15031 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
15032 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
15033 * sysdeps/aarch64/e_sqrtl.c: ... here.
15034 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
15035 * sysdeps/aarch64/sfp-machine.h: ... here.
15037 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
15038 -Wmaybe-uninitialized around access to fq[0].
15039 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15043 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
15044 aliases for non-libc case of versioned symbols.
15045 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
15046 (llseek): Define as compat symbol if
15047 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
15049 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
15050 Make into a compat symbol, disabled for minimum symbol version
15051 GLIBC_2.28 and later.
15052 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
15054 2018-05-22 Florian Weimer <fweimer@redhat.com>
15056 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
15057 not add -mpreferred-stack-boundary=4.
15058 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
15059 (stack-align-test-flags): Likewise.
15060 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
15062 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
15063 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
15064 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
15065 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
15066 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
15067 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
15068 (CFLAGS-tst-align2.c): Likewise.
15070 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15072 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
15073 (index_arch_Prefer_FSRM): Likewise.
15074 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
15075 Also check Prefer_FSRM.
15076 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
15077 Also return OPTIMIZE (erms) for Prefer_FSRM.
15079 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15081 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
15082 (index_cpu_FSRM): Likewise.
15083 (reg_FSRM): Likewise.
15085 2018-05-18 Joseph Myers <joseph@codesourcery.com>
15087 * math/gen-tgmath-tests.py: Import sys.
15088 (Tests.__init__): Initialize macros_seen.
15089 (Tests.add_tests): Add macro to macros_seen. Only generate tests
15090 if requested to do so for this macro.
15091 (Tests.add_all_tests): Take argument for macro for which to
15093 (Tests.check_macro_list): New function.
15094 (main): Handle check-list argument and argument specifying macro
15095 for which to generate tests.
15096 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
15097 [PYTHON] (tgmath3-macro-tests): Likewise.
15098 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
15099 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
15100 not test-tgmath3.c.
15101 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
15102 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
15104 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
15105 [PYTHON] ($(foreach
15106 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
15108 [PYTHON] (tests-special): Add
15109 $(objpfx)test-tgmath3-macro-list.out.
15110 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
15112 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
15113 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
15117 * time/tzset.c (SECSPERDAY): Cast to time_t.
15118 * time/tst-y2039.c: New file.
15119 * time/Makefile (tests): Add tst-y2039.
15121 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15123 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15124 (PREFETCH_ONE_SET): Remove duplicate line.
15126 2018-05-17 Florian Weimer <fweimer@redhat.com>
15128 * sysdeps/generic/math-type-macros-double.h: Include
15129 <math-nan-payload-double.h> after <libm-alias-double.h>.
15130 * sysdeps/generic/math-type-macros-float.h: Include
15131 <math-nan-payload-float.h> after <libm-alias-float.h>.
15132 * sysdeps/generic/math-type-macros-float128.h: Include
15133 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
15134 * sysdeps/generic/math-type-macros-ldouble.h: Include
15135 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
15137 2018-05-17 Andreas Schwab <schwab@suse.de>
15139 * resolv/res_send.c (__res_context_send): Don't set errno when
15140 returing error after malloc failure.
15142 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
15144 * nptl/allocatestack.c (allocate_stack): Remove the
15145 !__ASSUME_PRIVATE_FUTEX paths.
15146 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
15147 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15149 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
15150 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15151 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15152 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15153 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
15154 !__ASSUME_PRIVATE_FUTEX path.
15155 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
15156 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
15157 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15158 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
15159 !__ASSUME_PRIVATE_FUTEX macros.
15160 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15161 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
15162 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15163 * sysdeps/unix/sysv/linux/kernel-features.h
15164 (__ASSUME_PRIVATE_FUTEX): Removed.
15166 2018-05-17 Joseph Myers <joseph@codesourcery.com>
15168 * math/Makefile (libm-narrow-fns): Add div.
15169 (libm-test-funcs-narrow): Likewise.
15170 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
15171 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
15172 * math/gen-auto-libm-tests.c (test_functions): Add div.
15173 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
15174 (NARROW_DIV_ROUND_TO_ODD): Likewise.
15175 (NARROW_DIV_TRIVIAL): Likewise.
15176 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
15178 (__ddivl): Likewise.
15179 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
15181 (CFLAGS-nldbl-ddiv.c): New variable.
15182 (CFLAGS-nldbl-fdiv.c): Likewise.
15183 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15185 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
15187 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
15188 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
15189 * math/auto-libm-test-in: Add tests of div.
15190 * math/auto-libm-test-out-narrow-div: New generated file.
15191 * math/libm-test-narrow-div.inc: New file.
15192 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
15193 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
15194 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
15195 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
15196 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
15197 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
15198 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
15199 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
15200 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
15201 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
15202 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
15203 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
15204 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
15205 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
15206 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
15207 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
15208 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
15209 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
15210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15211 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15212 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15213 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15214 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15215 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15216 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15217 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15218 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15219 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15220 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15221 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15222 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15223 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15228 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15229 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15230 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15231 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15232 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15233 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15234 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15235 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15237 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15240 * nscd/nscd-client.h (sendfileall): Remove prototype.
15241 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
15242 (handle_request): Use writeall instead of sendfileall.
15243 * nscd/aicache.c (addhstaiX): Likewise.
15244 * nscd/grpcache.c (cache_addgr): Likewise.
15245 * nscd/hstcache.c (cache_addhst): Likewise.
15246 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15247 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
15248 * nscd/pwdcache.c (cache_addpw): Likewise.
15249 * nscd/servicescache.c (cache_addserv): Likewise.
15250 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
15251 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
15252 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
15255 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
15257 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
15258 Include <string/strncat.c>.
15259 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
15261 (__GI___strncat): New hidden alias.
15263 2018-05-16 Joseph Myers <joseph@codesourcery.com>
15265 * sysdeps/mips/mips32/libm-test-ulps: Update.
15266 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15268 2018-05-16 Florian Weimer <fweimer@redhat.com>
15270 * support/Makefile (libsupport-routines): Add support_quote_blob,
15271 support_test_compare_blob.
15272 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
15273 * support/check.h (TEST_COMPARE_BLOB): Define.
15274 (support_test_compare_blob): Declare.
15275 * support/support.h (support_quote_blob): Declare.
15276 * support/support_quote_blob.c: New file.
15277 * support/support_test_compare_blob.c: Likewise.
15278 * support/tst-support_quote_blob.c: Likewise.
15279 * support/tst-test_compare_blob.c: Likewise.
15281 2018-05-16 Florian Weimer <fweimer@redhat.com>
15283 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
15284 of <strtod_nan_double.h>.
15285 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
15286 instead of SET_MANTISSA.
15287 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
15288 of include <strtod_nan_float.h>.
15289 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
15290 instead of <strtod_nan_ldouble.h>.
15291 * stdlib/strtod_nan_double.h: Move to ...
15292 * sysdeps/generic/math-nan-payload-double.h: ... here.
15293 (FLOAT): Remove definition.
15294 (SET_MANTISSA): Rename to ...
15295 (SET_NAN_PAYLOAD): ... this.
15296 * stdlib/strtod_nan_float.h: Move to ...
15297 * sysdeps/generic/math-nan-payload-float.h: ... here.
15298 (FLOAT): Remove definition.
15299 (SET_MANTISSA): Rename to ...
15300 (SET_NAN_PAYLOAD): ... this.
15301 * sysdeps/generic/math-type-macros-double.h: Include
15302 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
15303 instead of <math-svid-compat.h>.
15304 * sysdeps/generic/math-type-macros-float.h: Include
15305 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
15306 instead of <math-svid-compat.h>.
15307 * sysdeps/generic/math-type-macros-float128.h: Include
15308 <math-nan-payload-float128.h>.
15309 * sysdeps/generic/math-type-macros-ldouble.h: Include
15310 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
15311 instead of <math-svid-compat.h>.
15312 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
15313 check for definition.
15314 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
15315 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
15316 Include <ieee754_float128.h>.
15317 (FLOAT): Remove definition.
15318 (SET_MANTISSA): Rename to ...
15319 (SET_NAN_PAYLOAD): ... this.
15320 * sysdeps/ieee754/float128/strtof128_nan.c: Include
15321 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
15322 Do not include <float128_private.h>.
15323 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
15324 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
15325 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
15326 (FLOAT): Remove definition.
15327 (SET_MANTISSA): Rename to ...
15328 (SET_NAN_PAYLOAD): ... this.
15329 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
15330 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
15331 (FLOAT): Remove definition.
15332 (SET_MANTISSA): Rename to ...
15333 (SET_NAN_PAYLOAD): ... this.
15334 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
15335 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
15336 (FLOAT): Remove definition.
15337 (SET_MANTISSA): Rename to ...
15338 (SET_NAN_PAYLOAD): ... this.
15339 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
15340 of "../stdlib/strtod_nan_double.h".
15341 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
15342 of "../stdlib/strtod_nan_float.h".
15343 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
15344 instead of "../stdlib/strtod_nan_ldouble.h".
15345 * manual/arith.texi (Parsing of Floats): Adjust comment.
15347 2018-05-16 Joseph Myers <joseph@codesourcery.com>
15349 * math/Makefile (libm-narrow-fns): Add mul.
15350 (libm-test-funcs-narrow): Likewise.
15351 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
15352 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
15353 * math/gen-auto-libm-tests.c (test_functions): Add mul.
15354 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
15355 (NARROW_MUL_ROUND_TO_ODD): Likewise.
15356 (NARROW_MUL_TRIVIAL): Likewise.
15357 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
15358 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
15360 (__dmull): Likewise.
15361 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
15363 (CFLAGS-nldbl-dmul.c): New variable.
15364 (CFLAGS-nldbl-fmul.c): Likewise.
15365 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15367 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
15369 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
15370 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
15371 * math/auto-libm-test-in: Add tests of mul.
15372 * math/auto-libm-test-out-narrow-mul: New generated file.
15373 * math/libm-test-narrow-mul.inc: New file.
15374 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
15375 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
15376 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
15377 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
15378 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
15379 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
15380 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
15381 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
15382 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
15383 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
15384 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
15385 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
15386 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
15387 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
15388 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
15389 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
15390 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
15391 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
15392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15393 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15394 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15395 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15396 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15397 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15398 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15399 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15400 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15401 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15402 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15403 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15404 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15405 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15410 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15411 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15412 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15413 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15414 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15415 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15416 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15417 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15419 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15421 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15422 with *%eax in call.
15424 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15426 * sysdeps/i386/ldsodefs.h: Removed.
15427 * sysdeps/x86_64/ldsodefs.h: Moved to ...
15428 * sysdeps/x86/ldsodefs.h: This.
15429 (La_i86_regs): New.
15430 (La_i86_retval): Likewise.
15431 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
15432 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
15434 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15436 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
15439 2018-05-13 Alan Modra <amodra@gmail.com>
15441 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
15442 R_PARISC_TLS_DTPOFF32 reloc addend.
15444 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15446 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
15447 * math/math.h: Restrict the prototype definition for the functions
15448 issignaling(_Float128) and iszero(_Float128); and template
15449 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
15450 __HAVE_FLOAT128_UNLIKE_LDBL.
15451 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
15452 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15453 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
15454 __f128() constants; define the type _Float128 as long double;
15455 and reuse long double in __CFLOAT128.
15457 2018-05-11 Joseph Myers <joseph@codesourcery.com>
15459 * sysdeps/generic/math_private.h: Do not include
15461 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
15463 * math/fromfp.h: Include <math-barriers.h>.
15464 * math/math-narrow.h: Likewise.
15465 * math/s_nextafter.c: Likewise.
15466 * math/s_nexttowardf.c: Likewise.
15467 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
15468 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
15469 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
15470 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
15471 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15472 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15473 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15474 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15475 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15476 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15477 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15478 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15479 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15480 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15481 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
15482 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15483 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15484 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15485 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15486 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15487 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15488 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15489 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15490 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15491 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15492 * sysdeps/ieee754/k_standardl.c: Likewise.
15493 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15494 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15495 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15496 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15497 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15498 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15499 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15500 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15501 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15502 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15503 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15504 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15505 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15506 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15507 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15508 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15509 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
15510 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
15511 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15512 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15513 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
15514 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
15516 2018-05-11 Florian Weimer <fweimer@redhat.com>
15518 Use 64-bit epoch values in the time zone file parser.
15519 * include/time.h (internal_time_t): Define.
15520 (__tzfile_compute): Use it.
15521 * time/tzfile.c (struct leap): Use internal_time_t for epoch
15523 (transitions): Switch to internal_time_t.
15524 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
15526 (__tzfile_compute): Use internal_time_t for timer argument. Check
15527 for truncation before calling __offtime.
15529 2018-05-11 Florian Weimer <fweimer@redhat.com>
15532 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
15533 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
15535 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
15536 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
15537 export without --enable-obsolete-rpc.
15538 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
15539 symbol. This should not have been exported, ever.
15541 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
15544 * localedata/locales/gd_GB (abmon): Fix typo in May:
15545 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
15547 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
15549 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15550 Use multiple registers to copy data in loop tail.
15552 * sysdeps/aarch64/multiarch/memmove_falkor.S
15553 (__memmove_falkor): Use multiple registers to move data in
15556 2018-05-10 Joseph Myers <joseph@codesourcery.com>
15558 * math/math-underflow.h: New file.
15559 * sysdeps/generic/math_private.h: Do not include <float.h>.
15560 (fabs_tg): Remove macro. Moved to math-underflow.h.
15561 (min_of_type_f): Likewise.
15562 (min_of_type_): Likewise.
15563 (min_of_type_l): Likewise.
15564 (min_of_type_f128): Likewise.
15565 (min_of_type): Likewise.
15566 (math_check_force_underflow): Likewise.
15567 (math_check_force_underflow_nonneg): Likewise.
15568 (math_check_force_underflow_complex): Likewise.
15569 * math/e_exp2_template.c: Include <math-underflow.h>.
15570 * math/k_casinh_template.c: Likewise.
15571 * math/s_catan_template.c: Likewise.
15572 * math/s_catanh_template.c: Likewise.
15573 * math/s_ccosh_template.c: Likewise.
15574 * math/s_cexp_template.c: Likewise.
15575 * math/s_clog10_template.c: Likewise.
15576 * math/s_clog_template.c: Likewise.
15577 * math/s_csin_template.c: Likewise.
15578 * math/s_csinh_template.c: Likewise.
15579 * math/s_csqrt_template.c: Likewise.
15580 * math/s_ctan_template.c: Likewise.
15581 * math/s_ctanh_template.c: Likewise.
15582 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15583 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15584 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15585 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15586 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15587 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15588 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15589 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15590 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15591 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15592 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15593 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15594 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15595 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15596 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15597 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15598 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15599 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15600 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15601 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15602 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15603 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15604 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15605 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15606 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15607 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15608 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15609 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15610 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15611 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15612 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15613 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15614 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15615 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15616 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15617 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15618 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15619 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15620 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15621 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15622 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15623 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15624 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15625 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15626 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15627 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15628 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15629 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15630 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15631 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15632 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15633 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15634 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15635 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15636 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15637 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15638 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15639 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15640 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15641 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15642 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15643 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15644 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15645 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15646 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15647 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15648 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15649 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15650 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15651 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15652 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15653 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15654 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15655 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
15656 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15657 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15658 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15659 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15660 * sysdeps/x86/fpu/powl_helper.c: Likewise.
15661 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
15662 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
15663 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15664 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15665 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15667 2018-05-09 Joseph Myers <joseph@codesourcery.com>
15669 * sysdeps/generic/math-barriers.h: New file.
15670 * sysdeps/generic/math_private.h [!math_opt_barrier]
15671 (math_opt_barrier): Move to math-barriers.h.
15672 [!math_opt_barrier] (math_force_eval): Likewise.
15673 * sysdeps/aarch64/fpu/math-barriers.h: New file.
15674 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
15676 (math_force_eval): Likewise.
15677 * sysdeps/alpha/fpu/math-barriers.h: New file.
15678 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
15680 (math_force_eval): Likewise.
15681 * sysdeps/x86/fpu/math-barriers.h: New file.
15682 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
15684 (math_force_eval): Likewise.
15685 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
15686 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
15687 multiple-include guard for rename.
15688 * sysdeps/powerpc/fpu/math-barriers.h: New file.
15689 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
15691 (math_force_eval): Likewise.
15693 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15697 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
15699 * stdlib/Makefile (test-bz22786): New test.
15700 * stdlib/test-bz22786.c: New test.
15702 2018-05-09 Joseph Myers <joseph@codesourcery.com>
15704 * include/math-narrow-eval.h: New file. Contents moved from ....
15705 * sysdeps/generic/math_private.h: ... here.
15706 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
15707 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15708 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
15709 * stdlib/strtod_l.c: Likewise.
15710 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15711 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15712 * sysdeps/i386/fpu/s_fdim.c: Likewise.
15713 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15714 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15715 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15716 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15717 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15718 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15719 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15720 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15721 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
15722 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15723 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15724 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15725 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15726 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15727 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15728 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15729 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15730 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15731 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15732 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15733 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15734 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15735 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15736 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15737 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15738 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15740 2018-05-08 Andreas Schwab <schwab@suse.de>
15742 * sysdeps/nptl/internaltypes.h: Fix comment.
15744 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
15746 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15747 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
15750 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15752 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
15753 of I into loop header.
15754 * benchtests/bench-memmove-walk.c
15755 (test_main): Likewise.
15757 2018-05-07 Alexandre Oliva <oliva@gnu.org>
15760 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15761 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15763 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15766 * elf/dl-load.c (open_verify): Fix stack overflow.
15767 * elf/Makefile (tst-big-note): New test.
15768 * elf/tst-big-note-lib.S: New.
15769 * elf/tst-big-note.c: New.
15771 2018-05-04 Joseph Myers <joseph@codesourcery.com>
15773 * scripts/abilist.awk: Ignore absolute symbols.
15774 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
15775 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
15776 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
15777 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
15778 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
15779 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
15780 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15781 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
15782 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
15783 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
15784 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
15785 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
15786 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
15787 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
15788 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
15789 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15790 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
15791 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
15792 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15793 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
15794 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15795 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
15796 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
15797 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
15798 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
15799 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
15800 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
15801 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
15802 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15803 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
15804 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
15805 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15806 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
15807 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15808 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
15809 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
15810 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
15811 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
15812 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
15813 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
15814 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
15815 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15816 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
15817 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
15818 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15819 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
15820 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15821 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
15822 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
15823 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
15824 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
15825 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
15826 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
15827 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
15828 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15829 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
15830 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
15831 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15832 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
15833 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15834 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
15835 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
15836 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
15837 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
15838 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
15839 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
15840 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
15841 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15842 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
15843 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
15844 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15845 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
15846 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15847 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
15848 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
15849 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
15850 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
15851 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
15852 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
15853 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
15854 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15855 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
15856 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
15857 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15858 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
15859 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15860 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
15861 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
15862 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
15863 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
15864 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
15865 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15867 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
15868 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15869 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
15870 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
15871 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15872 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
15873 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
15874 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
15875 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
15876 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
15877 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
15878 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
15879 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15881 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
15882 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15883 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
15884 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
15885 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15886 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
15887 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
15888 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
15889 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
15890 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
15891 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
15892 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
15893 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
15894 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
15895 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15896 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
15897 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
15898 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15899 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
15900 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
15901 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
15902 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
15903 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
15904 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
15905 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15906 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
15907 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15909 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
15910 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
15911 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
15912 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
15913 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15914 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
15915 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
15916 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
15917 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
15918 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
15919 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
15920 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
15921 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
15922 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
15923 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
15924 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
15925 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
15926 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
15927 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15928 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15930 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
15931 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
15932 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
15933 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15934 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
15935 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
15936 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
15937 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
15938 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
15939 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
15940 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15941 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
15942 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
15943 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15944 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
15945 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
15946 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
15947 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
15948 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15949 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
15950 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
15951 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15952 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
15953 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
15954 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
15955 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
15956 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
15957 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
15958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
15961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
15964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
15965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
15966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
15967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
15969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
15971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
15972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
15975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
15987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
15988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
15993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
15994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
15995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
15999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
16000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
16008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
16009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
16010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
16017 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16018 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
16020 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16021 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16022 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
16023 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16024 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16025 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16026 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
16027 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
16028 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16029 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
16030 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16031 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
16032 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
16033 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16035 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16036 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
16037 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
16038 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16039 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
16040 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
16041 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
16042 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
16043 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
16044 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
16045 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
16046 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16048 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16049 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
16050 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
16051 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16052 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
16053 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
16054 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
16055 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
16056 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
16057 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
16058 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
16059 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
16060 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
16061 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16062 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
16063 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
16064 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16065 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
16066 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
16067 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
16068 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
16069 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
16070 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
16071 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
16072 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16074 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
16075 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16076 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
16077 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
16078 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16079 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
16080 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
16081 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
16082 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
16083 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
16084 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
16085 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
16086 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16088 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
16089 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16090 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
16091 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
16092 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16093 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
16094 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
16095 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
16096 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
16097 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
16098 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
16099 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
16100 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
16101 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
16102 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16103 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
16104 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
16105 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16106 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
16107 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
16108 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
16109 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
16110 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
16111 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
16112 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16113 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
16114 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
16115 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
16116 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16117 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
16118 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
16119 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16120 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
16121 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
16122 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
16123 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
16124 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
16125 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
16127 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16130 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
16131 Use atomic_load_acquire to load __tid.
16133 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16135 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
16136 Restore the pointer into %rdx, after syscall and use %rdx,
16137 instead of %rsi, to restore context.
16139 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16141 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
16142 Pop the pointer into %rdx after syscall and use %rdx, instead
16143 of %rsi, to restore context.
16145 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16147 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
16148 handlers after setjmp.
16149 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
16151 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
16152 <libc-pointer-arith.h>.
16153 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
16154 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
16155 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
16156 _JUMP_BUF_SIGSET_BITS_PER_WORD.
16157 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
16158 * sysdeps/x86/__longjmp_cancel.S: New file.
16159 * sysdeps/x86/longjmp.c: Likewise.
16160 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
16162 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16164 * NEWS: Add ustat.h deprecation entry.
16165 * bits/ustat.h: Remove file.
16166 * misc/sys/ustat.h: Likewise.
16167 * misc/ustat.h: Likewise.
16168 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
16169 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
16170 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
16171 compatibility mode.
16172 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
16173 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
16174 generic Linux implementation.
16176 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16178 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
16179 * math/w_expl_compat.c: Likewise.
16180 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
16182 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
16184 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16186 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16188 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
16189 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
16190 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
16192 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
16193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16194 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16195 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
16196 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
16199 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16201 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
16203 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
16204 * math/w_asin_template.c: Likewise.
16205 * math/w_atanh_template.c: Likewise.
16207 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16209 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
16210 to powerpc/powerpc64/be for big-endian.
16211 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
16214 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
16215 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
16216 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
16217 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
16218 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16219 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
16220 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
16221 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
16222 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
16223 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16224 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
16225 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
16226 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
16227 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
16228 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
16229 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
16230 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
16231 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
16232 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
16233 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
16234 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
16235 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16236 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
16237 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
16238 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
16239 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16240 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
16241 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
16242 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
16243 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16244 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16245 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16247 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
16248 adjusted to imply powerpc64 and older processors on powerpc64/be.
16249 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
16250 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
16251 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
16252 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
16253 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
16254 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
16255 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
16256 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
16257 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
16258 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
16259 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
16260 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
16261 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
16262 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
16263 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
16264 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
16265 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
16266 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
16267 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
16268 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
16269 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
16270 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
16271 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
16272 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
16273 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
16274 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
16275 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
16276 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
16277 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
16278 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
16279 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
16281 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
16282 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
16283 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
16284 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
16286 * sysdeps/powerpc/powerpc64/be/Implies: New file.
16287 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
16288 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
16289 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
16291 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
16292 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
16293 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
16294 * sysdeps/powerpc/powerpc64le/configure: Likewise.
16295 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
16296 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
16297 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
16298 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
16299 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
16300 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
16301 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
16303 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
16304 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
16305 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
16306 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
16307 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
16308 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
16309 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
16310 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
16311 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
16312 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
16313 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
16315 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
16316 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
16317 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
16318 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
16319 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
16320 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
16321 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
16322 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
16323 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
16324 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
16325 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
16326 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
16328 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
16329 and adjusted to imply olders processors.
16330 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
16331 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
16332 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
16333 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
16334 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
16335 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
16336 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
16337 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
16338 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
16339 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
16340 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
16342 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
16344 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
16345 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
16347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
16349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
16350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
16352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
16354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
16356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
16358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
16359 powerpc64 and adjusted.
16360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
16361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
16362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
16365 2018-04-27 Joseph Myers <joseph@codesourcery.com>
16367 * sysdeps/tile: Remove.
16368 * sysdeps/unix/sysv/linux/tile: Likewise.
16369 * README (tilegx-*-linux-gnu): Remove from list of supported
16371 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
16372 contribution of support for generic Linux kernel syscall
16374 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
16375 tilegx configurations.
16376 (Config.install_linux_headers): Do not handle tile.
16377 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
16379 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
16380 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
16381 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16382 conditional undefine and redefine.
16383 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
16385 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16386 conditional undefine and redefine.
16388 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
16390 * signal/tst-sigaction.c: New file to test BZ #23069.
16391 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
16393 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16396 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
16397 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
16398 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
16399 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16401 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16403 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
16404 _DIRENT_MATCHES_DIRENT64 is not defined.
16405 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
16406 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
16408 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
16409 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
16411 2018-04-25 Joseph Myers <joseph@codesourcery.com>
16413 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
16414 version to GCC 8 branch.
16416 2018-04-24 Joseph Myers <joseph@codesourcery.com>
16418 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
16419 (check_no_hidden): Use type of original function when declaring
16422 * sysdeps/unix/sysv/linux/sys/ptrace.h
16423 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
16424 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
16425 (struct __ptrace_seccomp_metadata): New type.
16426 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16427 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16428 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
16429 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16430 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
16431 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16432 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16433 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16434 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
16435 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16436 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
16437 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16438 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
16439 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16440 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
16441 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16443 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16445 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
16447 * dirent/versionsort.c (versionsort): Likewise.
16448 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
16449 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
16450 * dirent/versionsort64.c (versionsort64): Likewise.
16451 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
16452 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
16453 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
16454 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
16455 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
16456 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
16457 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
16458 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
16459 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
16460 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
16461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
16462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
16463 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
16464 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
16466 2018-04-23 Joseph Myers <joseph@codesourcery.com>
16468 * elf/elf.h (NT_PPC_PKEY): New macro.
16470 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
16473 * localedata/locales/hr_HR: fix thousands_sep and
16476 2018-04-20 Joseph Myers <joseph@codesourcery.com>
16478 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
16479 (XTABS): Define to TAB3.
16481 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16483 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16485 * dirent/scandir-tail-common.c: New file.
16486 * dirent/scandir-tail.c: Use scandir-tail-common.c.
16487 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
16488 * dirent/scandir.c: Use scandir-tail-common.c.
16489 * dirent/scandirat.c: Likewise.
16490 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
16491 * dirent/scandir64.c (scandir64): Always build and alias to scandir
16492 if _DIRENT_MATCHES_DIRENT64 is defined.
16493 * dirent/scandirat64.c (scandirat64): Likewise.
16494 * include/dirent.h (__scandir_tail): Only define iff
16495 _DIRENT_MATCHES_DIRENT64 is not defined.
16496 (__scandir64_tail): Define regardless.
16497 (__scandirat, scandirat64): Remove libc_hidden_proto.
16498 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
16499 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
16500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
16501 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
16502 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16503 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
16504 * sysdeps/unix/sysv/linux/scandir64.c: New file.
16506 2018-04-20 Joseph Myers <joseph@codesourcery.com>
16508 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
16510 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16512 (_dl_aarch64_cap_flags): Add asimdfhm.
16514 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
16516 * sysdeps/nios2/libm-test-ulps: Update.
16518 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16520 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
16521 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
16523 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
16525 (_DIRENT_MATCHES_DIRENT64): Undef
16526 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
16527 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
16528 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
16529 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
16530 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
16531 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
16532 use getdents64 syscalls as base.
16533 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
16534 symbol if required.
16535 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
16536 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
16537 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
16538 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
16539 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
16540 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
16541 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
16542 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
16543 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16544 (__get_clockfreq_via_proc_openprom): Use __getdents64.
16545 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
16547 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16549 * scripts/test_printers_common.py (init_test): Disable lock elision.
16551 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16553 * math/test-tgmath.c (count_double, count_float,
16554 count_ldouble, count_cdouble, count_cfloat,
16555 count_cldouble): Use volatile int.
16557 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16559 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
16560 (conformtest-xfail-conds): Add i386-gnu.
16561 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
16563 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
16564 ipc_perm.cuid, ipc_perm.cgid): Likewise.
16565 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
16566 msqid_ds.msg_lrpid): Likewise.
16567 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
16569 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
16570 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
16571 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
16572 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
16574 (struct statvfs64): Likewise.
16575 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
16577 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
16578 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
16579 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
16580 instead of wait_queue.
16581 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
16582 instead of vm_area_struct.
16583 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
16584 struct sched_param definition to it.
16585 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16586 * bits/types/struct_sched_param.h: New file.
16587 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
16588 <bits/types/struct_sched_param.h> instead of <sched.h>.
16589 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
16590 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
16591 generic version but include <bits/pthreadtypes.h> to make struct
16592 sigevent's sigev_notify_attributes field a pthread_attr_t*.
16593 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
16595 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
16596 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
16597 [__USE_XOPEN] (OFDEL): New macro.
16598 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
16599 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
16600 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
16602 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
16603 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
16604 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
16606 * sysdeps/i386/sys/ucontext.h: Likewise.
16607 * sysdeps/m68k/sys/ucontext.h: Likewise.
16608 * sysdeps/mips/sys/ucontext.h: Likewise.
16609 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
16610 * sysdeps/mach/hurd/i386/Makefile
16611 (test-xfail-POSIX/fcntl.h/conform): Add.
16612 (test-xfail-POSIX/signal.h/conform): Add.
16613 (test-xfail-POSIX/semaphore.h/conform): Add.
16614 (test-xfail-POSIX/regex.h/conform): Add.
16615 (test-xfail-POSIX/aio.h/conform): Add.
16616 (test-xfail-POSIX/mqueue.h/conform): Add.
16617 (test-xfail-POSIX/sys/types.h/conform): Add.
16618 (test-xfail-UNIX98/fcntl.h/conform): Add.
16619 (test-xfail-UNIX98/netdb.h/conform): Add.
16620 (test-xfail-UNIX98/signal.h/conform): Add.
16621 (test-xfail-UNIX98/semaphore.h/conform): Add.
16622 (test-xfail-UNIX98/regex.h/conform): Add.
16623 (test-xfail-UNIX98/aio.h/conform): Add.
16624 (test-xfail-UNIX98/ftw.h/conform): Add.
16625 (test-xfail-UNIX98/mqueue.h/conform): Add.
16626 (test-xfail-UNIX98/netinet/in.h/conform): Add.
16627 (test-xfail-UNIX98/sys/wait.h/conform): Add.
16628 (test-xfail-UNIX98/sys/sem.h/conform): Add.
16629 (test-xfail-UNIX98/sys/uio.h/conform): Add.
16630 (test-xfail-UNIX98/sys/socket.h/conform): Add.
16631 (test-xfail-UNIX98/sys/types.h/conform): Add.
16632 (test-xfail-UNIX98/stdlib.h/conform): Add.
16633 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
16634 (test-xfail-POSIX2008/fcntl.h/conform): Add.
16635 (test-xfail-POSIX2008/netdb.h/conform): Add.
16636 (test-xfail-POSIX2008/signal.h/conform): Add.
16637 (test-xfail-POSIX2008/semaphore.h/conform): Add.
16638 (test-xfail-POSIX2008/regex.h/conform): Add.
16639 (test-xfail-POSIX2008/aio.h/conform): Add.
16640 (test-xfail-POSIX2008/mqueue.h/conform): Add.
16641 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
16642 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
16643 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
16644 (test-xfail-POSIX2008/sys/types.h/conform): Add.
16645 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
16646 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
16647 (test-xfail-XOPEN2K/netdb.h/conform): Add.
16648 (test-xfail-XOPEN2K/signal.h/conform): Add.
16649 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
16650 (test-xfail-XOPEN2K/regex.h/conform): Add.
16651 (test-xfail-XOPEN2K/aio.h/conform): Add.
16652 (test-xfail-XOPEN2K/ftw.h/conform): Add.
16653 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
16654 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
16655 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
16656 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
16657 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
16658 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
16659 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
16660 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
16661 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
16662 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
16663 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
16664 (test-xfail-XOPEN2K8/signal.h/conform): Add.
16665 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
16666 (test-xfail-XOPEN2K8/regex.h/conform): Add.
16667 (test-xfail-XOPEN2K8/aio.h/conform): Add.
16668 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
16669 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
16670 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
16671 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
16672 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
16673 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
16674 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
16675 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
16676 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
16677 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
16678 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
16680 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
16681 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
16683 2018-04-18 Joseph Myers <joseph@codesourcery.com>
16685 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16686 --enable-obsolete for powerpc-linux-gnuspe.
16688 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16690 * conform/data/sys/un.h-data: Allow sun_ prefix.
16691 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
16693 * sysdeps/mach/include/mach.h: Likewise.
16694 * sysdeps/mach/include/mach/mig_support.h: Likewise.
16695 * sysdeps/mach/include/mach_error.h: Likewise.
16697 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16699 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
16700 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
16701 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
16702 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
16704 2018-04-16 Andreas Schwab <schwab@suse.de>
16707 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
16709 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16711 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
16712 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
16714 2018-04-12 DJ Delorie <dj@redhat.com>
16716 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16719 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16721 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
16722 (struct kernel_sigaction): Use the same definition on 31bit as is used
16725 2018-04-09 Florian Weimer <fweimer@redhat.com>
16728 * resolv/res_send.c (send_dg): Use designated initializers instead
16729 of assignment to zero-initialize other fields of struct mmsghdr.
16731 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16733 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
16734 __READDIR_ALIAS): Undefine after usage.
16735 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
16736 __READDIR_R_ALIAS): Likewise.
16737 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
16738 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
16739 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
16740 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
16741 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
16742 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
16743 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16744 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16745 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
16746 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
16747 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
16748 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
16749 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16750 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
16751 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
16752 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
16753 * sysdeps/unix/sysv/linux/readdir.c: New file.
16754 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
16755 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
16756 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
16758 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16760 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
16762 * manual/charset.texi (Converting a Character): Fix typo.
16764 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16768 * sysdeps/arm/libm-test-ulps: Update.
16770 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
16771 as base implementation.
16772 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16773 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16774 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16775 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16776 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16777 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
16778 remove unrequired definitions and update comments.
16779 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
16780 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
16781 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
16782 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
16783 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
16784 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
16785 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
16786 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
16787 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
16788 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
16789 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
16790 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16791 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16792 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
16793 and RESET_SA_RESTORER hooks.
16795 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
16797 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16799 2018-04-05 Florian Weimer <fweimer@redhat.com>
16801 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
16802 integer overflow, memory leak on error, and indeterminate errno
16803 value. Add a null wide character to terminate the result string.
16804 * manual/charset.texi (Converting a Character): Mention embedded
16805 null bytes in the mbrtowc input string. Explain what happens in
16806 the -2 result case. Do not claim that mbrtowc is simple or
16807 obvious to use. Adjust the description of the code example. Use
16808 @code, not @var, for concrete variables.
16810 2018-04-05 Florian Weimer <fweimer@redhat.com>
16812 * manual/examples/mbstouwcs.c: New file.
16813 * manual/charset.texi (Converting a Character): Include it.
16815 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16817 * include/dirent.h (dirfd): Add hidden proto.
16818 * dirent/dirfd.c (dirfd): Add hidden def.
16819 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
16820 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
16822 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16824 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
16825 sin, cos and sincos to 1 ULP.
16827 2018-04-04 Maciej W. Rozycki <macro@mips.com>
16830 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
16832 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
16833 * elf/tst-absolute-sym.c: New file.
16834 * elf/tst-absolute-sym-lib.c: New file.
16835 * elf/tst-absolute-sym-lib.lds: New file.
16836 * elf/Makefile (tests): Add `tst-absolute-sym'.
16837 (modules-names): Add `tst-absolute-sym-lib'.
16838 (LDLIBS-tst-absolute-sym-lib.so): New variable.
16839 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
16840 ($(objpfx)tst-absolute-sym): New dependency.
16843 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
16845 (SYMBOL_ADDRESS): New macro.
16846 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
16847 SYMBOL_ADDRESS for symbol address calculation.
16848 * elf/dl-runtime.c (_dl_fixup): Likewise.
16849 (_dl_profile_fixup): Likewise.
16850 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
16851 * elf/rtld.c (dl_main): Likewise.
16852 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
16853 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
16854 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
16855 (elf_machine_rela): Likewise.
16856 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
16857 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
16858 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16859 (elf_machine_rela): Likewise.
16860 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16861 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
16862 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
16863 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
16865 (elf_machine_reloc): Likewise.
16866 (elf_machine_got_rel): Likewise.
16867 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
16868 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
16869 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16871 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16873 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
16874 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16876 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16878 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16879 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16881 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16883 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
16884 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16886 2018-04-04 Zack Weinberg <zackw@panix.com>
16888 * sysdeps/generic/internal-signals.h: Include signal.h,
16889 sigsetops.h, and stdbool.h.
16890 (__libc_signal_block_all): Actually block all signals.
16891 (__libc_signal_block_app): Likewise.
16892 (__libc_signal_restore_set): Actually restore the signal mask.
16894 2018-04-04 Florian Weimer <fweimer@redhat.com>
16896 inet: Actually build and run tst-deadline.
16897 * inet/Makefile (tests-internal): Add tst-deadline and do not
16898 overwrite the variable.
16899 (tests-static-internal): Remove variable.
16901 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
16904 * bits/uio-ext.h (RWF_APPEND): New.
16905 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
16906 * manual/llio.texi: Document RWF_APPEND.
16907 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
16908 (RWF_SUPPORTED): Add RWF_APPEND.
16910 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16913 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
16914 check for internal nptl signals.
16915 * nptl/sigaction.c (__sigaction): Likewise.
16916 * signal/sigaddset.c (sigaddset): Likewise.
16917 * signal/sigdelset.c (sigdelset): Likewise.
16918 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16919 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
16921 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
16922 to filter out internal nptl signals.
16923 * signal/tst-sigset.c (do_test): Check ech signal indidually and
16924 also check realtime signals using standard macros.
16925 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
16926 __is_internal_signal, __libc_signal_block_all,
16927 __libc_signal_block_app, __libc_signal_restore_set): New functions.
16928 * sysdeps/nptl/sigfillset.c: Remove file.
16929 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
16930 Change return to bool.
16931 (__clear_internal_signals): Remove SIGTIMER clean since it is
16932 equal to SIGCANEL on Linux.
16933 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
16934 signal set was constructed using standard functions.
16936 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16938 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
16939 ifname is too long.
16940 * hurd/hurdsig.c (interrupted_reply_port_location): Use
16941 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
16942 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
16944 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
16945 * signal/sigaddset.c: Include <sigsetopts.h>.
16946 * signal/sigdelset.c: Likewise.
16948 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16950 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
16952 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
16953 logic as sin and cos.
16955 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16957 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
16958 inputs. Return correct sign.
16959 (do_sincos): Remove small input check before do_sin, let do_sin set
16964 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16966 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
16967 (do_cos_slow): Likewise.
16968 (do_sin_slow): Likewise.
16969 (reduce_and_compute): Likewise.
16974 (sloww1): Likewise.
16975 (sloww2): Likewise.
16977 (bslow1): Likewise.
16978 (bslow2): Likewise.
16979 (cslow2): Likewise.
16981 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16983 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
16984 (do_cos): Remove corp parameter and calculations.
16985 (do_sin): Likewise.
16986 (do_sincos): Remove cor variable.
16987 (__sin): Use do_sincos for huge inputs.
16989 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16990 (reduce_and_compute_sincos): Remove unused function.
16992 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16994 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
16995 reduce_sincos, improve accuracy to 136 bits.
16996 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
16997 (__sin): Use improved reduction and simplified do_sincos calculation.
16999 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17001 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17003 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
17004 (do_sincos_2): Likewise.
17005 (__sin): Remove middle range reduction case.
17007 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
17010 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17012 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
17013 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
17016 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
17018 2018-04-03 Joseph Myers <joseph@codesourcery.com>
17020 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17023 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17025 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
17026 Remove definitions.
17027 (opendir_oflags): Use O_DIRECTORY regardless.
17028 (__opendir, __opendirat): Remove need_isdir_precheck usage.
17029 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
17031 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17033 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
17034 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
17036 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
17037 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
17038 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
17039 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
17040 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
17041 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
17043 * htl/Makefile: Bump licence to LGPL 2.1+.
17044 * htl/alloca_cutoff.c: Likewise.
17045 * htl/cthreads-compat.c: Likewise.
17046 * htl/lockfile.c: Likewise.
17047 * htl/pt-alloc.c: Likewise.
17048 * htl/pt-cancel.c: Likewise.
17049 * htl/pt-cleanup.c: Likewise.
17050 * htl/pt-create.c: Likewise.
17051 * htl/pt-dealloc.c: Likewise.
17052 * htl/pt-detach.c: Likewise.
17053 * htl/pt-exit.c: Likewise.
17054 * htl/pt-getattr.c: Likewise.
17055 * htl/pt-initialize.c: Likewise.
17056 * htl/pt-internal.h: Likewise.
17057 * htl/pt-join.c: Likewise.
17058 * htl/pt-self.c: Likewise.
17059 * htl/pt-setcancelstate.c: Likewise.
17060 * htl/pt-setcanceltype.c: Likewise.
17061 * htl/pt-sigmask.c: Likewise.
17062 * htl/pt-spin-inlines.c: Likewise.
17063 * htl/pt-testcancel.c: Likewise.
17064 * htl/pt-yield.c: Likewise.
17065 * htl/tests/test-1.c: Likewise.
17066 * htl/tests/test-10.c: Likewise.
17067 * htl/tests/test-11.c: Likewise.
17068 * htl/tests/test-12.c: Likewise.
17069 * htl/tests/test-13.c: Likewise.
17070 * htl/tests/test-14.c: Likewise.
17071 * htl/tests/test-15.c: Likewise.
17072 * htl/tests/test-16.c: Likewise.
17073 * htl/tests/test-17.c: Likewise.
17074 * htl/tests/test-2.c: Likewise.
17075 * htl/tests/test-3.c: Likewise.
17076 * htl/tests/test-4.c: Likewise.
17077 * htl/tests/test-5.c: Likewise.
17078 * htl/tests/test-6.c: Likewise.
17079 * htl/tests/test-7.c: Likewise.
17080 * htl/tests/test-8.c: Likewise.
17081 * htl/tests/test-9.c: Likewise.
17082 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
17083 * sysdeps/htl/bits/cancelation.h: Likewise.
17084 * sysdeps/htl/bits/pthread-np.h: Likewise.
17085 * sysdeps/htl/bits/pthread.h: Likewise.
17086 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
17087 * sysdeps/htl/bits/semaphore.h: Likewise.
17088 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
17089 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
17090 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
17091 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
17092 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
17093 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
17094 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
17095 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
17096 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
17097 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
17098 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
17099 * sysdeps/htl/old_pt-atfork.c: Likewise.
17100 * sysdeps/htl/pt-atfork.c: Likewise.
17101 * sysdeps/htl/pt-attr-destroy.c: Likewise.
17102 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
17103 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
17104 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
17105 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
17106 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
17107 * sysdeps/htl/pt-attr-getscope.c: Likewise.
17108 * sysdeps/htl/pt-attr-getstack.c: Likewise.
17109 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
17110 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
17111 * sysdeps/htl/pt-attr-init.c: Likewise.
17112 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
17113 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
17114 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
17115 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
17116 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
17117 * sysdeps/htl/pt-attr-setscope.c: Likewise.
17118 * sysdeps/htl/pt-attr-setstack.c: Likewise.
17119 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
17120 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
17121 * sysdeps/htl/pt-attr.c: Likewise.
17122 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
17123 * sysdeps/htl/pt-barrier-init.c: Likewise.
17124 * sysdeps/htl/pt-barrier-wait.c: Likewise.
17125 * sysdeps/htl/pt-barrier.c: Likewise.
17126 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
17127 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
17128 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
17129 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
17130 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
17131 * sysdeps/htl/pt-cond-destroy.c: Likewise.
17132 * sysdeps/htl/pt-cond-init.c: Likewise.
17133 * sysdeps/htl/pt-cond-signal.c: Likewise.
17134 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
17135 * sysdeps/htl/pt-cond-wait.c: Likewise.
17136 * sysdeps/htl/pt-cond.c: Likewise.
17137 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
17138 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
17139 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
17140 * sysdeps/htl/pt-condattr-init.c: Likewise.
17141 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
17142 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
17143 * sysdeps/htl/pt-destroy-specific.c: Likewise.
17144 * sysdeps/htl/pt-equal.c: Likewise.
17145 * sysdeps/htl/pt-getconcurrency.c: Likewise.
17146 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
17147 * sysdeps/htl/pt-getschedparam.c: Likewise.
17148 * sysdeps/htl/pt-getspecific.c: Likewise.
17149 * sysdeps/htl/pt-init-specific.c: Likewise.
17150 * sysdeps/htl/pt-key-create.c: Likewise.
17151 * sysdeps/htl/pt-key-delete.c: Likewise.
17152 * sysdeps/htl/pt-key.h: Likewise.
17153 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
17154 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
17155 * sysdeps/htl/pt-mutex-init.c: Likewise.
17156 * sysdeps/htl/pt-mutex-lock.c: Likewise.
17157 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
17158 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
17159 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
17160 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
17161 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
17162 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
17163 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
17164 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
17165 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
17166 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
17167 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
17168 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
17169 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
17170 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
17171 * sysdeps/htl/pt-mutexattr.c: Likewise.
17172 * sysdeps/htl/pt-once.c: Likewise.
17173 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
17174 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
17175 * sysdeps/htl/pt-rwlock-init.c: Likewise.
17176 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
17177 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
17178 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
17179 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
17180 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
17181 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
17182 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
17183 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
17184 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
17185 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
17186 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
17187 * sysdeps/htl/pt-setconcurrency.c: Likewise.
17188 * sysdeps/htl/pt-setschedparam.c: Likewise.
17189 * sysdeps/htl/pt-setschedprio.c: Likewise.
17190 * sysdeps/htl/pt-setspecific.c: Likewise.
17191 * sysdeps/htl/pt-spin.c: Likewise.
17192 * sysdeps/htl/pt-startup.c: Likewise.
17193 * sysdeps/htl/pthread.h: Likewise.
17194 * sysdeps/htl/sem-close.c: Likewise.
17195 * sysdeps/htl/sem-destroy.c: Likewise.
17196 * sysdeps/htl/sem-getvalue.c: Likewise.
17197 * sysdeps/htl/sem-init.c: Likewise.
17198 * sysdeps/htl/sem-open.c: Likewise.
17199 * sysdeps/htl/sem-post.c: Likewise.
17200 * sysdeps/htl/sem-timedwait.c: Likewise.
17201 * sysdeps/htl/sem-trywait.c: Likewise.
17202 * sysdeps/htl/sem-unlink.c: Likewise.
17203 * sysdeps/htl/sem-wait.c: Likewise.
17204 * sysdeps/hurd/htl/pt-kill.c: Likewise.
17205 * sysdeps/i386/htl/pt-machdep.h: Likewise.
17206 * sysdeps/mach/htl/pt-block.c: Likewise.
17207 * sysdeps/mach/htl/pt-spin.c: Likewise.
17208 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
17209 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
17210 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
17211 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
17212 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
17213 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
17214 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
17215 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
17216 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
17217 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
17218 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
17219 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
17220 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
17221 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
17222 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
17223 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
17224 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
17225 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
17226 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
17227 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
17228 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
17229 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
17230 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
17231 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
17232 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
17233 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
17234 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
17235 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
17236 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
17237 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
17238 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
17239 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
17240 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
17241 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
17242 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
17243 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
17244 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
17245 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
17246 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
17247 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
17248 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
17249 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
17250 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
17252 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
17253 * README: Remove the mention of out-of-tree patches needed for
17256 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
17257 (UTIME_NOW, UTIME_OMIT): Define macros.
17259 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
17260 instead of pthread_detach.
17261 (__cthread_fork): Call __pthread_create instead of pthread_create.
17262 (__cthread_keycreate): Call __pthread_key_create instead of
17263 pthread_key_create.
17264 (__cthread_getspecific): Call __pthread_getspecific instead of
17265 pthread_getspecific.
17266 (__cthread_setspecific): Call __pthread_setspecific instead of
17267 pthread_setspecific.
17268 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
17269 __pthread_mutex_unlock instead of pthread_mutex_lock and
17270 pthread_mutex_unlock.
17271 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
17272 ___pthread_get_cleanup_stack.
17273 (__pthread_get_cleanup_stack): New strong alias.
17274 * htl/pt-create.c: Include <pthreadP.h>.
17275 (entry_point): Call __pthread_exit instead of pthread_exit.
17276 (pthread_create): Rename to __pthread_create.
17277 (pthread_create): New strong alias.
17278 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
17279 (pthread_detach): New strong alias.
17280 (__pthread_detach): Call __pthread_cond_broadcast instead of
17281 pthread_cond_broadcast.
17282 * htl/pt-exit.c: Include <pthreadP.h>.
17283 (__pthread_exit): Call __pthread_setcancelstate and
17284 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
17285 __pthread_get_cleanup_stack.
17286 * htl/pt-testcancel.c: Include <pthreadP.h>.
17287 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
17288 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
17289 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
17290 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
17291 pthread_attr_getstacksize.
17292 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
17293 Rename to __pthread_attr_getstackaddr.
17294 (pthread_attr_getstackaddr): New strong alias.
17295 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
17296 Rename to __pthread_attr_getstacksize.
17297 (pthread_attr_getstacksize): New strong alias.
17298 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
17299 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
17300 (pthread_attr_setstack): New strong alias.
17301 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
17302 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
17303 pthread_attr_getstacksize, pthread_attr_setstacksize and
17304 pthread_attr_setstackaddr.
17305 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
17306 Rename to __pthread_attr_setstackaddr.
17307 (pthread_attr_setstackaddr): New strong alias.
17308 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
17309 Rename to __pthread_attr_setstacksize.
17310 (pthread_attr_setstacksize): New strong alias.
17311 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
17312 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
17314 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
17315 (__pthread_key_create): New hidden def.
17316 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
17317 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
17318 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
17319 __pthread_exit, __pthread_key_create, __pthread_getspecific,
17320 __pthread_setspecific, __pthread_setcancelstate,
17321 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
17322 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
17323 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
17325 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
17326 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
17327 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
17328 (pthread_attr_setstackaddr): New strong alias.
17329 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
17330 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
17331 (pthread_attr_setstacksize): New strong alias.
17332 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
17333 (call_exit): Call __pthread_exit instead of pthread_exit.
17334 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
17335 (_pthread_mutex_init): New hidden definition.
17336 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
17337 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
17338 instead of pthread_attr_init and pthread_attr_setstack.
17340 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
17341 __vm_deallocate instead of vm_allocate and vm_deallocate.
17342 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
17344 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
17346 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
17348 * hurd/siginfo.c: Include <libioP.h>.
17349 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
17350 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
17352 * mach/devstream.c: Include <libioP.h>.
17353 (dealloc_ref): Call __mach_port_deallocate instead of
17354 mach_port_deallocate.
17355 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
17356 Call __mach_port_deallocate instead of mach_port_deallocate.
17357 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
17359 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
17361 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
17362 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
17363 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
17365 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
17367 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
17368 instead of sysconf.
17369 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
17370 __clock_gettime instead of clock_gettime.
17371 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
17372 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17373 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
17374 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17375 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
17377 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
17378 __clock_gettime and __nanosleep instead of clock_gettime and
17380 * hurd/catch-signal.c (hurd_catch_signal): Rename to
17381 __hurd_catch_signal.
17382 (hurd_catch_signal): New strong alias.
17383 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
17384 __hurd_catch_signal instead of hurd_catch_signal.
17385 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
17386 * hurd/hurdexec.c (_hurd_init): Add hidden def.
17387 * hurd/hurdinit.c (_hurd_init): Add hidden def.
17388 * hurd/hurdsig.c: Include <mach/mig_support.h>.
17389 (_hurd_thread_sigstate): Add hidden def.
17390 (_hurd_internal_post_signal): Use __mutex_unlock instead of
17392 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
17393 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
17394 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
17395 __hurd_file_name_path_lookup.
17396 (hurd_file_name_path_lookup): New strong alias.
17397 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
17398 hurd_file_name_path_lookup.
17399 * mach/errstring.c (mach_error_type): Add hidden def.
17400 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
17401 * mach/mutex-init.c (__mutex_init): Add hidden def.
17402 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
17403 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
17404 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
17405 * sysdeps/mach/hurd/getcwd.c
17406 (_hurd_canonicalize_directory_name_internal): Rename to
17407 __hurd_canonicalize_directory_name_internal.
17408 (_hurd_canonicalize_directory_name_internal): New strong alias.
17409 (__canonicalize_directory_name_internal, __getcwd): Call
17410 __hurd_canonicalize_directory_name_internal instead of
17411 _hurd_canonicalize_directory_name_internal.
17412 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
17413 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
17415 * sysdeps/hurd/include/hurd.h: New file.
17416 * sysdeps/hurd/include/hurd/fd.h: New file.
17417 * sysdeps/hurd/include/hurd/signal.h: New file.
17418 * sysdeps/mach/include/lock-intern.h: New file.
17419 * sysdeps/mach/include/mach.h: New file.
17420 * sysdeps/mach/include/mach/mig_support.h: New file.
17421 * sysdeps/mach/include/mach_error.h: New file.
17422 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
17424 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
17425 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
17426 _HEADER_H_HIDDEN_DEF macro.
17427 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
17428 _hurd_fd_error_signal): Add hidden prototype.
17429 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
17431 * libio/iolibio.h (_IO_puts): New hidden prototype.
17432 * libio/ioputs.c (_IO_puts): New hidden def.
17433 * sysdeps/mach/hurd/localplt.data: New file.
17435 2018-04-02 Agustina Arzille <avarzille@riseup.net>
17436 Amos Jeffries <squid3@treenet.co.nz>
17437 David Michael <fedora.dm0@gmail.com>
17438 Marco Gerards <marco@gnu.org>
17439 Marcus Brinkmann <marcus@gnu.org>
17440 Neal H. Walfield <neal@gnu.org>
17441 Pino Toscano <toscano.pino@tiscali.it>
17442 Richard Braun <rbraun@sceen.net>
17443 Roland McGrath <roland@gnu.org>
17444 Samuel Thibault <samuel.thibault@ens-lyon.org>
17445 Thomas DiModica <ricinwich@yahoo.com>
17446 Thomas Schwinge <tschwinge@gnu.org>
17448 * htl: New directory.
17449 * sysdeps/htl: New directory.
17450 * sysdeps/hurd/htl: New directory.
17451 * sysdeps/i386/htl: New directory.
17452 * sysdeps/mach/htl: New directory.
17453 * sysdeps/mach/hurd/htl: New directory.
17454 * sysdeps/mach/hurd/i386/htl: New directory.
17455 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
17456 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
17457 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
17459 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17461 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
17462 signals in thread created for runing timers.
17464 2018-04-01 Florian Weimer <fweimer@redhat.com>
17466 * support/support_format_addrinfo.c (support_format_addrinfo):
17467 Include unknown error number in formatted result.
17469 2018-03-29 Florian Weimer <fweimer@redhat.com>
17471 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
17474 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17476 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
17477 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
17478 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17479 (__ASSUME_CLONE_BACKWARDS): Define.
17481 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
17484 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
17485 early when linux sentinel value is set.
17487 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17489 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
17491 2018-03-27 Andreas Schwab <schwab@suse.de>
17494 * resolv/res_send.c (__res_context_send): Return ENOMEM if
17495 allocation of private copy of nsaddr_list fails.
17497 2018-03-26 Joseph Myers <joseph@codesourcery.com>
17500 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
17501 * sysdeps/unix/sysv/linux/umount.c: ... here.
17502 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
17503 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
17504 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
17505 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
17506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
17507 * sysdeps/unix/sysv/linux/umount.S: Likewise.
17508 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
17510 2018-03-26 Andreas Schwab <schwab@suse.de>
17512 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
17513 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
17514 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
17515 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
17516 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
17517 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
17518 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
17519 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
17520 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
17521 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
17522 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
17523 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
17524 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
17525 (R_RISCV_NUM): Define.
17527 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17529 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
17530 TLS declaration of errno.
17531 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
17533 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
17534 (ARCH_SETUP_TLS): Likewise.
17535 * sysdeps/mach/hurd/libc-start.h: New file copied from
17536 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
17537 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
17538 instead of __libc_setup_tls.
17539 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
17540 __libc_setup_tls before initializing libpthread and running _hurd_init
17541 which starts the signal thread.
17542 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
17544 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17546 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
17549 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
17550 after it is defined.
17552 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
17553 Max Horn <max@quendi.de>
17557 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
17559 * string/test-memmove.c (do_test2): New testcase.
17561 2018-03-22 Joseph Myers <joseph@codesourcery.com>
17563 * sysdeps/generic/frame.h: Remove file.
17564 * sysdeps/arm/frame.h: Likewise.
17565 * sysdeps/hppa/frame.h: Likewise.
17566 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
17568 (GET_FRAME): Likewise.
17569 (GET_STACK): Likewise.
17570 (CALL_SIGHANDLER): Likewise.
17571 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
17573 (GET_FRAME): Likewise.
17574 (GET_STACK): Likewise.
17575 (CALL_SIGHANDLER): Likewise.
17576 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
17577 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17578 (GET_FRAME): Likewise.
17579 (GET_STACK): Likewise.
17580 (CALL_SIGHANDLER): Likewise.
17581 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
17582 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17583 (GET_FRAME): Likewise.
17584 (GET_STACK): Likewise.
17585 (ADVANCE_STACK_FRAME): Likewise.
17586 (CALL_SIGHANDLER): Likewise.
17587 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
17588 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17589 (GET_FRAME): Likewise.
17590 (GET_STACK): Likewise.
17591 (CALL_SIGHANDLER): Likewise.
17592 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
17593 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17594 (GET_FRAME): Likewise.
17595 (GET_STACK): Likewise.
17596 (CALL_SIGHANDLER): Likewise.
17597 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
17598 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17599 (GET_FRAME): Likewise.
17600 (GET_STACK): Likewise.
17601 (CALL_SIGHANDLER): Likewise.
17602 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
17603 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17604 (GET_FRAME): Likewise.
17605 (GET_STACK): Likewise.
17606 (CALL_SIGHANDLER): Likewise.
17607 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
17608 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17609 (GET_FRAME): Likewise.
17610 (GET_STACK): Likewise.
17611 (CALL_SIGHANDLER): Likewise.
17612 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
17613 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17614 (GET_FRAME): Likewise.
17615 (GET_STACK): Likewise.
17616 (CALL_SIGHANDLER): Likewise.
17617 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
17618 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17619 (GET_FRAME): Likewise.
17620 (GET_STACK): Likewise.
17621 (CALL_SIGHANDLER): Likewise.
17622 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
17623 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17624 (GET_FRAME): Likewise.
17625 (GET_STACK): Likewise.
17626 (CALL_SIGHANDLER): Likewise.
17627 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
17628 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17629 (GET_FRAME): Likewise.
17630 (GET_STACK): Likewise.
17631 (CALL_SIGHANDLER): Likewise.
17632 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
17633 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17634 (FIRST_FRAME_POINTER): Likewise.
17635 (ADVANCE_STACK_FRAME): Likewise.
17636 (GET_STACK): Likewise.
17637 (GET_FRAME): Likewise.
17638 (CALL_SIGHANDLER): Likewise.
17639 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
17640 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17641 (ADVANCE_STACK_FRAME): Likewise.
17642 (GET_STACK): Likewise.
17643 (GET_FRAME): Likewise.
17644 (CALL_SIGHANDLER): Likewise.
17645 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
17646 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17647 (GET_FRAME): Likewise.
17648 (GET_STACK): Likewise.
17649 (CALL_SIGHANDLER): Likewise.
17650 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
17651 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17652 (GET_FRAME): Likewise.
17653 (GET_STACK): Likewise.
17654 (CALL_SIGHANDLER): Likewise.
17656 2018-03-21 Joseph Myers <joseph@codesourcery.com>
17658 * sysdeps/x86_64/backtrace.c: Move to ....
17659 * debug/backtrace.c: ... here.
17660 * sysdeps/aarch64/backtrace.c: Remove file.
17661 * sysdeps/alpha/backtrace.c: Likewise.
17662 * sysdeps/hppa/backtrace.c: Likewise.
17663 * sysdeps/ia64/backtrace.c: Likewise.
17664 * sysdeps/mips/backtrace.c: Likewise.
17665 * sysdeps/nios2/backtrace.c: Likewise.
17666 * sysdeps/riscv/backtrace.c: Likewise.
17667 * sysdeps/sh/backtrace.c: Likewise.
17668 * sysdeps/tile/backtrace.c: Likewise.
17670 2018-03-20 Joseph Myers <joseph@codesourcery.com>
17673 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
17676 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
17679 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
17680 possibly overflowing computations.
17682 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
17684 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
17685 values from Linux-specific section now that it is in the GNU section.
17686 * sysdeps/gnu/errlist.c: Regenerate.
17688 2018-03-20 Joseph Myers <joseph@codesourcery.com>
17690 * math/Makefile (libm-narrow-fns): Add sub.
17691 (libm-test-funcs-narrow): Likewise.
17692 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
17693 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
17694 * math/gen-auto-libm-tests.c (test_functions): Add sub.
17695 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
17696 (NARROW_SUB_ROUND_TO_ODD): Likewise.
17697 (NARROW_SUB_TRIVIAL): Likewise.
17698 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
17700 (__dsubl): Likewise.
17701 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
17703 (CFLAGS-nldbl-dsub.c): New variable.
17704 (CFLAGS-nldbl-fsub.c): Likewise.
17705 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17707 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
17709 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
17710 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
17711 * math/auto-libm-test-in: Add tests of sub.
17712 * math/auto-libm-test-out-narrow-sub: New generated file.
17713 * math/libm-test-narrow-sub.inc: New file.
17714 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17715 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
17716 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
17717 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
17718 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
17719 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
17720 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
17721 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
17722 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
17723 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
17724 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
17725 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
17726 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
17727 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
17728 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
17729 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
17730 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
17731 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
17732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17733 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17734 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17735 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17736 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17737 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17738 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17739 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17740 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17741 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17742 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17743 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17744 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17745 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17750 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17751 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17752 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17753 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17754 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17755 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17756 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17757 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17758 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17759 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17761 2018-03-19 Joseph Myers <joseph@codesourcery.com>
17764 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
17766 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
17768 * benchtests/bench-timing.h (attribute_hidden): Undefine.
17770 2018-03-18 Richard Braun <rbraun@sceen.net>
17772 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
17775 2018-03-18 Agustina Arzille <avarzille@riseup.net>
17777 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
17778 (__libc_cleanup_fct): Define function.
17779 (__libc_cleanup_region_start, __libc_cleanup_region_end,
17780 __libc_cleanup_end): Rewrite implementation using
17781 __attribute__ ((__cleanup__)).
17782 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
17783 * hurd/Makefile (routines): Add hurdlock.
17784 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
17786 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
17787 * hurd/hurdpid.c: Include <lowlevellock.h>
17788 (_S_msg_proc_newids): Use lll_wait to synchronize.
17789 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
17790 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
17791 * mach/Makefile (lock-headers): Remove machine-lock.h.
17792 * mach/lock-intern.h: Include <lowlevellock.h> instead of
17794 (__spin_lock_t): New type.
17795 (__SPIN_LOCK_INITIALIZER): New macro.
17796 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
17797 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
17798 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
17799 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
17800 (__mutex_init): Initialize with lll.
17801 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
17802 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
17804 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17805 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
17806 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
17807 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
17808 (__setpgid): Use lll for synchronization.
17809 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
17810 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
17811 instead of <cthreads.h>.
17812 (_IO_lock_inexpensive): New macro
17813 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
17814 (__libc_lock_self0): New declaration.
17815 (__libc_lock_owner_self): New macro.
17816 (__libc_key_t): Remove type.
17817 (_LIBC_LOCK_INITIALIZER): New macro.
17818 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
17819 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
17820 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
17821 __libc_lock_define_initialized_recursive,
17822 __rtld_lock_define_initialized_recursive,
17823 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
17824 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
17825 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
17826 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
17827 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
17828 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
17829 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
17831 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
17832 * hurd/hurdlock.c: New file.
17833 * hurd/hurdlock.h: New file.
17834 * mach/lowlevellock.h: New file
17836 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17838 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
17839 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
17840 when opening a symlink with O_NOFOLLOW.
17841 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
17842 path when flags contains O_NOFOLLOW.
17843 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
17844 if flags contains O_DIRECTORY and the result is a directory.
17845 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
17846 oneself when the pointer given in D is nul (as set by ext2fs).
17847 * sysdeps/mach/hurd/mlockall.c: New file.
17848 * sysdeps/mach/hurd/munlockall.c: New file.
17850 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17852 * hurd/hurdsig.c: Include <pthread.h>.
17853 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
17854 get the signal thread stack layout.
17855 * hurd/Makefile (headers): Remove threadvar.h.
17856 (inline-headers): Remove threadvar.h.
17857 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
17858 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
17859 __hurd_threadvar_max, __hurd_errno_location.
17860 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
17861 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
17862 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
17863 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
17864 unless TLS is not initialized yet, in which case we do not need a
17865 critical section yet anyway.
17866 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
17868 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
17870 (__hurd_threadvar_index): Remove enum.
17871 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
17872 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
17874 (__hurd_reply_port0): New variable declaration.
17875 (__hurd_local_reply_port): New macro.
17876 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
17877 (interrupted_reply_port_location): Add thread_t parameter. Use it
17878 with THREAD_TCB to access thread-local variables.
17879 (_hurdsig_abort_rpcs): Pass ss->thread to
17880 interrupted_reply_port_location.
17881 (_hurd_internal_post_signal): Likewise.
17882 (_hurdsig_init): Use presence of cthread_fork instead of
17883 __hurd_threadvar_stack_mask to start signal thread by hand.
17884 Remove signal thread threadvar initialization.
17885 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
17886 * hurd/sigunwind.c: Include <hurd/threadvar.h>
17887 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
17889 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
17891 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
17892 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
17893 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
17894 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
17895 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
17896 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
17897 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
17899 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
17900 <hurd/threadvar.h>.
17901 [IS_IN(rtld)] (rtld_errno): New variable.
17902 [IS_IN(rtld)] (__errno_location): New weak function.
17903 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
17904 * sysdeps/mach/hurd/errno.c: Remove file.
17905 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
17906 (__fork): Remove THREADVAR_SPACE macro and its use.
17907 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
17909 (init): Do not initialize threadvar.
17910 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
17912 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
17913 __hurd_local_reply_port instead of threadvar.
17914 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
17915 _hurd_sigstate fields.
17916 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
17917 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
17918 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
17919 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
17920 instead of threadvar.
17921 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
17922 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
17923 (use_threadvar, global_reply_port): Remove variables.
17924 (__hurd_reply_port0): New variable.
17925 (__mig_get_reply_port): Use __hurd_local_reply_port and
17926 __hurd_reply_port0 instead of threadvar.
17927 (__mig_dealloc_reply_port): Likewise.
17928 (__mig_init): Do not initialize threadvar.
17929 * sysdeps/mach/hurd/profil.c: Fix comment.
17930 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
17931 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
17932 cthread_keycreate, cthread_getspecific, cthread_setspecific to
17933 __cthread_fork, __cthread_detach, __pthread_getattr_np,
17934 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
17935 __cthread_setspecific.
17936 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
17937 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
17938 __cthread_t instead of cthread_fork, cthread_detach,
17939 pthread_getattr_np, pthread_attr_getstack.
17940 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
17941 __cthread_keycreate.
17942 (cthread_getspecific): Rename to __cthread_getspecific.
17943 (cthread_setspecific): Rename to __cthread_setspecific.
17944 (__libc_getspecific): Use __cthread_getspecific instead of
17945 cthread_getspecific.
17946 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
17947 __cthread_keycreate instead of cthread_keycreate.
17948 (__libc_setspecific): Use __cthread_setspecific instead of
17949 cthread_setspecific.
17950 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
17952 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
17953 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
17954 testing whether it is defined.
17956 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17958 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
17960 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
17961 * sysdeps/mach/i386/thread_state.h
17962 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
17964 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
17966 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
17968 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
17969 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
17971 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
17973 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
17974 descriptor instead of creating a new one.
17975 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
17977 * mach/setup-thread.c: Include <ldsodefs.h>.
17978 (__mach_setup_thread): Call _dl_allocate_tls, pass
17979 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
17980 MACHINE_THREAD_STATE_FLAVOR, before getting
17981 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
17982 MACHINE_THREAD_STATE_FLAVOR with the result.
17983 * hurd/hurdfault.c (_hurdsig_fault_init): Call
17984 MACHINE_THREAD_STATE_FIX_NEW.
17985 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
17986 too. Add original thread parameter.
17988 2018-03-16 Joseph Myers <joseph@codesourcery.com>
17990 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
17991 Remove inline function.
17993 * sysdeps/i386/fpu/libm-test-ulps: Update.
17994 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17996 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
17998 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
18001 2018-03-15 Joseph Myers <joseph@codesourcery.com>
18003 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
18004 (__sincos_code): Remove define and undefine.
18005 [__FAST_MATH__] (__sincos): Remove inline function.
18006 [__FAST_MATH__] (__sincosf): Remove inline function.
18007 [__FAST_MATH__] (__sincosl): Remove inline function.
18008 (__atan2l): Remove inline functions.
18009 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
18010 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
18012 (floor): Remove inline function.
18014 [__FAST_MATH__] (__ldexp_code): Remove macro.
18015 [__FAST_MATH__] (ldexp): Remove inline function.
18016 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
18017 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
18018 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
18019 [__USE_ISOC99] (__lrint_code): Remove macro.
18020 [__USE_ISOC99] (__llrint_code): Likewise.
18021 [__USE_ISOC99] (lrintf): Remove inline function.
18022 [__USE_ISOC99] (lrint): Likewise.
18023 [__USE_ISOC99] (lrintl): Likewise.
18024 [__USE_ISOC99] (llrint): Likewise.
18025 [__USE_ISOC99] (llrintf): Likewise.
18026 [__USE_ISOC99] (llrintl): Likewise.
18028 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18030 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
18031 (__ieee754_sqrtf): Remove.
18032 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
18033 (__ieee754_sqrtf): Remove.
18034 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
18035 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18036 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
18037 (__ieee754_sqrtf): Remove.
18038 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
18039 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
18042 (__ieee754_sqrt): Remove.
18043 (__ieee754_sqrtf): Remove.
18044 (__ieee754_sqrtl): Remove.
18045 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18046 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
18047 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
18048 (__ieee754_sqrtf): Remove.
18049 (__ieee754_sqrtl): Remove.
18051 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18053 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
18054 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
18055 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18056 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
18057 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
18058 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18059 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18060 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18062 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
18063 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
18064 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
18065 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
18066 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
18067 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
18068 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18069 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
18070 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
18071 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18072 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
18073 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
18074 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
18075 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
18076 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
18077 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18078 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18079 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18080 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
18081 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
18082 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18083 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18084 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
18085 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
18086 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
18087 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
18088 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18089 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18090 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
18091 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18092 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18093 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
18094 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18095 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
18096 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18097 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18098 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
18099 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
18100 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
18101 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
18103 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18105 * include/math.h (sqrt): Declare with asm redirect.
18108 (sqrtf128): Likewise.
18109 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
18110 nonlib and libnldbl with -fmath-errno.
18111 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
18112 * math/w_sqrt_template.c: Likewise.
18113 * math/w_sqrtf_compat.c: Likewise.
18114 * math/w_sqrtl_compat.c: Likewise.
18115 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
18116 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
18117 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
18120 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18122 * benchtests/Makefile: Define _ISOMAC.
18123 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
18124 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
18125 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
18126 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
18127 * benchtests/bench-timing.h: Define attribute_hidden.
18129 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
18131 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
18134 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18137 * localedata/locales/cs_CZ (mon): Rename to...
18139 (mon): Import from CLDR (genitive case).
18141 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18144 * localedata/locales/el_CY (abmon): Rename to...
18145 (ab_alt_mon): This.
18146 (abmon): Import from CLDR (abbreviated genitive case).
18147 * localedata/locales/el_GR (abmon): Rename to...
18148 (ab_alt_mon): This.
18149 (abmon): Import from CLDR (abbreviated genitive case).
18151 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18154 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
18156 2018-03-15 Robert Buj <robert.buj@gmail.com>
18159 * localedata/locales/ca_ES (abmon): Rename to...
18160 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18161 (mon): Rename to...
18163 (abmon): Import from CLDR (genitive case, month names preceded by
18166 (abday): Synchronize with CLDR.
18167 (d_t_fmt): Likewise.
18171 (LC_TIME): Improve indentation.
18172 (LC_TELEPHONE): Likewise.
18173 (LC_NAME): Likewise.
18174 (LC_ADDRESS): Likewise.
18176 2018-03-14 Joseph Myers <joseph@codesourcery.com>
18178 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
18179 (lrintf): Remove definitions used only with old GCC.
18180 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
18181 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
18182 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
18183 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
18184 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
18185 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
18186 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
18187 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
18188 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
18189 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
18190 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
18191 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
18192 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
18193 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
18194 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
18195 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
18196 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
18197 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
18198 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
18199 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
18200 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
18201 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
18202 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
18203 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
18204 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
18205 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
18206 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
18207 [__FAST_MATH__] (__M_SQRT2): Remove macro.
18209 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18211 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
18212 instruction to unbreak builds with binutils 2.26 and older.
18214 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18216 * sysdeps/aarch64/strncmp.S (count): New macro.
18217 (strncmp): Store misaligned length in SRC1 in COUNT.
18218 (mutual_align): Adjust.
18219 (misaligned8): Load dword at a time when it is safe.
18221 2018-03-12 Zack Weinberg <zackw@panix.com>
18225 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
18226 if the _IO_EOF_SEEN bit is already set; update commentary.
18227 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
18228 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18230 * support/support_openpty.c, support/tty.h: New files.
18231 * support/Makefile (libsupport-routines): Add support_openpty.
18233 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
18235 * libio/Makefile (tests): Add tst-fgetc-after-eof.
18236 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
18238 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
18240 * po/pt_BR.po: Update translations.
18242 2018-03-12 David Michael <fedora.dm0@gmail.com>
18244 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
18245 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
18246 get a port to the startup server.
18248 2018-03-11 Zack Weinberg <zackw@panix.com>
18250 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
18251 before nldbl-compat.h.
18253 2018-03-10 Zack Weinberg <zackw@panix.com>
18255 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
18256 math.h or math_private.h.
18258 * sysdeps/alpha/fpu/s_isnan.c
18259 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
18260 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
18261 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
18262 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
18263 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
18264 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
18265 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
18266 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
18267 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
18268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
18269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
18270 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
18271 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
18272 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
18273 Include math_private.h.
18275 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
18276 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
18277 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
18278 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
18279 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
18280 * sysdeps/powerpc/power7/fpu/s_logb.c:
18281 Include math.h and math_private.h.
18283 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
18284 uses of $at in .set noat / .set at.
18286 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
18288 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
18289 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
18290 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
18291 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
18294 2018-03-09 Florian Weimer <fweimer@redhat.com>
18296 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
18299 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
18302 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
18303 Add nop before __startcontext, add explaining comments.
18305 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18308 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
18310 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
18311 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
18312 Do not build hardware transactional code for __SPE__.
18313 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18314 (__lll_trylock_elision): Likewise.
18315 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18316 (__lll_unlock_elision): Likewise.
18318 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
18319 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
18320 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18321 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
18322 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
18323 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
18324 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
18325 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
18326 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
18327 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
18328 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
18329 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
18330 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
18331 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
18332 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
18333 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
18334 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
18335 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
18336 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
18337 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
18338 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
18339 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18340 (__ASSUME_CLONE_BACKWARDS): Define.
18341 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
18342 __clone2 if __NR_clone2 is defined.
18343 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18344 (__ASSUME_CLONE_BACKWARDS): Likewise.
18345 * sysdeps/unix/sysv/linux/i386/kernel-features.h
18346 (__ASSUME_CLONE_BACKWARDS): Likewise.
18347 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18348 (__ASSUME_CLONE2): Likewise.
18349 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18350 (__ASSUME_CLONE_BACKWARDS3): Likewise.
18351 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
18352 variants and the define architecture can use.
18353 (__ASSUME_CLONE_DEFAULT): Define as default.
18354 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18355 (__ASSUME_CLONE_BACKWARDS): Likewise.
18356 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18357 (__ASSUME_CLONE_BACKWARDS): Likewise.
18358 * sysdeps/unix/sysv/linux/s390/kernel-features.h
18359 (__ASSUME_CLONE_BACKWARDS2): Likewise.
18361 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
18363 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
18365 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
18368 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
18369 (do_test_limit): Likewise.
18371 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
18372 for every implementation.
18373 (do_test): Likewise.
18375 * benchtests/bench-strncmp.c: Convert output to json.
18377 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18379 * io/futimens.c: Add missing start-of-file descriptive comment.
18380 * io/utime.c: Likewise.
18381 * misc/futimesat.c: Likewise.
18382 * misc/utimes.c: Likewise.
18383 * sysdeps/mach/hurd/futimesat.c: Likewise.
18384 * sysdeps/mach/hurd/utimes.c: Likewise.
18385 * sysdeps/posix/utime.c: Likewise.
18386 * sysdeps/posix/utimes.c: Likewise.
18387 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
18388 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18389 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
18390 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
18392 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18394 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
18396 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
18397 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
18398 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
18399 (__futimens): Move implementation to...
18400 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
18401 utime_tvalue_from_tspec): ... new helper functions.
18402 (hurd_futimens): New function.
18403 * sysdeps/mach/hurd/futimesat.c: New file.
18404 * sysdeps/mach/hurd/utimensat.c: New file.
18406 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
18408 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
18409 UTIME_OMIT): New macros.
18410 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
18411 before reverting to converting time spec to time value and calling
18413 * sysdeps/mach/hurd/utime-helper.c: New file.
18414 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
18415 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
18416 reverting to utime_tvalue_from_tval and __file_utimes.
18417 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
18418 (__lutimes): Just call hurd_futimens after lookup.
18419 * sysdeps/mach/hurd/utimes.c: Likewise.
18421 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18423 * bits/sigaction.h: Add include guard.
18424 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
18425 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
18426 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
18427 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
18428 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
18429 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
18430 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
18431 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
18432 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
18434 2018-03-05 Joseph Myers <joseph@codesourcery.com>
18436 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
18437 -Wmaybe-uninitialized for -Os.
18438 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
18441 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18443 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
18444 __INO_T_MATCHES_INO64_T is defined.
18445 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
18446 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
18448 * dirent/alphasort64.c: Likewise.
18449 * dirent/scandir.c: Likewise.
18450 * dirent/scandir64-tail.c: Likewise.
18451 * dirent/scandir64.c: Likewise.
18452 * dirent/scandirat.c: Likewise.
18453 * dirent/scandirat64.c: Likewise.
18454 * dirent/versionsort.c: Likewise.
18455 * dirent/versionsort64.c: Likewise.
18456 * include/dirent.h: Likewise.
18458 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
18459 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
18460 for socketpair endpoint.
18461 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
18462 WRITE_BUFFER_SIZE as buffer size for sending socket.
18463 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
18464 issue on system where send is implemented with sendto syscall.
18465 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
18466 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
18467 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
18468 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
18471 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
18472 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
18473 sa_restorer for vDSO case.
18474 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
18476 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18478 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
18479 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
18480 * hurd/hurd/ioctl.h: Include <mach/port.h>
18481 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
18482 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
18483 <mach/mach_types.h> and <mach/message.h>.
18484 (headers): Move mach/param.h to bits/mach/param.h.
18485 * sysdeps/mach/i386/mach/param.h: Move file to ...
18486 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
18487 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
18489 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
18490 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
18491 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
18492 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
18493 trivial, for C++ conformity.
18494 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
18495 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
18496 Process mig output through $(migheadersed).
18497 * hurd/Makefile (migheadersed): Define variable.
18498 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
18499 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
18501 * hurd/hurd.h: Include <bits/types/sigset_t.h>
18502 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
18503 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
18504 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
18505 <bits/types/sigset_t.h>.
18506 [!defined __USE_GNU]: Do not #error out.
18507 (struct hurd_sigstate): Use _NSIG instead of NSIG.
18508 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
18509 Include <stddef.h> and <bits/types/sigset_t.h>
18510 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
18511 instead of sighandler_t.
18512 * stdlib/errno.h (error_t): Move definition to...
18513 * bits/types/error_t.h: ... new header.
18514 * stdlib/Makefile (headers): Add bits/types/error_t.h.
18515 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
18516 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
18517 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
18518 * hurd/hurd.h: Include <bits/types/error_t.h>
18519 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
18520 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
18521 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
18522 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
18523 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
18524 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
18525 * sysdeps/mach/hurd/futimens.c: New file.
18527 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
18530 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
18531 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
18532 * nscd/gai.c (__nss_hosts_database): Readd definition.
18533 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
18534 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
18535 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
18537 2018-03-02 Joseph Myers <joseph@codesourcery.com>
18539 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
18540 (ifunc_one): Likewise.
18542 2018-03-01 DJ Delorie <dj@delorie.com>
18545 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
18548 2018-03-01 Maciej W. Rozycki <macro@mips.com>
18550 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
18551 `match_pid' parameter.
18552 (td_ta_thr_iter): Update accordingly.
18554 2018-03-01 Florian Weimer <fweimer@redhat.com>
18556 * nptl/Makefile (install-lib-ldscripts): Remove.
18557 (install): Remove rule.
18558 ($(inst_libdir)/libpthread.so): Likewise.
18560 2018-03-01 Mike FABIAN <mfabian@redhat.com>
18563 * localedata/locales/an_ES: update month and day names,
18564 improve d_fmt, improve postal_fmt, add country_post,
18567 2018-03-01 Mike FABIAN <mfabian@redhat.com>
18569 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
18570 Ukrainian instead of Bulgarian.
18572 2018-03-01 Florian Weimer <fweimer@redhat.com>
18574 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
18577 2018-03-01 Florian Weimer <fweimer@redhat.com>
18579 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
18580 * nptl/Makefile (routines): Add pthread_atfork.
18581 (static-only-routines): Set to pthread_atfork.
18582 (libpthread-routines): Remove pthread_atfork.
18583 (libpthread-static-only-routines): Remove.
18584 (install): Update comment.
18585 (libpthread.so): Do not install libpthread_nonshared.a.
18586 (tests): Do not link with libpthread_nonshared.a.
18587 (generated): Remove libpthread_nonshared.a.
18588 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
18589 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
18590 with libpthread_nonshared.a.
18592 2018-02-28 Joseph Myers <joseph@codesourcery.com>
18595 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
18596 (libc_feholdexcept_setroundf128): New macro.
18597 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
18600 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
18602 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
18603 * include/inttypes.h: New file.
18605 2018-02-27 Joseph Myers <joseph@codesourcery.com>
18607 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
18608 -Os in two more places.
18610 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18612 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
18613 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
18614 be sorted correctly at the moment because of a bug.
18616 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18618 [BZ #22550] - es_ES locale (and other es_* locales): collation should
18619 treat ñ as a primary different character, sync the collation
18620 for Spanish with CLDR.
18621 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
18622 * localedata/Makefile: Add new test files.
18623 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
18624 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
18626 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
18627 * localedata/am_ET.UTF-8.in: New test file.
18628 * localedata/az_AZ.UTF-8.in: Likewise.
18629 * localedata/be_BY.UTF-8.in: Likewise.
18630 * localedata/ber_DZ.UTF-8.in: Likewise.
18631 * localedata/ber_MA.UTF-8.in: Likewise.
18632 * localedata/bg_BG.UTF-8.in: Likewise.
18633 * localedata/br_FR.UTF-8.in: Likewise.
18634 * localedata/cmn_TW.UTF-8.in: Likewise.
18635 * localedata/crh_UA.UTF-8.in: Likewise.
18636 * localedata/csb_PL.UTF-8.in: Likewise.
18637 * localedata/cv_RU.UTF-8.in: Likewise.
18638 * localedata/cy_GB.UTF-8.in: Likewise.
18639 * localedata/dz_BT.UTF-8.in: Likewise.
18640 * localedata/eo.UTF-8.in: Likewise.
18641 * localedata/es_ES.UTF-8.in: Likewise.
18642 * localedata/fa_IR.UTF-8.in: Likewise.
18643 * localedata/fi_FI.UTF-8.in: Likewise.
18644 * localedata/fil_PH.UTF-8.in: Likewise.
18645 * localedata/fur_IT.UTF-8.in: Likewise.
18646 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
18647 * localedata/ha_NG.UTF-8.in: Likewise.
18648 * localedata/ig_NG.UTF-8.in: Likewise.
18649 * localedata/ik_CA.UTF-8.in: Likewise.
18650 * localedata/kk_KZ.UTF-8.in: Likewise.
18651 * localedata/ku_TR.UTF-8.in: Likewise.
18652 * localedata/ky_KG.UTF-8.in: Likewise.
18653 * localedata/ln_CD.UTF-8.in: Likewise.
18654 * localedata/mi_NZ.UTF-8.in: Likewise.
18655 * localedata/ml_IN.UTF-8.in: Likewise.
18656 * localedata/mn_MN.UTF-8.in: Likewise.
18657 * localedata/mr_IN.UTF-8.in: Likewise.
18658 * localedata/mt_MT.UTF-8.in: Likewise.
18659 * localedata/nb_NO.UTF-8.in: Likewise.
18660 * localedata/om_KE.UTF-8.in: Likewise.
18661 * localedata/os_RU.UTF-8.in: Likewise.
18662 * localedata/ps_AF.UTF-8.in: Likewise.
18663 * localedata/ro_RO.UTF-8.in: Likewise.
18664 * localedata/ru_RU.UTF-8.in: Likewise.
18665 * localedata/sc_IT.UTF-8.in: Likewise.
18666 * localedata/se_NO.UTF-8.in: Likewise.
18667 * localedata/sq_AL.UTF-8.in: Likewise.
18668 * localedata/sv_SE.UTF-8.in: Likewise.
18669 * localedata/szl_PL.UTF-8.in: Likewise.
18670 * localedata/tg_TJ.UTF-8.in: Likewise.
18671 * localedata/tk_TM.UTF-8.in: Likewise.
18672 * localedata/tt_RU.UTF-8.in: Likewise.
18673 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
18674 * localedata/ug_CN.UTF-8.in: Likewise.
18675 * localedata/uz_UZ.UTF-8.in: Likewise.
18676 * localedata/vi_VN.UTF-8.in: Likewise.
18677 * localedata/yi_US.UTF-8.in: Likewise.
18678 * localedata/yo_NG.UTF-8.in: Likewise.
18679 * localedata/zh_CN.UTF-8.in: Likewise.
18680 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
18681 file and fix bugs in the collation.
18682 * localedata/locales/az_AZ: Likewise.
18683 * localedata/locales/be_BY: Likewise.
18684 * localedata/locales/ber_DZ: Likewise.
18685 * localedata/locales/ber_MA: Likewise.
18686 * localedata/locales/bg_BG: Likewise.
18687 * localedata/locales/br_FR: Likewise.
18688 * localedata/locales/br_FR@euro: Likewise.
18689 * localedata/locales/ca_ES: Likewise.
18690 * localedata/locales/cns11643_stroke: Likewise.
18691 * localedata/locales/crh_UA: Likewise.
18692 * localedata/locales/cs_CZ: Likewise.
18693 * localedata/locales/csb_PL: Likewise.
18694 * localedata/locales/cv_RU: Likewise.
18695 * localedata/locales/cy_GB: Likewise.
18696 * localedata/locales/da_DK: Likewise.
18697 * localedata/locales/dz_BT: Likewise.
18698 * localedata/locales/en_CA: Likewise.
18699 * localedata/locales/eo: Likewise.
18700 * localedata/locales/es_CU: Likewise.
18701 * localedata/locales/es_EC: Likewise.
18702 * localedata/locales/es_ES: Likewise.
18703 * localedata/locales/es_US: Likewise.
18704 * localedata/locales/et_EE: Likewise.
18705 * localedata/locales/fa_IR: Likewise.
18706 * localedata/locales/fi_FI: Likewise.
18707 * localedata/locales/fil_PH: Likewise.
18708 * localedata/locales/fur_IT: Likewise.
18709 * localedata/locales/gez_ER@abegede: Likewise.
18710 * localedata/locales/ha_NG: Likewise.
18711 * localedata/locales/hr_HR: Likewise.
18712 * localedata/locales/hsb_DE: Likewise.
18713 * localedata/locales/hu_HU: Likewise.
18714 * localedata/locales/ig_NG: Likewise.
18715 * localedata/locales/ik_CA: Likewise.
18716 * localedata/locales/is_IS: Likewise.
18717 * localedata/locales/iso14651_t1_pinyin: Likewise.
18718 * localedata/locales/kk_KZ: Likewise.
18719 * localedata/locales/ku_TR: Likewise.
18720 * localedata/locales/ky_KG: Likewise.
18721 * localedata/locales/ln_CD: Likewise.
18722 * localedata/locales/lt_LT: Likewise.
18723 * localedata/locales/lv_LV: Likewise.
18724 * localedata/locales/mi_NZ: Likewise.
18725 * localedata/locales/ml_IN: Likewise.
18726 * localedata/locales/mn_MN: Likewise.
18727 * localedata/locales/mr_IN: Likewise.
18728 * localedata/locales/mt_MT: Likewise.
18729 * localedata/locales/nb_NO: Likewise.
18730 * localedata/locales/om_KE: Likewise.
18731 * localedata/locales/os_RU: Likewise.
18732 * localedata/locales/pl_PL: Likewise.
18733 * localedata/locales/ps_AF: Likewise.
18734 * localedata/locales/ro_RO: Likewise.
18735 * localedata/locales/ru_RU: Likewise.
18736 * localedata/locales/ru_UA: Likewise.
18737 * localedata/locales/sc_IT: Likewise.
18738 * localedata/locales/se_NO: Likewise.
18739 * localedata/locales/si_LK: Likewise.
18740 * localedata/locales/sq_AL: Likewise.
18741 * localedata/locales/sv_FI: Likewise.
18742 * localedata/locales/sv_FI@euro: Likewise.
18743 * localedata/locales/sv_SE: Likewise.
18744 * localedata/locales/szl_PL: Likewise.
18745 * localedata/locales/tg_TJ: Likewise.
18746 * localedata/locales/ti_ER: Likewise.
18747 * localedata/locales/tk_TM: Likewise.
18748 * localedata/locales/tl_PH: Likewise.
18749 * localedata/locales/tr_TR: Likewise.
18750 * localedata/locales/tt_RU: Likewise.
18751 * localedata/locales/tt_RU@iqtelif: Likewise.
18752 * localedata/locales/ug_CN: Likewise.
18753 * localedata/locales/uk_UA: Likewise.
18754 * localedata/locales/uz_UZ: Likewise.
18755 * localedata/locales/uz_UZ@cyrillic: Likewise.
18756 * localedata/locales/vi_VN: Likewise.
18757 * localedata/locales/yi_US: Likewise.
18758 * localedata/locales/yo_NG: Likewise.
18760 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18762 * gen-locales.mk: Make test files which contain @ modifiers in their
18764 * localedata/gen-locale.sh: Likewise.
18766 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18768 * posix/tst-fnmatch.input: Fix results for range expressions
18770 * posix/tst-regexloc.c: Do not use a range expression for
18771 de_DE.ISO-8859-1 locale.
18773 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18775 * posix/bug-regex5.c: Fix test case because with the new
18776 iso14651_t1_common file, the da_DK locale now has 6 collating elements
18777 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
18780 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18782 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
18783 downloaded from ISO, the collation order of @-. and space has changed.
18784 Therefore, this test file needed to be adapted.
18785 * localedata/fr_CA.UTF-8.in: Likewise.
18786 * localedata/fr_FR.UTF-8.in: Likewise.
18787 * localedata/uk_UA.UTF-8.in: Likewise.
18789 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18791 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
18792 order of ȥ in the new iso14651_t1_common file.
18793 * localedata/pl_PL.UTF-8.in: Likewise.
18795 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18797 * localedata/locales/iso14651_t1_common: Add sections for various
18798 scripts to the iso14651_t1_common file.
18800 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18802 * localedata/locales/iso14651_t1_common: Use the code point of a
18803 character in the fourth collation level instead of IGNORE for all
18804 entries which have IGNORE on all 4 levels.
18806 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18808 * localedata/locales/iso14651_t1_common: Add some convenient collation
18809 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
18810 rules similar to those in CLDR.
18812 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18814 * localedata/locales/iso14651_t1_common: The new version of this
18815 file downloaded from ISO contained several syntax errors which
18816 are fixed by this patch.
18818 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18820 * localedata/locales/iso14651_t1_common: replace all <U.....>
18821 with <U000.....> because glibc understands only 4 digit or 8 digit
18823 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18825 * localedata/locales/iso14651_t1_common: Necessary changes
18826 to make the file downloaded from ISO usable by glibc.
18828 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18831 * localedata/locales/iso14651_t1_common: Update file to
18832 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
18834 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18836 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
18837 of <nptl/pthreadP.h>
18838 (thread_attr_compare): Move function to...
18839 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
18840 * sysdeps/nptl/timer_routines.h: ... new header.
18841 * sysdeps/mach/hurd/gai_misc.h: New file.
18843 2018-02-26 Joseph Myers <joseph@codesourcery.com>
18845 * string/strcoll_l.c: Include <libc-diag.h>.
18846 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
18847 declarations of seq1 and seq2.
18850 * stdlib/atoi.c (atoi): Use libc_hidden_def.
18851 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
18853 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
18857 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
18858 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
18859 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
18860 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
18861 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
18862 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
18864 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18866 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
18867 macros used in __ptrace_request.
18869 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
18872 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
18874 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
18875 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
18876 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
18879 2018-02-23 Joseph Myers <joseph@codesourcery.com>
18882 * ctype/ctype.c (tolower): Use libc_hidden_def.
18883 (toupper): Likewise.
18884 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
18885 [!_ISOMAC] (toupper): Likewise.
18887 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18889 * localedata/Makefile: Remove --quiet argument when
18892 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18895 * localedata/locales/pt_BR (LC_TIME): use / instead of -
18897 * localedata/locales/pt_PT (LC_TIME): likewise
18899 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18902 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
18903 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
18904 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
18906 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18910 * nptl/Makefile (routines): Remove unregister-atfork.
18911 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
18912 (fork_handler_alloc): Remove function.
18913 (fork_handlers, fork_handler_init): New variables.
18914 (__fork_lock): Rename to atfork_lock.
18915 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
18916 to use a dynamic array to add/remove atfork handlers.
18917 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18918 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
18919 Remove declaration.
18920 (fork_handler): Remove next, refcntr, and need_signal member.
18921 (__run_fork_handler_type): New enum.
18922 (__run_fork_handlers): New prototype.
18923 * nptl/register-atfork.c: Remove file.
18924 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
18926 * sysdeps/nptl/nptl-signals.h: Move to ...
18927 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
18929 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
18930 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
18931 unnecessary check for SIGTIMER.
18932 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
18933 remove unnecessary removal of SIGTIMER.
18934 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
18935 include-signals.h rename.
18936 * nptl/pthreadP.h: Likewise.
18937 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
18938 __is_internal_signal instead of __nptl_is_internal_signal.
18940 2018-02-22 Andrew Waterman <andrew@sifive.com>
18943 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
18944 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
18945 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
18946 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
18948 2018-02-22 DJ Delorie <dj@delorie.com>
18950 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
18952 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
18954 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
18955 do_misaligned, not misaligned8.
18957 2018-02-22 Steve Ellcey <sellcey@cavium.com>
18959 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
18960 Add memcpy_thunderx2.
18961 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
18963 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
18964 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
18965 and IS_THUNDERX2PA checks.
18966 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
18967 Use macro to set name appropriately.
18968 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
18969 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
18970 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
18972 (IS_THUNDERX2): New macro.
18974 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
18976 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18978 2018-02-21 Zack Weinberg <zackw@panix.com>
18980 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
18981 Define here, unconditionally.
18982 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
18983 * libio/libioP.h: Remove #if 0 blocks.
18984 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
18985 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
18986 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
18988 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
18989 Assume weak_alias is always defined.
18991 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
18992 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
18993 Remove #if 0 and #ifdef TODO blocks.
18994 Assume text_set_element is always defined.
18996 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
18997 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
18998 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
19000 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
19001 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
19002 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
19003 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
19004 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
19005 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
19006 Reformat bit flags for _flags field to make occupancy clearer.
19008 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
19009 Keep definitions consistent with those in libio/libio.h.
19011 * libio/libio.h (_IO_file_flags): Remove macro.
19012 All uses changed to _flags.
19014 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
19015 (__HAVE_COLUMN, _IO_BE): Don't define.
19016 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
19017 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
19018 * libio/libioP.h (EOF): Don't define.
19019 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
19020 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
19021 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
19022 testing _IO_UNIFIED_JUMPTABLES.
19024 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
19025 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
19026 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
19027 (_IO_size_t): Delete; all uses changed to size_t.
19028 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
19029 (_IO_off_t): Delete; all uses changed to off_t.
19030 (_IO_off64_t): Delete; all uses changed to off64_t.
19031 (_IO_pid_t): Delete; all uses changed to pid_t.
19032 (_IO_uid_t): Delete; all uses changed to uid_t.
19033 (_IO_wint_t): Delete; all uses changed to wint_t.
19034 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
19035 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
19036 (_IO_cookie_io_functions_t): Delete; all uses changed to
19037 cookie_io_functions_t.
19038 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
19039 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
19040 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
19041 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
19043 * libio/iofopncook.c: Remove unnecessary forward declarations.
19044 * libio/iolibio.h: Correct outdated commentary.
19045 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
19046 * stdio-common/fxprintf.c (__fxprintf_nocancel):
19047 Remove unnecessary casts.
19048 * stdio-common/getline.c: Use _IO_getdelim directly.
19049 Don't redefine ssize_t.
19050 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
19051 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
19052 Remove outdated comments.
19053 * stdio-common/vfscanf.c: Don't redefine va_list.
19055 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
19056 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
19057 Remove preprocessor conditionals on _LIBC and __USE_GNU,
19058 which are always true, and __cplusplus, which is always false.
19060 2018-02-21 Joseph Myers <joseph@codesourcery.com>
19064 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
19065 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
19066 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
19067 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
19069 [!_ISOMAC] (putc_unlocked): Likewise.
19070 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
19071 define inline if [__USE_EXTERN_INLINES].
19072 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
19077 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
19078 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
19079 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
19080 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
19081 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
19083 * time/tzfile.c (__tzfile_read): Likewise.
19085 2018-02-21 Mike FABIAN <mfabian@redhat.com>
19088 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
19090 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
19092 * io/fcntl.h: Fix a typo in a comment.
19094 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
19097 * include/features.h: Add _ISOC11_SOURCE to test for whether to
19098 define _DEFAULT_SOURCE.
19099 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
19101 2018-02-21 Florian Weimer <fweimer@redhat.com>
19104 * elf/cache.c (save_cache): Call fsync on temporary file before
19106 (save_aux_cache): Call fdatasync on temporary file before renaming
19109 2018-02-21 Florian Weimer <fweimer@redhat.com>
19112 * include/caller.h: Remove file.
19113 * elf/dl-caller.c: Likewise.
19114 * elf/Makefile (dl-routines): Remove dl-caller.
19115 (shared-only-routines): Do not add dl-caller.
19116 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
19118 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
19120 (dl_open_worker): Do not call __check_caller.
19121 (_dl_open): Do not set caller_dl_open member.
19122 * elf/rtld.c (_rtld_global_ro): Do not initialize
19123 _dl_check_caller member.
19124 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
19125 _dl_check_caller member.
19126 (_dl_check_caller): Remove declaration.
19127 * sysdeps/unix/sysv/linux/dl-execstack.c
19128 (_dl_make_stack_executable): Do not call __check_caller.
19130 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19132 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
19133 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
19135 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
19137 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
19140 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
19143 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
19144 of 199606L, 200112L, and 200809L.
19145 (_XOPEN_SOURCE): Document special values of 600 and 700.
19146 (_ISOC11_SOURCE): Document macro.
19147 (_ATFILE_SOURCE): Likewise.
19148 (_FORTIFY_SOURCE): Likewise.
19150 2018-02-19 Joseph Myers <joseph@codesourcery.com>
19154 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
19155 and define as weak alias of __ferror_unlocked. Use
19157 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
19159 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
19160 function if [__USE_EXTERN_INLINES].
19161 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
19164 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
19167 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
19169 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19172 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
19173 the GLIBC_2.1 version.
19175 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19178 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
19179 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
19180 intl/tst-gettext-de.po from po/de.po by removing the
19181 POT-Creation-Date line.
19182 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
19184 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
19187 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19189 * mach/Makefile (headers): Add mach/param.h.
19190 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
19191 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
19192 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
19193 (__ptsname_r): Move implementation to...
19194 (__ptsname_internal): ... new function. Add filling the STP
19197 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
19199 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
19202 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
19204 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
19207 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19209 * nptl/Makefile (tst-mutex8-ENV): Delete.
19210 * nptl/tst-mutex8.c (check_type):
19211 Add runtime check if mutex will be elided.
19213 2018-02-15 Joseph Myers <joseph@codesourcery.com>
19217 * manual/install.texi (Configuring and compiling): Describe
19218 passing CC and CFLAGS on configure command line, not as
19219 environment variables. Use @code markup on those variables.
19220 Specify what options go in CC and what go in CFLAGS. Note the
19221 requirement to compile with optimization.
19222 * INSTALL: Regenerated.
19225 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
19226 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
19227 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
19228 __sigprocmask instead of sigprocmask.
19229 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
19231 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
19232 __sigsetjmp and sigprocmask.
19235 * include/argz.h (argz_next): Use libc_hidden_proto.
19236 (__argz_next): Likewise.
19237 * string-argz-next.c (__argz_next): Use libc_hidden_def.
19238 (argz_next): Use libc_hidden_weak.
19241 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
19243 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
19247 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
19249 * libio/iofputs.c (fputs): Use libc_hidden_weak.
19253 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
19254 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
19255 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
19256 (__feof_unlocked): New declaration, and inline function if
19257 [__USE_EXTERN_INLINES].
19258 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
19259 instead of feof_unlocked.
19260 * intl/localealias.c [_LIBC] (FEOF): Likewise.
19261 * nss/nsswitch.c (nss_parse_file): Likewise.
19262 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
19264 * time/getdate.c (__getdate_r): Likewise.
19265 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
19266 Define as macro to call __feof_unlocked.
19268 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19270 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
19272 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19274 * math/Makefile: Remove mpexp.c and mplog.c
19275 * sysdeps/i386/fpu/mpexp.c: Delete file.
19276 * sysdeps/i386/fpu/mplog.c: Likewise.
19277 * sysdeps/ia64/fpu/mpexp.c: Likewise.
19278 * sysdeps/ia64/fpu/mplog.c: Likewise.
19279 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
19280 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
19281 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
19282 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19283 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
19284 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
19285 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
19286 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
19287 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
19288 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19289 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
19290 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
19291 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19292 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
19293 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
19294 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19296 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
19298 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19300 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19302 * sysdeps/sh/libm-test-ulps: Update.
19304 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19306 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
19309 2018-02-12 Zack Weinberg <zackw@panix.com>
19312 * posix/sys/types.h: Don't include sys/sysmacros.h.
19313 * misc/sys/sysmacros.h: Remove the conditional deprecation
19314 warnings for the macros defined by this header.
19316 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19318 * manual/probes.texi: Remove slowexp probes.
19319 * math/Makefile: Remove slowexp.
19320 * sysdeps/generic/math_private.h (__slowexp): Remove.
19321 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
19322 document error bounds.
19323 * sysdeps/i386/fpu/slowexp.c: Remove.
19324 * sysdeps/ia64/fpu/slowexp.c: Remove.
19325 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
19326 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
19327 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
19328 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
19329 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
19330 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
19331 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
19332 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
19333 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
19334 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
19335 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
19337 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
19340 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
19341 * benchtests/pow-inputs: Update comment for slow path cases.
19342 * manual/probes.texi (slowpow_p10): Delete removed probe.
19343 (slowpow_p10): Likewise.
19344 * math/Makefile: Remove halfulp.c and slowpow.c.
19345 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
19346 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
19347 (__halfulp): Remove.
19348 (__slowpow): Remove.
19349 * sysdeps/i386/fpu/halfulp.c: Delete file.
19350 * sysdeps/i386/fpu/slowpow.c: Likewise.
19351 * sysdeps/ia64/fpu/halfulp.c: Likewise.
19352 * sysdeps/ia64/fpu/slowpow.c: Likewise.
19353 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
19354 improve comments and add error analysis.
19355 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
19356 (power1): Remove function:
19357 (log1): Remove error argument, add error analysis.
19358 (my_log2): Remove function.
19359 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
19360 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19361 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
19362 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
19363 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
19364 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
19365 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
19366 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
19367 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
19368 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
19369 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
19370 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19371 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
19372 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19374 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
19376 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
19377 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
19379 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
19382 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
19383 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
19384 and PTRACE_SETHBPREGS.
19386 2018-02-10 Zack Weinberg <zackw@panix.com>
19389 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
19391 * malloc/tst-malloc-stats-cancellation.c: New test case.
19392 * malloc/Makefile: Add new test case.
19394 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
19396 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
19398 2018-02-10 Joseph Myers <joseph@codesourcery.com>
19400 * math/Makefile (libm-narrow-fns): Add add.
19401 (libm-test-funcs-narrow): Likewise.
19402 * math/Versions (GLIBC_2.28): Add narrowing add functions.
19403 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
19404 * math/gen-auto-libm-tests.c (test_functions): Add add.
19405 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
19406 (NARROW_ADD_ROUND_TO_ODD): Likewise.
19407 (NARROW_ADD_TRIVIAL): Likewise.
19408 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
19410 (__daddl): Likewise.
19411 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
19413 (CFLAGS-nldbl-dadd.c): New variable.
19414 (CFLAGS-nldbl-fadd.c): Likewise.
19415 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19417 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
19419 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
19420 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
19421 * math/auto-libm-test-in: Add tests of add.
19422 * math/auto-libm-test-out-narrow-add: New generated file.
19423 * math/libm-test-narrow-add.inc: New file.
19424 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
19425 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
19426 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
19427 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
19428 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
19429 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
19430 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
19431 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
19432 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
19433 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
19434 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
19435 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
19436 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
19437 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
19438 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
19439 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
19440 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
19441 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
19442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19443 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19444 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19445 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19446 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19447 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19448 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19449 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19450 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19451 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19452 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19453 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19454 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19455 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19460 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19461 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19462 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19463 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19464 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19465 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19466 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19467 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19468 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19469 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19471 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
19472 (f128-pairs): New variable.
19473 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
19474 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
19476 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
19477 Also make tests add $(f128-loader-link) to gnulib-tests.
19479 2018-02-09 DJ Delorie <dj@redhat.com>
19482 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
19483 64-bit ELF type for 64-bit ELF objects.
19485 2018-02-09 Joseph Myers <joseph@codesourcery.com>
19487 * math/libm-test-driver.c (snan_tests_arg): New variable.
19488 * math/libm-test-support.h (snan_tests_arg): New declaration.
19489 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
19491 * math/Makefile (test-type-pairs): New variable.
19492 (test-type-pairs-f64xf128-yes): Likewise.
19493 (tests): Add test-narrow-macros.
19494 (libm-test-funcs-narrow): New variable.
19495 (libm-test-c-narrow): Likewise.
19496 (generated): Add $(libm-test-c-narrow).
19497 (libm-tests-base-narrow): New variable.
19498 (libm-tests-narrow): Likewise.
19499 (libm-tests): Add $(libm-tests-narrow).
19500 (libm-tests-for-type): Handle $(libm-tests-narrow).
19501 (libm-test-c-narrow-obj): New variable.
19502 ($(libm-test-c-narrow-obj)): New rule.
19503 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
19504 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
19505 $(o-iterator) to set dependencies and CFLAGS.
19506 * math/gen-auto-libm-tests.c: Document use for narrowing
19508 (output_for_one_input_case): Take argument NARROW.
19509 (generate_output): Likewise. Update call to
19510 output_for_one_input_case.
19511 (main): Take --narrow option. Update call to generate_output.
19512 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
19513 (apply_lit): Update call to _apply_lit.
19514 (apply_arglit): New function.
19515 (parse_args): Handle "a" arguments.
19516 (parse_auto_input): Handle format names using ":".
19517 * math/README.libm-test: Document "a" parameter type.
19518 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
19519 (ARG_TYPE_TRUE_MIN): Likewise.
19520 (ARG_TYPE_MAX): Likwise.
19521 (ARG_MIN_EXP): Likewise.
19522 (ARG_MAX_EXP): Likewise.
19523 (ARG_MANT_DIG): Likewise.
19524 (TEST_COND_arg_ibm128): Likewise.
19525 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
19526 (TEST_COND_arg_fmt): New macro.
19527 (init_max_error): Update prototype.
19528 * math/libm-test-support.c (test_ibm128): New variable.
19529 (init_max_error): Take argument testing_ibm128 and set test_ibm128
19530 instead of using [TEST_COND_ibm128] conditional.
19531 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
19532 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
19533 [TEST_NARROW] (TEST_MSG): New definition.
19534 (arg_plus_zero): New macro.
19535 (arg_minus_zero): Likewise.
19536 (arg_plus_infty): Likewise.
19537 (arg_minus_infty): Likewise.
19538 (arg_qnan_value_pl): Likewise.
19539 (arg_qnan_value): Likewise.
19540 (arg_snan_value_pl): Likewise.
19541 (arg_snan_value): Likewise.
19542 (arg_max_value): Likewise.
19543 (arg_min_value): Likewise.
19544 (arg_min_subnorm_value): Likewise.
19545 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
19546 (RUN_TEST_LOOP_aa_f): New macro.
19547 (TEST_SUFF): New macro.
19548 (TEST_SUFF_STR): Likewise.
19549 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
19550 (TEST_COND_any_ibm128): New macro.
19551 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
19552 this_func. Update call to init_max_error.
19553 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
19554 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
19555 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
19556 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
19557 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
19558 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
19559 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
19560 * math/test-math-scalar.h (TEST_NARROW): Likewise.
19561 * math/test-math-vector.h (TEST_NARROW): Likewise.
19562 * math/test-arg-double.h: New file.
19563 * math/test-arg-float128.h: Likewise.
19564 * math/test-arg-float32x.h: Likewise.
19565 * math/test-arg-float64.h: Likewise.
19566 * math/test-arg-float64x.h: Likewise.
19567 * math/test-arg-ldouble.h: Likewise.
19568 * math/test-math-narrow.h: Likewise.
19569 * math/test-narrow-macros.c: Likewise.
19570 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
19571 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
19572 test-narrow-macros-ldbl-64.
19573 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
19575 * math/bits/mathcalls-narrow.h: New file.
19576 * include/bits/mathcalls-narrow.h: Likewise.
19577 * math/math-narrow.h: Likewise.
19578 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
19579 (__MATHCALL_NARROW_ARGS_2): Likewise.
19580 (__MATHCALL_NARROW_ARGS_3): Likewise.
19581 (__MATHCALL_NARROW_NORMAL): Likewise.
19582 (__MATHCALL_NARROW_REDIR): Likewise.
19583 (__MATHCALL_NARROW): Likewise.
19584 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
19585 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
19587 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19588 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
19589 (libm-narrow-fns): New variable.
19590 (libm-narrow-types-basic): Likewise.
19591 (libm-narrow-types-ldouble-yes): Likewise.
19592 (libm-narrow-types-float128-yes): Likewise.
19593 (libm-narrow-types-float128-alias-yes): Likewise.
19594 (libm-narrow-types): Likewise.
19595 (libm-routines): Add narrowing functions.
19596 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
19597 (libc_feholdexcept_setroundf128): New macro.
19598 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
19599 * sysdeps/ieee754/float128/float128_private.h: Include
19600 <math/math-narrow.h>.
19601 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
19602 Undefine and redefine.
19603 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
19604 (libm_alias_float_ldouble): Undefine and redefine.
19605 (libm_alias_double_ldouble): Likewise.
19607 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
19609 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
19611 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
19614 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
19616 * manual/creature.texi: Convert references to gcc.info to gcc.
19617 * manual/stdio.texi: Likewise.
19618 * manual/string.texi: Likewise.
19620 2018-02-07 Joseph Myers <joseph@codesourcery.com>
19623 * posix/bits/types.h (__int_least8_t): New typedef.
19624 (__uint_least8_t): Likewise.
19625 (__int_least16_t): Likewise.
19626 (__uint_least16_t): Likewise.
19627 (__int_least32_t): Likewise.
19628 (__uint_least32_t): Likewise.
19629 (__int_least64_t): Likewise.
19630 (__uint_least64_t): Likewise.
19631 * sysdeps/generic/stdint.h (int_least8_t): Define using
19633 (int_least16_t): Define using __int_least16_t.
19634 (int_least32_t): Define using __int_least32_t.
19635 (int_least64_t): Define using __int_least64_t.
19636 (uint_least8_t): Define using __uint_least8_t.
19637 (uint_least16_t): Define using __uint_least16_t.
19638 (uint_least32_t): Define using __uint_least32_t.
19639 (uint_least64_t): Define using __uint_least64_t.
19640 * wcsmbs/uchar.h: Include <bits/types.h>.
19641 (char16_t): Define using __uint_least16_t conditional only on
19643 (char32_t): Define using __uint_least32_t conditional only on
19645 * wcsmbs/test-char-types.c: New file.
19646 * wcsmbs/Makefile (tests): Add test-char-types.
19648 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
19651 2018-02-07 Zack Weinberg <zackw@panix.com>
19653 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
19654 Delete all contents except for definitions of _G_HAVE_MMAP and
19655 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
19656 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
19657 sysdeps/unix/sysv/linux/_G_config.h. Make same content
19660 * libio/libio.h: Don't include bits/_G_config.h here.
19661 Include stddef.h with __need_wchar_t defined. Include
19662 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
19663 Define _IO_iconv_t here, directly.
19664 Don't define _IO_HAVE_ST_BLKSIZE.
19665 * libio/libioP.h: Include _G_config.h here. Move include of
19666 shlib-compat.h up with rest of includes. Simplify conditionals
19667 controlling definition of _IO_JUMPS_OFFSET.
19669 * csu/init.c: Remove always-true #if around entire file.
19670 Don't include stdio.h. Set _IO_stdin_used to hardwired
19671 constant 0x20001, and update commentary.
19672 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
19673 Replace all uses of _G_va_list with __gnuc_va_list.
19674 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
19675 instead of #if _IO_HAVE_ST_BLKSIZE.
19676 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
19677 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
19680 * libio/bits/libio.h: Move back to libio/libio.h and adjust
19681 multiple-include guard to match.
19682 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
19684 Remove preprocessor conditionals that are always true and/or
19685 redundant to other preprocessor conditionals in the same nest.
19686 Include shlib-compat.h unconditionally.
19687 Error out if _LIBC is not defined, or if _ISOMAC is defined,
19688 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
19689 defined after including stdio.h.
19690 Use __BEGIN_DECLS/__END_DECLS.
19692 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
19693 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
19694 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
19696 2018-02-07 Zack Weinberg <zackw@panix.com>
19698 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
19699 New single-type headers split from _G_config.h.
19700 * libio/bits/types/cookie_io_functions_t.h
19701 * libio/bits/types/struct_FILE.h
19702 New single-type headers split from libio.h.
19704 * libio/Makefile: Install the above new headers. Don't install
19705 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
19707 * libio/_G_config.h, libio/libio.h: Delete file.
19709 * libio/bits/libio.h: Remove improper-inclusion guard.
19710 Include stdio.h and don't repeat anything that it does.
19711 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
19712 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
19713 __io_read_fn as cookie_read_function_t,
19714 __io_write_fn as cookie_write_function_t,
19715 __io_seek_fn as cookie_seek_function_t,
19716 __io_close_fn as cookie_close_function_t,
19717 and _IO_cookie_io_functions_t as cookie_io_functions_t.
19718 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
19719 here, in the "compatibility defines" section. Remove an #if 0
19720 block. Use the "body" macros from bits/types/struct_FILE.h to
19721 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
19722 and _IO_ferror_unlocked.
19723 Move prototypes of __uflow and __overflow...
19725 * libio/stdio.h: ...here. Don't include bits/libio.h.
19726 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
19727 directly from stdarg.h. Include bits/types/__fpos_t.h,
19728 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
19729 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
19730 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
19731 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
19732 cookie_io_functions_t, not _IO_cookie_io_functions_t;
19733 __ssize_t, not _IO_ssize_t. Unconditionally define
19734 BUFSIZ as 8192 and EOF as (-1).
19736 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
19737 macros from bits/types/struct_FILE.h instead of _IO_* macros
19738 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
19739 instead of _IO_ssize_t.
19740 * libio/bits/stdio2.h: Similarly.
19742 * libio/iolibio.h: Add multiple-include guard.
19743 Include bits/libio.h after stdio.h.
19744 * libio/libioP.h: Add multiple-include guard.
19745 Include stdio.h and bits/libio.h before iolibio.h.
19747 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
19748 * include/bits/types/cookie_io_functions_t.h
19749 * include/bits/types/struct_FILE.h: New wrappers.
19751 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
19752 Get definitions of _G_fpos_t and _G_fpos64_t from
19753 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
19754 respectively. Remove improper-inclusion guards.
19756 * conform/data/stdio.h-data: Update expectations of va_list.
19757 * scripts/check-installed-headers.sh: Remove special case for
19758 libio.h and _G_config.h.
19760 2018-02-07 Joseph Myers <joseph@codesourcery.com>
19764 * include/sys/sysmacros.h [!_ISOMAC]
19765 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
19766 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
19767 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
19768 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
19770 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
19771 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
19773 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
19774 Undefine and redefine to add use __gnu_dev_ prefix.
19775 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
19777 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
19778 and define as hidden inline function.
19779 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
19781 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
19783 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
19784 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
19785 (gnu_dev_minor): Likewise.
19786 (gnu_dev_makedev): Likewise.
19787 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
19789 * posix/wordexp.c (exec_comm_child): Likewise.
19790 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
19791 instead of minor and __gnu_dev_major instead of major.
19792 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
19793 __gnu_dev_major instead of major.
19794 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
19795 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
19796 instead of gnu_dev_minor.
19797 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
19798 (SLAVE_P): Likewise.
19799 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
19800 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
19804 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
19806 * locale/weightwc.h (findidx): Likewise.
19808 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
19810 * manual/probes.texi (slowlog): Delete documentation of removed probe.
19811 (slowlog_inexact): Likewise
19812 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
19813 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
19815 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
19818 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
19819 missing second underscore to parameter name.
19821 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19827 * bits/byteswap.h: Update file comment. Do not include
19828 <bits/byteswap-16.h>.
19829 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
19831 (__bswap_16): Define as inline function.
19832 (__bswap_constant_32): Reformat definition.
19833 (__bswap_32): Always define as inline function, not macro, using
19834 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
19835 otherwise __bswap_constant_32.
19836 (__bswap_constant_64): Reformat definition. Do not use
19837 __extension__ here.
19838 (__bswap_64): Always define as inline function, not macro. Use
19839 __extension__ on function definition. Use __builtin_bswap64 if
19840 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
19841 * string/test-endian-file-scope.c: New file.
19842 * string/test-endian-sign-conversion.c: Likewise.
19843 * string/Makefile (headers): Remove bits/byteswap-16.h.
19844 (tests): Add test-endian-file-scope and
19845 test-endian-sign-conversion.
19846 (CFLAGS-test-endian-sign-conversion.c): New variable.
19847 * bits/byteswap-16.h: Remove file.
19848 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
19849 * sysdeps/ia64/bits/byteswap.h: Likewise.
19850 * sysdeps/m68k/bits/byteswap.h: Likewise.
19851 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19852 * sysdeps/s390/bits/byteswap.h: Likewise.
19853 * sysdeps/tile/bits/byteswap.h: Likewise.
19854 * sysdeps/x86/bits/byteswap-16.h: Likewise.
19855 * sysdeps/x86/bits/byteswap.h: Likewise.
19858 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
19859 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
19860 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
19861 199901L] (__restrict): Define to restrict.
19864 * string/testcopy.c: Include <support/support.h>. Do not include
19865 <malloc.h>. Use <support/test-driver.c>.
19866 (main): Rename to do_test. Make static. Use xmalloc instead of
19870 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
19871 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
19872 (SSIZE_MAX): Define to INT_MAX.
19873 * posix/test-ssize-max.c: New file.
19874 * posix/Makefile (tests): Add test-ssize-max.
19877 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
19878 <support/support.h>. Do not include <malloc.h>.
19879 (query_auxv): Use xmalloc instead of malloc.
19882 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
19883 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
19886 2018-02-06 Florian Weimer <fweimer@redhat.com>
19889 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19890 Use scratch_buffer instead of extend_alloca.
19892 2018-02-06 Zack Weinberg <zackw@panix.com>
19894 * libio/stdio.h: Don't define getc or putc as macros.
19895 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
19896 not _IO_getc and _IO_putc.
19898 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
19899 * stdio-common/tstgetln.c: Don't redefine ssize_t.
19901 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19903 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
19904 (TCP_FASTOPEN_NO_COOKIE): Likewise.
19906 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
19909 * elf/elf.h (NT_PRFPREG): New macro.
19910 (NT_S390_VXRS_LOW): Likewise.
19911 (NT_S390_VXRS_HIGH): Likewise.
19912 (NT_S390_GS_CB): Likewise.
19913 (NT_S390_GS_BC): Likewise.
19914 (NT_S390_RI_CB): Likewise.
19916 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
19917 (MAP_SYNC): New macro.
19918 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
19920 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
19921 (MAP_SYNC): Likewise.
19922 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
19923 (MAP_SYNC): Likewise.
19924 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
19925 (MAP_SYNC): Likewise.
19926 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
19927 (MAP_SYNC): Likewise.
19928 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
19929 (MAP_SYNC): Likewise.
19930 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
19931 (MAP_SYNC): Likewise.
19932 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
19934 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
19937 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
19938 (MAP_SHARED_VALIDATE): New macro.
19939 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
19940 (MAP_SHARED_VALIDATE): Likewise.
19942 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19944 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
19945 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
19946 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19948 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19950 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
19951 (DT_NUM): Updated to 35.
19953 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19955 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
19956 __builtin_expect with __glibc_likely and __glibc_unlikely.
19957 (elf_machine_rela): Likewise.
19958 (elf_machine_lazy_rel): Likewise.
19960 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19962 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
19963 __builtin_expect with __glibc_likely and __glibc_unlikely.
19964 (elf_machine_lazy_rel): Likewise.
19966 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19969 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
19971 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
19973 2018-02-05 Andreas Schwab <schwab@suse.de>
19976 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
19979 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19981 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
19982 not check against PTHREAD_STACK_MIN.
19984 2018-02-02 Sean McKean <smckean83@gmail.com>
19987 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
19989 2018-02-02 Florian Weimer <fweimer@redhat.com>
19992 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
19993 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
19994 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
19995 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
19996 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
19997 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
19998 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
19999 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
20000 * manual/llio.texi (Scatter-Gather): Mention offset -1.
20001 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
20002 * misc/tst-preadvwritev2.c (do_test): Call it.
20003 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
20005 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
20007 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
20009 * benchtests/bench-memcmp.c: Print json instead of plain text.
20011 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
20014 2018-02-01 Joseph Myers <joseph@codesourcery.com>
20016 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20018 (s390_sthyi): New syscall.
20020 * sysdeps/generic/ldbl-classify-compat.h: New file.
20021 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
20022 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
20023 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
20024 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
20025 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
20026 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
20027 * sysdeps/ieee754/dbl-64/s_finite.c: Include
20028 <ldbl-classify-compat.h>.
20029 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20030 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
20031 <ldbl-classify-compat.h>.
20032 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20033 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
20034 <ldbl-classify-compat.h>.
20035 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20036 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
20037 <ldbl-classify-compat.h>.
20038 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20039 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
20040 <ldbl-classify-compat.h>.
20041 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
20043 <ldbl-classify-compat.h>.
20044 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20045 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
20046 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20047 * sysdeps/m68k/coldfire/math_private.h: Remove file.
20048 * sysdeps/microblaze/math_private.h: Likewise.
20049 * sysdeps/nios2/math_private.h: Likewise.
20050 * sysdeps/sh/math_private.h: Likewise.
20052 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
20053 * sysdeps/m68k/coldfire/math_private.h: ... here.
20054 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
20055 * sysdeps/tile/math_private.h: Likewise.
20056 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
20058 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
20061 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
20063 (libc_fetestexcept): Likewise.
20064 (libc_feupdateenv_test): Likewise.
20065 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
20066 (libc_fetestexcept): Likewise.
20067 (libc_feupdateenv_test): Likewise.
20068 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
20069 (libc_fetestexcept): Likewise.
20070 (libc_feupdateenv_test): Likewise.
20071 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
20072 (libc_fetestexcept): Likewise.
20073 (libc_feupdateenv_test): Likewise.
20075 * sysdeps/generic/math_private.h
20076 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
20077 New inline function.
20078 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
20081 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
20082 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
20083 * sysdeps/generic/math_private.h
20084 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
20086 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
20088 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
20090 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
20092 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
20094 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
20096 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
20097 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
20098 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
20099 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
20100 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
20101 (__fegetenv): Likewise.
20102 (fesetenv): Likewise.
20103 (__fesetenv): Likewise.
20104 (feupdateenv): Likewise.
20105 (__feupdateenv): Likewise.
20106 (fegetround): Likewise.
20107 (__fegetround): Likewise.
20108 (fesetround): Likewise.
20109 (__fesetround): Likewise.
20111 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
20112 (feraiseexcept): New macro.
20113 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
20114 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
20116 (__feraiseexcept): Likewise.
20117 (feclearexcept): Likewise.
20118 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
20119 (__feraiseexcept): Likewise.
20120 (feclearexcept): Likewise.
20121 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
20122 (__feraiseexcept): Likewise.
20123 (feclearexcept): Likewise.
20124 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
20125 (__feraiseexcept): Likewise.
20126 (feclearexcept): Likewise.
20127 (fetestexcept): Likewise.
20129 * sysdeps/m68k/coldfire/math-tests.h: New file.
20131 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
20132 * sysdeps/m68k/bits/fenv.h: ... here.
20133 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
20135 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
20137 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
20139 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
20141 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
20143 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
20145 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
20146 (__FE_UNDEFINED): New enum constant.
20147 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
20149 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
20151 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
20153 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
20154 to match generic bits/fenv.h.
20155 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
20158 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
20160 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
20161 * soft-fp/half.h (union _FP_UNION_H): Likewise.
20162 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
20163 * soft-fp/single.h (union _FP_UNION_S): Likewise.
20165 2018-02-01 Carlos O'Donell <carlos@redhat.com>
20166 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
20167 Joseph Myers <joseph@codesourcery.com>
20170 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
20171 (__log1p): Disable -Wmaybe-uninitialized for -Os around
20172 computation using c.
20173 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
20174 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
20175 computation using c.
20177 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20179 * version.h (RELEASE): Set to "development".
20180 (VERSION): Set to "2.27.9000".
20181 * NEWS (2.28): New section.
20183 * version.h (RELEASE): Set to "stable".
20184 (VERSION): Set to "2.27".
20185 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
20187 * NEWS: Add the list of bugs fixed in 2.27.
20189 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20191 * stdlib/test-atexit-race-common.c (do_test): Check stack size
20192 against PTHREAD_STACK_MIN.
20194 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20196 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
20198 (Rafal Luzynski, Andreas Schwab): Update.
20200 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
20203 * NEWS: List the languages which actually use the alternative
20204 months feature in this release. Also explain that "alt_mon" and
20205 "ab_alt_mon" are optional.
20207 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
20210 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
20212 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
20214 * manual/install.texi (Tools for Compilation): Update the newest
20215 versions of gcc, binutils, texinfo, gawk, bison, and sed.
20216 * INSTALL: Regenerated.
20218 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20220 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
20221 instead of __builtin_expect.
20223 2018-01-30 Florian Weimer <fweimer@redhat.com>
20225 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
20227 * nss/tst-nss-getpwent.c (do_test): Likewise.
20229 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
20232 * localedata/locales/hr_HR (mon): Rename to...
20234 (mon): Import from CLDR (genitive case).
20235 (d_t_fmt): Update the comment.
20237 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
20239 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
20240 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
20241 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
20243 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20245 * mach/Versions: Fix version when __mach_host_self_ was added.
20246 * hurd/Versions: Fix version when _hurd_exec_paths was added.
20247 * sysdeps/mach/hurd/i386/ld.abilist: New file.
20248 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
20249 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
20250 * sysdeps/mach/hurd/i386/libc.abilist: New file.
20251 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
20252 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
20253 * sysdeps/mach/hurd/i386/libm.abilist: New file.
20254 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
20255 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
20256 * sysdeps/mach/hurd/i386/librt.abilist: New file.
20257 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
20258 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
20259 || to respect codestyle.
20260 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
20261 (do_test_bz20181): Rename accordingly.
20262 * malloc/malloc.c: Include <assert.h>.
20263 (assert): Do not define.
20264 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
20265 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
20266 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
20267 * sysdeps/mach/hurd/hp-timing.h: New file.
20268 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
20270 2018-01-29 Darius Rad <darius@bluespec.com>
20272 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
20274 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
20276 * sysdeps/init_array/crti.S (.section .init_array): Add
20277 PREINIT_FUNCTION when defined.
20278 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
20279 * config.h.in: Regenerate.
20280 * manual/platform.texi: Add RISC-V documenation for
20281 __riscv_flush_icache.
20282 * sysdeps/riscv/__longjmp.S: New file.
20283 * sysdeps/riscv/backtrace.c: Likewise.
20284 * sysdeps/riscv/bits/endian.h: Likewise.
20285 * sysdeps/riscv/bits/setjmp.h: Likewise.
20286 * sysdeps/riscv/bits/wordsize.h: Likewise.
20287 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
20288 * sysdeps/riscv/bsd-setjmp.c: Likewise.
20289 * sysdeps/riscv/dl-trampoline.S: Likewise.
20290 * sysdeps/riscv/gccframe.h: Likewise.
20291 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
20292 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
20293 * sysdeps/riscv/machine-gmon.h: Likewise.
20294 * sysdeps/riscv/memusage.h: Likewise.
20295 * sysdeps/riscv/setjmp.S: Likewise.
20296 * sysdeps/riscv/sys/asm.h: Likewise.
20297 * sysdeps/riscv/tls-macros.h: Likewise.
20298 * sysdeps/riscv/dl-tls.h: New file.
20299 * sysdeps/riscv/libc-tls.c: Likewise.
20300 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
20301 * sysdeps/riscv/nptl/tls.h: Likewise.
20302 * sysdeps/riscv/stackinfo.h: Likewise.
20303 * sysdeps/riscv/bits/fenv.h: New file.
20304 * sysdeps/riscv/e_sqrtl.c: Likewise.
20305 * sysdeps/riscv/fpu_control.h: Likewise.
20306 * sysdeps/riscv/math-tests.h: Likewise.
20307 * sysdeps/riscv/nofpu/Implies: Likewise.
20308 * sysdeps/riscv/sfp-machine.h: Likewise.
20309 * sysdeps/riscv/tininess.h: Likewise.
20310 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
20311 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
20312 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
20313 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
20314 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
20315 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
20316 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
20317 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
20318 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
20319 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
20320 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
20321 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
20322 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
20323 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
20324 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
20325 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
20326 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
20327 * sysdeps/riscv/rvd/s_finite.c: Likewise.
20328 * sysdeps/riscv/rvd/s_fma.c: Likewise.
20329 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
20330 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
20331 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
20332 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
20333 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
20334 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
20335 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
20336 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
20337 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
20338 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
20339 * sysdeps/riscv/rvf/fegetround.c: Likewise.
20340 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
20341 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
20342 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
20343 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
20344 * sysdeps/riscv/rvf/fesetround.c: Likewise.
20345 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
20346 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
20347 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
20348 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
20349 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
20350 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
20351 * sysdeps/riscv/rvf/math_private.h: Likewise.
20352 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
20353 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
20354 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
20355 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
20356 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
20357 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
20358 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
20359 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
20360 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
20361 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
20362 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
20363 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
20364 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
20365 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
20366 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
20367 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
20368 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
20369 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
20370 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
20371 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
20372 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
20373 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20374 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
20375 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
20376 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
20377 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
20378 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
20379 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
20380 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
20381 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
20382 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
20383 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
20384 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
20385 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
20386 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
20387 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
20388 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
20389 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
20390 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
20391 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
20392 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
20393 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
20394 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
20395 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
20396 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
20397 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
20398 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
20399 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
20400 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
20401 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
20402 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
20403 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
20404 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
20405 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
20406 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
20407 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
20408 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
20409 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
20410 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
20411 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
20412 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
20413 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
20414 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
20415 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
20416 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20417 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
20418 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
20419 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
20420 * sysdeps/riscv/Implies: New file.
20421 * sysdeps/riscv/Makefile: Likewise.
20422 * sysdeps/riscv/configure: Likewise.
20423 * sysdeps/riscv/configure.ac: Likewise.
20424 * sysdeps/riscv/nptl/Makefile: Likewise.
20425 * sysdeps/riscv/preconfigure: Likewise.
20426 * sysdeps/riscv/rv64/Implies-after: Likewise.
20427 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
20428 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
20429 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
20430 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
20431 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
20432 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
20433 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
20434 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
20435 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
20436 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
20437 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
20438 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
20439 (Config): Likewise.
20441 2018-01-29 Florian Weimer <fweimer@redhat.com>
20444 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
20445 libnsl_hidden_proto.
20446 * include/rpcsvc/yp.h (yp_xdrall): Declare with
20447 libnsl_hidden_proto.
20448 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
20449 * nis/Makefile (libnsl-routines): Add nss-default only for
20450 build-obsolete-nsl.
20451 * nis/nis_defaults.c (__nis_default_ttl): Add
20452 libnsl_hidden_nolink_def.
20453 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
20455 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
20456 * nis/ypclnt.c (yp_maplist): Likewise.
20458 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
20460 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20461 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
20463 2018-01-29 Joseph Myers <joseph@codesourcery.com>
20465 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
20466 clean -dxfq for git updates when replacing sources.
20468 * scripts/build-many-glibcs.py (Config.build_gcc): Use
20469 --disable-libcilkrts unconditionally, not just for the final GCC
20472 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20475 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20478 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
20481 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20484 * localedata/locales/be_BY (mon): Rename to...
20485 (alt_mon): This, then synchronize with CLDR (nominative case).
20486 (abmon): Rename to...
20487 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20488 (mon): Import from CLDR (genitive case).
20490 * localedata/locales/be_BY@latin (mon): Rename to...
20492 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
20494 * localedata/locales/be_BY@latin (lang_name): Reworded to
20495 "biełaruskaja mova".
20497 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20500 * localedata/locales/el_CY (mon): Renamed to...
20502 (mon): Import from CLDR (genitive case).
20503 * localedata/locales/el_GR: Likewise.
20505 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20508 * localedata/locales/ru_RU (mon): Rename to...
20510 (abmon): Rename to...
20511 (ab_alt_mon): This.
20512 (mon): Import from CLDR (genitive case).
20513 (abmon): Copy from the old content except the 5th month which is
20514 now in the genitive case, even when abbreviated.
20515 * localedata/locales/ru_UA: Likewise.
20516 * time/tst-strptime.c (day_tests): Add an actual example of
20517 a difference between %b and %Ob in Russian.
20519 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20521 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
20522 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
20524 * resolv/res-close.c: Include <stdlib.h>.
20525 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
20526 <sys/wait.h>, <time.h>, <sys/uio.h>.
20527 (NOT_CANCEL_H): Add inclusion guard.
20528 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
20529 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
20530 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
20532 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
20533 vm_address_t * to ElfW(Addr) * for dl_main parameter.
20534 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
20536 * sysdeps/pthread/timer_create.c (timer_create): Do not use
20537 timer_ptr2id to cast struct timer_node * to void *.
20538 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
20539 --disable-libcilkrts to gcc configure.
20540 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
20541 and make them the default for now.
20542 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
20543 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
20544 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
20545 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
20546 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
20548 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
20549 __task_terminate would ever return successfully.
20550 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
20552 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
20553 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
20554 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
20555 critical section to make code simpler and avoid warning.
20556 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
20557 critical section to make code simpler and avoid warning.
20558 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
20559 const char * instead of char *.
20560 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
20561 __hurd_file_name_split, hurd_file_name_split,
20562 __hurd_directory_name_split, hurd_directory_name_split,
20563 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
20564 hurd_file_name_path_lookup): Make lookup function parameter take a
20565 const char *name instead of char *name.
20566 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
20567 __hurd_directory_name_split): Likewise.
20568 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
20569 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
20570 * sysdeps/mach/hurd/check_native.c: New file.
20571 * sysdeps/mach/hurd/check_pf.c: New file.
20572 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
20573 (__freeifaddrs): Define macro to freeifaddrs.
20574 * sysdeps/mach/hurd/libhurduser.abilist: New file.
20575 * sysdeps/mach/libmachuser.abilist: New file.
20576 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
20577 (do_test_bz20181): Rename accordingly.
20578 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
20579 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
20581 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
20582 version only if __USE_EXTERN_INLINES is defined.
20583 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
20584 __hurd_sockfail): Likewise.
20585 (_hurd_fd_get): Always declare functions, and provide inline versions
20586 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
20587 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
20588 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
20589 _hurd_port_set): Always declare functions, and provide inline versions
20590 only if __USE_EXTERN_INLINES and _LIBC are defined and
20592 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
20593 _hurd_critical_section_unlock): Likewise.
20594 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
20595 * __hurd_threadvar_location): Likewise.
20596 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
20597 _hurd_userlink_clear): Likewise.
20598 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
20599 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
20600 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
20601 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
20602 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
20603 __spin_lock_locked): Likewise.
20604 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
20605 __spin_lock_locked): Likewise.
20606 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
20607 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
20608 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
20609 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
20610 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
20611 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
20612 _POSIX_NO_TRUNC): Define to 0.
20613 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
20614 check size against PTHREAD_STACK_MIN.
20615 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
20616 IS_IN(libpthread)]: Include <sigsetops.h>.
20617 * mach/Makefile (user-interfaces): Add mach/gnumach.
20618 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
20619 * sysdeps/mach/configure (mach_interface_list): Regenerate.
20620 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
20621 instead of invalid -1.
20622 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
20623 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
20624 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
20627 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
20629 * hurd/fcntl-internal.h: New file.
20631 2018-01-27 James Clarke <jrtc27@jrtc27.com>
20633 * sysdeps/hppa/fpu/libm-test-ulps: Update.
20635 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20637 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
20640 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
20641 Build only shared objects.
20643 2018-01-26 Carlos O'Donell <carlos@redhat.com>
20645 * README: Update for hppa.
20647 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20649 * sysdeps/sparc/fpu/libm-test-ulps: Update
20650 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
20652 2018-01-26 Carlos O'Donell <carlos@redhat.com>
20656 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20659 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20660 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20661 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20662 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20665 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20668 * bits/types/__cancel_jmp_buf_tag.h: New file.
20669 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20670 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20671 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20672 * nptl/Makefile (headers): Add
20673 bits/types/__cancel_jmp_buf_tag.h.
20674 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20675 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20676 * sysdeps/nptl/pthread.h: Include
20677 <bits/types/__cancel_jmp_buf_tag.h>.
20678 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20680 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20682 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
20685 * localedata/locales/uk_UA (mon): Renamed to...
20687 (alt_digits): "0" removed and then renamed to...
20689 (date_fmt): Definition changed not to use the alternative
20692 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
20694 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
20695 FLAG_RISCV_FLOAT_ABI_DOUBLE.
20696 * elf/elf.h (EF_RISCV_RVC): New define.
20697 (EF_RISCV_FLOAT_ABI): Likewise.
20698 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
20699 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
20700 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20701 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
20702 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
20704 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20706 2018-01-25 Andreas Schwab <schwab@suse.de>
20708 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
20710 * sysdeps/gnu/configure: Regenerate.
20711 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20712 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20714 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20715 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20716 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
20717 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20718 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20720 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20722 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
20723 URL, and run autoconf, make it the default for now.
20725 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20727 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20728 soft-float ColdFire configuration.
20730 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
20731 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
20732 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
20734 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
20737 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
20739 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
20741 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
20744 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
20745 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
20746 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
20749 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20752 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
20753 Rename to __reserved and add comment.
20754 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
20755 Rename to __reserved.
20757 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20759 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20760 i686-gnu configurations.
20761 (Context.run_builds): Include mig, gnumach and hurd in components
20763 (Context.checkout): Add mig, gnumach and hurd to components.
20764 (Context.checkout_tar): Add URL mappings for mig, gnumach and
20766 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
20767 (Config.build): Install gnumach headers, build mig and install
20768 hurd headers for 'gnu' OS.
20769 (Config.install_gnumach_headers): New function.
20770 (Config.install_hurd_headers): Likewise.
20771 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
20772 when building for 'gnu' OS.
20774 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
20776 * manual/tunables.texi (Hardware Capability Tunables): Fix
20779 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
20781 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
20782 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
20783 (ALTMON_11, ALTMON_12): Improve documentation.
20784 * manual/time.texi (strftime): Likewise.
20786 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20789 * localedata/locales/pl_PL: Alternative month names added,
20790 primary month names are genitive now.
20791 * time/tst-strptime.c (day_tests): Actually use a genitive case
20792 of a month name in Polish language.
20794 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20797 * manual/locale.texi: Document ALTMON_1..12 constants for
20798 nl_langinfo. Specify when to use ALTMON instead of MON.
20799 * manual/time.texi (strftime, strptime): Document GNU extension
20800 permitting O modifier with %B and %b. Specify when to use
20803 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20806 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
20807 names, define them as the same as abbreviated month names explicitly.
20808 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
20809 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
20810 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
20811 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
20812 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
20813 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
20814 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
20815 _NL_WABALTMON_12): New enum constants.
20816 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
20817 wab_alt_mon, and ab_alt_mon_defined members.
20818 (time_output): Output ab_alt_mon and wab_alt_mon members.
20819 (time_read): Read them, initialize them as copies of abmon and wabmon
20820 respectively if they are missing, initialize ab_alt_mon_defined.
20821 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
20822 * locale/programs/locfile-kw.h: Regenerate.
20823 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
20824 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
20826 * time/strftime_l.c (a_altmonth, aam_len): New macros.
20827 [!COMPILE_WIDE] (ABALTMON_1): New macro.
20828 (__strftime_internal): Handle %Ob and %Oh formats.
20829 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
20830 (__strptime_internal): Handle %Ob and %Oh formats.
20831 * time/tst-strptime.c (day_tests): Add more tests to parse different
20832 forms of month names including the new %Ob format specifier.
20834 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20837 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
20838 define them as the same as primary full month names explicitly.
20839 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
20840 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
20841 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
20842 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
20843 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
20844 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
20845 _NL_WALTMON_12): New enum constants.
20846 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
20847 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
20849 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
20850 walt_mon, and alt_mon_defined members.
20851 (time_output): Output alt_mon and walt_mon members.
20852 (time_read): Read them, initialize them as copies of mon and wmon
20853 respectively if they are missing, initialize alt_mon_defined.
20854 * locale/programs/locfile-kw.gperf (alt_mon): Define.
20855 * locale/programs/locfile-kw.h: Regenerate.
20856 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
20857 * localedata/tst-langinfo.c (map): Add tests for the new constants
20858 ALTMON_1 .. ALTMON_12.
20859 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
20861 * time/strftime_l.c (f_altmonth): New macro.
20862 (__strftime_internal): Handle %OB format.
20863 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
20864 (__strptime_internal): Handle %OB format.
20865 * time/tst-strptime.c (day_tests): Add tests to parse different forms
20866 of month names including the new %OB format specifier.
20868 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20871 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
20872 from ABORT_TRANSACTION.
20873 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
20874 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
20875 ABORT_TRANSACTION_IMPL): Likewise.
20876 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
20877 Linux code, but remove the code that aborts transactions.
20879 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20881 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
20883 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
20885 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
20886 in date: "2004-14-09" should be "2004-09-14".
20887 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
20888 "2003-15-09" should be "2003-09-15".
20890 2018-01-18 Arjun Shankar <arjun@redhat.com>
20896 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
20898 (_int_memalign): check for integer overflow before calling
20900 * malloc/tst-malloc-too-large.c: New test.
20901 * malloc/Makefile: Add tst-malloc-too-large.
20903 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
20905 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
20906 in date: "2017-24-07" should be "2017-07-24".
20907 * localedata/locales/mai_IN: Likewise.
20908 * localedata/locales/mai_NP: Likewise.
20910 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
20912 * po/ru.po: Update translations.
20914 2018-01-17 Joseph Myers <joseph@codesourcery.com>
20917 * sysdeps/hppa/backtrace.c: New file.
20919 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
20922 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
20923 align La_x86_64_retval to VEC_SIZE.
20925 2018-01-16 Joseph Myers <joseph@codesourcery.com>
20927 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
20928 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
20930 2018-01-16 Florian Weimer <fweimer@redhat.com>
20932 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
20933 Move tst-thread-exit-clobber ...
20934 [$(CXX)] (tests-unsupported): ... to here.
20936 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20938 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
20939 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
20940 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20941 (_dl_aarch64_cap_flags): Update.
20942 (_DL_HWCAP_COUNT): Update.
20944 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20946 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
20947 (_DL_HWCAP_LAST): Remove.
20948 (_DL_HWCAP_COUNT): Move to ...
20949 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20950 (_DL_HWCAP_COUNT): ... here.
20952 2018-01-16 Florian Weimer <fweimer@redhat.com>
20954 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
20955 mode with GNU extensions.
20957 2018-01-15 Alan Hayward <alan.hayward@arm.com>
20959 * elf/elf.h (NT_ARM_SVE): Define.
20961 2018-01-15 Florian Weimer <fweimer@redhat.com>
20964 * nptl/tst-minstack-throw.cc: New file.
20965 * nptl/Makefile (tests): Add tst-minstack-throw.
20966 (LDLIBS-tst-minstack-throw): Link with libstdc++.
20967 [!CXX] (tests-unsupported): Add tst-minstack-throw.
20969 2018-01-15 Joseph Myers <joseph@codesourcery.com>
20971 * scripts/build-many-glibcs.py (Context.checkout): Default
20972 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
20975 2018-01-13 Carlos O'Donell <carlos@redhat.com>
20978 * elf/elf.h (DF_1_STUB): Define.
20979 (DF_1_PIE): Define.
20981 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20984 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
20985 Do not add 0.5 to integer or out-of-range arguments.
20987 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20989 * po/bg.po: Update translations.
20990 * po/cs.po: Likewise.
20991 * po/de.po: Likewise.
20992 * po/ko.po: Likewise.
20993 * po/pl.po: Likewise.
20994 * po/sv.po: Likewise.
20995 * po/uk.po: Likewise.
20996 * po/vi.po: Likewise.
20998 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21000 * aarch64/start.S (_start): Use __wrap_main.
21001 (__wrap_main): New local symbol.
21003 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21007 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
21008 generic_getcwd if the path returned by getcwd syscall is not absolute.
21009 * io/tst-getcwd-abspath.c: New test.
21010 * io/Makefile (tests): Add tst-getcwd-abspath.
21012 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
21014 * malloc/malloc.c (malloc_consolidate): Add size check.
21016 2018-01-12 Florian Weimer <fweimer@redhat.com>
21018 * support/write_message.c (write_message): Preserve errno.
21019 * support/check.c (print_failure): Likewise.
21020 * support/support_test_verify_impl.c (support_test_verify_impl):
21022 * support/support_test_compare_failure.c
21023 (support_test_compare_failure): Likewise.
21025 2018-01-12 Florian Weimer <fweimer@redhat.com>
21028 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
21029 Prevent installation of libnsl.so.
21030 (libnsl-inhibit-o): Do not build (or install) static libraries.
21032 2018-01-12 Egmont Koblinger <egmont@gmail.com>
21035 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
21036 before the day number which may produce a double space.
21037 (date_fmt): Likewise.
21039 2018-01-12 Joseph Myers <joseph@codesourcery.com>
21041 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
21042 instead of fegetenv.
21044 2018-01-11 Joseph Myers <joseph@codesourcery.com>
21047 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
21048 comment to say exceptions are discarded.
21049 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
21051 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
21054 2018-01-11 Florian Weimer <fweimer@redhat.com>
21056 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
21059 2018-01-11 Florian Weimer <fweimer@redhat.com>
21062 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
21063 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
21065 2018-01-10 Joseph Myers <joseph@codesourcery.com>
21068 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
21069 negative arguments in test for NaN or infinity argument.
21071 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
21073 * po/libc.pot: Regenerate.
21075 2018-01-10 Florian Weimer <fweimer@redhat.com>
21078 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
21079 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
21081 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21083 * hurd/hurd/fd.h: Include <fcntl.h>
21084 (__hurd_at_flags): New function.
21085 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
21086 with call to __hurd_at_flags.
21087 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
21088 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
21090 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
21091 (__access_noerrno): Use __faccessat_common instead of access_common.
21092 (__access): Likewise.
21093 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
21094 with a call to __faccessat.
21095 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
21096 (__faccessat_common): ... this. Move implementation of __access into it when
21097 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
21098 reauthenticate_cwdir_at helper to implement AT mechanism.
21099 (__faccessat_noerrno): New function, just calls __faccessat_common.
21100 (__faccessat): New function, just calls __faccessat_common.
21101 (faccessat): Define weak alias.
21103 2018-01-10 Joseph Myers <joseph@codesourcery.com>
21106 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21107 (CFLAGS-s_fmaxmagl.c): New variable.
21108 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
21111 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
21112 long int for arguments of possibly overflowing addition or
21114 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21116 2018-01-09 Joseph Myers <joseph@codesourcery.com>
21119 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21120 (CFLAGS-e_remainderl.c): New variable.
21123 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
21125 (CFLAGS-s_cacoshl.c): Likewise.
21126 (CFLAGS-s_casinhl.c): Likewise.
21127 (CFLAGS-s_catanl.c): Likewise.
21128 (CFLAGS-s_catanhl.c): Likewise.
21129 (CFLAGS-s_cexpl.c): Likewise.
21130 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
21131 (CFLAGS-s_csinhl.c): Likewise.
21132 (CFLAGS-s_clogl.c): Likewise.
21133 (CFLAGS-s_clog10l.c): Likewise.
21134 (CFLAGS-s_csinl.c): Likewise.
21135 (CFLAGS-s_csqrtl.c): Likewise.
21137 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
21138 2017-01-09 Svante Signell <svante.signell@gmail.com>
21140 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
21141 (_hurd_exec_paths): New function.
21142 * hurd/hurd.h (_hurd_exec): Deprecate function.
21143 (_hurd_exec_paths): Declare function.
21144 * hurd/Versions: Export _hurd_exec_paths.
21145 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
21146 (__execve): Use __getcwd to build absolute path, and use
21147 _hurd_exec_paths instead of _hurd_exec.
21148 * sysdeps/mach/hurd/spawni.c: Likewise.
21149 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
21152 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
21154 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
21155 test instead of failing in case of ENOENT returned by posix_openpt.
21157 2018-01-08 Florian Weimer <fweimer@redhat.com>
21159 resolv: Support binary labels in test framework.
21160 * support/resolv_test.c (struct to_be_freed): Remove.
21161 (struct compressed_name): New.
21162 (allocate_compressed_name, ascii_tolower)
21163 (compare_compressed_name): New functions.
21164 (struct resolv_response_builder): Update type of
21165 compression_offsets for use with tsearch. Rempve to_be_freed.
21166 (response_push_pointer_to_free): Remove function.
21167 (resolv_response_add_name): Rewrite using struct compressed_name
21168 and tsearch instead of hsearch_r.
21169 (response_builder_allocate): Remove initialization of
21170 compression_offsets.
21171 (response_builder_free): Update for removal of to_be_freed. Use
21172 tdestroy instead of hdestroy_r.
21173 * resolv/Makefile (tests): Add tst-resolv-binary.
21174 (tst-resolv-binary): Link with -lresolv -lpthread.
21176 2018-01-08 Florian Weimer <fweimer@redhat.com>
21178 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
21179 time. Pass positive flag instead of negative flag to
21180 support_test_compare_failure.
21181 (support_test_compare_failure): Change negative parameter to
21183 * support/support_test_compare_failure.c (report)
21184 (support_test_compare_failure): Likewise.
21185 * support/tst-test_compare.c (return_ssize_t, return_int): New.
21186 (do_test): Check int/size_t, ssize_t/size_t comparisons.
21188 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
21191 * nptl/descr.h (stackblock, stackblock_size): Update comments.
21192 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
21193 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
21195 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21197 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
21199 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21200 Add s_sincosf-sse2 and s_sincosf-fma.
21201 (CFLAGS-s_sincosf-fma.c): New.
21202 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
21203 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
21204 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
21205 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
21206 __sincosf is defined.
21208 2018-01-08 Florian Weimer <fweimer@redhat.com>
21210 * nptl/tst-thread-exit-clobber.cc: New file.
21211 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
21213 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
21214 (tests): Add tst-thread-exit-clobber.
21215 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
21217 2018-01-08 Florian Weimer <fweimer@redhat.com>
21219 * support/check.h (support_static_assert): Define.
21220 (TEST_COMPARE): Use it.
21222 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
21224 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
21225 [!__RLIM_T_MATCHES_RLIM64_T]
21226 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
21227 __getrlimit64. Add libc_hidden_weak.
21229 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
21231 * elf/elf.h (R_RISCV_NONE): New define.
21232 (R_RISCV_32): Likewise.
21233 (R_RISCV_64): Likewise.
21234 (R_RISCV_RELATIVE): Likewise.
21235 (R_RISCV_COPY): Likewise.
21236 (R_RISCV_JUMP_SLOT): Likewise.
21237 (R_RISCV_TLS_DTPMOD32): Likewise.
21238 (R_RISCV_TLS_DTPMOD64): Likewise.
21239 (R_RISCV_TLS_DTPREL32): Likewise.
21240 (R_RISCV_TLS_DTPREL64): Likewise.
21241 (R_RISCV_TLS_TPREL32): Likewise.
21242 (R_RISCV_TLS_TPREL64): Likewise.
21243 * Makerules (make-link-multidir): Make directories before linking into
21245 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
21247 (VDSO_HASH_LINUX_4_15): Likewise.
21248 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
21249 in subdirectories of lib.
21250 * nptl/Makefile (/librt.so): Always depend on
21251 "$(shared-thread-library)".
21253 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21255 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
21256 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
21257 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
21259 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
21260 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
21262 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
21263 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
21264 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
21265 * sysdeps/gnu/glob-lstat-compat.c: New file.
21266 * sysdeps/gnu/glob64-lstat-compat.c: New file.
21267 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
21269 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21271 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
21272 Reserve 16 chars to reloc_addr before calling _itoa_word.
21274 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21277 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
21278 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
21280 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
21281 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
21283 * resource/tst-getrlimit.c: Add copyright header.
21285 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21286 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21288 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21289 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
21290 Define __GI_getrlimit64 as weak alias of __getrlimit64.
21291 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
21293 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21294 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
21295 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
21296 RLIM64_INFINITY): Fix values to match the kernel ones.
21297 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
21298 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
21299 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
21300 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
21301 getrlimit64@@GLIBC_2_27.
21302 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
21304 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
21305 getrlimit, setrlimit, getrlimit64 and setrlimit64.
21306 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
21307 setrlimit, getrlimit64 and setrlimit64.
21309 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21312 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
21313 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
21315 2018-01-04 Joseph Myers <joseph@codesourcery.com>
21317 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
21318 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
21319 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
21321 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21325 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
21326 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
21330 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
21331 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
21332 * sysdeps/alpha/fpu/s_floor.c: Likewise.
21333 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
21335 2018-01-04 Florian Weimer <fweimer@redhat.com>
21338 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21339 Align the stack before calling exit.
21340 * stdlib/tst-makecontext-align.c: New file.
21341 * stdlib/Makefile (tests): Add tst-makecontext-align.
21343 2018-01-04 Florian Weimer <fweimer@redhat.com>
21345 Add support for calling dlvsym from libc.so.
21346 * include/dlfcn.h (__libc_dlvsym): Declare.
21347 * elf/Makefile (tests-static-internal): Add
21348 tst-libc_dlvsym-static.
21349 (tests-internal): Add tst-libc_dlvsym.
21350 (modules-names): Add tst-libc_dlvsym-dso.
21351 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
21352 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
21353 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
21354 object tst-libc_dlvsym-dso.so needs to be built before running
21356 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
21357 * elf/Versions: Export __libc_dlvsym.
21358 * elf/dl-libc.c (struct do_dlvsym_args): New.
21359 (do_dlvsym, __libc_dlvsym): New functions.
21360 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
21361 (_dl_open_hook2): New variable.
21362 (__libc_register_dl_open_hook): Set it.
21363 * elf/tst-libc_dlvsym-dso.c: New file.
21364 * elf/tst-libc_dlvsym-static.c: Likewise.
21365 * elf/tst-libc_dlvsym.c: Likewise.
21366 * elf/tst-libc_dlvsym.h: Likewise.
21368 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
21370 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
21371 include <sys/mount.h>.
21373 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
21375 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
21376 Add __NO_MATH_ERRNO__ check.
21378 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21380 * sysdeps/mips/mips32/libm-test-ulps: Update.
21381 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21383 2018-01-02 Florian Weimer <fweimer@redhat.com>
21385 * misc/tst-pselect.c: Add copyright header.
21387 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21389 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
21391 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
21393 (settrlimit): Rename into setrlimit.
21394 (__sttrlimit): Rename into __setrlimit.
21396 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
21397 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
21398 never defined in that case.
21400 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21402 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
21404 * sysdeps/arm/libm-test-ulps: Update.
21406 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
21407 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
21409 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21411 * NEWS: Add cosf and sincosf to list of optimized functions.
21413 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21416 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
21417 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
21418 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
21419 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
21421 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
21424 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
21426 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
21427 making a copy of it.
21429 2018-01-01 Joseph Myers <joseph@codesourcery.com>
21431 * manual/texinfo.tex: Update to version 2017-12-26.21 with
21432 trailing whitespace removed.
21433 * scripts/config.guess: Update to version 2018-01-01.
21434 * scripts/config.sub: Update to version 2018-01-01.
21435 * scripts/move-if-change: Update from gnulib.
21437 * NEWS: Update copyright dates.
21438 * catgets/gencat.c (print_version): Likewise.
21439 * csu/version.c (banner): Likewise.
21440 * debug/catchsegv.sh: Likewise.
21441 * debug/pcprofiledump.c (print_version): Likewise.
21442 * debug/xtrace.sh (do_version): Likewise.
21443 * elf/ldconfig.c (print_version): Likewise.
21444 * elf/ldd.bash.in: Likewise.
21445 * elf/pldd.c (print_version): Likewise.
21446 * elf/sotruss.sh: Likewise.
21447 * elf/sprof.c (print_version): Likewise.
21448 * iconv/iconv_prog.c (print_version): Likewise.
21449 * iconv/iconvconfig.c (print_version): Likewise.
21450 * locale/programs/locale.c (print_version): Likewise.
21451 * locale/programs/localedef.c (print_version): Likewise.
21452 * login/programs/pt_chown.c (print_version): Likewise.
21453 * malloc/memusage.sh (do_version): Likewise.
21454 * malloc/memusagestat.c (print_version): Likewise.
21455 * malloc/mtrace.pl: Likewise.
21456 * manual/libc.texinfo: Likewise.
21457 * nptl/version.c (banner): Likewise.
21458 * nscd/nscd.c (print_version): Likewise.
21459 * nss/getent.c (print_version): Likewise.
21460 * nss/makedb.c (print_version): Likewise.
21461 * posix/getconf.c (main): Likewise.
21462 * scripts/test-installation.pl: Likewise.
21463 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21465 * All files with FSF copyright notices: Update copyright dates
21466 using scripts/update-copyrights.
21467 * locale/programs/charmap-kw.h: Regenerated.
21468 * locale/programs/locfile-kw.h: Likewise.
21470 2017-12-31 Zack Weinberg <zackw@panix.com>
21472 * libio/bits/libio-ldbl.h: Correct check for improper
21473 inclusion. Add own multiple include guard.
21475 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
21476 Dmitry V. Levin <ldv@altlinux.org>
21480 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
21481 string token expansion. Check for NULL pointer or empty string possibly
21482 returned by expand_dynamic_string_token.
21483 (decompose_rpath): Check for empty path after dynamic string
21486 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
21489 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
21491 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
21492 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
21493 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
21494 and PTRACE_SYSCALL.
21495 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
21496 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21497 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21498 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21499 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21500 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21502 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
21503 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21504 __ptrace_peeksiginfo_flags, ptrace): Move to ...
21505 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
21506 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21507 bits/ptrace-shared.h.
21508 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
21509 <bits/ptrace-shared.h>.
21510 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21511 __ptrace_peeksiginfo_flags, ptrace): Remove.
21512 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21513 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21514 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21515 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21516 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21518 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21521 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
21522 end of the loop. Improve comments.
21524 2017-12-29 Zack Weinberg <zackw@panix.com>
21527 * manual/errno.texi (Checking for Errors): Explicitly say that errno
21528 might be set on success.
21530 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21533 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
21534 is unchanged on success.
21536 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
21538 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
21540 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
21541 expand_dynamic_string_token): Likewise.
21542 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
21545 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
21548 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
21549 is set and name contains ':', and all code depending on these checks.
21551 2017-12-24 Zack Weinberg <zackw@panix.com>
21553 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
21554 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
21556 * libio/libio.h: Rename the original version of this file to
21557 libio/bits/libio.h. Error out if not included by stdio.h or the
21559 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
21560 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
21561 if not included by bits/libio.h or the stub _G_config.h.
21562 * sysdeps/unix/sysv/linux/_G_config.h: Move to
21563 sysdeps/unix/sysv/linux/bits. Error out if not included by
21564 bits/libio.h or the stub _G_config.h.
21565 * libio/stdio.h: Include bits/libio.h, not libio.h.
21566 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
21567 well as libio.h and _G_config.h.
21569 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
21570 * libio/strfile.h, stdio-common/vfscanf.c
21571 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
21572 Include stdio.h, not _G_config.h nor libio.h.
21573 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
21574 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
21576 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
21578 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
21581 * stdlib/getrandom.c (getrandom): Fix comment.
21582 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
21584 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
21587 * manual/arith.texi (strtoul): Fix a typo.
21590 * manual/arith.texi (finite): Fix the description of the return
21593 2017-12-22 Eric Blake <ebb9@byu.net>
21595 Avoid gcc warnings on cygwin
21596 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
21597 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
21598 Avoid unused variable.
21600 2017-12-22 Florian Weimer <fweimer@redhat.com>
21602 * io/Makefile (routines): Add copy_file_range.
21603 (tests): Add tst-copy_file_range.
21604 (tests-static, tests-internal): Add tst-copy_file_range-compat.
21605 * io/Versions (GLIBC_2.27): Export copy_file_range.
21606 * io/copy_file_range-compat.c: New file.
21607 * io/copy_file_range.c: Likewise.
21608 * io/tst-copy_file_range-compat.c: Likewise.
21609 * io/tst-copy_file_range.c: Likewise.
21610 * manual/llio.texi (Copying File Data): New section.
21611 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
21612 * support/Makefile (libsupport-routines): Add support-xfstat,
21613 xftruncate, xlseek.
21614 * support/support-xfstat.c: New file.
21615 * support/xftruncate.c: Likewise.
21616 * support/xlseek.c: Likewise.
21617 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
21618 * sysdeps/unix/sysv/linux/**.abilist: Update.
21619 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
21621 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
21623 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21624 disable-multi-arch variant to aarch64-linux-gnu.
21626 2017-12-20 Joseph Myers <joseph@codesourcery.com>
21628 * manual/texinfo.tex: Update to version 2017-12-18.20 with
21629 trailing whitespace removed.
21630 * scripts/config.guess: Update to version 2017-12-17.
21631 * scripts/config.sub: Update to version 2017-11-23.
21632 * scripts/install-sh: Update to version 2017-09-23.17.
21633 * scripts/move-if-change: Update to version 2017-09-13 06:45.
21635 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21637 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
21638 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21639 * sysdeps/tile/_mcount.S (__mcount): Likewise.
21640 * sysdeps/tile/crti.S (_init, _fini): Likewise.
21641 * sysdeps/tile/crtn.S: Likewise.
21642 * sysdeps/tile/dl-start.S (_start): Likewise.
21643 * sysdeps/tile/dl-trampoline.S: Likewise.
21644 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
21645 * sysdeps/tile/start.S (_start): Likewise.
21646 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
21647 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
21648 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
21649 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
21650 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
21651 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
21652 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
21654 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
21656 * sysdeps/tile/preconfigure: Remove tilegx folder.
21657 * sysdeps/tile/tilegx/Implies: Move definitions to ...
21658 * sysdeps/tile/Implies: ... here.
21659 * sysdeps/tile/tilegx/Makefile: Move rules to ...
21660 * sysdeps/tile/Makefile: ... here.
21661 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
21662 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
21663 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
21664 * sysdeps/tile/bits/wordsize.h: ... here.
21665 * sysdeps/tile/tilegx/*: Move to ...
21666 * sysdeps/tile/*: ... here.
21667 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
21668 * sysdeps/tile/tilegx32/Implies: ... here.
21669 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
21670 * sysdeps/tile/tilegx64/Implies: ... here.
21671 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
21673 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
21674 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
21675 * sysdeps/unix/sysv/linux/tile/*: ... here.
21676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
21677 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
21678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
21679 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
21681 * README: Remove tilepro-*-linux-gnu from supported architecture.
21682 * scripts/build-many-glibcs.py: Likewise.
21683 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21684 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
21685 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
21686 elf_machine_matches_host, elf_machine_dynamic,
21687 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
21688 howto, elf_machine_rela): Likewise.
21689 * sysdeps/tile/dl-start.S (_start): Likewise.
21690 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
21691 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
21692 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
21693 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
21694 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
21695 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21697 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
21698 * sysdeps/tile/preconfigure: Likewise.
21699 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
21700 POINTER_CHK_GUARD): Likewise.
21701 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
21702 * sysdeps/tile/start.S (_start): Likewise.
21703 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
21705 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
21706 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
21708 * sysdeps/unix/sysv/linux/tile/bits/environments.h
21709 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
21710 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
21712 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
21713 * sysdeps/tile/tilepro/Implies: Remove file.
21714 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
21715 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
21716 * sysdeps/tile/tilepro/memchr.c: Likewise.
21717 * sysdeps/tile/tilepro/memcpy.S: Likewise.
21718 * sysdeps/tile/tilepro/memset.c: Likewise.
21719 * sysdeps/tile/tilepro/memusage.h: Likewise.
21720 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
21721 * sysdeps/tile/tilepro/strchr.c: Likewise.
21722 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
21723 * sysdeps/tile/tilepro/strlen.c: Likewise.
21724 * sysdeps/tile/tilepro/strrchr.c: Likewise.
21725 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
21726 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
21727 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21728 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
21729 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
21730 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21732 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
21733 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21734 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
21735 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
21736 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21737 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
21738 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
21739 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
21740 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
21741 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
21742 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
21743 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
21744 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
21745 tilepro mention in comment.
21747 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
21748 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
21749 * nptl/pthread_join_common.c: New file: common function used on
21750 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
21751 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
21752 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
21753 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21754 (cleanup): Move definition to pthread_join_common.c.
21755 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
21756 Remove superflous checks.
21757 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
21760 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
21762 * sysdeps/aarch64/libm-test-ulps: Update.
21764 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21766 * sysdeps/aarch64/memset.S (MEMSET): Define.
21768 2017-12-20 Florian Weimer <fweimer@redhat.com>
21771 nptl: Provide full implementation of pthread_self in libc.so.
21772 * nptl/Makefile (routines): Add pthread_self.
21773 (libpthread-routines): Replace pthread_self with
21774 compat-pthread_self.
21775 * nptl/forward.c (pthread_self): Remove.
21776 * nptl/nptl-init.c (pthread_functions): Do not initialize
21778 * nptl/pthread_self.c (pthread_self): Remove weak alias.
21779 * nptl/compat-pthread_self.c: New file.
21780 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
21781 Remove ptr_pthread_self.
21783 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
21785 * posix/regcomp.c: Fix spelling in comments.
21786 * posix/regex.h: Likewise.
21787 * posix/regex_internal.c: Likewise.
21788 * posix/regexec.c: Likewise.
21790 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
21793 * math/Makefile [C++] (tests): Add test for iseqsig.
21794 * math/math.h [C++] (iseqsig): New implementation, which does
21795 not rely on __MATH_TG/__builtin_types_compatible_p.
21796 * math/test-math-iseqsig.cc: New file.
21797 * sysdeps/powerpc/powerpc64le/Makefile
21798 (CFLAGS-test-math-iseqsig.cc): New variable.
21800 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
21802 * elf/dl-load.c (is_trusted_path): Remove.
21803 (fillin_rpath): Remove check_trusted argument and its use,
21804 all callers changed.
21806 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21809 * Makeconfig (link-pie-before-libc): Replace -pie with
21810 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
21811 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
21812 (tst-dlopen-aout-no-pie): New.
21813 (LDFLAGS-tst-prelink): Removed.
21814 (tst-prelink-no-pie): New.
21815 (LDFLAGS-tst-main1): Removed.
21816 (tst-main1-no-pie): New.
21817 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
21818 (tst-gmon-no-pie): New.
21820 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21822 * manual/install.texi: Document that --enable-static-pie
21824 * INSTALL: Regenerated.
21826 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
21829 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
21832 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21836 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21840 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21842 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21843 <errno.h>. Include "eexp.tbl".
21844 (half): New constant.
21846 (__ieee754_exp): Rewrite.
21847 (__slowexp): Remove prototype.
21848 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21849 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21850 * sysdeps/i386/fpu/slowexp.c: Likewise.
21851 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21852 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21853 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21854 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21855 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21856 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21857 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21859 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21860 (CPPFLAGS-slowexp.c): Remove variable.
21861 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21862 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21863 (CFLAGS-slowexp-fma.c): Remove variable.
21864 (CFLAGS-slowexp-fma4.c): Likewise.
21865 (CFLAGS-slowexp-avx.c): Likewise.
21866 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21868 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21869 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21870 * math/Makefile (type-double-routines): Remove slowexp.
21871 * manual/probes.texi (slowexp_p6): Remove.
21872 (slowexp_p32): Likewise.
21874 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21876 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
21879 * lib/glob.c (glob): Do not pass NULL to mempcpy.
21881 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21883 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21885 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21887 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21888 <errno.h>. Include "eexp.tbl".
21889 (half): New constant.
21891 (__ieee754_exp): Rewrite.
21892 (__slowexp): Remove prototype.
21893 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21894 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21895 * sysdeps/i386/fpu/slowexp.c: Likewise.
21896 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21897 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21898 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21899 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21900 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21901 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21902 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21904 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21905 (CPPFLAGS-slowexp.c): Remove variable.
21906 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21907 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21908 (CFLAGS-slowexp-fma.c): Remove variable.
21909 (CFLAGS-slowexp-fma4.c): Likewise.
21910 (CFLAGS-slowexp-avx.c): Likewise.
21911 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21913 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21914 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21915 * math/Makefile (type-double-routines): Remove slowexp.
21916 * manual/probes.texi (slowexp_p6): Remove.
21917 (slowexp_p32): Likewise.
21919 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21920 James Clarke <jrtc27@jrtc27.com>
21923 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
21926 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21929 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
21932 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21935 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21936 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21937 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21938 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21941 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21944 * bits/types/__cancel_jmp_buf_tag.h: New file.
21945 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21946 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21947 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21948 * nptl/Makefile (headers): Add
21949 bits/types/__cancel_jmp_buf_tag.h.
21950 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21951 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21952 * sysdeps/nptl/pthread.h: Include
21953 <bits/types/__cancel_jmp_buf_tag.h>.
21954 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21956 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21958 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21960 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21961 --enable-static-pie variants to x86_64, x32 and i686.
21963 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21966 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
21967 argument for attrubutes. All callers changed.
21968 (__inline_mathop1): Likewise. All callers changed.
21969 (__inline_mathop): Likewise. All callers changed.
21970 [__USE_MISC] (scalbn): Use __inline_forward instead of
21971 __inline_forward_c.
21972 [__USE_ISOC99] (scalbln): Likewise.
21973 [__USE_ISOC99] (nearbyint): Likewise.
21974 [__USE_ISOC99] (lrint): Likewise.
21975 [__USE_MISC] (scalbnf): Likewise.
21976 [__USE_ISOC99] (scalblnf): Likewise.
21977 [__USE_ISOC99] (nearbyintf): Likewise.
21978 [__USE_ISOC99] (lrintf): Likewise.
21979 [__USE_MISC] (scalbnl): Likewise.
21980 [__USE_ISOC99] (scalblnl): Likewise.
21981 [__USE_ISOC99] (nearbyintl): Likewise.
21982 [__USE_ISOC99] (lrintl): Likewise.
21983 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
21984 __inline_mathop and __m81_defun changed.
21986 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
21987 CPU or FPU for ARM hard-float configurations.
21989 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21991 * nptl/tst-attr3.c: Include <libc-diag.h>.
21992 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
21994 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
21996 * string/tester.c (test_strncat): Also disable -Warray-bounds
21997 warnings for two tests.
21999 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22002 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
22003 $(cc-pie-default) == yes.
22004 * config.make.in (cc-pie-default): New.
22005 * configure.ac (libc_cv_pie_default): Renamed to ...
22006 (libc_cv_cc_pie_default): This.
22007 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
22008 * configure: Regenerated.
22010 2017-12-18 Florian Weimer <fweimer@redhat.com>
22013 ld.so: Harden dl-libc/libdl hooks.
22014 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
22015 (rtld_active): New function.
22016 * dlfcn/dladdr.c (__dladdr): Call it.
22017 * dlfcn/dladdr1.c (__dladdr1): Likewise.
22018 * dlfcn/dlclose.c (__dlcose): Likewise.
22019 * dlfcn/dlerror.c (__dlerror): Likewise.
22020 * dlfcn/dlinfo.c (__dlinfo): Likewise.
22021 * dlfcn/dlmopen.c (__dlmopen): Likewise.
22022 * dlfcn/dlopen.c (__dlopen): Likewise.
22023 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22024 * dlfcn/dlsym.c (__dlsym): Likewise.
22025 * dlfcn/dlvsym.c (__dlvsym): Likewise.
22026 * libio/vtables.c (_IO_vtable_check): Likewise.
22027 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
22028 (__libc_dlclose): Likewise.
22029 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
22032 2017-12-18 Joseph Myers <joseph@codesourcery.com>
22035 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
22036 buffers for readlink input and output.
22038 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
22041 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
22042 inhibit_stack_protector.
22045 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
22046 inhibit_stack_protector.
22048 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
22051 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
22052 code and invocation.
22054 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
22056 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
22058 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
22061 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
22063 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22065 * sysdeps/s390/fpu/libm-test-ulps: Update.
22067 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22071 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22073 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
22074 constants to s_sincosf.h file.
22075 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22076 * sysdeps/ieee754/flt-32/s_sincosf.c: New
22078 * sysdeps/ieee754/flt-32/s_sincosf.h:
22081 2017-12-12 Carlos O'Donell <carlos@redhat.com>
22084 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
22087 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
22090 * INSTALL: Regenerated.
22091 * Makeconfig (real-static-start-installed-name): New.
22092 (pic-default): Updated for --enable-static-pie.
22093 (pie-default): New for --enable-static-pie.
22094 (default-pie-ldflag): Likewise.
22095 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
22096 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
22097 Replace $(static-start-installed-name) with
22098 $(real-static-start-installed-name).
22099 (+prectorT): Updated for --enable-static-pie.
22100 (+postctorT): Likewise.
22101 (CFLAGS-.o): Add $(pie-default).
22102 (CFLAGS-.op): Likewise.
22103 * NEWS: Mention --enable-static-pie.
22104 * config.h.in (ENABLE_STATIC_PIE): New.
22105 * configure.ac (--enable-static-pie): New configure option.
22106 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
22107 (have-static-pie): Likewise.
22108 Enable static PIE if linker supports --no-dynamic-linker.
22109 (ENABLE_STATIC_PIE): New AC_DEFINE.
22110 (enable-static-pie): New LIBC_CONFIG_VAR.
22111 * configure: Regenerated.
22112 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
22113 gr$(start-installed-name) for --enable-static-pie.
22114 (extra-objs): Likewise.
22115 (install-lib): Likewise.
22116 (extra-objs): Add static-reloc.o and static-reloc.os
22117 ($(objpfx)$(start-installed-name)): Also depend on
22118 $(objpfx)static-reloc.o.
22119 ($(objpfx)r$(start-installed-name)): New.
22120 ($(objpfx)g$(start-installed-name)): Also depend on
22121 $(objpfx)static-reloc.os.
22122 ($(objpfx)gr$(start-installed-name)): New.
22123 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
22125 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
22127 * csu/static-reloc.c: New file.
22128 * elf/Makefile (routines): Add dl-reloc-static-pie.
22129 (elide-routines.os): Likewise.
22130 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
22131 (tst-tls1-static-non-pie-no-pie): New.
22132 * elf/dl-reloc-static-pie.c: New file.
22133 * elf/dl-support.c (_dl_get_dl_main_map): New function.
22134 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
22135 STATIC_PIE_BOOTSTRAP.
22136 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22137 * gmon/Makefile (tests): Add tst-gmon-static-pie.
22138 (tests-static): Likewise.
22139 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
22140 (tst-gmon-static-no-pie): New.
22141 (CFLAGS-tst-gmon-static-pie.c): Likewise.
22142 (CRT-tst-gmon-static-pie): Likewise.
22143 (tst-gmon-static-pie-ENV): Likewise.
22144 (tests-special): Likewise.
22145 ($(objpfx)tst-gmon-static-pie.out): Likewise.
22146 (clean-tst-gmon-static-pie-data): Likewise.
22147 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
22148 * gmon/tst-gmon-static-pie.c: New file.
22149 * manual/install.texi: Document --enable-static-pie.
22150 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
22151 (_dl_get_dl_main_map): Likewise.
22152 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
22153 * sysdeps/x86_64/configure.ac: Likewise.
22154 * sysdeps/i386/configure: Regenerated.
22155 * sysdeps/x86_64/configure: Likewise.
22156 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
22157 (ASFLAGS-.op): Likewise.
22159 2017-12-15 Joseph Myers <joseph@codesourcery.com>
22161 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
22162 * posix/tst-mmap-offset.c (fname): Use /tmp.
22163 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
22165 2017-12-15 Steve Ellcey <sellcey@cavium.com>
22167 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
22169 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
22171 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
22174 2017-12-15 Joseph Myers <joseph@codesourcery.com>
22176 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
22177 --with-float=hard for arm-linux-gnueabihf configurations.
22180 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
22181 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
22182 ($(mo-installed)): Use $(objpfx)%.mo.
22183 (realclean): Remove rule.
22185 * po/Makefile (linguas): Remove rule and dependencies.
22186 (linguas.mo): Likewise.
22187 (.PHONY): Do not depend on linguas and linguas.mo.
22188 (podir): Remove variable.
22189 (pofiles): Likewise.
22190 [$(pofiles)] (%.po): Remove rule.
22192 * sysdeps/sparc/sparc32/Makefile
22193 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
22194 start-of-line whitespace in argument of echo.
22195 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
22196 with whitespace. Generate __wrap_.udiv alias.
22197 * sysdeps/sparc/sparc32/rem.S: Regenerated.
22198 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22199 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22200 * sysdeps/sparc/sparc32/urem.S: Likewise.
22202 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22204 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
22205 for aligned inputs.
22207 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
22209 * benchtests/bench-strcmp.c: Print output in JSON format.
22211 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
22213 2017-12-14 Florian Weimer <fweimer@redhat.com>
22217 * elf/dl-load.c (_dl_init_paths): Compute number of components in
22218 the expanded path string.
22220 2017-12-14 Florian Weimer <fweimer@redhat.com>
22224 * elf/dl-load.c (system_dirs): Update comment.
22225 (nsystem_dirs_len): Use array_length.
22226 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
22228 2017-12-14 Florian Weimer <fweimer@redhat.com>
22230 Simplify compiling most of support/ outside of glibc.
22231 * support/check_addrinfo.c: Include <string.h>.
22232 * support/check_dns_packet.c: Likewise.
22233 * support/check_hostent.c: Likewise.
22234 * support/support_can_chroot.c: Include <support/xunistd.h>.
22235 * support/support_format_addrinfo.c: Include <stdlib.h>
22236 * support/support_format_dns_packet.c: Include <stdbool.h>.
22237 * support/support_format_hostent.c: Include <stdlib.h>.
22238 * support/support_format_netent.c: Likewise.
22239 * support/support_write_string.c: Include <support/xunistd.h>.
22240 * support/xdlfcn.c: Include <stddef.h>.
22242 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
22244 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
22246 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22247 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22249 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22250 (sysdeps_routines): Add memset-niagara7.
22251 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
22253 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
22255 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
22256 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22257 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
22258 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
22259 Add niagara7 option.
22260 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
22263 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22264 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
22265 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
22267 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
22269 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
22270 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
22271 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22272 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
22273 and __memmove_niagara7.
22274 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
22275 Add niagara7 option.
22276 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
22277 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
22278 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
22279 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
22280 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
22282 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
22284 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
22285 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
22286 * sysdeps/sparc/sparc64/memmove.S: Likewise.
22287 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
22289 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
22290 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
22291 _dl_sparc_cap_flags array.
22292 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
22294 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
22296 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
22297 time whenever possible.
22299 2017-12-12 Carlos O'Donell <carlos@redhat.com>
22301 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
22302 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
22304 2017-12-12 Joseph Myers <joseph@codesourcery.com>
22306 * soft-fp/fmadf4.c: Move to ....
22307 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
22308 * soft-fp/fmasf4.c: Move to ....
22309 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
22310 * soft-fp/fmatf4.c: Move to ....
22311 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
22312 * sysdeps/ieee754/soft-fp/Makefile: New file.
22313 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
22314 * sysdeps/arm/preconfigure: Regenerated.
22315 * sysdeps/arm/nofpu/Implies: New file.
22316 * sysdeps/arm/s_fma.c: Remove file.
22317 * sysdeps/arm/s_fmaf.c: Likewise.
22318 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
22319 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
22320 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
22321 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
22322 * sysdeps/microblaze/s_fma.c: Remove file.
22323 * sysdeps/microblaze/s_fmaf.c: Likewise.
22324 * sysdeps/mips/mips32/nofpu/Implies: New file.
22325 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
22326 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
22327 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
22328 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
22329 * sysdeps/mips/ieee754/s_fma.c: Remove file.
22330 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
22331 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
22333 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
22334 * sysdeps/nios2/s_fma.c: Remove file.
22335 * sysdeps/nios2/s_fmaf.c: Likewise.
22336 * sysdeps/sh/nofpu/Implies: New file.
22337 * sysdeps/sh/s_fma.c: Remove file.
22338 * sysdeps/sh/s_fmaf.c: Likewise.
22339 * sysdeps/tile/Implies: Add ieee754/soft-fp.
22340 * sysdeps/tile/s_fma.c: Remove file.
22341 * sysdeps/tile/s_fmaf.c: Likewise.
22343 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
22345 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22346 Add s_cosf-sse2 and s_cosf-fma.
22347 (CFLAGS-s_cosf-fma.c): New.
22348 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
22349 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
22350 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
22352 2017-12-12 Steve Ellcey <sellcey@cavium.com>
22354 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
22356 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22358 * libio/Makefile (tests): Add tst-bz22415.
22359 (tst-bz22415-ENV): New rule.
22360 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
22361 (tests-special): Add tst-bz22415-mem.out.
22362 ($(objpfx)tst-bz22415-mem.out): New rule.
22363 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
22364 in case of a successful seek operation.
22365 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22366 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
22367 buffer is required.
22368 * libio/tst-bz22415.c: New test.
22370 * sysdeps/ia64/fpu/libm-test-ulps: Update.
22372 2017-12-12 James Clarke <jrtc27@jrtc27.com>
22374 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
22375 __IPC_64 to 0 to avoid IPC_64 being set.
22377 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22380 * math/bits/mathcalls.h (nextafter): Remove const.
22381 (nexttoward): Likewise.
22383 2017-12-12 Joseph Myers <joseph@codesourcery.com>
22385 * configure.ac (--with-fp): Remove configure option.
22386 (with_fp_cond): New variable.
22387 (libc_cv_with_fp): New configure test. Use this variable instead
22389 * configure: Regenerated.
22390 * config.make.in (with-fp): Use @libc_cv_with_fp@.
22391 * manual/install.texi (Configuring and compiling): Remove
22393 * INSTALL: Regenerated.
22394 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
22395 * sysdeps/mips/preconfigure (with_fp_cond): Define.
22396 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
22397 * sysdeps/sh/preconfigure (with_fp_cond): Define.
22398 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
22399 use --without-fp to configure glibc.
22401 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
22403 * manual/locale.texi (nl_langinfo): Fix a typo.
22405 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
22408 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
22410 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22412 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
22413 (CFLAGS-argp-parse.c): Likewise.
22414 (CFLAGS-argp-fmtstream.c): Likewise.
22415 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
22416 (CPPFLAGS-sha512-crypt.c): Likewise.
22417 (CPPFLAGS-md5-crypt.c): Likewise.
22418 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
22419 (CFLAGS-stack_chk_fail_local.c): Likewise.
22420 (CFLAGS-backtrace.c): Likewise.
22421 (CFLAGS-sprintf_chk.c): Likewise.
22422 (CFLAGS-snprintf_chk.c): Likewise.
22423 (CFLAGS-vsprintf_chk.c): Likewise.
22424 (CFLAGS-vsnprintf_chk.c): Likewise.
22425 (CFLAGS-asprintf_chk.c): Likewise.
22426 (CFLAGS-vasprintf_chk.c): Likewise.
22427 (CFLAGS-obprintf_chk.c): Likewise.
22428 (CFLAGS-dprintf_chk.c): Likewise.
22429 (CFLAGS-vdprintf_chk.c): Likewise.
22430 (CFLAGS-printf_chk.c): Likewise.
22431 (CFLAGS-fprintf_chk.c): Likewise.
22432 (CFLAGS-vprintf_chk.c): Likewise.
22433 (CFLAGS-vfprintf_chk.c): Likewise.
22434 (CFLAGS-gets_chk.c): Likewise.
22435 (CFLAGS-fgets_chk.c): Likewise.
22436 (CFLAGS-fgets_u_chk.c): Likewise.
22437 (CFLAGS-fread_chk.c): Likewise.
22438 (CFLAGS-fread_u_chk.c): Likewise.
22439 (CFLAGS-swprintf_chk.c): Likewise.
22440 (CFLAGS-vswprintf_chk.c): Likewise.
22441 (CFLAGS-wprintf_chk.c): Likewise.
22442 (CFLAGS-fwprintf_chk.c): Likewise.
22443 (CFLAGS-vwprintf_chk.c): Likewise.
22444 (CFLAGS-vfwprintf_chk.c): Likewise.
22445 (CFLAGS-fgetws_chk.c): Likewise.
22446 (CFLAGS-fgetws_u_chk.c): Likewise.
22447 (CFLAGS-read_chk.c): Likewise.
22448 (CFLAGS-pread_chk.c): Likewise.
22449 (CFLAGS-pread64_chk.c): Likewise.
22450 (CFLAGS-recv_chk.c): Likewise.
22451 (CFLAGS-recvfrom_chk.c): Likewise.
22452 (CFLAGS-tst-longjmp_chk.c): Likewise.
22453 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
22454 (CFLAGS-tst-longjmp_chk2.c): Likewise.
22455 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
22456 (CFLAGS-tst-longjmp_chk3.c): Likewise.
22457 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22458 (CFLAGS-tst-chk1.c): Likewise.
22459 (CFLAGS-tst-chk2.c): Likewise.
22460 (CFLAGS-tst-chk3.c): Likewise.
22461 (CFLAGS-tst-chk4.cc): Likewise.
22462 (CFLAGS-tst-chk5.cc): Likewise.
22463 (CFLAGS-tst-chk6.cc): Likewise.
22464 (CFLAGS-tst-lfschk1.c): Likewise.
22465 (CFLAGS-tst-lfschk2.c): Likewise.
22466 (CFLAGS-tst-lfschk3.c): Likewise.
22467 (CFLAGS-tst-lfschk4.cc): Likewise.
22468 (CFLAGS-tst-lfschk5.cc): Likewise.
22469 (CFLAGS-tst-lfschk6.cc): Likewise.
22470 (CFLAGS-tst-ssp-1.c): Likewise.
22471 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
22472 (CFLAGS-scandir64.c): Likewise.
22473 (CFLAGS-scandir-tail.c): Likewise.
22474 (CFLAGS-scandir64-tail.c): Likewise.
22475 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
22476 (CFLAGS-dl-tunables.c): Likewise.
22477 (CFLAGS-dl-runtime.c): Likewise.
22478 (CFLAGS-dl-lookup.c): Likewise.
22479 (CFLAGS-dl-iterate-phdr.c): Likewise.
22480 (CFLAGS-vismain.c): Likewise.
22481 (CFLAGS-tst-linkall-static.c): Likewise.
22482 (CFLAGS-tst-linkall-static.c): Likewise.
22483 (CPPFLAGS-dl-load.c): Likewise.
22484 (CFLAGS-ldconfig.c): Likewise.
22485 (CFLAGS-dl-cache.c): Likewise.
22486 (CFLAGS-cache.c): Likewise.
22487 (CFLAGS-rtld.c): Likewise.
22488 (CFLAGS-multiload.c): Likewise.
22489 (CFLAGS-filtmod1.c): Likewise.
22490 (CFLAGS-tst-align.c): Likewise.
22491 (CFLAGS-tst-align2.c): Likewise.
22492 (CFLAGS-tst-alignmod.c): Likewise.
22493 (CFLAGS-tst-alignmod2.c): Likewise.
22494 (CPPFLAGS-tst-execstack.c): Likewise.
22495 (CFLAGS-tst-ptrguard1-static.c): Likewise.
22496 (CFLAGS-tst-latepthreadmod.c): Likewise.
22497 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
22498 (CFLAGS-getgrnam_r.c): Likewise.
22499 (CFLAGS-getgrent_r.c): Likewise.
22500 (CFLAGS-getgrent.c): Likewise.
22501 (CFLAGS-fgetgrent.c): Likewise.
22502 (CFLAGS-fgetgrent_r.c): Likewise.
22503 (CFLAGS-putgrent.c): Likewise.
22504 (CFLAGS-initgroups.c): Likewise.
22505 (CFLAGS-getgrgid.c): Likewise.
22506 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
22507 (CFLAGS-getsgent.c): Likewise.
22508 (CFLAGS-fgetsgent.c): Likewise.
22509 (CFLAGS-fgetsgent_r.c): Likewise.
22510 (CFLAGS-putsgent.c): Likewise.
22511 (CFLAGS-getsgnam.c): Likewise.
22512 (CFLAGS-getsgnam_r.c): Likewise.
22513 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
22514 (CFLAGS-iconv_charmap.c): Likewise.
22515 (CFLAGS-dummy-repertoire.c): Likewise.
22516 (CFLAGS-charmap.c): Likewise.
22517 (CFLAGS-linereader.c): Likewise.
22518 (CFLAGS-simple-hash.c): Likewise.
22519 (CFLAGS-gconv_conf.c): Likewise.
22520 (CFLAGS-iconvconfig.c): Likewise.
22521 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
22522 (CFLAGS-gethstbyad.c): Likewise.
22523 (CFLAGS-gethstbynm_r.c): Likewise.
22524 (CFLAGS-gethstbynm.c): Likewise.
22525 (CFLAGS-gethstbynm2_r.c): Likewise.
22526 (CFLAGS-gethstbynm2.c): Likewise.
22527 (CFLAGS-gethstent_r.c): Likewise.
22528 (CFLAGS-gethstent.c): Likewise.
22529 (CFLAGS-rcmd.c): Likewise.
22530 (CFLAGS-getnetbynm_r.c): Likewise.
22531 (CFLAGS-getnetbynm.c): Likewise.
22532 (CFLAGS-getnetbyad_r.c): Likewise.
22533 (CFLAGS-getnetbyad.c): Likewise.
22534 (CFLAGS-getnetent_r.c): Likewise.
22535 (CFLAGS-getnetent.c): Likewise.
22536 (CFLAGS-getaliasent_r.c): Likewise.
22537 (CFLAGS-getaliasent.c): Likewise.
22538 (CFLAGS-getrpcent_r.c): Likewise.
22539 (CFLAGS-getrpcent.c): Likewise.
22540 (CFLAGS-getservent_r.c): Likewise.
22541 (CFLAGS-getservent.c): Likewise.
22542 (CFLAGS-getprtent_r.c): Likewise.
22543 (CFLAGS-getprtent.c): Likewise.
22544 (CFLAGS-either_ntoh.c): Likewise.
22545 (CFLAGS-either_hton.c): Likewise.
22546 (CFLAGS-getnetgrent.c): Likewise.
22547 (CFLAGS-getnetgrent_r.c): Likewise.
22548 (CFLAGS-tst-checks-posix.c): Likewise.
22549 (CFLAGS-tst-sockaddr.c): Likewise.
22550 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
22551 (CFLAGS-tst-translit.c): Likewise.
22552 (CFLAGS-tst-gettext2.c): Likewise.
22553 (CFLAGS-tst-codeset.c): Likewise.
22554 (CFLAGS-tst-gettext3.c): Likewise.
22555 (CFLAGS-tst-gettext4.c): Likewise.
22556 (CFLAGS-tst-gettext5.c): Likewise.
22557 (CFLAGS-tst-gettext6.c): Likewise.
22558 * io/Makefile (CFLAGS-open.c): Likewise.
22559 (CFLAGS-open64.c): Likewise.
22560 (CFLAGS-creat.c): Likewise.
22561 (CFLAGS-creat64.c): Likewise.
22562 (CFLAGS-fcntl.c): Likewise.
22563 (CFLAGS-poll.c): Likewise.
22564 (CFLAGS-ppoll.c): Likewise.
22565 (CFLAGS-lockf.c): Likewise.
22566 (CFLAGS-statfs.c): Likewise.
22567 (CFLAGS-fstatfs.c): Likewise.
22568 (CFLAGS-statvfs.c): Likewise.
22569 (CFLAGS-fstatvfs.c): Likewise.
22570 (CFLAGS-fts.c): Likewise.
22571 (CFLAGS-fts64.c): Likewise.
22572 (CFLAGS-ftw.c): Likewise.
22573 (CFLAGS-ftw64.c): Likewise.
22574 (CFLAGS-lockf.c): Likewise.
22575 (CFLAGS-posix_fallocate.c): Likewise.
22576 (CFLAGS-posix_fallocate64.c): Likewise.
22577 (CFLAGS-fallocate.c): Likewise.
22578 (CFLAGS-fallocate64.c): Likewise.
22579 (CFLAGS-read.c): Likewise.
22580 (CFLAGS-write.c): Likewise.
22581 (CFLAGS-test-stat.c): Likewise.
22582 (CFLAGS-test-lfs.c): Likewise.
22583 * libio/Makefile (CFLAGS-fileops.c): Likewise.
22584 (CFLAGS-fputc.c): Likewise.
22585 (CFLAGS-fputwc.c): Likewise.
22586 (CFLAGS-freopen64.c): Likewise.
22587 (CFLAGS-freopen.c): Likewise.
22588 (CFLAGS-fseek.c): Likewise.
22589 (CFLAGS-fseeko64.c): Likewise.
22590 (CFLAGS-fseeko.c): Likewise.
22591 (CFLAGS-ftello64.c): Likewise.
22592 (CFLAGS-ftello.c): Likewise.
22593 (CFLAGS-fwide.c): Likewise.
22594 (CFLAGS-genops.c): Likewise.
22595 (CFLAGS-getc.c): Likewise.
22596 (CFLAGS-getchar.c): Likewise.
22597 (CFLAGS-getwc.c): Likewise.
22598 (CFLAGS-getwchar.c): Likewise.
22599 (CFLAGS-iofclose.c): Likewise.
22600 (CFLAGS-iofflush.c): Likewise.
22601 (CFLAGS-iofgetpos64.c): Likewise.
22602 (CFLAGS-iofgetpos.c): Likewise.
22603 (CFLAGS-iofgets.c): Likewise.
22604 (CFLAGS-iofgetws.c): Likewise.
22605 (CFLAGS-iofputs.c): Likewise.
22606 (CFLAGS-iofputws.c): Likewise.
22607 (CFLAGS-iofread.c): Likewise.
22608 (CFLAGS-iofsetpos64.c): Likewise.
22609 (CFLAGS-iofsetpos.c): Likewise.
22610 (CFLAGS-ioftell.c): Likewise.
22611 (CFLAGS-iofwrite.c): Likewise.
22612 (CFLAGS-iogetdelim.c): Likewise.
22613 (CFLAGS-iogetline.c): Likewise.
22614 (CFLAGS-iogets.c): Likewise.
22615 (CFLAGS-iogetwline.c): Likewise.
22616 (CFLAGS-ioputs.c): Likewise.
22617 (CFLAGS-ioseekoff.c): Likewise.
22618 (CFLAGS-ioseekpos.c): Likewise.
22619 (CFLAGS-iosetbuffer.c): Likewise.
22620 (CFLAGS-iosetvbuf.c): Likewise.
22621 (CFLAGS-ioungetc.c): Likewise.
22622 (CFLAGS-ioungetwc.c): Likewise.
22623 (CFLAGS-oldfileops.c): Likewise.
22624 (CFLAGS-oldiofclose.c): Likewise.
22625 (CFLAGS-oldiofgetpos64.c): Likewise.
22626 (CFLAGS-oldiofgetpos.c): Likewise.
22627 (CFLAGS-oldiofsetpos64.c): Likewise.
22628 (CFLAGS-oldiofsetpos.c): Likewise.
22629 (CFLAGS-peekc.c): Likewise.
22630 (CFLAGS-putc.c): Likewise.
22631 (CFLAGS-putchar.c): Likewise.
22632 (CFLAGS-putwc.c): Likewise.
22633 (CFLAGS-putwchar.c): Likewise.
22634 (CFLAGS-rewind.c): Likewise.
22635 (CFLAGS-wfileops.c): Likewise.
22636 (CFLAGS-wgenops.c): Likewise.
22637 (CFLAGS-oldiofopen.c): Likewise.
22638 (CFLAGS-iofopen.c): Likewise.
22639 (CFLAGS-iofopen64.c): Likewise.
22640 (CFLAGS-oldtmpfile.c): Likewise.
22641 (CFLAGS-tst_putwc.c): Likewise.
22642 * locale/Makefile (CFLAGS-md5.c): Likewise.
22643 (CFLAGS-charmap.c): Likewise.
22644 (CFLAGS-locfile.c): Likewise.
22645 (CFLAGS-charmap-dir.c): Likewise.
22646 * login/Makefile (CFLAGS-grantpt.c): Likewise.
22647 (CFLAGS-getpt.c): Likewise.
22648 (CFLAGS-pt_chown.c): Likewise.
22649 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
22650 (CFLAGS-obstack.c): Likewise.
22651 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
22652 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
22653 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
22654 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
22655 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
22656 (CFLAGS-test-tgmath.c): Likewise.
22657 (CFLAGS-test-tgmath2.c): Likewise.
22658 (CFLAGS-test-tgmath-ret.c): Likewise.
22659 (CFLAGS-test-powl.c): Likewise.
22660 (CFLAGS-test-snan.c): Likewise.
22661 (CFLAGS-test-signgam-finite.c): Likewise.
22662 (CFLAGS-test-signgam-finite-c99.c): Likewise.
22663 (CFLAGS-test-signgam-finite-c11.c): Likewise.
22664 (CFLAGS-test-signgam-uchar.c): Likewise.
22665 (CFLAGS-test-signgam-uchar-init.c): Likewise.
22666 (CFLAGS-test-signgam-uchar-static.c): Likewise.
22667 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22668 (CFLAGS-test-signgam-uint.c): Likewise.
22669 (CFLAGS-test-signgam-uint-init.c): Likewise.
22670 (CFLAGS-test-signgam-uint-static.c): Likewise.
22671 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22672 (CFLAGS-test-signgam-ullong.c): Likewise.
22673 (CFLAGS-test-signgam-ullong-init.c): Likewise.
22674 (CFLAGS-test-signgam-ullong-static.c): Likewise.
22675 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22676 (CFLAGS-test-math-cxx11.cc): Likewise.
22677 (CFLAGS-test-math-isinff.cc): Likewise.
22678 (CFLAGS-test-math-iszero.cc): Likewise.
22679 (CFLAGS-test-math-issignaling.cc): Likewise.
22680 (CFLAGS-test-math-iscanonical.cc): Likewise.
22681 (CFLAGS-test-iszero-excess-precision.c): Likewise.
22682 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
22683 (CFLAGS-test-flt-eval-method.c): Likewise.
22684 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
22685 (CFLAGS-test-finite-macros.c): Likewise.
22686 * misc/Makefile (CFLAGS-select.c): Likewise.
22687 (CFLAGS-tsearch.c): Likewise.
22688 (CFLAGS-lsearch.c): Likewise.
22689 (CFLAGS-pselect.c): Likewise.
22690 (CFLAGS-readv.c): Likewise.
22691 (CFLAGS-writev.c): Likewise.
22692 (CFLAGS-preadv.c): Likewise.
22693 (CFLAGS-preadv64.c): Likewise.
22694 (CFLAGS-pwritev.c): Likewise.
22695 (CFLAGS-pwritev64.c): Likewise.
22696 (CFLAGS-preadv2.c): Likewise.
22697 (CFLAGS-preadv64v2.c): Likewise.
22698 (CFLAGS-pwritev2.c): Likewise.
22699 (CFLAGS-pwritev64v2.c): Likewise.
22700 (CFLAGS-usleep.c): Likewise.
22701 (CFLAGS-syslog.c): Likewise.
22702 (CFLAGS-error.c): Likewise.
22703 (CFLAGS-getpass.c): Likewise.
22704 (CFLAGS-mkstemp.c): Likewise.
22705 (CFLAGS-mkstemp64.c): Likewise.
22706 (CFLAGS-getsysstats.c): Likewise.
22707 (CFLAGS-getusershell.c): Likewise.
22708 (CFLAGS-err.c): Likewise.
22709 (CFLAGS-tst-tsearch.c): Likewise.
22710 (CFLAGS-msync.c): Likewise.
22711 (CFLAGS-fdatasync.c): Likewise.
22712 (CFLAGS-fsync.c): Likewise.
22713 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
22714 (CFLAGS-unwind.c): Likewise.
22715 (CFLAGS-unwind-forcedunwind.c): Likewise.
22716 (CFLAGS-pthread_cancel.c): Likewise.
22717 (CFLAGS-pthread_setcancelstate.c): Likewise.
22718 (CFLAGS-pthread_setcanceltype.c): Likewise.
22719 (CFLAGS-cancellation.c): Likewise.
22720 (CFLAGS-libc-cancellation.c): Likewise.
22721 (CFLAGS-pthread_exit.c): Likewise.
22722 (CFLAGS-forward.c): Likewise.
22723 (CFLAGS-pthread_testcancel.c): Likewise.
22724 (CFLAGS-pthread_join.c): Likewise.
22725 (CFLAGS-pthread_timedjoin.c): Likewise.
22726 (CFLAGS-pthread_once.c): Likewise.
22727 (CFLAGS-pthread_cond_wait.c): Likewise.
22728 (CFLAGS-sem_wait.c): Likewise.
22729 (CFLAGS-sem_timedwait.c): Likewise.
22730 (CFLAGS-fcntl.c): Likewise.
22731 (CFLAGS-lockf.c): Likewise.
22732 (CFLAGS-pread.c): Likewise.
22733 (CFLAGS-pread64.c): Likewise.
22734 (CFLAGS-pwrite.c): Likewise.
22735 (CFLAGS-pwrite64.c): Likewise.
22736 (CFLAGS-wait.c): Likewise.
22737 (CFLAGS-waitpid.c): Likewise.
22738 (CFLAGS-sigwait.c): Likewise.
22739 (CFLAGS-msgrcv.c): Likewise.
22740 (CFLAGS-msgsnd.c): Likewise.
22741 (CFLAGS-tcdrain.c): Likewise.
22742 (CFLAGS-open.c): Likewise.
22743 (CFLAGS-open64.c): Likewise.
22744 (CFLAGS-pause.c): Likewise.
22745 (CFLAGS-recv.c): Likewise.
22746 (CFLAGS-send.c): Likewise.
22747 (CFLAGS-accept.c): Likewise.
22748 (CFLAGS-sendto.c): Likewise.
22749 (CFLAGS-connect.c): Likewise.
22750 (CFLAGS-recvfrom.c): Likewise.
22751 (CFLAGS-recvmsg.c): Likewise.
22752 (CFLAGS-sendmsg.c): Likewise.
22753 (CFLAGS-close.c): Likewise.
22754 (CFLAGS-read.c): Likewise.
22755 (CFLAGS-write.c): Likewise.
22756 (CFLAGS-nanosleep.c): Likewise.
22757 (CFLAGS-sigsuspend.c): Likewise.
22758 (CFLAGS-msync.c): Likewise.
22759 (CFLAGS-fdatasync.c): Likewise.
22760 (CFLAGS-fsync.c): Likewise.
22761 (CFLAGS-pt-system.c): Likewise.
22762 (CFLAGS-tst-cleanup2.c): Likewise.
22763 (CFLAGS-tst-cleanupx2.c): Likewise.
22764 (CFLAGS-flockfile.c): Likewise.
22765 (CFLAGS-ftrylockfile.c): Likewise.
22766 (CFLAGS-funlockfile.c): Likewise.
22767 (CFLAGS-tst-initializers1.c): Likewise.
22768 (CFLAGS-tst-initializers1-c89.c): Likewise.
22769 (CFLAGS-tst-initializers1-c99.c): Likewise.
22770 (CFLAGS-tst-initializers1-c11.c): Likewise.
22771 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
22772 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
22773 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22774 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
22775 (CFLAGS-nscd_getgr_r.c): Likewise.
22776 (CFLAGS-nscd_gethst_r.c): Likewise.
22777 (CFLAGS-nscd_getai.c): Likewise.
22778 (CFLAGS-nscd_initgroups.c): Likewise.
22779 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
22780 (CFLAGS-pause.c): Likewise.
22781 (CFLAGS-pread.c): Likewise.
22782 (CFLAGS-pread64.c): Likewise.
22783 (CFLAGS-pwrite.c): Likewise.
22784 (CFLAGS-pwrite64.c): Likewise.
22785 (CFLAGS-sleep.c): Likewise.
22786 (CFLAGS-wait.c): Likewise.
22787 (CFLAGS-waitid.c): Likewise.
22788 (CFLAGS-waitpid.c): Likewise.
22789 (CFLAGS-getopt.c): Likewise.
22790 (CFLAGS-wordexp.c): Likewise.
22791 (CFLAGS-sysconf.c): Likewise.
22792 (CFLAGS-pathconf.c): Likewise.
22793 (CFLAGS-fpathconf.c): Likewise.
22794 (CFLAGS-spawn.c): Likewise.
22795 (CFLAGS-spawnp.c): Likewise.
22796 (CFLAGS-spawni.c): Likewise.
22797 (CFLAGS-glob.c): Likewise.
22798 (CFLAGS-glob64.c): Likewise.
22799 (CFLAGS-getconf.c): Likewise.
22800 (CFLAGS-nanosleep.c): Likewise.
22801 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
22802 (CFLAGS-getpwent.c): Likewise.
22803 (CFLAGS-getpw.c): Likewise.
22804 (CFLAGS-fgetpwent_r.c): Likewise.
22805 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
22806 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
22807 (CFLAGS-mq_timedreceive.c): Likewise.
22808 (CFLAGS-mq_timedsend.c): Likewise.
22809 (CFLAGS-clock_nanosleep.c): Likewise.
22810 (CFLAGS-librt-cancellation.c): Likewise.
22811 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
22812 (CFLAGS-getspent.c): Likewise.
22813 (CFLAGS-fgetspent.c): Likewise.
22814 (CFLAGS-fgetspent_r.c): Likewise.
22815 (CFLAGS-putspent.c): Likewise.
22816 (CFLAGS-getspnam.c): Likewise.
22817 (CFLAGS-getspnam_r.c): Likewise.
22818 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
22819 (CFLAGS-sigsuspend.c): Likewise.
22820 (CFLAGS-sigtimedwait.c): Likewise.
22821 (CFLAGS-sigwait.c): Likewise.
22822 (CFLAGS-sigwaitinfo.c): Likewise.
22823 (CFLAGS-sigreturn.c): Likewise.
22824 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22825 (CFLAGS-vfwprintf.c): Likewise.
22826 (CFLAGS-tmpfile.c): Likewise.
22827 (CFLAGS-tmpfile64.c): Likewise.
22828 (CFLAGS-tempname.c): Likewise.
22829 (CFLAGS-psignal.c): Likewise.
22830 (CFLAGS-vprintf.c): Likewise.
22831 (CFLAGS-cuserid.c): Likewise.
22832 (CFLAGS-errlist.c): Likewise.
22833 (CFLAGS-siglist.c): Likewise.
22834 (CFLAGS-scanf15.c): Likewise.
22835 (CFLAGS-scanf17.c): Likewise.
22836 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
22837 (CFLAGS-msort.c): Likewise.
22838 (CFLAGS-qsort.c): Likewise.
22839 (CFLAGS-system.c): Likewise.
22840 (CFLAGS-fmtmsg.c): Likewise.
22841 (CFLAGS-strfmon.c): Likewise.
22842 (CFLAGS-strfmon_l.c): Likewise.
22843 (CFLAGS-strfromd.c): Likewise.
22844 (CFLAGS-strfromf.c): Likewise.
22845 (CFLAGS-strfroml.c): Likewise.
22846 (CFLAGS-tst-bsearch.c): Likewise.
22847 (CFLAGS-tst-qsort.c): Likewise.
22848 (CFLAGS-tst-makecontext2.c): Likewise.
22849 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
22850 (CFLAGS-xnlm_prot.c): Likewise.
22851 (CFLAGS-xrstat.c): Likewise.
22852 (CFLAGS-xyppasswd.c): Likewise.
22853 (CFLAGS-xklm_prot.c): Likewise.
22854 (CFLAGS-xrex.c): Likewise.
22855 (CFLAGS-xsm_inter.c): Likewise.
22856 (CFLAGS-xmount.c): Likewise.
22857 (CFLAGS-xrusers.c): Likewise.
22858 (CFLAGS-xspray.c): Likewise.
22859 (CFLAGS-xnfs_prot.c): Likewise.
22860 (CFLAGS-xrquota.c): Likewise.
22861 (CFLAGS-xkey_prot.c): Likewise.
22862 (CFLAGS-auth_unix.c): Likewise.
22863 (CFLAGS-key_call.c): Likewise.
22864 (CFLAGS-pmap_rmt.c): Likewise.
22865 (CFLAGS-clnt_perr.c): Likewise.
22866 (CFLAGS-openchild.c): Likewise.
22867 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
22868 (CFLAGS-msgsnd.c): Likewise.
22869 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
22870 * time/Makefile (CFLAGS-tzfile.c): Likewise.
22871 (CFLAGS-tzset.c): Likewise.
22872 (CFLAGS-getdate.c): Likewise.
22873 (CFLAGS-test_time.c): Likewise.
22874 (CPPFLAGS-tst-tzname.c): Likewise.
22875 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
22876 (CFLAGS-zic.c): Likewise.
22877 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
22878 (CFLAGS-wcswidth.c): Likewise.
22879 (CFLAGS-wcstol.c): Likewise.
22880 (CFLAGS-wcstoul.c): Likewise.
22881 (CFLAGS-wcstoll.c): Likewise.
22882 (CFLAGS-wcstoull.c): Likewise.
22883 (CFLAGS-wcstod.c): Likewise.
22884 (CFLAGS-wcstold.c): Likewise.
22885 (CFLAGS-wcstof128.c): Likewise.
22886 (CFLAGS-wcstof.c): Likewise.
22887 (CFLAGS-wcstol_l.c): Likewise.
22888 (CFLAGS-wcstoul_l.c): Likewise.
22889 (CFLAGS-wcstoll_l.c): Likewise.
22890 (CFLAGS-wcstoull_l.c): Likewise.
22891 (CFLAGS-wcstod_l.c): Likewise.
22892 (CFLAGS-wcstold_l.c): Likewise.
22893 (CFLAGS-wcstof128_l.c): Likewise.
22894 (CFLAGS-wcstof_l.c): Likewise.
22895 (CPPFLAGS-tst-wchar-h.c): Likewise.
22896 (CPPFLAGS-wcstold_l.c): Likewise.
22898 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
22900 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
22902 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22903 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22905 * manual/tunables.texi (Hardware Capability Tunables): Document
22906 glibc.tune.cached_memopt.
22907 * sysdeps/powerpc/cpu-features.c: New file.
22908 * sysdeps/powerpc/cpu-features.h: New file.
22909 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
22910 _dl_powerpc_cpu_features.
22911 * sysdeps/powerpc/dl-tunables.list: New file.
22912 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
22913 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22914 (INIT_ARCH): Initialize use_aligned_memopt.
22915 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
22916 IS_IN(rtld))]: Restrict dl_platform_init availability and
22917 initialize CPU features used by tunables.
22918 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
22919 Add memcpy-power8-cached.
22920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
22921 __memcpy_power8_cached.
22922 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22923 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
22926 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22928 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
22929 (CFLAGS-noinl-tester.c): Likewise.
22930 (CFLAGS-tst-strlen.c): Likewise.
22931 (CFLAGS-stratcliff.c): Likewise.
22932 (CFLAGS-test-ffs.c): Likewise.
22933 (CFLAGS-tst-inlcall.c): Likewise.
22934 (CFLAGS-tst-xbzero-opt.c): Likewise.
22935 (CFLAGS-memcpy.c): Likewise.
22936 (CFLAGS-wordcopy.c): Likewise.
22938 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22940 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
22941 Store r15 on stack and add cfi rule.
22942 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22945 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
22948 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
22951 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22953 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22954 Add s_sinf-sse2 and s_sinf-fma.
22955 (CFLAGS-s_sinf-fma.c): New.
22956 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
22957 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
22958 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
22960 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22962 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
22964 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22967 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
22968 part of result to imaginary part of argument if it is zero and the
22969 real part of the argument is not finite.
22970 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
22971 of result to real part of argument if it is zero and the imaginary
22972 part of the argument is not finite.
22974 2017-12-07 Mike FABIAN <mfabian@redhat.com>
22977 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
22978 and to the list of locales to be built for testing.
22979 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
22980 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
22981 and build the collation rules upon that.
22983 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22985 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
22986 * manual/math.texi (Mathematics): Document support for _Float32.
22987 * math/Makefile (test-types): Add float32.
22988 * math/Versions (GLIBC_2.27): Add _Float32 functions.
22989 * stdlib/Versions (GLIBC_2.27): Likewise.
22990 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22991 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22992 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22993 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22994 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22995 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22996 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22997 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22998 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22999 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23000 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23001 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23002 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23003 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23004 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23005 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23006 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23007 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23008 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23009 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23010 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23011 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23013 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23014 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23015 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23016 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23017 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23035 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23036 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23037 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23038 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23039 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23040 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23041 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23042 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23043 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23044 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23053 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23054 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23055 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23056 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23057 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23058 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23059 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23060 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23062 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23064 * stdlib/strtof.c: Include <bits/floatn.h>
23065 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
23066 and later undefine as macro. Define as weak alias if
23068 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
23069 and later undefine as macro. Define as weak alias if
23071 * stdlib/strtof_l.c: Include <bits/floatn.h>
23072 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
23073 and later undefine as macro. Define as weak alias if
23075 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
23076 and later undefine as macro. Define as weak alias if
23079 * stdlib/strfromf.c: Include <bits/floatn.h>.
23080 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
23081 and later undefine as macro and define as weak alias.
23083 * math/test-float32.h: New file.
23085 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
23086 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
23087 (libm_alias_float_other_r): Create f32 alias.
23088 (libm_alias_float_r): Use semicolon before call to
23089 libm_alias_float_other_r.
23091 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
23092 second argument to libm_alias_float_other.
23093 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
23094 second argument to libm_alias_float_other.
23095 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
23096 argument to libm_alias_float_other.
23099 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
23100 real part of result for argument 0 + i * NaN.
23101 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
23102 results for tests of 0 + i * NaN.
23104 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23106 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23108 2017-12-06 David S. Miller <davem@davemloft.net>
23110 * sysdeps/sparc/fpu/libm-test-ulps: Update
23111 exp_{downward,towardzero,upward} ulps.
23113 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23115 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
23118 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
23120 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
23122 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
23124 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
23127 2017-12-06 Mike FABIAN <mfabian@redhat.com>
23130 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
23131 and to the list of locales to be built for testing.
23132 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
23133 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
23134 and build the collation rules upon that.
23136 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23138 * NEWS: Add sinf to list of optimized functions.
23140 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23142 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
23143 (__HAVE_FLOAT32X): Likewise.
23144 * manual/math.texi (Mathematics): Document support for _Float64
23146 * math/Makefile (test-types): Add float64 and float32x.
23147 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
23149 * stdlib/Versions (GLIBC_2.27): Likewise.
23150 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23151 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23152 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23153 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23154 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23155 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23156 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23157 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23158 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23159 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23160 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23161 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23162 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23163 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23164 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23165 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23166 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23167 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23168 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23169 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23170 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23171 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23173 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23174 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23175 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23176 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23177 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23194 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23195 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23196 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23197 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23198 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23199 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23200 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23201 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23202 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23203 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23212 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23213 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23214 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23215 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23216 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23217 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23218 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23219 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23221 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23223 * bits/floatn-common.h: Include <bits/long-double.h>.
23224 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23225 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
23226 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23227 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
23228 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23229 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
23230 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23231 (__builtin_huge_valf64): Use __builtin_huge_vall.
23232 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23233 (__builtin_inff64): Use __builtin_infl.
23234 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23235 (__builtin_nanf64): Use __builtin_nanl.
23236 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23237 (__builtin_nansf64): Use __builtin_nansl.
23239 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
23240 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23241 Carlos O'Donnell <carlos@redhat.com>
23243 * elf/dl-tunables.list: Add elision parameters.
23244 * manual/tunables.texi: Add entries about elision tunable.
23245 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
23246 Add callback functions to dynamically enable/disable elision.
23247 Add multiple callbacks functions to set elision parameters.
23248 Deleted __libc_enable_secure check.
23249 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
23250 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
23251 * configure: Regenerated.
23252 * configure.ac: Option enable_lock_elision was deleted.
23253 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
23254 * config.make.in: Remove references to enable_lock_elision.
23255 * manual/install.texi: Elision configure option was removed.
23256 * INSTALL: Regenerated to remove enable_lock_elision.
23258 Disable elision so it can verify error case for destroying a mutex.
23259 * sysdeps/powerpc/nptl/elide.h:
23260 Cleanup ENABLE_LOCK_ELISION check.
23261 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
23262 * sysdeps/s390/configure: Regenerated.
23263 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
23264 * nptl/tst-mutex8.c:
23265 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
23266 * sysdeps/powerpc/powerpc32/sysdep.h:
23267 Deleted all ENABLE_LOCK_ELISION checks.
23268 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23269 * sysdeps/powerpc/sysdep.h: Likewise.
23270 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
23271 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
23272 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23273 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23274 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23275 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
23276 enable-lock-elision.
23278 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23280 * stdlib/strtod.c: Include <bits/floatn.h>.
23281 (BUILD_DOUBLE): New macro.
23282 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23283 (strtof64): Define and later undefine as macro. Define as weak
23284 alias if [!USE_WIDE_CHAR].
23285 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23286 (wcstof64): Define and later undefine as macro. Define as weak
23287 alias if [USE_WIDE_CHAR].
23288 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23289 (strtof32x): Define and later undefine as macro. Define as weak
23290 alias if [!USE_WIDE_CHAR].
23291 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23292 (wcstof32x): Define and later undefine as macro. Define as weak
23293 alias if [USE_WIDE_CHAR].
23294 * stdlib/strtod_l.c: Include <bits/floatn.h>.
23295 (BUILD_DOUBLE): New macro.
23296 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23297 (strtof64_l): Define and later undefine as macro. Define as weak
23298 alias if [!USE_WIDE_CHAR].
23299 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23300 (wcstof64_l): Define and later undefine as macro. Define as weak
23301 alias if [USE_WIDE_CHAR].
23302 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23303 (strtof32x_l): Define and later undefine as macro. Define as weak
23304 alias if [!USE_WIDE_CHAR].
23305 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23306 (wcstof32x_l): Define and later undefine as macro. Define as weak
23307 alias if [USE_WIDE_CHAR].
23309 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23311 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
23312 (reduced): Use ones as double instead of integer.
23314 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
23316 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
23318 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23320 * stdlib/strfromd.c: Include <bits/floatn.h>.
23321 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
23322 and later undefine as macro and define as weak alias.
23323 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
23326 * math/test-float32x.h: New file.
23327 * math/test-float64.h: Likewise.
23329 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
23330 (libm_alias_double_other_r_f64): New macro.
23331 (libm_alias_double_other_r_f32x): Likewise.
23332 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23333 libm_alias_double_other_r_f32x.
23334 (libm_alias_double_r): Use semicolon before call to
23335 libm_alias_double_other_r.
23336 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
23338 (libm_alias_double_other_r_f64): New macro.
23339 (libm_alias_double_other_r_f32x): Likewise.
23340 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23341 libm_alias_double_other_r_f32x.
23343 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
23345 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
23347 (SINF_FUNC): Likewise. Replace floor with simple casts.
23349 2017-12-05 Mike FABIAN <mfabian@redhat.com>
23352 * localedata/Makefile: Add et_EE.UTF-8 to test-input
23353 and to the list of locales to be built for testing.
23354 * localedata/et_EE.UTF-8.in: New file for testing the collation.
23355 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
23356 and build the collation rules upon that.
23358 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
23360 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
23361 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
23362 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
23363 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
23364 instead of __insn__xxx.
23365 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
23366 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
23367 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
23368 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
23369 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
23370 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
23372 2017-12-05 Florian Weimer <fweimer@redhat.com>
23374 Linux: Implement interfaces for memory protection keys
23375 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
23377 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
23378 * support/xunistd.h (xsysconf): Declare.
23379 * support/xraise.c: New file.
23380 * support/xsigaction.c: Likewise.
23381 * support/xsignal.c: Likewise.
23382 * support/xsysconf.c: Likewise.
23383 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
23384 pkey_set, pkey_get, pkey_mprotect.
23385 [misc] (tests): Add tst-pkey.
23386 (tst-pkey): Link with -lpthread.
23387 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
23388 pkey_free, pkey_set, pkey_get, pkey_mprotect.
23389 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
23390 (PKEY_DISABLE_WRITE): Define.
23391 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
23393 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
23394 (SEGV_PKUERR): Add.
23395 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
23396 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
23397 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
23398 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
23400 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
23401 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
23402 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
23403 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
23404 * sysdeps/unix/sysv/linux/**.abilist: Update.
23406 2017-12-05 Florian Weimer <fweimer@redhat.com>
23408 * support/tst-test_compare.c (subprocess): Use long long instead
23409 of long argument for consistent type width across 32-bit and
23410 64-bit architectures.
23411 (do_test): Adjust expected output.
23413 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23415 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
23416 (cosf): Define using libm_alias_float.
23417 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
23418 (fabsf): Define using libm_alias_float.
23419 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
23420 (fmaf): Define using libm_alias_float.
23421 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
23422 (rintf): Define using libm_alias_float.
23423 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
23424 (sinf): Define using libm_alias_float.
23425 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
23426 <libm-alias-float.h>.
23427 (modff): Define using libm_alias_float.
23428 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
23429 <libm-alias-float.h>.
23430 (logbf): Define using libm_alias_float.
23431 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
23432 <libm-alias-float.h>.
23433 (ceilf): Define using libm_alias_float.
23434 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23435 <libm-alias-float.h>.
23436 (copysignf): Define using libm_alias_float.
23437 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
23438 <libm-alias-float.h>.
23439 (floorf): Define using libm_alias_float.
23440 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23441 <libm-alias-float.h>.
23442 (llrintf): Define using libm_alias_float.
23443 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23444 <libm-alias-float.h>.
23445 (llroundf): Define using libm_alias_float.
23446 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23447 <libm-alias-float.h>.
23448 (lrintf): Define using libm_alias_float.
23449 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23450 <libm-alias-float.h>.
23451 (lroundf): Define using libm_alias_float.
23452 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
23453 <libm-alias-float.h>.
23454 (nearbyintf): Define using libm_alias_float.
23455 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
23456 <libm-alias-float.h>.
23457 (rintf): Define using libm_alias_float.
23458 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
23459 <libm-alias-float.h>.
23460 (roundf): Define using libm_alias_float.
23461 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
23462 <libm-alias-float.h>.
23463 (truncf): Define using libm_alias_float.
23464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
23465 Include <libm-alias-float.h>.
23466 (ceilf): Define using libm_alias_float.
23467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
23468 Include <libm-alias-float.h>.
23469 (copysignf): Define using libm_alias_float.
23470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
23471 Include <libm-alias-float.h>.
23472 (floorf): Define using libm_alias_float.
23473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
23474 Include <libm-alias-float.h>.
23475 (llrintf): Define using libm_alias_float.
23476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
23477 Include <libm-alias-float.h>.
23478 (llroundf): Define using libm_alias_float.
23479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
23480 Include <libm-alias-float.h>.
23481 (logbf): Define using libm_alias_float.
23482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
23483 Include <libm-alias-float.h>.
23484 (lrintf): Define using libm_alias_float.
23485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
23486 Include <libm-alias-float.h>.
23487 (lroundf): Define using libm_alias_float.
23488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
23489 Include <libm-alias-float.h>.
23490 (modff): Define using libm_alias_float.
23491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
23492 Include <libm-alias-float.h>.
23493 (roundf): Define using libm_alias_float.
23494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
23495 Include <libm-alias-float.h>.
23496 (truncf): Define using libm_alias_float.
23497 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
23498 <libm-alias-float.h>.
23499 (llrintf): Define using libm_alias_float.
23500 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23501 <libm-alias-float.h>.
23502 (llroundf): Define using libm_alias_float.
23503 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
23504 <libm-alias-float.h>.
23505 (ceilf): Define using libm_alias_float.
23506 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
23507 <libm-alias-float.h>.
23508 (floorf): Define using libm_alias_float.
23509 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23510 <libm-alias-float.h>.
23511 (llroundf): Define using libm_alias_float.
23512 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23513 <libm-alias-float.h>.
23514 (lroundf): Define using libm_alias_float.
23515 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
23516 <libm-alias-float.h>.
23517 (roundf): Define using libm_alias_float.
23518 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
23519 <libm-alias-float.h>.
23520 (truncf): Define using libm_alias_float.
23521 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23522 <libm-alias-float.h>.
23523 (copysignf): Define using libm_alias_float.
23524 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
23525 <libm-alias-float.h>.
23526 (llrintf): Define using libm_alias_float.
23527 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23528 <libm-alias-float.h>.
23529 (llroundf): Define using libm_alias_float.
23530 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23531 <libm-alias-float.h>.
23532 (lrintf): Define using libm_alias_float.
23533 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23534 <libm-alias-float.h>.
23535 (lroundf): Define using libm_alias_float.
23536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
23537 <libm-alias-float.h>.
23538 (ceilf): Define using libm_alias_float.
23539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
23540 <libm-alias-float.h>.
23541 (copysignf): Define using libm_alias_float.
23542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
23543 <libm-alias-float.h>.
23544 (cosf): Define using libm_alias_float.
23545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
23546 <libm-alias-float.h>.
23547 (floorf): Define using libm_alias_float.
23548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
23549 <libm-alias-float.h>.
23550 (llrintf): Define using libm_alias_float.
23551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
23552 <libm-alias-float.h>.
23553 (llroundf): Define using libm_alias_float.
23554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
23555 <libm-alias-float.h>.
23556 (logbf): Define using libm_alias_float.
23557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
23558 <libm-alias-float.h>.
23559 (modff): Define using libm_alias_float.
23560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
23561 <libm-alias-float.h>.
23562 (roundf): Define using libm_alias_float.
23563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
23564 <libm-alias-float.h>.
23565 (sinf): Define using libm_alias_float.
23566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
23567 <libm-alias-float.h>.
23568 (truncf): Define using libm_alias_float.
23569 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
23570 <libm-alias-float.h>.
23571 (ceilf): Define using libm_alias_float.
23572 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23573 <libm-alias-float.h>.
23574 (copysignf): Define using libm_alias_float.
23575 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
23576 <libm-alias-float.h>.
23577 (floorf): Define using libm_alias_float.
23578 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23579 <libm-alias-float.h>.
23580 (llrintf): Define using libm_alias_float.
23581 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
23582 <libm-alias-float.h>.
23583 (llroundf): Define using libm_alias_float.
23584 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
23585 <libm-alias-float.h>.
23586 (nearbyintf): Define using libm_alias_float.
23587 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
23588 <libm-alias-float.h>.
23589 (rintf): Define using libm_alias_float.
23590 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
23591 <libm-alias-float.h>.
23592 (roundf): Define using libm_alias_float.
23593 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
23594 <libm-alias-float.h>.
23595 (truncf): Define using libm_alias_float.
23596 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
23597 <libm-alias-float.h>.
23598 (ceilf): Define using libm_alias_float.
23599 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
23600 <libm-alias-float.h>.
23601 (floorf): Define using libm_alias_float.
23602 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23603 <libm-alias-float.h>.
23604 (llroundf): Define using libm_alias_float.
23605 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
23606 <libm-alias-float.h>.
23607 (roundf): Define using libm_alias_float.
23608 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
23609 <libm-alias-float.h>.
23610 (truncf): Define using libm_alias_float.
23611 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23612 <libm-alias-float.h>.
23613 (copysignf): Define using libm_alias_float.
23614 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23615 <libm-alias-float.h>.
23616 (llrintf): Define using libm_alias_float.
23617 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23618 <libm-alias-float.h>.
23619 (llroundf): Define using libm_alias_float.
23620 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
23621 <libm-alias-float.h>.
23622 (cosf): Define using libm_alias_float.
23623 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23624 <libm-alias-float.h>.
23625 (llrintf): Define using libm_alias_float.
23626 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23627 <libm-alias-float.h>.
23628 (llroundf): Define using libm_alias_float.
23629 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
23630 <libm-alias-float.h>.
23631 (sinf): Define using libm_alias_float.
23633 2017-12-04 Florian Weimer <fweimer@redhat.com>
23635 * support/check.h (TEST_COMPARE): Define.
23636 (support_test_compare_failure): Declare.
23637 * support/Makefile (libsupport-routines): Add
23638 support_test_compare_failure.
23639 (tests): Add tst-test_compare.
23640 * support /support_test_compare_failure.c: New file.
23641 * support/tst-test_compare.c: Likewise.
23643 2017-12-04 Mike FABIAN <mfabian@redhat.com>
23646 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
23647 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
23648 available, this rewrite of the collation rules does reproduce
23649 the test file in the same order.
23651 2017-12-04 Mike FABIAN <mfabian@redhat.com>
23654 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
23655 digraphs in the month and day names. Using single code points for
23656 digraphs is deprecated. While there are dedicated Unicode
23657 codepoints, for the digraphs, these are included for backwards
23658 compatibility and modern texts use a sequence of Basic Latin
23659 characters. See: https://www.unicode.org/faq/ligature_digraph.html
23660 This makes the month and day names agree exactly with CLDR now,
23661 CLDR does not use the single code points for the digraphs either.
23663 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
23665 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
23667 2017-12-04 Joseph Myers <joseph@codesourcery.com>
23669 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
23672 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
23674 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
23675 Define only for libc.so.
23677 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
23679 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23680 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
23681 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
23682 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
23683 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23685 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23688 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
23690 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
23693 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
23694 PREINIT_FUNCTION_WEAK is nonzero.
23695 (gmon_initializer): New function. Put procedure label for it in
23696 .init_array section.
23697 (_init): Don't call PREINIT_FUNCTION.
23698 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
23699 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
23700 value when map argument is null.
23702 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
23703 depi instruction from PIC pc-relative sequence.
23704 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
23705 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
23706 (elf_machine_load_address): Likewise.
23707 (elf_machine_runtime_setup): Likewise.
23709 2017-12-02 Joseph Myers <joseph@codesourcery.com>
23711 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
23712 <libm-alias-double.h>.
23713 (logb): Define using libm_alias_double.
23714 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23715 <libm-alias-double.h>.
23716 (copysign): Define using libm_alias_double.
23717 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
23718 <libm-alias-double.h>.
23719 (llrint): Define using libm_alias_double.
23720 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
23721 <libm-alias-double.h>.
23722 (llround): Define using libm_alias_double.
23723 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23724 <libm-alias-double.h>.
23725 (lrint): Define using libm_alias_double.
23726 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23727 <libm-alias-double.h>.
23728 (lround): Define using libm_alias_double.
23729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23730 Include <libm-alias-double.h>.
23731 (copysign): Define using libm_alias_double.
23732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
23733 Include <libm-alias-double.h>.
23734 (llrint): Define using libm_alias_double.
23735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
23736 Include <libm-alias-double.h>.
23737 (llround): Define using libm_alias_double.
23738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
23739 <libm-alias-double.h>.
23740 (logb): Define using libm_alias_double.
23741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
23742 Include <libm-alias-double.h>.
23743 (lrint): Define using libm_alias_double.
23744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
23745 Include <libm-alias-double.h>.
23746 (lround): Define using libm_alias_double.
23747 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
23748 <libm-alias-double.h>.
23749 (llrint): Define using libm_alias_double.
23750 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23751 <libm-alias-double.h>.
23752 (llround): Define using libm_alias_double.
23753 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23754 <libm-alias-double.h>.
23755 (llround): Define using libm_alias_double.
23756 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23757 <libm-alias-double.h>.
23758 (lround): Define using libm_alias_double.
23759 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23760 <libm-alias-double.h>.
23761 (copysign): Define using libm_alias_double.
23762 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
23763 <libm-alias-double.h>.
23764 (llrint): Define using libm_alias_double.
23765 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23766 <libm-alias-double.h>.
23767 (llround): Define using libm_alias_double.
23768 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23769 <libm-alias-double.h>.
23770 (lrint): Define using libm_alias_double.
23771 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23772 <libm-alias-double.h>.
23773 (lround): Define using libm_alias_double.
23774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
23775 <libm-alias-double.h>.
23776 (copysign): Define using libm_alias_double.
23777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
23778 <libm-alias-double.h>.
23779 (llrint): Define using libm_alias_double.
23781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
23782 <libm-alias-double.h>.
23783 (llround): Define using libm_alias_double.
23784 (lround): Likewise.
23785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
23786 <libm-alias-double.h>.
23787 (logb): Define using libm_alias_double.
23788 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23789 <libm-alias-double.h>.
23790 (copysign): Define using libm_alias_double.
23791 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23792 <libm-alias-double.h>.
23793 (llrint): Define using libm_alias_double.
23795 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
23796 <libm-alias-double.h>.
23797 (llround): Define using libm_alias_double.
23798 (lround): Likewise.
23799 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23800 <libm-alias-double.h>.
23801 (llround): Define using libm_alias_double.
23802 (lround): Likewise.
23803 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23804 <libm-alias-double.h>.
23805 (copysign): Define using libm_alias_double.
23806 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23807 <libm-alias-double.h>.
23808 (llrint): Define using libm_alias_double.
23810 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23811 <libm-alias-double.h>.
23812 (llround): Define using libm_alias_double.
23813 (lround): Likewise.
23814 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23815 <libm-alias-double.h>.
23816 (llrint): Define using libm_alias_double.
23818 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23819 <libm-alias-double.h>.
23820 (llround): Define using libm_alias_double.
23821 (lround): Likewise.
23823 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23826 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
23827 compat symbol based on llround.
23829 * sysdeps/powerpc/power7/fpu/s_logb.c
23830 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
23831 symbol based on __logb, not on logb.
23832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
23833 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
23835 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23837 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
23838 (rint): Define using libm_alias_double.
23839 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
23840 <libm-alias-double.h>.
23841 (modf): Define using libm_alias_double.
23842 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
23843 <libm-alias-double.h>.
23844 (ceil): Define using libm_alias_double.
23845 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
23846 <libm-alias-double.h>.
23847 (floor): Define using libm_alias_double.
23848 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
23849 <libm-alias-double.h>.
23850 (nearbyint): Define using libm_alias_double.
23851 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
23852 <libm-alias-double.h>.
23853 (rint): Define using libm_alias_double.
23854 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
23855 <libm-alias-double.h>.
23856 (round): Define using libm_alias_double.
23857 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
23858 <libm-alias-double.h>.
23859 (trunc): Define using libm_alias_double.
23860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
23861 <libm-alias-double.h>.
23862 (ceil): Define using libm_alias_double.
23863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
23864 Include <libm-alias-double.h>.
23865 (floor): Define using libm_alias_double.
23866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
23867 <libm-alias-double.h>.
23868 (modf): Define using libm_alias_double.
23869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
23870 Include <libm-alias-double.h>.
23871 (round): Define using libm_alias_double.
23872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
23873 Include <libm-alias-double.h>.
23874 (trunc): Define using libm_alias_double.
23875 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
23876 <libm-alias-double.h>.
23877 (ceil): Define using libm_alias_double.
23878 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
23879 <libm-alias-double.h>.
23880 (floor): Define using libm_alias_double.
23881 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
23882 <libm-alias-double.h>.
23883 (round): Define using libm_alias_double.
23884 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
23885 <libm-alias-double.h>.
23886 (trunc): Define using libm_alias_double.
23887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
23888 <libm-alias-double.h>.
23889 (ceil): Define using libm_alias_double.
23890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
23891 <libm-alias-double.h>.
23892 (floor): Define using libm_alias_double.
23893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
23894 <libm-alias-double.h>.
23895 (modf): Define using libm_alias_double.
23896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
23897 <libm-alias-double.h>.
23898 (round): Define using libm_alias_double.
23899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
23900 <libm-alias-double.h>.
23901 (trunc): Define using libm_alias_double.
23902 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
23903 <libm-alias-double.h>.
23904 (ceil): Define using libm_alias_double.
23905 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
23906 <libm-alias-double.h>.
23907 (floor): Define using libm_alias_double.
23908 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
23909 <libm-alias-double.h>.
23910 (nearbyint): Define using libm_alias_double.
23911 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
23912 <libm-alias-double.h>.
23913 (rint): Define using libm_alias_double.
23914 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
23915 <libm-alias-double.h>.
23916 (round): Define using libm_alias_double.
23917 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
23918 <libm-alias-double.h>.
23919 (trunc): Define using libm_alias_double.
23920 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
23921 <libm-alias-double.h>.
23922 (ceil): Define using libm_alias_double.
23923 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
23924 <libm-alias-double.h>.
23925 (floor): Define using libm_alias_double.
23926 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
23927 <libm-alias-double.h>.
23928 (round): Define using libm_alias_double.
23929 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
23930 <libm-alias-double.h>.
23931 (trunc): Define using libm_alias_double.
23933 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
23934 (fabs): Define using libm_alias_double.
23935 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
23936 (fma): Define using libm_alias_double.
23937 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
23938 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
23939 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
23940 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
23942 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23944 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
23946 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
23947 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
23948 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
23951 due redirect macro.
23953 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
23955 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
23957 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23959 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
23960 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
23961 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
23962 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
23964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23965 (libm-sysdep_routines): Add s_nearbyintf-generic and
23966 s_nearbyint-generic.
23967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
23969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
23970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
23972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
23974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
23976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23980 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
23981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
23983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
23984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
23986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
23987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
23988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23991 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
23992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
23994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
23995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
23997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
23998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
23999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
24001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24002 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
24003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
24005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
24006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
24008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
24009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
24010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24013 (sysdep_calls): New rule.
24014 (sysdep_routines): Use sysdep_calls as base.
24015 (libm-sysdep_routines): Add generic rule for symbols shared with
24016 libc. Add s_copysign-generic and s_copysign-generic objects.
24017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
24019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
24020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
24022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
24023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
24024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
24026 2017-12-01 Mike FABIAN <mfabian@redhat.com>
24029 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
24030 the list of locales to be built for testing.
24031 * localedata/is_IS.UTF-8.in: New file.
24032 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
24035 2017-12-01 Joseph Myers <joseph@codesourcery.com>
24037 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
24038 <libm-alias-float.h>.
24039 (fabsf): Define using libm_alias_float.
24041 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24043 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
24045 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24047 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
24048 <libm-alias-float.h>.
24049 (fabsf): Define using libm_alias_float.
24050 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
24051 <libm-alias-float.h>.
24052 (lrintf): Define using libm_alias_float.
24053 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
24054 <libm-alias-float.h>.
24055 (rintf): Define using libm_alias_float.
24057 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
24058 <libm-alias-double.h>.
24059 (fabs): Define using libm_alias_double.
24060 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
24061 <libm-alias-double.h>.
24062 (lrint): Define using libm_alias_double.
24063 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
24064 <libm-alias-double.h>.
24065 (rint): Define using libm_alias_double.
24067 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
24068 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
24069 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
24070 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
24071 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
24072 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
24073 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
24074 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
24075 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
24076 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
24077 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
24078 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
24079 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
24080 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
24081 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
24082 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
24083 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
24084 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
24086 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
24087 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
24088 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
24090 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
24091 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
24092 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
24094 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
24095 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
24096 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
24097 s_expm1_template.c.
24098 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
24099 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
24100 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
24102 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
24103 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
24104 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
24105 s_floor_template.c.
24106 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
24107 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
24108 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
24109 s_frexp_template.c.
24110 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
24111 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
24112 s_lrint_template.c.
24113 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
24114 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
24115 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
24117 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
24118 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
24119 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
24120 s_nearbyint_template.c.
24121 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
24122 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
24123 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
24124 s_remquo_template.c.
24125 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
24126 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
24127 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
24129 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
24130 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
24131 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
24133 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
24134 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
24135 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
24136 s_sincos_template.c.
24137 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
24138 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
24139 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
24141 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
24142 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
24143 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
24145 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
24146 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
24147 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
24148 s_trunc_template.c.
24149 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
24150 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
24151 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
24152 s_atan.c instead of including s_atan.c.
24153 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
24154 s_atanf.c instead of including s_atanf.c.
24155 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
24156 s_atanl.c instead of including s_atanl.c.
24157 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
24158 instead of s_atan.c.
24159 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
24160 instead of s_atanf.c.
24161 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
24162 instead of s_atanl.c.
24164 * scripts/update-copyrights: Do not handle intl/plural.c
24167 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
24170 * configure.ac (BISON): Require to be present.
24171 * configure: Regenerated.
24172 * intl/Makefile (generated): Add plural.c.
24173 [$(BISON) != no]: Make code unconditional.
24174 (plural.c): Change rule to $(objpfx)plural.c.
24175 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
24176 * intl/plural.c: Remove.
24177 * manual/install.texi (Tools for Compilation): Document bison as
24179 * INSTALL: Regenerated.
24181 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24183 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
24184 <libm-alias-double.h>.
24185 (llrint): Define using libm_alias_double.
24186 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
24187 <libm-alias-float.h>.
24188 (llrintf): Define using libm_alias_float.
24189 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
24190 <libm-alias-ldouble.h>.
24191 (llrintl): Define using libm_alias_ldouble.
24193 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
24194 declare_mgen_alias instead of weak_alias.
24195 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
24196 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
24197 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
24199 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24201 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24203 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
24204 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
24205 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
24207 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24208 Add submul_1-generic.
24209 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
24210 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
24211 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
24213 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24214 Add addmul_1-generic.
24215 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
24216 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
24217 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
24219 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24221 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
24222 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
24223 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
24225 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24227 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
24228 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
24229 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
24231 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24233 According to CLDR, collation rules for Serbian and Bosnian
24234 should be the same as for Croatian.
24237 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
24238 and to the list of locales to be built for testing.
24239 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24240 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24241 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
24242 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
24244 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24246 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
24247 to make test case pass.
24248 * localedata/hr_HR.UTF-8.in: Add more test strings.
24250 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24252 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
24254 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
24256 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
24257 the list of locales to built for testing.
24258 * localedata/hr_HR.UTF-8.in: New file.
24260 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
24263 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
24265 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
24266 CLDR (except use ligatures for the digraphs, CLDR does not use
24267 the ligatures), add first_workday, some fixes in the date and time
24269 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
24271 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
24272 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
24273 Add int_p_cs_precedes and int_n_cs_precedes.
24274 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
24275 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
24277 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
24278 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
24280 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
24281 and lang_lib. Change postal_fmt.
24283 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24285 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
24287 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24288 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
24289 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24290 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
24291 * sysdeps/generic/setjmpP.h: New file.
24292 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
24293 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
24294 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
24295 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
24296 Add jmp_buf-ssp.sym.
24297 (tests): Add tst-saved_mask-1.
24299 2017-11-30 Arjun Shankar <arjun@redhat.com>
24303 * malloc/malloc.c (__libc_malloc): Use checked_request2size
24304 instead of request2size.
24306 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
24309 (__lllrint): Remove alias.
24310 (lllrint): Likewise.
24311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
24312 (__lllrintf): Likewise.
24313 (lllrintf): Likewise.
24315 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
24316 <libm-alias-float.h>.
24317 (copysignf): Define using libm_alias_float.
24318 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
24319 <libm-alias-float.h>.
24320 (fabsf): Define using libm_alias_float.
24321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24322 Include <libm-alias-float.h>.
24323 (copysignf): Define using libm_alias_float.
24324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
24325 <libm-alias-float.h>.
24326 (fabsf): Define using libm_alias_float.
24327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
24328 <libm-alias-float.h>.
24329 (fdimf): Define using libm_alias_float.
24330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
24331 <libm-alias-float.h>.
24332 (fmaf): Define using libm_alias_float.
24333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
24334 <libm-alias-float.h>.
24335 (llrintf): Define using libm_alias_float.
24336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24337 Include <libm-alias-float.h>.
24338 (nearbyintf): Define using libm_alias_float.
24339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
24340 <libm-alias-float.h>.
24341 (rintf): Define using libm_alias_float.
24342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
24343 <libm-alias-float.h>.
24344 (llrintf): Define using libm_alias_float.
24345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
24346 <libm-alias-float.h>.
24347 (lrintf): Define using libm_alias_float.
24348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
24349 <libm-alias-float.h>.
24350 (nearbyintf): Define using libm_alias_float.
24351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
24352 <libm-alias-float.h>.
24353 (rintf): Define using libm_alias_float.
24354 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
24355 <libm-alias-float.h>.
24356 (ceilf): Define using libm_alias_float.
24357 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
24358 <libm-alias-float.h>.
24359 (floorf): Define using libm_alias_float.
24360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
24361 <libm-alias-float.h>.
24362 (fmaf): Define using libm_alias_float.
24363 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
24364 <libm-alias-float.h>.
24365 (lrintf): Define using libm_alias_float.
24366 (llrintf): Likewise.
24367 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
24368 <libm-alias-float.h>.
24369 (nearbyintf): Define using libm_alias_float.
24370 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
24371 <libm-alias-float.h>.
24372 (rintf): Define using libm_alias_float.
24373 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
24374 <libm-alias-float.h>.
24375 (truncf): Define using libm_alias_float.
24376 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
24377 <libm-alias-float.h>.
24378 (copysignf): Define using libm_alias_float.
24379 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
24380 <libm-alias-float.h>.
24381 (fabsf): Define using libm_alias_float.
24382 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
24383 <libm-alias-float.h>.
24384 (lrintf): Define using libm_alias_float.
24385 (llrintf): Likewise.
24386 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
24387 <libm-alias-float.h>.
24388 (nearbyintf): Define using libm_alias_float.
24389 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
24390 <libm-alias-float.h>.
24391 (rintf): Define using libm_alias_float.
24393 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24395 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24396 <libm-alias-double.h>.
24397 (copysign): Define using libm_alias_double.
24398 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
24399 <libm-alias-double.h>.
24400 (fabs): Define using libm_alias_double.
24401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24402 Include <libm-alias-double.h>.
24403 (copysign): Define using libm_alias_double.
24404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24405 <libm-alias-double.h>.
24406 (fabs): Define using libm_alias_double.
24407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
24408 <libm-alias-double.h>.
24409 (fdim): Define using libm_alias_double.
24410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
24411 <libm-alias-double.h>.
24412 (fma): Define using libm_alias_double.
24413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
24414 <libm-alias-double.h>.
24415 (llrint): Define using libm_alias_double.
24416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
24417 Include <libm-alias-double.h>.
24418 (nearbyint): Define using libm_alias_double.
24419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
24420 <libm-alias-double.h>.
24421 (rint): Define using libm_alias_double.
24422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24423 <libm-alias-double.h>.
24424 (fabs): Define using libm_alias_double.
24425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
24426 <libm-alias-double.h>.
24427 (llrint): Define using libm_alias_double.
24428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
24429 <libm-alias-double.h>.
24430 (nearbyint): Define using libm_alias_double.
24431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
24432 <libm-alias-double.h>.
24433 (rint): Define using libm_alias_double.
24434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
24435 <libm-alias-double.h>.
24436 (ceil): Define using libm_alias_double.
24437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
24438 <libm-alias-double.h>.
24439 (floor): Define using libm_alias_double.
24440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
24441 <libm-alias-double.h>.
24442 (fma): Define using libm_alias_double.
24443 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
24444 <libm-alias-double.h>.
24445 (lrint): Define using libm_alias_double.
24446 (llrint): Likewise.
24447 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
24448 <libm-alias-double.h>.
24449 (nearbyint): Define using libm_alias_double.
24450 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
24451 <libm-alias-double.h>.
24452 (rint): Define using libm_alias_double.
24453 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
24454 <libm-alias-double.h>.
24455 (trunc): Define using libm_alias_double.
24456 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
24457 <libm-alias-double.h>.
24458 (copysign): Define using libm_alias_double.
24459 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
24460 <libm-alias-double.h>.
24461 (fabs): Define using libm_alias_double.
24462 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
24463 <libm-alias-double.h>.
24464 (lrint): Define using libm_alias_double.
24465 (llrint): Likewise.
24466 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
24467 <libm-alias-double.h>.
24468 (nearbyint): Define using libm_alias_double.
24469 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
24470 <libm-alias-double.h>.
24471 (rint): Define using libm_alias_double.
24474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24476 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24478 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24479 SPARC --disable-multi-arch glibc variants.
24481 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
24482 <libm-alias-float.h>.
24483 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24485 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
24486 <libm-alias-float.h>.
24487 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24489 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
24490 <libm-alias-float.h>.
24491 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24493 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
24494 <libm-alias-float.h>.
24495 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24497 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
24498 <libm-alias-float.h>.
24499 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24501 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
24502 <libm-alias-float.h>.
24503 (ceilf): Define using libm_alias_float.
24504 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
24505 <libm-alias-float.h>.
24506 (floorf): Define using libm_alias_float.
24507 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
24508 <libm-alias-float.h>.
24509 (fmaf): Define using libm_alias_float.
24510 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
24511 <libm-alias-float.h>.
24512 (nearbyintf): Define using libm_alias_float.
24513 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
24514 <libm-alias-float.h>.
24515 (rintf): Define using libm_alias_float.
24516 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
24517 <libm-alias-float.h>.
24518 (truncf): Define using libm_alias_float.
24519 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24520 (copysignf): Define using libm_alias_float.
24521 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
24522 (cosf): Define using libm_alias_float.
24523 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24524 (fabsf): Define using libm_alias_float.
24525 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24526 (fmaxf): Define using libm_alias_float.
24527 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
24528 (fminf): Define using libm_alias_float.
24529 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24530 (llrintf): Define using libm_alias_float.
24531 [!__ILP32__] (lrintf): Likewise.
24532 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
24533 (sincosf): Define using libm_alias_float.
24534 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
24535 (sinf): Define using libm_alias_float.
24536 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24537 (lrintf): Define using libm_alias_float.
24539 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
24540 <libm-alias-double.h>.
24541 (atan): Define using libm_alias_double.
24542 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
24543 <libm-alias-double.h>.
24544 (ceil): Define using libm_alias_double.
24545 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
24546 <libm-alias-double.h>.
24547 (floor): Define using libm_alias_double.
24548 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
24549 <libm-alias-double.h>.
24550 (fma): Define using libm_alias_double.
24551 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
24552 <libm-alias-double.h>.
24553 (nearbyint): Define using libm_alias_double.
24554 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
24555 <libm-alias-double.h>.
24556 (rint): Define using libm_alias_double.
24557 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
24558 <libm-alias-double.h>.
24559 (sin): Define using libm_alias_double.
24561 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
24562 <libm-alias-double.h>.
24563 (tan): Define using libm_alias_double.
24564 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
24565 <libm-alias-double.h>.
24566 (trunc): Define using libm_alias_double.
24567 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
24568 (copysign): Define using libm_alias_double.
24569 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
24570 (fabs): Define using libm_alias_double.
24571 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
24572 (fmax): Define using libm_alias_double.
24573 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
24574 (fmin): Define using libm_alias_double.
24575 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
24576 (llrint): Define using libm_alias_double.
24577 [!__ILP32__] (lrint): Likewise.
24578 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
24579 (lrint): Define using libm_alias_double.
24581 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24583 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24584 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
24586 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
24587 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
24588 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
24589 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
24590 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
24591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24593 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24594 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
24596 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
24597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
24598 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
24599 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
24600 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
24601 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24603 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24604 (libm-sysdep_routines): Add s_nearbyint-generic and
24605 s_nearbyintf-generic objects.
24606 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
24607 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
24608 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
24609 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
24610 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
24611 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
24613 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24614 Add s_finitef-generic and s_finite-generic objects.
24615 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
24616 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
24617 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
24618 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
24619 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
24620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
24622 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24623 Add s_isinff-generic and s_isinf-generic objects.
24624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
24625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
24626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
24627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
24628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
24629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24631 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24632 Add s_isnanf-generic and s_isnan-generic objects.
24633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
24634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
24635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
24636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
24637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
24638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24640 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
24642 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
24644 (sysdep_routines): Use sysdep_calls as base.
24645 (libm-sysdep_routines): Add generic rule for symbols shared with
24646 libc. Add s_signbit-generic and s_signbitf-generic objects.
24647 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
24648 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
24649 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
24650 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
24651 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
24652 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24654 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24656 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
24657 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
24658 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
24659 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
24660 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
24661 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
24662 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
24663 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
24664 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
24665 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
24666 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
24667 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
24668 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
24669 libm_alias_float_r.
24670 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
24671 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
24673 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
24674 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
24675 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
24676 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
24677 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
24678 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
24679 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
24680 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
24681 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
24682 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
24684 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
24686 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
24687 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
24688 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
24689 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
24690 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
24691 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
24692 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
24693 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
24694 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
24695 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
24696 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
24697 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
24698 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
24699 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
24700 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
24701 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
24702 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
24703 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
24704 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
24706 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
24707 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
24708 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
24709 * sysdeps/ia64/fpu/w_lgammaf_main.c
24710 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
24711 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
24713 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24714 Alexandre Oliva <aoliva@redhat.com>
24717 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
24718 * localedata/fr_CA.UTF-8.in: New file with test data for backward
24720 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
24722 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
24723 * localedata/locales/de_DE (LC_COLLATE): Likewise.
24724 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
24725 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
24726 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
24727 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
24728 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
24729 instead of “ifdef DIACRIT_BACKWARD”.
24731 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24733 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
24734 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
24735 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
24736 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
24737 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
24738 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
24739 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
24740 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
24741 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
24742 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
24743 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
24744 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
24745 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
24746 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
24747 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
24748 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24749 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
24750 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
24751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24752 ($(have-as-vis3) == yes): Remove conditional.
24753 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
24755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
24757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
24759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
24761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
24763 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
24764 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
24765 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
24766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
24767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
24768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
24769 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
24770 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
24772 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24774 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
24775 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
24776 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
24777 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
24778 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
24779 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
24780 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
24781 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
24782 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
24783 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
24784 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
24785 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
24786 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
24787 libm_alias_double_r.
24788 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
24790 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
24791 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
24792 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
24793 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
24794 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
24795 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
24796 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
24797 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
24798 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
24799 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
24800 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
24802 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
24804 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
24805 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
24806 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
24807 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
24808 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
24809 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
24810 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
24811 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
24812 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
24813 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
24814 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
24815 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
24816 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
24817 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
24818 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
24819 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
24820 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
24821 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
24823 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
24824 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
24825 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
24826 * sysdeps/ia64/fpu/w_lgamma_main.c
24827 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
24828 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
24830 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
24832 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
24833 address of $global$ into %dp register earlier. Use pc-relative
24834 instruction sequence for PIC case.
24836 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24838 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
24839 (asinhf): Define using libm_alias_float.
24840 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
24841 (atanf): Define using libm_alias_float.
24842 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
24843 (cbrtf): Define using libm_alias_float.
24844 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
24845 (ceilf): Define using libm_alias_float.
24846 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24847 (copysignf): Define using libm_alias_float.
24848 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
24849 (expm1f): Define using libm_alias_float.
24850 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
24851 (fabsf): Define using libm_alias_float.
24852 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
24853 (floorf): Define using libm_alias_float.
24854 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24855 (fmaxf): Define using libm_alias_float.
24856 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
24857 (fminf): Define using libm_alias_float.
24858 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
24859 (frexpf): Define using libm_alias_float.
24860 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24861 (llrintf): Define using libm_alias_float.
24862 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
24863 (logbf): Define using libm_alias_float.
24864 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24865 (lrintf): Define using libm_alias_float.
24866 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
24867 (nearbyintf): Define using libm_alias_float.
24868 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
24869 (remquof): Define using libm_alias_float.
24870 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
24871 (rintf): Define using libm_alias_float.
24872 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
24873 (truncf): Define using libm_alias_float.
24874 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
24875 <libm-alias-float.h>.
24876 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24878 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
24879 <libm-alias-float.h>.
24880 (expf): Define using libm_alias_float, or libm_alias_float_other
24882 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
24883 <libm-alias-float.h>.
24884 (log2f): Define using libm_alias_float, or libm_alias_float_other
24886 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
24887 <libm-alias-float.h>.
24888 (logf): Define using libm_alias_float, or libm_alias_float_other
24890 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
24891 <libm-alias-float.h>.
24892 (powf): Define using libm_alias_float, or libm_alias_float_other
24894 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
24895 <libm-alias-float.h>.
24896 (cosf): Define using libm_alias_float.
24897 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
24898 <libm-alias-float.h>.
24899 (sincosf): Define using libm_alias_float.
24900 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
24901 <libm-alias-float.h>.
24902 (sinf): Define using libm_alias_float.
24903 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24904 (fmaxf): Define using libm_alias_float.
24905 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
24906 (fminf): Define using libm_alias_float.
24907 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24908 <libm-alias-float.h>.
24909 (fmaf): Define using libm_alias_float.
24911 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
24912 (asinh): Define using libm_alias_double.
24913 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
24914 (atan): Define using libm_alias_double.
24915 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
24916 (cbrt): Define using libm_alias_double.
24917 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
24918 (ceil): Define using libm_alias_double.
24919 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
24920 (copysign): Define using libm_alias_double.
24921 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
24922 (expm1): Define using libm_alias_double.
24923 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
24924 (fabs): Define using libm_alias_double.
24925 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
24926 (fdim): Define using libm_alias_double.
24927 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
24928 (floor): Define using libm_alias_double.
24929 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
24930 (fmax): Define using libm_alias_double.
24931 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
24932 (fmin): Define using libm_alias_double.
24933 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
24934 (frexp): Define using libm_alias_double.
24935 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
24936 (llrint): Define using libm_alias_double.
24937 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
24938 (logb): Define using libm_alias_double.
24939 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
24940 (lrint): Define using libm_alias_double.
24941 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
24942 (nearbyint): Define using libm_alias_double.
24943 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
24944 (remquo): Define using libm_alias_double.
24945 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
24946 (rint): Define using libm_alias_double.
24947 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
24948 (trunc): Define using libm_alias_double.
24949 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
24950 (fmax): Define using libm_alias_double.
24951 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
24952 (fmin): Define using libm_alias_double.
24953 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
24954 (fma): Define using libm_alias_double.
24956 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
24959 * elf/dl-hwcaps.c (ROUND): Removed.
24960 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
24961 and ELF_NOTE_NEXT_OFFSET.
24962 * elf/dl-load.c (ROUND): Removed.
24963 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24964 * elf/readelflib.c (ROUND): Removed.
24965 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24966 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
24967 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
24968 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
24970 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24972 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24973 [!__fmaf] (fmaf): Define using libm_alias_float.
24975 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
24976 [!__fma] (fma): Define using libm_alias_double.
24977 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
24979 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24982 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
24983 and implement the collation rules for cs from CLDR on top of that.
24984 * Makefile: Add cs_CZ.UTF-8 to test-input.
24985 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
24987 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
24989 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
24991 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24992 Icarus Sparry <icarus.w.sparry@intel.com>
24994 * benchtests/Makefile:Add BENCHSET to allow subsets of
24995 benchmarks to be run.
24996 * benchtests/README: Add documentation for: Running subsets of
24999 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25001 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
25002 range of tests names.
25004 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
25005 result from property and remove "max", min" and "mean" from
25006 required properties based on benchtests/bench-skeleton.c.
25008 2017-11-28 Florian Weimer <fweimer@redhat.com>
25011 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
25012 due to Internet requirement.
25013 * posix/Makefile (tests): Remove tst-getaddrinfo4,
25015 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
25017 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25019 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25020 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
25021 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25022 (sysdep_routines): Add memset-ultra1.
25023 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
25025 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
25026 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
25027 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
25028 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
25029 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
25030 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
25031 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
25032 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25034 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
25036 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
25037 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
25038 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
25039 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
25040 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
25041 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
25042 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
25044 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25045 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
25046 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25047 (sysdep_routines): Add memcpy-ultra1.
25048 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
25049 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
25051 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25053 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
25054 (cfloat_versions): Take function argument without trailing 'f'.
25055 Call libm_alias_float_other.
25056 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
25057 * sysdeps/alpha/fpu/cargf.c: Likewise.
25058 * sysdeps/alpha/fpu/cimagf.c: Likewise.
25059 * sysdeps/alpha/fpu/conjf.c: Likewise.
25060 * sysdeps/alpha/fpu/crealf.c: Likewise.
25061 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
25062 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
25063 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
25064 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
25065 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
25066 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
25067 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
25068 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
25069 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
25070 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
25071 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
25072 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
25073 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
25074 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
25075 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
25076 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
25077 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
25078 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
25079 (clog10f): Use libm_alias_float_other.
25080 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25081 (ceilf): Define using libm_alias_float.
25082 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
25083 (copysignf): Define using libm_alias_float.
25084 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25085 (fabsf): Define using libm_alias_float.
25086 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
25087 (floorf): Define using libm_alias_float.
25088 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
25089 (fmaxf): Define using libm_alias_float.
25090 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
25091 (fminf): Define using libm_alias_float.
25092 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25093 (lrintf): Define using libm_alias_float.
25094 (llrintf): Likewise.
25095 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25096 (lroundf): Define using libm_alias_float.
25097 (llroundf): Likewise.
25098 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
25099 (rintf): Define using libm_alias_float.
25100 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
25101 (truncf): Define using libm_alias_float.
25103 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25104 (ceilf): Define using libm_alias_float.
25105 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
25106 (floorf): Define using libm_alias_float.
25107 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25108 (fmaf): Define using libm_alias_float.
25109 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
25110 (fmaxf): Define using libm_alias_float.
25111 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
25112 (fminf): Define using libm_alias_float.
25113 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
25114 (llrintf): Define using libm_alias_float.
25115 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
25116 (llroundf): Define using libm_alias_float.
25117 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25118 (lrintf): Define using libm_alias_float.
25119 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25120 (lroundf): Define using libm_alias_float.
25121 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
25122 <libm-alias-float.h>.
25123 (nearbyintf): Define using libm_alias_float.
25124 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
25125 (rintf): Define using libm_alias_float.
25126 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
25127 (roundf): Define using libm_alias_float.
25128 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
25129 (truncf): Define using libm_alias_float.
25131 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
25132 (ceil): Define using libm_alias_double.
25133 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
25134 (copysign): Define using libm_alias_double.
25135 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
25136 (fabs): Define using libm_alias_double.
25137 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
25138 (floor): Define using libm_alias_double.
25139 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
25140 (fmax): Define using libm_alias_double.
25141 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
25142 (fmin): Define using libm_alias_double.
25143 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
25144 (lrint): Define using libm_alias_double.
25145 (llrint): Likewise.
25146 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
25147 (lround): Define using libm_alias_double.
25148 (llround): Likewise.
25149 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
25150 (rint): Define using libm_alias_double.
25151 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
25152 (trunc): Define using libm_alias_double.
25154 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25155 (libm_alias_double_r): Add semicolon after weak_alias call.
25157 2017-11-27 Joseph Myers <joseph@codesourcery.com>
25159 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
25160 (ceil): Define using libm_alias_double.
25161 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
25162 (floor): Define using libm_alias_double.
25163 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
25164 (fma): Define using libm_alias_double.
25165 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
25166 (fmax): Define using libm_alias_double.
25167 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
25168 (fmin): Define using libm_alias_double.
25169 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
25170 (llrint): Define using libm_alias_double.
25171 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
25172 (llround): Define using libm_alias_double.
25173 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
25174 (lrint): Define using libm_alias_double.
25175 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
25176 (lround): Define using libm_alias_double.
25177 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
25178 (nearbyint): Define using libm_alias_double.
25179 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
25180 (rint): Define using libm_alias_double.
25181 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
25182 (round): Define using libm_alias_double.
25183 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
25184 (trunc): Define using libm_alias_double.
25186 2017-11-27 Florian Weimer <fweimer@redhat.com>
25188 * sysdeps/unix/sysv/linux/mlock2.c: New file.
25189 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
25190 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
25191 (tests): Add tst-mlock2.
25192 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
25193 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
25194 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
25195 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
25196 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
25197 for mlock. Document mlock2.
25199 2017-11-27 Joseph Myers <joseph@codesourcery.com>
25201 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
25202 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
25204 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
25206 * sysdeps/x86/Makeconfig: New file.
25207 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
25208 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25209 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
25210 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25211 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25212 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25213 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
25215 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25216 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25217 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25218 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25219 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25220 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25221 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25222 * manual/math.texi (Mathematics): Document support for _Float64x.
25223 * math/Versions (GLIBC_2.27): Add _Float64x functions.
25224 * stdlib/Versions (GLIBC_2.27): Likewise.
25225 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25226 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25227 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25228 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25229 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25230 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25231 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25232 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25233 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25234 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25235 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25236 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25241 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25242 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25243 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25244 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25245 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25246 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25247 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25248 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25249 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25250 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25251 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25252 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25253 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25254 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25256 2017-11-27 Andreas Schwab <schwab@suse.de>
25258 * elf/Makefile (dl-routines): Add dl-sort-maps.
25259 * elf/dl-sort-maps.c: New file.
25260 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
25261 (_dl_sort_maps): Declare.
25262 * elf/dl-fini.c (_dl_sort_fini): Remove.
25263 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
25264 * elf/dl-close.c (_dl_close_worker): Likewise.
25265 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
25267 * elf/dl-open.c (dl_open_worker): Likewise.
25269 2017-11-24 Joseph Myers <joseph@codesourcery.com>
25271 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
25272 using libm_alias_float128.
25273 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
25275 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
25277 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
25278 (setpayloadsigf128): Likewise.
25279 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
25281 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
25284 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
25285 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
25286 -mfloat128 to CFLAGS.
25288 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
25290 (CFLAGS-libm-test-support-float64x.c): New variable.
25291 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
25292 $(f128-loader-link) to gnulib-tests.
25294 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
25295 (libm_alias_float128_other_r): If
25296 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
25298 (libm_alias_float128_r): Add semicolon after weak_alias call.
25299 * sysdeps/generic/libm-alias-ldouble.h
25300 (libm_alias_ldouble_other_r_f128): New macro.
25301 (libm_alias_ldouble_other_r_f64x): Likewise.
25302 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25303 and libm_alias_ldouble_other_r_f64x.
25304 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
25305 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25306 (libm_alias_ldouble_other_r_f128): New macro.
25307 (libm_alias_ldouble_other_r_f64x): Likewise.
25308 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25309 and libm_alias_ldouble_other_r_f64x.
25311 * stdlib/strfroml.c: Always include <stdlib.h>.
25312 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
25313 undefine as macro and define as weak alias.
25314 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
25315 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
25317 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
25318 Define and later undefine as macro and define as weak alias.
25320 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25321 Define and later undefine as macro. Define as weak alias if
25323 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
25324 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25325 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
25326 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25327 Define and later undefine as macro. Define as weak alias if
25329 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
25330 Define and later undefine as macro. Define as weak alias if
25332 * sysdeps/ieee754/float128/strtof128_l.c
25333 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
25334 Define and later undefine as macro. Define as weak alias if
25336 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
25337 Define and later undefine as macro. Define as weak alias if
25339 * sysdeps/ieee754/ldbl-128/strtold_l.c
25340 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25341 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25342 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25343 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25344 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
25345 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25346 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25347 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25348 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25349 * sysdeps/ieee754/ldbl-96/strtold_l.c
25350 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25351 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25352 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25353 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25355 * math/test-float64x.h: New file.
25356 * math/Makefile (type-float64x-yes): New variable.
25357 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
25359 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
25360 function-like macro.
25361 (min_of_type_): Likewise.
25362 (min_of_type_l): Likewise.
25363 (min_of_type_f128): Likewise.
25364 (min_of_type): Pass () as last argument of __MATH_TG.
25366 * stdlib/tst-strtod-round-skeleton.c
25367 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
25370 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
25371 for combinations of long double with _Float64 and _Float64x.
25373 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
25374 (__DECL_SIMD_cosf32): Likewise.
25375 (__DECL_SIMD_cosf64): Likewise.
25376 (__DECL_SIMD_cosf32x): Likewise.
25377 (__DECL_SIMD_cosf64x): Likewise.
25378 (__DECL_SIMD_cosf128x): Likewise.
25379 (__DECL_SIMD_sinf16): Likewise.
25380 (__DECL_SIMD_sinf32): Likewise.
25381 (__DECL_SIMD_sinf64): Likewise.
25382 (__DECL_SIMD_sinf32x): Likewise.
25383 (__DECL_SIMD_sinf64x): Likewise.
25384 (__DECL_SIMD_sinf128x): Likewise.
25385 (__DECL_SIMD_sincosf16): Likewise.
25386 (__DECL_SIMD_sincosf32): Likewise.
25387 (__DECL_SIMD_sincosf64): Likewise.
25388 (__DECL_SIMD_sincosf32x): Likewise.
25389 (__DECL_SIMD_sincosf64x): Likewise.
25390 (__DECL_SIMD_sincosf128x): Likewise.
25391 (__DECL_SIMD_logf16): Likewise.
25392 (__DECL_SIMD_logf32): Likewise.
25393 (__DECL_SIMD_logf64): Likewise.
25394 (__DECL_SIMD_logf32x): Likewise.
25395 (__DECL_SIMD_logf64x): Likewise.
25396 (__DECL_SIMD_logf128x): Likewise.
25397 (__DECL_SIMD_expf16): Likewise.
25398 (__DECL_SIMD_expf32): Likewise.
25399 (__DECL_SIMD_expf64): Likewise.
25400 (__DECL_SIMD_expf32x): Likewise.
25401 (__DECL_SIMD_expf64x): Likewise.
25402 (__DECL_SIMD_expf128x): Likewise.
25403 (__DECL_SIMD_powf16): Likewise.
25404 (__DECL_SIMD_powf32): Likewise.
25405 (__DECL_SIMD_powf64): Likewise.
25406 (__DECL_SIMD_powf32x): Likewise.
25407 (__DECL_SIMD_powf64x): Likewise.
25408 (__DECL_SIMD_powf128x): Likewise.
25410 * stdlib/Versions (libc): Move entries for wcstof128 and
25411 wcstof128_l to ....
25412 * wcsmbs/Versions (libc): ... here.
25413 Include <float128-abi.h>.
25415 2017-11-24 Florian Weimer <fweimer@redhat.com>
25417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25418 bits/mman-shared.h.
25419 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
25420 <bits/mman-shared.h>.
25421 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
25423 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
25424 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
25425 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
25426 <bits/mman-shared.h>.
25428 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25431 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
25432 posix_memalign/free.
25433 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
25435 2017-11-22 Mike FABIAN <mfabian@redhat.com>
25438 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
25439 and implement the collation rules for pl from CLDR on top of that.
25440 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
25441 of locales to be built for testing.
25442 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
25444 2017-11-23 Joseph Myers <joseph@codesourcery.com>
25446 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
25447 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
25448 libm_alias_ldouble_other.
25449 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
25450 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
25451 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
25452 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
25453 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
25454 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
25455 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
25456 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
25457 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
25458 libm_alias_ldouble_r.
25459 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
25460 libm_alias_ldouble_other.
25461 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
25462 (log10l): Likewise.
25463 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
25464 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
25465 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
25466 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
25467 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
25468 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
25469 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
25470 (atan2l): Likewise.
25471 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
25472 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
25473 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
25474 libm_alias_ldouble.
25475 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
25477 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
25478 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
25479 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
25481 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
25482 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
25483 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
25484 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
25485 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
25486 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
25487 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
25488 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
25489 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
25490 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
25491 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
25492 libm_alias_ldouble.
25493 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
25494 libm_alias_ldouble_other.
25495 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
25496 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
25497 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
25498 libm_alias_ldouble.
25499 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
25500 libm_alias_ldouble_other.
25501 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
25502 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
25503 * sysdeps/ia64/fpu/w_lgammal_main.c
25504 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
25505 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
25507 2017-11-23 Florian Weimer <fweimer@redhat.com>
25509 * malloc/malloc.c (tcache_thread_shutdown): Rename from
25510 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
25511 alike. Remove freeres marker.
25512 * malloc/arena.c (arena_thread_freeres): Call
25513 tcache_thread_shutdown.
25515 2017-11-23 Florian Weimer <fweimer@redhat.com>
25518 Export nscd hash function as __nss_hash.
25519 * include/nss.h (__nss_hash): Declare.
25520 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
25522 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
25523 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
25525 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
25526 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
25527 * nss/Makefiles (routines): Add nss_hash.
25528 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
25529 * nss/nss_hash.c: Rename from nis/nis_hash.c.
25530 (__nss_hash): Rename from __nis_hash. Define hidden alias.
25531 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
25533 2017-11-23 Florian Weimer <fweimer@redhat.com>
25536 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
25537 Return error code, not -1.
25538 * signal/tst-sigwait-eintr.c: New file.
25539 * signal/Makefile (tests): Add tst-sigwait-eintr.
25541 2017-11-23 Florian Weimer <fweimer@redhat.com>
25543 Linux: Add memfd_create system call wrapper
25544 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
25546 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
25547 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
25548 [__USE_GNU] (memfd_create): Declare.
25549 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
25550 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
25551 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
25552 * sysdeps/unix/sysv/linux/**.abilist: Update.
25553 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
25555 2017-11-22 Joseph Myers <joseph@codesourcery.com>
25557 * localedata/gen-locale.sh: Fix typo in variable name.
25559 * resolv/res_debug.c (p_secstodate): Condition definition on
25560 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
25561 directly as __p_secstodate, and as a compat symbol. Do not use
25562 libresolv_hidden_def.
25563 * resolv/resolv.h (p_secstodate): Remove macro and function
25565 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
25566 using p_secstodate.
25567 * include/resolv.h (__p_secstodate): Do not use
25568 libresolv_hidden_proto.
25569 * resolv/Makefile (tests): Move tst-p_secstodate to ....
25570 (tests-internal): ... here.
25571 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
25572 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
25573 and declare and use __p_secstodate and use compat_symbol_reference
25575 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
25576 implementation returning 77.
25579 * resolv/res_debug.c: Include <libc-diag.h>.
25580 (p_secstodate): Assert time_t at least as wide as u_long. On
25581 overflow, use integer seconds since the epoch as output, or use
25582 "<overflow>" as output and set errno to EOVERFLOW if integer
25583 seconds since the epoch would be 14 or more characters.
25584 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
25586 * resolv/tst-p_secstodate.c: New file.
25587 * resolv/Makefile (tests): Add tst-p_secstodate.
25588 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
25590 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
25591 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25592 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
25594 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
25596 * posix/regcomp.c (init_word_char): Add comments.
25598 2017-11-22 Joseph Myers <joseph@codesourcery.com>
25601 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
25602 strlen to compute length of ut_user and set trailing NUL byte of
25605 2017-11-21 Mike FABIAN <mfabian@redhat.com>
25608 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
25609 using “copy "iso14651_t1"” and then implementing the
25610 collation rules for lv from CLDR on top of that.
25611 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
25612 of locales to be built for testing.
25613 * lv_LV.UTF-8.in: New file with test data to test the Latvian
25616 2017-11-21 Joseph Myers <joseph@codesourcery.com>
25618 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25619 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
25620 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
25621 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
25622 [__USE_MISC] (MADV_HWPOISON): New macro.
25623 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
25625 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25627 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
25628 -Wmissing-braces on GCC 4.9.
25630 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25632 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
25633 * sysdeps/s390/s390-32/start.S (_start): Likewise
25634 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
25635 (thread_start): Likewise.
25636 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
25637 (thread_start): Likewise.
25638 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
25639 (__makecontext_ret): Likewise.
25640 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
25641 (__makecontext_ret): Likewise.
25643 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25645 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
25646 __wcschrnul): Remove attribute_hidden.
25648 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
25650 regex: don't assume uint64_t or uint32_t
25651 This avoids -Werror=overflow errors for 32-bit systems in
25652 the 64-bit case. Problem reported by Joseph Myers in:
25653 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
25654 Also, when this code is used in Gnulib it ports to platforms
25655 that lack uint64_t and uint32_t. The C standard doesn't guarantee
25656 them, and on some 32-bit compilers there is no uint64_t.
25657 Problem reported by Gianluigi Tiesi in:
25658 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
25659 * posix/regcomp.c (init_word_char): Don't assume that the types
25660 uint64_t and uint32_t exist. Adapted from Gnulib patch
25661 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
25662 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
25664 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
25666 * sysdeps/aarch64/memset-reg.h: New file.
25667 * sysdeps/aarch64/memset.S: Use it.
25668 (__memset): Rename to MEMSET macro.
25669 [ZVA_MACRO]: Use zva_macro.
25670 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
25671 Add memset_generic and memset_falkor.
25672 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25673 (__libc_ifunc_impl_list): Add memset ifuncs.
25674 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
25675 local variable zva_size.
25676 * sysdeps/aarch64/multiarch/memset.c: New file.
25677 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
25678 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
25679 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
25680 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
25681 (DCZID_DZP_MASK): New macro.
25682 (DCZID_BS_MASK): Likewise.
25683 (init_cpu_features): Read and set zva_size.
25684 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
25685 (struct cpu_features): New member zva_size.
25687 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
25688 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
25689 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
25691 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
25692 backwards. Fix timing computation.
25693 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
25694 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
25695 on memset by N at a time. Fix timing computation.
25697 2017-11-20 Florian Weimer <fweimer@redhat.com>
25699 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
25700 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
25702 2017-11-19 Florian Weimer <fweimer@redhat.com>
25704 manual: Document mprotect
25705 * manual/memory.texi (Memory Protection): New section.
25706 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
25707 documentation of PROT_* flags and reference the Memory Protection
25710 2017-11-19 Florian Weimer <fweimer@redhat.com>
25712 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
25713 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
25714 (Scatter-Gather): ... to here. Remove misleading comment.
25716 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
25718 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
25721 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
25722 when /proc/<pid>/setgroups does not exist.
25724 2017-11-18 Florian Weimer <fweimer@redhat.com>
25726 * sysdeps/unix/sysv/linux/tst-ttyname.c
25727 (become_root_in_mount_ns): Remove.
25728 (do_in_chroot_1): Call support_enter_mount_namespace.
25729 (do_in_chroot_2): Likewise.
25730 (do_test): Call support_become_root early.
25732 2017-11-18 Florian Weimer <fweimer@redhat.com>
25734 * support/namespace.h (support_enter_mount_namespace): Declare.
25735 * support/support_enter_mount_namespace.c: New file.
25736 * support/Makefile (libsupport-routines): Add
25737 support_enter_mount_namespace.
25739 2017-11-18 Florian Weimer <fweimer@redhat.com>
25741 * support/temp_file.c (support_create_temp_directory): Use
25742 test_dir and do not rely on the presence of the XXXXXX suffix.
25743 * support/temp_file.h (support_create_temp_directory): Update
25745 * support/tst-xreadlink.c (do_test): Adjust.
25746 * support/support_chroot.c (support_chroot_create): Likewise.
25748 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25750 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
25752 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
25755 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25757 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25758 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25759 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25760 (ceill): Define using libm_alias_ldouble.
25761 * sysdeps/x86_64/fpu/s_copysignl.S: Include
25762 <libm-alias-ldouble.h>.
25763 (copysignl): Define using libm_alias_ldouble.
25764 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25765 (fabsl): Define using libm_alias_ldouble.
25766 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25767 (floorl): Define using libm_alias_ldouble.
25768 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25769 (fmaxl): Define using libm_alias_ldouble.
25770 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25771 (fminl): Define using libm_alias_ldouble.
25772 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25773 (llrintl): Define using libm_alias_ldouble.
25774 (lrintl): Likewise.
25775 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
25776 <libm-alias-ldouble.h>.
25777 (nearbyintl): Define using libm_alias_ldouble.
25778 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25779 (truncl): Define using libm_alias_ldouble.
25780 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
25781 <libm-alias-ldouble.h>.
25782 (lrintl): Define using libm_alias_ldouble.
25784 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25785 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25786 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
25787 (asinhl): Define using libm_alias_ldouble.
25788 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
25789 (atanl): Define using libm_alias_ldouble.
25790 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
25791 (cbrtl): Define using libm_alias_ldouble.
25792 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25793 (ceill): Define using libm_alias_ldouble.
25794 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
25795 (copysignl): Define using libm_alias_ldouble.
25796 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25797 (fabsl): Define using libm_alias_ldouble.
25798 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25799 (floorl): Define using libm_alias_ldouble.
25800 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25801 (fmaxl): Define using libm_alias_ldouble.
25802 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25803 (fminl): Define using libm_alias_ldouble.
25804 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
25805 (frexpl): Define using libm_alias_ldouble.
25806 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25807 (llrintl): Define using libm_alias_ldouble.
25808 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
25809 (logbl): Define using libm_alias_ldouble.
25810 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
25811 (lrintl): Define using libm_alias_ldouble.
25812 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
25813 (nearbyintl): Define using libm_alias_ldouble.
25814 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
25815 (nextafterl): Define using libm_alias_ldouble.
25816 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
25817 (remquol): Define using libm_alias_ldouble.
25818 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
25819 (rintl): Define using libm_alias_ldouble.
25820 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25821 (truncl): Define using libm_alias_ldouble.
25822 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25823 (fmaxl): Define using libm_alias_ldouble.
25824 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25825 (fminl): Define using libm_alias_ldouble.
25827 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
25828 to C syntax instead of availability and properties of types.
25829 * bits/floatn.h [!__ASSEMBLER]: Likewise.
25830 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
25831 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
25832 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
25833 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
25834 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
25836 2017-11-17 Florian Weimer <fweimer@redhat.com>
25838 support_become_root: Enable file creation in namespaces.
25839 * support/support_become_root.c (setup_mapping): New function.
25840 (support_become_root): Call it.
25842 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25844 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
25847 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25849 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
25850 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
25852 2017-11-16 Joseph Myers <joseph@codesourcery.com>
25854 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
25856 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25859 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25861 * INSTALL: Fix botched up regeneration.
25863 * NEWS: Update sourceare link to https.
25864 * configure.ac: Likewise.
25865 * crypt/md5test-giant.c: Likewise.
25866 * dlfcn/bug-atexit1.c: Likewise.
25867 * dlfcn/bug-atexit2.c: Likewise.
25868 * localedata/README: Likewise.
25869 * malloc/tst-mallocfork.c: Likewise.
25870 * manual/install.texi: Likewise.
25871 * nptl/tst-pthread-getattr.c: Likewise.
25872 * stdio-common/tst-fgets.c: Likewise.
25873 * stdio-common/tst-fwrite.c: Likewise.
25874 * sunrpc/Makefile: Likewise.
25875 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
25876 * wcsmbs/tst-mbrtowc2.c: Likewise.
25877 * configure: Regenerate.
25878 * INSTALL: Regenerate.
25880 2017-11-15 Martin Sebor <msebor@redhat.com>
25882 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
25883 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
25884 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
25886 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25889 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
25890 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
25893 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
25894 Defer is_pty check until end of the function.
25895 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25898 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
25899 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
25900 (ttyname): Likewise.
25901 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
25902 (__ttyname_r): Likewise.
25904 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
25907 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
25909 * manual/terminal.texi (Is It a Terminal):
25910 Mention ENODEV for ttyname and ttyname_r.
25912 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25914 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
25915 constant and macro.
25917 * sysdeps/unix/sysv/linux/bits/mman-linux.h
25918 [__USE_MISC] (MADV_WIPEONFORK): New macro.
25919 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25920 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25921 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
25922 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25924 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25926 * signal/sigrelse.c (sigrelse): Optimize implementation.
25928 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
25929 (__sigpause): Rely on __sigsuspend to implement single thread
25930 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
25932 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25934 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
25935 kernel version to 4.14.
25937 2017-11-15 Steve Ellcey <sellcey@cavium.com>
25940 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
25941 Check if ifname is too long.
25943 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25945 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
25947 2017-11-15 Mike FABIAN <mfabian@redhat.com>
25949 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
25950 was accidentally lost.
25952 2017-11-15 Mike FABIAN <mfabian@redhat.com>
25954 * localedata/locales/az_IR: Add standard copyright header.
25956 2017-11-15 Florian Weimer <fweimer@redhat.com>
25959 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
25960 not just the top one. Output a new "subheaps" statistic.
25962 2017-11-15 Florian Weimer <fweimer@redhat.com>
25965 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
25966 under the per-arena lock.
25967 * malloc/Makefile (tests): Add tst-malloc_info.
25968 (tst-malloc_info): Link with libpthread.
25969 * malloc/tst-malloc_info.c: New file.
25971 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25974 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
25975 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
25976 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
25977 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
25978 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
25979 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
25980 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
25981 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
25982 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
25983 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
25984 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
25985 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
25986 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
25987 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
25988 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
25989 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
25990 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
25991 (__floating_type): Likewise.
25992 (__real_integer_type): Likewise.
25993 (__complex_integer_type): Likewise.
25994 (__expr_is_real): Likewise.
25995 (__tgmath_real_type_sub): Likewise.
25996 (__tgmath_real_type): Likewise.
25997 (__tgmath_complex_type_sub): Likewise.
25998 (__tgmath_complex_type): Likewise.
25999 (__TGMATH_F128): Likewise.
26000 (__TGMATH_CF128): Likewise.
26001 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
26003 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
26004 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
26006 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
26008 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
26009 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
26010 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
26011 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
26013 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
26014 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
26016 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
26017 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
26018 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
26020 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
26021 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
26022 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
26026 2017-11-14 Joseph Myers <joseph@codesourcery.com>
26028 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
26029 for stpncpy calls for GCC 8.
26030 (test_strncat): Disable -Wstringop-truncation warning for strncat
26031 calls for GCC 8. Disable -Wstringop-overflow= warning for one
26032 strncat call for GCC 7.
26033 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
26035 (test_memcmp): Use memcpy instead of strncpy for calls not copying
26038 * string/bug-strncat1.c: Include <libc-diag.h>.
26039 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
26041 2017-11-13 Claude Paroz <claude@2xlibre.net>
26044 * localedata/locales/aa_DJ: Improved readibility by replacing
26045 <Uxxxx> sequences in the ASCII printable range by their ASCII
26046 character equivalents.
26047 * localedata/locales/aa_ER: Likewise.
26048 * localedata/locales/aa_ER@saaho: Likewise.
26049 * localedata/locales/aa_ET: Likewise.
26050 * localedata/locales/af_ZA: Likewise.
26051 * localedata/locales/agr_PE: Likewise.
26052 * localedata/locales/ak_GH: Likewise.
26053 * localedata/locales/am_ET: Likewise.
26054 * localedata/locales/anp_IN: Likewise.
26055 * localedata/locales/ar_AE: Likewise.
26056 * localedata/locales/ar_BH: Likewise.
26057 * localedata/locales/ar_DZ: Likewise.
26058 * localedata/locales/ar_EG: Likewise.
26059 * localedata/locales/ar_IN: Likewise.
26060 * localedata/locales/ar_IQ: Likewise.
26061 * localedata/locales/ar_JO: Likewise.
26062 * localedata/locales/ar_KW: Likewise.
26063 * localedata/locales/ar_LB: Likewise.
26064 * localedata/locales/ar_LY: Likewise.
26065 * localedata/locales/ar_MA: Likewise.
26066 * localedata/locales/ar_OM: Likewise.
26067 * localedata/locales/ar_QA: Likewise.
26068 * localedata/locales/ar_SA: Likewise.
26069 * localedata/locales/ar_SD: Likewise.
26070 * localedata/locales/ar_SS: Likewise.
26071 * localedata/locales/ar_SY: Likewise.
26072 * localedata/locales/ar_TN: Likewise.
26073 * localedata/locales/ar_YE: Likewise.
26074 * localedata/locales/as_IN: Likewise.
26075 * localedata/locales/ast_ES: Likewise.
26076 * localedata/locales/ayc_PE: Likewise.
26077 * localedata/locales/az_AZ: Likewise.
26078 * localedata/locales/az_IR: Likewise.
26079 * localedata/locales/be_BY: Likewise.
26080 * localedata/locales/be_BY@latin: Likewise.
26081 * localedata/locales/bem_ZM: Likewise.
26082 * localedata/locales/ber_DZ: Likewise.
26083 * localedata/locales/ber_MA: Likewise.
26084 * localedata/locales/bg_BG: Likewise.
26085 * localedata/locales/bhb_IN: Likewise.
26086 * localedata/locales/bho_IN: Likewise.
26087 * localedata/locales/bi_VU: Likewise.
26088 * localedata/locales/bn_BD: Likewise.
26089 * localedata/locales/bn_IN: Likewise.
26090 * localedata/locales/bo_CN: Likewise.
26091 * localedata/locales/bo_IN: Likewise.
26092 * localedata/locales/br_FR: Likewise.
26093 * localedata/locales/brx_IN: Likewise.
26094 * localedata/locales/bs_BA: Likewise.
26095 * localedata/locales/byn_ER: Likewise.
26096 * localedata/locales/ca_AD: Likewise.
26097 * localedata/locales/ca_ES: Likewise.
26098 * localedata/locales/ca_FR: Likewise.
26099 * localedata/locales/ca_IT: Likewise.
26100 * localedata/locales/ce_RU: Likewise.
26101 * localedata/locales/chr_US: Likewise.
26102 * localedata/locales/cmn_TW: Likewise.
26103 * localedata/locales/crh_UA: Likewise.
26104 * localedata/locales/cs_CZ: Likewise.
26105 * localedata/locales/csb_PL: Likewise.
26106 * localedata/locales/cv_RU: Likewise.
26107 * localedata/locales/cy_GB: Likewise.
26108 * localedata/locales/da_DK: Likewise.
26109 * localedata/locales/de_AT: Likewise.
26110 * localedata/locales/de_BE: Likewise.
26111 * localedata/locales/de_CH: Likewise.
26112 * localedata/locales/de_DE: Likewise.
26113 * localedata/locales/de_IT: Likewise.
26114 * localedata/locales/de_LI: Likewise.
26115 * localedata/locales/de_LU: Likewise.
26116 * localedata/locales/doi_IN: Likewise.
26117 * localedata/locales/dv_MV: Likewise.
26118 * localedata/locales/dz_BT: Likewise.
26119 * localedata/locales/el_CY: Likewise.
26120 * localedata/locales/el_GR: Likewise.
26121 * localedata/locales/en_AG: Likewise.
26122 * localedata/locales/en_AU: Likewise.
26123 * localedata/locales/en_BW: Likewise.
26124 * localedata/locales/en_CA: Likewise.
26125 * localedata/locales/en_DK: Likewise.
26126 * localedata/locales/en_GB: Likewise.
26127 * localedata/locales/en_HK: Likewise.
26128 * localedata/locales/en_IE: Likewise.
26129 * localedata/locales/en_IL: Likewise.
26130 * localedata/locales/en_IN: Likewise.
26131 * localedata/locales/en_NG: Likewise.
26132 * localedata/locales/en_NZ: Likewise.
26133 * localedata/locales/en_PH: Likewise.
26134 * localedata/locales/en_SG: Likewise.
26135 * localedata/locales/en_US: Likewise.
26136 * localedata/locales/en_ZA: Likewise.
26137 * localedata/locales/en_ZM: Likewise.
26138 * localedata/locales/en_ZW: Likewise.
26139 * localedata/locales/eo: Likewise.
26140 * localedata/locales/es_AR: Likewise.
26141 * localedata/locales/es_BO: Likewise.
26142 * localedata/locales/es_CL: Likewise.
26143 * localedata/locales/es_CO: Likewise.
26144 * localedata/locales/es_CR: Likewise.
26145 * localedata/locales/es_CU: Likewise.
26146 * localedata/locales/es_DO: Likewise.
26147 * localedata/locales/es_EC: Likewise.
26148 * localedata/locales/es_ES: Likewise.
26149 * localedata/locales/es_GT: Likewise.
26150 * localedata/locales/es_HN: Likewise.
26151 * localedata/locales/es_MX: Likewise.
26152 * localedata/locales/es_NI: Likewise.
26153 * localedata/locales/es_PA: Likewise.
26154 * localedata/locales/es_PE: Likewise.
26155 * localedata/locales/es_PR: Likewise.
26156 * localedata/locales/es_PY: Likewise.
26157 * localedata/locales/es_SV: Likewise.
26158 * localedata/locales/es_US: Likewise.
26159 * localedata/locales/es_UY: Likewise.
26160 * localedata/locales/es_VE: Likewise.
26161 * localedata/locales/et_EE: Likewise.
26162 * localedata/locales/eu_ES: Likewise.
26163 * localedata/locales/eu_ES@euro: Likewise.
26164 * localedata/locales/fa_IR: Likewise.
26165 * localedata/locales/ff_SN: Likewise.
26166 * localedata/locales/fi_FI: Likewise.
26167 * localedata/locales/fil_PH: Likewise.
26168 * localedata/locales/fo_FO: Likewise.
26169 * localedata/locales/fr_BE: Likewise.
26170 * localedata/locales/fr_CA: Likewise.
26171 * localedata/locales/fr_CH: Likewise.
26172 * localedata/locales/fr_FR: Likewise.
26173 * localedata/locales/fr_LU: Likewise.
26174 * localedata/locales/fur_IT: Likewise.
26175 * localedata/locales/fy_DE: Likewise.
26176 * localedata/locales/fy_NL: Likewise.
26177 * localedata/locales/ga_IE: Likewise.
26178 * localedata/locales/gd_GB: Likewise.
26179 * localedata/locales/gez_ER: Likewise.
26180 * localedata/locales/gez_ET: Likewise.
26181 * localedata/locales/gl_ES: Likewise.
26182 * localedata/locales/gu_IN: Likewise.
26183 * localedata/locales/gv_GB: Likewise.
26184 * localedata/locales/ha_NG: Likewise.
26185 * localedata/locales/hak_TW: Likewise.
26186 * localedata/locales/he_IL: Likewise.
26187 * localedata/locales/hi_IN: Likewise.
26188 * localedata/locales/hif_FJ: Likewise.
26189 * localedata/locales/hne_IN: Likewise.
26190 * localedata/locales/hr_HR: Likewise.
26191 * localedata/locales/hsb_DE: Likewise.
26192 * localedata/locales/ht_HT: Likewise.
26193 * localedata/locales/hu_HU: Likewise.
26194 * localedata/locales/hy_AM: Likewise.
26195 * localedata/locales/i18n: Likewise.
26196 * localedata/locales/ia_FR: Likewise.
26197 * localedata/locales/id_ID: Likewise.
26198 * localedata/locales/ig_NG: Likewise.
26199 * localedata/locales/ik_CA: Likewise.
26200 * localedata/locales/is_IS: Likewise.
26201 * localedata/locales/it_CH: Likewise.
26202 * localedata/locales/it_IT: Likewise.
26203 * localedata/locales/iu_CA: Likewise.
26204 * localedata/locales/ja_JP: Likewise.
26205 * localedata/locales/ka_GE: Likewise.
26206 * localedata/locales/kk_KZ: Likewise.
26207 * localedata/locales/kl_GL: Likewise.
26208 * localedata/locales/kn_IN: Likewise.
26209 * localedata/locales/ko_KR: Likewise.
26210 * localedata/locales/kok_IN: Likewise.
26211 * localedata/locales/ks_IN: Likewise.
26212 * localedata/locales/ks_IN@devanagari: Likewise.
26213 * localedata/locales/ku_TR: Likewise.
26214 * localedata/locales/kw_GB: Likewise.
26215 * localedata/locales/ky_KG: Likewise.
26216 * localedata/locales/lb_LU: Likewise.
26217 * localedata/locales/lg_UG: Likewise.
26218 * localedata/locales/li_BE: Likewise.
26219 * localedata/locales/li_NL: Likewise.
26220 * localedata/locales/lij_IT: Likewise.
26221 * localedata/locales/ln_CD: Likewise.
26222 * localedata/locales/lo_LA: Likewise.
26223 * localedata/locales/lt_LT: Likewise.
26224 * localedata/locales/lv_LV: Likewise.
26225 * localedata/locales/lzh_TW: Likewise.
26226 * localedata/locales/mag_IN: Likewise.
26227 * localedata/locales/mai_IN: Likewise.
26228 * localedata/locales/mg_MG: Likewise.
26229 * localedata/locales/mhr_RU: Likewise.
26230 * localedata/locales/mi_NZ: Likewise.
26231 * localedata/locales/mk_MK: Likewise.
26232 * localedata/locales/ml_IN: Likewise.
26233 * localedata/locales/mn_MN: Likewise.
26234 * localedata/locales/mni_IN: Likewise.
26235 * localedata/locales/mr_IN: Likewise.
26236 * localedata/locales/ms_MY: Likewise.
26237 * localedata/locales/mt_MT: Likewise.
26238 * localedata/locales/my_MM: Likewise.
26239 * localedata/locales/nan_TW: Likewise.
26240 * localedata/locales/nan_TW@latin: Likewise.
26241 * localedata/locales/nb_NO: Likewise.
26242 * localedata/locales/nds_DE: Likewise.
26243 * localedata/locales/nds_NL: Likewise.
26244 * localedata/locales/ne_NP: Likewise.
26245 * localedata/locales/nhn_MX: Likewise.
26246 * localedata/locales/niu_NU: Likewise.
26247 * localedata/locales/niu_NZ: Likewise.
26248 * localedata/locales/nl_AW: Likewise.
26249 * localedata/locales/nl_BE: Likewise.
26250 * localedata/locales/nl_NL: Likewise.
26251 * localedata/locales/nn_NO: Likewise.
26252 * localedata/locales/nr_ZA: Likewise.
26253 * localedata/locales/nso_ZA: Likewise.
26254 * localedata/locales/oc_FR: Likewise.
26255 * localedata/locales/om_ET: Likewise.
26256 * localedata/locales/om_KE: Likewise.
26257 * localedata/locales/or_IN: Likewise.
26258 * localedata/locales/os_RU: Likewise.
26259 * localedata/locales/pa_IN: Likewise.
26260 * localedata/locales/pa_PK: Likewise.
26261 * localedata/locales/pap_AW: Likewise.
26262 * localedata/locales/pap_CW: Likewise.
26263 * localedata/locales/pl_PL: Likewise.
26264 * localedata/locales/ps_AF: Likewise.
26265 * localedata/locales/pt_BR: Likewise.
26266 * localedata/locales/pt_PT: Likewise.
26267 * localedata/locales/quz_PE: Likewise.
26268 * localedata/locales/raj_IN: Likewise.
26269 * localedata/locales/ro_RO: Likewise.
26270 * localedata/locales/ru_RU: Likewise.
26271 * localedata/locales/ru_UA: Likewise.
26272 * localedata/locales/rw_RW: Likewise.
26273 * localedata/locales/sa_IN: Likewise.
26274 * localedata/locales/sat_IN: Likewise.
26275 * localedata/locales/sc_IT: Likewise.
26276 * localedata/locales/sd_IN: Likewise.
26277 * localedata/locales/sd_IN@devanagari: Likewise.
26278 * localedata/locales/se_NO: Likewise.
26279 * localedata/locales/sgs_LT: Likewise.
26280 * localedata/locales/shs_CA: Likewise.
26281 * localedata/locales/si_LK: Likewise.
26282 * localedata/locales/sid_ET: Likewise.
26283 * localedata/locales/sk_SK: Likewise.
26284 * localedata/locales/sl_SI: Likewise.
26285 * localedata/locales/sm_WS: Likewise.
26286 * localedata/locales/so_DJ: Likewise.
26287 * localedata/locales/so_ET: Likewise.
26288 * localedata/locales/so_KE: Likewise.
26289 * localedata/locales/so_SO: Likewise.
26290 * localedata/locales/sq_AL: Likewise.
26291 * localedata/locales/sq_MK: Likewise.
26292 * localedata/locales/sr_ME: Likewise.
26293 * localedata/locales/sr_RS: Likewise.
26294 * localedata/locales/sr_RS@latin: Likewise.
26295 * localedata/locales/ss_ZA: Likewise.
26296 * localedata/locales/st_ZA: Likewise.
26297 * localedata/locales/sv_FI: Likewise.
26298 * localedata/locales/sv_SE: Likewise.
26299 * localedata/locales/sw_KE: Likewise.
26300 * localedata/locales/sw_TZ: Likewise.
26301 * localedata/locales/szl_PL: Likewise.
26302 * localedata/locales/ta_IN: Likewise.
26303 * localedata/locales/ta_LK: Likewise.
26304 * localedata/locales/tcy_IN: Likewise.
26305 * localedata/locales/te_IN: Likewise.
26306 * localedata/locales/tg_TJ: Likewise.
26307 * localedata/locales/th_TH: Likewise.
26308 * localedata/locales/the_NP: Likewise.
26309 * localedata/locales/ti_ER: Likewise.
26310 * localedata/locales/ti_ET: Likewise.
26311 * localedata/locales/tig_ER: Likewise.
26312 * localedata/locales/tk_TM: Likewise.
26313 * localedata/locales/tl_PH: Likewise.
26314 * localedata/locales/tn_ZA: Likewise.
26315 * localedata/locales/to_TO: Likewise.
26316 * localedata/locales/tpi_PG: Likewise.
26317 * localedata/locales/tr_CY: Likewise.
26318 * localedata/locales/tr_TR: Likewise.
26319 * localedata/locales/ts_ZA: Likewise.
26320 * localedata/locales/tt_RU: Likewise.
26321 * localedata/locales/tt_RU@iqtelif: Likewise.
26322 * localedata/locales/ug_CN: Likewise.
26323 * localedata/locales/uk_UA: Likewise.
26324 * localedata/locales/unm_US: Likewise.
26325 * localedata/locales/ur_IN: Likewise.
26326 * localedata/locales/ur_PK: Likewise.
26327 * localedata/locales/uz_UZ: Likewise.
26328 * localedata/locales/uz_UZ@cyrillic: Likewise.
26329 * localedata/locales/ve_ZA: Likewise.
26330 * localedata/locales/vi_VN: Likewise.
26331 * localedata/locales/wa_BE: Likewise.
26332 * localedata/locales/wae_CH: Likewise.
26333 * localedata/locales/wal_ET: Likewise.
26334 * localedata/locales/wo_SN: Likewise.
26335 * localedata/locales/xh_ZA: Likewise.
26336 * localedata/locales/yi_US: Likewise.
26337 * localedata/locales/yo_NG: Likewise.
26338 * localedata/locales/yue_HK: Likewise.
26339 * localedata/locales/yuw_PG: Likewise.
26340 * localedata/locales/zh_CN: Likewise.
26341 * localedata/locales/zh_HK: Likewise.
26342 * localedata/locales/zh_SG: Likewise.
26343 * localedata/locales/zh_TW: Likewise.
26344 * localedata/locales/zu_ZA: Likewise.
26346 2017-11-13 Florian Weimer <fweimer@redhat.com>
26348 * support/next_to_fault.h, support/next_to_fault.c: New files.
26349 * support/Makefile (libsupport-routines): Add next_to_fault.
26350 * resolv/tst-inet_pton.c (struct next_to_fault)
26351 (next_to_fault_allocate, next_to_fault_free): Remove.
26352 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
26354 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
26356 * elf/dl-support.c: Include <dl-procruntime.c>.
26357 * include/link.h: Include <link_map.h>.
26358 * sysdeps/generic/dl-procruntime.c: New file.
26359 * sysdeps/generic/link_map.h: Likewise.
26360 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
26361 the writable ld.so namespace.
26363 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
26365 timezone: pacify GCC -Wstringop-truncation
26366 Problem reported by Martin Sebor in:
26367 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
26368 * timezone/zic.c (writezone): Use memcpy, not strncpy.
26370 2017-11-12 Florian Weimer <fweimer@redhat.com>
26372 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
26374 (tests): Add tst-xreadlink.
26375 * support/support.h (xstrndup): Declare.
26376 * support/xunistd.h (xunlink, xreadlink): Declare.
26377 * support/temp_file.h (support_create_temp_directory): Declare.
26378 * support/temp_file.c (support_create_temp_directory): New function.
26379 * support/support_chroot.c (support_chroot_create): Use it.
26380 * support/xreadlink.c: New file.
26381 * support/xstrndup.c: Likewise.
26382 * support/xunlink.c: Likewise.
26383 * support/tst-xreadlink.c: Likewise.
26385 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
26387 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
26389 2017-11-11 Florian Weimer <fweimer@redhat.com>
26393 * resolv/res_comp.c (printable_string, binary_hnok)
26394 (binary_leading_dash): New functions.
26395 (res_hnok): Reimplement using these functions and ns_name_pton.
26396 (res_ownok): Likewise.
26397 (res_mailok): Reimplement using printable_string, ns_name_pton and
26399 (res_dnok): Reimplement using printable_string and ns_name_pton.
26400 * resolv/tst-res_hnok.c (tests): Add additional tests.
26401 (LETTERDIGITS, PRINTABLE): Define.
26402 (do_test): Adjust one_char results.
26404 2017-11-11 Florian Weimer <fweimer@redhat.com>
26407 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
26408 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
26410 2017-11-11 Florian Weimer <fweimer@redhat.com>
26412 * resolv/tst-ns_name_pton.c: New file.
26413 * resolv/Makefile (tests): Add tst-ns_name_pton.
26414 (tst-ns_name_pton): Link against libresolv.
26416 2017-11-11 Florian Weimer <fweimer@redhat.com>
26418 * resolv/tst-res_hnok.c: New file.
26419 * resolv/Makefile (tests): Add tst-res_hnok.
26420 (tst-res_hnok): Link against libresolv.
26422 2017-11-11 Florian Weimer <fweimer@redhat.com>
26424 * resolv/tst-resolv-network.c: Use test framework instead explicit
26427 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
26429 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
26430 <jmp_buf-macros.h>.
26431 [!_ISOMAC] (STR_HELPER): New.
26432 [!_ISOMAC] (STR): Likewise.
26433 [!_ISOMAC] (TEST_SIZE): Likewise.
26434 [!_ISOMAC] (TEST_ALIGN): Likewise.
26435 [!_ISOMAC] (TEST_OFFSET): Likewise.
26436 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
26437 field offsets of jmp_buf as well as sigjmp_buf.
26438 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
26439 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
26440 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
26441 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
26442 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
26443 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
26444 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
26445 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
26446 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
26447 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
26449 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
26451 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
26452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
26454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
26456 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
26457 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
26458 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
26459 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
26460 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
26461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
26463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
26465 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
26466 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
26467 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
26469 2017-11-07 Joseph Myers <joseph@codesourcery.com>
26472 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26473 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
26474 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26475 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
26476 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26477 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
26478 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26479 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
26480 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26481 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
26482 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26483 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
26484 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26485 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
26486 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26487 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
26488 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26489 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
26490 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26491 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
26492 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26493 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
26494 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26495 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
26496 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26497 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
26498 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26499 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
26500 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26501 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
26502 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26503 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
26504 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26505 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
26506 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26507 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
26508 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26509 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
26510 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26511 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
26512 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26513 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
26514 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26515 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
26516 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26517 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
26518 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26519 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
26520 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26521 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
26522 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26523 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
26524 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26525 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
26526 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26527 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
26528 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26529 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
26530 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26531 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
26532 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26533 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
26534 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26535 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
26536 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26537 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
26538 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26539 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
26540 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26541 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
26542 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26543 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
26544 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26545 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
26546 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26547 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
26548 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26549 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
26550 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26551 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
26552 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26553 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
26554 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26555 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
26556 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26557 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
26558 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26559 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
26561 * stdlib/tst-strtod.h (F16): New macro.
26567 (IF_FLOAT16): Likewise.
26568 (IF_FLOAT32): Likewise.
26569 (IF_FLOAT64): Likewise.
26570 (IF_FLOAT32X): Likewise.
26571 (IF_FLOAT64X): Likewise.
26572 (IF_FLOAT128X): Likewise.
26573 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
26574 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
26575 (STRTOD_TEST_FOREACH): Likewise.
26576 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
26577 (CHOOSE_f64): Likewise.
26578 (CHOOSE_f32x): Likewise.
26579 (CHOOSE_f64x): Likewise.
26581 2017-11-07 Andreas Schwab <schwab@suse.de>
26583 * nptl/Makefile (tests-internal): Remove tst-typesizes.
26585 2017-11-07 Mike FABIAN <mfabian@redhat.com>
26588 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
26590 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
26593 2017-11-07 Claude Paroz <claude@2xlibre.net>
26596 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
26598 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
26600 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
26603 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26606 * nptl/allocatestack.c (allocate_stack): Check if
26607 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
26608 __PTHREAD_MUTEX_HAVE_PREV is defined.
26609 * nptl/descr.h (pthread): Likewise.
26610 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26612 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26613 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26614 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
26615 * sysdeps/nptl/bits/thread-shared-types.h
26616 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26618 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
26619 of __WORDSIZE for internal layout.
26620 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
26621 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
26622 instead of __WORDSIZE whether to use an union for __spins and __list
26624 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
26626 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
26627 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26629 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
26630 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26632 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
26633 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26635 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
26636 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26638 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
26639 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26641 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
26642 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26644 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
26645 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26647 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
26648 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26650 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
26651 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26653 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
26654 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26656 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
26657 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26659 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
26660 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26662 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
26663 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26665 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
26666 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26668 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
26669 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26672 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
26674 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
26675 checks for expected input type size.
26676 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26677 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26679 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26680 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
26681 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26682 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
26683 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26684 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
26685 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
26686 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
26687 superflous runtime assert check.
26688 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
26690 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
26692 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26694 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
26696 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
26698 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
26700 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
26701 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
26702 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26704 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26706 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26708 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
26710 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26712 * nptl/pthread_attr_setinheritsched.c
26713 (__pthread_attr_setinheritsched): Likewise.
26714 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
26716 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
26718 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
26719 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
26720 __old_pthread_attr_setstack): Likewise.
26721 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26723 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26725 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
26727 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26728 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26730 * nptl/tst-typesizes.c: Remove file.
26732 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
26733 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
26734 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
26735 checks for internal pthread_mutex_t offsets.
26736 * sysdeps/aarch64/nptl/pthread-offsets.h
26737 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
26738 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
26739 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
26740 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
26741 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
26742 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
26743 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
26744 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
26745 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
26746 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
26747 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
26748 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
26749 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
26750 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
26751 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
26752 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
26753 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
26754 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
26756 2017-11-07 Florian Weimer <fweimer@redhat.com>
26758 * bits/mman-linux.h: Move ...
26759 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
26761 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
26764 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26766 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
26767 Redefine STRNLEN as __strnlen_power8.
26769 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26771 * signal/sighold.c (sighold): Optimize implementation.
26773 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
26774 __NR_rt_sigqueueinfo.
26776 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
26778 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
26779 assume __NR_rt_sigtimedwait.
26780 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
26781 and add LIBC_CANCEL_HANDLED for cancellation marking.
26782 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26784 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26785 (sysdeps_routines): Add memchr_noneon.
26786 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
26787 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
26788 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
26789 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
26790 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
26791 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
26792 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
26794 * sysdeps/arm/arm-ifunc.h: New file.
26795 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
26796 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
26797 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
26798 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
26799 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
26800 (__memcpy_neon): Avoid create hidden alias.
26801 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
26802 (__memcpy_vfp): Likewise.
26803 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26804 (sysdep_routines): Add memcpy_arm.
26805 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
26807 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
26810 * Makerules (make-link-multidir): New.
26811 * config.make.in (multidir): New.
26812 * configure.ac (libc_cv_multidir): New. AC_SUBST.
26813 * configure: Regenerated.
26814 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
26815 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
26816 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
26819 2017-11-06 Joseph Myers <joseph@codesourcery.com>
26822 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
26823 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
26825 2017-11-04 Mike FABIAN <mfabian@redhat.com>
26827 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
26830 2017-11-04 Florian Weimer <fweimer@redhat.com>
26832 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
26834 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26836 * math/math.h [__HAVE_DISTINCT_FLOAT16
26837 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26838 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26839 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26840 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
26841 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
26842 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
26843 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26844 (__MATH_TG_F32): New macro.
26845 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26846 (__MATH_TG_F64X): Likewise.
26847 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26848 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
26850 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
26852 * po/de.po: Update translations.
26853 * po/ru.po: Likewise.
26855 2017-11-03 Florian Weimer <fweimer@redhat.com>
26857 * manual/filesys.texi (Hard Links): Document linkat.
26859 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26861 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
26862 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26863 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26864 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26865 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26866 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26867 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
26868 the same as _Float128.
26869 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26870 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26871 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
26874 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
26876 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
26878 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
26880 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26881 (strtof32x): Likewise.
26882 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26883 (strtof64x): Likewise.
26884 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26885 (strtof128x): Likewise.
26886 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26887 (strfromf16): Likewise.
26888 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26889 (strfromf32): Likewise.
26890 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26891 (strfromf64): Likewise.
26892 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26893 (strfromf32x): Likewise.
26894 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26895 (strfromf64x): Likewise.
26896 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26897 (strfromf128x): Likewise.
26898 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
26899 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
26900 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
26901 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
26902 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
26903 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
26905 2017-11-03 Richard Henderson <rth@twiddle.net>
26907 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
26909 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26911 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
26913 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26915 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
26916 DT_TLSDESC_GOT initialization.
26917 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
26918 (_dl_tlsdesc_resolve_hold): Likewise.
26919 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
26920 (_dl_tlsdesc_resolve_hold): Likewise.
26921 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
26922 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26924 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26926 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
26928 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26931 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
26932 non-lazily for R_ARM_TLS_DESC.
26934 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26937 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
26938 R_ARM_TLS_DESC case.
26939 (elf_machine_lazy_rel): Remove the prelink check.
26941 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26943 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
26944 DT_TLSDESC_GOT initialization.
26945 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
26946 (_dl_tlsdesc_resolve_rela): Likewise.
26947 (_dl_tlsdesc_resolve_hold): Likewise.
26948 (_dl_tlsdesc_undefweak): Remove ldar.
26949 (_dl_tlsdesc_dynamic): Likewise.
26950 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
26951 (_dl_tlsdesc_resolve_rela): Likewise.
26952 (_dl_tlsdesc_resolve_hold): Likewise.
26953 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
26954 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26955 (_dl_tlsdesc_resolve_rela): Likewise.
26956 (_dl_tlsdesc_resolve_hold): Likewise.
26958 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26960 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
26961 binding and initialization non-lazily for R_AARCH64_TLSDESC.
26963 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26965 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
26966 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26968 2017-11-02 Joseph Myers <joseph@codesourcery.com>
26970 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
26972 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
26973 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
26974 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
26975 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
26976 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
26977 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
26978 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
26979 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
26980 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
26981 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
26982 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
26984 2017-11-02 Mike FABIAN <mfabian@redhat.com>
26987 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
26988 * localedata/locales/tpi_PG: Add standard header.
26990 2017-11-02 Florian Weimer <fweimer@redhat.com>
26992 test-errno-linux: quotactl can fail with EPERM in containers.
26993 * sysdeps/unix/sysv/linux/test-errno-linux.c
26994 (LIST, LIST_FORWARD): New macros.
26995 (check_error_in_list): New function.
26996 (test_wrp_rv): Accept list of permitted error codes.
26997 (test_wrp_rv2): Remove.
26998 (test_wrp): Call test_wrp_rv with list of error codes.
26999 (test_wrp2): Accept list of error codes.
27000 (do_test): Adjust. Allow EPERM for quotactl.
27002 2017-11-02 Florian Weimer <fweimer@redhat.com>
27004 * stdio-common/bug16.c (do_test): Use array_length.
27005 * stdio-common/errlist.c (_sys_nerr): Likewise.
27006 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
27007 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
27008 * stdio-common/psiginfo.c (psiginfo): Use array_length.
27009 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
27010 (do_test): Use array_length.
27011 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
27012 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
27013 * stdio-common/tst-printf-round.c (do_test): Likewise.
27014 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
27015 (CHECK): Use array_length.
27016 * stdio-common/tstdiomisc.c (t3, F): Likewise.
27017 * stdio-common/tstscanf.c (main): Likewise.
27018 * stdio-common/vfprintf.c (process_string_arg): Likewise.
27020 2017-11-02 Florian Weimer <fweimer@redhat.com>
27022 Add array_length and array_end macros.
27023 * include/array_length.h: New file.
27025 2017-11-02 Florian Weimer <fweimer@redhat.com>
27028 * posix/tst-glob-tilde.c (do_noescape): New variable.
27029 (one_test): Process it.
27030 (do_test): Set do_noescape. Add unescaping test case.
27032 2017-11-01 Joseph Myers <joseph@codesourcery.com>
27035 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
27036 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
27037 with appropriate macros defined and undefined.
27038 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
27039 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27040 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
27041 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27042 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
27043 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27044 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
27045 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27046 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
27047 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27050 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
27051 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
27052 that for long double. Do not condition define and undefine of
27053 _Mdouble_complex_ on [__CFLOAT128].
27055 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
27057 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27058 of <sysdeps/generic/sysdep.h>.
27059 (ALIGNARG): Removed.
27060 (ASM_SIZE_DIRECTIVE): Likewise.
27063 (ENTRY_CHK): Likewise.
27064 (END_CHK): Likewise.
27065 (syscall_error): Likewise.
27066 (mcount): Likewise.
27067 (PSEUDO_END): Likewise.
27069 (atom_text_section): Likewise.
27070 * sysdeps/x86/sysdep.h: New file.
27071 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27072 of <sysdeps/generic/sysdep.h>.
27073 (ALIGNARG): Removed.
27074 (ASM_SIZE_DIRECTIVE): Likewise.
27077 (ENTRY_CHK): Likewise.
27078 (END_CHK): Likewise.
27079 (syscall_error): Likewise.
27080 (mcount): Likewise.
27081 (PSEUDO_END): Likewise.
27083 (atom_text_section): Likewise.
27085 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
27087 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
27088 category of LC_CTYPE set to "i18n:2012".
27089 * localedata/locales/i18n_ctype: Regenerate.
27091 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
27093 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
27094 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
27095 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27096 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27098 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
27099 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
27100 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
27101 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
27103 2017-10-31 Joseph Myers <joseph@codesourcery.com>
27106 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
27108 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
27110 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
27112 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27113 (CMPLXF32X): Likewise.
27114 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27115 (CMPLXF64X): Likewise.
27116 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27117 (CMPLXF128X): Likewise.
27120 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
27121 (__MATH_EVAL_FMT2): Define to add 0.0f.
27123 2017-10-31 Alan Modra <amodra@gmail.com>
27125 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
27127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
27128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
27129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
27130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
27131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
27132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
27133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
27134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
27135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
27136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
27137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
27138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
27139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
27140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
27141 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
27142 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
27143 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
27144 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
27145 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
27146 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
27147 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
27148 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
27149 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
27150 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
27151 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27152 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
27153 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
27154 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
27155 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
27156 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
27157 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27158 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27159 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
27160 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
27161 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
27162 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
27163 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
27164 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
27165 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
27166 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27167 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
27168 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
27169 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
27170 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
27171 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
27172 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
27173 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
27174 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
27175 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27176 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27177 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
27178 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
27179 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
27180 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
27181 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27182 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
27183 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
27184 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
27185 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27186 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27187 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27188 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
27189 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
27190 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27191 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
27192 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
27193 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
27194 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
27195 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
27197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
27198 include sysdep.h and math_ldbl_opt.h.
27200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
27201 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
27202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
27203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
27204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
27205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
27206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
27207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
27208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
27209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
27210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
27211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
27212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
27213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
27214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
27215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
27216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
27217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
27218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
27219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
27220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
27221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
27222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
27223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
27224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
27225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
27227 2017-10-31 Alan Modra <amodra@gmail.com>
27229 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
27230 string/strncase_l.c, not string/strncase.c.
27231 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
27232 (libc_hidden_def): Redefine.
27234 2017-10-31 Alan Modra <amodra@gmail.com>
27236 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
27237 (__STRCMP, STRCMP, __strcasecmp_l): Define.
27238 (__strcasecmp): Don't define.
27240 2017-10-31 Alan Modra <amodra@gmail.com>
27242 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
27244 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27245 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27246 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27248 2017-10-31 Alan Modra <amodra@gmail.com>
27250 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
27253 2017-10-31 Alan Modra <amodra@gmail.com>
27255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
27256 Redefine only when SHARED.
27258 2017-10-30 Joseph Myers <joseph@codesourcery.com>
27260 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27261 Include <bits/math-finite.h> with appropriate macros defined and
27263 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27264 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27265 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27266 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27267 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27269 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
27270 [!_Mlong_double_] (_Mlong_double_): Likewise.
27271 [!_Mfloat16_] (_Mfloat16_): Likewise.
27272 [!_Mfloat32_] (_Mfloat32_): Likewise.
27273 [!_Mfloat64_] (_Mfloat64_): Likewise.
27274 [!_Mfloat128_] (_Mfloat128_): Likewise.
27275 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
27276 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
27277 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
27278 (_Mdouble_): Define without indirection through those macros.
27279 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
27280 [!_Mfloat128_] (_Mfloat128_): Likewise.
27281 [_Mlong_double_] (_Mlong_double_): Likewise.
27282 (_Mdouble_): Define without indirection through those macros.
27283 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
27284 not add -D_Mlong_double_=double.
27285 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
27286 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
27288 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27290 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
27292 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27294 * sysdeps/x86/libc-start.c: Reformat.
27296 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27299 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
27300 (1): Renamed to ...
27303 (L(Src2)): Likewise.
27304 (L(1)): Renamed to ...
27307 2017-10-30 Joseph Myers <joseph@codesourcery.com>
27309 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
27310 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
27311 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
27312 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
27313 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
27314 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
27315 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
27316 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
27317 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
27318 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
27319 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
27320 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
27321 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
27322 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
27323 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
27324 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
27325 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
27326 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
27327 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
27328 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
27329 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
27330 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
27331 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
27332 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
27333 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
27334 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
27335 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
27336 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
27337 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
27338 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
27339 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
27340 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
27341 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
27342 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
27343 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
27344 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
27345 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
27346 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
27347 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
27348 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
27349 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
27350 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
27351 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
27352 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
27353 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
27354 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
27355 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
27356 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
27357 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
27358 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
27359 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
27360 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
27361 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
27362 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
27363 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
27364 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
27365 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
27366 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
27367 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
27368 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
27369 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
27370 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
27371 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
27372 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
27373 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
27374 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
27376 2017-10-30 Florian Weimer <fweimer@redhat.com>
27378 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
27380 * io/tst-mkdirat.c (do_test): Likewise.
27381 * io/tst-mkfifoat.c (do_test): Likewise.
27382 * io/tst-mknodat.c (do_test): Likewise.
27383 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
27384 * locale/programs/locale.c (select_dirs): Likewise.
27385 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
27386 * posix/bug-glob2.c (my_readdir): Likewise.
27387 * posix/tst-dir.c (main): Likewise.
27388 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
27389 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
27391 2017-10-30 Florian Weimer <fweimer@redhat.com>
27393 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
27396 2017-10-30 Florian Weimer <fweimer@redhat.com>
27398 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
27399 Convert to support/test-driver.c.
27400 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
27401 New macro parameters.
27402 (PRINTF): Remove macro. Use test_verbose conditionals instead.
27403 * posix/tst-gnuglob.c: New file.
27404 * posix/tst-gnuglob64.c: Likewise.
27405 * posix/Makefile (tests): Add tst-gnuglob64.
27407 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
27410 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
27411 and use a better translation for March in “mon”.
27412 * localedata/locales/csb_PL: Use more ASCII to improve the
27413 readability of the source.
27415 2017-10-30 Mike FABIAN <mfabian@redhat.com>
27418 * localedata/locales/km_KH: Use ASCII as much
27419 as possible for better readability of the source and
27420 remove useless comments.
27421 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
27422 was commented out and apparently wrong anyway because it was
27423 using Lao characters. If Buddhist era should be used
27424 for km_KH, a native speaker should write the correct formaat
27426 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
27427 (According to CLDR, the first weekday for Cambodia is Sunday).
27428 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
27429 (These were using Lao characters which must be wrong. If we get
27430 the correct data from a native speaker, we could add it back, until
27431 then it is better not to have name_mr and name_mrs at all than
27434 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
27436 * locale/loadlocale.c: Correct size of
27437 _nl_value_type_LC_<category> arrays.
27439 2017-10-27 Joseph Myers <joseph@codesourcery.com>
27441 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27442 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
27443 with appropriate macros defined and undefined.
27444 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27445 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27446 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27447 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27448 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27450 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
27452 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
27455 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27457 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
27458 with lowercase letters to make it agree with CLDR.
27460 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27463 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
27464 first letters of yesstr and nostr in yesexpr and noexpr,
27465 not for the full words.
27466 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27467 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
27468 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
27469 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
27470 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
27471 first letters of yesstr and nostr in yesexpr and noexpr,
27472 until now only English was matched in yesexpr and noexpr.
27473 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
27474 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
27475 fil but not for tl. As tl and fil are very similar, using fil
27476 is probably better than using English.
27478 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
27481 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
27482 in yesstr and nostr.
27484 2017-10-26 Joseph Myers <joseph@codesourcery.com>
27486 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27487 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
27488 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
27490 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
27492 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
27494 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
27496 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27497 (SNANF128X): Likewise.
27499 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27500 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
27501 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27502 (HUGE_VAL_F32): Likewise.
27503 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27504 (HUGE_VAL_F64): Likewise.
27505 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27506 (HUGE_VAL_F32X): Likewise.
27507 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27508 (HUGE_VAL_F64X): Likewise.
27509 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27510 (HUGE_VAL_F128X): Likewise.
27512 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
27514 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
27515 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
27516 for the br_FR locale.
27518 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
27521 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
27523 2017-10-25 Carlos O'Donell <carlos@redhat.com>
27525 * locale/programs/record-status.h: Define globals, and function
27526 prototypes. Move function bodies...
27527 * locale/programs/record-status.c: ... to here. New file.
27528 * iconv/Makefile (iconv_prog-modules): Add record-status.
27529 * locale/Makefile (lib-modules): Likewise.
27530 * iconv/iconv_prog.c: Remove verbose.
27531 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
27532 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
27533 record a warning about ASCII compatibility.
27534 * locale/programs/ld-monetary.c (monetary_finish): If
27535 warn_int_curr_symbol is true then record a warning about the symbol
27536 not being in our ISO 4217 list.
27537 * locale/programs/locale.c: Include record-status.h. Remove verbose.
27538 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
27539 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
27540 (OPT_NO_WARN): Define.
27541 (OPT_WARN): Define.
27542 (options): Add entry for --no-warnings, and --warnings.
27543 (set_warnings): New function to enable/disable warnings.
27544 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
27545 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
27546 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
27547 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
27548 Pass flags to generate_locale.
27549 (generate_locale): Accept new flag argument and pass it to localedef
27551 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
27552 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
27554 * localedata/Makefile (test-input-data): Use full file name.
27555 * localedata/da_DK.in: Rename to...
27556 * localedata/da_DK.ISO-8859-1.in: ...this.
27557 * localedata/de_DE.in: Rename to...
27558 * localedata/de_DE.ISO-8859-1.in: ...this.
27559 * localedata/en_US.in: Rename to...
27560 * localedata/en_US.ISO-8859-1.in: ...this.
27561 * localedata/fr_FR.in: Rename to...
27562 * localedata/fr_FR.UTF-8.in: ... this.
27563 * localedata/hr_HR.in: Rename to...
27564 * localedata/hr_HR.ISO-8859-2.in: ...this.
27565 * localedata/hu_HU.in: Rename to...
27566 * localedata/hu_HU.UTF-8.in: ...this.
27567 * localedata/si_LK.in: Rename to...
27568 * localedata/si_LK.UTF-8.in: ...this.
27569 * localedata/sv_SE.in: Rename to...
27570 * localedata/sv_SE.ISO-8859-1.in: ...this.
27571 * localedata/tr_TR.in: Rename to...
27572 * localedata/tr_TR.UTF-8.in: ...this.
27573 * localedata/uk_UA.in: Rename to...
27574 * localedata/uk_UA.UTF-8.in: ...this.
27575 * localedata/sort-test.sh: Test file is locale name with the
27578 * localedata/unicode-gen/Makefile (check_i18n): Rename to
27579 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
27581 * localedata/locales/i18n_ctype: Regenerate.
27582 * localedata/locales/tr_TR: Likewise.
27583 * localedata/locales/translit_circle: Likewise.
27584 * localedata/locales/translit_cjk_compat: Likewise.
27585 * localedata/locales/translit_combining: Likewise.
27586 * localedata/locales/translit_compat: Likewise.
27587 * localedata/locales/translit_font: Likewise.
27588 * localedata/locales/translit_fraction: Likewise.
27590 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27592 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
27593 lxvd2x/stxvd2x with lvx/stvx.
27594 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
27596 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
27598 * include/alloc_buffer.h: Replace "if if " with "if " in
27600 * sysdeps/mips/memcpy.S: Likkewise.
27601 * sysdeps/mips/memset.S: Likewise.
27602 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
27604 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
27606 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
27609 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27612 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
27613 yesexpr and noexpr.
27614 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27615 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27616 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27617 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27618 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27619 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27620 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27622 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27624 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
27625 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27626 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27627 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27628 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27629 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
27630 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27631 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27632 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27633 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27634 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27635 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27637 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27639 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
27640 as possible for better readability of the source.
27641 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
27642 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
27643 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
27644 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
27645 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
27646 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
27647 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
27648 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
27649 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27650 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
27651 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
27652 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
27653 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
27654 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
27655 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
27656 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
27657 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
27658 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
27659 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
27660 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
27661 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
27662 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
27663 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
27664 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
27665 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
27666 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
27667 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
27668 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
27669 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
27670 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
27671 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
27672 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27673 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
27674 * localedata/locales/en_US (LC_MESSAGES): Likewise.
27675 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
27676 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
27677 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
27678 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
27679 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
27680 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
27681 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
27682 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
27683 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
27684 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
27685 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
27686 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
27687 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
27688 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
27689 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
27690 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
27691 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
27692 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
27693 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
27694 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27695 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27696 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
27697 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
27698 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27699 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
27700 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
27701 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
27702 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
27703 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
27704 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
27705 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
27706 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
27707 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
27708 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
27709 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
27710 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
27711 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
27712 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
27713 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
27714 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
27715 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27716 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
27717 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
27718 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
27719 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
27720 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
27721 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
27722 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
27723 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
27724 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27725 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
27726 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
27727 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
27728 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27729 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
27730 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
27731 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
27732 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
27733 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27734 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
27735 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
27736 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27737 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
27738 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27739 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
27740 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
27741 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
27742 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
27743 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
27744 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
27745 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
27746 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
27747 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
27748 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
27749 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
27750 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
27751 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
27752 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
27753 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27754 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
27755 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
27756 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
27757 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
27758 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
27759 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
27760 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
27761 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
27762 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
27763 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
27764 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
27765 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
27766 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
27767 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
27768 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
27769 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
27770 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
27771 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
27772 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
27773 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
27774 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
27775 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
27776 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
27777 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
27778 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
27779 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
27780 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
27781 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
27782 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
27783 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
27784 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
27785 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
27786 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27787 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
27788 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
27789 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
27790 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
27791 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
27792 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
27793 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
27794 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
27795 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27796 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
27797 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
27798 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
27799 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
27800 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
27801 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
27802 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
27803 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
27804 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
27805 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
27806 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27807 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
27808 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
27809 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
27810 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
27811 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27812 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27813 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27814 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
27816 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27818 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
27819 (Use first letters of yesstr and nostr correctly instead of using
27822 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27824 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
27825 (Use first letters of yesstr and nostr correctly).
27827 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27829 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
27830 also check for the first characters of yesstr and nostr.
27831 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
27832 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
27834 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27836 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
27837 also check for Chinese characters.
27839 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27841 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
27842 match also for the contents of yesstr and nostr. As the first letter
27843 of yesstr and nostr is equal, checking only for the first letter
27846 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27848 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
27849 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
27851 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27853 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
27854 of main contributor.
27856 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27858 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
27859 instead of using English.
27861 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27863 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
27864 by including the first letters of nostr and yesexpr in the regexp.
27865 Also make it more readable by using ASCII where possible.
27867 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27869 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
27870 the first letter of nostr in the regexp. It agrees with CLDR now.
27871 Also make it more readable by using ASCII where possible.
27873 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27875 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
27876 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
27877 these strings contain a U+17D6 (which somewhat looks like a colon)
27878 instead of a real colon to separate the full words for “yes”
27879 and “no” from the single letter responses.
27881 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27883 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
27884 it agree with CLDR (include the first letter of yesstr).
27885 Also make it more readable by using ASCII where possible.
27887 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27889 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
27890 and improve yesexpr and noexpr. The yesstr and nostr apparently
27891 came from CLDR. And CLDR has a bug there: these strings contain
27892 a U+0903 (which looks like a colon) instead of a real colon
27893 to separate the full words for “yes” and “no” from the single
27896 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27898 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
27899 letters of the full yesstr and nostr in yesexpr and noexpr.
27901 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27903 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
27904 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
27905 * localedata/locales/an_ES: Make source more readable by using ASCII
27908 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27911 * localedata/locales/yuw_PG: New file.
27912 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
27913 * locale/iso-639.def: Add Yau (Uruwa).
27915 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27917 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
27919 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27921 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
27922 (__libc_realloc): Likewise.
27923 (_mid_memalign): Likewise.
27924 (__libc_calloc): Likewise.
27926 2017-10-23 Mike FABIAN <mfabian@redhat.com>
27928 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
27929 by adding the generic +1 and -0 as in all other locales.
27930 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
27931 day names and make it more readable by using ASCII where possible.
27933 2017-10-24 Joseph Myers <joseph@codesourcery.com>
27935 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
27936 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
27938 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27940 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
27941 WNOHANG in waitpid call.
27943 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
27945 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
27946 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
27948 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
27949 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
27950 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
27951 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
27952 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
27953 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
27954 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
27955 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
27958 2017-10-23 Michael Collison <michael.collison@arm.com>
27960 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
27961 with __builtin_sqrt.
27962 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
27963 with __builtin_sqrtf.
27964 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
27965 with __builtin_ceil.
27966 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
27967 with __builtin_ceilf.
27968 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
27969 with __builtin_floor.
27970 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
27971 with __builtin_floorf.
27972 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
27973 with __builtin_fma.
27974 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
27975 with __builtin_fmaf.
27976 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
27977 with __builtin_fmax.
27978 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
27979 with __builtin_fmaxf.
27980 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
27981 with __builtin_fmin.
27982 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
27983 with __builtin_fminf.
27984 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
27985 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
27986 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
27987 with builtin_rint and conversion to int.
27988 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
27989 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
27990 with builtin_llround.
27991 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
27992 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
27993 with builtin_rint and conversion to long int.
27994 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
27995 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
27996 with builtin_lround.
27997 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
27998 with builtin_lroundf.
27999 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
28000 statements with __builtin_nearbyint.
28001 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
28002 statements with __builtin_nearbyintf.
28003 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
28004 with __builtin_rint.
28005 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
28006 with __builtin_rintf.
28007 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
28008 with __builtin_round.
28009 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
28010 with __builtin_roundf.
28011 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
28012 with __builtin_trunc.
28013 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
28014 with __builtin_truncf.
28015 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
28016 and s_l[l]round[f].c too.
28018 2017-10-23 Alan Modra <amodra@gmail.com>
28020 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
28021 Adjust stack after restoring regs. Add missing LR cfi_restore.
28023 2017-10-23 Alan Modra <amodra@gmail.com>
28025 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
28026 Move LR save and frame setup/teardown and LR restore to
28027 immediately around memset call. Provide cfi.
28029 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28031 * sysdeps/i386/fpu/e_powf.S: Removed.
28032 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
28033 * sysdeps/i386/fpu/w_powf.c: Likewise.
28034 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
28035 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28036 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28038 (CFLAGS-e_powf-sse2.c): New.
28039 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
28040 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
28042 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28044 * sysdeps/i386/fpu/e_log2f.S: Removed.
28045 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
28046 * sysdeps/i386/fpu/w_log2f.c: Likewise.
28047 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
28048 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28049 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28051 (CFLAGS-e_log2f-sse2.c): New.
28052 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
28053 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
28055 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28057 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28059 (CFLAGS-e_powf-fma.c): New.
28060 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
28061 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
28063 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28065 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28067 (CFLAGS-e_log2f-fma.c): New.
28068 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
28069 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
28071 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28073 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28075 (CFLAGS-e_logf-fma.c): New.
28076 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
28077 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
28079 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28081 * sysdeps/i386/fpu/e_logf.S: Removed.
28082 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
28083 * sysdeps/i386/fpu/w_logf.c: Likewise.
28084 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
28085 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
28086 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28087 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28089 (CFLAGS-e_logf-sse2.c): New.
28090 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
28091 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
28093 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28095 * sysdeps/i386/fpu/e_exp2f.S: Removed.
28096 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
28097 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
28098 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28099 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28101 (CFLAGS-e_exp2f-sse2.c): New.
28102 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
28103 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
28105 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28107 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28109 (CFLAGS-e_exp2f-fma.c): New.
28110 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
28111 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
28113 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28115 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
28116 * sysdeps/i386/fpu/e_expf.S: Likewise.
28117 * sysdeps/i386/fpu/math_errf.c: Likewise.
28118 * sysdeps/i386/fpu/w_expf.c: Likewise.
28119 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
28120 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28121 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
28122 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
28123 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28124 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28125 Remove e_expf-ia32.
28126 (CFLAGS-e_expf-sse2.c): New.
28127 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
28128 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
28130 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28132 * sysdeps/x86_64/fpu/e_expf.S: Removed.
28133 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
28134 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
28135 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
28137 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
28139 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
28140 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28142 (__redirect_expf): This.
28143 (SYMBOL_NAME): Changed to expf.
28144 (__ieee754_expf): Renamed to ...
28146 (__GI___expf): This.
28147 (__ieee754_expf): Add strong_alias.
28148 (__expf_finite): Likewise.
28150 Include <sysdeps/ieee754/flt-32/e_expf.c>.
28152 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
28155 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
28158 2017-10-21 Florian Weimer <fweimer@redhat.com>
28160 * posix/Makefile (tests): Add tst-glob-tilde.
28161 (tests-special): Add tst-glob-tilde-mem.out
28162 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
28163 (tst-glob-tilde-mem.out): Add mtrace check.
28164 * posix/tst-glob-tilde.c: New file.
28166 2017-10-20 Joseph Myers <joseph@codesourcery.com>
28168 * bits/floatn-common.h: New file.
28169 * math/Makefile (headers): Add bits/floatn-common.h.
28170 * bits/floatn.h: Include <bits/floatn-common.h>.
28171 * sysdeps/ia64/bits/floatn.h: Likewise.
28172 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28173 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
28174 * sysdeps/powerpc/bits/floatn.h: Likewise.
28175 * sysdeps/x86/bits/floatn.h: Likewise.
28177 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28179 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
28180 indicates whether compiler emits an warning for alias for
28181 functions with incompatible types.
28184 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
28185 the auxiliary process is terminated by a signal before calling _exit
28188 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28191 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
28193 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
28194 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
28195 and bit_arch_XSAVEC_Usable if needed.
28196 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
28197 and bit_arch_Use_dl_runtime_resolve_opt.
28198 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
28200 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
28201 (bit_arch_Prefer_No_AVX512): Updated.
28202 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
28203 (bit_arch_XSAVEC_Usable): New.
28204 (STATE_SAVE_OFFSET): Likewise.
28205 (STATE_SAVE_MASK): Likewise.
28206 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
28207 (cpu_features): Add xsave_state_size and xsave_state_full_size.
28208 (index_arch_Use_dl_runtime_resolve_opt): Removed.
28209 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
28210 (index_arch_XSAVEC_Usable): New.
28211 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28212 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
28213 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
28215 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
28216 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
28217 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
28218 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
28219 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
28220 _dl_runtime_resolve_xsavec.
28221 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
28223 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
28224 instead of VEC_SIZE.
28225 (REGISTER_SAVE_BND0): Removed.
28226 (REGISTER_SAVE_BND1): Likewise.
28227 (REGISTER_SAVE_BND3): Likewise.
28228 (REGISTER_SAVE_RAX): Always defined to 0.
28230 (_dl_runtime_resolve_avx): Likewise.
28231 (_dl_runtime_resolve_avx_slow): Likewise.
28232 (_dl_runtime_resolve_avx_opt): Likewise.
28233 (_dl_runtime_resolve_avx512): Likewise.
28234 (_dl_runtime_resolve_avx512_opt): Likewise.
28235 (_dl_runtime_resolve_sse): Likewise.
28236 (_dl_runtime_resolve_sse_vex): Likewise.
28238 (_dl_runtime_resolve_fxsave): Likewise.
28239 (USE_XSAVE): Likewise.
28240 (_dl_runtime_resolve_xsave): Likewise.
28241 (USE_XSAVEC): Likewise.
28242 (_dl_runtime_resolve_xsavec): Likewise.
28243 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
28245 (_dl_runtime_resolve_avx512_opt): Likewise.
28246 (_dl_runtime_resolve_avx): Likewise.
28247 (_dl_runtime_resolve_avx_opt): Likewise.
28248 (_dl_runtime_resolve_sse): Likewise.
28249 (_dl_runtime_resolve_sse_vex): Likewise.
28250 (_dl_runtime_resolve_fxsave): New.
28251 (_dl_runtime_resolve_xsave): Likewise.
28252 (_dl_runtime_resolve_xsavec): Likewise.
28254 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
28258 * posix/glob.c (__glob): Fix one-byte overflow.
28260 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28262 * malloc/malloc.c (sysdep-cancel.h): Add include.
28264 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28266 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
28268 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
28270 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
28271 (tests): Remove $(objpfx)ga_test depdendency.
28272 * resolv/ga_test.c: Remove file.
28274 2017-10-20 Mike FABIAN <mfabian@redhat.com>
28277 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
28278 * localedata/locales/kab_DZ: New file.
28280 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28282 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
28283 _dl_relocate_static_pie instead of _dl_start to compute load
28284 address in static PIE.
28286 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28288 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
28290 2017-10-20 Mike FABIAN <mfabian@redhat.com>
28293 * localedata/SUPPORTED: Add shn_MM/UTF-8.
28294 * localedata/locales/shn_MM: New file.
28296 2017-10-20 Florian Weimer <fweimer@redhat.com>
28299 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
28300 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
28301 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
28302 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
28303 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
28304 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
28306 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
28308 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28310 2017-10-19 Joseph Myers <joseph@codesourcery.com>
28312 * sysdeps/mips/ieee754/bits/floatn.h: New file.
28315 * sysdeps/mips/bits/long-double.h: Move to ....
28316 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
28318 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
28320 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
28322 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
28323 H.J. Lu <hongjiu.lu@intel.com>
28326 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
28327 GLRO(dl_platform) to NULL.
28328 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
28329 (modules-names): Add tst-platformmod-1 and
28330 x86_64/tst-platformmod-2.
28331 (CFLAGS-tst-platform-1.c): New.
28332 (CFLAGS-tst-platformmod-1.c): Likewise.
28333 (CFLAGS-tst-platformmod-2.c): Likewise.
28334 (LDFLAGS-tst-platformmod-2.so): Likewise.
28335 ($(objpfx)tst-platform-1): Likewise.
28336 ($(objpfx)tst-platform-1.out): Likewise.
28337 (tst-platform-1-ENV): Likewise.
28338 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
28339 * sysdeps/x86_64/tst-platform-1.c: New file.
28340 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
28341 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
28343 2017-10-19 Mike FABIAN <mfabian@redhat.com>
28346 * locale/iso-639.def: Add Karbi.
28347 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
28348 * localedata/locales/mjw_IN: New file.
28350 2017-10-18 Joseph Myers <joseph@codesourcery.com>
28352 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
28353 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28354 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
28355 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
28356 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28357 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28358 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
28360 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28361 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28362 * manual/math.texi (Mathematics): Document additional architecture
28363 support for _Float128.
28364 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
28365 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
28366 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28367 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28368 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28369 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28370 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28371 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28372 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28373 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28374 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28375 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28376 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28377 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28378 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28380 2017-10-18 Renlin Li <renlin.li@arm.com>
28382 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
28383 _DYNAMIC symbol to calculate load address.
28385 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
28387 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
28388 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
28390 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
28391 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
28393 2017-10-18 Mike FABIAN <mfabian@redhat.com>
28396 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
28397 and improve readability by using more ASCII.
28398 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
28399 and improve readability by using more ASCII.
28401 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
28403 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
28404 not all targets support atomics on bool.
28406 2017-10-17 Joseph Myers <joseph@codesourcery.com>
28408 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
28409 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
28411 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28412 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
28413 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28414 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
28415 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28416 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
28418 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28420 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
28423 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28426 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
28427 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
28428 (do_check_remalloced_chunk): Fix build bug.
28429 (do_check_malloc_state): Add assert that checks arena->top.
28430 (malloc_consolidate): Remove initialization.
28431 (int_mallinfo): Remove call to malloc_consolidate.
28432 (__libc_mallopt): Clarify why malloc_consolidate is needed.
28434 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28436 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
28437 (have_fastchunks): Remove.
28438 (clear_fastchunks): Remove.
28439 (set_fastchunks): Remove.
28440 (malloc_state): Add have_fastchunks.
28441 (malloc_init_state): Use have_fastchunks.
28442 (do_check_malloc_state): Remove incorrect invariant checks.
28443 (_int_malloc): Use have_fastchunks.
28444 (_int_free): Likewise.
28445 (malloc_consolidate): Likewise.
28447 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28449 * malloc/malloc.c (tcache_put): Inline.
28450 (tcache_get): Inline.
28452 2017-10-17 Jordi Mallach <jordi@gnu.org>
28454 Aurelien Jarno <aurelien@aurel32.net>
28456 * localedata/locales/ca_ES@valencia: New file.
28457 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
28459 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
28462 * math/math.h: Let signbit use the builtin in C++ mode with gcc
28465 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28467 * scripts/build-many-glibcs.py (Context.add_all_configs):
28468 Add arm-linux-gnueabihf multiarch extra_glibcs.
28470 * sysdeps/generic/ifunc-init.h: New file.
28471 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
28473 2017-10-17 Mike FABIAN <mfabian@redhat.com>
28476 * localedata/locales/el_GR: Set n_cs_precedes to 0.
28477 * localedata/locales/el_CY: copy "el_GR" because it is identical.
28478 * stdlib/tst-strfmon_l.c: adapt test case.
28480 2017-10-16 Joseph Myers <joseph@codesourcery.com>
28482 * sysdeps/generic/float128-abi.h: New file.
28483 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
28484 non-__prefixed symbols to ....
28485 * math/Versions: ... here. Include <float128-abi.h>.
28486 * stdlib/Versions ... and here. Include <float128-abi.h>
28488 2017-10-16 Florian Weimer <fweimer@redhat.com>
28490 * version.h (VERSION): Switch to ".9000" as the development
28493 2017-10-16 Florian Weimer <fweimer@redhat.com>
28496 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
28497 compat_symbol_reference to access non-default version.
28499 2017-10-16 Florian Weimer <fweimer@redhat.com>
28501 * malloc/Makefile (others-extras): Set to mcheck-init.o.
28503 2017-10-16 Carlos O'Donell <carlos@redhat.com>
28505 * include/shlib-compat.h (compat_symbol_reference): Update
28508 2017-10-16 Joseph Myers <joseph@codesourcery.com>
28510 * math/Makefile (test-types): Add
28511 $(type-float128-$(float128-alias-fcts)).
28512 * math/test-float128.h (TYPE_STR): Define conditional on
28513 [FLT128_MANT_DIG == LDBL_MANT_DIG].
28514 (ULP_IDX): Likewise.
28515 (ULP_I_IDX): Likewise.
28517 * stdlib/strtold.c: Include <bits/floatn.h>
28518 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
28519 and later undefine as macro. Define as weak alias if
28521 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
28522 and later undefine as macro. Define as weak alias if
28524 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
28525 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
28526 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
28527 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28528 Define and later undefine as macro. Define as weak alias if
28530 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
28532 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
28533 Define and later undefine as macro. Define as weak alias if
28535 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28536 Define and later undefine as macro. Define as weak alias if
28539 2017-10-15 Carlos O'Donell <carlos@redhat.com>
28541 * localedata/collate-test.c (allocate_arrays): Don't use \n in
28542 record_verbose messages.
28544 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
28547 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
28548 to silence -O3 -Wall warning with GCC 7.
28550 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
28552 * Makeconfig (+link-static-before-libc): Use the first of
28553 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
28554 * gmon/Makefile (tests): Add tst-gmon-static.
28555 (tests-static): Likewise.
28556 (CFLAGS-tst-gmon-static.c): New.
28557 (CRT-tst-gmon-static): Likewise.
28558 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
28559 (tst-gmon-static-ENV): Likewise.
28560 (tests-special): Likewise.
28561 ($(objpfx)tst-gmon-static.out): Likewise.
28562 (clean-tst-gmon-static-data): Likewise.
28563 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
28564 * gmon/tst-gmon-static-gprof.sh: New file.
28565 * gmon/tst-gmon-static.c: Likewise.
28567 2017-10-13 Carlos O'Donell <carlos@redhat.com>
28570 * locale/programs/linereader.c (get_string): Don't warn on
28571 non-symbolic character.
28574 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
28578 * locale/programs/record-status.h: New file
28579 * locale/programs/locale.c: Add comment.
28580 * locale/programs/charmap-dir.c: Don't include error.h.
28581 (charmap_opendir): Use record_error.
28582 * locale/programs/charmap.c: Don't include error.h.
28583 (charmap_read): Use record_error, and record_warning.
28584 (parse_charmap): Likewise.
28585 * locale/programs/ld-address.c: Don't include error.h.
28586 (address_finish): Use record_error, and record_warning.
28587 * locale/programs/ld-collate.c: Don't include error.h.
28588 (collate_finish): Use record_error, and record_error_at_line.
28589 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
28590 (ctype_class_new): Likewise.
28591 (ctype_map_new): Likewise.
28592 (set_one_default): Likewise.
28593 (set_class_defaults): Likewise.
28594 (translit_flatten): Likewise.
28595 (allocate_arrays): Use record_error, and record_verbose.
28596 * locale/programs/ld-identification.c: Don't include error.h.
28597 (indentation_finish): Use record_error and record_warning.
28598 * locale/programs/ld-measurement.c: Don't include error.h.
28599 (measurement_finish): Use record_error.
28600 * locale/programs/ld-messages.c
28601 (message_finish): Likewise.
28602 * locale/programs/ld-monetary.c
28603 (monetary_finish): Likewise.
28604 * locale/programs/ld-name.c (name_finish): Use record_error
28605 and record_warning.
28606 * locale/programs/ld-numeric.c
28607 (numeric_finish): Use record_error.
28608 * locale/programs/ld-paper.c: Don't include error.h.
28609 (paper_finish): Use record_error.
28610 * locale/programs/ld-telephone.c: Don't include error.h.
28611 (telephone_finish): Use record_error.
28612 * locale/programs/ld-time.c (time_finish): Likewise.
28613 * locale/programs/linereader.h (lr_error): Make inline func.
28614 * locale/programs/localedef.c: Define recorded_warning_count,
28615 and recorded_error_count.
28616 (main): Use record_error. Use recorded_error_count and
28617 recorded_warning_count to issue correct error returns.
28618 (add_to_readlist): Use record_error.
28619 (find_locale): Likewise.
28620 (load_locale): Likewise.
28621 * locale/programs/localedef.h: Remove be_quiet
28622 and WITH_CUR_LOCALE.
28623 * locale/programs/locarchive.c (compare_from_file): Use
28625 * locale/programs/locfile.c (write_locale_data): Use
28627 * locale/programs/repertoire.c: Dont include error.h.
28628 (repertoire_complain): Use record_error.
28629 * localedata/tst-fmon.sh: Expect failures from localedef.
28630 * localedata/tst-locale.sh: Likewise.
28631 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
28633 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
28634 (REPORTS): Likewise.
28636 (i18n): Rename to...
28637 (i18n_ctype): ...this.
28638 (i18n-report): Rename to...
28639 (i18n_ctype-report): ...this.
28640 * localedata/locales/i18n_ctype: Regenerate.
28641 * localedata/locales/i18n: copy i18n_ctype.
28643 2017-10-13 Joseph Myers <joseph@codesourcery.com>
28645 * stdlib/strfroml.c: Include <bits/floatn.h>.
28646 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
28647 Define before include of <stdlib.h> and undefine afterwards, then
28648 define as weak alias.
28650 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
28651 Undefine and restore default definition. Use
28652 libm_alias_ldouble_other.
28654 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
28657 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
28660 2017-10-13 James Clarke <jrtc27@jrtc27.com>
28662 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28663 Assign sym_map to be map for local symbols, as TLS relocations
28664 use sym_map to determine whether the symbol is defined and to
28665 extract the TLS information.
28666 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28667 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28669 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28672 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
28673 (math_force_eval): Add powerpc version.
28676 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
28678 (do_test): Likewise.
28679 * stdio-common/tst-printf.sh: Likewise.
28680 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
28681 ifdef clause in order to set the carry bit right. Replace r0 by
28682 0 without changing the behavior.
28684 2017-10-13 Joseph Myers <joseph@codesourcery.com>
28686 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
28687 <libm-alias-ldouble.h>.
28688 (fabsl): Define using libm_alias_ldouble.
28689 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
28690 <libm-alias-ldouble.h>.
28691 (fabsl): Define using libm_alias_ldouble.
28693 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
28694 Remove conditional code.
28696 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
28697 Rename to __clog10_internal_l.
28698 (__clog10_internal_l): Define aliases using
28699 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
28702 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28704 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
28705 * benchtests/sincosf-inputs: New file.
28706 * benchtests/cosf-inputs: New file.
28707 * benchtests/sinf-inputs: New file.
28709 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
28711 * posix/tst-spawn.c (do_test): Wait for both children.
28713 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
28716 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
28717 tests-pie): Add tst-gmon-pie.
28718 (CFLAGS-tst-gmon-pie.c): New.
28719 (CRT-tst-gmon-pie): Likewise.
28720 (tst-gmon-pie-ENV): Likewise.
28721 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
28722 ($(objpfx)tst-gmon-pie.out): Likewise.
28723 (clean-tst-gmon-pie-data): Likewise.
28724 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
28725 * gmon/gmon.c [PIC]: Include <link.h>.
28726 [PIC] (callback): New function.
28727 (write_hist): Add an argument for load address. Subtract load
28729 (write_call_graph): Likewise.
28730 (write_gmon): Call __dl_iterate_phdr to get load address, pass
28731 it to write_hist and write_call_graph.
28732 * gmon/tst-gmon-pie.c: New file.
28734 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28736 * math/Makefile (test-types-basic): New variable.
28737 (test-types): Likewise.
28738 (libm-test-support): Use $(test-types) instead of $(types).
28739 (libm-tests-base-normal): Likewise.
28740 (libm-tests-base-finite): Likewise.
28741 (libm-tests-base-inline): Likewise.
28742 (generated): Likewise.
28743 ($(objpfx)libm-test-support-$(t).c): Likewise.
28744 (libm-tests-for-type iterator): Likewise.
28745 (libm-test-support iterator): Likewise.
28746 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
28747 (ulp_idx): Use ULP_IDX.
28748 * math/test-ldouble.h: Include <float.h>.
28749 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
28750 (ULP_IDX): New macro.
28751 (ULP_I_IDX): Likewise.
28752 * math/test-double.h (ULP_IDX): Likewise.
28753 (ULP_I_IDX): Likewise.
28754 * math/test-float.h (ULP_IDX): Likewise.
28755 (ULP_I_IDX): Likewise.
28756 * math/test-float128.h (ULP_IDX): Likewise.
28757 (ULP_I_IDX): Likewise.
28759 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28761 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
28762 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28763 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28764 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
28765 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28766 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
28767 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
28768 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28769 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28770 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28771 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
28772 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28773 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28774 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28775 (SINGLE_THREAD_BY_GLOBAL): Define.
28776 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28778 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28780 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28782 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28784 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
28785 (SINGLE_THREAD_BY_GLOBAL): Likewise.
28786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28789 2017-10-11 Andreas Schwab <schwab@suse.de>
28791 * nis/Makefile (aux): Remove.
28792 * nscd/Makefile (aux): Add nscd_hash.
28793 (nscd-modules): Likewise.
28794 ($(objpfx)nscd): Don't depend on libnsl.
28795 * nscd/nscd_hash.c: New file.
28796 * nscd/nscd_hash.h: Likewise.
28797 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
28798 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
28799 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
28800 instead of <nis/rpcsvc/nis.h>.
28801 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
28803 2017-10-11 Florian Weimer <fweimer@redhat.com>
28806 Avoid large NSS buffers with many addresses, aliases.
28807 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
28808 using dynarrays and struct alloc_buffer.
28809 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
28810 (tst-nss-files-hosts-multi): Link with -ldl.
28811 * nss/tst-nss-files-hosts-multi.c: New file.
28813 2017-10-11 Florian Weimer <fweimer@redhat.com>
28816 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
28817 scratch_buffer. Eliminate gotos.
28819 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28821 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
28822 libm_alias_ldouble_other.
28823 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
28824 undefine and redefine.
28825 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28826 (exp10l): Do not define here.
28827 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
28828 (weak_alias): Undefine and redefine.
28829 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
28830 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28831 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
28832 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
28834 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
28835 [!__fma] (fma): Define using libm_alias_double.
28836 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
28837 [!__fmaf] (fmaf): Define using libm_alias_float.
28838 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
28839 (fmal): Define using libm_alias_ldouble.
28841 2017-10-10 Joseph Myers <joseph@codesourcery.com>
28843 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
28845 (libm_alias_double_other): Likewise.
28846 (libm_alias_double_r): Use libm_alias_double_other_r.
28847 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
28849 (libm_alias_float_other): Likewise.
28850 (libm_alias_float_r): Use libm_alias_float_other_r.
28851 * sysdeps/generic/libm-alias-float128.h
28852 (libm_alias_float128_other_r): New macro.
28853 (libm_alias_float128_other): Likewise.
28854 (libm_alias_float128_r): Use libm_alias_float128_other_r.
28855 * sysdeps/generic/libm-alias-ldouble.h
28856 (libm_alias_ldouble_other_r): New macro.
28857 (libm_alias_ldouble_other): Likewise.
28858 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28859 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
28860 (libm_alias_double_other_r): New macro.
28861 (libm_alias_double_other): Likewise.
28862 (libm_alias_double_r): Use libm_alias_double_other_r.
28863 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
28864 (libm_alias_ldouble_other_r): New macro.
28865 (libm_alias_ldouble_other): Likewise.
28866 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28867 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
28868 [!USE_AS_COMPAT]: Use libm_alias_double_other.
28869 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
28870 [!USE_AS_COMPAT]: Use libm_alias_float_other.
28871 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
28872 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
28873 * math/w_exp2f.c: Use libm_alias_float_other.
28874 * math/w_expf.c: Likewise.
28875 * math/w_log2f.c: Likewise.
28876 * math/w_logf.c: Likewise.
28877 * math/w_powf.c: Likewise.
28878 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
28879 [!__exp2f]: Use libm_alias_float_other.
28880 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
28881 [!__expf]: Use libm_alias_float_other.
28882 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
28883 [!__log2f]: Use libm_alias_float_other.
28884 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
28885 [!__logf]: Use libm_alias_float_other.
28886 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
28887 [!__powf]: Use libm_alias_float_other.
28889 2017-10-10 Florian Weimer <fweimer@redhat.com>
28891 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
28893 (_nss_files_gethostbyname3_r): Call it.
28895 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28897 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
28898 error. Remove default definition of declare_mgen_alias.
28899 [!declare_mgen_alias_r]: Likewise.
28900 * sysdeps/generic/math-type-macros-double.h
28901 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
28902 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
28903 (declare_mgen_alias_r): Likewise.
28904 * sysdeps/generic/math-type-macros-float128.h
28905 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28906 * sysdeps/generic/math-type-macros-ldouble.h
28907 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28908 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
28910 (declare_mgen_alias_r_s): Likewise.
28911 (declare_mgen_alias_r): Likewise.
28912 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
28913 (lgamma_r): Define using libm_alias_double_r.
28914 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
28915 (lgammaf_r): Define using libm_alias_float_r.
28916 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
28917 (lgammal_r): Define using libm_alias_ldouble_r.
28918 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
28919 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28921 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28923 * lib/glob.c (__glob_pattern_type): Remove now-spurious
28924 extern declaration.
28926 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28928 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
28930 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
28933 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
28934 [__cplusplus >= 201103] (__USE_ISOC99): Define.
28935 * math/Makefile (test-math-cxx11): New test.
28936 * math/test-math-cxx11.cc: New file.
28938 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
28940 * login/openpty.c (openpty): Close slave pty file descriptor on error.
28942 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
28943 call to allocate the slave pty file descriptor.
28945 2017-10-06 Joseph Myers <joseph@codesourcery.com>
28947 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
28948 [!__fma] (fma): Define using libm_alias_double.
28949 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
28950 [!__fma] (fma): Define using libm_alias_double.
28952 * sysdeps/ieee754/float128/float128_private.h: Include
28953 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
28954 (libm_alias_ldouble_r): Undefine and redefine.
28955 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
28956 <libm-alias-ldouble.h>.
28957 (asinhl): Define using libm_alias_ldouble.
28958 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
28959 <libm-alias-ldouble.h>.
28960 (atanl): Define using libm_alias_ldouble.
28961 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
28962 <libm-alias-ldouble.h>.
28963 (cbrtl): Define using libm_alias_ldouble.
28964 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
28965 <libm-alias-ldouble.h>.
28966 (ceill): Define using libm_alias_ldouble.
28967 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
28968 <libm-alias-ldouble.h>.
28969 (copysignl): Define using libm_alias_ldouble.
28970 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
28971 <libm-alias-ldouble.h>.
28972 (cosl): Define using libm_alias_ldouble.
28973 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
28974 <libm-alias-ldouble.h>.
28975 (erfl): Define using libm_alias_ldouble.
28977 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
28978 <libm-alias-ldouble.h>.
28979 (expm1l): Define using libm_alias_ldouble.
28980 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
28981 <libm-alias-ldouble.h>.
28982 (fabsl): Define using libm_alias_ldouble.
28983 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
28984 <libm-alias-ldouble.h>.
28985 (floorl): Define using libm_alias_ldouble.
28986 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
28987 <libm-alias-ldouble.h>.
28988 (fmal): Define using libm_alias_ldouble.
28989 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
28990 <libm-alias-ldouble.h>.
28991 (frexpl): Define using libm_alias_ldouble.
28992 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
28993 libm_alias_ldouble.
28994 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
28995 <libm-alias-ldouble.h>.
28996 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
28997 libm_alias_ldouble.
28998 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
28999 <libm-alias-ldouble.h>.
29000 (getpayloadl): Define using libm_alias_ldouble.
29001 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
29002 <libm-alias-ldouble.h>.
29003 (llrintl): Define using libm_alias_ldouble.
29004 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
29005 <libm-alias-ldouble.h>.
29006 (llroundl): Define using libm_alias_ldouble.
29007 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
29008 <libm-alias-ldouble.h>.
29009 (logbl): Define using libm_alias_ldouble.
29010 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
29011 <libm-alias-ldouble.h>.
29012 (lrintl): Define using libm_alias_ldouble.
29013 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
29014 <libm-alias-ldouble.h>.
29015 (lroundl): Define using libm_alias_ldouble.
29016 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
29017 <libm-alias-ldouble.h>.
29018 (modfl): Define using libm_alias_ldouble.
29019 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
29020 <libm-alias-ldouble.h>.
29021 (nearbyintl): Define using libm_alias_ldouble.
29022 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
29023 <libm-alias-ldouble.h>.
29024 (nextafterl): Define using libm_alias_ldouble.
29025 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
29026 <libm-alias-ldouble.h>.
29027 (nextupl): Define using libm_alias_ldouble.
29028 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
29029 <libm-alias-ldouble.h>.
29030 (remquol): Define using libm_alias_ldouble.
29031 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
29032 <libm-alias-ldouble.h>.
29033 (rintl): Define using libm_alias_ldouble.
29034 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
29035 <libm-alias-ldouble.h>.
29036 (roundevenl): Define using libm_alias_ldouble.
29037 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
29038 <libm-alias-ldouble.h>.
29039 (roundl): Define using libm_alias_ldouble.
29040 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
29041 using libm_alias_ldouble.
29042 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
29043 <libm-alias-ldouble.h>.
29044 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
29045 Define using libm_alias_ldouble.
29046 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
29047 <libm-alias-ldouble.h>.
29048 (sincosl): Define using libm_alias_ldouble.
29049 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
29050 <libm-alias-ldouble.h>.
29051 (sinl): Define using libm_alias_ldouble.
29052 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
29053 <libm-alias-ldouble.h>.
29054 (tanhl): Define using libm_alias_ldouble.
29055 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
29056 <libm-alias-ldouble.h>.
29057 (tanl): Define using libm_alias_ldouble.
29058 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
29059 <libm-alias-ldouble.h>.
29060 (totalorderl): Define using libm_alias_ldouble.
29061 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
29062 <libm-alias-ldouble.h>.
29063 (totalordermagl): Define using libm_alias_ldouble.
29064 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
29065 <libm-alias-ldouble.h>.
29066 (truncl): Define using libm_alias_ldouble.
29067 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
29068 libm_alias_ldouble.
29069 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
29070 libm_alias_ldouble.
29071 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
29072 <libm-alias-ldouble.h>.
29073 (weak_alias): Do not undefine and redefine.
29074 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29075 (copysignl): Define with long_double_symbol only if [IS_IN
29077 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
29078 <libm-alias-ldouble.h>.
29079 (weak_alias): Do not undefine and redefine.
29080 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29081 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
29082 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
29083 <libm-alias-ldouble.h>.
29084 (weak_alias): Do not undefine and redefine.
29085 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29086 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
29087 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
29088 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
29089 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
29090 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
29091 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
29092 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
29093 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
29094 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
29095 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
29096 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
29097 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
29098 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
29099 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
29100 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
29101 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
29102 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
29103 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
29104 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
29105 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
29106 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
29107 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
29108 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
29109 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
29110 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
29112 2017-10-06 Carlos O'Donell <carlos@redhat.com>
29115 * malloc/malloc.c (tcache_shutting_down): Use bool type.
29116 (tcache_thread_freeres): Set tcache_shutting_down before
29117 freeing the tcache.
29118 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
29119 * malloc/tst-malloc-tcache-leak.c: New file.
29121 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29123 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
29124 back to powerpc32 file.
29125 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29126 (memrchr): Add __memrchr_power8 to ifunc list.
29127 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
29128 extra bytes for unaligned inputs.
29130 2017-10-06 Joseph Myers <joseph@codesourcery.com>
29132 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
29133 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
29134 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
29135 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29136 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29138 2017-10-05 Joseph Myers <joseph@codesourcery.com>
29140 * sysdeps/arm/libm-test-ulps: Update.
29142 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
29143 <libm-alias-ldouble.h>.
29144 (asinhl): Define using libm_alias_ldouble.
29145 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
29146 <libm-alias-ldouble.h>.
29147 (cbrtl): Define using libm_alias_ldouble.
29148 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
29149 <libm-alias-ldouble.h>.
29150 (copysignl): Define using libm_alias_ldouble.
29151 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
29152 <libm-alias-ldouble.h>.
29153 (cosl): Define using libm_alias_ldouble.
29154 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
29155 <libm-alias-ldouble.h>.
29156 (erfl): Define using libm_alias_ldouble.
29158 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
29159 <libm-alias-ldouble.h>.
29160 (fmal): Define using libm_alias_ldouble.
29161 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
29162 <libm-alias-ldouble.h>.
29163 (frexpl): Define using libm_alias_ldouble.
29164 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
29165 libm_alias_ldouble.
29166 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
29167 <libm-alias-ldouble.h>.
29168 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
29169 libm_alias_ldouble.
29170 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
29171 <libm-alias-ldouble.h>.
29172 (getpayloadl): Define using libm_alias_ldouble.
29173 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
29174 <libm-alias-ldouble.h>.
29175 (llrintl): Define using libm_alias_ldouble.
29176 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
29177 <libm-alias-ldouble.h>.
29178 (llroundl): Define using libm_alias_ldouble.
29179 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
29180 <libm-alias-ldouble.h>.
29181 (lrintl): Define using libm_alias_ldouble.
29182 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
29183 <libm-alias-ldouble.h>.
29184 (lroundl): Define using libm_alias_ldouble.
29185 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
29186 <libm-alias-ldouble.h>.
29187 (modfl): Define using libm_alias_ldouble.
29188 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
29189 <libm-alias-ldouble.h>.
29190 (nextupl): Define using libm_alias_ldouble.
29191 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
29192 <libm-alias-ldouble.h>.
29193 (remquol): Define using libm_alias_ldouble.
29194 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
29195 <libm-alias-ldouble.h>.
29196 (roundevenl): Define using libm_alias_ldouble.
29197 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
29198 <libm-alias-ldouble.h>.
29199 (roundl): Define using libm_alias_ldouble.
29200 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
29201 using libm_alias_ldouble.
29202 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
29203 <libm-alias-ldouble.h>.
29204 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
29205 <libm-alias-ldouble.h>.
29206 (setpayloadsigl): Define using libm_alias_ldouble.
29207 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
29208 <libm-alias-ldouble.h>.
29209 (sincosl): Define using libm_alias_ldouble.
29210 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
29211 <libm-alias-ldouble.h>.
29212 (sinl): Define using libm_alias_ldouble.
29213 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
29214 <libm-alias-ldouble.h>.
29215 (tanhl): Define using libm_alias_ldouble.
29216 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
29217 <libm-alias-ldouble.h>.
29218 (tanl): Define using libm_alias_ldouble.
29219 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
29220 <libm-alias-ldouble.h>.
29221 (totalorderl): Define using libm_alias_ldouble.
29222 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
29223 <libm-alias-ldouble.h>.
29224 (totalordermagl): Define using libm_alias_ldouble.
29225 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
29226 libm_alias_ldouble.
29227 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
29228 libm_alias_ldouble.
29230 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
29232 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
29234 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
29235 (__libc_ifunc_impl_list): Likewise.
29236 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
29237 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
29239 * benchtests/bench-memmove-walk.c: New file.
29240 * benchtests/Makefile (string-benchset): Add it.
29242 * benchtests/bench-memset-walk.c: New file.
29243 * benchtests/Makefile (string-benchset): Add it.
29245 * benchtests/bench-memcpy-walk.c: New file.
29246 * benchtests/Makefile (string-benchset): Add it.
29248 2017-10-05 Florian Weimer <fweimer@redhat.com>
29250 nscd: Eliminate compilation time dependency in the build output.
29251 * nscd/nscd_stat.c (STATDATA_VERSION)
29252 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
29253 (STATDATA_VERSION_FULL): New macro definitions.
29254 (compilation): Remove.
29255 (struct statdata): Adjust version member.
29256 (send_stats): Set version from STATDATA_VERSION_FULL.
29257 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
29259 2017-10-05 Joseph Myers <joseph@codesourcery.com>
29261 * configure.ac (--enable-add-ons): Remove option.
29262 (machine): Do not mention add-ons in comment.
29263 (LIBC_PRECONFIGURE): Likewise.
29264 (add_ons): Remove variable and sanity checks and logic to locate
29266 (add_ons_automatic): Remove variable.
29267 (configured_add_ons): Likewise.
29268 (add_ons_sfx): Likewise.
29269 (add_ons_pfx): Likewise.
29270 (add_on_subdirs): Likewise.
29271 (sysnames_add_ons): Likewise. Remove loop over add-ons and
29272 consideration of add-ons in Implies handling.
29273 (sysdeps_add_ons): Likewise.
29274 * configure: Regenerated.
29275 * libidn/configure.ac: Remove.
29276 * libidn/configure: Likewise.
29277 * sysdeps/unix/inet/configure.ac: New file.
29278 * sysdeps/unix/inet/configure: New generated file.
29279 * sysdeps/unix/inet/Subdirs: Add libidn.
29280 * Makeconfig (sysdeps-srcdirs): Remove variable.
29281 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
29282 ($(common-objpfx)config.status): Do not depend on add-on files.
29283 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
29285 (all-subdirs): Do not include $(add-on-subdirs).
29286 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
29287 * config.make.in (add-ons): Remove variable.
29288 (add-on-subdirs): Likewise.
29289 (sysdeps-add-ons): Likewise.
29290 * manual/Makefile (add-chapters): Remove.
29291 ($(objpfx)texis): Do not depend on $(add-chapters).
29292 (nonexamples): Do not handle $(add-chapters).
29293 (examples): Do not handle $(add-ons).
29294 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
29296 * manual/install.texi (Installation): Do not mention add-ons.
29297 (--enable-add-ons): Do not document configure option.
29298 * INSTALL: Regenerated.
29299 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
29300 * manual/maint.texi (Hierarchy Conventions): Do not mention
29302 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
29304 * scripts/gen-sorted.awk: Do not handle Subdirs files from
29306 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
29307 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
29309 2017-10-05 Andreas Schwab <schwab@suse.de>
29312 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
29313 (_IO_flush_all_lockp): Always lock list_all_lock.
29314 (_IO_flush_all_linebuffered): Likewise.
29315 (_IO_unbuffer_all): Likewise.
29317 2017-10-05 Florian Weimer <fweimer@redhat.com>
29320 Do not flush stdio streams on abort.
29321 * stdlib/abort.c (fflush): Remove macro definition.
29322 (abort): Remove stages related to stdio flushing.
29324 2017-10-05 Florian Weimer <fweimer@redhat.com>
29326 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
29328 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
29330 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29332 2017-10-05 Florian Weimer <fweimer@redhat.com>
29334 * support/support_format_hostent.c (support_format_hostent): Add
29335 more error information for NETDB_INTERNAL.
29337 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29339 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
29340 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
29341 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
29342 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
29343 AC_DEFINE if multi-arch is enabled.
29344 * sysdeps/i386/configure: Regenerated.
29346 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29348 * Makeconfig (+link-static-before-libc): Use
29349 $(DEFAULT-LDFLAGS-$(@F)).
29350 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
29351 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
29352 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
29354 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29356 * elf/Makefile (tests): Add tst-main1.
29357 (modules-names): Add tst-main1mod.
29358 ($(objpfx)tst-main1): New.
29359 (CRT-tst-main1): Likewise.
29360 (LDFLAGS-tst-main1): Likewise.
29361 (LDLIBS-tst-main1): Likewise.
29362 (tst-main1mod.so-no-z-defs): Likewise.
29363 * elf/tst-main1.c: New file.
29364 * elf/tst-main1mod.c: Likewise.
29366 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29368 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
29370 2017-10-04 Joseph Myers <joseph@codesourcery.com>
29372 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
29373 (fma): Define using libm_alias_double.
29374 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
29375 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
29377 (fmal): Do not define as compat symbol here.
29378 * sysdeps/alpha/fpu/s_fma.c: New file.
29380 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29382 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
29384 2017-10-04 Joseph Myers <joseph@codesourcery.com>
29387 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
29389 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29391 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
29392 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29393 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
29394 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
29395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29396 Include <math_ldbl_opt.h>
29397 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29399 (compat_symbol): Undefine and redefine.
29400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
29402 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29403 (compat_symbol): Undefine and redefine.
29404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
29405 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
29406 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
29407 GLIBC_2_1 for libm.
29408 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
29409 GLIBC_2.0 copysignl symbol.
29410 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29411 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
29413 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
29415 2017-10-04 Florian Weimer <fweimer@redhat.com>
29417 * scripts/check-local-headers.sh: Ignore nspr4 header file
29418 directory in addition to nspr.
29420 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
29423 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
29424 * configure: Regenerate.
29425 * crypt/Makefile (nss-cpp-flags): New variable.
29426 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
29427 (CPPFLAGS-md5-crypt.c): Use it.
29428 * scripts/check-local-headers.sh: Ignore nspr header file
29431 2017-10-04 Andreas Schwab <schwab@suse.de>
29433 * nis/Makefile (services): Remove compat.
29434 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
29435 ($(objpfx)libnss_compat.so): Remove rule.
29436 * nis/Versions (libnss_compat): Remove.
29437 * nss/Makefile (services): Add compat.
29438 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
29439 * nss/Versions (libnss_compat): Define.
29440 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
29441 Don't include <rpc/types.h>. Replace bool_t by bool.
29442 * nss/nss_compat/compat-initgroups.c: Likewise.
29443 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
29444 instead of <rpcsrv/ypclnt.h>.
29445 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
29446 yp_get_default_domain.
29447 * nss/nss_compat/compat-pwd.c: Likewise.
29448 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
29449 yp_get_default_domain.
29450 * nss/nss_compat/nisdomain.c: New file.
29451 * nss/nss_compat/nisdomain.h: Likewise.
29453 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29456 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
29457 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29459 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29462 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
29463 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
29465 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29467 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
29468 "movl main@GOTOFF(%ebx), %eax".
29470 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29472 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
29473 allow undefined _DYNAMIC in PIE libc.a.
29474 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29477 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29479 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
29482 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29484 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
29487 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29489 * math/test-math-iscanonical.cc (error): Replace bool with int.
29491 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29493 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
29494 (modf): Define using libm_alias_double, only if [!__modf].
29495 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
29496 <libm-alias-double.h>.
29497 (modf): Define using libm_alias_double, only if [!__modf].
29498 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
29499 compat symbol here.
29500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
29501 (weak_alias): Do not undefine and redefine.
29502 (strong_alias): Likewise.
29503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
29504 (weak_alias): Likewise.
29505 (strong_alias): Likewise.
29507 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
29508 (logb): Define using libm_alias_double, only if [!__logb].
29509 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
29510 <libm-alias-double.h>.
29511 (logb): Define using libm_alias_double, only if [!__logb].
29512 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
29513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
29514 (weak_alias): Do not undefine and redefine.
29515 (strong_alias): Likewise.
29516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
29517 (weak_alias): Likewise.
29518 (strong_alias): Likewise.
29520 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29522 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
29523 Check SHARED instead PIC.
29525 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29527 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
29528 [!__fmaf] (fmaf): Define using libm_alias_float.
29530 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
29531 (frexp): Define using libm_alias_double.
29532 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
29533 <libm-alias-double.h>.
29534 (frexp): Define using libm_alias_double.
29535 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
29536 compat symbol here.
29538 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29541 * math/math.h: Trivial fix for unbalanced parentheses in comment.
29542 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
29543 (CFLAGS-test-math-iscanonical.cc): New variable.
29544 * math/test-math-iscanonical.cc: New file.
29545 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
29546 Provide a C++ implementation based on function overloading,
29547 rather than using __MATH_TG, which uses C-only builtins.
29548 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
29550 * sysdeps/powerpc/powerpc64le/Makefile
29551 (CFLAGS-test-math-iscanonical.cc): New variable.
29553 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29555 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
29556 (ceil): Define using libm_alias_double.
29557 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
29558 (floor): Define using libm_alias_double.
29559 * sysdeps/ieee754/dbl-64/s_llround.c: Include
29560 <libm-alias-double.h>.
29561 (llround): Define using libm_alias_double.
29562 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29563 <libm-alias-double.h>.
29564 (lround): Define using libm_alias_double.
29565 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
29566 <libm-alias-double.h>.
29567 (nearbyint): Define using libm_alias_double.
29568 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
29569 <libm-alias-double.h>.
29570 (remquo): Define using libm_alias_double.
29571 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
29572 (rint): Define using libm_alias_double.
29573 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
29574 (round): Define using libm_alias_double.
29575 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
29576 (trunc): Define using libm_alias_double.
29577 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
29578 <libm-alias-double.h>.
29579 (ceil): Define using libm_alias_double.
29580 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
29581 <libm-alias-double.h>.
29582 (floor): Define using libm_alias_double.
29583 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
29584 <libm-alias-double.h>.
29585 (llround): Define using libm_alias_double.
29586 [_LP64] (lround): Likewise.
29587 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
29588 <libm-alias-double.h>.
29589 [!_LP64] (lround): Define using libm_alias_double.
29590 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
29591 <libm-alias-double.h>.
29592 (nearbyint): Define using libm_alias_double.
29593 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
29594 <libm-alias-double.h>.
29595 (remquo): Define using libm_alias_double.
29596 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
29597 <libm-alias-double.h>.
29598 (rint): Define using libm_alias_double.
29599 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
29600 <libm-alias-double.h>.
29601 (round): Define using libm_alias_double.
29602 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
29603 <libm-alias-double.h>.
29604 (trunc): Define using libm_alias_double.
29605 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
29606 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
29607 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
29608 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
29609 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
29610 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
29611 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
29612 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
29613 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
29615 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29617 * math/w_remainder.c: New file.
29618 * math/w_remainderf.c: New file.
29619 * math/w_remainderl.c: New file.
29621 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29623 * elf/rtld.c (BOOTSTRAP_MAP): New.
29624 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
29625 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29627 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29629 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29632 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29634 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
29635 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
29636 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
29637 rtld_hidden_data_ver): Define to empty.
29638 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
29639 __assert_perror_fail): Likewise.
29640 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29641 (__rewinddir): Likewise.
29642 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29643 (__profile_frequency): Likewise.
29644 * include/setjmp.h (__sigsetjmp): Likewise.
29645 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
29646 __libc_sigaction): Likewise.
29647 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
29648 not set hidden attribute.
29649 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
29650 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
29651 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
29652 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
29653 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
29654 __fxstatat64): Likewise.
29655 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29656 (__uname): Likewise.
29657 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29658 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
29659 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
29660 (NO_RTLD_HIDDEN): Set.
29661 * sysdeps/mach/hurd/configure: Refresh.
29662 * config.h.in: Refresh.
29664 2017-10-02 Joseph Myers <joseph@codesourcery.com>
29666 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
29667 (atan): Define using libm_alias_double.
29668 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
29669 (tan): Define using libm_alias_double.
29670 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
29671 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
29673 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
29674 define as weak alias of __atan. Do not define any aliases if
29676 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
29677 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
29678 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
29679 as weak alias of __tan. Do not define any aliases if [__tan].
29680 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
29681 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
29682 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
29684 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
29685 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
29686 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
29687 and define as weak alias of __atan.
29688 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
29690 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
29691 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
29692 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
29693 define as weak alias of __tan.
29695 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29697 * math/w_lgamma.c: New file.
29698 * math/w_lgammaf.c: New file.
29699 * math/w_lgammal.c: New file.
29701 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29703 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
29704 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
29705 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
29706 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
29707 * sysdeps/ieee754/flt-32/w_logf.c: New file.
29708 * sysdeps/ieee754/flt-32/w_powf.c: New file.
29709 * sysdeps/i386/fpu/w_log2f.c: New file.
29710 * sysdeps/i386/fpu/w_logf.c: New file.
29711 * sysdeps/i386/fpu/w_powf.c: New file.
29712 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
29713 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
29714 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
29716 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29717 H.J. Lu <hongjiu.lu@intel.com>
29719 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
29720 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
29721 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
29722 * sysdeps/ieee754/flt-32/w_expf.c: New file.
29723 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
29725 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
29726 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
29727 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
29728 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
29729 * sysdeps/i386/fpu/w_exp2f.c: New file.
29730 * sysdeps/i386/fpu/w_expf.c: New file.
29731 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
29732 * sysdeps/x86_64/fpu/w_expf.c: New file.
29734 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29736 * math/Versions (logf): New libm symbol at GLIBC_2.27.
29739 * math/w_log2f.c: New file.
29740 * math/w_logf.c: New file.
29741 * math/w_powf.c: New file.
29742 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
29743 * math/w_logf_compat.c (__logf_compat): Likewise.
29744 * math/w_powf_compat.c (__powf_compat): Likewise.
29745 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
29746 * sysdeps/ia64/fpu/e_logf.S: Likewise.
29747 * sysdeps/ia64/fpu/e_powf.S: Likewise.
29748 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29749 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29750 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29751 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29752 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29753 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29754 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29755 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29756 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29757 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29758 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29759 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29768 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29769 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29770 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29771 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29772 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29777 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29778 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29779 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29781 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29783 * sysdeps/powerpc/powerpc64/multiarch/Makefile
29784 (sysdep_routines): Add memrchr_power8.
29785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29786 (memrchr): Add __memrchr_power8 to list of memrchr functions.
29787 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
29789 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29790 (memrchr): Add __memrchr_power8 to ifunc list.
29791 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
29793 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29796 * sysdeps/unix/sysv/linux/posix_fadvise64.c
29797 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
29799 * sysdeps/unix/sysv/linux/posix_fallocate64.c
29800 (__posix_fallocate64_l64): Likewise.
29802 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29805 * sysdeps/unix/sysv/linux/sched_setaffinity.c
29806 (__sched_setaffinity_new): Add libc_hidden_proto and
29809 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29812 * include/glob.h (__glob64): Add libc_hidden_proto.
29813 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
29816 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29819 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
29822 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29825 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
29827 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29830 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
29833 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29836 * csu/version.c (__libc_print_version): Add attribute_hidden.
29838 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29841 * include/libc-internal.h (__init_misc): Add attribute_hidden.
29843 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29846 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
29848 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29851 * nscd/nscd_helper.c (__nis_hash): New prototype.
29853 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29856 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
29857 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
29859 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29860 * termios/tcgetattr.c (__tcgetattr): Likewise.
29862 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29865 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
29866 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
29867 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
29868 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
29869 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
29871 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29874 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
29876 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29879 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
29880 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
29882 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29885 * intl/hash-string.h (__hash_string): Add attribute_hidden.
29887 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29890 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
29891 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
29893 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29896 * include/ifreq.h: New file.
29897 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
29898 (__ifreq): Likewise.
29899 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
29900 (__ifreq): Likewise.
29902 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29905 * include/idna.h: New file.
29906 * inet/getnameinfo.c: Include <idna.h> instead of
29908 (__idna_to_unicode_lzlz): Removed.
29909 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
29911 (__idna_to_ascii_lz): Removed.
29912 (__idna_to_unicode_lzlz): Likewise.
29914 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29917 * include/plural-exp.h: New file.
29918 * intl/plural-exp.c: Include <plural-exp.h> instead of
29921 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29924 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
29925 "getsourcefilter.h".
29926 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
29927 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
29928 "getsourcefilter.h".
29929 (__get_sol): Removed.
29931 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29934 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
29936 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
29938 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29941 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
29944 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29947 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
29949 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29952 * include/search.h (__tdestroy): Add libc_hidden_proto.
29953 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
29955 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29958 * include/assert.h (__assert_fail_base): Add attribute_hidden.
29960 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29963 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
29966 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29969 * include/signal.h (__kill): Add libc_hidden_proto.
29970 (__sigblock): Likewise.
29971 (__sigprocmask): Likewise.
29972 (__sigaltstack): Likewise.
29973 * signal/kill.c (__kill): Add libc_hidden_def.
29974 * signal/sigblock.c (__sigblock): Likewise.
29975 * signal/sigprocmask.c (__sigprocmask): Likewise.
29976 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
29977 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
29978 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
29979 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
29980 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
29982 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
29984 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
29985 (__sigprocmask): Likewise.
29986 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
29988 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
29989 (__sigprocmask): Likewise.
29990 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
29993 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29996 * include/string.h (__strsep): Add libc_hidden_proto.
29997 * string/strsep.c (__strsep): Add libc_hidden_def.
29999 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30002 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
30004 (__spawni): Likewise.
30006 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30009 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
30010 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
30013 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30016 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
30018 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30021 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
30022 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
30023 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
30024 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
30025 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
30027 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
30028 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
30030 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30033 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
30034 (__dcigettext): Likewise.
30036 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30039 * include/sys/sysinfo.h (__get_nprocs_conf): Add
30041 (__get_nprocs): Likewise.
30042 (__get_phys_pages): Likewise.
30043 (__get_avphys_pages): Likewise.
30044 (__get_child_max): Add attribute_hidden.
30045 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
30046 (__get_nprocs): Likewise.
30047 (__get_phys_pages): Likewise.
30048 (__get_avphys_pages): Likewise.
30049 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
30051 (__get_nprocs): Likewise.
30052 (__get_phys_pages): Likewise.
30053 (__get_avphys_pages): Likewise.
30054 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
30056 (__get_nprocs_conf): Likewise.
30057 (__get_phys_pages): Likewise.
30058 (__get_avphys_pages): Likewise.
30060 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30063 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
30065 (__netlink_close): Likewise.
30066 (__netlink_free_handle): Likewise.
30067 (__netlink_request): Likewise.
30069 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30072 * include/rpc/rpc.h (__rpc_thread_variables): Add
30074 (__rpc_thread_svc_cleanup): Likewise.
30075 (__rpc_thread_clnt_cleanup): Likewise.
30076 (__rpc_thread_key_cleanup): Likewise.
30078 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30081 * include/sys/uio.h (__readv): Add libc_hidden_proto.
30082 (__writev): Likewise.
30083 * misc/readv.c (__readv): Add libc_hidden_def.
30084 * misc/writev.c (__writev): Likewise.
30085 * sysdeps/posix/readv.c (__readv): Likewise.
30086 * sysdeps/posix/writev.c (__writev): Likewise.
30087 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
30088 (__readv): Likewise.
30089 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
30090 (__writev): Likewise.
30092 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30095 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
30096 (__regcomp): Add libc_hidden_proto.
30097 (__regexec): Likewise.
30098 (__regfree): Likewise.
30099 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
30100 (__regfree): Likewise.
30101 * posix/regexec.c (__regexec): Likewise.
30103 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30106 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
30107 (__getutent): Likewise.
30108 (__getutid): Likewise.
30109 (__getutline): Likewise.
30110 (__pututline): Likewise.
30111 (__getutent_r): Likewise.
30112 (__getutid_r): Likewise.
30113 (__getutline_r): Likewise.
30114 (__utmpname): Add attribute_hidden.
30115 (__setutent): Likewise.
30116 (__endutent): Likewise.
30117 * login/getutent.c (__getutent): Add libc_hidden_def.
30118 * login/getutent_r.c (__getutent_r): Likewise.
30119 (__pututline): Likewise.
30120 * login/getutid.c (__getutid): Likewise.
30121 * login/getutid_r.c (__getutid_r): Likewise.
30122 * login/getutline.c (__getutline): Likewise.
30123 * login/getutline_r.c (__getutline_r): Likewise.
30124 * login/updwtmp.c (__updwtmp): Likewise.
30126 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30129 * include/dirent.h (__opendir): Always add attribute_hidden.
30130 (__fdopendir): Likewise.
30131 (__closedir): Likewise.
30132 (__readdir): Likewise.
30133 (__readdir64): Add libc_hidden_proto.
30134 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
30135 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
30136 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
30137 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
30140 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30143 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
30144 * include/netdb.h (__gethostbyaddr_r): Likewise.
30145 (__gethostbyname_r): Likewise.
30146 (__gethostbyname2_r): Likewise.
30147 (__getnetbyaddr_r): Likewise.
30148 (__getnetbyname_r): Likewise.
30149 (__getservbyname_r): Likewise.
30150 (__getservbyport_r): Likewise.
30151 (__getprotobyname_r): Likewise.
30152 (__getprotobynumber_r): Likewise.
30153 (__getnetgrent_r): Likewise.
30154 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
30155 (__getrpcbynumber_r): Likewise.
30156 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
30158 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30161 * include/stdio.h (__fcloseall): Add attribute_hidden.
30162 (__getline): Likewise.
30163 (__path_search): Likewise.
30164 (__gen_tempname): Likewise.
30165 (__libc_message): Likewise.
30166 (__flockfile): Likewise.
30167 (__funlockfile): Likewise.
30168 (__fxprintf): Likewise.
30169 (__fxprintf_nocancel): Likewise.
30171 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30174 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
30175 (__sgetsgent_r): Likewise.
30177 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30180 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
30181 (__statfs64): Likewise.
30182 (__fstatfs64): Likewise.
30183 * include/sys/statvfs.h (__statvfs64): Likewise.
30184 (__fstatvfs64): Likewise.
30185 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
30186 (__statfs_filesize_max): Likewise.
30187 (__statfs_symlinks): Likewise.
30188 (__statfs_chown_restricted): Likewise.
30190 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30193 * include/time.h (__tzstring): Add attribute_hidden.
30194 (__tzfile_read): Likewise.
30195 (__tzfile_compute): Likewise.
30196 (__tzfile_default): Likewise.
30197 (__tzset_parse_tz): Likewise.
30198 (__offtime): Likewise.
30199 (__asctime_r): Likewise.
30200 (__tzset): Likewise.
30201 (__tz_convert): Likewise.
30202 (__getdate_r): Likewise.
30203 (__getclktck): Likewise.
30205 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30208 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
30209 (__nscd_unmap): Likewise.
30210 (__nscd_cache_search): Likewise.
30211 (__nscd_get_nl_timestamp): Likewise.
30212 (__nscd_getpwnam_r): Likewise.
30213 (__nscd_getpwuid_r): Likewise.
30214 (__nscd_getgrnam_r): Likewise.
30215 (__nscd_getgrgid_r): Likewise.
30216 (__nscd_gethostbyname_r): Likewise.
30217 (__nscd_gethostbyname2_r): Likewise.
30218 (__nscd_gethostbyaddr_r): Likewise.
30219 (__nscd_getai): Likewise.
30220 (__nscd_getgrouplist): Likewise.
30221 (__nscd_getservbyname_r): Likewise.
30222 (__nscd_getservbyport_r): Likewise.
30223 (__nscd_innetgr): Likewise.
30224 (__nscd_setnetgrent): Likewise.
30226 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30229 * include/gmp.h: Declare internal functions only if _ISOMAC is
30231 (__mpn_extract_double): Add attribute_hidden.
30232 (__mpn_extract_long_double): Likewise.
30233 (__mpn_extract_float128): Likewise.
30234 (__mpn_construct_float): Likewise.
30235 (__mpn_construct_double): Likewise.
30236 (__mpn_construct_long_double): Likewise.
30237 (__mpn_construct_float128): Likewise.
30238 (mpn_add_1): Likewise.
30239 (mpn_addmul_1): Likewise.
30240 (mpn_add_n): Likewise.
30241 (mpn_cmp): Likewise.
30242 (mpn_divrem): Likewise.
30243 (mpn_lshift): Likewise.
30244 (mpn_mul): Likewise.
30245 (mpn_mul_1): Likewise.
30246 (mpn_rshift): Likewise.
30247 (mpn_sub_1): Likewise.
30248 (mpn_submul_1): Likewise.
30249 (mpn_sub_n): Likewise.
30251 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30254 * include/wchar.h (__wcsnlen): Add attribute_hidden.
30255 (__wcscat): Likewise.
30256 (__btowc): Likewise.
30257 (__wcrtomb): Likewise.
30258 (__mbsrtowcs): Likewise.
30259 (__wcsrtombs): Likewise.
30260 (__mbsnrtowcs): Likewise.
30261 (__wcsnrtombs): Likewise.
30262 (__wcsncpy): Likewise.
30263 (__wcpncpy): Likewise.
30264 (__wmemcpy): Likewise.
30265 (__wmempcpy): Likewise.
30266 (__wmemmove): Likewise.
30267 (__wcschrnul): Likewise.
30268 (__vfwscanf): Likewise.
30269 (__vswprintf): Likewise.
30270 (__fwprintf): Likewise.
30271 (__vfwprintf): Likewise.
30273 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30276 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
30277 (__getgrgid_r): Likewise.
30278 (__getgrnam_r): Likewise.
30279 * include/pwd.h (__getpwuid_r): Likewise.
30280 (__getpwnam_r): Likewise.
30281 (__fgetpwent_r): Likewise.
30282 * include/shadow.h (__getspnam_r): Likewise.
30283 (__sgetspent_r): Likewise.
30284 (__fgetspent_r): Likewise.
30286 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30289 * include/unistd.h (__access): Add attribute_hidden.
30290 (__lseek64): Likewise.
30291 (__libc_pread64): Likewise.
30292 (__pipe2): Likewise.
30293 (__sleep): Likewise.
30294 (__chdir): Likewise.
30295 (__fchdir): Likewise.
30296 (__getcwd): Likewise.
30297 (__rmdir): Likewise.
30298 (__execvpe): Likewise.
30299 (__execve): Likewise.
30300 (__setsid): Likewise.
30301 (__getuid): Likewise.
30302 (__geteuid): Likewise.
30303 (__getgid): Likewise.
30304 (__getegid): Likewise.
30305 (__getgroups): Likewise.
30306 (__group_member): Likewise.
30307 (__ttyname_r): Likewise.
30308 (__isatty): Likewise.
30309 (__readlink): Likewise.
30310 (__unlink): Likewise.
30311 (__gethostname): Likewise.
30312 (__profil): Likewise.
30313 (__getdtablesize): Likewise.
30315 (__ftruncate): Likewise.
30316 (__ftruncate64): Likewise.
30318 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30321 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
30322 * argp/argp-fs-xinl.c: Likewise.
30323 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
30324 * argp/argp-parse.c: Include <argp.h>.
30325 * argp/argp-xinl.c: Likewise.
30326 * include/argp-fmtstream.h: New file.
30327 * include/argp.h (__argp_error): Add attribute_hidden.
30328 (__argp_failure): Likewise.
30329 (__argp_input): Likewise.
30330 (__argp_state_help): Likewise.
30332 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30335 * include/wchar.h (____wcstof_l_internal): New prototype.
30336 (____wcstod_l_internal): Likewise.
30337 (____wcstold_l_internal): Likewise.
30338 (____wcstol_l_internal): Likewise.
30339 (____wcstoul_l_internal): Likewise.
30340 (____wcstoll_l_internal): Likewise.
30341 (____wcstoull_l_internal): Likewise.
30342 (____wcstof128_l_internal): Likewise.
30343 * sysdeps/ieee754/float128/wcstof128.c
30344 (____wcstof128_l_internal): Removed.
30345 * sysdeps/ieee754/float128/wcstof128_l.c
30346 (____wcstof128_l_internal): Likewise.
30347 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
30348 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
30349 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
30350 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
30351 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
30352 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
30353 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
30354 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
30355 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
30356 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
30358 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30361 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
30362 instead of <sys/statvfs.h>.
30363 (__internal_statvfs): Removed.
30364 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
30365 instead of <sys/statvfs.h>.
30366 (__internal_statvfs64): Removed.
30367 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
30368 "internal_statvfs.h" instead of <sys/statvfs.h>.
30369 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
30370 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
30371 instead of <sys/statvfs.h>.
30372 (__internal_statvfs): Removed.
30373 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
30374 instead of <sys/statvfs.h>.
30375 (__internal_statvfs64): Removed.
30377 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30380 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
30381 (__gconv_close): Likewise.
30382 (__gconv): Likewise.
30383 (__gconv_find_transform): Likewise.
30384 (__gconv_lookup_cache): Likewise.
30385 (__gconv_compare_alias_cache): Likewise.
30386 (__gconv_load_cache): Likewise.
30387 (__gconv_get_path): Likewise.
30388 (__gconv_close_transform): Likewise.
30389 (__gconv_release_cache): Likewise.
30390 (__gconv_find_shlib): Likewise.
30391 (__gconv_release_shlib): Likewise.
30392 (__gconv_get_builtin_trans): Likewise.
30393 (__gconv_compare_alias): Likewise.
30394 * include/dlfcn.h (_dlerror_run): Likewise.
30395 * include/stdio.h (__fortify_fail_abort): Likewise.
30396 * include/time.h (__tz_compute): Likewise.
30397 (__strptime_internal): Likewise.
30398 * intl/gettextP.h (_nl_find_domain): Likewise.
30399 (_nl_load_domain): Likewise.
30400 (_nl_find_msg): Likewise.
30401 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
30402 (EXTRACT_PLURAL_EXPRESSION): Likewise.
30403 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
30404 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
30405 (__gai_find_request): Likewise.
30406 (__gai_remove_request): Likewise.
30407 (__gai_notify): Likewise.
30408 (__gai_notify_only): Likewise.
30409 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30410 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30411 (_dl_non_dynamic_init): Likewise.
30412 (_dl_aux_init): Likewise.
30413 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
30414 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30416 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
30417 (__wcsmbs_clone_conv): Likewise.
30418 (__wcsmbs_named_conv): Likewise.
30420 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30423 * include/stdlib.h (__random): Add attribute_hidden.
30424 (__random_r): Likewise.
30425 (__srandom_r): Likewise.
30426 (__initstate_r): Likewise.
30427 (__setstate_r): Likewise.
30428 (__erand48_r): Likewise.
30429 (__nrand48_r): Likewise.
30430 (__jrand48_r): Likewise.
30431 (__srand48_r): Likewise.
30432 (__seed48_r): Likewise.
30433 (__lcong48_r): Likewise.
30434 (__drand48_iterate): Likewise.
30435 (__setenv): Likewise.
30436 (__unsetenv): Likewise.
30437 (__clearenv): Likewise.
30438 (__ptsname_r): Likewise.
30439 (__posix_openpt): Likewise.
30440 (__add_to_environ): Likewise.
30441 (__realpath): Add libc_hidden_proto.
30442 (__ecvt_r): Likewise.
30443 (__fcvt_r): Likewise.
30444 (__qecvt_r): Likewise.
30445 (__qfcvt_r): Likewise.
30446 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
30447 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
30449 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30452 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
30453 * include/time.h (__mktime_internal): Likewise.
30454 * libio/iolibio.h (__fopen_internal): Likewise.
30456 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
30458 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
30460 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
30461 Correct offset used to restore PIC register.
30463 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
30466 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
30467 code to load address of __getcontext_ret when generating PIC code.
30469 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
30471 * elf/Makefile (tests-static-internal): Add
30472 tst-tls1-static-non-pie.
30473 (LDFLAGS-tst-tls1-static-non-pie): New.
30474 * elf/tst-tls1-static-non-pie.c: New file.
30476 2017-09-29 Joseph Myers <joseph@codesourcery.com>
30478 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
30479 (asinh): Define using libm_alias_double.
30480 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
30481 (cbrt): Define using libm_alias_double.
30482 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
30483 <libm-alias-double.h>.
30484 (copysign): Define using libm_alias_double.
30485 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
30486 (erf): Define using libm_alias_double.
30488 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
30489 (expm1): Define using libm_alias_double.
30490 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
30491 (fabs): Define using libm_alias_double.
30492 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
30494 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
30495 <libm-alias-double.h>.
30496 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
30498 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
30499 <libm-alias-double.h>.
30500 (getpayload): Define using libm_alias_double.
30501 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
30502 <libm-alias-double.h>.
30503 (llrint): Define using libm_alias_double.
30504 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
30505 (lrint): Define using libm_alias_double.
30506 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
30507 <libm-alias-double.h>.
30508 (nextup): Define using libm_alias_double.
30509 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
30510 <libm-alias-double.h>.
30511 (roundeven): Define using libm_alias_double.
30512 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
30514 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
30515 <libm-alias-double.h>.
30516 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
30517 using libm_alias_double.
30518 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
30519 (cos): Define using libm_alias_double.
30521 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
30522 <libm-alias-double.h>.
30523 (sincos): Define using libm_alias_double.
30524 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
30525 (tanh): Define using libm_alias_double.
30526 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
30527 <libm-alias-double.h>.
30528 (totalorder): Define using libm_alias_double.
30529 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
30530 <libm-alias-double.h>.
30531 (totalordermag): Define using libm_alias_double.
30532 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
30534 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
30536 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
30537 <libm-alias-double.h>.
30538 (getpayload): Define using libm_alias_double.
30539 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
30540 <libm-alias-double.h>.
30541 (roundeven): Define using libm_alias_double.
30542 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
30543 <libm-alias-double.h>.
30544 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
30545 <libm-alias-double.h>.
30546 (totalorder): Define using libm_alias_double.
30547 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
30548 <libm-alias-double.h>.
30549 (totalordermag): Define using libm_alias_double.
30550 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
30551 libc compat symbol here.
30552 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
30553 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
30554 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
30555 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
30556 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
30557 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
30558 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
30559 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
30560 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
30561 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
30563 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30565 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
30566 _dl_relocate_static_pie instead of _dl_start to compute load
30567 address in static PIE. Return 0 if _DYNAMIC is undefined for
30570 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30572 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
30573 _DYNAMIC is undefined for static executable.
30575 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30577 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
30579 2017-09-29 Joseph Myers <joseph@codesourcery.com>
30581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30583 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30585 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
30586 (__ieee754_lgamma_r): Use fabs rather than __fabs.
30587 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30588 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30589 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
30590 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
30591 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
30592 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
30593 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
30594 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30595 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
30596 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
30597 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30598 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30599 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30600 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30601 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
30603 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30605 * math/bits/cmathcalls.h (cimag): Remove inline.
30606 (creal): Remove inline.
30607 (conj): Remove inline.
30609 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30611 * math/Makefile (type-float-routines): Add e_powf_log2_data.
30612 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
30613 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
30614 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
30615 (issignalingf_inline): Likewise.
30616 (POWF_LOG2_TABLE_BITS): Likewise.
30617 (POWF_LOG2_POLY_ORDER): Likewise.
30618 (POWF_SCALE_BITS): Likewise.
30619 (POWF_SCALE): Likewise.
30620 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
30621 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
30622 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
30624 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30626 * math/Makefile (type-float-routines): Add e_log2f_data.
30627 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
30628 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
30629 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
30630 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
30631 * sysdeps/i386/fpu/e_log2f_data.c: New file.
30632 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
30633 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
30635 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30637 * math/Makefile (type-float-routines): Add e_logf_data.
30638 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
30639 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
30640 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
30641 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
30642 * sysdeps/i386/fpu/e_logf_data.c: New file.
30643 * sysdeps/ia64/fpu/e_logf_data.c: New file.
30644 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
30646 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
30648 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
30649 undefined _DYNAMIC in PIE libc.a.
30650 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30653 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30655 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
30656 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
30657 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
30658 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
30659 (__signbit): Remove.
30660 (__signbitl): Remove.
30661 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
30662 (__signbit): Remove.
30663 (__signbitl): Remove.
30664 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
30665 (__signbit): Remove.
30666 (__signbitl): Remove.
30667 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
30668 (__signbit): Remove.
30669 (__signbitl): Remove.
30670 * sysdeps/tile/bits/mathinline.h: Delete file.
30671 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
30672 (__signbit): Remove.
30673 (__signbitl): Remove.
30675 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30677 * math/math.h: Improve handling of C99 isgreater macros.
30678 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
30679 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
30680 * sysdeps/powerpc/bits/mathinline.h: Likewise.
30681 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30682 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
30684 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
30686 * sysdeps/aarch64/libm-test-ulps: Update.
30688 2017-09-28 Joseph Myers <joseph@codesourcery.com>
30691 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30692 math_opt_barrier on argument when doing arithmetic on it.
30693 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30694 Likewise. Use math_force_eval not math_opt_barrier after
30696 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
30697 math_opt_barrier on argument when doing arithmetic on it.
30698 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30701 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
30703 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
30705 (__freeifaddrs): Likewise.
30707 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30709 * include/dirent.h (__dirfd): New declaration.
30710 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
30712 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
30713 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
30714 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
30715 * include/unistd.h (__revoke): New declaration.
30716 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
30718 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
30719 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
30721 * include/dirent.h (__seekdir): New declaration.
30722 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
30723 redefine as weak alias.
30724 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
30726 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
30727 and use libc_hidden_def on them.
30728 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
30730 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
30731 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
30732 instead of getifaddrs and freeifaddrs.
30734 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30737 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
30738 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
30739 (__dso_handle): Remove declaration.
30740 * dlfcn/tstatexit.c (__dso_handle): Removed.
30741 (main): Don't check __dso_handle.
30742 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
30743 (main): Don't check __dso_handle.
30744 * include/dso_handle.h: New file.
30745 * malloc/mtrace.c: Include <dso_handle.h>.
30746 (mtrace): Pass __dso_handle directly.
30747 * nptl/pthread_atfork.c: Include <dso_handle.h>.
30748 (__dso_handle): Remove declaration.
30749 (__pthread_atfork): Pass __dso_handle directly.
30750 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
30751 (__dso_handle): Removed.
30752 * posix/wordexp-test.c: Include <dso_handle.h>.
30753 (__dso_handle): Remove declaration.
30754 (__app_register_atfork): Pass __dso_handle directly.
30755 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
30756 (__dso_handle): Remove declaration.
30757 (at_quick_exit): Pass __dso_handle directly.
30758 * stdlib/atexit.c: Include <dso_handle.h>.
30759 (__dso_handle): Remove declaration.
30760 (atexit): Pass __dso_handle directly.
30761 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
30762 (__dso_handle): Removed.
30764 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30766 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
30769 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
30771 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
30772 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
30773 values to correct default value for given type.
30775 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30778 * elf/Makefile (tests): Add tst-debug1.
30779 ($(objpfx)tst-debug1): New.
30780 ($(objpfx)tst-debug1.out): Likewise.
30781 ($(objpfx)tst-debug1mod1.so): Likewise.
30782 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
30783 with p_filesz == 0.
30784 * elf/tst-debug1.c: New file.
30786 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30788 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
30789 Define using __ifunc.
30791 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30793 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
30796 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30799 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
30801 2017-09-26 Florian Weimer <fweimer@redhat.com>
30803 * resolv/Makefile (tests-internal): Fix typo in comment.
30805 2017-09-26 Florian Weimer <fweimer@redhat.com>
30807 * resolv/nss_dns/dns-host.c: Fix typo in comment.
30809 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30811 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
30812 Use an union instead of a max_align_t array for __space,
30813 so that __space is the same size on all platforms.
30814 * malloc/scratch_buffer_grow_preserve.c
30815 (__libc_scratch_buffer_grow_preserve): Likewise.
30818 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
30820 * posix/Makefile (routines): Add glob-lstat-compat and
30821 glob64-lstat-compat.
30822 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
30823 * posix/glob-lstat-compat.c: New file.
30824 * posix/glob64-lstat-compat.c: Likewise.
30825 * posix/tst-glob_lstat_compat.c: Likewise.
30826 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
30827 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
30828 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
30829 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
30831 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
30832 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30833 * posix/glob.c (glob_lstat): New function.
30834 (glob): Rename to __glob and add versioned symbol to 2.27.
30835 (glob_in_dir): Use glob_lstat.
30836 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
30837 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
30838 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
30840 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
30841 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
30842 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
30843 gl_lstat on glob call.
30844 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
30845 and glob64 symbols.
30846 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30847 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
30848 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
30849 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
30850 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
30851 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
30852 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
30853 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
30854 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
30855 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30856 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30857 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
30858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
30860 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
30861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
30862 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30863 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30864 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
30865 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30866 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
30868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
30869 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
30870 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
30871 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
30873 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
30875 * configure.ac (AS): Require binutils 2.25 or later.
30876 * configure: Regenerated.
30878 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30881 * stdlib/test-atexit-race-common.c (do_test): Minimize required
30884 2017-09-25 DJ Delorie <dj@redhat.com>
30887 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
30890 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
30892 * sysdeps/ieee754/dbl-64/sincos32.h
30893 [SINCCOS32_H]: Remove define.
30894 [SINCOS32_H]: Define.
30896 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30898 * math/Versions (expf): New libm symbol at GLIBC_2.27.
30900 * math/w_exp2f.c: New file.
30901 * math/w_expf.c: New file.
30902 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
30903 * math/w_expf_compat.c (__expf_compat): Likewise.
30904 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
30905 * sysdeps/ia64/fpu/e_expf.S: Likewise.
30906 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30907 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30908 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30909 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30910 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30911 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30912 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30913 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30914 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30915 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30916 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30917 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30926 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30927 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30928 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30929 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30930 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
30933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
30935 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
30936 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
30937 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
30939 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30941 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
30942 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
30943 (roundtoint, converttoint): Likewise.
30944 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
30945 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
30946 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
30947 * sysdeps/ieee754/flt-32/math_config.h: New file.
30948 * sysdeps/ieee754/flt-32/math_errf.c: New file.
30949 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
30950 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
30951 * sysdeps/i386/fpu/math_errf.c: New file.
30952 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
30953 * sysdeps/ia64/fpu/math_errf.c: New file.
30954 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
30955 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
30957 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
30959 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
30960 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
30961 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
30962 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
30963 to make sure that these symbols are defined.
30964 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
30966 (__need_NULL): Do not define.
30967 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
30969 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
30970 CMGROUP_MAX, cmsgcred): Do not define.
30971 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
30973 * bits/socket.h: Likewise.
30974 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
30975 __gettimeofday instead of gettimeofday.
30976 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
30977 instead of settimeofday.
30979 2017-09-22 Joseph Myers <joseph@codesourcery.com>
30981 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
30982 (asinhf): Define using libm_alias_float.
30983 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
30984 (atanf): Define using libm_alias_float.
30985 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
30986 (cbrtf): Define using libm_alias_float.
30987 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
30988 (ceilf): Define using libm_alias_float.
30989 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
30990 <libm-alias-float.h>.
30991 (copysignf): Define using libm_alias_float.
30992 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
30993 (cosf): Define using libm_alias_float.
30994 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
30995 (erff): Define using libm_alias_float.
30997 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
30998 (expm1f): Define using libm_alias_float.
30999 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
31000 (fabsf): Define using libm_alias_float.
31001 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
31002 (floorf): Define using libm_alias_float.
31003 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
31004 (frexpf): Define using libm_alias_float.
31005 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
31007 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
31008 <libm-alias-float.h>.
31009 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
31011 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
31012 <libm-alias-float.h>.
31013 (getpayloadf): Define using libm_alias_float.
31014 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
31015 <libm-alias-float.h>.
31016 (llrintf): Define using libm_alias_float.
31017 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
31018 <libm-alias-float.h>.
31019 (llroundf): Define using libm_alias_float.
31020 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
31021 (logbf): Define using libm_alias_float.
31022 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
31023 (lrintf): Define using libm_alias_float.
31024 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
31025 (lroundf): Define using libm_alias_float.
31026 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
31027 (modff): Define using libm_alias_float.
31028 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
31029 <libm-alias-float.h>.
31030 (nearbyintf): Define using libm_alias_float.
31031 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
31032 <libm-alias-float.h>.
31033 (nextafterf): Define using libm_alias_float.
31034 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
31035 <libm-alias-float.h>.
31036 (nextupf): Define using libm_alias_float.
31037 * sysdeps/ieee754/flt-32/s_remquof.c: Include
31038 <libm-alias-float.h>.
31039 (remquof): Define using libm_alias_float.
31040 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
31041 (rintf): Define using libm_alias_float.
31042 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
31043 <libm-alias-float.h>.
31044 (roundevenf): Define using libm_alias_float.
31045 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
31046 (roundf): Define using libm_alias_float.
31047 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
31048 using libm_alias_float.
31049 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
31050 <libm-alias-float.h>.
31051 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
31052 Define using libm_alias_float.
31053 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
31054 <libm-alias-float.h>.
31055 (sincosf): Define using libm_alias_float.
31056 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
31057 (sinf): Define using libm_alias_float.
31058 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
31059 (tanf): Define using libm_alias_float.
31060 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
31061 (tanhf): Define using libm_alias_float.
31062 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
31063 <libm-alias-float.h>.
31064 (totalorderf): Define using libm_alias_float.
31065 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
31066 <libm-alias-float.h>.
31067 (totalordermagf): Define using libm_alias_float.
31068 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
31069 (truncf): Define using libm_alias_float.
31070 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
31072 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
31075 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31078 math/math.h: Let fpclassify use the builtin in C++ mode, even
31079 when optimazing for size.
31081 2017-09-22 Joseph Myers <joseph@codesourcery.com>
31083 * csu/Makefile (generated): Do not add version-info.h.
31084 (before-compile): Likewise.
31085 (all-Banner-files): Remove variable.
31086 ($(objpfx)version-info.h): Remove rule.
31087 * csu/version.c (banner): Do not include "version-info.h".
31088 * libidn/Banner: Remove.
31089 * manual/contrib.texi (Simon Josefsson): New entry.
31091 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31093 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31094 Remove conditionals on LDBL_MANT_DIG.
31095 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31096 (__ieee754_lgammal_r): Likewise.
31098 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31100 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
31102 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
31103 _Float128 and L(). Replace _Float128 with long double and L(x)
31104 with xL, throughout the file.
31105 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31106 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31107 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31108 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31110 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31112 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
31113 sysdeps/ieee754/ldbl-128ibm.
31114 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
31115 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
31116 of including it. Keep _Float128 and L() intact. These will be
31117 reviewed by a separate patch.
31118 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31119 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31120 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31121 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31123 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
31126 (__finitef128): Define to __redirect___finitef128.
31127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
31128 (__isinff128): Define to __redirect___isinff128.
31129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
31130 (__isnanf128): Define to __redirect___isnanf128.
31132 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31134 * sysdeps/powerpc/powerpc64le/Makefile
31135 (CFLAGS-tst-strtod-nan-locale.c): New variable.
31136 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
31138 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
31139 Carlos O'Donell <carlos@redhat.com>
31142 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
31143 * stdlib/test-dlclose-exit-race.c: New file.
31144 * stdlib/test-dlclose-exit-race-helper.c: New file.
31145 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
31147 2017-09-21 Joseph Myers <joseph@codesourcery.com>
31149 * crypt/Banner: Remove file.
31150 * nptl/Banner: Likewise.
31151 * resolv/Banner: Likewise.
31152 * soft-fp/Banner: Likewise.
31153 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
31154 ($(objpfx)version.d): Remove dependency on banner.h.
31155 ($(objpfx)version.os): Likewise.
31156 * nptl/version.c (banner): Do not include banner.h.
31157 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
31158 Jelinek and BIND code.
31160 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31161 Carlos O'Donell <carlos@redhat.com>
31163 * support/xdlfcn.h: New file.
31164 * support/xdlfcn.c: New file.
31165 * support/Makefile (libsupport-routines): Add xdlfcn.
31166 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
31168 2017-09-20 Joseph Myers <joseph@codesourcery.com>
31171 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31172 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
31173 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
31174 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
31175 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
31176 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
31177 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
31178 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
31180 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31181 Ricky Zhou <rickyz@google.com>
31182 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
31185 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
31187 (__new_exitfn): Fail registration when we finished at_exit processing.
31188 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31189 * stdlib/on_exit.c (__on_exit): Likewise.
31190 * stdlib/exit.c (__exit_funcs_done): New variable.
31191 (__run_exit_handlers): Use __exit_funcs_lock.
31192 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
31194 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
31195 (test-cxa_atexit-race, test-on_exit-race): New tests.
31196 * stdlib/test-atexit-race-common.c: New file.
31197 * stdlib/test-atexit-race.c: New file.
31198 * stdlib/test-at_quick_exit-race.c: New file.
31199 * stdlib/test-cxa_atexit-race.c: New file.
31200 * stdlib/test-on_exit-race.c: New file.
31202 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
31204 * benchtests/Makefile: Add exp2f and log2f benchmarks.
31205 * benchtests/exp2f-inputs: Copy of expf-inputs.
31206 * benchtests/log2f-inputs: Copy of logf-inputs.
31208 2017-09-19 Joseph Myers <joseph@codesourcery.com>
31210 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
31211 Explicitly take address of first element of array arguments in
31212 call to INLINE_SYSCALL.
31214 2017-09-19 Andreas Schwab <schwab@suse.de>
31217 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
31219 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
31221 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
31222 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
31223 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31224 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
31225 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31226 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31227 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31228 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31229 * posix/Makefile (tests): Add tst-fexecve.
31230 * posix/tst-fexecve.c: New file.
31232 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31234 * benchtests/Makefile: Add logf benchmark.
31235 * benchtests/logf-inputs: Add reduced trace from wrf_r.
31237 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31239 * benchtests/Makefile: Add expf benchmark.
31240 * benchtests/expf-inputs: Add reduced trace from wrf_r.
31242 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31244 * csu/Makefile: Add -funwind-tables to libc-start.c.
31245 * debug/Makefile: Add -funwind-tables to backtrace.c.
31246 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
31247 * sysdeps/arm/Makefile: Likewise.
31248 * sysdeps/i386/Makefile: Likewise.
31249 * sysdeps/m68k/Makefile: Likewise.
31250 * sysdeps/mips/Makefile: Likewise.
31251 * sysdeps/nios2/Makefile: Likewise.
31252 * sysdeps/sh/Makefile: Likewise.
31253 * sysdeps/sparc/Makefile: Likewise.
31255 2017-09-19 Joseph Myers <joseph@codesourcery.com>
31257 * benchtests/Makefile (bench-math): Add trunc and truncf.
31258 (CFLAGS-bench-trunc.c): New variable.
31259 (CFLAGS-bench-truncf.c): Likewise.
31260 * benchtests/trunc-inputs: New file.
31261 * benchtests/truncf-inputs: Likewise.
31263 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31265 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
31267 2017-09-18 Joseph Myers <joseph@codesourcery.com>
31269 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
31270 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
31272 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31273 (exp10l): Define as weak alias.
31274 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
31275 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
31277 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
31278 (remainderl): Define as weak alias.
31280 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
31281 (fmal): Define using libm_alias_ldouble.
31282 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
31283 (acoshl): Define using libm_alias_ldouble.
31284 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
31285 (acosl): Define using libm_alias_ldouble.
31286 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
31287 (asinl): Define using libm_alias_ldouble.
31288 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
31289 (atan2l): Define using libm_alias_ldouble.
31290 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
31291 (atanhl): Define using libm_alias_ldouble.
31292 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
31293 (coshl): Define using libm_alias_ldouble.
31294 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
31295 (exp10l): Define using libm_alias_ldouble.
31296 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
31297 (exp2l): Define using libm_alias_ldouble.
31298 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
31299 (expl): Define using libm_alias_ldouble.
31300 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
31301 (fmodl): Define using libm_alias_ldouble.
31302 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
31303 (hypotl): Define using libm_alias_ldouble.
31304 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
31305 (j0l): Define using libm_alias_ldouble.
31307 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
31308 (j1l): Define using libm_alias_ldouble.
31310 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
31311 (jnl): Define using libm_alias_ldouble.
31313 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
31314 (log10l): Define using libm_alias_ldouble.
31315 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
31316 (log2l): Define using libm_alias_ldouble.
31317 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
31318 (logl): Define using libm_alias_ldouble.
31319 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
31320 (powl): Define using libm_alias_ldouble.
31321 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
31322 (remainderl): Define using libm_alias_ldouble.
31323 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
31324 (sinhl): Define using libm_alias_ldouble.
31325 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
31326 (sqrtl): Define using libm_alias_ldouble.
31327 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
31328 (tgammal): Define using libm_alias_ldouble.
31329 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
31330 (exp10l): Do not use long_double_symbol here.
31331 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31332 [LIBM_SVID_COMPAT] (remainderl): Likewise.
31333 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
31334 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31335 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31336 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31337 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31338 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31339 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31340 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31341 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31342 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31343 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31344 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31345 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31346 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31347 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31348 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31349 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31350 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31351 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31352 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31354 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
31356 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
31357 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
31359 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
31361 * io/read.c (read): Add libc_hidden_weak.
31362 * sysdeps/mach/hurd/read.c (read): Likewise.
31363 * io/write.c (write): Likewise.
31364 * sysdeps/mach/hurd/write.c (write): Likewise.
31365 * io/pread64.c (__pread64): Likewise.
31366 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
31367 * posix/pread64.c (__pread64): Add libc_hidden_def.
31369 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
31371 * benchtests/scripts/compare_strings.py: New option -g.
31372 (draw_graph): Print a message that a graph is being generated.
31373 (process_results): Generate graph only if -g is passed.
31374 (main): Process option -g.
31376 * benchtests/scripts/compare_strings.py (process_results):
31377 Better spacing for output.
31379 * benchtests/scripts/compare_strings.py: Use argparse.
31380 * benchtests/README: Document existence of compare_strings.py.
31382 2017-09-15 Joseph Myers <joseph@codesourcery.com>
31384 * math/s_fma.c: Include <libm-alias-double.h>.
31385 (fma): Define using libm_alias_double.
31386 * math/s_nextafter.c: Include <libm-alias-double.h>.
31387 (nextafter): Define using libm_alias_double.
31388 * math/w_acos_compat.c: Include <libm-alias-double.h>.
31389 (acos): Define using libm_alias_double.
31390 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
31391 (aocsh): Define using libm_alias_double.
31392 * math/w_asin_compat.c: Include <libm-alias-double.h>.
31393 (asin): Define using libm_alias_double.
31394 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
31395 (atan2): Define using libm_alias_double.
31396 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
31397 (atanh): Define using libm_alias_double.
31398 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
31399 (cosh): Define using libm_alias_double.
31400 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
31401 (exp10): Define using libm_alias_double.
31402 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
31403 (exp2): Define using libm_alias_double.
31404 * math/w_exp_compat.c: Include <libm-alias-double.h>.
31405 (exp): Define using libm_alias_double.
31406 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
31407 (fmod): Define using libm_alias_double.
31408 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
31409 (hypot): Define using libm_alias_double.
31410 * math/w_j0_compat.c: Include <libm-alias-double.h>.
31411 (j0): Define using libm_alias_double.
31413 * math/w_j1_compat.c: Include <libm-alias-double.h>.
31414 (j1): Define using libm_alias_double.
31416 * math/w_jn_compat.c: Include <libm-alias-double.h>.
31417 (jn): Define using libm_alias_double.
31419 * math/w_log10_compat.c: Include <libm-alias-double.h>.
31420 (log10): Define using libm_alias_double.
31421 * math/w_log2_compat.c: Include <libm-alias-double.h>.
31422 (log2): Define using libm_alias_double.
31423 * math/w_log_compat.c: Include <libm-alias-double.h>.
31424 (log): Define using libm_alias_double.
31425 * math/w_pow_compat.c: Include <libm-alias-double.h>.
31426 (pow): Define using libm_alias_double.
31427 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
31428 (remainder): Define using libm_alias_double.
31429 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
31430 (sinh): Define using libm_alias_double.
31431 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
31432 (sqrt): Define using libm_alias_double.
31433 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
31434 (tgamma): Define using libm_alias_double.
31435 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
31436 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
31437 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
31438 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
31439 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
31440 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
31441 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
31442 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
31443 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
31444 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
31445 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
31446 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
31447 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
31448 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
31449 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
31450 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
31451 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
31452 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
31453 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
31454 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
31455 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
31456 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
31457 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
31458 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
31459 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
31461 * math/e_acoshl.c: Remove.
31462 * math/e_acosl.c: Likewise.
31463 * math/e_asinl.c: Likewise.
31464 * math/e_atan2l.c: Likewise.
31465 * math/e_atanhl.c: Likewise.
31466 * math/e_coshl.c: Likewise.
31467 * math/e_expl.c: Likewise.
31468 * math/e_fmodl.c: Likewise.
31469 * math/e_gammal_r.c: Likewise.
31470 * math/e_hypotl.c: Likewise.
31471 * math/e_j0l.c: Likewise.
31472 * math/e_j1l.c: Likewise.
31473 * math/e_jnl.c: Likewise.
31474 * math/e_lgammal_r.c: Likewise.
31475 * math/e_log10l.c: Likewise.
31476 * math/e_log2l.c: Likewise.
31477 * math/e_logl.c: Likewise.
31478 * math/e_powl.c: Likewise.
31479 * math/e_rem_pio2l.c: Likewise.
31480 * math/e_sinhl.c: Likewise.
31481 * math/e_sqrtf128.c: Likewise.
31482 * math/e_sqrtl.c: Likewise.
31483 * math/k_cosl.c: Likewise.
31484 * math/k_sinl.c: Likewise.
31485 * math/k_tanl.c: Likewise.
31486 * math/s_asinhl.c: Likewise.
31487 * math/s_atanl.c: Likewise.
31488 * math/s_cbrtl.c: Likewise.
31489 * math/s_erfl.c: Likewise.
31490 * math/s_expm1l.c: Likewise.
31491 * math/s_log1pl.c: Likewise.
31492 * math/s_tanhl.c: Likewise.
31494 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31497 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
31498 [$(subdir) = math] (sysdep_calls): New variable. Has the
31499 previous contents of sysdep_routines, but re-sorted..
31500 [$(subdir) = math] (sysdep_routines): Re-use the contents from
31502 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
31503 defined in sysdep_calls and replace by the respective m_* names.
31504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
31505 (compat_symbol): Undefine to avoid duplicated compat symbols in
31508 2017-09-15 Joseph Myers <joseph@codesourcery.com>
31510 * math/s_fmaf.c: Include <libm-alias-float.h>.
31511 (fmaf): Define using libm_alias_float.
31512 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
31513 (acosf): Define using libm_alias_float.
31514 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
31515 (acoshf): Define using libm_alias_float.
31516 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
31517 (asinf): Define using libm_alias_float.
31518 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
31519 (atan2f): Define using libm_alias_float.
31520 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
31521 (atanhf): Define using libm_alias_float.
31522 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
31523 (coshf): Define using libm_alias_float.
31524 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
31525 (exp10f): Define using libm_alias_float.
31526 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
31527 (fmodf): Define using libm_alias_float.
31528 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
31529 (hypotf): Define using libm_alias_float.
31530 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
31531 (j0f): Define using libm_alias_float.
31533 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
31534 (j1f): Define using libm_alias_float.
31536 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
31537 (jnf): Define using libm_alias_float.
31539 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
31540 (log10f): Define using libm_alias_float.
31541 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
31542 (log2f): Define using libm_alias_float.
31543 * math/w_logf_compat.c: Include <libm-alias-float.h>.
31544 (logf): Define using libm_alias_float.
31545 * math/w_powf_compat.c: Include <libm-alias-float.h>.
31546 (powf): Define using libm_alias_float.
31547 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
31548 (remainderf): Define using libm_alias_float.
31549 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
31550 (sinhf): Define using libm_alias_float.
31551 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
31552 (sqrtf): Define using libm_alias_float.
31553 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
31554 (tgammaf): Define using libm_alias_float.
31556 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31558 * include/math.h (roundeven): Change hidden_proto call to
31560 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
31562 [NO_LONG_DOUBLE] (__j0l): New strong alias.
31563 (y0): Rename to __y0 and define as weak alias.
31564 [NO_LONG_DOUBLE] (__y0l): New strong alias.
31565 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
31567 (y0f): Rename to __y0f and define as weak alias.
31568 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
31570 [NO_LONG_DOUBLE] (__j1l): New strong alias.
31571 (y1): Rename to __y1 and define as weak alias.
31572 [NO_LONG_DOUBLE] (__y1l): New strong alias.
31573 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
31575 (y1f): Rename to __y1f and define as weak alias.
31576 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
31578 [NO_LONG_DOUBLE] (__jnl): New strong alias.
31579 (yn): Rename to __yn and define as weak alias.
31580 [NO_LONG_DOUBLE] (__ynl): New strong alias.
31581 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
31583 (ynf): Rename to __ynf and define as weak alias.
31584 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
31585 (fromfp): Define as weak alias.
31586 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
31587 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
31588 (fromfpx): Define as weak alias.
31589 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
31590 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
31591 __getpayload and define as weak alias.
31592 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31593 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
31594 __roundeven and define as weak alias.
31595 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31596 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
31598 (setpayload): Define as weak alias.
31599 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
31600 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
31602 (setpayloadsig): Define as weak alias.
31603 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
31604 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
31605 __totalorder and define as weak alias.
31606 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31607 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
31608 to __totalordermag and define as weak alias.
31609 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31610 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
31611 (ufromfp): Define as weak alias.
31612 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
31613 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
31615 (ufromfpx): Define as weak alias.
31616 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
31617 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
31618 Rename to __getpayload and define as weak alias.
31619 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31620 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
31621 Rename to __roundeven and define as weak alias.
31622 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31623 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
31624 Rename to __totalorder and define as weak alias.
31625 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31626 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
31627 (totalordermag): Rename to __totalordermag and define as weak
31629 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31630 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
31632 (__roundevenl): Likewise.
31633 (__totalorderl): Likewise.
31634 (__totalordermagl): Likewise
31635 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
31637 (fromfpf128): Define as weak alias.
31638 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
31640 (fromfpxf128): Define as weak alias.
31641 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
31643 (setpayloadf128): Define as weak alias.
31644 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
31645 __setpayloadsigf128.
31646 (setpayloadsigf128): Define as weak alias.
31647 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
31649 (ufromfpf128): Define as weak alias.
31650 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
31652 (ufromfpxf128): Define as weak alias.
31653 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
31654 (fromfpf): Define as weak alias.
31655 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
31657 (fromfpxf): Define as weak alias.
31658 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
31659 __getpayloadf and define as weak alias.
31660 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
31661 __roundevenf and define as weak alias.
31662 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
31664 (setpayloadf): Define as weak alias.
31665 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
31667 (setpayloadsigf): Define as weak alias.
31668 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
31669 __totalorderf and define as weak alias.
31670 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
31671 Rename to __totalordermagf and define as weak alias.
31672 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
31674 (ufromfpf): Define as weak alias.
31675 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
31677 (ufromfpxf): Define as weak alias.
31678 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
31680 (fromfpl): Define as weak alias.
31681 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
31683 (fromfpxl): Define as weak alias.
31684 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
31685 to __getpayloadl and define as weak alias.
31686 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
31687 __roundevenl and define as weak alias.
31688 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
31690 (setpayloadl): Define as weak alias.
31691 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
31693 (setpayloadsigl): Define as weak alias.
31694 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
31695 to __totalorderl and define as weak alias.
31696 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
31697 Rename to __totalordermagl and define as weak alias.
31698 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
31700 (ufromfpl): Define as weak alias.
31701 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
31703 (ufromfpxl): Define as weak alias.
31704 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
31706 (fromfpl): Define as weak alias.
31707 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
31709 (fromfpxl): Define as weak alias.
31710 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
31711 Rename to __getpayloadl and define as weak alias.
31712 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
31713 to __roundevenl and define as weak alias. Call __roundeven
31714 instead of roundeven.
31715 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
31717 (setpayloadl): Define as weak alias.
31718 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
31720 (setpayloadsigl): Define as weak alias.
31721 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
31722 Rename to __totalorderl and define as weak alias.
31723 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
31724 Rename to __totalordermagl and define as weak alias.
31725 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
31727 (ufromfpl): Define as weak alias.
31728 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
31730 (ufromfpxl): Define as weak alias.
31731 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
31733 (fromfpl): Define as weak alias.
31734 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
31736 (fromfpxl): Define as weak alias.
31737 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
31738 __getpayloadl and define as weak alias.
31739 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
31740 __roundevenl and define as weak alias.
31741 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
31743 (setpayloadl): Define as weak alias.
31744 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
31746 (setpayloadsigl): Define as weak alias.
31747 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
31748 __totalorderl and define as weak alias.
31749 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
31750 Rename to __totalordermagl and define as weak alias.
31751 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
31753 (ufromfpl): Define as weak alias.
31754 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
31756 (ufromfpxl): Define as weak alias.
31758 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
31760 * benchtests/bench-string.h (realloc_bufs): New function.
31761 (test_init): Call it.
31762 * benchtests/bench-memset-large.c (do_test): Likewise.
31763 * benchtests/bench-memset.c (do_test): Likewise.
31765 * benchtests/bench-memset-large.c: Print output in JSON
31767 * benchtests/bench-memset.c: Likewise.
31769 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31772 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
31773 * iconvdata/Makefile: Add IBM858.
31774 * iconvdata/gconv-modules: Likewise.
31775 * iconvdata/tst-tables.sh: Likewise.
31776 * iconvdata/ibm858.c: New file.
31777 * localedata/charmaps/IBM858: Likewise.
31779 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
31782 * locales/niu_NZ (LC_TIME): copy "niu_NU".
31783 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
31785 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31788 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
31789 and add tel_int_fmt.
31791 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31793 * sysdeps/generic/libm-alias-float128.h: New file.
31794 * sysdeps/generic/math-type-macros-float128.h: Include
31795 <libm-alias-float128.h>.
31796 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31798 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31800 * sysdeps/generic/libm-alias-ldouble.h: New file.
31801 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
31802 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
31803 * sysdeps/generic/math-type-macros-ldouble.h: Include
31804 <libm-alias-ldouble.h>.
31805 [!declare_mgen_alias] (declare_mgen_alias): Define to use
31806 libm_alias_ldouble.
31808 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
31810 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
31811 * math/w_exp_compat.c: ... here.
31812 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
31813 * math/w_expf_compat.c: ... here.
31814 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
31815 * math/w_expl_compat.c: ... here.
31816 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
31817 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
31818 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
31819 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31821 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31823 * math/w_scalbln_template.c (strong_alias): Do not undefine and
31825 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
31827 (ldexpl): Only define as compat symbol for libc, not libm.
31828 (scalbnl): Define as compat symbol for libc here.
31829 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
31830 define for [IS_IN (libc)].
31831 (__ldexpl_2): Remove alias.
31832 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
31833 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
31834 name in long_double_symbol call.
31835 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
31836 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31837 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31838 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
31839 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
31841 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
31842 Define as compat symbol.
31844 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31846 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
31847 * sysdeps/unix/sysv/linux/alpha/Makefile
31848 [$(subdir) = csu] (sysdep_routines): Remove rule.
31850 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31852 * sysdeps/generic/libm-alias-double.h: New file.
31853 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
31854 * sysdeps/generic/math-type-macros-double.h: Include
31855 <libm-alias-double.h>.
31856 [declare_mgen_alias] (declare_mgen_alias): Define to use
31858 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
31859 (M_LIBM_NEED_COMPAT): Remove macro.
31860 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
31861 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
31862 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
31864 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31865 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31866 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31867 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31868 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31869 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31870 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31871 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31872 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31873 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31874 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31875 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31876 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31877 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31878 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31879 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31880 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31881 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31882 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31883 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31884 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31885 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31886 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31887 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31888 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31889 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31890 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31891 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
31892 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
31894 (declare_mgen_alias): New macro.
31895 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
31896 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
31897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
31898 (M_LIBM_NEED_COMPAT): Remove macro.
31899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
31900 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
31901 <first-versions.h>.
31902 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
31903 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
31905 2017-09-12 Joseph Myers <joseph@codesourcery.com>
31907 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
31908 (declare_mgen_alias_2): Remove.
31909 * sysdeps/generic/math-type-macros-double.h
31910 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
31912 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
31914 (ldexp): Define with declare_mgen_alias.
31915 (scalbn): Likewise.
31917 2017-09-12 Steve Ellcey <sellcey@cavium.com>
31919 * grp/initgroups.c: Include config.h.
31920 (DEFAULT_CONFIG): New macro.
31921 (internal_getgrouplist): Use DEFAULT_CONFIG.
31922 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31923 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
31924 (DEFAULT_DEFCONFIG): New macro.
31925 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
31926 * nss/grp-lookup.c: Include config.h
31927 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
31928 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
31929 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
31930 * manual/nss.texi: Update default values section.
31932 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
31935 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
31937 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
31938 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31939 Handle MathVec_Prefer_No_AVX512.
31940 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
31941 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
31944 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
31946 * posix/sched_primax.c (__sched_get_priority_max): Add
31948 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
31949 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31950 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31951 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
31952 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
31953 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
31954 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
31955 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
31958 2017-09-11 Joseph Myers <joseph@codesourcery.com>
31960 * sysdeps/generic/libm-alias-float.h: New file.
31961 * sysdeps/generic/math-type-macros-float.h: Include
31962 <libm-alias-float.h>.
31963 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31965 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
31968 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
31969 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
31970 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
31971 (HWCAP_IMPORTANT): Likewise.
31972 (HWCAP_X86_64): New enum.
31973 (HWCAP_X86_AVX512_1): Updated.
31974 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
31975 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
31976 (modules-names): Add x86_64/tst-x86_64mod-1.
31977 (LDFLAGS-tst-x86_64mod-1.so): New.
31978 ($(objpfx)tst-x86_64-1): Likewise.
31979 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
31980 (tst-x86_64-1-clean): Likewise.
31981 * sysdeps/x86_64/tst-x86_64-1.c: New file.
31982 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
31984 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31986 * po/sv.po: Update translations.
31987 * po/fr.po: Likewise.
31989 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31991 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
31993 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
31995 * elf/rtld-Rules: Fix $(error) use.
31997 2017-09-09 Mike FABIAN <mfabian@redhat.com>
32000 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
32001 * locale/iso-639.def: Change “Bengali” to “Bangla”.
32002 * localedata/locales/bn_BD: “Bengali” was still used in some
32003 comments. Change it to “Bangla”.
32005 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
32007 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
32009 2017-09-08 Steve Ellcey <sellcey@cavium.com>
32011 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
32012 thunderx2t99p1 to list of cpu names.
32013 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32014 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
32016 2017-09-08 Steve Ellcey <sellcey@cavium.com>
32018 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
32019 Use strcmp instead of tunable_is_name.
32021 2017-09-08 Joseph Myers <joseph@codesourcery.com>
32023 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32024 (F_GET_RW_HINT): New macro.
32025 [__USE_GNU] (F_SET_RW_HINT): Likewise.
32026 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
32027 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
32028 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
32029 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
32030 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
32031 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
32032 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
32033 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
32035 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32036 (F_ADD_SEALS): New macro.
32037 [__USE_GNU] (F_GET_SEALS): Likewise.
32038 [__USE_GNU] (F_SEAL_SEAL): Likewise.
32039 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
32040 [__USE_GNU] (F_SEAL_GROW): Likewise.
32041 [__USE_GNU] (F_SEAL_WRITE): Likewise.
32043 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32045 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
32046 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
32047 * posix/glob_internal.h (__glob_pattern_type):
32048 * posix/glob.c (glob):
32049 * posix/glob_pattern_p.c (__glob_pattern_p):
32052 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
32053 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32054 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
32055 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
32056 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
32058 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
32059 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
32060 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32061 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32062 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32063 * sysdeps/wordsize-64/glob.c: Likewise.
32064 * sysdeps/wordsize-64/glob64.c: Likewise.
32065 * sysdeps/wordsize-64/globfree.c: Likewise.
32066 * sysdeps/wordsize-64/globfree64.c: Likewise.
32067 * sysdeps/unix/sysv/linux/glob.c: New file.
32068 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
32069 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
32070 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
32071 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32072 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
32073 adds !GLOB_NO_OLD_VERSION as an extra condition.
32074 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
32075 using relative path instead of absolute one.
32076 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
32077 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32078 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32079 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
32080 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
32081 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
32084 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
32085 (glob): Use the same scratch buffer for both getlogin_r and
32086 getpwnam_r. Don’t require preallocation of the login name. This
32087 simplifies storage allocation, and corrects the handling of
32091 * posix/glob.c (glob): Port recent patches to platforms
32092 lacking getpwnam_r.
32093 (glob): Fix longstanding misuse of errno after getpwnam_r, which
32094 returns an error number rather than setting errno.
32096 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
32097 instead of GCC extension.
32098 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
32099 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
32100 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
32104 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
32105 * posix/bug-glob1.c: Remove file.
32106 * posix/tst-glob_symlinks.c: New file.
32107 * posix/glob.c (__lstat64): New macro.
32108 (is_dir): New function.
32109 (glob, glob_in_dir): Match symlinks even if they are dangling.
32110 (link_stat, link_exists_p): Remove. All uses removed.
32114 * posix/glob.c (struct readdir_result): Remove skip_entry member.
32115 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
32120 * posix/Makefile (routines): Add globfree, globfree64, and
32122 * posix/flexmember.h: New file.
32123 * posix/glob_internal.h: Likewise.
32124 * posix/glob_pattern_p.c: Likewise.
32125 * posix/globfree.c: Likewise.
32126 * posix/globfree64.c: Likewise.
32127 * sysdeps/gnu/globfree64.c: Likewise.
32128 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
32129 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32130 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
32131 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32132 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32133 * sysdeps/wordsize-64/globfree.c: Likewise.
32134 * sysdeps/wordsize-64/globfree64.c: Likewise.
32135 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
32136 [NDEBUG): Remove comments.
32137 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
32138 (dirent_type): New type. Use uint_fast8_t not
32139 uint8_t, as C99 does not require uint8_t.
32140 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
32141 (struct readdir_result): Use dirent_type. Do not define skip_entry
32142 unless it is needed; this saves a byte on platforms lacking d_ino.
32143 (readdir_result_type, readdir_result_skip_entry):
32144 New functions, replacing ...
32145 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
32146 these functions, which were removed. This makes the callers
32147 easier to read. All callers changed.
32148 (D_INO_TO_RESULT): Now empty if there is no d_ino.
32149 (size_add_wrapv, glob_use_alloca): New static functions.
32150 (glob, glob_in_dir): Check for size_t overflow in several places,
32151 and fix some size_t checks that were not quite right.
32152 Remove old code using SHELL since Bash no longer
32154 (glob, prefix_array): Separate MS code better.
32155 (glob_in_dir): Remove old Amiga and VMS code.
32156 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
32158 (glob_in_dir): Do not rely on undefined behavior in accessing
32159 struct members beyond their bounds. Use a flexible array member
32161 (link_stat): Rename from link_exists2_p and return -1/0 instead of
32162 0/1. Caller changed.
32163 (glob): Fix memory leaks.
32164 * posix/glob64 (globfree64): Move to separate file.
32165 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
32166 (globfree64): Remove hidden alias.
32167 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
32169 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
32171 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
32173 Move compat code to separate file.
32174 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
32177 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
32179 * resolv/tst-resolv-qtypes.c (domain): Changed to
32180 "const char domain[] =".
32182 2017-09-07 Joseph Myers <joseph@codesourcery.com>
32184 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
32187 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
32188 (TCP_MD5SIG_EXT): Likewise.
32189 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
32190 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
32191 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
32193 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
32195 2017-09-07 Mike FABIAN <mfabian@redhat.com>
32197 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
32199 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
32202 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
32204 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
32206 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
32207 before assuming that the file is empty. Avoid testing buffer content
32210 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32213 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32215 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
32217 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
32219 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
32221 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32223 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
32225 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
32228 2017-09-06 Florian Weimer <fweimer@redhat.com>
32230 * malloc/dynarray_emplace_enlarge.c
32231 (__libc_dynarray_emplace_enlarge): Add missing else.
32233 2017-09-06 Florian Weimer <fweimer@redhat.com>
32236 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
32237 case of failure to obtain the global conf object.
32239 2017-09-06 Florian Weimer <fweimer@redhat.com>
32242 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
32243 dynarray allocation failure.
32245 2017-09-06 Florian Weimer <fweimer@redhat.com>
32247 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
32248 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
32249 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
32251 (response): Call them. Add 'p', '6' flag processing.
32252 (test_reverse): New function.
32253 (test_get2_any): Call it.
32254 (test_no_inet6): Add 'p' test.
32255 (test_inet6): Likewise.
32257 2017-09-06 Florian Weimer <fweimer@redhat.com>
32259 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
32260 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
32262 (test_gai): Adjust query names. Add additional tests.
32263 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
32264 test_get2. Adjust query names. Add additional tests.
32265 (test_no_inet6): New function, extracted from threadfunc.
32266 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
32267 Add additional tests.
32269 2017-09-06 Mike FABIAN <mfabian@redhat.com>
32272 * localedata/unicode-gen/utf8_gen.py: Set the width for
32273 characters with Prepended_Concatenation_Mark property to 1
32274 * localedata/charmaps/UTF-8: Updated using the improved script.
32276 2017-09-06 Mike FABIAN <mfabian@redhat.com>
32279 * localedata/unicode-gen/utf8_gen.py: Improve the script to
32280 use the range notation for all ranges of neighbouring characters
32281 with the same width.
32283 2017-09-05 Joseph Myers <joseph@codesourcery.com>
32285 * sysdeps/generic/math-type-macros-double.h: Include
32286 <math-svid-compat.h>.
32287 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32288 * sysdeps/generic/math-type-macros-float.h: Include
32289 <math-svid-compat.h>.
32290 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32291 * sysdeps/generic/math-type-macros-ldouble.h: Include
32292 <math-svid-compat.h>.
32293 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32294 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
32296 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
32297 * math/w_acosf_compat.c: Likewise.
32298 * math/w_acosh_compat.c: Likewise.
32299 * math/w_acoshf_compat.c: Likewise.
32300 * math/w_acoshl_compat.c: Likewise.
32301 * math/w_acosl_compat.c: Likewise.
32302 * math/w_asin_compat.c: Likewise.
32303 * math/w_asinf_compat.c: Likewise.
32304 * math/w_asinl_compat.c: Likewise.
32305 * math/w_atan2_compat.c: Likewise.
32306 * math/w_atan2f_compat.c: Likewise.
32307 * math/w_atan2l_compat.c: Likewise.
32308 * math/w_atanh_compat.c: Likewise.
32309 * math/w_atanhf_compat.c: Likewise.
32310 * math/w_atanhl_compat.c: Likewise.
32311 * math/w_cosh_compat.c: Likewise.
32312 * math/w_coshf_compat.c: Likewise.
32313 * math/w_coshl_compat.c: Likewise.
32314 * math/w_exp10_compat.c: Likewise.
32315 * math/w_exp10f_compat.c: Likewise.
32316 * math/w_exp10l_compat.c: Likewise.
32317 * math/w_exp2_compat.c: Likewise.
32318 * math/w_exp2f_compat.c: Likewise.
32319 * math/w_exp2l_compat.c: Likewise.
32320 * math/w_fmod_compat.c: Likewise.
32321 * math/w_fmodf_compat.c: Likewise.
32322 * math/w_fmodl_compat.c: Likewise.
32323 * math/w_hypot_compat.c: Likewise.
32324 * math/w_hypotf_compat.c: Likewise.
32325 * math/w_hypotl_compat.c: Likewise.
32326 * math/w_j0_compat.c: Likewise.
32327 * math/w_j0f_compat.c: Likewise.
32328 * math/w_j0l_compat.c: Likewise.
32329 * math/w_j1_compat.c: Likewise.
32330 * math/w_j1f_compat.c: Likewise.
32331 * math/w_j1l_compat.c: Likewise.
32332 * math/w_jn_compat.c: Likewise.
32333 * math/w_jnf_compat.c: Likewise.
32334 * math/w_jnl_compat.c: Likewise.
32335 * math/w_lgamma_r_compat.c: Likewise.
32336 * math/w_lgammaf_r_compat.c: Likewise.
32337 * math/w_lgammal_r_compat.c: Likewise.
32338 * math/w_log10_compat.c: Likewise.
32339 * math/w_log10f_compat.c: Likewise.
32340 * math/w_log10l_compat.c: Likewise.
32341 * math/w_log2_compat.c: Likewise.
32342 * math/w_log2f_compat.c: Likewise.
32343 * math/w_log2l_compat.c: Likewise.
32344 * math/w_log_compat.c: Likewise.
32345 * math/w_logf_compat.c: Likewise.
32346 * math/w_logl_compat.c: Likewise.
32347 * math/w_pow_compat.c: Likewise.
32348 * math/w_powf_compat.c: Likewise.
32349 * math/w_powl_compat.c: Likewise.
32350 * math/w_remainder_compat.c: Likewise.
32351 * math/w_remainderf_compat.c: Likewise.
32352 * math/w_remainderl_compat.c: Likewise.
32353 * math/w_sinh_compat.c: Likewise.
32354 * math/w_sinhf_compat.c: Likewise.
32355 * math/w_sinhl_compat.c: Likewise.
32356 * math/w_sqrt_compat.c: Likewise.
32357 * math/w_sqrtf_compat.c: Likewise.
32358 * math/w_sqrtl_compat.c: Likewise.
32359 * math/w_tgamma_compat.c: Likewise.
32360 * math/w_tgammaf_compat.c: Likewise.
32361 * math/w_tgammal_compat.c: Likewise.
32362 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
32363 [LIBM_SVID_COMPAT].
32364 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
32365 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
32366 [LIBM_SVID_COMPAT].
32367 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
32368 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
32369 [LIBM_SVID_COMPAT].
32370 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
32371 * sysdeps/i386/fpu/w_sqrt.c: New file.
32372 * sysdeps/ia64/fpu/w_acos.c: Likewise.
32373 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
32374 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
32375 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
32376 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
32377 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
32378 * sysdeps/ia64/fpu/w_asin.c: Likewise.
32379 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
32380 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
32381 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
32382 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
32383 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
32384 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
32385 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
32386 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
32387 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
32388 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
32389 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
32390 * sysdeps/ia64/fpu/w_exp.c: Likewise.
32391 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
32392 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
32393 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
32394 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
32395 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
32396 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
32397 * sysdeps/ia64/fpu/w_expf.c: Likewise.
32398 * sysdeps/ia64/fpu/w_expl.c: Likewise.
32399 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
32400 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
32401 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
32402 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
32403 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
32404 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
32405 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
32406 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
32407 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
32408 * sysdeps/ia64/fpu/w_log.c: Likewise.
32409 * sysdeps/ia64/fpu/w_log10.c: Likewise.
32410 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
32411 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
32412 * sysdeps/ia64/fpu/w_log2.c: Likewise.
32413 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
32414 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
32415 * sysdeps/ia64/fpu/w_logf.c: Likewise.
32416 * sysdeps/ia64/fpu/w_logl.c: Likewise.
32417 * sysdeps/ia64/fpu/w_pow.c: Likewise.
32418 * sysdeps/ia64/fpu/w_powf.c: Likewise.
32419 * sysdeps/ia64/fpu/w_powl.c: Likewise.
32420 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
32421 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
32422 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
32423 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
32424 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
32425 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
32426 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
32427 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
32428 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
32429 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
32430 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
32431 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
32432 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
32433 [LIBM_SVID_COMPAT].
32434 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32435 * sysdeps/ieee754/k_standard.c: Likewise.
32436 * sysdeps/ieee754/k_standardf.c: Likewise.
32437 * sysdeps/ieee754/k_standardl.c: Likewise.
32438 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32439 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32440 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32441 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
32442 long_double_symbol call on [LIBM_SVID_COMPAT].
32443 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32444 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32445 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32446 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32447 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32448 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32449 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32450 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32451 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32452 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32453 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32454 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
32455 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32456 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32457 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32458 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32459 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
32460 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32461 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32462 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32463 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
32464 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
32466 2017-09-05 Steve Ellcey <sellcey@cavium.com>
32468 * include/shlib-compat.h (TEST_COMPAT): New Macro.
32469 * malloc/tst-mallocstate.c: Convert from test-skeleton
32470 to test-driver. Ifdef code using TEST_COMPAT macro.
32471 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
32472 * math/test-matherr.c: Likewise.
32474 2017-09-05 Joseph Myers <joseph@codesourcery.com>
32477 * debug/pcprofiledump.c (main): Use byte-swapped mask when
32478 comparing word with byte-swapped constant.
32480 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
32483 * locale/iso-639.def: add Miskito.
32484 * localedata/SUPPORTED: Add miq_NI/UTF-8.
32485 * localedata/locales/miq_NI: New file.
32487 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
32490 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
32491 (__mkdir): Likewise.
32492 * io/chmod.c (__chmod): Add libc_hidden_def.
32493 * io/mkdir.c (__mkdir): Likewise.
32494 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
32495 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
32496 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
32497 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
32499 2017-09-04 Joseph Myers <joseph@codesourcery.com>
32501 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
32505 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
32506 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
32508 2017-09-04 Florian Weimer <fweimer@redhat.com>
32510 * math/math.h: Issue warning if log is defined.
32512 2017-09-04 Joseph Myers <joseph@codesourcery.com>
32514 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
32515 kernel version to 4.13.
32517 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
32519 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
32520 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
32522 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
32523 just <bits/types.h>.
32524 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
32525 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
32526 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
32527 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
32528 * misc/preadv2.c: Include <errno.h>.
32529 * misc/preadv64v2.c: Include <errno.h>.
32530 * misc/pwritev2.c: Include <errno.h>.
32531 * misc/pwritev64v2.c: Include <errno.h>.
32532 * sysdeps/posix/preadv2.c: Include <errno.h>.
32533 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
32534 Fix <unistd.h> inclusion.
32535 * sysdeps/posix/pwritev2.c: Include <errno.h>.
32536 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
32537 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
32538 __strtoul_internal): New functions.
32539 * sysdeps/posix/pause.c: Include <sigsetops.h>.
32540 * sysdeps/posix/system.c: Include <sigsetops.h>.
32541 * sysdeps/mach/hurd/i386/Makefile
32542 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
32543 [$(subdir) = csu] (sysdep-only-routines): Likewise.
32544 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
32545 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
32546 __feraiseexcept_renamed to feraiseexcept instead of
32547 __GI_feraiseexcept.
32548 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
32549 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
32550 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
32551 RWF_NOWAIT): Define to 0 if undefined already.
32552 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
32554 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
32555 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
32557 2017-09-01 Joseph Myers <joseph@codesourcery.com>
32559 * manual/math.texi (pow10): Do not document.
32560 (pow10f): Likewise.
32561 (pow10l): Likewise.
32562 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
32563 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
32564 * math/libm-test-exp10.inc (pow10_test): Remove.
32565 (do_test): Do not call pow10.
32566 * math/w_exp10_compat.c (pow10): Make into compat symbol.
32567 [NO_LONG_DOUBLE] (pow10l): Likewise.
32568 * math/w_exp10f_compat.c (pow10f): Likewise.
32569 * math/w_exp10l_compat.c (pow10l): Likewise.
32570 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
32571 (pow10): Make into compat symbol.
32572 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
32573 (pow10f): Make into compat symbol.
32574 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
32575 (pow10l): Make into compat symbol.
32576 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
32578 (CFLAGS-nldbl-pow10.c): Remove variable..
32579 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
32580 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
32581 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
32582 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
32583 Undefine and redefine.
32584 (pow10l): Make into compat symbol.
32585 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
32586 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32587 * sysdeps/arm/libm-test-ulps: Likewise.
32588 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
32589 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32590 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
32591 * sysdeps/microblaze/libm-test-ulps: Likewise.
32592 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32593 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32594 * sysdeps/nios2/libm-test-ulps: Likewise.
32595 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32596 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32597 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32598 * sysdeps/sh/libm-test-ulps: Likewise.
32599 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32600 * sysdeps/tile/libm-test-ulps: Likewise.
32601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32603 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32605 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
32607 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32609 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
32610 "../ChangeLog.old/ChangeLog.8".
32611 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
32612 "../ChangeLog.old/ChangeLog.14".
32614 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32616 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
32619 2017-09-01 Joseph Myers <joseph@codesourcery.com>
32621 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
32623 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32625 * csu/version.c (banner): Remove "by Roland McGrath et al.".
32626 * nptl/Banner: Remove "by Ulrich Drepper et al.".
32628 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32630 * stdlib/tst-atexit-common.c (do_test): Test support for at least
32631 32 atexit handlers.
32633 2017-09-01 Zack Weinberg <zackw@panix.com>
32635 * math/math.h (HUGE_VAL): Improve commentary.
32637 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32638 Andreas Schwab <schwab@suse.de>
32641 * include/stdio.h (__gen_tempfd): New function.
32642 * stdio-common/Makefile (routines): Add gentempfd.
32643 * stdio-common/gentempfd.c: New file.
32644 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
32645 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
32646 unnamed file first.
32648 2017-09-01 Florian Weimer <fweimer@redhat.com>
32652 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
32653 result to determine success or failure, not the errno value.
32654 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
32655 (tst-nss-files-hosts-erange): Link with -ldl.
32656 * nss/tst-nss-files-hosts-erange.c: New file.
32657 * nss/tst-resolv-basic.c (response): Handle nodata.example.
32658 (do_test): Add NO_DATA tests.
32659 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
32660 (do_test): Call it.
32662 2017-09-01 Florian Weimer <fweimer@redhat.com>
32665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
32666 coming from gethostbyname2_r.
32668 2017-09-01 Florian Weimer <fweimer@redhat.com>
32670 * support/namespace.h (struct support_chroot_configuration): Add
32672 (struct support_chroot): Add path_hosts, path_host_conf.
32673 * support/support_chroot.c (write_file): New function.
32674 (support_chroot_create): Call it to process /etc/resolv.conf,
32675 /etc/hosts, /etc/host.conf.
32676 (support_chroot_free): Update.
32678 2017-09-01 Florian Weimer <fweimer@redhat.com>
32680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
32681 status indicates it is set.
32683 2017-09-01 Florian Weimer <fweimer@redhat.com>
32686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
32687 function lookup failures more reliable.
32689 2017-09-01 Florian Weimer <fweimer@redhat.com>
32691 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
32692 (getcanonname): Likewise.
32693 (gaih_inet): Likewise.
32695 2017-09-01 Florian Weimer <fweimer@redhat.com>
32697 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
32698 (getcanonname): Likewise.
32699 (gaih_inet): Likewise.
32701 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32702 Richard Henderson <rth@twiddle.net>
32704 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
32705 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
32706 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
32707 (IREG_SIZE, OREG_SIZE): New macros.
32708 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
32709 (IREG_SIZE, OREG_SIZE): New macros.
32710 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
32711 (IREG_SIZE): New macro.
32712 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
32713 (IREG_SIZE): New macro.
32714 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
32716 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
32717 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32718 (__CONCATX): Handle exceptions correctly on large values that may
32720 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
32721 Initialize if not already set.
32722 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32724 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32726 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
32727 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
32729 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
32731 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
32733 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
32735 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
32737 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
32739 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
32741 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
32742 (NO_CANCELLATION): Likewise.
32743 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
32745 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
32747 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
32749 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
32750 (NO_CANCELLATION): Likewise.
32751 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
32752 (NO_CANCELLATION): Likewise.
32753 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
32755 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
32757 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
32759 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
32761 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
32763 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
32764 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
32766 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32768 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
32771 2017-08-31 Florian Weimer <fweimer@redhat.com>
32773 * include/libc-symbols.h (internal_function): Remove.
32775 2017-08-31 Florian Weimer <fweimer@redhat.com>
32777 * stdlib/fmtmsg.c (internal_addseverity): Remove
32780 2017-08-31 Florian Weimer <fweimer@redhat.com>
32782 * stdio-common/printf_fp.c (group_number): Remove
32784 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
32786 2017-08-31 Florian Weimer <fweimer@redhat.com>
32788 * posix/fnmatch.c (internal_function): Remove definition.
32789 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
32790 * posix/regcomp.c (peek_token, init_word_char)
32791 (duplicate_node_closure, fetch_token, peek_token)
32792 (peek_token_bracket, build_range_exp, build_collating_symbol):
32794 * posix/regex_internal.c (re_string_construct_common)
32795 (create_ci_newstate, create_cd_newstate, re_string_allocate)
32796 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
32797 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
32798 (re_string_translate_buffer, re_string_reconstruct)
32799 (re_string_peek_byte_case, re_string_fetch_byte_case)
32800 (re_string_destruct, re_string_context_at, re_node_set_alloc)
32801 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
32802 (re_node_set_add_intersect, re_node_set_init_union)
32803 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
32804 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
32805 (re_dfa_add_node, calc_state_hash, re_acquire_state)
32806 (re_acquire_state_context): Likewise.
32807 * posix/regex_internal.h (internal_function): Remove definition.
32808 (re_string_realloc_buffers, build_wcs_buffer)
32809 (build_wcs_upper_buffer, build_upper_buffer)
32810 (re_string_translate_buffer, re_string_context_at)
32811 (re_string_char_size_at, re_string_wchar_at)
32812 (re_string_elem_size_at): Likewise.
32813 * posix/regexec.c (match_ctx_init, match_ctx_clean)
32814 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
32815 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
32816 (re_search_internal, re_search_2_stub, re_search_stub)
32817 (re_copy_regs, prune_impossible_nodes, check_matching)
32818 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
32819 (free_fail_stack_return, sift_states_iter_mb)
32820 (sift_states_backward, build_sifted_states)
32821 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
32822 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
32823 (check_subexp_limits, sift_states_bkref, merge_state_array)
32824 (find_recover_state, transit_state, merge_state_with_log)
32825 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
32826 (transit_state_mb, transit_state_bkref, get_subexp)
32827 (get_subexp_sub, find_subexp_node, check_arrival)
32828 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
32829 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
32830 (check_node_accept_bytes, find_collation_sequence_value)
32831 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
32832 (acquire_init_state_context, check_halt_node_context)
32833 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
32834 (sub_epsilon_src_nodes): Likewise.
32835 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
32836 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
32837 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
32838 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
32839 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
32840 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
32841 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
32842 * sysdeps/posix/ttyname.c (getttyname): Likewise.
32843 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
32844 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
32845 (PREADV): Likewise.
32846 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
32847 (PREADV): Likewise.
32848 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
32849 (PWRITEV): Likewise.
32850 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
32851 (PWRITEV): Likewise.
32852 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
32853 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
32855 2017-08-31 Florian Weimer <fweimer@redhat.com>
32857 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
32858 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
32859 Remove internal_function.
32860 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32861 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
32862 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
32863 (__deallocate_stack, __libc_pthread_init)
32864 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
32865 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
32866 (__libc_disable_asynccancel, __librt_disable_asynccancel):
32868 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
32869 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
32870 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
32872 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
32873 (__pthread_mutex_unlock_usercnt): Likewise.
32875 2017-08-31 Florian Weimer <fweimer@redhat.com>
32877 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
32878 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
32879 (fts_safe_changedir): Remove internal_function.
32880 * io/ftw.c (internal_function): Remove definition.
32881 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
32883 2017-08-31 Florian Weimer <fweimer@redhat.com>
32885 * inet/deadline.c (__deadline_current_time)
32886 (__deadline_from_timeval, __deadline_to_ms): Remove
32888 * inet/getnameinfo.c (nrl_domainname): Likewise.
32889 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
32890 * inet/inet6_option.c (add_pad): Likewise.
32891 * inet/net-internal.h (__deadline_current_time)
32892 (__deadline_from_timeval, __deadline_to_ms): Likewise.
32893 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
32894 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
32895 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
32897 2017-08-31 Joseph Myers <joseph@codesourcery.com>
32899 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
32900 include <bits/nan.h>.
32901 * math/Makefile (headers): Remove bits/nan.h.
32902 * bits/nan.h: Remove.
32903 * sysdeps/ieee754/bits/nan.h: Likewise.
32904 * sysdeps/mips/bits/nan.h: Likewise.
32906 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
32907 not include <bits/inf.h>.
32908 * math/Makefile (headers): Remove bits/inf.h.
32909 * bits/inf.h: Remove.
32910 * sysdeps/ieee754/bits/inf.h: Likewise.
32912 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
32913 bits/huge_vall.h or bits/huge_val_flt128.h.
32914 (HUGE_VAL): Define directly here.
32915 [__USE_ISOC99] (HUGE_VALF): Likewise.
32916 [__USE_ISOC99] (HUGE_VALL): Likewise.
32917 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32918 (HUGE_VAL_F128): Likewise.
32919 * math/Makefile (headers): Remove bits/huge_val.h,
32920 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
32921 * bits/huge_val.h: Remove.
32922 * bits/huge_val_flt128.h: Likewise.
32923 * bits/huge_valf.h: Likewise.
32924 * bits/huge_vall.h: Likewise.
32925 * sysdeps/ia64/bits/huge_vall.h: Likewise.
32926 * sysdeps/ieee754/bits/huge_val.h: Likewise.
32927 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
32928 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
32929 * sysdeps/sh/bits/huge_val.h: Likewise.
32930 * sysdeps/sparc/bits/huge_vall.h: Likewise.
32931 * sysdeps/x86/bits/huge_vall.h: Likewise.
32933 2017-08-31 Florian Weimer <fweimer@redhat.com>
32935 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
32937 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
32939 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
32940 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32941 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
32942 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
32943 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32944 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32945 * elf/dl-libc.c (dlerror_run): Likewise.
32946 * elf/dl-load.c (add_name_to_object, decompose_rpath)
32947 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
32948 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
32949 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
32951 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
32952 (_dl_higher_prime_number, _dl_strtoul): Likewise.
32953 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
32954 * elf/dl-profile.c (_dl_start_profile): Likewise.
32955 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
32956 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
32958 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
32959 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
32960 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
32961 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
32962 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
32963 (_dl_allocate_tls_storage): Likewise.
32964 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
32965 (_dl_check_all_versions): Likewise.
32966 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
32967 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
32968 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
32969 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32970 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
32971 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
32972 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
32973 internal_function from __dl_start.
32974 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
32975 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
32976 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
32977 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
32978 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
32979 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
32980 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
32981 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
32982 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
32983 (_dl_next_ld_env_entry, _dl_important_hwcaps)
32984 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
32985 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
32986 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
32987 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
32988 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
32990 (struct rtld_global_ro): Remove internal_function from the
32991 _dl_lookup_symbol_x member.
32992 (_dl_symbol_value): Remove. No longer defined anywhere.
32993 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
32995 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32996 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32997 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
32998 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
32999 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
33000 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
33001 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
33002 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
33003 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
33004 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
33005 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33006 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33008 2017-08-31 Florian Weimer <fweimer@redhat.com>
33010 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
33011 Remove internal_function.
33012 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33014 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33017 2017-08-31 Florian Weimer <fweimer@redhat.com>
33019 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
33020 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
33021 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
33023 2017-08-31 Florian Weimer <fweimer@redhat.com>
33025 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
33026 (__gai_enqueue_request): Remove internal_function.
33027 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
33028 (__gai_remove_request, __gai_notify, __gai_notify_only)
33029 (__gai_sigqueue): Likewise.
33030 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
33031 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
33032 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
33033 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33036 2017-08-31 Florian Weimer <fweimer@redhat.com>
33038 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
33039 * include/dirent.h (__opendirat, __getdents, __getdents64)
33040 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
33041 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
33042 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33043 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
33045 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
33047 2017-08-31 Florian Weimer <fweimer@redhat.com>
33049 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
33051 (GETCWD_RETURN_TYPE): Likewise.
33053 2017-08-31 Florian Weimer <fweimer@redhat.com>
33055 * include/time.h (__tz_compute, __strptime_internal): Remove
33057 * time/strptime_l.c (__strptime_internal): Likewise.
33058 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
33060 2017-08-31 Florian Weimer <fweimer@redhat.com>
33062 * iconv/gconv.c (__gconv): Remove internal_function.
33063 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
33064 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
33065 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
33066 (__gconv_release_cache): Likewise.
33067 * iconv/gconv_close.c (__gconv_close): Likewise.
33068 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
33069 (read_conf_file, __gconv_get_path): Likewise.
33070 * iconv/gconv_db.c (derivation_lookup, add_derivation)
33071 (__gconv_release_step, gen_steps, increment_counter)
33072 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
33073 (__gconv_close_transform, free_modules_db): Likewise.
33074 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
33076 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
33077 (__gconv_find_transform, __gconv_lookup_cache)
33078 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
33079 (__gconv_close_transform, __gconv_release_cache)
33080 (__gconv_loaded_object, __gconv_release_shlib)
33081 (__gconv_compare_alias): Likewise.
33082 * iconv/gconv_open.c (__gconv_open): Likewise.
33083 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
33084 * iconv/iconvconfig.c (add_module): Likewise.
33085 * intl/dcigettext.c (plural_lookup, guess_category_value)
33086 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
33087 * intl/eval-plural.h (plural_eval): Likewise.
33088 * intl/finddomain.c (_nl_find_domain): Likewise.
33089 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
33090 (_nl_load_domain, _nl_find_msg): Likewise.
33091 (internal_function): Remove definition.
33092 * intl/loadinfo.h (internal_function): Likewise.
33093 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
33095 * intl/localealias.c (internal_function): Remove definition.
33096 (read_alias_file): Remove internal_function.
33097 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
33098 * intl/plural-exp.h (internal_function): Remove definition.
33099 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
33101 * intl/plural.c: Regenerate.
33102 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
33103 * locale/coll-lookup.c (__collidx_table_lookup)
33104 (__collseq_table_lookup): Likewise.
33105 * locale/coll-lookup.h (__collidx_table_lookup)
33106 (__collseq_table_lookup): Likewise.
33107 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
33108 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33109 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
33110 (_nl_unload_locale): Likewise.
33111 * locale/localeinfo.h (struct __locale_data): Remove
33112 internal_function from cleanup member.
33113 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
33114 (_nl_remove_locale, _nl_load_locale_from_archive)
33115 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
33116 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
33117 (_nl_cleanup_time): Remove internal_function.
33118 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
33119 (_nl_parse_alt_digit): Likewise.
33120 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
33121 (_nl_select_era_entry): Likewise.
33122 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
33123 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33124 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
33125 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33126 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
33128 2017-08-31 Florian Weimer <fweimer@redhat.com>
33130 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
33131 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
33132 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
33133 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
33135 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
33136 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
33137 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
33138 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33140 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
33142 2017-08-31 Florian Weimer <fweimer@redhat.com>
33144 * misc/getttyent.c (skip, value): Remove internal_function.
33145 * misc/syslog.c (openlog_internal): Likewise.
33146 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
33148 2017-08-31 Florian Weimer <fweimer@redhat.com>
33150 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
33151 (__nss_rewrite_field): Remove internal_function.
33152 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33153 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33154 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33155 * nss/nsswitch.c (nss_parse_file, nss_getline)
33156 (nss_parse_service_list, nss_new_service): Likewise.
33157 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
33158 * nss/valid_field.c (__nss_valid_field): Likewise.
33159 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
33161 2017-08-31 Florian Weimer <fweimer@redhat.com>
33163 * malloc/arena.c (__malloc_fork_lock_parent)
33164 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
33165 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
33166 internal_function from defintions.
33167 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
33168 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
33169 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
33170 internal_function from declarations.
33171 * malloc/malloc.c (internal_function): Do not define.
33172 (mem2mem_check): Remove internal_function from declaration.
33173 (munmap_chunk, mremap_chunk): Remove internal_function.
33174 * malloc/mtrace.c (tr_where): Likewise.
33176 2017-08-31 Florian Weimer <fweimer@redhat.com>
33178 * include/rpc/pmap_clnt.h (__get_socket): Remove
33180 * sunrpc/auth_des.c (synchronize): Likewise.
33181 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
33182 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
33183 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
33184 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
33185 (key_call): Likewise.
33186 * sunrpc/pm_getport.c (__get_socket): Likewise.
33187 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
33188 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
33189 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
33190 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
33191 (invalidate): Likewise.
33192 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
33193 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
33194 (set_input_fragment, get_input_bytes): Likewise.
33196 2017-08-31 Florian Weimer <fweimer@redhat.com>
33198 * malloc/malloc.c (_int_free): Remove locked variable and related
33201 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
33204 * Makerules (build-module-helper-objlist): Filter out
33205 $(elf-objpfx)sofini.os.
33206 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
33209 2017-08-31 Florian Weimer <fweimer@redhat.com>
33211 * libio/fcloseall.c: Assume weak_alias is defined.
33212 * libio/feof.c: Likewise.
33213 * libio/fileno.c: Likewise.
33214 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
33215 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33217 (_IO_file_open): Call __open directly.
33218 (_IO_new_file_sync): Assume ESPIPE is defined.
33219 (_IO_file_seekoff_maybe_mmap): Call __read directly.
33220 (_IO_new_file_write): Call __write directly.
33221 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
33222 * libio/ftello64.c (__ftello64): Assume EIO is defined.
33223 * libio/genops.c: Assume _LIBC is defined.
33224 (save_for_backup): Remove internal_function.
33225 * libio/getc.c: Assume weak_alias is defined.
33226 * libio/getwc.c: Likewise.
33227 * libio/iofclose.c: Assume _LIBC is defined.
33228 * libio/iofdopen.c: Likewise.
33229 (_IO_fcntl): Remove macro definition.
33230 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
33231 Call __fcntl directly.
33232 * libio/iofflush.c: Assume weak_alias is defined.
33233 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
33235 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
33236 * libio/iofgets.c: Likewise.
33237 * libio/iofopen.c: Assume _LIBC is defined.
33238 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
33239 * libio/iofputs.c: Assume weak_alias is defined.
33240 * libio/iofread.c: Likewise.
33241 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
33242 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
33243 * libio/ioftell.c: Assume weak_alias is defined.
33244 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
33245 * libio/iofwide.c: Assume _LIBC is defined.
33246 (_IO_fwide): Drop SHARED conditional because it is implied by
33248 * libio/iofwrite.c: Assume weak_alias is defined.
33249 * libio/iogetdelim.c: Likewise.
33250 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
33251 * libio/iogetwline.c (wmemcpy): Remove macro definition.
33252 (_IO_getwline): Call __wmemcpy directly.
33253 * libio/iopopen.c: Assume _LIBC is defined.
33254 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33255 (_IO_close): Remove macro definitions.
33256 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
33258 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
33260 * libio/ioputs.c: Assume weak_alias is defined.
33261 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
33262 * libio/iosetbuffer.c: Assume weak_alias is defined.
33263 * libio/iosetvbuf.c: Likewise.
33264 * libio/ioungetc.c: Likewise.
33265 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
33266 libc_hidden_def, libc_hidden_weak, NULL are defined.
33267 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
33268 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
33270 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33272 (_IO_old_file_init_internal): Drop SHARED conditional because it
33273 is implied by SHLIB_COMPAT.
33274 (_IO_old_file_fopen): Call __open directly.
33275 (_IO_old_file_sync): Assume ESPIPE is defined.
33276 (_IO_old_file_write): Call __write directly.
33277 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
33278 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
33279 Call __fcntl directly.
33280 * libio/oldiofgetpos.c: Assume weak_alias is defined.
33281 (_IO_old_fgetpos): Assume EIO is defined.
33282 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
33283 (_IO_old_fgetpos64): Assume EIO is defined.
33284 * libio/oldiofsetpos.c: Assume weak_alias is defined.
33285 (_IO_old_fsetpos): Assume EIO is defined.
33286 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
33287 (_IO_old_fsetpos64): Assume EIO is defined.
33288 * libio/oldiopopen.c: Assume _LIBC is defined.
33289 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33290 (_IO_close): Remove macro definitions.
33291 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
33293 (_IO_old_proc_close): Call __close, __waitpid directly.
33294 * libio/put.c: Assume weak_alias is defined.
33295 * libio/stdfiles.c: Assume _LIBC is defined.
33296 * libio/stdio.c: Likewise.
33297 * libio/wfileops.c: Likewise.
33298 (_IO_wfile_sync): Assume ESPIPE is defined.
33299 * libio/wgenops.c: Assume _LIBC is defined.
33300 (save_for_wbackup): Remove internal_function.
33302 2017-08-31 Florian Weimer <fweimer@redhat.com>
33304 * malloc/malloc.c (top_check): Change return type to void. Remove
33306 * malloc/hooks.c (top_check): Likewise.
33307 (malloc_check, realloc_check, memalign_check): Adjust.
33309 2017-08-30 Joseph Myers <joseph@codesourcery.com>
33312 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33313 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
33314 sigcontext and namespace requirements.
33315 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33316 * sysdeps/m68k/sys/ucontext.h: Likewise.
33317 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
33318 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
33319 <bits/sigcontext.h>.
33320 (__ctx): Define earlier.
33321 (mcontext_t): Define structure contents rather than using struct
33323 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
33324 __glibc_reserved1 instead of __reserved.
33325 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
33326 <bits/sigcontext.h>.
33327 (__ctx): Define earlier.
33328 (mcontext_t): Define structure contents rather than using struct
33330 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
33331 mcontext_t instead of struct sigcontext.
33332 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
33333 <bits/sigcontext.h>.
33334 (__ctx): Define earlier.
33335 (mcontext_t): Define structure contents rather than using struct
33337 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
33338 <bits/sigcontext.h>.
33339 (__ctx): Define earlier.
33340 (mcontext_t): Define structure contents rather than using struct
33342 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
33343 mcontext_t instead of struct sigcontext.
33344 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
33345 mcontext_t instead of struct sigcontext.
33346 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
33347 <bits/sigcontext.h>.
33348 (__ctx): New macro.
33349 (struct __ia64_fpreg_mcontext): New type.
33350 (mcontext_t): Define structure contents rather than using struct
33352 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
33353 (uc_sigmask): Define using __ctx.
33354 (uc_stack): Likewise.
33355 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
33356 <bits/sigcontext.h>.
33357 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33358 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
33359 <bits/sigcontext.h>.
33360 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
33361 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
33362 <bits/sigcontext.h>.
33363 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
33364 <bits/sigcontext.h>.
33365 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
33366 <bits/sigcontext.h>.
33367 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
33368 <bits/sigcontext.h>.
33369 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
33370 <bits/sigcontext.h>.
33371 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
33372 <bits/sigcontext.h>.
33373 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
33374 <bits/sigcontext.h>.
33375 (__ctx): Define earlier.
33376 (mcontext_t): Define structure contents rather than using struct
33378 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
33379 <bits/sigcontext.h>. Include <bits/types.h>.
33380 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
33381 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
33382 (test-xfail-XPG42/ucontext.h/conform): Likewise.
33383 (test-xfail-UNIX98/signal.h/conform): Likewise.
33384 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33385 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33386 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33387 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33388 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33389 (test-xfail-POSIX2008/signal.h/conform): Likewise.
33390 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33391 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33392 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33394 2017-08-30 Florian Weimer <fweimer@redhat.com>
33396 * malloc/dynarray_emplace_enlarge.c
33397 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
33398 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
33399 * malloc/tst-dynarray.c (test_long_overflow): New function.
33400 (do_test): Call it.
33402 2017-08-30 Florian Weimer <fweimer@redhat.com>
33404 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
33405 (set_arena_corrupt): Remove definitions.
33406 (mtrim): Do not check for corrupt arena.
33407 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
33410 2017-08-30 Florian Weimer <fweimer@redhat.com>
33413 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
33415 (ptmalloc_init): Do not set or use check_action.
33416 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
33417 call to malloc_printerr. Remove return statement.
33418 (free_check): Likewise. Remove arena unlock.
33419 (top_check): Update comment. Adjust call to malloc_printerr.
33420 Remove heap repair code.
33421 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
33422 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
33423 (sysmalloc): Adjust call to malloc_printerr.
33424 (munmap_chunk, __libc_realloc): Likewise. Remove return
33426 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
33427 Remove errout label and corresponding gotos.
33428 (_int_free): Likewise. Remove arena unlock.
33429 (do_set_mallopt_check): Do not set check_action.
33430 (malloc_printerr): Adjust parameter list. Do not mark arena as
33432 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
33434 * manual/probes.texi (Memory Allocation Probes): Remove
33435 memory_mallopt_check_action.
33437 2017-08-30 Steve Ellcey <sellcey@cavium.com>
33439 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
33440 Use pointer to uint64_t instead of long int for sp.
33442 2017-08-30 Florian Weimer <fweimer@redhat.com>
33445 * malloc/malloc.c (malloc_printerr): Always terminate the process,
33446 without printing a backtrace. Do not leak any information in the
33448 * manual/memory.texi (Heap Consistency Checking): Update.
33449 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
33451 2017-08-30 Florian Weimer <fweimer@redhat.com>
33453 Do not scale NPTL tests with available number of CPUs.
33454 * nptl/tst-cond16.c (count): Set to constant value of 8.
33455 * nptl/tst-cond18.c (count): Likewise.
33457 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33460 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
33461 Define to take a second argument that is a macro that
33462 concatentates a suffix, not the suffix itself.
33463 (__CONCAT_d): New macro.
33464 (__CONCAT_f): Likewise.
33465 (__CONCAT_l): Likewise.
33467 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
33469 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
33472 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33473 Aurelien Jarno <aurelien@aurel32.net>
33474 Maciej W. Rozycki <macro@imgtec.com>
33477 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
33478 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
33479 `mips16-syscall6' and `mips16-syscall7'.
33480 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
33481 (CFLAGS-mips16-syscall7.c): Remove.
33482 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
33483 Remove `__mips16_syscall5', `__mips16_syscall6' and
33484 `__mips16_syscall7'.
33485 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
33486 (__mips16_syscall0): Rename `__mips16_syscall_return' to
33487 `__mips_syscall_return'.
33488 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
33489 (__mips16_syscall1): Likewise.
33490 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
33491 (__mips16_syscall2): Likewise.
33492 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
33493 (__mips16_syscall3): Likewise.
33494 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
33495 (__mips16_syscall4): Likewise.
33496 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
33498 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
33500 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
33502 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
33503 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
33504 `__mips16_syscall5'. Remove prototype.
33505 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
33506 `__mips16_syscall6'. Remove prototype.
33507 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
33508 `__mips16_syscall7'. Remove prototype.
33509 (__nomips16, __mips16_syscall_return): Move to...
33510 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
33511 (__nomips16, __mips_syscall_return): ... here.
33512 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
33513 `__mips16_syscall_return' to `__mips_syscall_return'.
33514 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
33515 `internal_syscall##nr'.
33516 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
33517 `internal_syscall##nr'.
33518 (FORCE_FRAME_POINTER): Remove.
33519 (__mips_syscall5): New prototype.
33520 (internal_syscall5): Rewrite to call `__mips_syscall5'.
33521 (__mips_syscall6): New prototype.
33522 (internal_syscall6): Rewrite to call `__mips_syscall6'.
33523 (__mips_syscall7): New prototype.
33524 (internal_syscall7): Rewrite to call `__mips_syscall7'.
33525 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
33526 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
33527 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
33528 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
33529 (sysdep_routines): Add libc-do-syscall.
33530 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
33531 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
33533 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33536 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
33537 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
33538 (advise_stack_range): New function.
33539 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
33540 stack non required to advise_stack_range at allocatestack.c
33542 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33544 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
33546 2017-08-29 Florian Weimer <fweimer@redhat.com>
33549 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
33550 __end_fct. Mangle __end_fct after setting it to NULL.
33551 * iconv/Makefile (tests): Add tst-gconv-init-failure.
33552 (modules-names, modules-names-tests): Add
33553 tst-gconv-init-failure-mod.
33554 (gconv-modules): New target.
33555 (tst-gconv-init-failure-mod.so): Link against libsupport.
33556 (tst-gconv-init-failure): Depend on gconv-modules,
33557 tst-gconv-init-failure-mod.so.
33558 * iconv/tst-gconv-init-failure-mod.c: New file.
33559 * iconv/tst-gconv-init-failure.c: Likewise.
33560 * iconv/test-gconv-modules: Likewise.
33562 2017-08-29 Florian Weimer <fweimer@redhat.com>
33565 * iconv/gconv_db.c (free_derivation): Remove redundant
33567 (gen_steps): Unconditionally mangle __btowc_fct after
33569 (increment_counter): Likewise. Do not call init_fct for internal
33572 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33575 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33576 (_MSUF_): Remove macro.
33577 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
33579 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33580 (__REDIRFROM_X): New macro.
33581 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
33583 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
33584 (__REDIRTO_X): Likewise.
33585 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
33587 (__MATH_REDIRCALL_2): Likewise.
33588 (__MATH_REDIRCALL_INTERNAL): Likewise.
33589 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33590 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
33591 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
33592 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33593 * math/test-finite-macros.c: New file.
33594 * math/Makefile (tests): Add test-finite-macros.
33595 (CFLAGS-test-finite-macros.c): New variable.
33597 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
33598 Jeff Law <law@redhat.com>
33601 Mangle NULL pointers in iconv/gconv.
33602 * iconv/gconv_cache.c (find_module): Demangle init_fct before
33603 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
33604 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
33605 is non-NULL before demangling the end_fct. Check for NULL
33606 end_fct after demangling.
33607 (__gconv_release_step): Demangle the end_fct before checking
33608 it for NULL. Remove assert on __shlibc_handle != NULL.
33609 (gen_steps): Don't check btowc_fct for NULL before mangling.
33610 Demangle init_fct before checking for NULL.
33611 (increment_counter): Likewise.
33612 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
33613 end_fct for NULL before mangling.
33614 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
33617 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
33620 * locale/iso-639.def: add Morisyen.
33622 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33625 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
33626 (iszero): New C++ implementation that does not use
33627 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
33628 signaling nans are enabled, since __builtin_types_compatible_p
33629 is a C-only feature.
33630 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
33631 defined, include ieee754_float128.h for access to the union and
33632 member ieee854_float128.ieee.
33633 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
33634 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
33635 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33636 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
33637 options of test-math-zero on powerpc64le.
33639 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
33641 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
33642 Change double to float.
33644 2017-08-28 Joseph Myers <joseph@codesourcery.com>
33646 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
33648 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
33649 conditional code; define contents only for [LIBM_SVID_COMPAT].
33651 2017-08-28 Florian Weimer <fweimer@redhat.com>
33653 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
33654 (abi-lp64_be-options): Remove.
33655 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
33656 (abi-hard-options): Likewise.
33657 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
33658 (abi-o32_hard-options, abi-o32_soft_2008-options)
33659 (abi-o32_hard_2008-options, abi-n32_soft-options)
33660 (abi-n32_hard-options, abi-n32_soft_2008-options)
33661 (abi-n32_hard_2008-options, abi-n64_soft-options)
33662 (abi-n64_hard-options, abi-n64_soft_2008-options)
33663 (abi-n64_hard_2008-options): Likewise.
33664 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
33665 (abi-64-v1-options, abi-64-v2-options): Likewise.
33666 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
33667 (abi-64-options): Likewise.
33668 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
33669 (abi-64-options): Likewise.
33670 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
33671 (abi-64-options): Likewise.
33672 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
33673 (abi-64-options, abi-x32-options): Likewise.
33675 2017-08-28 Florian Weimer <fweimer@redhat.com>
33677 Store supported list of SYS_* system calls in the source tree.
33678 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
33679 (bits/syscall.h): Generate from list file.
33680 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
33681 [$(subdir) = misc] (tests): Add tst-syscall-list.
33682 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
33683 [$(subdir) = misc] (tst-syscall-list-macros.list)
33684 [$(subdir) = misc] (tst-syscall-list-nr.list)
33685 (tst-syscall-list-sys.list): Helper targets for new
33686 tst-syscall-list test.
33687 [$(subdir) = misc] (tst-syscall-list.out): Run test script
33688 tst-syscall-list.sh.
33689 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
33690 target. Do not include bits/syscall.d.
33691 [$(subdir) = misc] (generated): Do not update.
33692 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
33693 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
33694 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
33695 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
33697 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
33699 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
33700 (tst-cxa_atexit, tst-on_exit): Likewise.
33701 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
33702 tst-cxa_atexit, and tst-on_exit.
33703 * stdlib/tst-atexit-common.c: New file.
33704 * stdlib/tst-atexit.c: New file.
33705 * stdlib/tst-at_quick_exit.c: New file.
33706 * stdlib/tst-cxa_atexit.c: New file.
33707 * stdlib/tst-on_exit.c: New file.
33709 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33711 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
33712 * mach/stack_chk_fail_local.c: New file.
33713 * hurd/stack_chk_fail_local.c: New file.
33714 * mach/Machrules ($(interface-library)-routines): Add
33715 stack_chk_fail_local.
33716 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
33717 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
33718 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
33719 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
33720 * hurd/Makefile (CFLAGS-hurdstartup.o,
33721 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
33723 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
33725 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33726 (index_cpu_*, index_arch_*): Removed.
33728 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33730 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
33731 Use uint64_t instead of unsigned long.
33733 2017-08-25 Joseph Myers <joseph@codesourcery.com>
33735 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
33736 [__HAVE_DISTINCT_FLOAT128].
33738 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
33739 of <bits/math-finite.h>.
33740 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
33741 inclusion of <bits/math-finite.h>.
33742 * math/bits/math-finite.h (__REDIRTO_X): Do not define
33743 conditionally on [__MATH_DECLARING_LDOUBLE && defined
33744 __NO_LONG_DOUBLE_MATH].
33745 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
33746 (__MATH_REDIRCALL_2): Likewise.
33747 (__MATH_REDIRCALL_INTERNAL): Likewise.
33748 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33749 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
33750 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
33754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
33756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
33758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
33760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
33762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
33764 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33765 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33766 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33767 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
33769 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
33770 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
33771 w_sqrtf_compat-ppc32.
33773 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33775 * math/math.h [defined __cplusplus] (issignaling): In the long
33776 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
33777 is not defined. Call __issignaling, otherwise.
33779 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33781 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
33782 syscall definitions and replace __builtin_expect with __glibc_likely.
33783 * sysdeps/unix/syscall-template.S: Update comment about cancellable
33785 (SYSCALL_CANCELLABLE): Removedefinition
33786 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
33788 (PSEUDO_END): Likewise.
33789 [IS_IN (libpthread)] (CENABLE): Likewise.
33790 [IS_IN (libpthread)] (CDISABLE): Likewise.
33791 [IS_IN (libc)] (CENABLE): Likewise.
33792 [IS_IN (libc)] (CENABLE): Likewise.
33793 [IS_IN (librt)] (CDISABLE): Likewise.
33794 [IS_IN (librt)] (CDISABLE): Likewise.
33795 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33796 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
33798 (PSEUDO_END): Likewise.
33799 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
33800 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
33801 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33802 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33803 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33804 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33805 (CENABLE): Likewise.
33806 (CDISABLE): Likewise.
33807 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33808 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
33810 (PSEUDO_END): Likewise.
33811 [IS_IN (libpthread)] (CENABLE): Likewise.
33812 [IS_IN (libpthread)] (CDISABLE): Likewise.
33813 [IS_IN (libc)] (CENABLE): Likewise.
33814 [IS_IN (libc)] (CENABLE): Likewise.
33815 [IS_IN (librt)] (CDISABLE): Likewise.
33816 [IS_IN (librt)] (CDISABLE): Likewise.
33817 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33818 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
33820 (PSEUDO_END): Likewise.
33821 [IS_IN (libpthread)] (CENABLE): Likewise.
33822 [IS_IN (libpthread)] (CDISABLE): Likewise.
33823 [IS_IN (libc)] (CENABLE): Likewise.
33824 [IS_IN (libc)] (CENABLE): Likewise.
33825 [IS_IN (librt)] (CDISABLE): Likewise.
33826 [IS_IN (librt)] (CDISABLE): Likewise.
33827 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33828 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
33830 (PSEUDO_END): Likewise.
33831 [IS_IN (libpthread)] (CENABLE): Likewise.
33832 [IS_IN (libpthread)] (CDISABLE): Likewise.
33833 [IS_IN (libc)] (CENABLE): Likewise.
33834 [IS_IN (libc)] (CENABLE): Likewise.
33835 [IS_IN (librt)] (CDISABLE): Likewise.
33836 [IS_IN (librt)] (CDISABLE): Likewise.
33837 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33838 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
33840 (PSEUDO_END): Likewise.
33841 [IS_IN (libpthread)] (CENABLE): Likewise.
33842 [IS_IN (libpthread)] (CDISABLE): Likewise.
33843 [IS_IN (libc)] (CENABLE): Likewise.
33844 [IS_IN (libc)] (CENABLE): Likewise.
33845 [IS_IN (librt)] (CDISABLE): Likewise.
33846 [IS_IN (librt)] (CDISABLE): Likewise.
33847 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33848 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
33850 (PSEUDO_END): Likewise.
33851 [IS_IN (libpthread)] (CENABLE): Likewise.
33852 [IS_IN (libpthread)] (CDISABLE): Likewise.
33853 [IS_IN (libc)] (CENABLE): Likewise.
33854 [IS_IN (libc)] (CENABLE): Likewise.
33855 [IS_IN (librt)] (CDISABLE): Likewise.
33856 [IS_IN (librt)] (CDISABLE): Likewise.
33857 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33858 * sysdeps/unix/sysv/linux/microblaze/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/mips/mips64/sysdep-cancel.h (PSEUDO):
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 (SINGLE_THREAD_P): Likewise.
33878 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
33880 (PSEUDO_END): Likewise.
33881 [IS_IN (libpthread)] (CENABLE): Likewise.
33882 [IS_IN (libpthread)] (CDISABLE): Likewise.
33883 [IS_IN (libc)] (CENABLE): Likewise.
33884 [IS_IN (libc)] (CENABLE): Likewise.
33885 [IS_IN (librt)] (CDISABLE): Likewise.
33886 [IS_IN (librt)] (CDISABLE): Likewise.
33887 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33888 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
33890 (PSEUDO_END): Likewise.
33891 [IS_IN (libpthread)] (CENABLE): Likewise.
33892 [IS_IN (libpthread)] (CDISABLE): Likewise.
33893 [IS_IN (libc)] (CENABLE): Likewise.
33894 [IS_IN (libc)] (CENABLE): Likewise.
33895 [IS_IN (librt)] (CDISABLE): Likewise.
33896 [IS_IN (librt)] (CDISABLE): Likewise.
33897 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33898 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
33899 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33900 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
33901 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
33903 (PSEUDO_END): Likewise.
33904 [IS_IN (libpthread)] (CENABLE): Likewise.
33905 [IS_IN (libpthread)] (CDISABLE): Likewise.
33906 [IS_IN (libc)] (CENABLE): Likewise.
33907 [IS_IN (libc)] (CENABLE): Likewise.
33908 [IS_IN (librt)] (CDISABLE): Likewise.
33909 [IS_IN (librt)] (CDISABLE): Likewise.
33910 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33911 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
33913 (PSEUDO_END): Likewise.
33914 [IS_IN (libpthread)] (CENABLE): Likewise.
33915 [IS_IN (libpthread)] (CDISABLE): Likewise.
33916 [IS_IN (libc)] (CENABLE): Likewise.
33917 [IS_IN (libc)] (CENABLE): Likewise.
33918 [IS_IN (librt)] (CDISABLE): Likewise.
33919 [IS_IN (librt)] (CDISABLE): Likewise.
33920 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33921 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
33923 (PSEUDO_END): Likewise.
33924 [IS_IN (libpthread)] (CENABLE): Likewise.
33925 [IS_IN (libpthread)] (CDISABLE): Likewise.
33926 [IS_IN (libc)] (CENABLE): Likewise.
33927 [IS_IN (libc)] (CENABLE): Likewise.
33928 [IS_IN (librt)] (CDISABLE): Likewise.
33929 [IS_IN (librt)] (CDISABLE): Likewise.
33930 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33931 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
33932 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33933 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
33934 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
33936 (PSEUDO_END): Likewise.
33937 [IS_IN (libpthread)] (CENABLE): Likewise.
33938 [IS_IN (libpthread)] (CDISABLE): Likewise.
33939 [IS_IN (libc)] (CENABLE): Likewise.
33940 [IS_IN (libc)] (CENABLE): Likewise.
33941 [IS_IN (librt)] (CDISABLE): Likewise.
33942 [IS_IN (librt)] (CDISABLE): Likewise.
33943 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33944 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
33946 (PSEUDO_END): Likewise.
33947 [IS_IN (libpthread)] (CENABLE): Likewise.
33948 [IS_IN (libpthread)] (CDISABLE): Likewise.
33949 [IS_IN (libc)] (CENABLE): Likewise.
33950 [IS_IN (libc)] (CENABLE): Likewise.
33951 [IS_IN (librt)] (CDISABLE): Likewise.
33952 [IS_IN (librt)] (CDISABLE): Likewise.
33953 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33955 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33957 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
33959 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33961 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33963 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33966 * string/stratcliff.c (do_test): Declare size, nchars, inner,
33967 middle and outer with size_t instead of int. Repleace %d and
33968 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
33969 "MAX (outer, nchars - 64)" to support unsigned outer and
33970 nchars. Also exit loop when outer == 0.
33972 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33974 * include/fcntl.h (__fcntl_nocancel): Remove definition.
33975 * include/signal.h (__sigsuspend_nocancel): Likewise.
33976 * include/time.h (__nanosleep_nocancel): Likewise.
33977 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
33978 * login/utmp_file.c: Include non cancellable syscall header.
33979 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
33982 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33984 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
33985 .byte sequences with AVX512F instructions.
33986 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
33987 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
33988 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33989 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
33991 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
33994 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
33995 Steve Ellcey <sellcey@cavium.com>
33997 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
33998 Use PTR_REG macro in cmp instruction.
34000 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34002 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
34003 Change the return type of the ifunc resolver to match the return
34004 type of the target function.
34006 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34008 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
34009 (preadv64): Likewise.
34010 (pwrite64(: Likewise.
34011 (pwritev64): Likewise.
34013 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34014 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
34015 (LOAD_ARGS_0): Likewise.
34016 (LOAD_ARGS_1): Likewise.
34017 (LOAD_ARGS_2): Likewise.
34018 (LOAD_ARGS_3): Likewise.
34019 (LOAD_ARGS_4): Likewise.
34020 (LOAD_ARGS_5): Likewise.
34021 (LOAD_ARGS_6): Likewise.
34022 (LOAD_REGS_0): Likewise.
34023 (LOAD_REGS_1): Likewise.
34024 (LOAD_REGS_2): Likewise.
34025 (LOAD_REGS_3): Likewise.
34026 (LOAD_REGS_4): Likewise.
34027 (LOAD_REGS_5): Likewise.
34028 (LOAD_REGS_6): Likewise.
34029 (ASM_ARGS_0): Likewise.
34030 (ASM_ARGS_1): Likewise.
34031 (ASM_ARGS_2): Likewise.
34032 (ASM_ARGS_3): Likewise.
34033 (ASM_ARGS_4): Likewise.
34034 (ASM_ARGS_5): Likewise.
34035 (ASM_ARGS_6): Likewise.
34036 (LOAD_ARGS_TYPES_1): Likewise.
34037 (LOAD_ARGS_TYPES_2): Likewise.
34038 (LOAD_ARGS_TYPES_3): Likewise.
34039 (LOAD_ARGS_TYPES_4): Likewise.
34040 (LOAD_ARGS_TYPES_5): Likewise.
34041 (LOAD_ARGS_TYPES_6): Likewise.
34042 (LOAD_REGS_TYPES_1): Likewise.
34043 (LOAD_REGS_TYPES_2): Likewise.
34044 (LOAD_REGS_TYPES_3): Likewise.
34045 (LOAD_REGS_TYPES_4): Likewise.
34046 (LOAD_REGS_TYPES_5): Likewise.
34047 (LOAD_REGS_TYPES_6): Likewise.
34048 (TYPEFY): New define.
34049 (ARGIFY): Likewise.
34050 (internal_syscall0): Likewise.
34051 (internal_syscall1): Likewise.
34052 (internal_syscall2): Likewise.
34053 (internal_syscall3): Likewise.
34054 (internal_syscall4): Likewise.
34055 (internal_syscall5): Likewise.
34056 (internal_syscall6): Likewise.
34057 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
34058 (INTERNAL_SYSCALL_NCS): Remove define.
34059 (internal_syscall1): Add define.
34061 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34063 * math/w_remainder_compat.c: Remove duplicate inclusion of
34064 math-svid-compat.h.
34065 * math/w_remainderf_compat.c: Likewise.
34066 * math/w_remainderl_compat.c: Likewise.
34068 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34072 2017-08-22 Joseph Myers <joseph@codesourcery.com>
34075 * math/tgmath.h (__floating_type): Simplify definitions.
34076 (__real_integer_type): New macro.
34077 (__complex_integer_type): Likewise.
34078 (__expr_is_real): Likewise.
34079 (__tgmath_real_type_sub): Update comment to describe handling of
34081 (__tgmath_complex_type_sub): New macro.
34082 (__tgmath_complex_type): Likewise.
34083 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34084 (__TGMATH_CF128): Use __expr_is_real.
34085 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
34087 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34088 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
34089 * math/gen-tgmath-tests.py (Type.create_type): Create complex
34092 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34094 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
34096 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
34098 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
34101 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
34102 nanosleep_not_cancel with __nanosleep_nocancel.
34103 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
34104 (__nanosleep_nocancel): New macro.
34105 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
34107 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
34109 (__nanosleep_nocancel): New prototype.
34111 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
34112 pause_not_cancel with __pause_nocancel.
34113 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
34114 (__pause_nocancel): New macro.
34115 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
34117 (__pause_nocancel): New prototype.
34118 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
34120 2017-08-22 Martin Sebor <msebor@redhat.com>
34122 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
34123 to return a pointer to the same type as the target function.
34125 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34129 * include/printf.h (__printf_fphex): Add attribute_hidden.
34130 (__guess_grouping): New prototype.
34131 * stdio-common/printf_fp.c (__guess_grouping): Removed.
34132 * stdio-common/reg-printf.c (__register_printf_specifier): Add
34133 libc_hidden_proto and libc_hidden_def.
34134 * stdlib/strfmon_l.c (__guess_grouping): Removed.
34135 (__vstrfmon_l): Remove the third argument passed to
34138 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34140 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
34141 definition for issignaling that does not rely on __MATH_TG,
34142 since __MATH_TG uses __builtin_types_compatible_p, which is only
34143 available in C mode.
34144 (CFLAGS-test-math-issignaling.cc): New variable.
34145 * math/Makefile [CXX] (tests): Add test-math-issignaling.
34146 * math/test-math-issignaling.cc: New test for C++ implementation
34147 of type-generic issignaling.
34148 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34149 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
34150 options of test-math-issignaling on powerpc64le.
34152 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34154 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34156 (hidden_proto): Likewise.
34157 (hidden_tls_proto): Likewise.
34158 (__hidden_proto): Likewise.
34160 2017-08-22 Florian Weimer <fweimer@redhat.com>
34162 math: Statically link tests of internal functionality.
34163 * math/Makefile (tests): Remove atest-exp, atest-sincos,
34165 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
34166 (gmp-objs): Remove assignment.
34167 (atest-exp, atest-sincos, atest-exp2): Remove targets.
34169 2017-08-22 Joseph Myers <joseph@codesourcery.com>
34172 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
34174 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
34176 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
34179 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
34180 variable definitions above inclusion of ../Rules.
34182 2017-08-21 Joseph Myers <joseph@codesourcery.com>
34184 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
34185 case calling __builtin_unreachable.
34187 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34189 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
34190 __waitpid_nocancel.
34191 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
34192 (__waitpid_nocancel): New macro.
34193 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
34195 (__waitpid_nocancel): Replace macro with a function.
34196 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
34199 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
34201 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
34202 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
34204 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
34205 __writev_nocancel_nostatus.
34206 (write_call_graph): Likewise.
34207 (write_bb_counts): Likewise.
34208 * resolv/herror.c (herror): Likewise.
34209 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
34211 (__writev_nocancel_nostatus): New macro.
34212 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
34214 (__writev_nocancel_nostatus): New function.
34216 2017-08-21 Joseph Myers <joseph@codesourcery.com>
34219 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34221 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34223 (hidden_proto): Likewise.
34224 (hidden_tls_proto): Likewise.
34225 (__hidden_proto): Likewise.
34228 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
34229 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
34234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
34238 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
34239 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34240 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34241 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34242 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
34243 GLIBC_2.0 sqrtl symbol.
34245 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
34246 [__USE_MISC] (_LIB_VERSION): Likewise.
34247 [__USE_MISC] (struct exception): Likewise.
34248 [__USE_MISC] (matherr): Likewise.
34249 [__USE_MISC] (DOMAIN): Likewise.
34250 [__USE_MISC] (SING): Likewise.
34251 [__USE_MISC] (OVERFLOW): Likewise.
34252 [__USE_MISC] (UNDERFLOW): Likewise.
34253 [__USE_MISC] (TLOSS): Likewise.
34254 [__USE_MISC] (PLOSS): Likewise.
34255 [__USE_MISC] (HUGE): Likewise.
34256 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
34257 * math/math-svid-compat.h: New file.
34258 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
34260 * include/math.h [!_ISOMAC] (__matherr): Remove.
34261 * manual/arith.texi (FP Exceptions): Do not document matherr.
34262 * math/Makefile (tests): Change test-matherr to test-matherr-3.
34263 (tests-internal): New variable.
34264 (install-lib): Do not add libieee.a.
34265 (non-lib.a): Likewise.
34266 (extra-objs): Do not add libieee.a and ieee-math.o.
34267 (CPPFLAGS-s_lib_version.c): Remove variable.
34268 ($(objpfx)libieee.a): Remove rule.
34269 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
34270 * math/ieee-math.c: Remove.
34271 * math/libm-test-support.c (matherr): Remove.
34272 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
34273 and license notices. Include <math-svid-compat.h> and
34275 (matherr): Undefine as macro. Use compat_symbol_reference.
34276 (_LIB_VERSION): Likewise.
34277 * math/test-matherr-2.c: New file.
34278 * math/test-matherr-3.c: Likewise.
34279 * sysdeps/generic/math_private.h (__kernel_standard): Remove
34281 (__kernel_standard_f): Likewise.
34282 (__kernel_standard_l): Likewise.
34283 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
34284 <math_private.h>. Include <math-svid-compat.h>.
34285 (_LIB_VERSION): Undefine as macro.
34286 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
34287 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
34288 [LIBM_SVID_COMPAT], use compat_symbol.
34289 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
34290 <math_private.h>. Include <math-svid-compat.h>.
34291 (matherr): Undefine as macro.
34292 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
34294 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
34295 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
34296 compat_symbol_reference.
34297 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
34298 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
34299 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
34300 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
34301 (MATHERR_D): Remove declaration.
34302 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
34303 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
34304 [LIBM_BUILD] (pmatherrf): Likewise.
34305 [LIBM_BUILD] (pmatherr): Likewise.
34306 [LIBM_BUILD] (pmatherrl): Likewise.
34307 (DOMAIN): Likewise.
34309 (OVERFLOW): Likewise.
34310 (UNDERFLOW): Likewise.
34313 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
34314 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
34316 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
34317 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
34319 * math/lgamma-compat.h: Include <math-svid-compat.h>.
34320 * math/w_acos_compat.c: Likewise.
34321 * math/w_acosf_compat.c: Likewise.
34322 * math/w_acosh_compat.c: Likewise.
34323 * math/w_acoshf_compat.c: Likewise.
34324 * math/w_acoshl_compat.c: Likewise.
34325 * math/w_acosl_compat.c: Likewise.
34326 * math/w_asin_compat.c: Likewise.
34327 * math/w_asinf_compat.c: Likewise.
34328 * math/w_asinl_compat.c: Likewise.
34329 * math/w_atan2_compat.c: Likewise.
34330 * math/w_atan2f_compat.c: Likewise.
34331 * math/w_atan2l_compat.c: Likewise.
34332 * math/w_atanh_compat.c: Likewise.
34333 * math/w_atanhf_compat.c: Likewise.
34334 * math/w_atanhl_compat.c: Likewise.
34335 * math/w_cosh_compat.c: Likewise.
34336 * math/w_coshf_compat.c: Likewise.
34337 * math/w_coshl_compat.c: Likewise.
34338 * math/w_exp10_compat.c: Likewise.
34339 * math/w_exp10f_compat.c: Likewise.
34340 * math/w_exp10l_compat.c: Likewise.
34341 * math/w_exp2_compat.c: Likewise.
34342 * math/w_exp2f_compat.c: Likewise.
34343 * math/w_exp2l_compat.c: Likewise.
34344 * math/w_fmod_compat.c: Likewise.
34345 * math/w_fmodf_compat.c: Likewise.
34346 * math/w_fmodl_compat.c: Likewise.
34347 * math/w_hypot_compat.c: Likewise.
34348 * math/w_hypotf_compat.c: Likewise.
34349 * math/w_hypotl_compat.c: Likewise.
34350 * math/w_j0_compat.c: Likewise.
34351 * math/w_j0f_compat.c: Likewise.
34352 * math/w_j0l_compat.c: Likewise.
34353 * math/w_j1_compat.c: Likewise.
34354 * math/w_j1f_compat.c: Likewise.
34355 * math/w_j1l_compat.c: Likewise.
34356 * math/w_jn_compat.c: Likewise.
34357 * math/w_jnf_compat.c: Likewise.
34358 * math/w_jnl_compat.c: Likewise.
34359 * math/w_lgamma_main.c: Likewise.
34360 * math/w_lgamma_r_compat.c: Likewise.
34361 * math/w_lgammaf_main.c: Likewise.
34362 * math/w_lgammaf_r_compat.c: Likewise.
34363 * math/w_lgammal_main.c: Likewise.
34364 * math/w_lgammal_r_compat.c: Likewise.
34365 * math/w_log10_compat.c: Likewise.
34366 * math/w_log10f_compat.c: Likewise.
34367 * math/w_log10l_compat.c: Likewise.
34368 * math/w_log2_compat.c: Likewise.
34369 * math/w_log2f_compat.c: Likewise.
34370 * math/w_log2l_compat.c: Likewise.
34371 * math/w_log_compat.c: Likewise.
34372 * math/w_logf_compat.c: Likewise.
34373 * math/w_logl_compat.c: Likewise.
34374 * math/w_pow_compat.c: Likewise.
34375 * math/w_powf_compat.c: Likewise.
34376 * math/w_powl_compat.c: Likewise.
34377 * math/w_remainder_compat.c: Likewise.
34378 * math/w_remainderf_compat.c: Likewise.
34379 * math/w_remainderl_compat.c: Likewise.
34380 * math/w_scalb_compat.c: Likewise.
34381 * math/w_scalbf_compat.c: Likewise.
34382 * math/w_scalbl_compat.c: Likewise.
34383 * math/w_sinh_compat.c: Likewise.
34384 * math/w_sinhf_compat.c: Likewise.
34385 * math/w_sinhl_compat.c: Likewise.
34386 * math/w_sqrt_compat.c: Likewise.
34387 * math/w_sqrtf_compat.c: Likewise.
34388 * math/w_sqrtl_compat.c: Likewise.
34389 * math/w_tgamma_compat.c: Likewise.
34390 * math/w_tgammaf_compat.c: Likewise.
34391 * math/w_tgammal_compat.c: Likewise.
34392 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
34393 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34394 * sysdeps/ieee754/k_standard.c: Likewise.
34395 * sysdeps/ieee754/k_standardf.c: Likewise.
34396 * sysdeps/ieee754/k_standardl.c: Likewise.
34397 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34398 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34399 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34400 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34401 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34402 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34403 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34404 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
34405 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34410 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
34411 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34412 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34413 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34415 2017-08-21 Florian Weimer <fweimer@redhat.com>
34418 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
34419 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
34420 Move before inclusion of ../Rules.
34422 2017-08-21 Florian Weimer <fweimer@redhat.com>
34425 * assert/assert.h (assert): Use static_cast (bool) for C++.
34426 Use the ternary operator in the warning branch for GNU C.
34427 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
34428 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
34429 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
34430 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
34431 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
34433 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34436 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34437 (__syscall_clock_gettime): Add attribute_hidden.
34438 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
34439 (__start_context): Likewise.
34441 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34443 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34445 (hidden_proto): Likewise.
34446 (hidden_tls_proto): Likewise.
34447 (__hidden_proto): Likewise.
34449 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34451 * include/libc-symbols.h (attribute_hidden): Enable hidden
34452 visibility in libc.a compiled with PIE.
34454 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34457 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
34458 Add attribute_hidden.
34460 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34463 * Makerules (all-nonlib): Add $(others-extras).
34464 * catgets/Makefile (others-extras): New.
34465 * elf/Makefile (others-extras): Likewise.
34466 * nss/Makefile (others-extras): Likewise.
34468 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34471 * csu/libc-start.c (__libc_multiple_libcs): Removed.
34472 * elf/dl-open.c: Include <libc-internal.h>.
34473 (__libc_multiple_libcs): Removed.
34474 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
34476 * include/libc-internal.h (__libc_multiple_libcs): New.
34477 * misc/sbrk.c: Include <libc-internal.h>.
34478 (__libc_multiple_libcs): Removed.
34480 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34483 * grp/initgroups.c (__nss_group_database): Removed.
34484 (__nss_initgroups_database): Likewise.
34485 * nscd/gai.c (__nss_hosts_database): Likewise.
34486 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
34487 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
34488 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
34489 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
34490 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
34491 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
34493 * nss/nsswitch.c (__nss_database_custom): Define only if
34494 USE_NSCD is defined.
34495 (__nss_configure_lookup): Use __nss_database_custom only if
34496 USE_NSCD is defined.
34497 * nss/nsswitch.h (__nss_database_custom): Declare only if
34498 USE_NSCD is defined. Add attribute_hidden.
34499 (__nss_setent): Add attribute_hidden.
34500 (__nss_endent): Likewise.
34501 (__nss_getent_r): Likewise.
34502 (__nss_getent): Likewise.
34503 (DEFINE_DATABASE): Declare __nss_##arg##_database.
34505 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34508 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
34509 libc_hidden_proto and libc_hidden_def.
34511 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34514 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
34515 Add libc_hidden_proto.
34516 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
34517 Add libc_hidden_def.
34519 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34522 * gmon/Makefile (routines): Remove bb_init_func and
34524 (elide-routines.os): Removed.
34525 * gmon/bb_exit_func.c: Likewise.
34526 * gmon/bb_init_func.c: Likewise.
34527 * include/sys/gmon.h (__bb): Likewise.
34528 (__bb_init_func): Likewise.
34529 (__bb_exit_func): Likewise.
34530 * sysdeps/alpha/bb_init_func.S: Likewise.
34532 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34534 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
34535 * include/setjmp.h (____longjmp_chk): Here. Add
34538 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
34541 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
34543 (__strspn_sse2): Likewise.
34545 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34547 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
34548 (close_not_cancel_no_status): Likewise.
34549 (__close_nocancel): New macro.
34550 (__close_nocancel_nostatus): Likewise.
34551 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
34553 (close_not_cancel): Likewise.
34554 (close_not_cancel_no_status): Likewise.
34555 (__close_nocancel): New prototype.
34556 (__close_nocancel_nostatus): New function.
34557 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
34558 * catgets/open_catalog.c (__open_catalog): Replace
34559 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
34560 * gmon/gmon.c (write_gmon): Likewise.
34561 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34562 * intl/loadmsgcat.c (close): Likewise.
34563 * io/ftw.c (open_dir_stream): Likewise.
34564 (ftw_startup): Likewise.
34565 * libio/fileops.c (_IO_file_open): Likewise.
34566 (_IO_file_close_mmap): Likewise.
34567 (_IO_file_close): Likewise.
34568 * libio/iopopen.c (_IO_dup2): Likewise.
34569 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34570 * locale/loadlocale.c (_nl_load_locale): Likewise.
34571 * login/utmp_file.c (pututline_file): Likewise.
34572 (endutent_file): Likewise.
34573 * misc/daemon.c (daemon): Likewise.
34574 * nscd/nscd_getai.c (__nscd_getai): Likewise.
34575 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34576 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34577 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34578 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34579 * nscd/nscd_helper.c (open_socket): Likewise.
34580 (__nscd_open_socket): Likewise.
34581 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34582 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
34583 (__nscd_innetgr): Likewise.
34584 * nss/nss_db/db-open.c (internal_setent): Likewise.
34585 * resolv/res-close.c (__res_iclose): Likewise.
34586 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
34587 * sysdeps/posix/closedir.c (__closedir): Likewise.
34588 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
34589 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34590 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34591 (opendir_tail): Likewise.
34592 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34593 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
34594 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34595 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34596 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34597 (gethostid): Likewise.
34598 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34599 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34601 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34602 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
34603 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34604 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34606 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
34607 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
34608 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34610 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
34611 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34613 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34615 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34616 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34617 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34620 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
34621 (openat_not_cancel_3): Likewise.
34622 (openat64_not_cancel_3): Likewise).
34623 (openat_not_cancel_3): Likewise).
34624 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
34626 (openat_not_cancel_3): Likewise.
34627 (openat64_not_cancel): Likewise.
34628 (openat64_not_cancel_3): Likewise.
34629 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
34630 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
34631 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
34632 __open{64}_nocancel.
34633 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34634 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34635 * sysdeps/posix/opendir.c (__opendirat): Likewise.
34637 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34640 * include/argz.h (__argz_create_sep): New function prototype.
34641 (__argz_append): Likewise.
34642 (__argz_add): Likewise.
34643 (__argz_add_sep): Likewise.
34644 (__argz_delete): Likewise.
34645 (__argz_insert): Likewise.
34646 (__argz_replace): Likewise.
34647 * string/argz.h (__argz_create_sep): Removed.
34648 (__argz_append): Likewise.
34649 (__argz_add): Likewise.
34650 (__argz_add_sep): Likewise.
34651 (__argz_delete): Likewise.
34652 (__argz_insert): Likewise.
34653 (__argz_replace): Likewise.
34655 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34657 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
34658 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
34659 (GNU_PROPERTY_STACK_SIZE): Likewie.
34660 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
34661 (GNU_PROPERTY_LOPROC): Likewise.
34662 (GNU_PROPERTY_HIPROC): Likewise.
34663 (GNU_PROPERTY_LOUSER): Likewise.
34664 (GNU_PROPERTY_HIUSER): Likewise.
34665 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
34666 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
34667 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
34668 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
34669 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
34670 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
34671 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
34672 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
34673 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
34674 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
34675 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
34676 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
34677 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
34678 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
34679 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
34680 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
34681 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
34682 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
34683 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
34684 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
34685 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
34686 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
34687 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
34689 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34691 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
34694 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34697 * math/math.h (isinf): Check if in C or C++ mode before using
34698 __builtin_types_compatible_p, since this is a C mode feature.
34700 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34702 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
34703 (__write_nocancel): New macro.
34704 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
34705 Rewrite as a function prototype.
34706 (write_not_cancel): Remove macro.
34707 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
34708 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
34709 (write_gmon): Likewise.
34710 * libio/fileops.c (_IO_new_file_write): Likewise.
34711 * login/utmp_file.c (pututline_file): Likewise.
34712 (updwtmp_file): Likewise.
34713 * stdio-common/psiginfo.c (psiginfo): Likewise.
34714 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34715 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34716 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34718 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34721 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
34722 (__read_nocancel): New macro.
34723 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34725 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
34727 (__read_nocancel): New prototype.
34728 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
34729 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
34730 with __read_nocancel.
34731 * intl/loadmsgcat.c (read): Likewise.
34732 * libio/fileops.c (_IO_file_read): Likewise.
34733 * locale/loadlocale.c (_nl_load_locale): Likewise.
34734 * login/utmp_file.c (getutent_r_file): Likewise.
34735 (internal_getut_r): Likewise.
34736 (getutline_r_file): Likewise.
34737 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34738 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34739 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34740 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34742 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
34743 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34744 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34746 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34748 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34750 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34752 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34754 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34757 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
34758 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
34761 2017-08-17 DJ Delorie <dj@redhat.com>
34763 * bug17079.c: Update to new test harness.
34764 * test-digits-dots.c: Likewise.
34765 * test-netdb.c: Likewise.
34766 * tst-field.c: Likewise.
34767 * tst-nss-getpwent.c: Likewise.
34768 * tst-nss-static.c: Likewise.
34769 * tst-nss-test1.c: Likewise.
34770 * tst-nss-test2.c: Likewise.
34771 * tst-nss-test3.c: Likewise.
34772 * tst-nss-test4.c: Likewise.
34773 * tst-nss-test5.c: Likewise.
34775 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34777 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
34778 (open_not_cancel_2): Likewise.
34779 (open_nocancel): New macro.
34780 (open64_nocancel): Likewise.
34781 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
34782 (open_not_cancel_2): Likewise.
34783 (__open_nocancel): New prototype.
34784 (__open64_nocancel): Likewise.
34785 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34787 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
34788 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
34789 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
34790 with __open_nocancel.
34791 * csu/check_fds.c (check_one_fd): Likewise.
34792 * gmon/gmon.c (write_gmon): Likewise.
34793 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
34794 * intl/loadmsgcat.c (open): Likewise.
34795 * libio/fileops.c (_IO_file_open): Likewise.
34796 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34797 * locale/loadlocale.c (_nl_load_locale): Likewise.
34798 * login/utmp_file.c (setutent_file): Likewise.
34799 * misc/daemon.c (daemon): Likewise.
34800 * nss/nss_db/db-open.c (internal_setent): Likewise.
34801 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34802 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
34803 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34804 (__opendir): Likewise.
34805 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34806 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34807 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34808 (gethostid): Likewise.
34809 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34810 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34812 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34813 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
34814 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34815 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34817 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34819 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34821 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34823 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34825 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34827 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34828 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34830 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
34832 * benchtests/bench-skeleton.c (main): Add support for
34833 latency benchmarking.
34834 * benchtests/scripts/bench.py: Add support for latency benchmarking.
34836 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
34838 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
34839 the startup object.
34841 2017-08-17 Florian Weimer <fweimer@redhat.com>
34843 * include/sys/socket.h (__opensock): Remove internal_function.
34844 * socket/opensock.c (__opensock): Likewise.
34845 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
34847 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34850 * signal/bits/types/__sigval_t.h: New file.
34851 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
34852 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
34853 and define sigval_t using __sigval_t.
34854 * include/bits/types/__sigval_t.h: New file.
34855 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
34856 instead of <bits/types/__sigval_t.h>.
34857 (struct sigevent): Use __sigval_t instead of sigval_t.
34858 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
34859 instead of <bits/types/__sigval_t.h>.
34860 (siginfo_t): Use __sigval_t instead of sigval_t.
34861 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
34862 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34863 (struct sigevent): Use __sigval_t instead of sigval_t.
34864 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
34865 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34866 (siginfo_t): Use __sigval_t instead of sigval_t.
34867 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
34869 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34871 * NEWS: Remove "[Add new features here]" for 2.27.
34873 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34875 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
34878 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34880 * NEWS: Mention x86-64 FMA optimization.
34882 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34885 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34887 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
34888 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
34889 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
34891 2017-08-16 Andreas Schwab <schwab@suse.de>
34895 * elf/ldd.bash.in: Never run file directly.
34897 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
34900 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
34901 (L(SP_INF_0)): Likewise.
34903 2017-08-15 Florian Weimer <fweimer@redhat.com>
34905 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
34908 2017-08-15 Florian Weimer <fweimer@redhat.com>
34910 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
34911 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
34912 BROKEN_THREAD_SIGNALS code.
34913 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
34914 request_list): Remove caller_pid member used for
34915 BROKEN_THREAD_SIGNALS.
34916 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
34917 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34918 Remove BROKEN_THREAD_SIGNALS support.
34919 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
34920 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
34922 2017-08-15 Florian Weimer <fweimer@redhat.com>
34924 * gmon/Makefile (tests): Add tst-gmon.
34925 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
34927 (tests-special): Add tst-gmon-prof.out.
34928 (tst-gmon.out): Depend on clean-tst-gmon-data.
34929 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
34930 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
34931 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
34933 * aclocal.m4 (GPROF): Set and substitute.
34934 * config.amke.in (GPROF): Set.
34935 * configure: Regenerate.
34937 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
34939 * elf/elf.h A (NT_PPC_TAR): New macro.
34940 (NT_PPC_PPR): Likewise.
34941 (NT_PPC_DSCR): Likewise.
34942 (NT_PPC_EBB): Likewise.
34943 (NT_PPC_PMU): Likewise.
34944 (NT_PPC_TM_CGPR): Likewise.
34945 (NT_PPC_TM_CFPR): Likewise.
34946 (NT_PPC_TM_CVMX): Likewise.
34947 (NT_PPC_TM_CVSX): Likewise.
34948 (NT_PPC_TM_SPR): Likewise.
34949 (NT_PPC_TM_CTAR): Likewise.
34950 (NT_PPC_TM_CPPR): Likewise.
34951 (NT_PPC_TM_CDSCR): Likewise.
34953 2017-08-15 Florian Weimer <fweimer@redhat.com>
34955 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
34956 regparm (2) instead of internal_function.
34957 (_MCOUNT_DECL): Adjust.
34959 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34961 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
34962 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
34964 2017-08-14 Joseph Myers <joseph@codesourcery.com>
34966 * conform/data/sys/wait.h-data (si_value): Do not expect for
34969 2017-08-14 Florian Weimer <fweimer@redhat.com>
34972 NSS: Create stubs for accidentally exported lookup functions.
34973 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
34974 Remove declaration.
34975 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
34976 (ether_hostton): Call __nss_ethers_lookup2 instead.
34977 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
34978 (ether_ntohost): Call __nss_ethers_lookup2 instead.
34979 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
34980 (setup): Call __nss_netgroup_lookup2 instead.
34981 * nss/Makefile (routines): Add compat-lookup.
34982 * nss/Versions (GLIBC_2.27): Add symbol version.
34983 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
34984 (DB_COMPAT_FCT): Remove.
34985 * nss/compat-lookup.c: New file.
34986 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
34987 from databases.def.
34988 * nss/service-lookup.c (NO_COMPAT): Remove definition.
34989 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
34990 (netname2user): Call __nss_publickey_lookup2 instead.
34991 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
34992 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
34995 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34996 Sergei Trofimovich <slyfox@inbox.ru>
34999 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
35000 Rename to MMAP2_PAGE_UNIT.
35001 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
35002 __OFF_T_MATCHES_OFF64_T is not defined.
35003 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
35005 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
35006 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
35008 2017-08-14 Florian Weimer <fweimer@redhat.com>
35010 i386: Do not set internal_function.
35011 * config.h.in (USE_REGPARMS, internal_function): Remove.
35012 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
35013 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
35015 2017-08-14 Florian Weimer <fweimer@redhat.com>
35017 * elf/dl-init.c (_dl_init): Remove internal_function.
35018 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
35019 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
35021 2017-08-14 Florian Weimer <fweimer@redhat.com>
35023 * elf/rtld.c (_dl_start): Remove internal_function.
35024 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
35027 2017-08-14 Florian Weimer <fweimer@redhat.com>
35029 * elf/dl-fini.c (_dl_fini): Remove internal_function
35030 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
35032 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
35034 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
35035 (bit_cpu_SHSTK): Likewise.
35036 (index_cpu_IBT): Likewise.
35037 (index_cpu_SHSTK): Likewise.
35038 (reg_IBT): Likewise.
35039 (reg_SHSTK): Likewise.
35040 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
35041 Handle index_cpu_IBT and index_cpu_SHSTK.
35043 2017-08-14 Mike FABIAN <mfabian@redhat.com>
35046 * po/fr.po: Fix spelling mistake.
35048 2017-08-13 Florian Weimer <fweimer@redhat.com>
35050 * elf/dl-addr.c (_dl_addr): Remove internal_function.
35051 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
35052 (_dl_catch_error, _dl_receive_error): Likewise.
35053 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
35054 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
35055 (_dl_deallocate_tls): Likewise.
35056 * include/dlfcn.h (_dl_addr): Likewise.
35057 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
35058 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
35059 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
35062 2017-08-13 Florian Weimer <fweimer@redhat.com>
35064 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
35065 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
35067 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
35069 2017-08-13 Florian Weimer <fweimer@redhat.com>
35071 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
35073 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
35074 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
35075 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
35076 internal_function from _dl_make_stack_executable_hook member.
35077 (_dl_make_stack_executable): Remove internal_function.
35078 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
35080 * sysdeps/unix/sysv/linux/dl-execstack.c
35081 (_dl_make_stack_executable): Likewise.
35083 2017-08-13 Florian Weimer <fweimer@redhat.com>
35085 * sysdeps/unix/sysv/linux/netlinkaccess.h
35086 (__netlink_assert_response): Remove internal_function.
35087 * sysdeps/unix/sysv/linux/netlink_assert_response.c
35088 (__netlink_assert_response): Likewise.
35090 2017-08-13 Florian Weimer <fweimer@redhat.com>
35092 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
35094 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
35096 2017-08-13 Florian Weimer <fweimer@redhat.com>
35098 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
35100 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
35101 * inet/netgroup.h (__internal_setnetgrent)
35102 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35103 * inet/getnetgrent_r.c (__internal_setnetgrent)
35104 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35105 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
35106 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
35107 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
35108 * nss/nsswitch.h (db_lookup_function): Likewise.
35110 2017-08-13 Florian Weimer <fweimer@redhat.com>
35112 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
35113 Remove internal_function.
35114 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
35115 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
35116 message argument on the stack.
35117 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
35120 2017-08-12 Mike FABIAN <mfabian@redhat.com>
35122 Adapt test case data to the changes in the thousands
35126 * localedata/tst-langinfo.sh: Adapt test case data.
35127 * stdlib/tst-strfmon_l.c: Likewise.
35128 * stdlib/tst-strtod4.c: Likewise.
35129 * stdlib/tst-strtod5i.c: Likewise.
35131 2017-08-11 Florian Weimer <fweimer@redhat.com>
35134 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
35135 Suppress pedantic warning resulting from statement expression.
35136 (__ASSERT_FUNCTION): Add missing __extension__.
35138 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
35140 * benchtests/bench-memmove-large.c: Print output in JSON
35142 * benchtests/bench-memmove.c: Likewise.
35144 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
35145 * benchtests/bench-memchr.c (do_one_test): Likewise.
35146 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
35147 * benchtests/bench-memcpy.c (do_one_test): Likewise.
35148 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
35149 * benchtests/bench-memmove.c (do_one_test): Likewise.
35150 * benchtests/bench-memset-large.c (do_one_test): Likewise.
35151 * benchtests/bench-memset.c (do_one_test): Likewise.
35152 * benchtests/bench-string.h (test_init): Remove memsets.
35154 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
35157 (Computing the Width of an Integer Data Type): Rename section to
35158 "Width of an Integer Type". Remove inaccurate statement regarding
35159 lack of C language facilities for determining width of integer
35160 types, and reorder content to improve flow and context of
35163 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
35165 * lang.texi (va_copy): Change standard from ISO to C99.
35166 (__va_copy): Add standard and header annotation.
35167 Update description for clarity of origins and current use.
35169 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35172 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
35173 xssqrtqp requires operands to be in Vector Registers
35174 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
35175 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
35176 (__ieee754_sqrtf128): Likewise.
35178 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
35180 * sysdeps/aarch64/memcmp.S (memcmp):
35181 Rewrite of optimized memcmp.
35183 2017-08-10 Florian Weimer <fweimer@redhat.com>
35185 Introduce ld.so exceptions.
35186 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
35187 (_dl_exception_create, _dl_exception_create_format)
35188 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
35189 (_dl_catch_exception): Declare.
35190 (_dl_catch_error): Update comment.
35191 * elf/dl-error-skeleton.c (struct catch): Replace objname,
35192 errstring, malloced members with exception member.
35193 (_dl_out_of_memory): Remove.
35194 (fatal_error): New function, extracted from _dl_signal_error.
35195 (_dl_signal_exception, _dl_signal_cexception): New functions.
35196 (_dl_signal_error): Call _dl_exception_create to allocate an
35198 (_dl_catch_exception): New function, based on _dl_catch_error.
35199 (_dl_catch_error): Implement using _dl_catch_exception.
35200 * elf/dl-exception.c: New file.
35201 * elf/Makefile (dl-routines): Add dl-exception.
35202 (elide-routines.os): Likewise.
35203 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
35204 _dl_exception_create_format, _dl_exception_free.
35205 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
35206 _dl_signal_exception.
35207 * elf/dl-lookup.c (make_string): Remove.
35208 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
35209 _dl_signal_cexception, _dl_exception_free.
35210 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
35211 _dl_signal_exception.
35212 * elf/dl-sym.c (do_sym): Likewise.
35213 * elf/dl-version.c (make_string): Remove.
35214 (match_symbol): Use _dl_exception_create_format,
35215 _dl_signal_cexception, _dl_exception_free.
35216 (_dl_check_map_versions): Likewise.
35217 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
35218 _dl_catch_exception.
35219 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
35220 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
35221 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
35222 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
35223 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
35224 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
35225 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
35226 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
35228 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
35229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
35231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
35233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
35235 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
35236 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
35237 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
35239 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
35241 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
35243 2017-08-10 Florian Weimer <fweimer@redhat.com>
35245 * inet/net-internal.h (__inet6_scopeid_pton): Remove
35246 attribute_hidden, internal_function.
35247 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
35250 2017-08-10 Florian Weimer <fweimer@redhat.com>
35252 * malloc/malloc.c (get_max_fast): Reimplement as an inline
35253 function which calls __builtin_unreachable.
35255 2017-08-10 Mike FABIAN <mfabian@redhat.com>
35257 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
35258 Indian monetary formatting
35259 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
35262 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
35264 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
35265 Fix typo in comment.
35268 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
35269 PTRACE_SEIZE_DEVEL): Remove.
35270 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
35271 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35272 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35273 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35274 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35276 2017-08-09 Joseph Myers <joseph@codesourcery.com>
35278 * posix/bits/types.h (__qaddr_t): Remove.
35281 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
35282 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35284 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
35285 (ucontext_t): Use __ctx with uc_flags.
35286 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
35287 (__ctxt): Likewise.
35288 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35290 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
35291 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35293 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
35294 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35296 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
35298 (ucontext_t): Use __ctx with uc_flags.
35299 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
35300 (ucontext_t): Use __ctx with uc_flags.
35301 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
35302 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
35303 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
35304 (ucontext_t): Use __ctx with uc_flags.
35305 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
35306 undefine further down.
35307 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35309 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
35310 undefine further down.
35311 (ucontext_t): Use __ctx with uc_flags.
35312 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
35313 undefine further down.
35314 (ucontext_t): Use __ctx with uc_flags.
35315 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
35316 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
35317 Rename uc_pad to __glibc_reserved1.
35318 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
35319 undefine further down.
35320 (ucontext_t): Use __ctx with uc_flags.
35321 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
35323 (ucontext_t): Use __ctx with uc_flags.
35324 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
35325 __ctx with uc_flags.
35326 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
35327 (ucontext_t): Use __ctx with uc_flags.
35328 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
35329 __ctx with uc_flags.
35331 2017-08-09 Florian Weimer <fweimer@redhat.com>
35334 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
35335 before early return.
35337 2017-08-09 Andreas Schwab <schwab@suse.de>
35340 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
35344 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
35345 tst-compat-forwarder.
35346 (modules-names): Add tst-compat-forwarder-mod.
35347 ($(objpfx)tst-compat-forwarder): Depend on
35348 $(objpfx)tst-compat-forwarder-mod.so.
35349 * nptl/tst-compat-forwarder.c: New file.
35350 * nptl/tst-compat-forwarder-mod.c: New file.
35352 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
35354 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
35357 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
35358 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
35360 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
35362 (__libc_ifunc_impl_list): Add __memcpy_falkor.
35363 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
35364 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
35365 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
35367 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
35370 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35373 * manual/setjmp.texi (getcontex): Document uc_stack value
35374 compatibility differences.
35376 2017-08-08 Joseph Myers <joseph@codesourcery.com>
35378 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
35379 (old_malloc_hook): Likewise.
35380 (old_memalign_hook): Likewise.
35381 (old_realloc_hook): Likewise.
35382 (struct hdr): Likewise.
35384 (freehook): Likewise.
35385 (mallochook): Likewise.
35386 (memalignhook): Likewise.
35387 (reallochook): Likewise.
35388 (mprobe): Likewise.
35389 * malloc/mtrace.c (mallwatch): Likewise.
35390 (tr_old_free_hook): Likewise.
35391 (tr_old_malloc_hook): Likewise.
35392 (tr_old_realloc_hook): Likewise.
35393 (tr_old_memalign_hook): Likewise.
35394 (tr_where): Likewise.
35395 (lock_and_info): Likewise.
35396 (tr_freehook): Likewise.
35397 (tr_mallochook): Likewise.
35398 (tr_reallochook): Likewise.
35399 (tr_memalignhook): Likewise.
35400 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
35401 * misc/mmap.c (__mmap): Likewise.
35402 * misc/mmap64.c (__mmap64): Likewise.
35403 * misc/mprotect.c (__mprotect): Likewise.
35404 * misc/msync.c (msync): Likewise.
35405 * misc/munmap.c (__munmap): Likewise.
35406 * posix/posix_madvise.c (posix_madvise): Likewise.
35407 * socket/send.c (__send): Likewise.
35408 * socket/sendto.c (__sendto): Likewise.
35409 * socket/setsockopt.c (__setsockopt): Likewise.
35410 * string/memcmp.c (__ptr_t): Remove macro.
35411 (MEMCMP): Use void * instead of ptr_t.
35412 * string/memrchr.c (__ptr_t): Remove macro.
35413 (__memrchr): Use void * instead of ptr_t.
35414 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
35415 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
35416 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
35417 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
35418 * sysdeps/mach/msync.c (msync): Likewise.
35419 * sysdeps/mach/munmap.c (__munmap): Likewise.
35420 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
35422 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35423 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
35424 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
35425 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
35426 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
35427 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35428 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
35429 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
35431 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35432 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
35433 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
35434 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
35435 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
35436 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
35437 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
35438 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
35439 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
35441 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
35442 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
35443 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
35444 (MEMCMP): Use void * instead of ptr_t.
35445 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
35446 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
35448 2017-08-08 Florian Weimer <fweimer@redhat.com>
35450 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
35453 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
35456 * csu/libc-tls.c: Include <startup.h> first.
35457 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
35458 * elf/dl-tunables.c: Include <startup.h> first.
35459 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
35460 * sysdeps/generic/startup.h: New file.
35461 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
35462 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
35463 (I386_USE_SYSENTER): New. Defined to 0.
35465 2017-08-08 Andreas Schwab <schwab@suse.de>
35468 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
35469 * nptl/pt-system.c (system): Likewise.
35471 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35474 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
35476 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
35477 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
35478 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
35479 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
35480 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
35481 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
35482 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
35484 2017-08-07 Joseph Myers <joseph@codesourcery.com>
35487 * bits/sigaction.h (struct sigaction): Define sa_handler and
35488 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
35489 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35490 [__USE_XOPEN_EXTENDED].
35491 (SA_RESTART): Likewise.
35492 (SA_NODEFER): Likewise.
35493 (SA_RESETHAND): Likewise.
35494 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
35495 (struct sigaction): Define sa_handler and sa_sigaction using union
35496 also for [__USE_XOPEN_EXTENDED].
35497 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35498 [__USE_XOPEN_EXTENDED].
35499 (SA_RESTART): Likewise.
35500 (SA_NODEFER): Likewise.
35501 (SA_RESETHAND): Likewise.
35502 * sysdeps/unix/sysv/linux/bits/sigaction.h
35503 (struct sigaction): Define sa_handler and sa_sigaction using union
35504 also for [__USE_XOPEN_EXTENDED].
35505 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35506 [__USE_XOPEN_EXTENDED].
35507 (SA_RESTART): Likewise.
35508 (SA_NODEFER): Likewise.
35509 (SA_RESETHAND): Likewise.
35510 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
35511 (struct sigaction): Define sa_handler and sa_sigaction using union
35512 also for [__USE_XOPEN_EXTENDED].
35513 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35514 [__USE_XOPEN_EXTENDED].
35515 (SA_RESTART): Likewise.
35516 (SA_NODEFER): Likewise.
35517 (SA_RESETHAND): Likewise.
35518 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
35519 (struct sigaction): Define sa_handler and sa_sigaction using union
35520 also for [__USE_XOPEN_EXTENDED].
35521 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35522 [__USE_XOPEN_EXTENDED].
35523 (SA_RESTART): Likewise.
35524 (SA_NODEFER): Likewise.
35525 (SA_RESETHAND): Likewise.
35526 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35527 (struct sigaction): Define sa_handler and sa_sigaction using union
35528 also for [__USE_XOPEN_EXTENDED].
35529 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35530 [__USE_XOPEN_EXTENDED].
35531 (SA_RESTART): Likewise.
35532 (SA_NODEFER): Likewise.
35533 (SA_RESETHAND): Likewise.
35534 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35535 (struct sigaction): Define sa_handler and sa_sigaction using union
35536 also for [__USE_XOPEN_EXTENDED].
35537 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35538 [__USE_XOPEN_EXTENDED].
35539 (SA_RESTART): Likewise.
35540 (SA_NODEFER): Likewise.
35541 (SA_RESETHAND): Likewise.
35542 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35543 (struct sigaction): Define sa_handler and sa_sigaction using union
35544 also for [__USE_XOPEN_EXTENDED].
35545 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35546 [__USE_XOPEN_EXTENDED].
35547 (SA_RESTART): Likewise.
35548 (SA_NODEFER): Likewise. Define directly rather than as alias.
35549 (SA_RESETHAND): Likewise.
35550 (SA_INTERRUPT): Define only for [__USE_MISC].
35551 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
35552 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
35554 (SA_STACK): Define only for [__USE_MISC].
35555 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
35556 (struct sigaction): Define sa_handler and sa_sigaction using union
35557 also for [__USE_XOPEN_EXTENDED].
35558 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35559 [__USE_XOPEN_EXTENDED].
35560 (SA_RESTART): Likewise.
35561 (SA_NODEFER): Likewise.
35562 (SA_RESETHAND): Likewise.
35563 (SA_NOPTRACE): Define only for [__USE_MISC].
35565 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
35566 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
35567 (struct catalog_info): Likewise.
35568 * inet/htontest.c (lo): Likewise.
35570 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35571 * inet/inet_net.c (inet_network): Likewise.
35572 * inet/inet_netof.c (inet_netof): Likewise.
35573 * inet/rcmd.c (__ivaliduser): Likewise.
35574 (iruserok): Likewise.
35575 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
35576 * locale/programs/locale-spec.c (locale_special): Likewise.
35577 * nis/nis_findserv.c (struct findserv_req): Likewise.
35578 (__nis_findfastest_with_timeout): Likewise.
35579 * nss/test-netdb.c (test_network): Likewise.
35580 * resolv/inet_neta.c (inet_neta): Likewise.
35581 * resolv/ns_date.c (ns_datetosecs): Likewise.
35582 (SECS_PER_DAY): Likewise.
35583 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
35585 * resolv/res_comp.c (__putlong): Likewise.
35586 (__putshort): Likewise.
35587 (_getlong): Likewise.
35588 (_getshort): Likewise.
35589 * resolv/res_debug.c (p_time): Likewise.
35590 (precsize_ntoa): Likewise.
35591 (precsize_aton): Likewise.
35592 (latlon2ul): Likewise.
35593 (loc_aton): Likewise.
35594 (loc_ntoa): Likewise.
35595 * resolv/res_hconf.c (struct netaddr): Likewise.
35596 (_res_hconf_reorder_addrs): Likewise.
35597 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
35598 (clnttcp_control): Likewise.
35599 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35600 (clntudp_control): Likewise.
35601 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
35602 (clntunix_control): Likewise.
35603 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
35604 * sunrpc/rpc/auth.h (union des_block): Likewise.
35605 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
35606 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
35607 (xdrrec_create): Likewise.
35608 (xdrrec_endofrecord): Likewise.
35609 (flush_out): Likewise.
35610 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
35611 (xdrstdio_putlong): Likewise.
35612 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
35615 * misc/sys/cdefs.h (__long_double_t): Remove.
35616 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
35617 instead of __long_double_t,
35618 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
35620 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
35622 * benchtests/scripts/compare_strings.py: Avoid display error when
35623 running on a text terminal.
35625 * benchtests/scripts/compare_strings.py (main): Add an
35626 optional -base option.
35627 (process_results): New argument base_func.
35629 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
35631 * benchtests/bench-memcpy-large.c (test_name): Likewise.
35632 * benchtests/bench-memcpy-random.c (test_name): Likewise.
35634 2017-08-07 Andreas Schwab <schwab@suse.de>
35636 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
35637 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35638 * intl/Makefile ($(objpfx)tst-gettext.out)
35639 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
35640 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
35641 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35642 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35643 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
35644 * posix/Makefile ($(objpfx)globtest.out)
35645 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
35646 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
35647 ($(objpfx)tst-printf.out): Likewise.
35648 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
35649 ($(objpfx)tst-setcontext3.out): Likewise.
35651 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
35653 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35654 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
35655 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
35656 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
35657 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
35659 (CFLAGS-doasin-fma.c): New.
35660 (CFLAGS-dosincos-fma.c): Likewise.
35661 (CFLAGS-e_asin-fma.c): Likewise.
35662 (CFLAGS-e_atan2-fma.c): Likewise.
35663 (CFLAGS-e_exp-fma.c): Likewise.
35664 (CFLAGS-e_log-fma.c): Likewise.
35665 (CFLAGS-e_pow-fma.c): Likewise.
35666 (CFLAGS-halfulp-fma.c): Likewise.
35667 (CFLAGS-mpa-fma.c): Likewise.
35668 (CFLAGS-mpatan-fma.c): Likewise.
35669 (CFLAGS-mpatan2-fma.c): Likewise.
35670 (CFLAGS-mpexp-fma.c): Likewise.
35671 (CFLAGS-mplog-fma.c): Likewise.
35672 (CFLAGS-mpsqrt-fma.c): Likewise.
35673 (CFLAGS-mptan-fma.c): Likewise.
35674 (CFLAGS-s_atan-fma.c): Likewise.
35675 (CFLAGS-sincos32-fma.c): Likewise.
35676 (CFLAGS-slowexp-fma.c): Likewise.
35677 (CFLAGS-slowpow-fma.c): Likewise.
35678 (CFLAGS-s_sin-fma.c): Likewise.
35679 (CFLAGS-s_tan-fma.c): Likewise.
35680 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
35681 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
35682 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
35683 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
35684 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
35685 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
35686 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
35687 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
35688 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
35689 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
35690 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
35691 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
35692 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
35693 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
35694 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
35695 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
35696 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
35697 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
35698 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
35699 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
35700 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
35701 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
35702 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
35703 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
35704 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35705 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35706 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35707 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
35708 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35709 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35710 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35712 2017-08-04 Joseph Myers <joseph@codesourcery.com>
35714 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
35715 (min_of_type_f): New macro.
35716 (min_of_type_): Likewise.
35717 (min_of_type_l): Likewise.
35718 (min_of_type_f128): Likewise.
35719 (min_of_type): Define using __MATH_TG and taking an expression
35721 (math_check_force_underflow): Pass expression instead of type to
35723 (math_check_force_underflow_nonneg): Likewise.
35725 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35727 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35728 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
35729 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
35731 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35734 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
35735 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
35736 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
35737 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
35738 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
35739 memcpy_chk-nonshared, mempcpy_chk-nonshared,
35740 memmove_chk-nonshared and memset_chk-nonshared
35741 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
35742 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
35743 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
35744 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
35745 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
35746 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
35747 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
35748 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
35749 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
35750 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
35751 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
35752 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
35753 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
35754 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
35755 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
35756 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
35757 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
35758 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
35759 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
35760 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
35761 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
35762 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
35763 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
35764 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
35765 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
35766 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
35767 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
35768 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
35769 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
35770 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
35771 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
35772 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
35773 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
35774 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35775 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35776 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
35777 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
35778 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
35779 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
35780 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
35781 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
35782 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
35783 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
35784 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
35785 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
35786 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
35787 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
35788 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
35789 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
35790 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
35791 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
35792 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
35793 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
35794 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
35795 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
35796 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
35797 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
35798 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
35799 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
35800 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
35801 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
35802 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
35803 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
35804 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
35805 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
35806 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
35807 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
35808 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
35809 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
35810 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
35811 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
35812 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35813 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35814 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35815 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35816 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35817 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35818 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35819 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35820 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35821 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35822 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35823 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35824 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35825 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35826 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35827 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35828 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35829 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35830 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35831 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35832 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35833 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35834 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35835 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35836 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35837 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35838 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35839 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35840 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35841 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35842 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35843 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35844 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35845 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35846 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35847 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35848 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35850 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35852 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
35853 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
35854 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
35855 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
35856 svml_d_log2_core-sse2, svml_d_log4_core-sse,
35857 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
35858 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
35859 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
35860 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
35861 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
35862 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
35863 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
35864 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
35865 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
35866 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
35867 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
35868 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
35869 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
35870 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
35871 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
35872 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
35873 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
35874 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
35875 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
35876 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
35877 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
35878 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
35879 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
35880 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
35881 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
35882 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
35883 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
35884 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
35885 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
35886 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
35887 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
35888 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
35889 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
35890 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
35891 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
35892 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
35893 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
35894 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
35895 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
35896 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
35897 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
35898 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
35899 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
35900 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
35901 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
35902 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
35903 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
35904 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
35905 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
35906 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
35907 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
35908 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
35909 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
35910 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
35912 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
35913 Don't include <sysdep.h> nor <init-arch.h>.
35914 (_ZGVbN2v_cos): Removed.
35915 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
35917 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
35918 Don't include <sysdep.h> nor <init-arch.h>.
35919 (_ZGVdN4v_cos): Removed.
35920 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
35922 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
35923 Don't include <sysdep.h> nor <init-arch.h>.
35924 (_ZGVeN8v_cos): Removed.
35925 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
35927 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
35928 Don't include <sysdep.h> nor <init-arch.h>.
35929 (_ZGVbN2v_exp): Removed.
35930 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
35932 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
35933 Don't include <sysdep.h> nor <init-arch.h>.
35934 (_ZGVdN4v_exp): Removed.
35935 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
35937 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
35938 Don't include <sysdep.h> nor <init-arch.h>.
35939 (_ZGVeN8v_exp): Removed.
35940 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
35942 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
35943 Don't include <sysdep.h> nor <init-arch.h>.
35944 (_ZGVbN2v_log): Removed.
35945 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
35947 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
35948 Don't include <sysdep.h> nor <init-arch.h>.
35949 (_ZGVdN4v_log): Removed.
35950 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
35952 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
35953 Don't include <sysdep.h> nor <init-arch.h>.
35954 (_ZGVeN8v_log): Removed.
35955 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
35957 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
35958 Don't include <sysdep.h> nor <init-arch.h>.
35959 (_ZGVbN2vv_pow): Removed.
35960 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
35962 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
35963 Don't include <sysdep.h> nor <init-arch.h>.
35964 (_ZGVdN4vv_pow): Removed.
35965 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
35967 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
35968 Don't include <sysdep.h> nor <init-arch.h>.
35969 (_ZGVeN8vv_pow): Removed.
35970 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
35972 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
35973 Don't include <sysdep.h> nor <init-arch.h>.
35974 (_ZGVbN2v_sin): Removed.
35975 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
35977 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
35978 Don't include <sysdep.h> nor <init-arch.h>.
35979 (_ZGVbN4v_sin): Removed.
35980 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
35982 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
35983 Don't include <sysdep.h> nor <init-arch.h>.
35984 (_ZGVbN8v_sin): Removed.
35985 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
35987 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
35988 Don't include <sysdep.h> nor <init-arch.h>.
35989 (_ZGVbN2vvv_sincos): Removed.
35990 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
35992 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
35993 Don't include <sysdep.h> nor <init-arch.h>.
35994 (_ZGVdN4vvv_sincos): Removed.
35995 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
35997 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
35998 Don't include <sysdep.h> nor <init-arch.h>.
35999 (_ZGVeN8vvv_sincos): Removed.
36000 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
36002 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
36003 Don't include <sysdep.h> nor <init-arch.h>.
36004 (_ZGVeN16v_cosf): Removed.
36005 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
36007 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
36008 Don't include <sysdep.h> nor <init-arch.h>.
36009 (_ZGVbN4v_cosf): Removed.
36010 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
36012 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
36013 Don't include <sysdep.h> nor <init-arch.h>.
36014 (_ZGVdN8v_cosf): Removed.
36015 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
36017 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
36018 Don't include <sysdep.h> nor <init-arch.h>.
36019 (_ZGVeN16v_expf): Removed.
36020 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
36022 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
36023 Don't include <sysdep.h> nor <init-arch.h>.
36024 (_ZGVbN4v_expf): Removed.
36025 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
36027 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
36028 Don't include <sysdep.h> nor <init-arch.h>.
36029 (_ZGVdN8v_expf): Removed.
36030 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
36032 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
36033 Don't include <sysdep.h> nor <init-arch.h>.
36034 (_ZGVeN16v_logf): Removed.
36035 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
36037 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
36038 Don't include <sysdep.h> nor <init-arch.h>.
36039 (_ZGVbN4v_logf): Removed.
36040 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
36042 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
36043 Don't include <sysdep.h> nor <init-arch.h>.
36044 (_ZGVdN8v_logf): Removed.
36045 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
36047 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
36048 Don't include <sysdep.h> nor <init-arch.h>.
36049 (_ZGVeN16vv_powf): Removed.
36050 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
36052 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
36053 Don't include <sysdep.h> nor <init-arch.h>.
36054 (_ZGVbN4vv_powf): Removed.
36055 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
36057 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
36058 Don't include <sysdep.h> nor <init-arch.h>.
36059 (_ZGVdN8vv_powf): Removed.
36060 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
36062 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
36063 Don't include <sysdep.h> nor <init-arch.h>.
36064 (_ZGVeN16vvv_sincosf): Removed.
36065 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
36067 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
36068 Don't include <sysdep.h> nor <init-arch.h>.
36069 (_ZGVbN4vvv_sincosf): Removed.
36070 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
36072 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
36073 Don't include <sysdep.h> nor <init-arch.h>.
36074 (_ZGVdN8vvv_sincosf): Removed.
36075 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
36077 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
36078 Don't include <sysdep.h> nor <init-arch.h>.
36079 (_ZGVeN16v_sinf): Removed.
36080 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
36082 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
36083 Don't include <sysdep.h> nor <init-arch.h>.
36084 (_ZGVbN4v_sinf): Removed.
36085 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
36087 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
36088 Don't include <sysdep.h> nor <init-arch.h>.
36089 (_ZGVdN8v_sinf): Removed.
36091 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36093 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36094 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
36095 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
36096 s_rint-sse4_1 and s_rintf-sse4_1.
36097 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
36098 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
36099 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
36100 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
36101 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
36102 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
36103 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
36104 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
36105 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
36106 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
36107 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
36108 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36110 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
36111 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
36112 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36113 (__ceilf): Removed.
36114 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
36115 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
36116 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36117 (__floor): Removed.
36118 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
36119 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
36120 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36121 (__floorf): Removed.
36122 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
36123 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
36124 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36125 (__nearbyint): Removed.
36126 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
36127 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
36128 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36129 (__nearbyintf): Removed.
36130 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
36131 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
36132 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36134 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
36135 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
36136 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36137 (__rintf): Removed.
36139 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36141 * sysdeps/i386/start.S (_start): Check Check PIC instead of
36142 SHARED. Avoid dynamic relocation against main in static PIE.
36144 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36147 * elf/Makefile (CFLAGS-tst-prelink.c): New.
36148 (LDFLAGS-tst-prelink): Likewise.
36150 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36152 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
36153 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
36154 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
36155 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
36156 (INTERNAL_SYSCALL_NCS): Likewise.
36157 (LOADARGS_1): Likewise.
36158 (LOADARGS_5): Likewise.
36159 (RESTOREARGS_1): Likewise.
36160 (RESTOREARGS_5): Likewise.
36162 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36164 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
36165 (MEMPCPY_SYMBOL): Likewise.
36166 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36167 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
36168 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
36170 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36171 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
36173 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
36174 (__hidden_ver1): Don't use in libc.a.
36175 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
36176 (__mempcpy): Don't create a weak alias in libc.a.
36177 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
36179 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
36180 (__hidden_ver1): Don't use in libc.a.
36182 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36184 * config.make.in (have-insert): New.
36185 * configure.ac (libc_cv_insert): New. Set to yes if linker
36186 supports INSERT in linker script.
36187 (AC_SUBST(libc_cv_insert): New.
36188 * configure: Regenerated.
36189 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
36190 if $(have-insert) == yes.
36192 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36194 * elf/Makefile (tests): Add vismain only if
36195 $(have-protected-data) == yes.
36196 (tests-pie): Likewise.
36198 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36201 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
36202 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
36204 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36207 * sysdeps/i386/i586/memset.S
36208 (__memset_zero_constant_len_parameter): Removed.
36209 * sysdeps/i386/i686/memset.S
36210 (__memset_zero_constant_len_parameter): Likewise.
36211 * sysdeps/i386/i686/multiarch/memset_chk.S
36212 (__memset_zero_constant_len_parameter): Likewise.
36213 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
36216 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36218 * stdlib/getentropy.c (getentropy): Change return type to int.
36220 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36222 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
36224 2017-08-03 Joseph Myers <joseph@codesourcery.com>
36226 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
36228 * math/s_nexttowardf.c (__nexttowardf): Likewise.
36229 * sysdeps/generic/math_private.h (ieee_double_shape_type):
36231 (ieee_float_shape_type): Likewise.
36232 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
36233 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
36234 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36235 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36236 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
36237 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
36238 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
36239 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36240 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
36242 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36243 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
36244 (__ieee754_yn): Likewise.
36245 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36246 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36247 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
36249 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36250 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
36251 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
36252 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
36253 (__erfc): Likewise.
36254 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
36255 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
36256 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
36257 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
36258 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
36259 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
36261 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
36262 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
36263 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
36264 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
36265 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36266 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
36267 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
36268 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
36269 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
36270 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
36271 (__issignaling): Likewise.
36272 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
36273 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
36274 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
36276 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36277 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
36278 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
36279 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
36281 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
36283 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
36284 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
36285 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
36286 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
36287 (__erfcf): Likewise.
36288 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
36289 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
36290 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
36291 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
36293 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
36294 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
36296 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
36297 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
36298 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
36299 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
36300 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
36301 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36302 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
36303 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
36305 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
36307 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
36309 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
36310 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
36312 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36314 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
36315 (__ieee754_ynl): Likewise.
36316 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
36317 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
36319 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
36321 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
36322 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
36323 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36325 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
36326 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
36327 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
36328 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
36329 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
36330 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
36331 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
36332 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
36334 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
36335 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
36336 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
36338 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
36339 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
36340 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
36341 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
36342 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
36343 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36345 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36347 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36349 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36351 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
36352 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36353 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36354 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
36355 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
36356 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
36357 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
36359 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36361 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36362 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36364 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
36365 (__ieee754_remainderl): Likewise.
36366 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36367 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36368 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
36369 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
36371 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
36372 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36374 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36375 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
36376 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
36377 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
36378 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36379 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36381 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
36382 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
36383 (__ieee754_y0l): Likewise.
36386 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36387 (__ieee754_y1l): Likewise.
36390 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
36391 (__ieee754_ynl): Likewise.
36392 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
36393 (__ieee754_lgammal_r): Likewise.
36394 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
36396 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
36397 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
36398 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
36399 (__erfcl): Likewise.
36400 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
36401 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
36403 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
36404 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
36405 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
36406 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
36407 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
36408 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36409 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36411 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
36412 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36413 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
36414 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
36415 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36417 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
36418 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
36420 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
36421 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
36422 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
36423 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36424 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
36426 2017-08-03 Florian Weimer <fweimer@redhat.com>
36429 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
36430 on memory allocation failure.
36432 2017-08-03 Alan Modra <amodra@gmail.com>
36434 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
36435 tst-tlsopt-powerpc.c with function name change and no test harness.
36436 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
36437 Call tls_get_addr_opt_test.
36438 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
36439 (modules-names): Add mod-tlsopt-powerpc.
36440 (mod-tlsopt-powerpc.so-no-z-defs): Define.
36441 (tst-tlsopt-powerpc): Depend on .so.
36442 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
36443 define. Expand use in TLS_GD and TLS_LD.
36445 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36447 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
36449 * sysdeps/posix/shm_open.c: Include <pthread.h>.
36451 2017-08-02 Joseph Myers <joseph@codesourcery.com>
36454 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
36455 comparing size with that of double.
36456 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36457 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36458 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36459 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36460 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36461 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
36462 unsigned __int128 types.
36464 2017-08-02 Steve Ellcey <sellcey@cavium.com>
36466 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
36467 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
36468 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
36469 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
36470 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
36472 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36474 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
36476 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36478 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
36480 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36481 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36482 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36483 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36484 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36485 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36486 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36488 2017-08-02 Joseph Myers <joseph@codesourcery.com>
36491 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
36492 bit-field expressions passed to sizeof or typeof.
36493 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36494 (__TGMATH_F128): Likewise.
36495 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36496 (__TGMATH_CF128): Likewise.
36497 (__TGMATH_UNARY_REAL_ONLY): Likewise.
36498 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
36499 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
36500 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
36501 (__TGMATH_BINARY_REAL_ONLY): Likewise.
36502 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36503 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36504 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36505 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36506 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
36507 (__TGMATH_UNARY_REAL_IMAG): Likewise.
36508 (__TGMATH_UNARY_IMAG): Likewise.
36509 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
36510 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36511 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
36513 (define_vars_for_type): Handle bit_field type specially.
36514 (Tests.__init__): Declare structure with bit-field element.
36516 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36519 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
36520 (MEMCPY_CHK): Define only if SHARED is defined.
36521 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
36523 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
36526 See ChangeLog.18 for earlier changes.