1 2019-07-24 Florian Weimer <fweimer@redhat.com>
3 * scripts/build-many-glibcs.py (Context.checkout): Default to
6 2019-07-24 Florian Weimer <fweimer@redhat.com>
9 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
10 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
11 (sysdep_headers): Add bits/socket-constants.h.
12 (tests-special): Add tst-socket-consts.out.
13 (tst-socket-consts.out): New target.
14 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
15 around <asm/unistd.h>.
16 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
17 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
19 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
20 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
21 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
22 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
23 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
24 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
26 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
28 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
31 * Makefile (testroot.pristine/install.stamp): Pass
32 subdirs='$(all-subdirs)' to make install.
34 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
35 the same arguments used in all tests.
37 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
39 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
41 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
44 * locale/C-translit.h.in: Add Cyrillic transliteration.
46 2019-07-19 Florian Weimer <fweimer@redhat.com>
48 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
50 (fsconfig): Add system call name.
54 (move_mount): Likewise.
55 (open_tree): Likewise.
57 2019-07-18 Carlos O'Donell <carlos@redhat.com>
59 * po/libc.pot: Regenerate.
61 2019-07-18 Mike Crowe <mac@mcrowe.com>
63 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
64 functions recently added to sysdeps/nptl/pthread.h:
65 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
66 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
68 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
69 pthread_cond_clockwait forwarding functions. There are no internal
70 users, so it is unnecessary to expose these functions in libc.so.
71 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
72 unnecessary ptr___pthread_cond_clockwait member.
73 * nptl/nptl-init.c (pthread_functions): Remove assignment of
76 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
79 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
80 begin with an uppercase letter now.
82 (mon): Update from CLDR, reword February from "Kudo" to
83 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
84 and August from "Liiqen" to "Leqeeni".
85 * localedata/locales/aa_ER (mon): Update from CLDR, reword
86 April from "Agda Baxisso" to "Agda Baxis" and August from
87 "Leqeeni" to "Liiqen".
88 * localedata/locales/aa_ER@saaho (mon): Likewise.
89 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
90 abbreviated February from "Kud" to "Nah".
91 (mon): Update from CLDR, reword February from "Kudo" to
92 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
94 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
97 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
99 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
102 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
103 name_mrs, name_miss, and name_ms.
104 * localedata/locales/nl_NL (LC_NAME): Likewise.
106 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
109 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
110 * localedata/locales/en_IE (first_weekday): Likewise.
112 2019-07-12 Mike Crowe <mac@mcrowe.com>
114 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
115 that is only useful if futex_supports_exact_relative_timeouts ()
117 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
119 * sysdeps/nptl/futex-internal.h: Remove comment about relative
120 timeouts potentially being imprecise since it's no longer true.
121 Remove declaration of futex_supports_exact_relative_timeouts.
122 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
123 of futex_supports_exact_relative_timeouts.
125 * NEWS: Mention recently-added pthread_cond_clockwait,
126 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
127 sem_clockwait functions.
129 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
130 works like pthread_mutex_timedlock but takes a clockid parameter to
131 measure the abstime parameter against.
132 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
133 * nptl/DESIGN-systemtap-probes.txt: Likewise.
134 * nptl/pthread_mutex_timedlock.c
135 (__pthread_mutex_clocklock_common): Rename from
136 __pthread_mutex_timedlock and add clockid parameter. Pass this
137 parameter to lll_clocklock and lll_clocklock_elision in place of
138 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
139 LIBC_PROBE and validate clockid parameter before calling
140 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
141 implementation to add LIBC_PROBE and calls
142 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
144 * nptl/Makefile: Add tst-mutex11.c.
145 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
146 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
147 clockid parameters to pthread_mutex_clocklock.
148 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
149 clockid parameter to indicate which clock to be used. Call
150 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
151 (do_test): Call do_test_clock to separately test
152 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
153 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
154 * nptl/tst-mutex9.c: Likewise.
155 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
156 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
158 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
160 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
162 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
164 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
166 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
168 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
170 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
171 (GLIBC_2.30): Likewise.
172 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
173 (GLIBC_2.30): Likewise.
174 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
175 (GLIBC_2.30): Likewise.
176 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
177 (GLIBC_2.30): Likewise.
178 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
179 (GLIBC_2.30): Likewise.
180 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
183 (GLIBC_2.30): Likewise.
184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
185 (GLIBC_2.30): Likewise.
186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
187 (GLIBC_2.30): Likewise.
188 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
189 (GLIBC_2.30): Likewise.
190 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
191 (GLIBC_2.30): Likewise.
192 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
193 (GLIBC_2.30): Likewise.
194 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
196 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
197 (GLIBC_2.30): Likewise.
198 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
199 (GLIBC_2.30): Likewise.
200 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
201 (GLIBC_2.30): Likewise.
202 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
203 (GLIBC_2.30): Likewise.
205 nptl: Rename lll_timedlock to lll_clocklock and add clockid
206 parameter to indicate the clock that the abstime parameter should
207 be measured against in preparation for adding
208 pthread_mutex_clocklock.
209 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
210 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
211 from __lll_timedlock and add clockid parameter.
212 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
214 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
215 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
216 rather than __gettimeofday so that clockid can be used. This means
217 that conversion from struct timeval is no longer required.
218 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
220 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
221 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
222 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
223 from lll_timedlock_elision, add clockid parameter and use
224 meaningful names for other parameters. (__pthread_mutex_timedlock):
225 Pass CLOCK_REALTIME where necessary to lll_clocklock and
226 lll_clocklock_elision.
227 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
228 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
229 clockid parameter. (__lll_clocklock_elision): Rename from
230 __lll_timedlock_elision and add clockid parameter.
231 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
232 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
233 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
234 (__lll_lock_elision): Call __lll_clocklock_elision rather than
235 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
236 (LLL_LOCK): Likewise.
237 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
238 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
240 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
241 pthread_rwlock_clockwrlock which behave like
242 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
243 respectively, except they always measure abstime against the
244 supplied clockid. The functions currently support CLOCK_REALTIME
245 and CLOCK_MONOTONIC and return EINVAL if any other clock is
247 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
248 pthread_wrlock_clockwrlock.
249 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
250 pthread_rwlock_clockwrlock.c.
251 * nptl/pthread_rwlock_clockrdlock.c: Implement
252 pthread_rwlock_clockrdlock.
253 * nptl/pthread_rwlock_clockwrlock.c: Implement
254 pthread_rwlock_clockwrlock.
255 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
256 clockid parameter and verify that it indicates a supported clock on
257 entry so that we fail even if it doesn't end up being used. Pass
258 that clock on to futex_abstimed_wait when necessary.
259 (__pthread_rwlock_wrlock_full): Likewise.
260 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
261 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
262 be used because there's no timeout.
263 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
264 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
265 be used because there is no timeout.
266 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
267 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
269 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
270 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
272 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
273 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
274 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
275 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
276 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
277 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
278 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
279 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
280 (GLIBC_2.30): Likewise.
281 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
282 (GLIBC_2.30): Likewise.
283 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
284 (GLIBC_2.30): Likewise.
285 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
286 (GLIBC_2.30): Likewise.
287 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
288 (GLIBC_2.30): Likewise.
289 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
291 (GLIBC_2.30): Likewise.
292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
293 (GLIBC_2.30): Likewise.
294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
295 (GLIBC_2.30): Likewise.
296 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
297 (GLIBC_2.30): Likewise.
298 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
299 (GLIBC_2.30): Likewise.
300 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
301 (GLIBC_2.30): Likewise.
302 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
303 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
304 (GLIBC_2.30): Likewise.
305 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
306 (GLIBC_2.30): Likewise.
307 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
308 (GLIBC_2.30): Likewise.
309 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
310 (GLIBC_2.30): Likewise.
311 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
312 pthread_rwlock_clockwrlock timeout tests to match the existing
313 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
314 * nptl/tst-rwlock14.c (do_test): Likewise.
315 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
316 ancillary output throughout. (tf): Accept thread_args structure so
317 that rwlock, a clockid and function name can be passed to the
318 thread. (do_test_clock): Rename from do_test. Accept clockid
319 parameter to specify test clock. Use the magic clockid value of
320 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
321 pthread_rwlock_timedwrlock should be tested, otherwise pass the
322 specified clockid to pthread_rwlock_clockrdlock and
323 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
324 (do_test): Call do_test_clock to test each clockid in turn.
325 * nptl/tst-rwlock7.c: Likewise.
326 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
327 thread_args structure so that the (now int) thread number, the
328 clockid and the function name can be passed to the thread.
329 (do_test_clock): Renamed from do_test. Pass the necessary
330 thread_args when creating the reader and writer threads. Use
331 xpthread_create and xpthread_join.
332 (do_test): Call do_test_clock to test each clockid in turn.
333 * manual/threads.texi: Add documentation for
334 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
336 nptl: pthread_rwlock: Move timeout validation into _full functions
337 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
338 Check validity of abstime parameter.
339 (__pthread_rwlock_rwlock_full): Likewise.
340 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
341 Remove check for validity of abstime parameter.
342 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
345 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
346 like pthread_cond_timedwait except it always measures abstime
347 against the supplied clockid.
348 * nptl/Makefile: Add tst-cond26 and tst-cond27
349 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
350 * sysdeps/nptl/pthread.h: Likewise
351 * nptl/forward.c: Add __pthread_cond_clockwait
352 * nptl/forward.c: Likewise
353 * nptl/pthreadP.h: Likewise
354 * sysdeps/nptl/pthread-functions.h: Likewise
355 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
356 clockid parameter and comment describing why we don't need to check
357 its value. Use that value when calling
358 futex_abstimed_wait_cancelable rather than reading the clock from
359 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
360 (__pthread_cond_timedwait): Read clock from flags and pass it to
361 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
362 function with weak alias from pthread_cond_clockwait.
363 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
364 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
365 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
366 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
367 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
368 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
369 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
370 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
371 (GLIBC_2.30): Likewise.
372 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
373 (GLIBC_2.30): Likewise.
374 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
375 (GLIBC_2.30): Likewise.
376 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
377 (GLIBC_2.30): Likewise.
378 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
379 (GLIBC_2.30): Likewise.
380 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
382 (GLIBC_2.30): Likewise.
383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
384 (GLIBC_2.30): Likewise.
385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
386 (GLIBC_2.30): Likewise.
387 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
388 (GLIBC_2.30): Likewise.
389 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
390 (GLIBC_2.30): Likewise.
391 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
392 (GLIBC_2.30): Likewise.
393 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
394 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
395 (GLIBC_2.30): Likewise.
396 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
397 (GLIBC_2.30): Likewise.
398 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
399 (GLIBC_2.30): Likewise.
400 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
401 (GLIBC_2.30): Likewise.
402 * nptl/tst-cond11.c (run_test): Support testing
403 pthread_cond_clockwait too by using a special magic
404 CLOCK_USE_ATTR_CLOCK value to determine whether to call
405 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
406 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
407 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
408 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
409 clocks to pthread_cond_clockwait.
410 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
411 struct timespec and pthread_cond_clockwait.
412 * manual/threads.texi: Document pthread_cond_clockwait.
414 nptl: Add POSIX-proposed sem_clockwait which behaves just like
415 sem_timedwait, but measures abstime against the specified clock.
416 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
417 clockid parameters to indicate the clock which abstime should be
419 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
420 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
422 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
424 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
425 sem_clockwait.c to match those used for sem_timedwait.c.
426 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
427 * nptl/Versions (GLIBC_2.30): Likewise.
428 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
429 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
430 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
431 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
432 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
433 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
434 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
435 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
436 (GLIBC_2.30): Likewise.
437 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
438 (GLIBC_2.30): Likewise.
439 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
440 (GLIBC_2.30): Likewise.
441 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
442 (GLIBC_2.30): Likewise.
443 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
444 (GLIBC_2.30): Likewise.
445 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
447 (GLIBC_2.30): Likewise.
448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
449 (GLIBC_2.30): Likewise.
450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
451 (GLIBC_2.30): Likewise.
452 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
453 (GLIBC_2.30): Likewise.
454 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
455 (GLIBC_2.30): Likewise.
456 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
457 (GLIBC_2.30): Likewise.
458 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
459 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
460 (GLIBC_2.30): Likewise.
461 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
462 (GLIBC_2.30): Likewise.
463 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
464 (GLIBC_2.30): Likewise.
465 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
466 (GLIBC_2.30): Likewise.
467 * nptl/tst-sem17.c: Add new test for passing invalid clock to
469 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
470 tests to also test sem_clockwait.
471 * manual/threads.texi: Document sem_clockwait.
473 nptl: Add clockid parameter to futex timed wait calls
474 * sysdeps/nptl/lowlevellock-futex.h,
475 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
476 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
477 takes a clockid rather than a special clockbit.
478 * sysdeps/nptl/lowlevellock-futex.h: Add
479 lll_futex_supported_clockid so that client functions can check
480 whether their clockid parameter is valid even if they don't
481 ultimately end up calling lll_futex_clock_wait_bitset.
482 * sysdeps/nptl/futex-internal.h,
483 sysdeps/unix/sysv/linux/futex-internal.h
484 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
485 clockid_t parameter to indicate which clock the absolute time
486 passed should be measured against. Pass that clockid onto
487 lll_futex_clock_wait_bitset. Add invalid clock as reason for
489 * sysdeps/nptl/futex-internal.h,
490 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
491 futex_abstimed_supported_clockid so that client functions can check
492 whether their clockid parameter is valid even if they don't
493 ultimately end up calling futex_abstimed_wait.
494 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
495 code to calculate relative timeout for
496 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
497 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
498 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
499 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
500 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
501 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
502 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
504 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
507 * posix/tst-mmap-offset.c: Mention BZ #24699.
508 (do_test_bz21270): Rename to do_test_large_offset and use
509 mmap64_maximum_offset to check for maximum expected offset value.
510 * sysdeps/generic/mmap_info.h: New file.
511 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
512 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
515 2019-07-10 DJ Delorie <dj@redhat.com>
516 Sergei Trofimovich <slyfox@inbox.ru>
520 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
522 * nss/tst-nss-db-endgrent.c: New.
523 * nss/tst-nss-db-endgrent.root: New.
524 * nss/tst-nss-db-endpwent.c: New.
525 * nss/tst-nss-db-endpwent.root: New.
526 * nss/Makefile: Add new tests.
527 * support/links-dso-program-c.c: Add selinux dependency.
528 * support/links-dso-program.cc: Add selinux dependency.
529 * support/Makefile: Build those with -lselinux if enabled.
531 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
533 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
534 DT_AARCH64_VARIANT_PCS check.
535 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
536 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
539 2019-07-10 Andreas Schwab <schwab@suse.de>
542 * malloc/malloc.h (__malloc_check_init): Don't declare.
543 * include/malloc.h (__malloc_check_init): Likewise.
544 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
545 * manual/memory.texi (__malloc_check_init): Don't mention it.
547 2019-07-10 Mao Han <han_mao@c-sky.com>
549 * locale/Makefile: Fix tst-locale-locpath arguments passing.
551 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
553 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
554 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
556 2019-07-08 DJ Delorie <dj@redhat.com>
559 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
560 * io/tst-ftw-lnk.c: New test.
561 * io/Makefile: Run it.
563 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
565 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
566 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
567 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
568 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
569 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
570 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
572 Adjust implementation path.
573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
574 Adjust implementation path.
575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
576 Adjust implementation path.
577 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
578 (libm-sysdep_routines): Add s_log* objects.
579 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
580 CFLAGS-s_logb-power7.c): New fule.
581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
583 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
587 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
590 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
593 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
597 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
600 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
603 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
607 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
610 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
611 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
612 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
613 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
614 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
616 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
617 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
618 powerpc32 integer 0 converting to -0.
620 * benchtests/Makefile (bench-math): Add logb.
621 * benchtests/logb-inputs: New file.
622 * benchtests/logbf-inputs: New file.
624 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
625 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
626 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
627 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
632 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
633 sysdep_routines): Add s_modf* objects.
634 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
635 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
638 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
642 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
645 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
648 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
651 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
654 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
656 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
657 twoM500, twoM600, two60factor, pdnum): Remove.
658 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
659 (__ieee754_hypot): Replace static variables with inline definition,
660 remove ununsed branches.
661 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
662 (libm-sysdep_routines): Remove e_hypot-* objects.
663 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
664 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
666 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
667 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
668 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
669 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
670 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
672 * benchtests/Makefile (bench-math): Add hypot.
673 * benchtests/hypot-inputs: New file.
675 2019-07-08 Vincent Chen <vincentc@andestech.com>
677 * sysdeps/unix/sysv/linux/dl-vdso.h
678 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
680 2019-07-04 Andreas Schwab <schwab@suse.de>
683 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
685 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
687 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
688 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
689 * sysdeps/aarch64/sys/ifunc.h: New file.
690 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
691 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
693 2019-07-01 Florian Weimer <fweimer@redhat.com>
696 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
697 Replace __vfork with __libpthread_version_placeholder for
699 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
700 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
702 * nptl/pt-vfork.c: Remove file.
703 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
704 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
705 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
706 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
707 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
708 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
709 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
710 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
711 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
712 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
713 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
714 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
715 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
716 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
717 Remove vfork, __vfork.
718 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
720 (GLIBC_2.1.2): Replace __vfork with
721 __libpthread_version_placeholder.
722 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
723 Remove vfork, __vfork.
724 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
726 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
728 (GLIBC_2.1.2): Replace __vfork with
729 __libpthread_version_placeholder.
730 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
732 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
733 (GLIBC_2.4): Remove vfork, __vfork.
734 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
735 (GLIBC_2.0): Remove vfork.
736 (GLIBC_2.1.2): Replace __vfork with
737 __libpthread_version_placeholder.
738 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
739 (GLIBC_2.18): Remove vfork, __vfork.
740 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
741 (GLIBC_2.0): Remove vfork.
742 (GLIBC_2.2): Remove __vfork.
743 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
744 (GLIBC_2.2): Remove vfork, __vfork.
745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
746 (GLIBC_2.0): Remove vfork.
747 (GLIBC_2.1.2): Replace __vfork with
748 __libpthread_version_placeholder.
749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
750 (GLIBC_2.3): Remove vfork, __vfork.
751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
752 (GLIBC_2.17): Likewise.
753 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
754 (GLIBC_2.0): Remove vfork.
755 (GLIBC_2.1.2): Replace __vfork with
756 __libpthread_version_placeholder.
757 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
758 (GLIBC_2.2): Remove vfork, __vfork.
759 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
761 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
762 (GLIBC_2.0): Remove vfork.
763 (GLIBC_2.1.2): Replace __vfork with
764 __libpthread_version_placeholder.
765 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
766 (GLIBC_2.2): Remove vfork, __vfork.
767 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
768 (GLIBC_2.2.5): Likewise.
769 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
770 (GLIBC_2.16): Likewise.
771 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
772 Remove __errno_location.
774 2019-07-02 Florian Weimer <fweimer@redhat.com>
777 * malloc/Depend: Add nptl and htl, due to potential indirect
778 libpthread dependency of memusagestat.
780 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
782 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
785 2019-07-01 Florian Weimer <fweimer@redhat.com>
787 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
788 variant for arm-linux-gnueabi.
790 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
793 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
795 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
796 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
797 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
798 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
799 and tst-cet-legacy-mod-6c.
800 (CFLAGS-tst-cet-legacy-5a.c): New.
801 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
802 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
803 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
804 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
805 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
806 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
807 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
808 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
809 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
810 ($(objpfx)tst-cet-legacy-5a): Likewise.
811 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
812 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
813 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
814 ($(objpfx)tst-cet-legacy-5b): Likewise.
815 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
816 (tst-cet-legacy-5b-ENV): Likewise.
817 ($(objpfx)tst-cet-legacy-6a): Likewise.
818 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
819 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
820 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
821 ($(objpfx)tst-cet-legacy-6b): Likewise.
822 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
823 (tst-cet-legacy-6b-ENV): Likewise.
824 * sysdeps/x86/tst-cet-legacy-5.c: New file.
825 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
826 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
827 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
828 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
829 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
830 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
831 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
832 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
833 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
834 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
835 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
836 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
837 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
839 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
841 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
842 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
843 (__fegetround_ISA300) New.
844 (__fegetround_ISA2) New.
845 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
846 (_FPU_MFFS): Move implementation...
848 (_FPU_MFFSL): Move implementation....
849 (_FPU_GET_RC_ISA300): Here. New.
850 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
851 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
852 (fegetenv_status): New.
853 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
854 instead of fegetenv_register().
855 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
857 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
859 * benchtests/bench-math-inlines.c: Increase iterations.
860 * benchtests/bench-memcmp.c: Likewise.
861 * benchtests/bench-rawmemchr.c: Likewise.
862 * benchtests/bench-strcmp.c: Likewise.
863 * benchtests/bench-strcpy_chk.c: Likewise.
864 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
865 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
866 (INNER_LOOP_ITERS_SMALL): Likewise.
867 * benchtests/bench-strncat.c: Increase iterations.
868 * benchtests/bench-strncmp.c: Increase iterations.
869 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
870 * benchtests/bench-strrchr.c: Increase iterations.
871 * benchtests/bench-strstr.c: Keep iterations unchanged.
872 * benchtests/bench-strtod.c: Increase iterations.
874 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
876 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
877 with INNER_LOOP_ITERS_LARGE.
878 * benchtests/bench-memchr.c: Likewise.
879 * benchtests/bench-rawmemchr.c: Likewise.
880 * benchtests/bench-strcat.c: Likewise.
881 * benchtests/bench-strchr.c: Likewise.
882 * benchtests/bench-string.h: Likewise.
883 * benchtests/bench-strlen.c: Likewise.
884 * benchtests/bench-strncpy.c: Likewise.
885 * benchtests/bench-strnlen.c: Likewise.
887 2019-06-28 Florian Weimer <fweimer@redhat.com>
889 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
890 Use mmap instead of malloc. malloc with M_PERTURB writes to the
891 entire allocated memory range.
893 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
895 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
896 (prepare_version_base): New helper inline function.
897 (prepare_version): New macro replacing PREPARE_VERSION.
898 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
900 2019-06-28 Florian Weimer <fweimer@redhat.com>
903 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
904 mismatch in a versioned symbol reference.
905 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
906 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
907 tst-sonamemove-dlopen.
908 (module-names): Add tst-sonamemove-linkmod1,
909 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
910 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
911 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
912 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
913 (tst-sonamemove-runmod1.so): Link against
914 tst-sonamemove-runmod2.so.
915 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
916 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
917 tst-sonamemove-runmod2.so.
918 (tst-sonamemove-dlopen): Link with -ldl.
919 (tst-sonamemove-dlopen.out): Likewise.
920 * elf/tst-sonamemove-link.c: New file.
921 * elf/tst-sonamemove-dlopen.c: Likewise.
922 * elf/tst-sonamemove-linkmod1.c: Likewise.
923 * elf/tst-sonamemove-linkmod1.map: Likewise.
924 * elf/tst-sonamemove-runmod1.c: Likewise.
925 * elf/tst-sonamemove-runmod1.map: Likewise.
926 * elf/tst-sonamemove-runmod2.c: Likewise.
927 * elf/tst-sonamemove-runmod2.map: Likewise.
929 2019-06-28 Florian Weimer <fweimer@redhat.com>
931 * support/xdlfcn.h (xdlvsym): Declare function.
932 * support/xdlfcn.c (xdlvsym): Define funciton.
934 2019-06-28 Florian Weimer <fweimer@redhat.com>
937 io: Remove the copy_file_range emulation.
938 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
939 not define and call copy_file_range_compat.
940 * io/Makefile (tests-static, tests-internal): Do not add
941 tst-copy_file_range-compat.
942 * io/copy_file_range-compat.c: Remove file.
943 * io/copy_file_range.c (copy_file_range): Define as stub.
944 * io/tst-copy_file_range-compat.c: Remove file.
945 * io/tst-copy_file_range.c (xdevfile): Remove variable.
946 (typical_sizes): Update comment. Remove 16K sizes.
947 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
949 (find_maximum_offset, pipe_as_source, pipe_as_destination)
950 (delayed_write_failure_beginning, delayed_write_failure_end)
951 (cross_device_failure, enospc_failure_1, enospc_failure)
952 (oappend_failure): Remove functions.
953 (tests): Adjust test case list.
954 (do_test): Remove file system search code. Check for ENOSYS from
955 copy_file_range. Do not free xdevfile.
956 * manual/llio.texi (Copying File Data): Document ENOSYS error from
957 copy_file_range. Do not document the EXDEV error, which future
958 kernels may not report. Update the wording to reflect that
959 further errors are possible.
960 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
961 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
963 * sysdeps/unix/sysv/linux/arm/kernel-features.h
964 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
966 * sysdeps/unix/sysv/linux/kernel-features.h
967 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
969 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
970 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
972 * sysdeps/unix/sysv/linux/sh/kernel-features.h
973 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
976 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
978 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
979 used as a mask for the mode argument of __vfprintf_internal.
980 * stdio-common/printf-parse.h (printf_arg): New union member:
982 * stdio-common/vfprintf-internal.c
983 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
984 (PARSE_FLOAT_VA_ARG): Likewise.
985 (SETUP_FLOAT128_INFO): Likewise.
986 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
988 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
989 floating-point value to the new union member, pa_float128.
990 (printf_positional): Zero-initialize args_value[cnt] with memset.
992 2019-06-27 Florian Weimer <fweimer@redhat.com>
995 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
996 buffer size if necessary.
997 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
999 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
1001 (large_buffer_checks): Likewise.
1002 (do_test): Call large_buffer_checks.
1004 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
1006 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
1007 * sysdeps/x86/dl-lookupcfg.h: Here.
1008 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
1010 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1012 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1013 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
1014 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
1016 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1017 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1018 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
1019 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1020 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
1022 * sysdeps/powerpc/powerpc32/fpu/Makefile
1023 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
1024 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
1025 and fctidz optimization.
1026 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
1027 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
1028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1029 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
1030 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
1031 CFLAGS-s_lround-power5+.c): New rule.
1032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
1034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
1036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
1038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
1040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
1042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1052 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1053 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
1054 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1055 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
1056 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1057 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1058 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
1060 2019-06-26 Vincent Chen <vincentc@andestech.com>
1062 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
1063 specific system calls, fp_udfiex_crtl and udftrap.
1065 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
1067 * nptl/tst-eintr1.c (tf1): Add return statement.
1068 (do_test): Remove unused th variable.
1070 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
1072 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
1073 Return error if get_character fails.
1075 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
1077 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1079 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
1082 * localedata/locales/szl_PL (day): Use the correct Unicode
1083 sequences instead of non-ASCII characters.
1085 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
1088 * localedata/locales/szl_PL (abday): Spelling corrections.
1092 (alt_mon): This, then apply spelling corrections.
1093 (mon): New entry, month names in the genitive case.
1095 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
1098 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
1099 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
1100 (thousands_sep): Likewise.
1101 (grouping): Set to 3;3.
1103 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
1105 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
1106 PREPARE_VERSION_KNOWN.
1107 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1108 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
1110 (VDSO_HASH_LINUX_2_6_39): Likewise.
1111 (VDSO_NAME_LINUX_4_9): Likewise.
1112 (VDSO_HASH_LINUX_4_9): Likewise.
1113 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
1114 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1115 (_libc_vdso_platform_setup): Likewise.
1116 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
1117 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
1119 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
1122 2019-06-20 Mike Crowe <mac@mcrowe.com>
1124 * nptl/eintr.c: Use libsupport.
1125 * nptl/tst-eintr1.c: Likewise.
1126 * nptl/tst-eintr2.c: Likewise.
1127 * nptl/tst-eintr3.c: Likewise.
1128 * nptl/tst-eintr4.c: Likewise.
1129 * nptl/tst-eintr5.c: Likewise.
1130 * nptl/tst-mutex-errorcheck.c: Likewise.
1131 * nptl/tst-mutex5.c: Likewise.
1133 * support/test-driver.h: Add verbose_printf macro.
1135 * support/xtime.h: Add xclock_now() helper function.
1137 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
1138 Florian Weimer <fweimer@redhat.com>
1141 * libio/genops.c (_IO_unbuffer_all)
1142 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
1143 buffers and access _IO_FILE_complete members of legacy libio streams.
1144 * libio/tst-bz24228.c: New file.
1145 * libio/tst-bz24228.map: Likewise.
1146 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
1147 [build-shared] (generated): Add tst-bz24228.mtrace and
1149 [run-built-tests && build-shared] (tests-special): Add
1150 $(objpfx)tst-bz24228-mem.out.
1151 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
1152 ($(objpfx)tst-bz24228-mem.out): New rule.
1154 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
1156 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
1157 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
1158 (__FPU_MFFSL): Likewise.
1159 (_FPU_SETCW): Likewise.
1161 2019-06-19 Stan Shebs <stanshebs@google.com>
1162 Raoni Fassina Firmino <raoni@linux.ibm.com>
1165 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
1166 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
1167 static-linking version.
1168 * sysdeps/unix/sysv/linux/powerpc/Makefile
1169 (tests-static): Add test-gettimebasefreq-static.
1171 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
1174 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
1177 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
1178 between the currency symbol and the minus sign).
1179 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1181 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
1184 * string/test-strcasestr.c (check_result): Add NULL check.
1185 * nss/tst-field.c (check_rewrite): Likewise.
1186 * benchtests/bench-strstr.c (do_one_test): Likewise.
1187 * string/test-strstr.c (check_result): Likewise.
1188 * argp/argp-test.c (popt): Increase size of buf to 12.
1189 * benchtests/bench-malloc-simple.c (bench):
1190 Do not initialize tests array out of bounds.
1192 2019-06-19 Florian Weimer <fweimer@redhat.com>
1195 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
1198 2019-06-18 Florian Weimer <fweimer@redhat.com>
1201 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
1202 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
1203 fail when called from dlopen.
1204 * elf/Makefile [have-fpie && build-shared] (tests): Add
1206 (tst-dlopen-pie): Link with -ldl.
1207 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
1208 * elf/tst-dlopen-pie.c (do_test): New file.
1210 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1213 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
1214 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
1215 between the currency symbol and the minus sign).
1216 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1217 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
1219 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1221 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
1222 sysdep-rtld-routines): Remove rules.
1223 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
1224 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
1225 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
1226 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
1227 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
1228 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
1229 vDSO path for SHARED.
1230 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
1231 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
1232 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1233 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1234 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
1235 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
1237 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1238 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
1239 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
1240 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
1241 CFLAGS-s_llround-power5+.c): New rule.
1242 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
1244 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
1246 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
1248 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
1250 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
1252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
1253 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
1254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
1255 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
1256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
1257 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
1258 * sysdeps/powerpc/powerpc64/fpu/Makefile
1259 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
1260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1261 (libm-sysdep_routines): Remove s_llround-* objects.
1262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
1264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
1266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
1268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
1270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
1272 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1273 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1274 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
1275 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
1276 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
1277 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
1278 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
1279 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
1280 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1281 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1282 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1283 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1284 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1285 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1287 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
1288 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
1289 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
1290 * sysdeps/powerpc/powerpc32/fpu/Makefile
1291 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
1292 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
1294 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
1295 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
1296 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
1297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1298 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
1299 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
1300 CFLAGS-s_lrint-ppc32.c): New rule.
1301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1311 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1312 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1313 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1314 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
1317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
1319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
1321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
1323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
1326 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1327 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
1329 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
1330 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
1332 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
1334 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
1336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
1337 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
1338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
1339 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
1340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
1341 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
1342 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
1343 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
1344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1345 (libm-sysdep_routines): Remove s_llrint-* objects.
1346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
1348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
1350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1351 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
1352 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
1353 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
1354 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
1355 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
1356 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1357 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
1358 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1359 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1361 2019-06-14 Florian Weimer <fweimer@redhat.com>
1363 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
1364 argument to __glibc_has_include to inhibit macro expansion.
1366 2019-06-14 Florian Weimer <fweimer@redhat.com>
1368 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
1369 function-like macro, so that __has_include can inhibit expansion
1372 2019-06-13 Joseph Myers <joseph@codesourcery.com>
1374 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
1377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1378 Allow memset in libc.so.
1380 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1382 * sysdeps/aarch64/dl-dtprocnum.h: New file.
1383 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
1384 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
1385 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
1386 symbols at load time.
1387 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
1389 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1391 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
1392 (DT_AARCH64_VARIANT_PCS): Define.
1394 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1397 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
1399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
1403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
1404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1407 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1408 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
1409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1410 Remove s_finite* objects.
1411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
1412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
1413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
1414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
1416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1417 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1418 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
1419 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1420 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
1422 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
1423 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
1425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1426 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
1428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
1430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
1432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1436 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1437 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
1438 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1439 Remove s_isinf* and s_isinf* objects.
1440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
1441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
1442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
1443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
1445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1446 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1447 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
1448 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1449 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
1451 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
1452 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
1454 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
1455 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
1456 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1458 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
1460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
1462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
1464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
1466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
1468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
1471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
1474 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1475 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
1476 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1477 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
1478 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1479 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
1480 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
1481 Remove s_isnan-* and s_isnanf-* objects.
1482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
1483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
1484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
1486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
1487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
1488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
1489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1491 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1492 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1493 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1494 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1495 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1496 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
1497 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1498 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
1500 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
1501 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
1503 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
1504 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
1505 CFLAGS-bench-isfinite.c): New rule.
1506 * benchtests/isnan-input: New file.
1507 * benchtests/isinf-input: New file.
1508 * benchtests/isfinite-input: New file.
1510 * sysdeps/powerpc/fpu/s_copysign.c: New file.
1511 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
1512 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
1513 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
1514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1515 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
1517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
1525 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1526 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
1527 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
1528 Remove s_copysign-power6 s_copysign-ppc64.
1529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
1531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
1533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
1535 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1536 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
1537 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1538 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
1540 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
1541 round_to_integer_float, round_mode): Add RINT handling.
1542 (reset_fenv_mode): New symbol.
1543 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
1544 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
1545 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
1546 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1547 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1548 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1550 2019-06-12 Florian Weimer <fweimer@redhat.com>
1553 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
1554 * libio/freopen.c (freopen): Use it.
1556 2019-06-12 Florian Weimer <fweimer@redhat.com>
1558 Linux: Deprecate sysctl.
1559 * include/sysctl.h (__sysctl): Remove declaration.
1560 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
1562 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
1563 (sysctl): Add deprecation attribute.
1564 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
1565 directly, to avoid the deprecation warning. Do not include
1567 (__sysctl): Remove hidden alias.
1569 2019-06-12 Florian Weimer <fweimer@redhat.com>
1571 Linux: Use kernel headers for statx definitions if available.
1572 * include/bits/statx-generic.h: New file.
1573 * include/bits/types/struct_statx.h: Likewise.
1574 * include/bits/types/struct_statx_timestamp.h: Likewise.
1575 * io/Makefile (headers): Add bits/statx-generic.h.
1576 * io/bits/statx-generic.h: New file. Partly copied from
1578 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
1579 define original_statx.
1580 * io/bits/types/struct_statx.h: Likewise.
1581 * io/bits/types/struct_statx_timestamp.h: Likewise.
1582 (statx_generic): Use original_statx.
1583 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
1584 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
1586 2019-06-12 Florian Weimer <fweimer@redhat.com>
1588 * misc/sys/cdefs.h (__glibc_has_include): Define.
1590 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1592 * string/memmem.c (__memmem): Rewrite to improve performance.
1594 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1596 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
1598 (two_way_long_needle): Block inlining.
1599 * string/strstr.c (strstr2): Add new function.
1600 (strstr3): Likewise.
1601 (STRSTR): Completely rewrite strstr to improve performance.
1603 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
1605 * benchtests/bench-strstr.c (test_hard_needle): New function.
1607 2019-06-10 Joseph Myers <joseph@codesourcery.com>
1609 * malloc/tst-calloc.c: Include <libc-diag.h>.
1610 (null_test): Ignore -Wunused-result around calls to calloc.
1611 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
1612 (do_test): Ignore -Wunused-result around call to malloc.
1614 2019-06-07 Florian Weimer <fweimer@redhat.com>
1616 Linux: Add getdents64 system call.
1617 * include/dirnent.h (getdents): Add comment and change buffer
1618 argument type to void *.
1619 (getdents64): Likewise. Add hidden prototype.
1620 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
1622 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
1624 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
1625 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
1626 argument type to void *.
1627 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
1628 Add hidden definition and getdents64 alias.
1629 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1631 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
1632 * manual/filesys.texi (Accessing Directories): Add Low-level
1633 Directory Access node reference.
1634 (Opening a Directory): Cross-reference it.
1635 (Low-level Directory Access): New node.
1636 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1638 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1640 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1641 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1643 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1645 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1647 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1649 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1651 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1653 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1655 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1656 (GLIBC_2.30): Likewise.
1657 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1658 (GLIBC_2.30): Likewise.
1659 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1660 (GLIBC_2.30): Likewise.
1661 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1662 (GLIBC_2.30): Likewise.
1663 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1666 (GLIBC_2.30): Likewise.
1667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1668 (GLIBC_2.30): Likewise.
1669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1670 (GLIBC_2.30): Likewise.
1671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1672 (GLIBC_2.30): Likewise.
1673 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1675 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1677 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1679 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1680 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1682 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1684 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1686 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1689 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
1691 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
1695 (_FPU_GETCW): Use __FPU_MFFS().
1696 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
1698 2019-06-06 Florian Weimer <fweimer@redhat.com>
1700 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
1701 internal GCC preprocessor identifier __has_include__.
1703 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
1705 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
1706 with call to equivalent function.
1708 2019-06-04 Florian Weimer <fweimer@redhat.com>
1710 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
1711 (do_release_shlib): Adjust for __twalk_r.
1712 (__gconv_release_shlib): Call __twalk_r.
1714 2019-06-04 Andreas Schwab <schwab@suse.de>
1717 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
1718 no irreversible characters occurred.
1719 * iconv/gconv_simple.c (internal_ucs4_loop)
1720 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
1721 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
1722 (ucs4_internal_loop_single, internal_ucs4le_loop)
1723 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
1724 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
1725 (ucs4le_internal_loop_single): Add const to outend.
1726 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
1727 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
1728 * iconv/Makefile (tests): Add tst-iconv7.
1729 * iconv/tst-iconv7.c: New file.
1731 2019-06-03 Joseph Myers <joseph@codesourcery.com>
1733 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
1735 2019-06-01 Florian Weimer <fweimer@redhat.com>
1737 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
1738 * sysdeps/unix/sysv/linux/arm/Makefile
1739 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
1740 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
1741 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
1742 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
1743 compatibility symbols.
1745 2019-05-31 Florian Weimer <fweimer@redhat.com>
1747 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
1748 system calls for the arm architecture: breakpoint, get_tls,
1749 set_tls, usr26, usr32.
1751 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1753 * sysdeps/powerpc/Makefile
1754 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
1755 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
1756 Declare '.machine power7' to get support for ldbrx.
1757 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
1758 directive based on the directory of the file.
1759 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1760 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1761 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
1762 '.machine' directive.
1763 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
1764 (VADDUQM_V7_V8): Remove.
1765 (__STRCASECMP): Replace macros with actual instructions.
1766 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
1767 '.machine' directive.
1768 (VCLZD_V8_v7): Remove.
1769 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
1771 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1773 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
1775 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
1777 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1779 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1781 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
1782 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
1783 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
1784 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
1785 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1786 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1788 2019-05-28 mansayk <6688000@gmail.com>
1791 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
1793 2019-05-28 mansayk <6688000@gmail.com>
1796 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
1797 (abmon): Likewise, but remove the trailing dots.
1799 2019-05-28 Joseph Myers <joseph@codesourcery.com>
1801 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
1803 2019-05-27 Florian Weimer <fweimer@redhat.com>
1805 * nptl/nptl-init.c: Add comment.
1807 2019-05-24 Florian Weimer <fweimer@redhat.com>
1809 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
1810 struct in_addr/struct in6_addr alignment.
1812 2019-05-23 Joseph Myers <joseph@codesourcery.com>
1814 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1815 (F_SEAL_FUTURE_WRITE): New macro.
1817 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
1819 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
1820 * elf/tst-ldconfig-bad-aux-cache.c: New file.
1821 * elf/tst-ldconfig_aux-cache.root: New directory.
1822 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
1823 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
1824 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
1826 2019-05-22 Zack Weinberg <zackw@panix.com>
1828 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
1830 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
1831 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
1833 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
1834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
1835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
1838 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
1839 Issue an #error if used with a compiler in SPE-float mode.
1840 * sysdeps/powerpc/powerpc32/__longjmp_common.S
1841 * sysdeps/powerpc/powerpc32/setjmp_common.S
1842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
1845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
1846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1848 Remove code to preserve SPE register state.
1850 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1851 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1852 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
1853 Remove __SPE__ ifndefs.
1855 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
1857 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
1858 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
1859 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
1860 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
1861 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
1862 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
1863 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
1864 (INNER_LOOP_ITERS_MEDIUM): New define.
1865 (INNER_LOOP_ITERS_SMALL): New define.
1866 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
1867 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
1868 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
1869 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
1870 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
1872 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
1874 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
1876 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
1877 (SEMTIMEDOP_IPC_ARGS): Likewise.
1879 2019-05-21 Florian Weimer <fweimer@redhat.com>
1882 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
1883 before updating __counter field and release it afterwards. Add
1885 * iconv/gconv.h (struct __gconv_step): Mention synchronization
1886 requirement for __counter member.
1888 2019-05-21 Florian Weimer <fweimer@redhat.com>
1891 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
1892 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
1893 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
1894 instead of __gconv_release_step.
1895 * libio/Makefile (tests): Add tst-wfile-gconv.
1896 (tests-container): Add tst-wfile-ascii.
1897 (tst-wfile-gconv-ENV): Enable mtrace.
1898 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
1899 (tests-special): Add tst-wfile-gconv-mem.out.
1900 (tst-wfile-gconv.out): Depend on locales.
1901 (tst-wfile-gconv-mem.out): Add mtrace rule.
1902 * libio/tst-wfile-ascii.c: New file.
1903 * libio/tst-wfile-gconv.c: Likewise.
1905 2019-05-20 Florian Weimer <fweimer@redhat.com>
1908 libio: Remove codecvt vtable.
1909 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
1911 * libio/iofgetpos.c (_IO_new_fgetpos): Call
1912 __libio_codecvt_encoding.
1913 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
1914 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1915 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
1916 * libio/iofwide.c (__libio_codecvt): Remove variable.
1917 (_IO_fwide): Do not copy __libio_codecvt.
1918 (__libio_codecvt_out): Rename from do_out and export.
1919 (do_unshift): Remove function.
1920 (__libio_codecvt_in): Rename from do_in and export.
1921 (__libio_codecvt_encoding): Rename from do_encoding and export.
1922 (do_always_noconv): Remove function.
1923 (__libio_codecvt_length): Rename from do_length and export.
1924 (do_max_length): Remove function.
1925 * libio/libio.h (enum __codecvt_result): Remove definition; moved
1927 (struct _IO_codecvt): Remove fields __codecvt_destr,
1928 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
1929 __codecvt_do_encoding, __codecvt_do_always_noconv,
1930 __codecvt_do_length, __codecvt_do_max_length.
1931 * libio/libioP.h (enum __codecvt_result): Define; moved from
1933 (__libio_codecvt_out, __libio_codecvt_in)
1934 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
1936 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
1937 (_IO_wfile_underflow): Call __libio_codecvt_in.
1938 (_IO_wfile_underflow): Likewise.
1939 (_IO_wfile_underflow_mmap): Likewise.
1940 (_IO_wfile_sync): Call __libio_codecvt_encoding,
1941 __libio_codecvt_length.
1942 (adjust_wide_data): Call __libio_codecvt_encoding,
1944 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
1945 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
1946 __libio_codecvt_length.
1948 2019-05-20 Florian Weimer <fweimer@redhat.com>
1950 * support/support.h (support_sbindir_prefix): Declare.
1951 (support_install_rootsbindir): Update comment.
1952 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
1953 * support/support_paths.c (support_sbindir_prefix): Define.
1955 2019-05-20 Mike Crowe <mac@mcrowe.com>
1957 * support/timespec.c: Add backslash to correct newline in failure
1960 * support/timespec.h: Correct confusing comment.
1962 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1964 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
1966 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
1967 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
1968 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
1969 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
1972 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
1975 2019-05-20 Joseph Myers <joseph@codesourcery.com>
1977 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
1978 (NT_ARM_PACG_KEYS): Likewise.
1980 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
1982 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
1983 (tcache_put): Remove redundant assert.
1984 (tcache_get): Remove redundant asserts.
1985 (__libc_malloc): Check tcache count is not zero.
1986 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
1988 2019-05-17 Florian Weimer <fweimer@redhat.com>
1990 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
1992 2019-05-16 Joseph Myers <joseph@codesourcery.com>
1994 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1995 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
1997 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
1999 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2000 (__ASSUME_STATX): Likewise.
2002 2019-05-16 Florian Weimer <fweimer@redhat.com>
2004 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
2006 (LINE_PARSER): Do not map IPv4 addresses.
2007 (internal_nis_gethostent_r): Remove flags argument. Adjust call
2009 (_nss_nis_gethostent_r): Always pass AF_INET to
2010 internal_nis_gethostent_r.
2011 (internal_gethostbyname2_r): Remove flags argument. Adjust call
2013 (_nss_nis_gethostbyname2_r): Adjust call to
2014 internal_nis_gethostent_r.
2015 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
2016 call to internal_nis_gethostent_r.
2017 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
2019 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
2020 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
2021 Remove flags argument. Do not map IPv4 addresses.
2022 (internal_nisplus_gethostent_r): Adjust call to
2023 _nss_nisplus_parse_hostent.
2024 (internal_gethostbyname2_r): Remove flags argument. Adjust call
2025 to _nss_nisplus_parse_hostent.
2026 (_nss_nisplus_gethostbyname2_r): Adjust call to
2027 internal_gethostbyname2_r.
2028 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
2029 Adjust call to internal_gethostbyname2_r.
2030 (_nss_nisplus_gethostbyaddr_r): Adjust call to
2031 _nss_nisplus_parse_hostent.
2032 (_nss_nisplus_gethostbyname4_r): Adjust call to
2033 internal_gethostbyname2_r.
2035 2019-05-16 Florian Weimer <fweimer@redhat.com>
2037 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
2039 (LINE_PARSER): Remove address mapping.
2040 (EXTRA_ARGS_VALUE): Remove flags argument.
2041 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
2042 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
2043 gethostbyname3_multi.
2044 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
2045 _nss_files_gethostbyname3_r.
2046 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
2048 2019-05-16 Florian Weimer <fweimer@redhat.com>
2050 * support/support_test_compare_blob.c (report_blob): Report
2051 incorrect NULL blobs.
2053 2019-05-15 Mark Wielaard <mark@klomp.org>
2056 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
2057 __libc_once_get (once) and static_buf == NULL.
2058 (__dlerror): Check we have a valid key, set result to static_buf
2061 2019-05-15 Andreas Schwab <schwab@suse.de>
2064 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
2065 __codecvt_do_length.
2066 * libio/Makefile (tests): Add tst-wfile-sync.
2067 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
2068 * libio/tst-wfile-sync.c: New file.
2069 * libio/tst-wfile-sync.input: New file.
2071 2019-05-15 Florian Weimer <fweimer@redhat.com>
2073 nss: Turn __nss_database_lookup into a compatibility symbol.
2074 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
2075 __nss_database_lookup.
2076 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
2077 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
2078 __nss_database_lookup.
2079 (__nss_next): Move to …
2080 * nss/compat-lookup.c (nss_next): … here. Change it to fail
2082 (__nss_database_lookup): New function.
2083 * nss/Versions (GLIBC_2.0): Update comment.
2084 (GLIBC_PRIVATE): Export __nss_database_lookup2.
2085 * grp/initgroups.c (internal_getgrouplist): Call
2086 __nss_database_lookup2 instead of __nss_database_lookup.
2087 * nscd/aicache.c (addhstaiX): Likewise.
2088 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2089 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2090 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
2091 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
2092 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
2094 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
2095 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
2096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2098 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
2100 * support/support.h (support_install_rootsbindir): New variable.
2101 * support/support_paths.c: Likewise.
2102 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
2104 2019-05-15 Florian Weimer <fweimer@redhat.com>
2106 * iconv/gconv.h (__gconv_transliterate): Move declaration …
2107 * iconv/gconv_int.h (__gconv_transliterate): … here.
2108 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
2109 * iconv/skeleton.c: Likewise.
2111 2019-05-14 Florian Weimer <fweimer@redhat.com>
2113 Linux: Add the tgkill function.
2114 * bits/signal_ext.h: New file.
2115 * manual/signal.texi (Signaling Another Process): Document tgkill.
2116 * signal/Makefile (headers): Add bits/signal_ext.h.
2117 * signal/signal.h: Include <bits/signal_ext.h>.
2118 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
2119 (tst-tgkill): Link with libpthread.
2120 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
2121 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
2122 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
2123 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2125 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2126 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2127 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2128 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2129 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2130 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2131 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2132 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2133 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2134 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2135 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2137 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2138 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2139 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
2146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
2148 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2149 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2150 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2151 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2152 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2153 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2154 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2155 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2157 2019-05-14 Carlos O'Donell <carlos@redhat.com>
2159 * manual/search.texi (Tree Search Function): Adjust twalk_r
2162 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2165 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
2168 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
2169 * support/support.h (support_bindir_prefix): New variable.
2170 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
2172 * config.make.in (bindir): New variable.
2174 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
2175 (lll_trylock): Call __lll_trylock.
2176 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
2177 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
2178 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2179 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2180 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
2181 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
2182 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2183 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2184 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
2185 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
2186 lowlevellock-futex.h.
2188 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2189 initialization for LLL_LOCK_INITIALIZER different than 0.
2190 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
2191 Assume LLL_LOCK_INITIALIZER being 0.
2192 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
2193 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
2195 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
2196 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
2198 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
2199 Optimize futex call and add systemtap probe.
2201 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
2202 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
2203 __libc_disable_asynccancel, __librt_enable_asynccancel,
2204 __libc_disable_asynccancel, __librt_enable_asynccancel,
2205 __librt_disable_asynccancel): Move to ...
2206 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
2207 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
2208 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
2209 * sysdeps/generic/single-thread.h: New file.
2210 * sysdeps/unix/sysdep.h: Include single-thread.h.
2211 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
2212 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2214 2019-05-08 Mike FABIAN <mfabian@redhat.com>
2217 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
2218 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2220 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2221 * localedata/unicode-gen/PropList.txt: Likewise.
2222 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2223 * localedata/charmaps/UTF-8: Regenerate.
2224 * localedata/locales/i18n_ctype: Likewise.
2225 * localedata/locales/tr_TR: Likewise.
2226 * localedata/locales/translit_circle: Likewise.
2227 * localedata/locales/translit_cjk_compat: Likewise.
2228 * localedata/locales/translit_combining: Likewise.
2229 * localedata/locales/translit_compat: Likewise.
2230 * localedata/locales/translit_font: Likewise.
2231 * localedata/locales/translit_fraction: Likewise.
2233 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
2236 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
2237 (do_set_tcache_count): Only update if count is small enough.
2238 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
2240 2019-05-10 Florian Weimer <fweimer@redhat.com>
2242 * nptl/sem_close.c (struct walk_closure): Define.
2243 (walker): Adjust for __twalk_r.
2244 (sem_close): Call __twalk_r.
2246 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2248 * support/timespec.c (test_timespec_before_impl,
2249 test_timespec_equal_or_after_impl): print timespec member as intmax_t
2252 2019-05-09 Mike Crowe <mac@mcrowe.com>
2254 * nptl/tst-abstime.c: Use libsupport.
2256 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
2257 small bug where only tv.tv_usec was checked which could cause an
2258 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
2261 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
2264 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
2265 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
2267 * nptl/tst-cond11.c: Use libsupport.
2269 * support/timespec.h: New file. Provide timespec helper functions
2270 along with macros in the style of those in check.h.
2271 * support/timespec.c: New file. Implement check functions declared
2272 in support/timespec.h.
2273 * support/timespec-add.c: New file from gnulib containing
2274 timespec_add implementation that handles overflow.
2275 * support/timespec-sub.c: New file from gnulib containing
2276 timespec_sub implementation that handles overflow.
2277 * support/README: Mention timespec.h.
2279 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2282 * nptl/Makefile: Move tst-eintr1 to xtests.
2284 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2286 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
2288 (round_mode): Add definition for TRUNC.
2289 * sysdeps/powerpc/fpu/s_trunc.c: New file.
2290 * sysdeps/powerpc/fpu/s_truncf.c: New file.
2291 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
2292 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2293 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
2295 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
2297 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
2299 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2301 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
2303 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
2305 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
2307 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
2309 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
2310 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
2311 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2312 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
2313 s_truncf-power5+, and s_truncf-ppc64.
2314 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
2315 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
2317 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
2318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
2319 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
2320 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
2322 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
2324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
2325 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
2326 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2327 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
2328 s_truncf-power5+, and s_truncf-ppc64.
2329 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
2331 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
2332 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
2334 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
2335 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2336 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2337 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2338 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2340 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2342 (round_mode): Add definition for ROUND.
2343 (round_to_integer_float): Likewise.
2344 * sysdeps/powerpc/fpu/s_round.c: New file.
2345 * sysdeps/powerpc/fpu/s_roundf.c: New file.
2346 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
2347 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2348 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
2350 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
2352 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
2354 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2356 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
2358 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
2360 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
2362 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
2364 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
2365 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
2366 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2367 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
2368 s_roundf-power5+, and s_roundf-ppc64.
2369 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
2370 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
2372 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
2373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
2374 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
2375 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
2377 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
2379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
2380 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
2381 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2382 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
2383 s_roundf-power5+, and s_roundf-ppc64.
2384 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
2386 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
2387 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
2389 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
2390 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2391 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2392 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2393 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2395 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
2397 (round_mode): Add definition for FLOOR.
2398 * sysdeps/powerpc/fpu/s_floor.c: New file.
2399 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
2400 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
2401 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
2406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
2412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
2414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
2416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
2418 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
2419 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
2420 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2421 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
2422 s_floorf-power5+, and s_floorf-ppc64.
2423 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
2424 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
2426 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
2427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
2428 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
2429 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
2431 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
2433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
2434 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
2435 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2436 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
2437 s_floorf-power5+, and s_floorf-ppc64.
2438 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
2440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
2442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
2444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
2446 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2447 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2448 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2449 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2451 2019-05-08 Mike Crowe <mac@mcrowe.com>
2453 * support/xclock_gettime.c (xclock_gettime): New file. Provide
2454 clock_gettime wrapper for use in tests that fails the test rather
2455 than returning failure.
2457 * support/xtime.h: New file to declare xclock_gettime.
2459 * support/Makefile: Add xclock_gettime.c.
2461 * support/README: Mention xtime.h.
2463 2019-05-08 Florian Weimer <fweimer@redhat.com>
2465 malloc/tst-mallocfork2: Use process-shared barriers.
2466 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
2467 (signal_count, sigusr1_sender_pid): Remove.
2468 (iterations): Define constant.
2469 (shared): New variable.
2470 (sigusr1_received): Update comment.
2471 (sigusr1_handler): Do not send SIGSTOP to the sender process.
2472 (signal_sender): Optional use barriers to avoid sending signals
2473 during irrelevant times.
2474 (do_it): Initialize variable shared. Use xfork for error
2475 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
2476 the iteration count, independent of signal delivery. Check for
2477 deadlocks in fork. Introduce barriers for reducing signal
2478 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
2479 replaced by the barriers. Count signals during fork/free/malloc
2481 * malloc/Makefile (tst-mallocfork): Link with libpthread.
2483 2019-05-07 Joseph Myers <joseph@codesourcery.com>
2485 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2487 (clock_adjtime64) New syscall.
2488 (clock_getres_time64) Likewise.
2489 (clock_gettime64) Likewise.
2490 (clock_nanosleep_time64) Likewise.
2491 (clock_settime64) Likewise.
2492 (futex_time64) Likewise.
2493 (io_pgetevents_time64) Likewise.
2494 (io_uring_enter) Likewise.
2495 (io_uring_register) Likewise.
2496 (io_uring_setup) Likewise.
2497 (mq_timedreceive_time64) Likewise.
2498 (mq_timedsend_time64) Likewise.
2499 (pidfd_send_signal) Likewise.
2500 (ppoll_time64) Likewise.
2501 (pselect6_time64) Likewise.
2502 (recvmmsg_time64) Likewise.
2503 (rt_sigtimedwait_time64) Likewise.
2504 (sched_rr_get_interval_time64) Likewise.
2505 (semtimedop_time64) Likewise.
2506 (timer_gettime64) Likewise.
2507 (timer_settime64) Likewise.
2508 (timerfd_gettime64) Likewise.
2509 (timerfd_settime64) Likewise.
2510 (utimensat_time64) Likewise.
2512 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
2513 version to 9 branch.
2515 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2517 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
2518 __memmove_thunderx2 to the list of implementations
2519 * sysdeps/aarch64/multiarch/memmove.c: Likewise
2520 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
2521 (__memmove_thunderx2): Rewritten using SIMD ld/st
2522 (__memcpy_thunderx2): Fixed handling overlapping cases.
2523 Used ldp/stp instead of ldr/str if possible. Made loops
2526 2019-05-03 Florian Weimer <fweimer@redhat.com>
2528 * misc/tst-tsearch.c (walk_tree): Add more error checking.
2530 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2533 * elf/tst-pldd.c (in_str_list): New function.
2534 (do_test): Add default names for ld and libc as one option.
2536 2019-05-02 Florian Weimer <fweimer@redhat.com>
2538 misc: Add twalk_r function.
2539 * include/search.h (__twalk_r): Declare.
2540 * manual/examples/twalk.c: New file.
2541 * manual/search.texi (Tree Search Function): Document twalk_r.
2542 * misc/Versions (2.30): Export twalk_r.
2543 (GLIBC_PRIVATE): Export __twalk_r.
2544 * misc/search.h [__USE_GNU] (twalk_r): Declare.
2545 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
2546 (twalk_r): Add weak alias.
2547 * misc/tst-tsearch.c (struct walk_trace_element): Define.
2548 (walk_trace): New variable.
2549 (struct twalk_with_twalk_r_closure): Define.
2550 (twalk_with_twalk_r_action): New function.
2551 (twalk_with_twalk_r): Likewise.
2552 (walk_action): Call walk_trace_add.
2553 (walk_tree_with): Rename from walk_tree. Add walk argument.
2554 (walk_tree): New function.
2555 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
2556 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2558 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2560 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2561 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
2562 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
2563 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
2564 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
2565 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2567 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2569 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2571 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2572 (GLIBC_2.30): Likewise.
2573 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2574 (GLIBC_2.30): Likewise.
2575 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2576 (GLIBC_2.30): Likewise.
2577 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2578 (GLIBC_2.30): Likewise.
2579 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2582 (GLIBC_2.30): Likewise.
2583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2584 (GLIBC_2.30): Likewise.
2585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2586 (GLIBC_2.30): Likewise.
2587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2588 (GLIBC_2.30): Likewise.
2589 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2591 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2593 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2595 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2596 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2598 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2600 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2602 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2605 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
2607 Make mktime etc. compatible with __time64_t
2608 Keep these functions compatible with Gnulib while adding
2609 __time64_t support. The basic idea is to move private API
2610 declarations from include/time.h to time/mktime-internal.h, since
2611 the former file cannot easily be shared with Gnulib whereas the
2613 Also, do some other minor cleanup while in the neighborhood.
2614 * include/time.h: Include stdbool.h, time/mktime-internal.h.
2615 (__mktime_internal): Move this prototype to time/mktime-internal.h,
2616 since Gnulib needs it.
2617 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
2618 Move these macros to time/mktime-internal.h, since Gnulib needs them.
2619 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
2620 (in_time_t_range): New static function.
2621 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
2622 so that glibc users are not tempted to use __time64_t.
2623 * time/mktime-internal.h: Rewrite so that it does both glibc
2624 and Gnulib work. Include time.h if not _LIBC.
2625 (mktime_offset_t) [!_LIBC]: Define for gnulib.
2626 (__time64_t): New type or macro, moved here from
2628 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
2629 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
2630 from include/time.h.
2631 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
2632 New macros, taken from GNulib.
2633 (__mktime_internal): New prototype, moved here from include/time.h.
2634 * time/mktime.c (mktime_min, mktime_max, convert_time)
2635 (ranged_convert, __mktime_internal, __mktime64):
2636 * time/timegm.c (__timegm64):
2637 Use __time64_t, not time_t.
2638 * time/mktime.c: Stop worrying about whether time_t is floating-point.
2639 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
2641 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
2642 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
2643 for libc_hidden_def.
2645 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
2647 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
2649 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
2652 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
2653 from `-Wmaybe-uninitialized'.
2654 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
2656 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2658 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
2660 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
2661 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
2662 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
2663 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
2664 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2666 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
2667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
2671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
2675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
2677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
2679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
2681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
2683 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
2684 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
2685 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
2686 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
2688 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
2690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
2691 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
2692 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
2694 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
2696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
2697 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
2699 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2700 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
2701 s_ceilf-power5+, and s_ceilf-ppc64.
2702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
2704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
2705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
2706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
2707 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2708 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2709 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2710 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2712 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
2713 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
2714 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
2716 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
2718 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
2719 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
2720 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
2721 (sem_getvalue): Likewise.
2723 2019-04-26 Florian Weimer <fweimer@redhat.com>
2725 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
2726 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
2728 2019-04-26 Florian Weimer <fweimer@redhat.com>
2730 Makeconfig: Move -Wl,-rpath-link options before library references.
2731 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
2732 (link-libc): Remove $(link-libc-rpath-link).
2734 2019-04-25 Florian Weimer <fweimer@redhat.com>
2736 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2737 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2738 (+link-static-before-libc): Remove $(CC).
2739 (+link-static, +link-static-tests): Add $(CC).
2740 (+link-before-libc): Remove $(CC).
2741 (+link, +link-pie, +link-pie-printers): Add $(CC).
2743 2019-04-26 Florian Weimer <fweimer@redhat.com>
2745 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2746 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2747 (+link-static-before-libc): Remove $(CC).
2748 (+link-static, +link-static-tests): Add $(CC).
2749 (+link-before-libc): Remove $(CC).
2750 (+link, +link-pie, +link-pie-printers): Add $(CC).
2752 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
2755 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
2757 2019-04-25 Florian Weimer <fweimer@redhat.com>
2759 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
2760 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
2761 (bench-link-targets): New variable.
2762 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
2764 2019-04-25 Florian Weimer <fweimer@redhat.com>
2766 Also enable BIND_NOW for programs if --enable-bind-now.
2767 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
2768 (+link-pie): Use $(link-extra-flags).
2769 (+link-static): Likewise.
2770 [! $(build-pie-default)] (+link): Likewise.
2771 * manual/install.texi (Configuring and compiling): Update
2772 --enable-bind-now description.
2773 * INSTALL: Regenerated.
2775 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
2777 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
2778 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
2780 2019-04-24 Mike Frysinger <vapier@gentoo.org>
2783 * malloc/Makefile (others): Add memusagestat.
2784 ($(objpfx)memusagestat): Delete rule.
2785 (LDLIBS-memusagestat): New variable.
2787 2019-04-24 Florian Weimer <fweimer@redhat.com>
2789 * locale/Makefile (tests-special): Guard setting by
2790 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
2791 to run while cross-compiling.
2793 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2796 * elf/Makefile (tests-container): Add tst-pldd.
2797 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
2798 (E(find_maps)): Avoid use alloca, use default read file operations
2799 instead of explicit LFS names, and fix infinite loop.
2800 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
2801 (get_process_info): Use _Static_assert instead of assert, use default
2802 directory operations instead of explicit LFS names, and free some
2804 * elf/tst-pldd.c: New file.
2806 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
2808 * malloc/arena.c (do_set_mallopt_check): Removed.
2810 2019-04-23 Florian Weimer <fweimer@redhat.com>
2812 locale: Add LOCPATH diagnostics to the locale program.
2813 * locale/programs/locale.c (setlocale_failed): New variable.
2814 (try_setlocale): New function.
2815 (quote_string): Likewise.
2816 (setlocale_diagnostics): Likewise.
2817 (main): Call try_setlocale instead of setlocale. Call
2818 setlocale_diagnostics.
2819 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
2820 (tst-locale-locpath.out): New target.
2821 * locale/tst-locale-locpath.sh: New file.
2823 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2825 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
2828 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2831 * malloc/hooks.c (malloc_check, realloc_check): Use
2832 __builtin_add_overflow on overflow check and adapt to
2833 checked_request2size change.
2834 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
2835 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
2836 allocation size to PTRDIFF_MAX.
2837 (REQUEST_OUT_OF_RANGE): Remove macro.
2838 (checked_request2size): Change to inline function and limit maximum
2839 requested size to PTRDIFF_MAX.
2840 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
2841 maximum allocation size to PTRDIFF_MAX.
2842 (_mid_memalign): Use _int_memalign call for overflow check.
2843 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
2844 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
2845 limit maximum requested size to PTRDIFF_MAX.
2846 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
2847 valloc, pvalloc): Add __attribute_alloc_size__.
2848 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
2849 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
2850 larger than PTRDIFF_MAX.
2851 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
2852 around tests of malloc with negative sizes.
2853 * malloc/tst-posix_memalign.c (do_test): Likewise.
2854 * malloc/tst-pvalloc.c (do_test): Likewise.
2855 * malloc/tst-valloc.c (do_test): Likewise.
2856 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
2857 with resulting size allocation larger than PTRDIFF_MAX with
2858 reallocarray_nowarn.
2859 (reallocarray_nowarn): New function.
2860 * NEWS: Mention the malloc function semantic change.
2862 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2864 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
2865 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2867 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
2868 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2869 * sysdeps/powerpc/fpu/s_fma.c: New file.
2870 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2872 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
2873 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
2875 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
2876 the magic flag store.
2877 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2879 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
2881 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
2882 Remove rt_sigreturn call.
2884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2885 Remove rt_sigreturn call.
2886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
2889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2891 * support/Makefile (libsupport-routines): Add support_subprocess,
2892 xposix_spawn, xposix_spawn_file_actions_addclose, and
2893 xposix_spawn_file_actions_adddup2.
2894 (tst-support_capture_subprocess-ARGS): New rule.
2895 * support/capture_subprocess.h (support_capture_subprogram): New
2897 * support/support_capture_subprocess.c (support_capture_subprocess):
2898 Refactor to use support_subprocess and support_capture_poll.
2899 (support_capture_subprogram): New function.
2900 * support/tst-support_capture_subprocess.c (write_mode_to_str,
2901 str_to_write_mode, test_common, parse_int, handle_restart,
2902 do_subprocess, do_subprogram, do_multiple_tests): New functions.
2903 (do_test): Add support_capture_subprogram tests.
2904 * support/subprocess.h: New file.
2905 * support/support_subprocess.c: Likewise.
2906 * support/xposix_spawn.c: Likewise.
2907 * support/xposix_spawn_file_actions_addclose.c: Likewise.
2908 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
2909 * support/xspawn.h: Likewise.
2911 2019-04-17 Mike Gerow <gerow@google.com>
2913 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
2916 2019-04-11 Florian Weimer <fweimer@redhat.com>
2918 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
2919 domain with empty string.
2920 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2922 2019-04-11 Florian Weimer <fweimer@redhat.com>
2924 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
2926 (alloc_buffer_next): Change return type to non-const. Update
2929 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
2931 * manual/time.texi (Formatting Calendar Time): Add missing percent
2932 sign to conversion specifier.
2934 2019-04-09 Carlos O'Donell <carlos@redhat.com>
2935 Kwok Cheung Yeung <kcy@codesourcery.com>
2938 * malloc/mtrace.c: Define prototypes for all hooks.
2939 (set_default_hooks): New function.
2940 (set_trace_hooks): Likewise.
2941 (save_default_hooks): Likewise.
2942 (tr_freehook): Use new s*_hooks functions.
2943 (tr_mallochook): Likewise.
2944 (tr_reallochook): Likewise.
2945 (tr_memalignhook): Likewise.
2947 (muntrace): Likewise.
2949 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2951 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
2952 (generic_stpcpy): New function.
2953 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
2954 (generic_stpncpy): New function.
2955 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
2956 (generic_strcat): New function.
2957 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
2958 (generic_strcpy): New function.
2959 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
2960 (STUPID_STRNCAT): Remove function.
2961 (generic_strncat): New function.
2962 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
2963 (STUPID_STRNCPY): Remove function.
2964 (generic_strncpy): New function.
2965 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
2966 (generic_strnlen): New function.
2967 (memchr_strnlen): New function.
2968 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
2969 (memchr_strlen): Likewise.
2971 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2973 * benchtests/bench-strstr.c (input): Add realistic input text.
2974 (stupid_strstr): Remove function.
2975 (basic_strstr): Add function.
2976 (twoway_strstr): Add function.
2977 (do_one_test): Add result checking.
2978 (do_test): Use new input text. Remove accidental early matches.
2979 (test_main): Improve range of tests, reduce unaligned cases.
2981 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2983 * benchtests/bench-memmem.c (simple_memmem): Remove function.
2984 (basic_memmem): Add function.
2985 (twoway_memmem): Add function.
2987 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2989 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
2990 * benchtests/bench-malloc-thread.c: Likewise.
2991 * benchtests/bench-skeleton.c: Likewise.
2992 * benchtests/bench-strtod.c: Likewise.
2993 * benchtests/bench-timing.h: Likewise.
2995 2019-04-08 Florian Weimer <fweimer@redhat.com>
2997 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
2999 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
3000 RES_INSECURE2 security checks.
3001 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
3002 RES_INSECURE2 handling.
3004 2019-04-08 Florian Weimer <fweimer@redhat.com>
3006 resolv: Remove support for RES_USE_INET6 and the inet6 option.
3007 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
3008 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
3010 * resolv/Makefile (tests): Remove tst-res_use_inet6.
3011 (tests-internal): Update justification for tst-resolv-res_init,
3012 tst-resolv-res_init-thread.
3013 (tst-res_use_inet6): Remove target.
3014 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
3015 * resolv/res_debug.c (p_option): Remove "inet6" support.
3016 * resolv/res_init.c (res_setoptions): Likewise.
3017 * resolv/res_use_inet6.h: Remove file.
3018 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
3020 (res_use_inet6): Always return false.
3021 * resolv/resolv.h (RES_USE_INET6): Remove definition.
3022 * resolv/resolv_context.h: Adjust file comment.
3023 (struct resolv_context): Update comment on __next field.
3024 (__resolv_context_put): Update comment.
3025 * resolv/tst-res_use_inet6.c: Remove file.
3026 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
3028 (test_cases): Adjust test case.
3029 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
3030 (thread_byname2_af_inet6): Use old byname_inet6 code.
3031 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
3032 (gai): Remove do_inet6 argument.
3033 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
3034 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
3035 (thread_gai_unspec_inet6): Remove functions.
3036 (do_test): Adjust thread_funcs.
3037 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
3039 (gaih_inet): Do not disable RES_USE_INET6 flag.
3041 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3043 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
3044 and remove redundant code.
3046 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3048 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
3050 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
3051 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
3053 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
3055 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
3057 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3058 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
3059 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
3060 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
3061 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3062 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
3063 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3064 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
3066 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
3067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3068 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3069 Remove wcsrchr optimizations.
3070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3072 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
3075 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
3077 * sysdeps/powerpc/power6/wcschr.c: Remove file.
3078 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
3080 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
3082 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
3084 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3085 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
3086 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
3087 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
3088 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3089 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
3090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3091 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
3093 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
3094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3095 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3096 Remove wcschr optimizations.
3097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3099 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
3102 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
3104 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
3105 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
3107 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
3109 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
3111 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3112 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
3113 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
3114 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
3115 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3116 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
3117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3118 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
3120 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
3121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3122 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3123 Remove wcscpy optimizations.
3124 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3126 * include/loop_unroll.h: New file.
3127 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
3128 besides generic implementation.
3130 2019-04-03 DJ Delorie <dj@redhat.com>
3132 * time/tst-strftime3.c (tm_to_printed): Disable warning about
3133 snprintf truncating output.
3135 2019-04-02 DJ Delorie <dj@redhat.com>
3137 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
3140 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3143 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
3145 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
3146 (mkreftable): Add rules for the new Japanese era and the new dates.
3148 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3149 Rafal Luzynski <digitalfreak@lingonborough.com>
3151 * time/tst-strftime2.c (date_t): Explicitly define the type.
3152 (dates): Use natural month and year numbers to express a date.
3153 (is_before): New function to compare dates.
3154 (mkreftable): Minor improvements to simplify maintenance.
3155 (do_test): Reflect the changes in dates array.
3158 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
3159 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
3160 * time/tst-strftime2.c (locales): Likewise.
3161 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
3162 2010-04-01, and 2011-04-01.
3163 (mkreftable): Add rules for the new locales and the new dates.
3165 2019-04-01 Carlos O'Donell <carlos@redhat.com>
3167 * localedata/locales/ja_JP: Add comments to era entries.
3169 2019-04-01 DJ Delorie <dj@redhat.com>
3172 * time/strptime_l.c (%Ey): Fix fencepost error.
3173 * time/tst-strftime3.c: New.
3174 * time/Makefile (tests): Add tst-strftime3.
3176 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
3178 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
3179 conditional branch to DIVBYZERO. Fix unwind info.
3180 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
3181 excb after conditional branch to $powerof2. Add missing unop
3182 instructions and .align directives and reorder instructions to
3185 2019-04-01 Richard Henderson <rth@twiddle.net>
3187 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3189 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
3192 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
3194 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
3195 $libc_cv_riscv_float_abi in `test' invocation.
3196 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
3198 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
3200 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
3202 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
3204 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3205 (_GET_SI_FPSCR): Likewise.
3206 (_SET_SI_FPSCR): Likewise.
3208 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3210 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
3212 (signbit): Use builtin for clang 3.3.
3213 (isinf): Use builtin for clang 3.7.
3215 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3217 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
3219 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
3221 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
3224 2019-03-25 Mike Crowe <mac@mcrowe.com>
3226 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
3227 pthread_rwlock_timedrdlock with calls to
3228 pthread_rwlock_timedwrlock to ensure that the latter is tested
3229 too. Use new function name in diagnostic messages too.
3231 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
3232 (do_test) Use libsupport test macros rather than hand-coded
3233 conditionals and error messages. Ensure that sem_init returns zero
3234 rather than not -1. Use <support/test-driver.c> rather than
3237 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
3238 test macros rather than hand-coded conditionals and error messages.
3239 Use <support/test-driver.c> rather than test-skeleton.c.
3241 2019-03-25 Joseph Myers <joseph@codesourcery.com>
3243 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
3245 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
3246 (NT_MIPS_MSA): Likewise.
3248 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3250 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
3251 * benchtests/README: Update description.
3252 * benchtests/bench-timing.h: Default to hp-timing.
3253 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
3254 HP_TIMING_PRINT): Remove.
3255 (HP_TIMING_NOW): Add generic implementation.
3256 (hp_timing_t): Change to uint64_t.
3258 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
3260 * nptl/descr.h: Likewise.
3261 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
3262 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
3263 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
3264 Abstract hp-timing usage with RTLD_* macros.
3265 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
3266 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
3267 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
3268 HP_TIMING_NONAVAIL): Likewise.
3269 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3271 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
3272 HP_SMALL_TIMING_AVAIL): Likewise.
3273 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
3274 HP_SMALL_TIMING_AVAIL): Likewise.
3275 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
3276 HP_SMALL_TIMING_AVAIL): Likewise.
3277 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
3278 HP_SMALL_TIMING_AVAIL): Likewise.
3279 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3281 * sysdeps/generic/hp-timing-common.h: Update comment with
3282 HP_TIMING_AVAIL removal.
3284 * include/random-bits.h: New file.
3285 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
3286 (__res_context_mkquery): Remove usage hp-timing usage and replace with
3288 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
3289 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
3292 * include/libc-internal.h (__get_clockfreq): Remove prototype.
3293 * rt/Makefile (clock-routines): Remove get_clockfreq.
3294 * rt/get_clockfreq.c: Remove file.
3295 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
3296 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
3297 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
3298 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
3299 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
3301 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
3302 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
3303 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
3304 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
3305 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
3307 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
3308 pthread_clock_settime.
3309 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
3310 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
3311 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
3312 * elf/rtld.c (_dl_start_final): Likewise.
3313 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
3314 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
3316 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
3317 (_dl_cpuclock_offset): Remove.
3318 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
3319 cpuclock_offset_ununsed.
3320 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3321 cpuclock_offset set.
3322 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3323 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3324 * nptl/pthread_clock_gettime.c: Remove file.
3325 * nptl/pthread_clock_settime.c: Likewise.
3326 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
3327 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
3328 and CLOCK_PROCESS_CPUTIME_ID support.
3329 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
3330 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
3331 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
3332 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
3333 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
3335 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
3337 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3339 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
3340 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
3341 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
3343 * sysdeps/s390/memmem-arch13.S: New file.
3344 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
3345 if it is only used as fallback.
3346 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
3347 * sysdeps/s390/multiarch/ifunc-impl-list.c
3348 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
3350 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3352 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
3353 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
3354 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
3356 * sysdeps/s390/multiarch/ifunc-impl-list.c
3357 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
3358 * sysdeps/s390/strstr-arch13.S: New file.
3359 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
3360 if it is only used as fallback.
3361 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
3363 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3365 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
3366 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
3367 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
3368 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
3370 * sysdeps/s390/multiarch/ifunc-impl-list.c
3371 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
3372 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
3373 S390_IS_ARCH13_MIE3): New defines.
3375 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3377 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
3378 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
3379 * sysdeps/s390/configure.ac: Add checks for arch13 support.
3380 * sysdeps/s390/configure: Regenerated.
3382 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3384 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
3385 Add vxe2, vxp, dflt, sort flags.
3386 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
3387 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
3389 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
3390 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
3391 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
3392 HWCAP_S390_DFLT): Define.
3394 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3397 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
3398 of compiler warning.
3399 * locale/programs/ld-collate.c (collate_output): Likewise.
3401 2019-03-21 DJ Delorie <dj@redhat.com>
3404 * iconv/iconvconfig.c (write_output): Replace floating point math
3405 with integer math to avoid imprecise results.
3406 * locale/programs/ld-collate.c (collate_output): Likewise.
3408 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
3410 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
3411 Add HWCAP_S390_VX and HWCAP_S390_VXE.
3413 2019-03-20 mansayk <6688000@gmail.com>
3416 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
3417 (abday): Likewise, but remove the trailing dots.
3419 2019-03-19 Joseph Myers <joseph@codesourcery.com>
3421 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
3423 (HWCAP_PACA): Likewise.
3424 (HWCAP_PACG): Likewise.
3425 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3427 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
3429 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3431 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
3434 2019-03-15 Joseph Myers <joseph@codesourcery.com>
3436 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3438 (old_getpagesize): New syscall.
3440 2019-03-15 Felix Yan <felixonmars@archlinux.org>
3443 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
3444 * localedata/locales/cmn_TW (era): Likewise.
3445 * localedata/locales/hak_TW (era): Likewise.
3446 * localedata/locales/lzh_TW (era): Likewise.
3447 * localedata/locales/nan_TW (era): Likewise.
3449 2019-03-14 Adam Maris <amaris@redhat.com>
3451 * malloc/malloc.c (_int_malloc): Check for large bin list
3452 corruption when inserting unsorted chunk.
3454 2019-03-14 Florian Weimer <fweimer@redhat.com>
3456 Remove obsolete, never-implemented XSI STREAMS declarations.
3457 * manual/terminal.texi (Allocation): Remove portability note and
3459 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
3461 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
3462 * sysdeps/unix/inet/Subdirs (streams): Remove.
3463 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
3464 (conformtest-headers-UNIX98): Likewise.
3465 (conformtest-headers-XOPEN2K): Likewise.
3466 (conformtest-headers-POSIX2008): Likewise.
3467 * posix/compat-streams.c: New file.
3468 * posix/Makefile (routines): Add it.
3469 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
3470 getpmsg, isastream, putmsg, putpmsg.
3471 (GLIBC_2.30): New section.
3472 * bits/stropts.h: Remove file.
3473 * bits/xtitypes.h: Likewise.
3474 * conform/data/stropts.h-data: Likewise.
3475 * include/stropts.h: Likewise.
3476 * include/sys/stropts.h: Likewise.
3477 * include/xtitypes.h: Likewise.
3478 * streams/Makefile: Likewise.
3479 * streams/fattach.c: Likewise.
3480 * streams/fdetach.c: Likewise.
3481 * streams/getmsg.c: Likewise.
3482 * streams/getpmsg.c: Likewise.
3483 * streams/isastream.c: Likewise.
3484 * streams/putmsg.c: Likewise.
3485 * streams/putpmsg.c: Likewise.
3486 * streams/stropts.h: Likewise.
3487 * streams/sys/stropts.h: Likewise.
3488 * sysdeps/ia64/bits/xtitypes.h: Likewise.
3489 * sysdeps/s390/bits/xtitypes.h: Likewise.
3490 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
3491 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
3492 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
3493 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
3494 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
3495 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
3496 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
3497 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
3498 * sysdeps/x86/bits/xtitypes.h: Likewise.
3500 2019-03-14 Florian Weimer <fweimer@redhat.com>
3502 * nss/tst-nss-files-alias-truncated.c (do_test): Load
3504 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
3505 but not with libnss_files.
3506 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
3508 2019-03-14 Zack Weinberg <zackw@panix.com>
3510 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
3511 Specify encoding="utf-8" when opening headers to check.
3513 2019-03-13 Joseph Myers <joseph@codesourcery.com>
3515 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3517 (Context.checkout_tar): Handle variable major version for Linux
3520 2019-03-13 Florian Weimer <fweimer@redhat.com>
3523 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
3525 2019-03-13 Zack Weinberg <zackw@panix.com>
3527 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
3529 * include/inttypes.h: Adjust to match.
3530 * include/stdint.h: New wrapper.
3532 2019-03-13 Zack Weinberg <zackw@panix.com>
3534 * scripts/check-obsolete-constructs.py: New test script.
3535 * scripts/check-installed-headers.sh: Remove tests for
3536 obsolete typedefs, superseded by check-obsolete-constructs.py.
3537 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
3538 as a special test. Update commentary.
3539 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
3540 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
3542 * posix/sys/types.h (__u_intN_t): Remove.
3543 (u_int8_t): Typedef using __uint8_t.
3544 (u_int16_t): Typedef using __uint16_t.
3545 (u_int32_t): Typedef using __uint32_t.
3546 (u_int64_t): Typedef using __uint64_t.
3548 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
3550 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
3552 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
3553 Ignore types other than AT_HWCAP.
3554 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
3555 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
3557 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
3558 in the case of falling back to generic output mechanism.
3559 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
3562 2019-03-12 Florian Weimer <fweimer@redhat.com>
3564 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
3566 2019-03-12 Florian Weimer <fweimer@redhat.com>
3569 resolv: Enable full ICMP errors for UDP DNS sockets
3570 * resolv/res_enable_icmp.c: New file.
3571 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
3572 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
3573 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
3576 2019-03-11 Mao Han <han_mao@c-sky.com>
3578 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
3579 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
3581 2019-03-11 Mao Han <han_mao@c-sky.com>
3583 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
3584 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3585 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3587 2019-03-11 Mao Han <han_mao@c-sky.com>
3589 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
3591 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
3594 2019-03-11 Mao Han <han_mao@c-sky.com>
3596 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
3597 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
3600 2019-03-08 Mike FABIAN <mfabian@redhat.com>
3603 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
3604 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3606 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3607 * localedata/unicode-gen/PropList.txt: Likewise.
3608 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3609 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
3610 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
3611 * localedata/charmaps/UTF-8: Regenerate.
3612 * localedata/locales/i18n_ctype: Likewise.
3613 * localedata/locales/tr_TR: Likewise.
3614 * localedata/locales/translit_circle: Likewise.
3615 * localedata/locales/translit_cjk_compat: Likewise.
3616 * localedata/locales/translit_combining: Likewise.
3617 * localedata/locales/translit_compat: Likewise.
3618 * localedata/locales/translit_font: Likewise.
3619 * localedata/locales/translit_fraction: Likewise.
3621 2019-03-07 Joseph Myers <joseph@codesourcery.com>
3623 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
3624 than after operators.
3625 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
3626 (setitimer_locked): Likewise.
3627 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3628 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3629 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
3630 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
3631 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
3632 (PPC_CPU_SUPPORTED): Likewise.
3633 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
3634 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
3635 (stat_overflow): Likewise.
3636 (statfs_overflow): Likewise.
3637 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
3638 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
3639 (eq_ttyname_r): Likewise.
3640 (run_chroot_tests): Likewise.
3642 2019-03-07 Florian Weimer <fweimer@redhat.com>
3644 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
3647 2019-03-07 Martin Liska <mliska@suse.cz>
3649 * math/Makefile: Change location where math-vector-fortran.h is
3651 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
3652 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
3653 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
3654 * scripts/check-installed-headers.sh: Skip Fortran header files.
3655 * scripts/check-wrapper-headers.py: Likewise.
3657 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3659 * nptl/nptl-init.c (__have_futex_clock_realtime,
3660 __have_futex_clock_realtime): Remove definition.
3661 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
3662 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
3663 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
3664 __ASSUME_FUTEX_CLOCK_REALTIME support.
3665 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3666 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3667 * sysdeps/unix/sysv/linux/kernel-features.h
3668 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
3669 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
3672 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3674 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
3675 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
3676 __GI___wcscpy and wcscpy.
3678 2019-03-04 Florian Weimer <fweimer@redhat.com>
3680 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
3682 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
3685 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
3687 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
3688 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3690 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3693 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
3694 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
3696 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3698 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
3700 (do_test): Likewise.
3701 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3702 (do_test_call_varg): Likewise.
3703 (do_test_call_rarg): Likewise.
3704 * sysdeps/ieee754/ldbl-opt/Makefile
3705 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
3707 ($(objpfx)tst-nldbl-warn.c): New rule.
3708 ($(objpfx)tst-nldbl-error.c): Likewise.
3709 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
3712 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3715 * include/bits/error-ldbl.h: New file.
3716 * include/error.h: Include stdarg.h. Declare internal functions
3717 __error_internal and __error_at_line_internal.
3718 * misc/Makefile (headers): Add bits/error-ldbl.h.
3719 * misc/bits/error-ldbl.h: New file.
3720 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
3721 avoid the inclusion of bits/error.h.
3722 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
3723 and __nldbl_error_at_line.
3724 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
3725 (__nldbl_error, __ndlbl_error_at_line): New functions.
3726 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
3727 Redirect error and error_at_line.
3728 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3737 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3738 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3739 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3741 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3744 * include/bits/err-ldbl.h: New file.
3745 * include/err.h: Add prototypes for the internal functions:
3746 __vwarnx_internal and __vwarn_internal.
3747 * misc/Makefile (headers): Add bits/err-ldbl.h.
3748 * misc/bits/err-ldbl.h: New file.
3749 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
3750 defined, i.e.: when -mlong-double-64 is in use.
3751 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
3752 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
3753 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
3754 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
3755 (VA_CALL): New macro.
3756 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
3757 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
3759 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
3760 declare prototypes for the new functions.
3761 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3770 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3771 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3772 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3774 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3776 * sysdeps/ieee754/ldbl-opt/Makefile
3777 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
3778 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
3779 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
3781 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3784 * argp/Makefile (headers): Add bits/argp-ldbl.h.
3785 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
3786 * argp/bits/argp-ldbl.h: New file.
3787 * include/argp.h: Include stdarg.h. Add prototypes for internal
3788 functions: __argp_error_internal and __argp_failure_internal.
3789 * include/bits/argp-ldbl.h: New file.
3790 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
3791 __nldbl_argp_error and __nldbl_argp_failure.
3792 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
3793 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
3794 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
3795 Redirect argp_error and argp_failure calls.
3796 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3805 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3806 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3807 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3809 2019-03-01 Florian Weimer <fweimer@redhat.com>
3812 * elf/tst-big-note-lib.S: Create a syntactically valid note.
3813 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
3814 code, to avoid creating an ABI tag note.
3815 (modules-names-nobuild): Add tst-big-note-lib.
3817 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
3819 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
3820 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
3822 2019-03-01 Florian Weimer <fweimer@redhat.com>
3825 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3826 (__netlink_assert_response): Add additional missing newlines.
3828 2019-02-28 Joseph Myers <joseph@codesourcery.com>
3830 * sysdeps/powerpc/powerpc32/dl-machine.c
3831 (__elf_machine_fixup_plt): Use space before '('.
3832 (__process_machine_rela): Likewise.
3833 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
3835 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
3837 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
3839 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
3840 (pattern): Likewise.
3842 (check_result): Likewise.
3843 (check_excepts): Likewise.
3844 (check_op): Likewise.
3845 (fail_xr): Likewise.
3846 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
3847 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
3849 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
3852 (__makecontext): Likewise.
3853 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
3856 2019-02-28 Florian Weimer <fweimer@redhat.com>
3859 elf: Add test with a local IFUNC resolver.
3860 * elf/ifuncmain9.c: New file.
3861 * elf/ifuncmain9pic.c: Likewise.
3862 * elf/ifuncmain9picstatic.c: Likewise.
3863 * elf/ifuncmain9pie.c: Likewise.
3864 * elf/ifuncmain9static.c: Likewise.
3865 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
3866 ifuncmain9static, ifuncmain9picstatic.
3867 * elf/Makefile [multi-arch && build-shared] (tests-internal):
3868 Add ifuncmain9, ifuncmain9pic.
3869 * elf/Makefile [multi-arch && build-shared && have-fpie]
3870 (ifunc-pie-tests): Add ifuncmain9pie.
3871 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
3872 (CFLAGS-ifuncmain9picstatic.c): Likewise.
3873 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
3875 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
3877 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
3878 * configure: Regenerated.
3879 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
3881 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3883 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
3884 symbol as __wcspcy instead of wcscpy.
3886 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3888 * include/stdio.h (__renameat2): New hidden prototype.
3889 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
3890 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
3891 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
3892 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
3894 2019-02-27 Joseph Myers <joseph@codesourcery.com>
3896 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
3899 * benchtests/bench-strcpy.c (do_test): Use space before '('.
3900 * benchtests/bench-string.h (cmdline_process_function): Likewise.
3901 * benchtests/bench-strlen.c (do_test): Likewise.
3902 (test_main): Likewise.
3903 * catgets/gencat.c (read_old): Likewise.
3904 * elf/cache.c (load_aux_cache): Likewise.
3905 * iconvdata/bug-iconv8.c (do_test): Likewise.
3906 * math/test-tgmath-ret.c (do_test): Likewise.
3907 * nis/nis_call.c (rec_dirsearch): Likewise.
3908 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3909 * nptl/tst-audit-threads.c (do_test): Likewise.
3910 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
3911 * nss/nss_test1.c (init): Likewise.
3912 * nss/test-netdb.c (test_hosts): Likewise.
3913 * posix/execvpe.c (maybe_script_execute): Likewise.
3914 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
3915 * stdio-common/tst-printf.c (do_test): Likewise.
3916 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
3917 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
3918 * stdlib/qsort.c (STACK_SIZE): Likewise.
3919 * stdlib/test-canon.c (do_test): Likewise.
3920 * stdlib/tst-swapcontext1.c (do_test): Likewise.
3921 * string/memcmp.c (OPSIZ): Likewise.
3922 * string/test-strcpy.c (do_test): Likewise.
3923 (do_random_tests): Likewise.
3924 * string/test-strlen.c (do_test): Likewise.
3925 (test_main): Likewise.
3926 * string/test-strrchr.c (do_test): Likewise.
3927 (do_random_tests): Likewise.
3928 * string/tester.c (test_memrchr): Likewise.
3929 (test_memchr): Likewise.
3930 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
3931 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
3932 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
3933 (read_encoded_value_with_base): Likewise.
3934 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
3935 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
3936 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
3937 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3938 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
3939 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
3941 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
3943 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
3944 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
3945 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
3947 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
3949 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
3951 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3953 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
3954 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3955 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3956 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
3957 * time/test_time.c (main): Likewise.
3959 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3961 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
3963 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
3966 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
3969 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3971 * include/wchar.h (__wcscpy): New prototype.
3972 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
3973 (__wcscpy): Route internal symbol to generic implementation.
3974 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
3975 Add internal __wcscpy alias.
3976 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
3977 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
3978 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
3979 * wcsmbs/wcscpy.c (wcscpy): Add
3980 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
3981 use generic implementation.
3982 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
3984 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
3987 * sysdeps/m68k/wcpcpy.c: Remove file.
3988 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3990 2019-02-26 Joseph Myers <joseph@codesourcery.com>
3992 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
3993 than after operators.
3994 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3995 * sysdeps/mach/hurd/getcwd.c
3996 (__hurd_canonicalize_directory_name_internal): Likewise.
3997 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
3998 (pthread_mutex_consistent): Likewise.
3999 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
4001 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
4002 (__pthread_mutex_transfer_np): Likewise.
4003 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
4004 (__pthread_mutex_unlock): Likewise.
4005 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
4006 (mtx_owned_p): Likewise.
4007 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
4008 (pthread_mutexattr_getrobust): Likewise.
4009 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
4010 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
4012 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4013 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
4014 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
4015 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
4016 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4017 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4018 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
4020 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
4022 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
4023 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
4024 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
4025 (____longjmp_chk): Likewise.
4026 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
4028 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4029 (INTERNAL_SYSCALL): Likewise.
4030 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4031 (INTERNAL_SYSCALL): Likewise.
4032 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4033 (__get_clockfreq_via_cpuinfo): Likewise.
4035 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
4037 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
4038 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
4039 (WORD_COPY_BWD): Likewise.
4040 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4041 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4043 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
4044 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
4046 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
4048 2019-02-25 Joseph Myers <joseph@codesourcery.com>
4050 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
4051 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
4052 rather than after operators.
4053 * elf/cache.c (print_cache): Likewise.
4054 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
4055 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
4056 * hurd/hurdinit.c (_hurd_setproc): Likewise.
4057 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
4058 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
4059 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
4060 (reauth_proc): Likewise.
4061 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
4062 (__file_name_split_at): Likewise.
4063 (__directory_name_split_at): Likewise.
4064 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4065 * hurd/port2fd.c (_hurd_port2fd): Likewise.
4066 * iconv/gconv_dl.c (do_print): Likewise.
4067 * inet/netinet/in.h (struct sockaddr_in): Likewise.
4068 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
4069 * locale/setlocale.c (new_composite_name): Likewise.
4070 * malloc/memusagestat.c (main): Likewise.
4071 * misc/fstab.c (fstab_convert): Likewise.
4072 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4074 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
4075 (getgrent_next_file): Likewise.
4076 (internal_getgrnam_r): Likewise.
4077 (internal_getgrgid_r): Likewise.
4078 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
4080 (internal_getgrent_r): Likewise.
4081 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4082 (getpwent_next_nss): Likewise.
4083 (getpwent_next_file): Likewise.
4084 (internal_getpwnam_r): Likewise.
4085 (internal_getpwuid_r): Likewise.
4086 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
4088 (getspent_next_nss): Likewise.
4089 (internal_getspnam_r): Likewise.
4090 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
4091 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
4092 * string/strchr.c (STRCHR): Likewise.
4093 * string/strchrnul.c (STRCHRNUL): Likewise.
4094 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
4095 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4096 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
4097 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
4098 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
4100 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
4101 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4102 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4103 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
4104 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
4105 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
4106 (open_file): Likewise.
4107 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
4108 (pthread_mutexattr_setprotocol): Likewise.
4109 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4110 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4111 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4112 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
4113 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4115 (elf_machine_rela): Likewise.
4116 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4117 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4118 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
4119 * sysdeps/posix/rename.c (rename): Likewise.
4120 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
4121 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
4122 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
4123 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
4124 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4125 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
4126 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
4128 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
4130 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
4131 * time/tzfile.c (__tzfile_compute): Likewise.
4133 2019-02-22 Joseph Myers <joseph@codesourcery.com>
4135 * benchtests/bench-memmem.c (simple_memmem): Break lines before
4136 rather than after operators.
4137 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
4138 * crypt/md5.c (md5_finish_ctx): Likewise.
4139 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
4140 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
4141 * elf/cache.c (load_aux_cache): Likewise.
4142 * elf/dl-load.c (open_verify): Likewise.
4143 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
4144 * elf/readelflib.c (process_elf_file): Likewise.
4145 * elf/rtld.c (dl_main): Likewise.
4146 * elf/sprof.c (generate_call_graph): Likewise.
4147 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
4148 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
4149 * hurd/dtable.c (reauth_dtable): Likewise.
4150 * hurd/getdport.c (__getdport): Likewise.
4151 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
4152 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
4153 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
4155 * hurd/hurdioctl.c (fioctl): Likewise.
4156 * hurd/hurdselect.c (_hurd_select): Likewise.
4157 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
4158 (STOPSIGS): Likewise.
4159 * hurd/hurdstartup.c (_hurd_startup): Likewise.
4160 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
4161 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4162 * hurd/msgportdemux.c (msgport_server): Likewise.
4163 * hurd/setauth.c (_hurd_setauth): Likewise.
4164 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
4165 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
4166 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4167 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
4168 * login/tst-utmp.c (do_check): Likewise.
4169 (simulate_login): Likewise.
4170 * mach/lowlevellock.h (lll_lock): Likewise.
4171 (lll_trylock): Likewise.
4172 * math/test-fenv.c (ALL_EXC): Likewise.
4173 * math/test-fenvinline.c (ALL_EXC): Likewise.
4174 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
4175 * nis/nis_call.c (__do_niscall3): Likewise.
4176 * nis/nis_callback.c (cb_prog_1): Likewise.
4177 * nis/nis_defaults.c (searchaccess): Likewise.
4178 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4179 * nis/nis_ismember.c (internal_ismember): Likewise.
4180 * nis/nis_local_names.c (nis_local_principal): Likewise.
4181 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
4182 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
4184 * nis/ypclnt.c (yp_match): Likewise.
4185 (yp_first): Likewise.
4186 (yp_next): Likewise.
4187 (yp_master): Likewise.
4188 (yp_order): Likewise.
4189 * nscd/hstcache.c (cache_addhst): Likewise.
4190 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4191 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
4192 (internal_getpwuid_r): Likewise.
4193 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
4194 * posix/glob.h (__GLOB_FLAGS): Likewise.
4195 * posix/regcomp.c (peek_token): Likewise.
4196 (peek_token_bracket): Likewise.
4197 (parse_expression): Likewise.
4198 * posix/regexec.c (sift_states_iter_mb): Likewise.
4199 (check_node_accept_bytes): Likewise.
4200 * posix/tst-spawn3.c (do_test): Likewise.
4201 * posix/wordexp-test.c (testit): Likewise.
4202 * posix/wordexp.c (parse_tilde): Likewise.
4203 (exec_comm): Likewise.
4204 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
4205 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
4206 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
4207 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
4208 * stdio-common/tst-fileno.c (do_test): Likewise.
4209 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
4210 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
4211 * stdlib/strtod_l.c (round_and_return): Likewise.
4212 (____STRTOF_INTERNAL): Likewise.
4213 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
4214 * string/strcspn.c (STRCSPN): Likewise.
4215 * string/test-memmem.c (simple_memmem): Likewise.
4216 * termios/tcsetattr.c (tcsetattr): Likewise.
4217 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
4218 * time/asctime.c (asctime_internal): Likewise.
4219 * time/strptime_l.c (__strptime_internal): Likewise.
4220 * time/sys/time.h (timercmp): Likewise.
4221 * time/tzfile.c (__tzfile_compute): Likewise.
4223 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
4226 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
4228 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4230 * argp/argp-help.c (__argp_error_internal): New function,
4231 renamed from __argp_error, but that takes a 'mode_flags'
4232 parameter to control the format of long double parameters.
4233 (__argp_error): Converted into a call __argp_error_internal.
4234 (__argp_failure_internal): New function, renamed from
4235 __argp_failure, but that takes a 'mode_flags' parameter.
4236 (__argp_failure): Converted into a call __argp_failure_internal.
4237 * misc/err.c (__vwarnx_internal): New function, renamed from
4238 vwarnx, but that takes a 'mode_flags' parameter.
4239 (vwarnx): Converted into a call to __vwarnx_internal.
4240 (__vwarn_internal): New function, renamed from vwarn, but that
4241 takes a 'mode_flags' parameter.
4242 (vwarn): Converted into a call to __vwarn_internal.
4243 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
4244 call to __vfxprintf with 'mode_flags'.
4245 (__error_internal): New function, renamed from error, but that
4246 takes a 'mode_flags' parameter.
4247 (error): Converted into a call to __error_internal.
4248 (__error_at_line_internal): New function, renamed from
4249 error_at_line, but that takes a 'mode_flags' parameter.
4250 (error_at_line): Converted into a call to
4251 __error_at_line_internal.
4252 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
4253 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
4256 2019-02-20 Martin Liska <mliska@suse.cz>
4258 * math/Makefile: Install math-vector-fortran.h.
4259 * bits/math-vector-fortran.h: New file.
4260 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
4262 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4264 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
4265 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
4267 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
4269 * nptl/pthread_mutex_trylock.c: Fix comment.
4271 2019-02-19 Carlos O'Donell <carlos@redhat.com>
4273 * nptl/pthread_tryjoin.c: Fix comment.
4275 2019-02-18 Joseph Myers <joseph@codesourcery.com>
4278 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
4279 after R_SPARC_H34 case.
4281 2019-02-18 Florian Weimer <fweimer@redhat.com>
4283 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
4284 (getanswer): Do not call Dprintf.
4285 (res_gethostbyname2_context): Likewise.
4286 (res_gethostbyaddr_context): Likewise.
4288 2019-02-18 Florian Weimer <fweimer@redhat.com>
4290 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
4292 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
4294 * libio/stdfiles.c: Update comment.
4295 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
4296 set _IO_stdin, _IO_stdout, _IO_stderr.
4297 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
4298 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
4300 (_IO_deallocate_file): New inline function.
4301 * libio/iolibio.h (_IO_vprintf): Remove definition.
4302 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
4303 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4304 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
4306 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
4307 __builtin_expect. Use _IO_legacy_file.
4309 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
4311 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
4312 Initialize ctid with a known value and remove update of ctid
4314 (wait_tid): Adjust arguments and call futex_wait with ctid_val
4315 as assumed current value of ctid_ptr.
4317 2019-02-16 Florian Weimer <fweimer@redhat.com>
4319 Check that non-sysdeps headers have wrapper headers.
4320 * scripts/check-wrapper-headers.py: New file.
4321 * Makefile (tests-special): Add check-wrapper-headers.out.
4322 (check-wrapper-headers.out): New target.
4323 * Rules (tests-special): Add check-wrapper-headers.out.
4324 (check-wrapper-headers.out): New target.
4326 2019-02-16 Florian Weimer <fweimer@redhat.com>
4328 Add missing header wrappers under include/.
4329 * include/ar.h: New file.
4330 * include/bits/mqueue2.h: Likewise.
4331 * include/bits/stdio.h: Likewise.
4332 * include/bits/stdio2.h: Likewise.
4333 * include/fstab.h: Likewise.
4334 * include/fts.h: Likewise.
4335 * include/lastlog.h: Likewise.
4336 * include/netinet/icmp6.h: Likewise.
4337 * include/netinet/igmp.h: Likewise.
4338 * include/netinet/ip6.h: Likewise.
4339 * include/re_comp.h: Likewise.
4340 * include/regexp.h: Likewise.
4341 * include/rpcsvc/bootparam.h: Likewise.
4342 * include/rpcsvc/yp_prot.h: Likewise.
4343 * include/sys/random.h: Likewise.
4344 * include/sys/stropts.h: Likewise.
4345 * include/sys/ttychars.h: Likewise.
4346 * include/sys/vfs.h: Likewise.
4347 * include/wait.h: Likewise.
4349 2019-02-16 Florian Weimer <fweimer@redhat.com>
4351 * nptl_db/proc_service.h: Move to ...
4352 * sysdeps/nptl/proc_service.h: ... here.
4353 * nptl_db/thread_db.h: Move to ...
4354 * sysdeps/nptl/thread_db.h: ... here.
4355 * nptl/descr.h: Include <thread_db.h>.
4357 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4359 * io/Makefile (tests): Add tst-lockf.
4360 * io/lockf.c (lockf): Use __fcntl and only define for
4361 !__OFF_T_MATCHES_OFF64_T.
4362 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
4363 __OFF_T_MATCHES_OFF64_T case.
4364 * io/tst-lockf.c: New file.
4365 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
4366 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
4367 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
4368 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
4369 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
4370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
4371 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
4372 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
4373 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
4375 2019-02-15 Florian Weimer <fweimer@redhat.com>
4378 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
4379 pd->result after the thread descriptor has been freed.
4381 2019-02-15 Joseph Myers <joseph@codesourcery.com>
4383 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
4384 from function return type.
4386 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
4388 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4390 * scripts/test_printers_common.py: Set TERM to a known harmless
4393 2019-02-14 Joseph Myers <joseph@codesourcery.com>
4395 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
4396 (xdr_u_int): Likewise.
4397 (xdr_enum): Likewise.
4398 (xdr_bytes): Reword fall-through comment.
4399 (xdr_string): Likewise.
4401 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4404 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
4405 (tests): Add tst-join8 tst-join9.
4406 * nptl/lll_timedwait_tid.c: Remove file.
4407 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
4408 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
4409 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
4410 * nptl/pthread_join_common.c (timedwait_tid): New function.
4411 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
4413 * nptl/tst-join5.c (thread_join): New function.
4414 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
4416 * nptl/tst-join8.c: New file.
4417 * nptl/tst-join9.c: Likewise.
4418 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
4419 lll_futex_timed_wait_cancel): Add generic macros.
4420 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
4422 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4423 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4424 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4425 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
4427 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
4429 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4430 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4431 (lll_futex_timed_wait_cancel): New macro.
4433 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
4435 * benchtests/Makefile: Add malloc-simple benchmark.
4436 * benchtests/bench-malloc-simple.c: New benchmark.
4438 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
4440 * benchtests/bench-memmove.c (do_one_test): Remove unused
4443 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
4447 2019-01-13 Jim Wilson <jimw@sifive.com>
4450 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
4451 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
4453 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
4455 * nptl/Makefile (tests): Add tst-unwind-thread.
4456 (CFLAGS-tst-unwind-thread.c): Define.
4457 * nptl/tst-unwind-thread.c: New file.
4458 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
4461 2019-02-13 Joseph Myers <joseph@codesourcery.com>
4463 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
4465 * nis/nis_call.c (__do_niscall3): Likewise.
4467 * catgets/gencat.c (normalize_line): Use braces around empty
4469 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4470 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
4471 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
4472 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
4473 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
4474 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
4475 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
4478 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
4481 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
4483 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
4484 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
4485 * benchtests/bench-strchr.c (stupid_strchr): Remove.
4486 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
4487 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
4488 * benchtests/bench-strlen.c (builtin_strlen): Remove.
4489 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
4490 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
4491 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
4492 * benchtests/bench-strspn.c (stupid_strspn): Remove.
4493 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
4494 * benchtests/bench-bcopy.c: Delete file.
4495 * benchtests/bench-bzero.c: Likewise.
4496 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
4497 (simple_memccpy): Remove.
4498 (generic_memccpy): Add function.
4499 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
4500 * benchtests/bench-memmove.c (simple_bcopy): Remove.
4501 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
4502 (generic_mempcpy): Add new function.
4503 * benchtests/bench-memset.c (simple_bzero): Remove.
4504 (builtin_bzero): Remove.
4505 (builtin_memset): Remove.
4506 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
4507 (generic_rawmemchr): Add new function.
4509 2019-02-12 Florian Weimer <fweimer@redhat.com>
4511 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
4513 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4516 * elf/Makefile (tests): Add tst-audit13.
4517 (modules-names): Add tst-audit13mod1.
4518 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4520 * elf/tst-audit13.c: New file.
4521 * elf/tst-audit13mod1.c: Likewise.
4523 2019-02-12 Florian Weimer <fweimer@redhat.com>
4526 * elf/rtld.c (unload_audit_module): New function.
4527 (report_audit_module_load_error): Likewise.
4528 (load_audit_module): Likewise. Extracted from dl_main. Call
4529 _dl_close if the laversion symbol cannot be found. Use early
4530 returns for error handling. Add malloc error check. Check for a
4531 zero return value from la_version. Remove spurious comment about
4532 static TLS initialization. Remove useless casts.
4533 (notify_audit_modules_of_loaded_object): New function. Extracted
4535 (load_audit_module): Likewise.
4536 (dl_main): Call load_audit_modules.
4538 2019-02-12 Joseph Myers <joseph@codesourcery.com>
4540 * elf/dl-exception.c (_dl_exception_create_format): Add
4541 fall-through comments.
4542 * elf/ldconfig.c (parse_conf_include): Likewise.
4543 * elf/rtld.c (print_statistics): Likewise.
4544 * locale/programs/charmap.c (parse_charmap): Likewise.
4545 * misc/mntent_r.c (__getmntent_r): Likewise.
4546 * posix/wordexp.c (parse_arith): Likewise.
4547 (parse_backtick): Likewise.
4548 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
4549 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4550 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4552 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
4554 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
4555 Use float instead of double.
4557 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4559 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
4561 2019-02-08 Joseph Myers <joseph@codesourcery.com>
4563 * sysdeps/powerpc/bits/mathinline.h: Remove.
4565 2019-02-08 Florian Weimer <fweimer@redhat.com>
4567 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
4568 * math/bits/math-finite.h: Move to ...
4569 * bits/math-finite.h: ... here.
4571 2019-02-08 Florian Weimer <fweimer@redhat.com>
4573 * sysdeps/generic/bits/unistd_ext.h: Move to ...
4574 * bits/unistd_ext.h: here.
4576 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
4579 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
4580 * nss/tst-nss-files-hosts-long.c: New file.
4581 * nss/tst-nss-files-hosts-long.root: New directory.
4582 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
4583 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
4585 2019-02-08 Florian Weimer <fweimer@redhat.com>
4587 * include/bits/unistd_ext.h: Remove file.
4588 * posix/bits/unistd_ext.h: Move to ...
4589 * sysdeps/generic/bits/unistd_ext.h: ... here.
4591 2019-02-08 Florian Weimer <fweimer@redhat.com>
4593 * include/bits/unistd_ext.h: New file.
4595 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
4597 * time/tst-strftime2.c: Use array_length macros instead of magic
4600 2019-02-08 Florian Weimer <fweimer@redhat.com>
4603 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
4605 * nptl/register-atfork.c (__run_fork_handlers): Only perform
4606 locking if the new do_locking argument is true.
4607 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
4608 __run_fork_handlers.
4610 2019-02-08 Florian Weimer <fweimer@redhat.com>
4613 Linux: Add gettid system call wrapper.
4614 * posix/Makefile (headers): Add bits/unistd_ext.h.
4615 * posix/bits/unistd_ext.h: New file.
4616 * posix/unistd.h: Include it.
4617 * manual/process.texi (Process Identification): Document gettid.
4618 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
4619 tst-gettid, tst-gettid-kill.
4620 (tst-gettid): Link with $(shared-thread-library).
4621 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
4622 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
4623 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
4624 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
4625 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
4626 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4628 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4630 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4631 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
4633 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
4635 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
4637 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
4639 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4641 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4643 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4645 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4646 (GLIBC_2.30): Likewise.
4647 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4648 (GLIBC_2.30): Likewise.
4649 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4650 (GLIBC_2.30): Likewise.
4651 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4652 (GLIBC_2.30): Likewise.
4653 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4656 (GLIBC_2.30): Likewise.
4657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4658 (GLIBC_2.30): Likewise.
4659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4660 (GLIBC_2.30): Likewise.
4661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4662 (GLIBC_2.30): Likewise.
4663 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4665 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4667 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4669 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4670 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4672 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4674 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4676 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4678 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
4680 2019-02-08 Florian Weimer <fweimer@redhat.com>
4682 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
4683 compatibility symbols.
4685 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
4688 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4689 Add compiler barriers and comments.
4691 2019-02-07 Florian Weimer <fweimer@redhat.com>
4693 * include/array_length.h (array_length): Do not use a statement
4694 expression and _Static_assert, so that array_length can be used at
4695 file scope and as a constant expression.
4697 2019-02-07 Florian Weimer <fweimer@redhat.com>
4699 * support/xdlfcn.h (xdlmopen): Declare.
4700 * support/xdlmopen.c: New file.
4701 * support/Makefile (libsupport-routines): Add xdlmopen.
4703 2019-02-06 Joseph Myers <joseph@codesourcery.com>
4705 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
4706 before return type, without separate inline.
4707 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
4708 * elf/dl-tunables.h (tunable_is_name): Likewise.
4709 * malloc/malloc.c (do_set_trim_threshold): Likewise.
4710 (do_set_top_pad): Likewise.
4711 (do_set_mmap_threshold): Likewise.
4712 (do_set_mmaps_max): Likewise.
4713 (do_set_mallopt_check): Likewise.
4714 (do_set_perturb_byte): Likewise.
4715 (do_set_arena_test): Likewise.
4716 (do_set_arena_max): Likewise.
4717 (do_set_tcache_max): Likewise.
4718 (do_set_tcache_count): Likewise.
4719 (do_set_tcache_unsorted_limit): Likewise.
4720 * nis/nis_subr.c (count_dots): Likewise.
4721 * nptl/allocatestack.c (advise_stack_range): Likewise.
4722 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
4724 (reduce_sincos): Likewise.
4725 (do_sincos): Likewise.
4726 * sysdeps/unix/sysv/linux/x86/elision-conf.c
4727 (do_set_elision_enable): Likewise.
4728 (TUNABLE_CALLBACK_FNDECL): Likewise.
4730 2019-02-06 Florian Weimer <fweimer@redhat.com>
4732 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
4733 (xdlsym): Use dlerror to detect a NULL symbol.
4735 2019-02-06 Florian Weimer <fweimer@redhat.com>
4737 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
4739 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4741 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4743 * libio/tst-bz24153.c (wide): Use wide char format specifier.
4745 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4747 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
4748 __wmemcmp and weak alias to wmemcmp.
4750 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4753 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
4754 TLS_TCB_AT_TP tls variant.
4755 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
4756 Add alignment checks.
4757 * support/Makefile (libsupport-routines): Add xposix_memalign and
4759 * support/support.h: Add xposix_memalign.
4760 * support/xthread.h: Add xpthread_attr_setstack.
4761 * support/xposix_memalign.c: New File.
4762 * support/xpthread_attr_setstack.c: Likewise.
4764 2019-02-05 Florian Weimer <fweimer@redhat.com>
4767 arm: Use "nr" constraint for Systemtap probes, to avoid the
4768 compiler using memory operands for constants, due to the "o"
4769 alternative in the default "nor" constraint.
4770 * include/stap-probe.h [USE_STAP_PROBE]: Include
4771 <stap-probe-machine.h>
4772 * sysdeps/generic/stap-probe-machine.h: New file.
4773 * sysdeps/arm/stap-probe-machine.h: Likewise.
4775 2019-02-04 Joseph Myers <joseph@codesourcery.com>
4777 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
4778 with 0, not tcache->entries[tc_idx].
4780 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
4783 2019-02-04 Andreas Schwab <schwab@suse.de>
4787 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
4788 looking up collating elements match against (wide) character
4789 sequence instead of name. Correct alignment adjustment.
4790 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
4791 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
4792 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
4793 (LOCALES): Add cs_CZ.ISO-8859-2.
4794 * posix/tst-fnmatch4.c: New file.
4795 * posix/tst-fnmatch5.c: New file.
4796 * include/wchar.h (__wmemcmp): Declare.
4797 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
4798 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4799 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
4800 * sysdeps/s390/wmemcmp.c: Likewise.
4802 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
4806 * NEWS: Updated for CVE-2019-7309.
4807 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
4808 upper 32 bits of RDX register for x32. Use unsigned Jcc
4809 instructions, instead of signed.
4810 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
4811 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
4813 2019-02-04 Florian Weimer <fweimer@redhat.com>
4815 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
4816 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
4817 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
4819 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
4820 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
4821 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
4822 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
4824 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
4826 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
4828 (posix_spawn_file_actions_addopen): Likewise.
4829 (posix_spawn_file_actions_addclose): Likewise.
4830 (posix_spawn_file_actions_adddup2): Likewise.
4831 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
4833 (posix_spawn_file_actions_addfchdir_np): Likewise.
4835 2019-02-04 David Newall <glibc@davidnewall.com>
4837 elf: Implement --preload option for the dynamic linker.
4838 * elf/rtld.c (preloadarg): New variable.
4839 (handle_preload_list): Pass through “where” argument to
4841 (dl_main): Handle "--preload" and add second call to
4842 handle_preload_list.
4843 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
4844 (tst-rtld-preload-OBJS): Set variable.
4845 (tst-rtld-preload.out): New target.
4846 * elf/tst-rtld-preload.sh: New file.
4848 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
4850 * Makefile (testrun.sh): Exit in case of incorrect argument.
4852 2019-02-04 Florian Weimer <fweimer@redhat.com>
4854 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
4857 2019-02-03 Florian Weimer <fweimer@redhat.com>
4859 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
4860 implicit overflow checks.
4862 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
4864 * stdlib/isomac.c: Include <unistd.h>.
4866 2019-02-03 Florian Weimer <fweimer@redhat.com>
4868 * include/time.h (__tzfile_default): Use int, not long int, for
4870 * time/tzfile.c (struct ttinfo): Change type of the offset member
4872 (__tzfile_read): Remove useless cast.
4873 (__tzfile_default): Adjust prototype.
4874 * time/tzset.c (tz_rule): Change type of the offset member to int.
4875 (parse_offset): Change the type of the sign variable to int.
4877 2019-02-03 Florian Weimer <fweimer@redhat.com>
4880 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
4881 * libio/getchar.c (getchar): Likewise.
4882 * libio/getchar_u.c (getchar_unlocked): Likewise.
4883 * libio/getwchar.c (getwchar): Likewise.
4884 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4885 * libio/iogets.c (_IO_gets): Likewise.
4886 * libio/vscanf.c (_IO_vscanf): Likewise.
4887 * libio/vwscanf.c (__vwscanf): Likewise.
4888 * libio/tst-bz24153.c: New file.
4889 * libio/Makefile (tests): Add it.
4891 2019-02-02 Florian Weimer <fweimer@redhat.com>
4894 * manual/resource.texi (Basic Scheduling Functions): Add
4895 portability note. Change process to task throughout the section.
4896 Remove incorrect comment about sched_yield as it affects
4897 tasks/threads, not entire processes.
4898 * sysdeps/unix/sysv/linux/bits/posix_opt.h
4899 (_POSIX_PRIORITY_SCHEDULING): Update comment.
4901 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4903 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
4904 * configure: Regenerated.
4905 * manual/install.texi (Tools for Compilation): Update minimum GCC
4907 * INSTALL: Regenerated.
4909 2019-02-01 Florian Weimer <fweimer@redhat.com>
4911 * support/support_test_compare_string.c
4912 (support_test_compare_string): Use "string" in error message.
4913 * support/tst-test_compare_string.c (do_test): Adjust.
4915 2019-02-01 Florian Weimer <fweimer@redhat.com>
4917 * support/support_format_address_family.c
4918 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
4920 2019-02-01 Florian Weimer <fweimer@redhat.com>
4922 * manual/socket.texi (Internet Address Formats): Clarify the byte
4923 order of struct sockaddr_in, struct sockaddr_in6. Document
4924 sin6_flowinfo and sin6_scope_id.
4926 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
4928 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
4929 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
4930 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
4931 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
4932 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
4933 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
4935 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4937 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
4938 [!MEMCHR](MEMCHR): Set to __memchr.
4939 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4940 Add memchr_generic and memchr_nosimd.
4941 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4942 (__libc_ifunc_impl_list): Add memchr ifuncs.
4943 * sysdeps/aarch64/multiarch/memchr.c: New file.
4944 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
4945 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
4947 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4949 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4951 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4952 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
4953 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
4954 Add IS_EMAG check for ifunc dispatch.
4955 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
4956 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
4958 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4960 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
4961 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4963 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
4966 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
4968 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
4970 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
4972 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
4973 syscall-template file.
4975 2019-01-31 Carlos O'Donell <carlos@redhat.com>
4976 Torvald Riegel <triegel@redhat.com>
4977 Rik Prohaska <prohaska7@gmail.com>
4980 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
4981 tst-rwlock-trywrlock-stall.
4982 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4983 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
4984 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
4985 Set __wrphase_fute to 1 only if we started the write phase.
4986 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
4987 * nptl/tst-rwlock-trywrlock-stall.c: New file.
4988 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
4989 * support/xpthread_rwlock_destroy.c: New file.
4990 * support/xthread.h: Declare xpthread_rwlock_destroy.
4992 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4994 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4997 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5000 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
5001 * libio/fileops.c (_IO_new_file_underflow): Likewise
5002 * libio/wfileops.c (_IO_wfile_underflow): Likewise
5003 * libio/putchar.c (putchar): Likewise.
5004 * libio/putchar_u.c (putchar_unlocked): Likewise.
5005 * libio/putwchar.c (putchar): Likewise.
5006 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5007 * libio/tst-bz24051.c: New test.
5008 * libio/Makefile (tests): Add tst-bz24051
5010 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
5013 regex: fix read overrun [BZ #24114]
5014 Problem found by AddressSanitizer, reported by Hongxu Chen in:
5015 https://debbugs.gnu.org/34140
5016 * posix/regexec.c (proceed_next_node):
5017 Do not read past end of input buffer.
5019 2019-01-31 Florian Weimer <fweimer@redhat.com>
5022 * nss/nss_files/files-alias.c (get_next_alias): Handle
5023 continuation line without newline at the end.
5024 * nss/tst-nss-files-alias-truncated.c: New file.
5025 * nss/Makefile [$(build-shared)] (tests): Add
5026 tst-nss-files-alias-truncated.
5027 (tst-nss-files-alias-truncated): Link with libnss_files.so.
5028 * support/namespace.h (struct support_chroot_configuration): Add
5030 (struct support_chroot): Add path_aliases member.
5031 * support/support_chroot.c (support_chroot_create): Handle
5033 (support_chroot_free): Free path_aliases.
5035 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
5037 * version.h (RELEASE): Set to "development".
5038 (VERSION): Set to "2.29.9000".
5039 * NEWS: Add section for 2.30.
5041 * version.h (RELEASE): Set to "stable".
5042 (VERSION): Set to "2.29".
5043 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
5045 * NEWS: Add the list of bugs fixed in 2.29.
5046 * manual/contrib.texi: Update contributors list with some more
5048 * manual/install.texi: Update latest versions of packages
5050 * INSTALL: Regenerated.
5052 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
5054 * po/be.po: Update translations.
5055 * po/bg.po: Likewise.
5056 * po/ca.po: Likewise.
5057 * po/cs.po: Likewise.
5058 * po/da.po: Likewise.
5059 * po/de.po: Likewise.
5060 * po/el.po: Likewise.
5061 * po/eo.po: Likewise.
5062 * po/es.po: Likewise.
5063 * po/fi.po: Likewise.
5064 * po/fr.po: Likewise.
5065 * po/gl.po: Likewise.
5066 * po/hr.po: Likewise.
5067 * po/hu.po: Likewise.
5068 * po/ia.po: Likewise.
5069 * po/id.po: Likewise.
5070 * po/it.po: Likewise.
5071 * po/ja.po: Likewise.
5072 * po/ko.po: Likewise.
5073 * po/lt.po: Likewise.
5074 * po/nb.po: Likewise.
5075 * po/nl.po: Likewise.
5076 * po/pl.po: Likewise.
5077 * po/pt_BR.po: Likewise.
5078 * po/ru.po: Likewise.
5079 * po/rw.po: Likewise.
5080 * po/sk.po: Likewise.
5081 * po/sl.po: Likewise.
5082 * po/sv.po: Likewise.
5083 * po/tr.po: Likewise.
5084 * po/uk.po: Likewise.
5085 * po/vi.po: Likewise.
5086 * po/zh_CN.po: Likewise.
5087 * po/zh_TW.po: Likewise.
5089 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
5092 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
5093 of $f3 register on $y_is_neg path.
5095 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
5098 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
5099 sigaltstack.ss_flags.
5101 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
5104 * manual/time.texi (strftime): Document "%Ey".
5105 * time/strftime_l.c (__strftime_internal): Set the default width
5106 padding with zero of "%Ey" to 2.
5109 * manual/time.texi (strftime): Document "%EC" and "%EY".
5110 * time/Makefile (tests): Add tst-strftime2.
5111 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
5112 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
5113 override padding for "%Ey".
5114 If an optional flag ('_' or '-') is specified to "%EY", interpret the
5115 "%Ey" in the subformat as if decorated with that flag.
5116 * time/tst-strftime2.c: New file.
5118 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5120 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
5124 * elf/Makefile (tests): Add tst-audit13.
5125 (modules-names): Add tst-audit13mod1.
5126 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5128 * elf/rtld.c (dl_main): Handle invalid audit module version.
5129 * elf/tst-audit13.c: New file.
5130 * elf/tst-audit13mod1.c: Likewise.
5132 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5134 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
5135 returned by __hurd_at_flags.
5136 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
5137 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
5138 directly instead of __hurd_file_name_lookup.
5140 2019-01-21 Joseph Myers <joseph@codesourcery.com>
5142 * scripts/build-many-glibcs.py (Context.checkout): Default
5143 binutils version to 2.32 branch.
5145 2019-01-21 Florian Weimer <fweimer@redhat.com>
5149 resolv: Reject trailing characters in host names
5150 * include/arpa/inet.h (__inet_aton_exact): Declare.
5151 (inet_aton): Remove hidden prototype. No longer used internally.
5152 * nscd/gai.c (__inet_aton): Do not define.
5153 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
5154 * nss/digits_dots.c (__inet_aton): Likewise.
5155 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
5156 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
5157 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
5158 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
5159 (tst-resolv-trailing): Likewise.
5160 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
5162 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
5163 Make static. Add endp parameter.
5164 (__inet_aton_exact): New function.
5165 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
5166 (__inet_addr): Call inet_aton_end.
5167 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
5168 not just IPv6. Call __inet_aton_exact.
5169 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
5170 (tests): Make const. Add additional test cases with trailing
5172 (do_test): Use array_length.
5173 * resolv/tst-inet_aton_exact.c: New file.
5174 * resolv/tst-resolv-trailing.c: Likewise.
5175 * resolv/tst-resolv-nondecimal.c: Likewise.
5176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
5178 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5182 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
5183 Clear the upper 32 bits of RSI register.
5184 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
5185 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
5186 and tst-size_t-wcsnlen.
5187 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
5188 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
5190 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5194 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
5195 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5196 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5197 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
5198 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
5200 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5204 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
5205 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5206 * sysdeps/x86_64/strcmp.S: Likewise.
5207 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
5208 tst-size_t-strncmp and tst-size_t-wcsncmp.
5209 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
5210 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
5211 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
5213 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5217 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
5218 RDX_LP for length. Clear the upper 32 bits of RDX register.
5219 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
5220 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
5221 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
5222 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
5224 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5228 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
5229 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
5230 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
5231 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
5233 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5237 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
5238 length. Clear the upper 32 bits of RDX register.
5239 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5240 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5242 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5244 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
5246 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
5248 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5252 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
5253 length. Clear the upper 32 bits of RDX register.
5254 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5255 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5256 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
5258 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
5259 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
5261 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5265 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
5266 upper 32 bits of RDX register.
5267 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
5268 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
5270 * sysdeps/x86_64/x32/test-size_t.h: New file.
5271 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
5272 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
5274 2019-01-18 Florian Weimer <fweimer@redhat.com>
5277 resolv: Do not send queries for non-host-names in nss_dns.
5278 * resolv/nss_dns/dns-host.c (check_name): New function.
5279 (_nss_dns_gethostbyname2_r): Use it.
5280 (_nss_dns_gethostbyname_r): Likewise.
5281 (_nss_dns_gethostbyname4_r): Likewise.
5283 2019-01-21 Florian Weimer <fweimer@redhat.com>
5285 * resolv/inet_addr.c: Reformat to GNU style.
5286 (__inet_addr, __inet_aton): Update comment.
5288 2019-01-18 Florian Weimer <fweimer@redhat.com>
5290 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
5291 ("malloc: Use current (C11-style) atomics for fastbin access").
5292 This commit introduces a substantial performance regression on
5294 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
5295 (REMOVE_FB): Define.
5296 (_int_malloc): Use it and reindent.
5297 (_int_free): Use CAS loop with
5298 catomic_compare_and_exchange_val_rel.
5299 (malloc_consolidate): Use atomic_exchange_acq.
5302 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
5304 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
5306 (LDFLAGS-tst-minsigstksz-2): Likewise.
5307 (LDFLAGS-tst-minsigstksz-3): Likewise.
5308 (LDFLAGS-tst-minsigstksz-3a): Likewise.
5309 (LDFLAGS-tst-minsigstksz-4): Likewise.
5311 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
5313 * manual/time.texi (strftime): Fix the wording to "alternative" rather
5316 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
5318 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
5320 2019-01-16 Zack Weinberg <zackw@panix.com>
5322 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
5323 (xget_sigstack_location): New test support functions.
5324 * support/xsigstack.c: New file, implementing them.
5325 * support/tst-xsigstack.c: New test for them.
5326 * support/Makefile: Update.
5328 * signal/tst-minsigstksz-1.c
5329 * signal/tst-minsigstksz-2.c
5330 * signal/tst-minsigstksz-3.c
5331 * signal/tst-minsigstksz-3a.c
5332 * signal/tst-minsigstksz-4.c: New tests.
5333 * signal/Makefile: Run them.
5335 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5337 * po/libc.pot: Regenerate.
5339 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5341 * math/libm-test-fma.inc (fma_test_data): Set
5342 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
5344 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5346 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
5347 (do_test): Changed __vector __int128_t to __vector unsigned int.
5349 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5351 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5352 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
5353 stpcpy-avx2 and stpncpy-avx2.
5354 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
5355 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
5356 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
5358 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
5359 ifunc-strcpy.h}: rename header for a more generic name.
5360 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
5361 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
5362 AVX unaligned load is fast and vzeroupper is preferred.
5363 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
5364 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
5365 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
5366 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
5367 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
5368 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
5370 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
5372 * argp/argp-help.c: Fix typo in comment.
5373 * misc/sys/cdefs.h: Likewise.
5374 * posix/regexec.c (sift_states_iter_mb): Likewise.
5375 * socket/sockatmark.c: Likewise.
5376 * socket/sys/socket.h: Likewise.
5377 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
5378 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
5379 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
5380 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5381 * sysdeps/unix/sockatmark.c: Likewise.
5382 * time/strptime_l.c: Likewise.
5384 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5386 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
5387 missing space after the cast of "_NL_CURRENT".
5389 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5391 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
5392 ifdef to fix read of VSCR.
5393 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
5394 tst-ucontext-ppc64-vscr.c to test list.
5395 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
5397 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
5399 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
5402 2019-01-09 Jim Wilson <jimw@sifive.com>
5404 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
5406 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
5408 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
5409 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
5410 __memcpy_falkor for ares.
5411 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
5413 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5416 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
5419 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
5420 4_FP_W_TYPEs are used for IEEE quad precision.
5421 * soft-fp/extendhftf2.c: Likewise.
5422 * soft-fp/extendsftf2.c: Likewise.
5423 * soft-fp/extendxftf2.c: Likewise.
5424 * soft-fp/trunctfdf2.c: Likewise.
5425 * soft-fp/trunctfhf2.c: Likewise.
5426 * soft-fp/trunctfsf2.c: Likewise.
5427 * soft-fp/trunctfxf2.c: Likewise.
5428 * sysdeps/alpha/ots_cvttx.c: Likewise.
5429 * sysdeps/alpha/ots_cvtxt.c: Likewise.
5430 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
5431 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
5432 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
5433 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
5434 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
5435 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
5436 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
5437 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
5438 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
5439 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
5440 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
5441 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
5442 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
5443 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
5444 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
5445 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
5447 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5450 * Makeconfig: Build libm with -fno-math-errno but build the remaining
5451 code with -fmath-errno.
5452 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
5453 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
5454 * string/test-strerror-errno.c: New file.
5456 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5459 * localedata/locales/en_US (date_fmt): Add, set to
5460 "%a %d %b %Y %r %Z".
5462 2019-01-07 Florian Weimer <fweimer@redhat.com>
5465 * manual/arith.texi (Math Error Reporting): Use @code{errno}
5466 instead of @var{errno}.
5467 (Parsing of Integers): Likewise.
5468 (Parsing of Floats): Likewise.
5469 * manual/filesys.texi (Working with Directory Trees): Likewise.
5470 (Temporary Files): Likewise.
5471 * manual/job.texi (Terminal Access Functions): Likewise.
5472 * manual/llio.texi (Synchronizing I/O): Likewise.
5473 * manual/math.texi (SVID Random): Likewise.
5474 * manual/message.texi (The catgets Functions): Likewise.
5475 (Translation with gettext): Likewise.
5476 (Locating gettext catalog): Likewise.
5477 (Charset conversion in gettext): Likewise.
5478 * manual/nss.texi (NSS Module Function Internals): Likewise.
5479 * manual/search.texi (Hash Search Function): Likewise.
5480 * manual/setjmp.texi (System V contexts): Likewise.
5481 * manual/time.texi (Sleeping): Likewise.
5482 * manual/users.texi (Lookup User): Likewise.
5483 (Lookup Group): Likewise.
5485 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5487 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
5490 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
5493 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
5494 __builtin_unreachable for default case in switch.
5495 (__ieee754_yn): Likewise.
5496 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5497 (__ieee754_ynl): Likewise.
5498 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5499 (__ieee754_ynl): Likewise.
5500 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5501 (__ieee754_ynl): Likewise.
5503 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
5505 * manual/maint.texi: Use @{ and @}.
5507 2019-01-04 Florian Weimer <fweimer@redhat.com>
5509 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
5511 (do_in_chroot_1): Call it.
5513 Improve error reporting in case it is not possible to create a
5514 collision for the PTY name required by the test.
5516 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5518 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
5519 lll_wait_tid with timeout.
5520 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
5521 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
5522 futex_reltimed_wait_cancelable for cancelabla mode.
5523 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
5524 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
5526 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
5527 * sysdeps/posix/waitid.c (__sigwait): Likewise.
5528 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
5529 SYSCALL_CANCEL_NCS): New macro.
5530 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
5531 (lll_timedwait_tid): Remove macro.
5532 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
5534 (lll_timedwait_tid): Likewise.
5535 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
5537 (lll_timedwait_tid): Likewise.
5538 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
5540 (lll_timedwait_tid): Likewise.
5541 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
5542 Use INTERNAL_SYSCALL_CANCEL.
5543 * sysdeps/unix/sysv/linux/futex-internal.h
5544 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
5545 instead of __pthread_{enable,disable}_asynccancel.
5546 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5547 (lll_futex_wait_cancel): New macro.
5549 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5550 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5552 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5553 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5555 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
5556 in backtrace analysis.
5557 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
5559 (tf_send): Likewise.
5561 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
5562 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
5563 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
5564 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
5565 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5566 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5567 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
5568 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
5569 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
5570 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
5571 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
5572 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
5574 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
5575 tst-cancel-wrappers.sh.
5576 (generated): Remove tst-cancel-wrappers.out.
5577 (tst-cancel-wrappers.out): Remove rule.
5578 * nptl/tst-cancel-wrappers.sh: Remove file.
5580 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5582 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
5583 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5586 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5589 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
5590 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
5591 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
5592 close-on-exec reset for adddup2 file action.
5593 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5595 2019-01-03 Zack Weinberg <zackw@panix.com>
5597 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
5598 parameter. Only use deprecated scanf when __USE_GNU is defined
5599 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
5600 than 201103L, whichever is relevant for the language being compiled.
5602 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
5603 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
5604 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
5605 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
5606 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
5610 * libio/iovswscanf.c
5615 * stdio-common/fscanf.c
5616 * stdio-common/scanf.c
5617 * stdio-common/vfscanf.c
5618 * stdio-common/vfwscanf.c
5619 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5620 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
5621 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
5622 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
5623 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
5624 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
5625 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
5626 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
5627 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
5628 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
5629 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
5630 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
5631 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
5632 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
5633 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
5635 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
5636 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
5637 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
5639 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
5640 with a preprocessor macro.
5642 * stdio-common/bug21.c, stdio-common/scanf14.c:
5643 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
5644 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5645 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
5646 to xscanf, xfscanf, xsscanf.
5648 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
5649 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5650 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
5651 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
5653 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
5654 override feature selection macros or provide definitions of u_char etc.
5655 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
5656 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
5657 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
5660 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5663 bits/termios-misc.h.
5664 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
5665 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5666 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5667 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5668 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
5669 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
5671 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
5672 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5673 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
5674 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
5675 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
5676 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
5678 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
5679 (sysdep_headers): Add termios-misc.h.
5681 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
5682 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5683 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5687 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
5688 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
5689 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
5690 TCSAFLUSH): Move to termios-tcflow.h.
5691 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5692 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5693 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5694 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5696 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5698 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
5699 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
5700 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
5701 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
5702 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
5703 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
5704 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
5705 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
5707 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5708 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5709 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5710 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5714 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
5715 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
5716 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
5717 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
5718 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
5720 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5721 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5722 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5723 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5728 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
5729 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
5730 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
5731 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
5732 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
5733 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
5734 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
5735 __MAX_BAUD): Move to termios-baud.h.
5736 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
5737 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
5738 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5739 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5740 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5742 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5744 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
5745 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
5746 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
5747 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
5748 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
5749 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
5751 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
5752 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
5754 [USE_MISC] (XTABS): Likewise.
5755 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5756 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5757 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5758 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
5760 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5762 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
5763 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
5764 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
5765 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
5766 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
5767 IUTF8): Move to termios-c_iflag.h.
5768 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5769 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5770 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5771 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5773 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5775 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
5776 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
5777 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
5778 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
5779 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
5780 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
5781 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
5782 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
5783 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5784 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5785 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5786 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5788 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
5789 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
5790 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
5791 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
5792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5794 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
5796 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
5798 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
5800 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
5802 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
5804 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
5805 _HAVE_C_OSPEED): Define.
5806 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
5807 _HAVE_C_OSPEED): Likewise.
5808 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
5809 _HAVE_C_OSPEED): Likewise.
5810 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
5811 (cfsetospeed): Check for define value instead of existence.
5812 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
5813 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5814 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
5815 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5816 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
5819 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
5821 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5822 (TIOCSER_TEMT): Likewise.
5823 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
5824 (TEOCSER_TEMT): Likewise.
5826 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
5829 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
5831 2019-01-02 Joseph Myers <joseph@codesourcery.com>
5833 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
5835 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5837 * sysdeps/htl/pt-barrierattr-setpshared.c
5838 (pthread_barrierattr_setpshared): Add stub warning.
5839 * sysdeps/htl/pt-condattr-setpshared.c
5840 (pthread_condattr_setpshared): Likewise.
5841 * sysdeps/htl/pt-mutexattr-setpshared.c
5842 (pthread_mutexattr_setpshared): Likewise.
5843 * sysdeps/htl/pt-rwlockattr-setpshared.c
5844 (pthread_rwlockattr_setpshared): Likewise.
5845 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
5846 (pthread_mutexattr_setpshared): Likewise.
5848 2019-01-02 Joseph Myers <joseph@codesourcery.com>
5850 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
5851 constants to match with Linux 4.20.
5853 * sysdeps/mips/mips32/libm-test-ulps: Update.
5854 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5856 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
5859 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
5860 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
5861 than __typeof (...) for the a_ptr variable.
5863 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5865 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
5866 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
5867 * libio/Makefile (tests): Add tst-sprintf-ub and
5869 (CFLAGS-tst-sprintf-ub.c): New variable.
5870 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
5871 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
5872 destination buffer and check for overflows in fortified mode.
5873 * libio/libioP.h (PRINTF_CHK): New macro.
5874 * libio/tst-sprintf-chk-ub.c: New file.
5875 * libio/tst-sprintf-ub.c: Likewise.
5877 2019-01-02 Florian Weimer <fweimer@redhat.com>
5880 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
5883 2019-01-02 Florian Weimer <fweimer@redhat.com>
5885 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
5887 2019-01-01 Joseph Myers <joseph@codesourcery.com>
5889 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
5892 * sysdeps/unix/sysv/linux/netpacket/packet.h
5893 (PACKET_IGNORE_OUTGOING): New macro.
5895 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
5898 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5900 (riscv_flush_icache): New syscall.
5902 * manual/texinfo.tex: Update to version 2018-12-28.17 with
5903 trailing whitespace removed.
5904 * scripts/config.guess: Update to version 2019-01-01.
5905 * scripts/config.sub: Update to version 2019-01-01.
5906 * scripts/move-if-change: Update from gnulib.
5908 * NEWS: Update copyright dates.
5909 * catgets/gencat.c (print_version): Likewise.
5910 * csu/version.c (banner): Likewise.
5911 * debug/catchsegv.sh: Likewise.
5912 * debug/pcprofiledump.c (print_version): Likewise.
5913 * debug/xtrace.sh (do_version): Likewise.
5914 * elf/ldconfig.c (print_version): Likewise.
5915 * elf/ldd.bash.in: Likewise.
5916 * elf/pldd.c (print_version): Likewise.
5917 * elf/sotruss.sh: Likewise.
5918 * elf/sprof.c (print_version): Likewise.
5919 * iconv/iconv_prog.c (print_version): Likewise.
5920 * iconv/iconvconfig.c (print_version): Likewise.
5921 * locale/programs/locale.c (print_version): Likewise.
5922 * locale/programs/localedef.c (print_version): Likewise.
5923 * login/programs/pt_chown.c (print_version): Likewise.
5924 * malloc/memusage.sh (do_version): Likewise.
5925 * malloc/memusagestat.c (print_version): Likewise.
5926 * malloc/mtrace.pl: Likewise.
5927 * manual/libc.texinfo: Likewise.
5928 * nptl/version.c (banner): Likewise.
5929 * nscd/nscd.c (print_version): Likewise.
5930 * nss/getent.c (print_version): Likewise.
5931 * nss/makedb.c (print_version): Likewise.
5932 * posix/getconf.c (main): Likewise.
5933 * scripts/test-installation.pl: Likewise.
5934 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5936 * All files with FSF copyright notices: Update copyright dates
5937 using scripts/update-copyrights.
5938 * locale/programs/charmap-kw.h: Regenerated.
5939 * locale/programs/locfile-kw.h: Likewise.
5941 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5943 * timezone/zdump.c: Update from tzcode 2018i.
5944 * timezone/zic.c: Likewise.
5946 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
5948 regex: improve Gnulib port to AIX
5949 From the glibc point of view, this removes duplicate macro
5950 definitions and is obviously safe.
5951 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
5952 * posix/regex_internal.h:
5953 (__attribute__, __attribute_warn_unused_result__):
5954 Remove; already defined elsewhere.
5956 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
5959 * malloc/malloc.c (_int_realloc): Always call memcpy for the
5960 copying operation. (ncopies had the wrong type, resulting in an
5961 integer wraparound and too few elements being copied.)
5963 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
5966 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
5967 <asm/syscalls.h> exists with __has_include__ before including it.
5969 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5971 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5974 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
5976 * hurd/lookup-retry: Include <unistd.h>.
5977 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
5978 Release it on return. Handle "pid" magical lookup retry.
5980 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5983 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
5984 (t_fmt_ampm): Likewise.
5985 * localedata/locales/aa_ER (t_fmt): Likewise.
5986 (t_fmt_ampm): Likewise.
5987 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
5988 (t_fmt_ampm): Likewise.
5989 * localedata/locales/aa_ET (t_fmt): Likewise.
5990 (t_fmt_ampm): Likewise.
5991 * localedata/locales/am_ET (t_fmt): Likewise.
5992 (t_fmt_ampm): Likewise.
5993 * localedata/locales/byn_ER (t_fmt): Likewise.
5994 (t_fmt_ampm): Likewise.
5995 * localedata/locales/om_ET (t_fmt): Likewise.
5996 (t_fmt_ampm): Likewise.
5997 * localedata/locales/sid_ET (t_fmt): Likewise.
5998 (t_fmt_ampm): Likewise.
5999 * localedata/locales/so_DJ (t_fmt): Likewise.
6000 (t_fmt_ampm): Likewise.
6001 * localedata/locales/so_ET (t_fmt): Likewise.
6002 (t_fmt_ampm): Likewise.
6003 * localedata/locales/so_SO (t_fmt): Likewise.
6004 (t_fmt_ampm): Likewise.
6005 * localedata/locales/ti_ER (t_fmt): Likewise.
6006 (t_fmt_ampm): Likewise.
6007 * localedata/locales/ti_ET (t_fmt): Likewise.
6008 (t_fmt_ampm): Likewise.
6009 * localedata/locales/tig_ER (t_fmt): Likewise.
6010 (t_fmt_ampm): Likewise.
6011 * localedata/locales/wal_ET (t_fmt): Likewise.
6012 (t_fmt_ampm): Likewise.
6014 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
6015 * localedata/locales/ar_IN (t_fmt): Likewise.
6016 * localedata/locales/bhb_IN (t_fmt): Likewise.
6017 * localedata/locales/bho_IN (t_fmt): Likewise.
6018 * localedata/locales/bi_VU (t_fmt): Likewise.
6019 * localedata/locales/bn_BD (t_fmt): Likewise.
6020 * localedata/locales/bn_IN (t_fmt): Likewise.
6021 * localedata/locales/brx_IN (t_fmt): Likewise.
6022 * localedata/locales/doi_IN (t_fmt): Likewise.
6023 * localedata/locales/en_HK (t_fmt): Likewise.
6024 (t_fmt_ampm): Likewise.
6025 * localedata/locales/en_IN (t_fmt): Likewise.
6026 * localedata/locales/en_PH (t_fmt): Likewise.
6027 * localedata/locales/gu_IN (t_fmt): Likewise.
6028 * localedata/locales/hi_IN (t_fmt): Likewise.
6029 * localedata/locales/hif_FJ (t_fmt): Likewise.
6030 * localedata/locales/hne_IN (t_fmt): Likewise.
6031 * localedata/locales/kn_IN (t_fmt): Likewise.
6032 * localedata/locales/kok_IN (t_fmt): Likewise.
6033 * localedata/locales/ks_IN (t_fmt): Likewise.
6034 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
6035 * localedata/locales/mag_IN (t_fmt): Likewise.
6036 * localedata/locales/mai_IN (t_fmt): Likewise.
6037 * localedata/locales/mjw_IN (t_fmt): Likewise.
6038 * localedata/locales/ml_IN (t_fmt): Likewise.
6039 * localedata/locales/mni_IN (t_fmt): Likewise.
6040 * localedata/locales/mr_IN (t_fmt): Likewise.
6041 * localedata/locales/ms_MY (t_fmt): Likewise.
6042 * localedata/locales/pa_IN (t_fmt): Likewise.
6043 * localedata/locales/raj_IN (t_fmt): Likewise.
6044 * localedata/locales/sa_IN (t_fmt): Likewise.
6045 * localedata/locales/sat_IN (t_fmt): Likewise.
6046 * localedata/locales/sd_IN (t_fmt): Likewise.
6047 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
6048 * localedata/locales/tcy_IN (t_fmt): Likewise.
6049 * localedata/locales/the_NP (t_fmt): Likewise.
6050 * localedata/locales/to_TO (t_fmt): Likewise.
6051 * localedata/locales/ur_IN (t_fmt): Likewise.
6053 * localedata/locales/hif_FJ (d_t_fmt): Set to
6054 "%A %d %b %Y %I:%M:%S %p".
6055 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
6057 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
6058 * localedata/locales/ar_BH (t_fmt): Likewise.
6059 * localedata/locales/ar_DZ (t_fmt): Likewise.
6060 * localedata/locales/ar_EG (t_fmt): Likewise.
6061 * localedata/locales/ar_IQ (t_fmt): Likewise.
6062 * localedata/locales/ar_JO (t_fmt): Likewise.
6063 * localedata/locales/ar_KW (t_fmt): Likewise.
6064 * localedata/locales/ar_LB (t_fmt): Likewise.
6065 * localedata/locales/ar_LY (t_fmt): Likewise.
6066 * localedata/locales/ar_OM (t_fmt): Likewise.
6067 * localedata/locales/ar_QA (t_fmt): Likewise.
6068 * localedata/locales/ar_SD (t_fmt): Likewise.
6069 * localedata/locales/ar_SS (t_fmt): Likewise.
6070 * localedata/locales/ar_SY (t_fmt): Likewise.
6071 * localedata/locales/ar_TN (t_fmt): Likewise.
6072 * localedata/locales/ar_YE (t_fmt): Likewise.
6074 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
6075 (t_fmt_ampm): Likewise.
6076 * localedata/locales/gez_ET (t_fmt): Likewise.
6077 (t_fmt_ampm): Likewise.
6079 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
6080 (t_fmt_ampm): Likewise.
6081 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
6083 * localedata/locales/zh_HK (t_fmt):
6084 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
6086 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
6087 because this locale does not use the 12-hour clock.
6088 (t_fmt): Set to "%Z %H:%M:%S".
6089 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
6091 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
6092 because this locale does not use the 12-hour clock.
6093 (t_fmt): Set to "%H:%M:%S %Z".
6094 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
6096 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
6097 because this locale does not use the 12-hour clock.
6098 (t_fmt): Set to "%T".
6099 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
6100 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
6102 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
6103 because this locale does not use the 12-hour clock.
6104 (t_fmt): Set to "%H:%M:%S %Z".
6105 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
6107 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
6108 because this locale does not use the 12-hour clock.
6109 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
6110 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
6112 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6116 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
6117 (t_fmt_ampm): Likewise.
6118 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
6119 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
6120 (d_fmt): Set to "%-d.%-m.%y".
6122 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6124 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
6125 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
6126 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
6128 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
6129 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
6130 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
6132 * support/blob_repeat.c (check_mul_overflow_size_t,
6133 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
6135 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
6137 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
6139 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
6141 regex: simplify Gnulib port
6142 This simplifies the code, by removing stuff intended for porting
6143 to Gnulib but no longer needed there.
6144 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
6145 uses of libc_hidden_def, weak_alias.
6146 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
6147 _Restrict_ except for public-facing headers.
6148 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
6149 Remove; already defined elsewhere.
6150 * posix/regex.c, posix/regex_internal.h:
6151 Use __GNUC_PREREQ instead of rolling our own.
6152 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
6154 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
6156 * benchtests/bench-strlen.c (generic_strlen): New function.
6157 (memchr_strlen): New function.
6159 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6161 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
6162 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
6163 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
6165 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6167 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6169 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6171 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
6172 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
6173 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
6174 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
6175 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
6176 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
6177 <sysdeps/ieee754/flt-32/s_sincosf.c>.
6179 2018-12-21 Joseph Myers <joseph@codesourcery.com>
6182 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
6183 PLT reference in libc.so.
6184 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
6185 _Q_lltoq and _Q_qtod PLT references in libc.so.
6187 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
6189 * benchtests/bench-memchr.c: Cleanup defines.
6190 * benchtests/bench-memcmp.c: Likewise.
6191 * benchtests/bench-memset.c: Likewise.
6192 * benchtests/bench-memset-large.c: Likewise.
6193 * benchtests/bench-memset-walk.c: Likewise.
6194 * benchtests/bench-stpcpy.c: Likewise.
6195 * benchtests/bench-stpncpy.c: Likewise.
6196 * benchtests/bench-strcat.c: Likewise.
6197 * benchtests/bench-strchr.c: Likewise.
6198 * benchtests/bench-strcmp.c: Likewise.
6199 * benchtests/bench-strcpy.c: Likewise.
6200 * benchtests/bench-strcspn.c: Likewise.
6201 * benchtests/bench-string.h: Likewise.
6202 * benchtests/bench-strlen.c: Likewise.
6203 * benchtests/bench-strncat.c: Likewise.
6204 * benchtests/bench-strncmp.c: Likewise.
6205 * benchtests/bench-strncpy.c: Likewise.
6206 * benchtests/bench-strnlen.c: Likewise.
6207 * benchtests/bench-strpbrk.c: Likewise.
6208 * benchtests/bench-strrchr.c: Likewise.
6209 * benchtests/bench-strspn.c: Likewise.
6211 2018-12-21 Joseph Myers <joseph@codesourcery.com>
6213 * stdlib/longlong.h: Update from GCC.
6216 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
6217 * configure: Regenerated.
6218 * manual/install.texi (Tools for Compilation): Update minimum GCC
6220 * INSTALL: Regenerated.
6222 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
6224 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
6226 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
6228 * malloc/malloc.c (mremap_chunk): Additional checks.
6230 2018-12-21 Mao Han <han_mao@c-sky.com>
6232 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
6233 * scripts/build-many-glibcs.py: Add C-SKY targets.
6234 * sysdeps/csky/Implies: New file.
6235 * sysdeps/csky/Makefile: Likewise.
6236 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
6237 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
6238 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
6239 * sysdeps/csky/abiv2/memcmp.S: Likewise.
6240 * sysdeps/csky/abiv2/memcpy.S: Likewise.
6241 * sysdeps/csky/abiv2/memmove.S: Likewise.
6242 * sysdeps/csky/abiv2/memset.S: Likewise.
6243 * sysdeps/csky/abiv2/setjmp.S: Likewise.
6244 * sysdeps/csky/abiv2/start.S: Likewise.
6245 * sysdeps/csky/abiv2/strcmp.S: Likewise.
6246 * sysdeps/csky/abiv2/strcpy.S: Likewise.
6247 * sysdeps/csky/abiv2/strlen.S: Likewise.
6248 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
6249 * sysdeps/csky/abort-instr.h: Likewise.
6250 * sysdeps/csky/atomic-machine.h: Likewise.
6251 * sysdeps/csky/bits/endian.h: Likewise.
6252 * sysdeps/csky/bits/fenv.h: Likewise.
6253 * sysdeps/csky/bits/link.h: Likewise.
6254 * sysdeps/csky/bits/setjmp.h: Likewise.
6255 * sysdeps/csky/bsd-_setjmp.S: Likewise.
6256 * sysdeps/csky/bsd-setjmp.S: Likewise.
6257 * sysdeps/csky/configure: Likewise.
6258 * sysdeps/csky/configure.ac: Likewise.
6259 * sysdeps/csky/dl-machine.h: Likewise.
6260 * sysdeps/csky/dl-procinfo.c: Likewise.
6261 * sysdeps/csky/dl-procinfo.h: Likewise.
6262 * sysdeps/csky/dl-sysdep.h: Likewise.
6263 * sysdeps/csky/dl-tls.h: Likewise.
6264 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
6265 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
6266 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
6267 * sysdeps/csky/fpu/fegetenv.c: Likewise.
6268 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
6269 * sysdeps/csky/fpu/fegetmode.c: Likewise.
6270 * sysdeps/csky/fpu/fegetround.c: Likewise.
6271 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
6272 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
6273 * sysdeps/csky/fpu/fenv_private.h: Likewise.
6274 * sysdeps/csky/fpu/fesetenv.c: Likewise.
6275 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
6276 * sysdeps/csky/fpu/fesetmode.c: Likewise.
6277 * sysdeps/csky/fpu/fesetround.c: Likewise.
6278 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
6279 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
6280 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
6281 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
6282 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
6283 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
6284 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
6285 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
6286 * sysdeps/csky/fpu_control.h: Likewise.
6287 * sysdeps/csky/gccframe.h: Likewise.
6288 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
6289 * sysdeps/csky/ldsodefs.h: Likewise.
6290 * sysdeps/csky/libc-tls.c: Likewise.
6291 * sysdeps/csky/linkmap.h: Likewise.
6292 * sysdeps/csky/machine-gmon.h: Likewise.
6293 * sysdeps/csky/memusage.h: Likewise.
6294 * sysdeps/csky/nofpu/Implies: Likewise.
6295 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
6296 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
6297 * sysdeps/csky/nptl/Makefile: Likewise.
6298 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
6299 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
6300 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
6301 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
6302 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
6303 * sysdeps/csky/nptl/tls.h: Likewise.
6304 * sysdeps/csky/preconfigure: Likewise.
6305 * sysdeps/csky/sfp-machine.h: Likewise.
6306 * sysdeps/csky/sotruss-lib.c: Likewise.
6307 * sysdeps/csky/stackinfo.h: Likewise.
6308 * sysdeps/csky/sysdep.h: Likewise.
6309 * sysdeps/csky/tininess.h: Likewise.
6310 * sysdeps/csky/tst-audit.h: Likewise.
6311 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
6312 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
6313 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
6314 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
6315 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
6316 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
6317 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
6318 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
6319 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
6320 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
6321 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
6322 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
6323 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
6324 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
6325 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
6326 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
6327 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
6328 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
6329 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
6330 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
6331 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
6332 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
6333 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
6334 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
6335 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
6336 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
6337 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
6338 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
6339 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
6340 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
6341 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
6342 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
6343 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
6344 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
6345 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
6346 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
6347 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
6348 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
6349 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
6350 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
6351 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
6352 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
6353 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
6354 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
6356 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
6358 * include/time.h (__difftime64): Add.
6359 * time/difftime.c (subtract): convert to 64-bit time.
6360 * time/difftime.c (__difftime64): Add.
6361 * time/difftime.c (__difftime): Wrap around __difftime64.
6363 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
6365 * manual/examples/add.c: Remove redundant "if not".
6366 * manual/examples/argp-ex1.c: Likewise.
6367 * manual/examples/argp-ex2.c: Likewise.
6368 * manual/examples/argp-ex3.c: Likewise.
6369 * manual/examples/argp-ex4.c: Likewise.
6370 * manual/examples/atexit.c: Likewise.
6371 * manual/examples/db.c: Likewise.
6372 * manual/examples/dir.c: Likewise.
6373 * manual/examples/dir2.c: Likewise.
6374 * manual/examples/execinfo.c: Likewise.
6375 * manual/examples/filecli.c: Likewise.
6376 * manual/examples/filesrv.c: Likewise.
6377 * manual/examples/fmtmsgexpl.c: Likewise.
6378 * manual/examples/genpass.c: Likewise.
6379 * manual/examples/inetcli.c: Likewise.
6380 * manual/examples/inetsrv.c: Likewise.
6381 * manual/examples/isockad.c: Likewise.
6382 * manual/examples/longopt.c: Likewise.
6383 * manual/examples/memopen.c: Likewise.
6384 * manual/examples/memstrm.c: Likewise.
6385 * manual/examples/mkdirent.c: Likewise.
6386 * manual/examples/mkfsock.c: Likewise.
6387 * manual/examples/mkisock.c: Likewise.
6388 * manual/examples/mygetpass.c: Likewise.
6389 * manual/examples/pipe.c: Likewise.
6390 * manual/examples/popen.c: Likewise.
6391 * manual/examples/rprintf.c: Likewise.
6392 * manual/examples/search.c: Likewise.
6393 * manual/examples/select.c: Likewise.
6394 * manual/examples/setjmp.c: Likewise.
6395 * manual/examples/sigh1.c: Likewise.
6396 * manual/examples/sigusr.c: Likewise.
6397 * manual/examples/stpcpy.c: Likewise.
6398 * manual/examples/strdupa.c: Likewise.
6399 * manual/examples/strftim.c: Likewise.
6400 * manual/examples/subopt.c: Likewise.
6401 * manual/examples/swapcontext.c: Likewise.
6402 * manual/examples/termios.c: Likewise.
6403 * manual/examples/testopt.c: Likewise.
6404 * manual/examples/testpass.c: Likewise.
6405 * manual/examples/timeval_subtract.c: Likewise.
6407 2018-12-19 Joseph Myers <joseph@codesourcery.com>
6409 * sysdeps/x86/fpu/math_private.h: New file.
6410 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
6412 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
6417 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6419 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
6420 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
6421 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
6422 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
6424 (_dl_show_auxv): Give a special treatment to
6425 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
6426 and AT_L3_CACHEGEOMETRY.
6427 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
6428 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
6429 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
6430 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
6432 2018-12-19 Andreas Schwab <schwab@suse.de>
6434 * nscd/connections.c (check_use): Don't abort on invalid len.
6436 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6438 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
6439 values in the 64bit value cases.
6441 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
6447 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
6453 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
6456 (__gmtime64_r): Add.
6458 (__gmtime64_r): Add.
6459 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6465 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6468 (__localtime64_r): Add.
6470 (__localtime64_r): Add.
6471 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
6473 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6475 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
6476 kernel_sigction definition.
6478 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
6480 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
6482 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
6483 __syscall_rt_sigaction.
6484 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
6485 (kernel_sigaction): Use Linux generic defintion.
6487 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
6488 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
6489 (__syscall_rt_sigaction): Remove implementation.
6490 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
6492 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
6493 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
6494 INTERNAL_SYSCALL): Remove definitions.
6495 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
6496 action and signal set size.
6497 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
6498 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
6500 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6501 James Clarke <jrtc27@jrtc27.com>
6504 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
6505 Define if SA_RESTORER is defined.
6506 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
6507 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
6509 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
6510 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
6512 (HAS_SA_RESTORER): Define.
6513 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
6514 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
6515 (HAS_SA_RESTORER): Define.
6516 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
6517 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
6518 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
6519 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
6520 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6522 2018-12-18 Joseph Myers <joseph@codesourcery.com>
6524 * sysdeps/unix/sysv/linux/kernel-features.h
6525 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
6526 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6527 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
6528 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6529 (__ASSUME_ST_INO_64_BIT): Likewise.
6530 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6531 <kernel-features.h>.
6532 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6533 Remove conditional code.
6534 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6535 <kernel-features.h>.
6536 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6537 Remove conditional code.
6538 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
6539 <kernel-features.h>.
6540 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6541 Remove conditional code.
6542 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
6543 <kernel-features.h>.
6544 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
6545 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
6547 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6549 * sysdeps/s390/multiarch/ifunc-resolve.h
6550 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
6551 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
6552 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
6553 Delete macro definition.
6554 (s390_libc_ifunc_init): Rename to
6555 s390_libc_ifunc_expr_stfle_init.
6556 * sysdeps/s390/bzero: Use
6557 s390_libc_ifunc_expr_stfle_init instead of
6558 s390_libc_ifunc_init.
6559 * sysdeps/s390/memcmp.c: Likewise.
6560 * sysdeps/s390/memcpy.c: Likewise.
6561 * sysdeps/s390/mempcpy.c: Likewise.
6562 * sysdeps/s390/memset.c: Likewise.
6564 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6566 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
6567 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
6569 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6571 * sysdeps/s390/multiarch/Makefile
6572 (sysdep_routines): Remove wmemcmp variants.
6573 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
6574 * sysdeps/s390/multiarch/ifunc-impl-list.c
6575 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
6576 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
6577 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
6578 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
6579 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
6580 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
6581 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
6582 * sysdeps/s390/ifunc-wmemcmp.h: New file.
6584 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6586 * sysdeps/s390/multiarch/Makefile
6587 (sysdep_routines): Remove wmemset variants.
6588 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
6589 * sysdeps/s390/multiarch/ifunc-impl-list.c
6590 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
6591 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
6592 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
6593 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
6594 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
6595 * sysdeps/s390/multiarch/wmemset.c: Move to ...
6596 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
6597 * sysdeps/s390/ifunc-wmemset.h: New file.
6599 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6601 * sysdeps/s390/multiarch/Makefile
6602 (sysdep_routines): Remove wmemchr variants.
6603 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
6604 * sysdeps/s390/multiarch/ifunc-impl-list.c
6605 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
6606 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
6607 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
6608 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
6609 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
6610 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
6611 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
6612 * sysdeps/s390/ifunc-wmemchr.h: New file.
6614 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6616 * sysdeps/s390/multiarch/Makefile
6617 (sysdep_routines): Remove wcscspn variants.
6618 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
6619 * sysdeps/s390/multiarch/ifunc-impl-list.c
6620 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
6621 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
6622 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
6623 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
6624 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
6625 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
6626 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
6627 * sysdeps/s390/ifunc-wcscspn.h: New file.
6629 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6631 * sysdeps/s390/multiarch/Makefile
6632 (sysdep_routines): Remove wcspbrk variants.
6633 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
6634 * sysdeps/s390/multiarch/ifunc-impl-list.c
6635 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
6636 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
6637 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
6638 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
6639 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
6640 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
6641 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
6642 * sysdeps/s390/ifunc-wcspbrk.h: New file.
6644 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6646 * sysdeps/s390/multiarch/Makefile
6647 (sysdep_routines): Remove wcsspn variants.
6648 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
6649 * sysdeps/s390/multiarch/ifunc-impl-list.c
6650 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
6651 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
6652 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
6653 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
6654 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
6655 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
6656 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
6657 * sysdeps/s390/ifunc-wcsspn.h: New file.
6659 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6661 * sysdeps/s390/multiarch/Makefile
6662 (sysdep_routines): Remove wcsrchr variants.
6663 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
6664 * sysdeps/s390/multiarch/ifunc-impl-list.c
6665 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
6666 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
6667 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
6668 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
6669 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
6670 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
6671 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
6672 * sysdeps/s390/ifunc-wcsrchr.h: New file.
6674 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6676 * sysdeps/s390/multiarch/Makefile
6677 (sysdep_routines): Remove wcschrnul variants.
6678 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
6679 * sysdeps/s390/multiarch/ifunc-impl-list.c
6680 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
6681 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
6682 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
6683 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
6684 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
6685 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
6686 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
6687 * sysdeps/s390/ifunc-wcschrnul.h: New file.
6689 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6691 * sysdeps/s390/multiarch/Makefile
6692 (sysdep_routines): Remove wcschr variants.
6693 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
6694 * sysdeps/s390/multiarch/ifunc-impl-list.c
6695 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
6696 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
6697 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
6698 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
6699 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
6700 * sysdeps/s390/multiarch/wcschr.c: Move to ...
6701 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
6702 * sysdeps/s390/ifunc-wcschr.h: New file.
6704 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6706 * sysdeps/s390/multiarch/Makefile
6707 (sysdep_routines): Remove wcsncmp variants.
6708 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
6709 * sysdeps/s390/multiarch/ifunc-impl-list.c
6710 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
6711 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
6712 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
6713 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
6714 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
6715 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
6716 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
6717 * sysdeps/s390/ifunc-wcsncmp.h: New file.
6719 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6721 * sysdeps/s390/multiarch/Makefile
6722 (sysdep_routines): Remove wcscmp variants.
6723 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
6724 * sysdeps/s390/multiarch/ifunc-impl-list.c
6725 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
6726 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
6727 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
6728 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
6729 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
6730 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
6731 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
6732 * sysdeps/s390/ifunc-wcscmp.h: New file.
6734 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6736 * sysdeps/s390/multiarch/Makefile
6737 (sysdep_routines): Remove wcsncat variants.
6738 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
6739 * sysdeps/s390/multiarch/ifunc-impl-list.c
6740 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
6741 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
6742 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
6743 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
6744 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
6745 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
6746 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
6747 * sysdeps/s390/ifunc-wcsncat.h: New file.
6749 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6751 * sysdeps/s390/multiarch/Makefile
6752 (sysdep_routines): Remove wcscat variants.
6753 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
6754 * sysdeps/s390/multiarch/ifunc-impl-list.c
6755 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
6756 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
6757 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
6758 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
6759 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
6760 * sysdeps/s390/multiarch/wcscat.c: Move to ...
6761 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
6762 * sysdeps/s390/ifunc-wcscat.h: New file.
6764 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6766 * sysdeps/s390/multiarch/Makefile
6767 (sysdep_routines): Remove wcpncpy variants.
6768 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
6769 * sysdeps/s390/multiarch/ifunc-impl-list.c
6770 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
6771 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
6772 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
6773 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
6774 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
6775 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
6776 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
6777 * sysdeps/s390/ifunc-wcpncpy.h: New file.
6779 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6781 * sysdeps/s390/multiarch/Makefile
6782 (sysdep_routines): Remove wcsncpy variants.
6783 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
6784 * sysdeps/s390/multiarch/ifunc-impl-list.c
6785 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
6786 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
6787 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
6788 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
6789 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
6790 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
6791 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
6792 * sysdeps/s390/ifunc-wcsncpy.h: New file.
6794 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6796 * sysdeps/s390/multiarch/Makefile
6797 (sysdep_routines): Remove wcpcpy variants.
6798 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
6799 * sysdeps/s390/multiarch/ifunc-impl-list.c
6800 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
6801 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
6802 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
6803 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
6804 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
6805 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
6806 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
6807 * sysdeps/s390/ifunc-wcpcpy.h: New file.
6809 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6811 * sysdeps/s390/multiarch/Makefile
6812 (sysdep_routines): Remove wcscpy variants.
6813 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
6814 * sysdeps/s390/multiarch/ifunc-impl-list.c
6815 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
6816 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
6817 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
6818 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
6819 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
6820 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
6821 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
6822 * sysdeps/s390/ifunc-wcscpy.h: New file.
6824 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6826 * sysdeps/s390/multiarch/Makefile
6827 (sysdep_routines): Remove wcsnlen variants.
6828 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
6829 * sysdeps/s390/multiarch/ifunc-impl-list.c
6830 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
6831 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
6832 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
6833 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
6834 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
6835 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
6836 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
6837 * sysdeps/s390/ifunc-wcsnlen.h: New file.
6839 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6841 * sysdeps/s390/multiarch/Makefile
6842 (sysdep_routines): Remove wcslen variants.
6843 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
6844 * sysdeps/s390/multiarch/ifunc-impl-list.c
6845 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
6846 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
6847 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
6848 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
6849 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
6850 * sysdeps/s390/multiarch/wcslen.c: Move to ...
6851 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
6852 * sysdeps/s390/ifunc-wcslen.h: New file.
6854 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6856 * sysdeps/s390/multiarch/Makefile
6857 (sysdep_routines): Remove memrchr variants.
6858 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
6859 * sysdeps/s390/multiarch/ifunc-impl-list.c
6860 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
6861 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
6862 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
6863 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
6864 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
6865 * sysdeps/s390/multiarch/memrchr.c: Move to ...
6866 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
6867 * sysdeps/s390/ifunc-memrchr.h: New file.
6869 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6871 * sysdeps/s390/multiarch/Makefile
6872 (sysdep_routines): Remove memccpy variants.
6873 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
6874 * sysdeps/s390/multiarch/ifunc-impl-list.c
6875 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
6876 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
6877 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
6878 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
6879 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
6880 * sysdeps/s390/multiarch/memccpy.c: Move to ...
6881 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
6882 * sysdeps/s390/ifunc-memccpy.h: New file.
6884 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6886 * sysdeps/s390/multiarch/Makefile
6887 (sysdep_routines): Remove rawmemchr variants.
6888 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
6889 * sysdeps/s390/multiarch/ifunc-impl-list.c
6890 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
6891 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
6892 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
6893 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
6894 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
6895 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
6896 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
6897 * sysdeps/s390/ifunc-rawmemchr.h: New file.
6899 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6901 * sysdeps/s390/multiarch/Makefile
6902 (sysdep_routines): Remove memchr variants.
6903 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
6904 * sysdeps/s390/multiarch/ifunc-impl-list.c
6905 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
6906 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
6907 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
6908 * sysdeps/s390/multiarch/memchr.c: Move to ...
6909 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
6910 * sysdeps/s390/ifunc-memchr.h: New file.
6911 * sysdeps/s390/s390-64/memchr.S: Move to ...
6912 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
6913 for 31/64bit and ifunc handling.
6914 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
6915 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6916 * sysdeps/s390/s390-32/memchr.S: Likewise.
6918 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6920 * sysdeps/s390/multiarch/Makefile
6921 (sysdep_routines): Remove strcspn variants.
6922 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
6923 * sysdeps/s390/multiarch/ifunc-impl-list.c
6924 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
6925 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
6926 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
6927 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
6928 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
6929 * sysdeps/s390/multiarch/strcspn.c: Move to ...
6930 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
6931 * sysdeps/s390/ifunc-strcspn.h: New file.
6933 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6935 * sysdeps/s390/multiarch/Makefile
6936 (sysdep_routines): Remove strpbrk variants.
6937 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
6938 * sysdeps/s390/multiarch/ifunc-impl-list.c
6939 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
6940 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
6941 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
6942 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
6943 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
6944 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
6945 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
6946 * sysdeps/s390/ifunc-strpbrk.h: New file.
6948 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6950 * sysdeps/s390/multiarch/Makefile
6951 (sysdep_routines): Remove strspn variants.
6952 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
6953 * sysdeps/s390/multiarch/ifunc-impl-list.c
6954 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
6955 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
6956 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
6957 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
6958 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
6959 * sysdeps/s390/multiarch/strspn.c: Move to ...
6960 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
6961 * sysdeps/s390/ifunc-strspn.h: New file.
6963 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6965 * sysdeps/s390/multiarch/Makefile
6966 (sysdep_routines): Remove strrchr variants.
6967 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
6968 * sysdeps/s390/multiarch/ifunc-impl-list.c
6969 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
6970 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
6971 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
6972 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
6973 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
6974 * sysdeps/s390/multiarch/strrchr.c: Move to ...
6975 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
6976 * sysdeps/s390/ifunc-strrchr.h: New file.
6978 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6980 * sysdeps/s390/multiarch/Makefile
6981 (sysdep_routines): Remove strchrnul variants.
6982 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
6983 * sysdeps/s390/multiarch/ifunc-impl-list.c
6984 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
6985 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
6986 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
6987 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
6988 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
6989 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
6990 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
6991 * sysdeps/s390/ifunc-strchrnul.h: New file.
6993 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6995 * sysdeps/s390/multiarch/Makefile
6996 (sysdep_routines): Remove strchr variants.
6997 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
6998 * sysdeps/s390/multiarch/ifunc-impl-list.c
6999 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
7000 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
7001 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
7002 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
7003 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
7004 * sysdeps/s390/multiarch/strchr.c: Move to ...
7005 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
7006 * sysdeps/s390/ifunc-strchr.h: New file.
7008 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7010 * sysdeps/s390/multiarch/Makefile
7011 (sysdep_routines): Remove strncmp variants.
7012 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
7013 * sysdeps/s390/multiarch/ifunc-impl-list.c
7014 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
7015 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
7016 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
7017 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
7018 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
7019 * sysdeps/s390/multiarch/strncmp.c: Move to ...
7020 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
7021 * sysdeps/s390/ifunc-strncmp.h: New file.
7023 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7025 * sysdeps/s390/multiarch/Makefile
7026 (sysdep_routines): Remove strcmp variants.
7027 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
7028 * sysdeps/s390/multiarch/ifunc-impl-list.c
7029 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
7030 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
7031 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
7032 * sysdeps/s390/multiarch/strcmp.c: Move to ...
7033 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
7034 * sysdeps/s390/ifunc-strcmp.h: New file.
7035 * sysdeps/s390/s390-64/strcmp.S: Move to ...
7036 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
7037 for 31/64bit and ifunc handling.
7038 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
7039 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7040 * sysdeps/s390/s390-32/strcmp.S: Likewise.
7042 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7044 * sysdeps/s390/multiarch/Makefile
7045 (sysdep_routines): Remove strncat variants.
7046 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
7047 * sysdeps/s390/multiarch/ifunc-impl-list.c
7048 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
7049 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
7050 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
7051 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
7052 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
7053 * sysdeps/s390/multiarch/strncat.c: Move to ...
7054 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
7055 * sysdeps/s390/ifunc-strncat.h: New file.
7057 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7059 * sysdeps/s390/multiarch/Makefile
7060 (sysdep_routines): Remove strcat variants.
7061 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
7062 * sysdeps/s390/multiarch/ifunc-impl-list.c
7063 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
7064 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
7065 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
7066 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
7067 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
7068 * sysdeps/s390/multiarch/strcat.c: Move to ...
7069 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
7070 * sysdeps/s390/ifunc-strcat.h: New file.
7072 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7074 * sysdeps/s390/multiarch/Makefile
7075 (sysdep_routines): Remove stpncpy variants.
7076 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
7077 * sysdeps/s390/multiarch/ifunc-impl-list.c
7078 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
7079 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
7080 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
7081 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
7082 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
7083 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
7084 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
7085 * sysdeps/s390/ifunc-stpncpy.h: New file.
7087 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7089 * sysdeps/s390/multiarch/Makefile
7090 (sysdep_routines): Remove strncpy variants.
7091 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
7092 * sysdeps/s390/multiarch/ifunc-impl-list.c
7093 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
7094 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
7095 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
7096 * sysdeps/s390/multiarch/strncpy.c: Move to ...
7097 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
7098 * sysdeps/s390/ifunc-strncpy.h: New file.
7099 * sysdeps/s390/s390-64/strncpy.S: Move to ...
7100 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
7101 and adjust ifunc handling.
7102 * sysdeps/s390/s390-32/strncpy.S: Move to ...
7103 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
7104 and adjust ifunc handling.
7105 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
7106 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7108 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7110 * sysdeps/s390/multiarch/Makefile
7111 (sysdep_routines): Remove stpcpy variants.
7112 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
7113 * sysdeps/s390/multiarch/ifunc-impl-list.c
7114 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
7115 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
7116 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
7117 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
7118 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
7119 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
7120 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
7121 * sysdeps/s390/ifunc-stpcpy.h: New file.
7123 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7125 * sysdeps/s390/multiarch/Makefile
7126 (sysdep_routines): Remove strcpy variants.
7127 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
7128 * sysdeps/s390/multiarch/ifunc-impl-list.c
7129 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
7130 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
7131 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
7132 * sysdeps/s390/multiarch/strcpy.c: Move to ...
7133 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
7134 * sysdeps/s390/ifunc-strcpy.h: New file.
7135 * sysdeps/s390/s390-64/strcpy.S: Move to ...
7136 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
7137 for 31/64bit and ifunc handling.
7138 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
7139 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7140 * sysdeps/s390/s390-32/strcpy.S: Likewise.
7142 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7144 * sysdeps/s390/multiarch/Makefile
7145 (sysdep_routines): Remove strnlen variants.
7146 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
7147 * sysdeps/s390/multiarch/ifunc-impl-list.c
7148 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
7149 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
7150 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
7151 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
7152 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
7153 * sysdeps/s390/multiarch/strnlen.c: Move to ...
7154 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
7155 * sysdeps/s390/ifunc-strnlen.h: New file.
7157 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7159 * sysdeps/s390/multiarch/Makefile
7160 (sysdep_routines): Remove strlen variants.
7161 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
7162 * sysdeps/s390/multiarch/ifunc-impl-list.c
7163 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
7164 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
7165 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
7166 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
7167 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
7168 * sysdeps/s390/multiarch/strlen.c: Move to ...
7169 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
7170 * sysdeps/s390/ifunc-strlen.h: New file.
7172 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7174 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
7175 * sysdeps/s390/multiarch/ifunc-impl-list.c
7176 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
7177 * sysdeps/s390/ifunc-memmem.h: New file.
7178 * sysdeps/s390/memmem.c: Likewise.
7179 * sysdeps/s390/memmem-c.c: Likewise.
7180 * sysdeps/s390/memmem-vx.c: Likewise.
7182 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7184 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
7185 * sysdeps/s390/multiarch/ifunc-impl-list.c
7186 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
7187 * sysdeps/s390/ifunc-strstr.h: New file.
7188 * sysdeps/s390/strstr.c: Likewise.
7189 * sysdeps/s390/strstr-c.c: Likewise.
7190 * sysdeps/s390/strstr-vx.c: Likewise.
7192 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7194 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
7195 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
7196 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
7197 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
7199 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
7200 * sysdeps/s390/memmove-c.c: New file.
7201 * sysdeps/s390/memmove.c: Likewise.
7202 * sysdeps/s390/multiarch/ifunc-impl-list.c
7203 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
7205 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7207 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
7208 * sysdeps/s390/configure.ac: Add check for z13 support.
7209 * sysdeps/s390/configure: Regenerated.
7211 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7213 * sysdeps/s390/memcopy.h: New file.
7215 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7217 * sysdeps/s390/s390-32/bcopy.S: Remove.
7218 * sysdeps/s390/s390-64/bcopy.S: Likewise.
7220 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7222 * sysdeps/s390/ifunc-memcpy.h: New File.
7223 * sysdeps/s390/memcpy.S: Move to ...
7224 * sysdeps/s390/memcpy-z900.S ... here.
7225 Move implementations from memcpy-s390x.s to here.
7226 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
7227 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7228 Remove memcpy/mempcpy variants.
7229 * sysdeps/s390/Makefile (sysdep_routines):
7230 Add memcpy/mempcpy variants.
7231 * sysdeps/s390/multiarch/ifunc-impl-list.c
7232 (__libc_ifunc_impl_list): Adjust ifunc variants for
7234 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
7236 * sysdeps/s390/memcpy.c: ... here.
7237 Adjust ifunc variants for memcpy.
7238 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
7239 * sysdeps/s390/mempcpy.c: ... here.
7240 Adjust ifunc variants for mempcpy.
7241 * sysdeps/s390/mempcpy.S: Delete file.
7243 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7245 * sysdeps/s390/s390-64/memcpy.S: Move to ...
7246 * sysdeps/s390/memcpy.S: ... here.
7247 Adjust to be usable for 31/64bit.
7248 * sysdeps/s390/s390-32/memcpy.S: Delete File.
7249 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
7250 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
7251 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7252 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
7253 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
7254 Adjust to be usable for 31/64bit.
7255 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
7256 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
7257 * sysdeps/s390/multiarch/memcpy.c: ... here.
7258 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
7260 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7262 * sysdeps/s390/ifunc-memcmp.h: New File.
7263 * sysdeps/s390/memcmp.S: Move to ...
7264 * sysdeps/s390/memcmp-z900.S ... here.
7265 Move implementations from memcmp-s390x.s to here.
7266 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
7267 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7268 Remove memcmp variants.
7269 * sysdeps/s390/Makefile (sysdep_routines):
7270 Add memcmp variants.
7271 * sysdeps/s390/multiarch/ifunc-impl-list.c
7272 (__libc_ifunc_impl_list): Adjust ifunc variants for
7274 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
7276 * sysdeps/s390/memcmp.c: ... here.
7277 Adjust ifunc variants for memcmp.
7279 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7281 * sysdeps/s390/s390-64/memcmp.S: Move to ...
7282 * sysdeps/s390/memcmp.S: ... here.
7283 Adjust to be usable for 31/64bit.
7284 * sysdeps/s390/s390-32/memcmp.S: Delete File.
7285 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
7286 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7288 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7289 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
7290 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
7291 Adjust to be usable for 31/64bit.
7292 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
7293 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
7294 * sysdeps/s390/multiarch/memcmp.c: ... here.
7295 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
7297 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7299 * sysdeps/s390/s390-32/bzero.S: Delete file.
7300 * sysdeps/s390/s390-64/bzero.S: Likewise.
7301 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
7302 * sysdeps/s390/bzero.c: New file.
7303 * sysdeps/s390/memset-z900.S: Add bzero entry points.
7304 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
7305 * sysdeps/s390/multiarch/ifunc-impl-list.c
7306 (__libc_ifunc_impl_list): Add bzero ifunc variants.
7308 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7310 * sysdeps/s390/ifunc-memset.h: New File.
7311 * sysdeps/s390/memset.S: Move to ...
7312 * sysdeps/s390/memset-z900.S ... here.
7313 Move implementations from memset-s390x.s to here.
7314 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
7315 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7316 Remove memset variants.
7317 * sysdeps/s390/Makefile (sysdep_routines):
7318 Add memset variants.
7319 * sysdeps/s390/multiarch/ifunc-impl-list.c
7320 (__libc_ifunc_impl_list): Adjust ifunc variants for
7322 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
7324 * sysdeps/s390/memset.c: ... here.
7325 Adjust ifunc variants for memset.
7327 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7329 * sysdeps/s390/s390-64/memset.S: Move to ...
7330 * sysdeps/s390/memset.S: ... here.
7331 Adjust to be usable for 31/64bit.
7332 * sysdeps/s390/s390-32/memset.S: Delete File.
7333 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
7334 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7336 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7337 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
7338 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
7339 Adjust to be usable for 31/64bit.
7340 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
7341 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
7342 * sysdeps/s390/multiarch/memset.c: ... here.
7343 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
7345 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7347 * sysdeps/s390/multiarch/ifunc-resolve.h
7348 (s390_libc_ifunc_init, s390_libc_ifunc,
7349 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
7351 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7353 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
7354 * sysdeps/s390/configure.ac: Add check for z10 support.
7355 * sysdeps/s390/configure: Regenerated.
7357 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
7359 * sysdeps/i386/atomic-machine.h: Merged with ...
7360 * sysdeps/x86_64/atomic-machine.h: To ...
7361 * sysdeps/x86/atomic-machine.h: This. New file.
7363 2018-12-18 Florian Weimer <fweimer@redhat.com>
7365 Rewrite locale/gen-translit.pl in Python.
7366 * locale/Makefile (generated): Add C-translit.h.
7367 (before-compile): Add $(objpfx)C-translit.h.
7368 (C-translit.h): Move to $(objpfx). Create target directory.
7369 Build using Python script.
7370 * locale/gen-translit.py: New file.
7371 * locale/gen-translit.pl: Remove file.
7372 * locale/C-translit.h.in: Change comment character to '#' for
7373 easier parsing without a C preprocessor.
7374 * locale/C-translit.h: Remove generated file.
7375 * manual/install.texi (Tools for Compilation): Do not mention
7377 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7378 Remove locale/C-translit.h.
7379 * scripts/update-copyrights: Likewise.
7380 * INSTALL: Regenerate.
7382 2018-12-18 Florian Weimer <fweimer@redhat.com>
7385 * localedata/locales/bi_VU: Remove executable bit from file.
7387 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
7390 (__localtime64): Add.
7391 * manual/maint.texi: Document Y2038 symbol handling.
7393 (__localtime64): Add.
7394 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
7396 2018-12-17 Joseph Myers <joseph@codesourcery.com>
7398 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
7401 * scripts/glibcextract.py (compare_macro_consts): Take parameters
7402 to allow extra macros from first or second sources.
7403 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
7404 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7405 (tests-special): Add $(objpfx)tst-mman-consts.out.
7406 ($(objpfx)tst-mman-consts.out): New makefile target.
7408 2018-12-17 Mao Han <han_mao@c-sky.com>
7410 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
7411 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
7412 without stat64 system call support.
7413 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
7414 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
7415 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7416 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
7417 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
7418 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
7419 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
7420 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
7421 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
7422 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
7423 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
7425 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
7427 regex: fix storage-exhaustion error
7429 * posix/regexec.c (get_subexp):
7430 Do not continue if storage is exhausted.
7432 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
7434 regex: fix heap-use-after-free error
7436 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
7437 https://debbugs.gnu.org/32592
7438 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
7439 call extend_buffers which reallocates the re_string_t internal buffer.
7440 Local variable 'buf' was not updated in such case, resulting in
7442 * posix/regexec.c (get_subexp): Update 'buf' after call to
7445 2018-12-15 Florian Weimer <fweimer@redhat.com>
7447 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
7448 (minimum_stride_size): Use it.
7449 (support_blob_repeat_allocate): Likewise.
7451 2018-12-14 Joseph Myers <joseph@codesourcery.com>
7453 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
7458 2018-12-14 Florian Weimer <fweimer@redhat.com>
7460 * manual/process.texi (Process Creation Concepts): Remove
7461 documentation of process (ID) lifetime. List more process
7462 creation functions. Reference Process Identification section.
7463 (Process Identification): Add information about process ID
7464 lifetime. Describe Linux thread/task IDs.
7465 * manual/signal.texi (Signaling Another Process): Mention that the
7466 signal is always sent to the process.
7468 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7470 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
7471 and tst-ldbl-efgcvt.
7472 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
7473 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
7474 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
7475 (fcvt_tests, output_error, output_r_error, do_test): Use the
7476 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
7477 select the type of floating-point variables and arguments; to
7478 produce extra tests for double and conversion specifiers for
7479 printf; and to set the names of called functions.
7480 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
7481 in tst-efgcvt-template.c.
7482 * misc/tst-ldbl-efgcvt.c: Likewise.
7484 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
7486 * nss/Makefile (tst-nss-test3.out): New rule.
7488 2018-12-13 Joseph Myers <joseph@codesourcery.com>
7490 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
7493 2018-12-13 fanjinke <fanjinke@hygon.cn>
7495 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
7498 2018-12-13 Andreas Schwab <schwab@suse.de>
7501 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
7502 (__pthread_rwlock_rdlock_full): Update expected value for
7503 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
7504 * nptl/tst-rwlock-pwn.c: New file.
7505 * nptl/Makefile (tests): Add tst-rwlock-pwn.
7507 2018-12-12 Joseph Myers <joseph@codesourcery.com>
7509 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
7512 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7514 * benchtests/scripts/compare_bench.py (do_compare): write to
7515 stderr in casestat is not present.
7516 * benchtests/scripts/compare_bench.py (plot_graphs): write to
7517 stderr in case timings field is not present. Also string showing
7518 the output filename goes into the stderr.
7520 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7522 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
7523 and ZeroDivisorError exceptions.
7524 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
7525 argument to loop through user provided statistics.
7526 * benchtests/scripts/compare_bench.py (main): Include the --stats
7529 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7531 * benchtests/scripts/compare_bench.py (compare_runs): Continue
7534 2018-12-12 Florian Weimer <fweimer@redhat.com>
7536 * sysdeps/posix/timespec_get.c: Add missing “any later version”
7537 clause to copyright header.
7539 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7542 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
7543 registers saved in the stack frame.
7544 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
7545 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
7547 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7549 * include/bits/monetary-ldbl.h: New file.
7550 * include/bits/printf-ldbl.h: Likewise.
7551 * include/bits/stdio-ldbl.h: Likewise.
7552 * include/bits/stdlib-ldbl.h: Likewise.
7553 * include/bits/syslog-ldbl.h: Likewise.
7554 * include/bits/wchar-ldbl.h: Likewise.
7556 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7558 * libio/libio.h: Remove redirection for _IO_vfprintf.
7560 2018-12-11 Andreas Schwab <schwab@suse.de>
7562 * Makerules: Remove all references to abilist-pattern.
7563 (update-all-abi): Simplify find expression.
7565 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7568 * math/auto-libm-test-in: Add new test case.
7569 * math/auto-libm-test-out-pow: Regenerated.
7570 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
7572 2018-12-10 DJ Delorie <dj@redhat.com>
7575 * support/test-container.c: Move postclean step to before we
7578 2018-12-10 Joseph Myers <joseph@codesourcery.com>
7580 * scripts/gen-as-const.py (main): Handle --python option.
7581 * scripts/gen-py-const.awk: Remove.
7582 * Makerules (py-const-script): Use gen-as-const.py.
7583 ($(py-const)): Likewise.
7584 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
7585 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
7586 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
7587 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
7588 ~PTHREAD_MUTEX_NO_ELISION_NP.
7589 * manual/README.pretty-printers: Update reference to
7592 * scripts/glibcextract.py: New file.
7593 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
7594 or tempfile. Import glibcexctract.
7595 (compute_c_consts): Remove. Moved to glibcextract.py.
7596 (gen_test): Update reference to compute_c_consts.
7598 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
7599 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
7600 * sysdeps/unix/sysv/linux/Makefile
7601 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
7602 Redirect stderr as well as stdout.
7604 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
7607 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
7608 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
7609 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
7610 ALWAYS_USE_VSYSCALL.
7611 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
7612 ALWAYS_USE_VSYSCALL.
7613 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
7614 ALWAYS_USE_VSYSCALL.
7616 2018-12-10 Florian Weimer <fweimer@redhat.com>
7619 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
7620 offset instead of count for clarity. Fix typo in comment.
7621 (__old_getdents64): Keep track of previous offset. Use it to call
7623 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
7624 that d_off is never zero.
7626 2018-12-10 Andreas Schwab <schwab@suse.de>
7628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
7629 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
7630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
7631 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
7632 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
7634 2018-12-10 Joseph Myers <joseph@codesourcery.com>
7636 * timezone/private.h: Update from tzcode 2018g.
7637 * timezone/tzfile.h: Likewise.
7638 * timezone/tzselect.ksh: Likewise.
7639 * timezone/zdump.c: Likewise.
7640 * timezone/zic.c: Likewise.
7642 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7645 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
7646 (do_test): Adjust buffer size and fix format.
7648 2018-12-07 DJ Delorie <dj@redhat.com>
7651 * malloc/tst-tcfree3.c: New.
7652 * malloc/Makefile: Add it.
7654 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7656 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
7658 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7660 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
7661 used as a mask for the mode argument of __vfscanf_internal and
7662 __vfwscanf_internal.
7663 * stdio-common/vfscanf-internal.c
7664 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
7665 (__strtof128_internal): Define to __wcstof128_internal.
7666 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
7667 __strtof128_internal or __wcstof128_internal when the format of
7668 long double is the same as _Float128.
7670 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
7672 * include/unistd.h (__confstr): Add prototype and hidden prototype.
7673 * posix/confstr.c (confstr): Rename to __confstr.
7674 (__confstr): Add hidden def.
7675 (confstr): Add weak alias for __confstr.
7676 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
7679 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7681 * NEWS: Mention getcpu.
7682 * include/sched.h (__getcpu): New libc_hidden_proto.
7683 * manual/resource.texi: Document getcpu.
7684 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
7685 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
7686 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
7687 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7688 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7689 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7690 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7691 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7692 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7693 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7694 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7695 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7696 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
7698 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7699 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7700 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
7709 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7710 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7711 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7712 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7713 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7714 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7715 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7716 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7717 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
7718 * sysdeps/unix/sysv/linux/getcpu.c: New file.
7719 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
7722 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
7724 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
7726 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
7728 2018-12-07 Florian Weimer <fweimer@redhat.com>
7731 * posix/Makefile (routines): Add spawn_faction_addfchdir.
7732 * posix/Versions (GLIBC_2.29): Export
7733 posix_spawn_file_actions_addfchdir_np.
7734 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
7735 * posix/spawn_faction_destroy.c
7736 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
7737 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
7738 and the field action.fchdir_action.
7739 * posix/tst-spawn-chdir.c (add_chdir): New function.
7740 (do_test): Add do_fchdir loop. Call add_chdir.
7741 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
7742 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7743 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7744 posix_spawn_file_actions_addfchdir_np.
7745 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7747 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7749 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7750 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7752 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7754 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7756 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7758 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7760 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7762 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7763 (GLIBC_2.29): Likewise.
7764 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7765 (GLIBC_2.29): Likewise.
7766 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7767 (GLIBC_2.29): Likewise.
7768 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7769 (GLIBC_2.29): Likewise.
7770 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7773 (GLIBC_2.29): Likewise.
7774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7775 (GLIBC_2.29): Likewise.
7776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7777 (GLIBC_2.29): Likewise.
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7779 (GLIBC_2.29): Likewise.
7780 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7782 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7784 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7786 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7787 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7789 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7791 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7793 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7796 2018-12-06 Joseph Myers <joseph@codesourcery.com>
7798 * manual/texinfo.tex: Update to version 2018-09-21.20 with
7799 trailing whitespace removed.
7800 * scripts/config.guess: Update to version 2018-11-28.
7801 * scripts/config.sub: Update to version 2018-11-28.
7802 * scripts/install-sh: Update to version 2018-03-11.20.
7803 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
7804 * scripts/move-if-change: Update to version 2018-03-07 03:47.
7806 2018-12-07 Florian Weimer <fweimer@redhat.com>
7810 * inet/tst-if_index-long.c: New file.
7811 * inet/Makefile (tests): Add tst-if_index-long.
7813 2018-12-07 Florian Weimer <fweimer@redhat.com>
7815 * support/check.h (support_record_failure_is_failed): Declare.
7816 * support/descriptors.h: New file.
7817 * support/support_descriptors.c: Likewise.
7818 * support/tst-support_descriptors.c: Likewise.
7819 * support/support_record_failure.c
7820 (support_record_failure_is_failed): New function.
7821 * support/Makefile (libsupport-routines): Add support_descriptors.
7822 (tests): Add tst-support_descriptors.
7824 2018-12-05 Zack Weinberg <zackw@panix.com>
7825 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7827 * stdio-common/vfprintf-internal.c
7828 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
7829 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
7830 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
7831 and __no_long_double.
7832 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
7833 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
7834 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
7835 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
7836 and __nldbl_*syslog* functions.
7837 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
7838 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
7839 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
7840 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
7841 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
7842 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
7843 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
7844 (__nldbl_vwprintf, __nldbl_wprintf):
7845 Directly call the appropriate __v*printf_internal routine, passing
7846 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
7848 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
7849 (__nldbl___printf_chk, __nldbl___snprintf_chk)
7850 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
7851 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
7852 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
7853 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7854 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
7855 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
7856 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
7857 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
7858 Likewise, and also pass PRINTF_FORTIFY when appropriate.
7859 (__nldbl_syslog, __nldbl_vsyslog):
7860 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
7861 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7863 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7866 2018-12-05 Zack Weinberg <zackw@panix.com>
7867 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7870 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
7871 Moved here from debug/vsprintf_chk.c.
7872 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
7873 and completion logic for the strfile to match exactly what
7874 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
7875 _IO_str_init_static_internal instead of maxlen-1.
7876 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7877 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
7878 __vsprintf_internal.
7880 * debug/vsprintf_chk.c (__vsprintf_chk)
7881 * debug/sprintf_chk.c (__sprintf_chk):
7882 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
7883 'flags' argument is positive, and slen as maxlen. No need to lock
7884 the FILE and/or construct a temporary FILE. Minimize and normalize
7885 header inclusions and variable names. Do not libc_hidden_def anything.
7887 * debug/asprintf_chk.c (__asprintf_chk)
7888 * debug/dprintf_chk.c (__dprintf_chk)
7889 * debug/fprintf_chk.c (__fprintf_chk)
7890 * debug/fwprintf_chk.c (__fwprintf_chk)
7891 * debug/printf_chk.c (__printf_chk)
7892 * debug/snprintf_chk.c (__snprintf_chk)
7893 * debug/swprintf_chk.c (__swprintf_chk)
7894 * debug/vasprintf_chk.c (__vasprintf_chk)
7895 * debug/vdprintf_chk.c (__vdprintf_chk)
7896 * debug/vfprintf_chk.c (__vfprintf_chk)
7897 * debug/vfwprintf_chk.c (__vfwprintf_chk)
7898 * debug/vprintf_chk.c (__vprintf_chk)
7899 * debug/vsnprintf_chk.c (__vsnprintf_chk)
7900 * debug/vswprintf_chk.c (__vswprintf_chk)
7901 * debug/vwprintf_chk.c (__vwprintf_chk)
7902 * debug/wprintf_chk.c (__wprintf_chk):
7903 Directly call the corresponding vxxprintf_internal function, passing
7904 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
7905 the FILE and/or construct a temporary FILE. Minimize and normalize
7906 header inclusions and variable names. Do not libc_hidden_def anything.
7908 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
7909 __obstack_vprintf_internal.
7910 (__obstack_vprintf_chk): Convert into a wrapper that calls
7911 __obstack_vprintf_internal (these two functions already had the
7912 same code) and move to new file...
7913 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
7915 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
7916 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
7917 * debug/Makefile (routines): Add vobprintf_chk.
7919 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7920 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7921 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
7922 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7923 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
7924 (__nldbl___obstack_vfprintf_chk):
7925 Directly call the corresponding vxxprintf_internal function,
7926 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
7927 duplicate comparison of slen with 0 or maxlen from the corresponding
7928 non-__nldbl function.
7930 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
7931 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
7932 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
7933 Remove libc_hidden_proto.
7935 * stdio-common/vfprintf-internal.c
7936 (__vfprintf_internal, __vfwprintf_internal):
7937 Do not check _IO_FLAGS2_FORTIFY.
7938 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
7939 * libio/libioP.h: Update prototype of __vsprintf_internal and add
7940 a comment explaining why it has the maxlen argument.
7941 (_IO_acquire_lock_clear_flags2_fct): Remove.
7942 (_IO_acquire_lock_clear_flags2): Remove.
7943 (_IO_release_lock): Remove conditional statement which will
7945 (_IO_acquire_lock): Remove variable which is now unused.
7946 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7947 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7949 * stdio-common/Makefile (tests): Add tst-bz11319 and
7950 tst-bz11319-fortify2.
7951 (CFLAGS-tst-bz11319-fortify2.c): New macro.
7952 * stdio-common/tst-bz11319-fortify2.c: New file.
7953 * stdio-common/tst-bz11319.c: Likewise.
7955 2018-12-05 Zack Weinberg <zackw@panix.com>
7956 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7958 * misc/syslog.c: Include libioP.h, not iolibio.h.
7959 (__vsyslog_internal): New function with the former body of
7960 __vsyslog_chk; takes mode_flags argument same as
7961 __v*printf_internal. Call __vfprintf_internal directly.
7963 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
7964 Remove libc_hidden_def.
7965 (__syslog, __syslog_chk): Use __vsyslog_internal.
7966 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
7968 * include/sys/syslog.h: Add multiple inclusion guard.
7969 Add prototype for __vsyslog_internal.
7970 Remove declaration and libc_hidden_proto for __vsyslog_chk.
7972 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
7973 Use __vsyslog_internal.
7975 2018-12-05 Zack Weinberg <zackw@panix.com>
7976 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7978 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
7979 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
7980 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
7982 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
7983 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
7985 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
7986 Include wctype.h here if COMPILE_WPRINTF is defined.
7987 Define __vfprintf_internal or __vfwprintf_internal, depending
7989 Temporarily, on entry to this function, update mode_flags
7990 according to the environmental settings corresponding to
7991 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
7992 Throughout, check mode_flags instead of __ldbl_is_dbl and
7993 _IO_FLAGS2_FORTIFY on the destination FILE.
7994 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
7995 Include vfprintf-internal.c. Don't include wctype.h.
7996 * stdio-common/vfprintf.c: New file. Just define __vfprintf
7997 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
7999 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
8000 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
8002 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
8004 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
8005 and add mode_flags argument; use __vfprintf_internal.
8006 (__vdprintf): New function. Alias vdprintf to this.
8007 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
8008 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
8009 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
8010 (__obstack_printf): Use __obstack_printf_internal.
8011 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
8012 public aliases __vsnprintf and vsnprintf.
8013 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
8015 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
8016 public aliases _IO_vsprintf and vsprintf.
8017 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
8018 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
8019 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
8020 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
8021 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
8023 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
8024 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
8025 * stdio-common/fprintf.c, stdio-common/fxprintf.c
8026 * stdio-common/printf.c: Use __vfprintf_internal.
8028 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
8029 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
8030 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
8032 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
8033 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
8034 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
8035 __vfwprintf_internal.
8037 * libio/libio.h: Remove libc_hidden_proto and declaration for
8039 Remove declaration of _IO_vfwprintf.
8040 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
8042 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
8044 * include/stdio.h: Add prototype for __vasprintf.
8045 (__vsnprintf): Remove declaration, because there are no more
8047 * include/wchar.h (__vfwprintf, __vswprintf): Remove
8048 declaration, because there are no more internal calls.
8050 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
8051 __vsnprintf_internal, instead of _IO_vsnprintf.
8052 * argp/argp-help.c (__argp_error, __argp_failure): Use
8053 __vasprintf_internal, instead of _IO_vasprintf.
8054 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
8055 redefine, because there are no more internal calls.
8057 2018-12-05 Zack Weinberg <zackw@panix.com>
8058 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8060 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
8061 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
8062 Include libio/strfile.h instead of libioP.h.
8063 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
8064 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
8065 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
8066 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
8067 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
8068 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
8069 necessary. Do not set __no_long_double. Normalize variable names.
8070 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
8071 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
8072 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
8073 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
8074 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
8075 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
8076 Call __vfscanf_internal / __vfwscanf_internal directly, passing
8077 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
8078 Do not set __no_long_double. Normalize variable names.
8080 2018-12-05 Zack Weinberg <zackw@panix.com>
8081 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8083 * stdio-common/isoc99_scanf.c
8084 * stdio-common/isoc99_fscanf.c
8085 * stdio-common/isoc99_sscanf.c
8086 * stdio-common/isoc99_vscanf.c
8087 * stdio-common/isoc99_vfscanf.c
8088 * stdio-common/isoc99_vsscanf.c
8089 * wcsmbs/isoc99_wscanf.c
8090 * wcsmbs/isoc99_fwscanf.c
8091 * wcsmbs/isoc99_swscanf.c
8092 * wcsmbs/isoc99_vwscanf.c
8093 * wcsmbs/isoc99_vfwscanf.c
8094 * wcsmbs/isoc99_vswscanf.c:
8095 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
8096 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
8097 No need to lock and unlock the FILE passed to that function.
8099 * stdio-common/vfscanf-internal.c
8100 (__vfscanf_internal, __vfwscanf_internal):
8101 Don't look at _IO_FLAGS2_SCANF_STD.
8102 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
8103 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
8104 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
8106 2018-12-05 Zack Weinberg <zackw@panix.com>
8107 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8109 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
8110 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
8111 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
8112 * libio/strfile.h: Add multiple inclusion guard.
8113 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
8115 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
8116 consistency with the other version of this file.
8117 (ldbl_compat_symbol): New macro.
8118 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
8121 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
8122 Define __vfscanf_internal or __vfwscanf_internal, depending on
8123 COMPILE_WSCANF; don't define any other public symbols.
8124 Remove errval and code to set errp.
8125 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
8126 as the mode_flags argument.
8127 (encode_error, conv_error, input_error): Don't set errval.
8128 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
8129 Include vfscanf-internal.c.
8130 * stdio-common/vfscanf.c: New file defining the public entry
8131 point vfscanf, which calls __vfscanf_internal.
8132 * stdio-common/vfwscanf.c: New file defining the public entry
8133 point vfwscanf, which calls __vfwscanf_internal.
8135 * stdio-common/iovfscanf.c: New file.
8136 * stdio-common/iovfwscanf.c: Likewise.
8138 * stdio-common/Makefile (routines): Add vfscanf-internal,
8139 vfwscanf-internal, iovfscanf, iovfwscanf.
8140 * stdio-common/Versions: Mention GLIBC_2.29, so that
8141 it can be used in SHLIB_COMPAT expressions.
8142 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
8143 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
8144 Call __vfscanf_internal, instead of _IO_vfscanf.
8145 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
8147 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
8150 * libio/iovsscanf.c: Clean up includes, when possible. Use
8151 _IO_strfile_read or _IO_strfile_readw, when needed. Call
8152 __vfscanf_internal or __vfwscanf_internal directly.
8153 * libio/iovswscanf.c: Likewise.
8154 * libio/swscanf.c: Likewise.
8155 * libio/vscanf.c: Likewise.
8156 * libio/vwscanf.c: Likewise.
8157 * libio/wscanf.c: Likewise.
8158 * stdio-common/isoc99_fscanf.c: Likewise.
8159 * stdio-common/isoc99_scanf.c: Likewise.
8160 * stdio-common/isoc99_sscanf.c: Likewise.
8161 * stdio-common/isoc99_vfscanf.c: Likewise.
8162 * stdio-common/isoc99_vscanf.c: Likewise.
8163 * stdio-common/isoc99_vsscanf.c: Likewise.
8164 * stdio-common/scanf.c: Likewise.
8165 * stdio-common/sscanf.c: Likewise.
8166 * wcsmbs/isoc99_fwscanf.c: Likewise.
8167 * wcsmbs/isoc99_swscanf.c: Likewise.
8168 * wcsmbs/isoc99_vfwscanf.c: Likewise.
8169 * wcsmbs/isoc99_vswscanf.c: Likewise.
8170 * wcsmbs/isoc99_vwscanf.c: Likewise.
8171 * wcsmbs/isoc99_wscanf.c: Likewise.
8173 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
8176 (__tz_compute): Replace time_t with __time64_t.
8177 (__tz_convert): Replace time_t* with __time64_t.
8178 (__offtime): Replace time_t* with __time64_t.
8180 (__gmtime_r): Adjust call to __tz_convert.
8183 (__localtime_r): Likewise.
8184 (localtime): Likewise.
8185 * time/offtime.c: Replace time_t with __time64_t.
8186 * time/tzset.c: Likewise.
8188 2018-12-04 Joseph Myers <joseph@codesourcery.com>
8190 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
8191 dynamic linker unless [$(run-built-tests) = yes].
8193 2018-12-03 DJ Delorie <dj@delorie.com>
8195 * support/test-container.c (check_for_unshare_hints): New.
8196 (main): Call it if unshare fails. Add support for "su" scriptlet
8199 2018-12-03 Joseph Myers <joseph@codesourcery.com>
8201 * scripts/gen-as-const.py (compute_c_consts): Take an argument
8202 'START' to indicate that start text should be output.
8203 (gen_test): Likewise.
8204 (main): Generate 'START' for first symbol or '--' line, or at end
8205 of input if not previously generated.
8207 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
8210 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
8211 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
8212 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
8213 ALWAYS_USE_VSYSCALL.
8215 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8218 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
8221 2018-12-03 Carlos O'Donell <carlos@redhat.com>
8224 * locale/programs/localedef.c: Declare boolean hard_links default true.
8225 (options): Add --no-hard-links option.
8226 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
8227 * locale/programs/localedef.h: Declare prototype for hard_links.
8228 * locale/programs/locfile.c (write_locale_data): Don't use hard
8229 links if hard_links is false.
8231 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
8233 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
8235 (__cache_sysconf): Likewise.
8236 (init_cacheinfo): Likewise.
8237 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
8238 populate COMMON_CPUID_INDEX_80000007 and
8239 COMMON_CPUID_INDEX_80000008.
8240 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
8241 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
8242 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
8243 (init_cpu_features): Use _Static_assert on
8244 index_arch_Fast_Unaligned_Load.
8245 __get_cpuid_registers and __get_arch_feature. Updated for
8246 cpu_features_basic. Set stepping in cpu_features.
8247 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
8248 (FEATURE_INDEX_2): New.
8249 (FEATURE_INDEX_MAX): Changed to enum.
8250 (COMMON_CPUID_INDEX_D_ECX_1): New.
8251 (COMMON_CPUID_INDEX_80000007): Likewise.
8252 (COMMON_CPUID_INDEX_80000008): Likewise.
8253 (cpuid_registers): Likewise.
8254 (cpu_features_basic): Likewise.
8255 (CPU_FEATURE_USABLE): Likewise.
8256 (bit_arch_XXX_Usable): Likewise.
8257 (cpu_features): Use cpuid_registers and cpu_features_basic.
8258 (bit_arch_XXX): Reweritten.
8259 (bit_cpu_XXX): Likewise.
8260 (index_cpu_XXX): Likewise.
8261 (reg_XXX): Likewise.
8262 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
8264 (CHECK_CPU_FEATURE): New.
8265 (CHECK_CPU_FEATURE_USABLE): Likewise.
8266 (cpu_kinds): Likewise.
8267 (do_test): Print vendor, family, model and stepping. Check
8268 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
8269 (TEST_FUNCTION): Removed.
8270 Include <support/test-driver.c> instead of
8271 "../../test-skeleton.c".
8272 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
8273 Check POPCNT instead of POPCOUNT.
8274 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
8276 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8278 * scripts/gen-as-const.py (main): Avoid emitting empty line when
8279 there is no element in `consts'.
8281 2018-12-01 Florian Weimer <fweimer@redhat.com>
8283 * support/support_capture_subprocess.c
8284 (support_capture_subprocess): Check that pipe descriptors have
8285 expected values. Close original pipe descriptors in subprocess.
8287 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8290 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
8291 attr with __pthread_default_barrierattr.
8292 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
8293 attr with __pthread_default_condattr.
8294 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
8295 attr with __pthread_default_mutexattr.
8296 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
8297 attr with __pthread_default_rwlockattr.
8299 2018-12-01 Kemi Wang <kemi.wang@intel.com>
8301 * manual/tunables.texi (POSIX Thread Tunables): New node.
8302 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
8303 * nptl/nptl-init.c: Include pthread_mutex_conf.h
8304 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
8305 __pthread_tunables_init.
8306 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
8307 (max_adaptive_count): Define.
8308 * nptl/pthread_mutex_conf.c: New file.
8309 * nptl/pthread_mutex_conf.h: New file.
8310 * sysdeps/generic/adaptive_spin_count.h: New file.
8311 * sysdeps/nptl/dl-tunables.list: New file.
8312 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8313 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
8314 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
8317 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8320 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
8321 * stdlib/on_exit.c (__on_exit): Likewise.
8322 * stdlib/Makefile (tests): Add tst-bz20544.
8323 * stdlib/tst-bz20544.c: New test.
8325 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
8328 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
8329 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
8332 2018-11-30 Florian Weimer <fweimer@redhat.com>
8334 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
8335 Extend error logging.
8336 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
8339 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8341 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
8342 __sigismember instead of sigismember.
8343 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
8344 cancel_handler): New definitions.
8345 (do_system): Use posix_spawn instead of fork and execl and remove
8347 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
8348 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
8349 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
8350 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8351 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8352 * sysdeps/unix/sysv/linux/system.c: Likewise.
8356 * NEWS: Add new semantic for atfork with popen and system.
8357 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
8360 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8363 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
8364 modification order when accessing reloc_result->addr.
8365 * include/link.h (reloc_result): Add field init.
8366 * nptl/Makefile (tests): Add tst-audit-threads.
8367 (modules-names): Add tst-audit-threads-mod1 and
8368 tst-audit-threads-mod2.
8369 Add rules to build tst-audit-threads.
8370 * nptl/tst-audit-threads-mod1.c: New file.
8371 * nptl/tst-audit-threads-mod2.c: Likewise.
8372 * nptl/tst-audit-threads.c: Likewise.
8373 * nptl/tst-audit-threads.h: Likewise.
8375 2018-11-30 Joseph Myers <joseph@codesourcery.com>
8377 * scripts/gen-as-const.py: New file.
8378 * scripts/gen-as-const.awk: Remove.
8379 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
8381 ($(objpfx)test-as-const-%.c): Likewise.
8383 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8385 * elf/dl-exception.c: Include <_itoa.h>.
8387 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8389 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
8390 returned by __f_setlk.
8392 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8393 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8395 * elf/Makefile (tests-internal): Add tst-create_format1.
8396 * elf/dl-exception.c (_dl_exception_create_format): Support
8398 * elf/tst-create_format1.c: New file.
8400 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
8402 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
8403 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
8405 * argp/argp-help.c (__argp_failure): Likewise.
8407 2018-11-29 Mao Han <han_mao@c-sky.com>
8409 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
8410 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
8411 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
8412 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
8413 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
8414 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
8415 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
8416 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
8417 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
8418 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
8419 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
8420 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
8421 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
8422 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
8423 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
8424 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
8425 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
8426 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
8427 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
8428 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
8429 (R_CKCORE_TLS_TPOFF32): New defines.
8431 2018-11-29 Florian Weimer <fweimer@redhat.com>
8433 * posix/Makefile (before-compile): Remove testcases.h and
8435 (generated): Add testcases.h and ptestcases.h.
8436 (testcases.h, ptestcases.h): Move to $(objpfx).
8437 (runtests.o): Add dependency on testcases.h.
8438 (runptests.o): Add dependency on ptestcases.h.
8439 * posix/testcases.h, posix/ptestcases.h: Remove files.
8440 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
8441 not touch posix/testcases.h and posix/ptestcases.h.
8443 2018-11-28 Florian Weimer <fweimer@redhat.com>
8445 support: Add signal support to support_capture_subprocess_check.
8446 * support/capture_subprocess.h (support_capture_subprocess_check):
8447 Adjust comment and rename parameter.
8448 * support/support_capture_subprocess_check.c
8449 (print_actual_status): New function.
8450 (support_capture_subprocess_check): Support negative
8451 status_or_signal. Call print_actual_status.
8452 * support/tst-support_capture_subprocess.c (do_test): Call
8453 support_capture_subprocess_check.
8454 * libio/tst-vtables-common.c (termination_status)
8455 (init_termination_status): Remove.
8456 (check_for_termination): Adjust support_capture_subprocess_check
8458 (do_test): Remove call to init_termination_status.
8460 2018-11-28 Joseph Myers <joseph@codesourcery.com>
8462 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
8463 source directory instead of a copy.
8464 (CommandList.create_copy_dir): Remove.
8466 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
8468 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8470 2018-11-28 Florian Weimer <fweimer@redhat.com>
8472 * support/support.h (support_quote_string): Do not use str
8475 2018-11-27 Joseph Myers <joseph@codesourcery.com>
8477 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
8478 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
8480 2018-11-27 Florian Weimer <fweimer@redhat.com>
8482 * support/support.h (support_quote_string): Declare.
8483 * support/support_quote_string.c: New file.
8484 * support/tst-support_quote_string.c: Likewise.
8485 * support/Makefile (libsupport-routines): Add
8486 support_quote_string.
8487 (tests): Add tst-support_quote_string.
8489 2018-11-27 Florian Weimer <fweimer@redhat.com>
8493 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
8494 descriptor leak in case of ENODEV error.
8496 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
8499 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
8500 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
8501 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
8503 2018-11-26 Carlos O'Donell <carlos@redhat.com>
8505 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
8506 Error for unknown lines.
8508 2018-11-26 Joseph Myers <joseph@codesourcery.com>
8510 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8511 Touch additional files.
8513 2018-11-26 Florian Weimer <fweimer@redhat.com>
8516 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
8519 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
8522 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
8523 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
8524 SHARED. Include sysdep.h.
8525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
8526 ALWAYS_USE_VSYSCALL.
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
8528 ALWAYS_USE_VSYSCALL.
8530 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
8533 * nptl/Makefile (tests-static): Add tst-cond11-static.
8535 * nptl/tst-cond11-static.c: New File.
8536 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
8537 tst-affinity-static.
8539 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
8541 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
8542 (USE_VSYSCALL): Likewise.
8543 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
8544 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
8546 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
8548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
8551 2018-11-23 Joseph Myers <joseph@codesourcery.com>
8554 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8555 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
8558 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
8560 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
8561 (tst-cet-legacy-1a-ARGS): New.
8562 ($(objpfx)tst-cet-legacy-1a): New target.
8563 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
8565 2018-11-22 Joseph Myers <joseph@codesourcery.com>
8567 * conform/conformtest.py (CompileSubTest.__init__): Set
8568 self.run_early to False.
8569 (ExecuteSubTest.__init__): Likewise.
8570 (HeaderTests.run): Try running all non-optional, non-XFAILed
8571 compilation tests in a single execution of the compiler.
8573 * conform/conformtest.py (CompileSubTest): New class.
8574 (ExecuteSubTest): Likewise.
8575 (ElementTest.run): Rename to gen_subtests. Append tests to
8576 self.subtests instead of running them.
8577 (ConstantTest.run): Likewise.
8578 (SymbolTest.run): Likewise.
8579 (TypeTest.run): Likewise.
8580 (TagTest.run): Likewise.
8581 (FunctionTest.run): Likewise.
8582 (VariableTest.run): Likewise.
8583 (MacroFunctionTest.run): Likewise.
8584 (MacroStrTest.run): Likewise.
8585 (HeaderTests.handle_test_line): Generate subtests for tests.
8586 (HeaderTests.run): Run subtests for tests.
8588 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8590 * math/Versions (GLIBC_2.29): Add pow.
8591 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
8593 * math/w_pow.c: New file.
8594 * sysdeps/i386/fpu/w_pow.c: New file.
8595 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
8596 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
8597 and add necessary aliases.
8598 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
8599 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
8600 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8601 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8602 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8603 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8604 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8605 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8606 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8607 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8608 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8609 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8610 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8611 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8612 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8617 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8618 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8619 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8620 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8621 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8622 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8623 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8624 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
8626 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
8627 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
8628 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
8630 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8632 * math/Versions (GLIBC_2.29): Add log2.
8633 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
8635 * math/w_log2.c: New file.
8636 * sysdeps/i386/fpu/w_log2.c: New file.
8637 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
8638 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
8639 and add necessary aliases.
8640 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
8641 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
8642 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8643 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8644 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8645 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8646 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8647 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8648 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8649 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8650 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8651 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8652 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8653 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8654 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8659 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8660 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8661 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8662 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8663 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8664 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8665 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8667 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8669 * math/Versions (GLIBC_2.29): Add log.
8670 * math/w_log_compat.c (__log_compat): Change to versioned compat
8672 * math/w_log.c: New file.
8673 * sysdeps/i386/fpu/w_log.c: New file.
8674 * sysdeps/ia64/fpu/e_log.S: Update.
8675 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
8676 and add necessary aliases.
8677 * sysdeps/ieee754/dbl-64/w_log.c: New file.
8678 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
8679 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8680 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8681 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8682 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8683 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8684 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8685 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8686 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8687 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8688 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8689 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8690 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8691 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8696 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8697 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8698 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8699 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8700 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8701 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8702 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8703 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
8705 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
8706 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
8707 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
8708 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
8710 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8712 * math/Versions (GLIBC_2.29): Add exp and exp2.
8713 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
8714 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
8715 * math/w_exp_compat.c (__exp_compat): Likewise.
8716 * math/w_exp.c: New file.
8717 * math/w_exp2.c: New file.
8718 * sysdeps/i386/fpu/w_exp.c: New file.
8719 * sysdeps/i386/fpu/w_exp2.c: New file.
8720 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
8721 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
8722 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
8723 and add necessary aliases.
8724 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
8725 and add necessary aliases.
8726 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
8727 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
8728 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
8729 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
8730 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8731 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8732 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8733 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8734 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8735 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8736 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8737 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8738 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8739 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8740 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8741 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8742 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8747 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8748 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8749 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8750 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8751 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8752 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8753 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8754 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
8755 (__ieee754_exp): Rename to __exp.
8756 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
8757 (__ieee754_exp): Rename to __exp.
8758 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
8759 (__ieee754_exp): Rename to __exp.
8760 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
8762 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
8764 2018-11-20 DJ Delorie <dj@redhat.com>
8766 * malloc/malloc.c (tcache_entry): Add key field.
8767 (tcache_put): Set it.
8768 (tcache_get): Likewise.
8769 (_int_free): Check for double free in tcache.
8770 * malloc/tst-tcfree1.c: New.
8771 * malloc/tst-tcfree2.c: New.
8772 * malloc/Makefile: Run the new tests.
8773 * manual/probes.texi: Document memory_tcache_double_free probe.
8775 * dlfcn/dlerror.c (check_free): Prevent double frees.
8777 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
8779 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
8781 2018-11-20 Joseph Myers <joseph@codesourcery.com>
8783 * conform/conformtest.py (ElementTest.run): Use unique identifiers
8784 in tests. Use names for format arguments.
8785 (ConstantTest.run): Likewise.
8786 (SymbolTest.run): Likewise.
8787 (TypeTest.run): Likewise.
8788 (TagTest.run): Likewise.
8789 (FunctionTest.run): Likewise.
8790 (VariableTest.run): Likewise.
8791 (MacroFunctionTest.run): Likewise.
8792 (MacroStrTest.run): Likewise.
8793 (HeaderTests.__init__): Set self.num_tests.
8794 (HeaderTests.handle_test_line): Set test.num. Increment
8797 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
8799 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
8800 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
8803 2018-11-19 Mao Han <han_mao@c-sky.com>
8805 * scripts/config.guess: Update to version 2018-08-29.
8806 * scripts/config.sub: Update to version 2018-08-29.
8808 2018-11-19 Florian Weimer <fweimer@redhat.com>
8810 support: Print timestamps in timeout handler.
8811 * support/support_test_main.c (print_timestamp): New function.
8812 (signal_handler): Use it to print the termination time and the
8813 time of the last write to standard output.
8815 2018-11-16 Zack Weinberg <zackw@panix.com>
8816 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8818 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
8819 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
8821 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
8822 and add flags argument. Check flags instead of __ldbl_is_dbl when
8823 deciding whether to set is_long_double.
8824 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
8825 passing zero for flags argument.
8826 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
8828 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8829 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
8830 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
8831 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
8832 variable names. Remove libc_hidden_def/libc_hidden_proto from
8833 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
8834 longer called from within the library.
8835 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
8836 for __nldbl___vstrfmon_l, declare it explicitly.
8838 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
8840 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8842 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
8844 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
8845 F_SETLK64, F_SETLKW64, respectively.
8846 * sysdeps/mach/hurd/f_setlk.c: New file.
8847 * sysdeps/mach/hurd/f_setlk.h: New file.
8848 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
8850 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
8851 (__libc_fcntl): Move non-flock operations to...
8852 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
8853 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
8855 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
8857 mktime: DEBUG_MKTIME cleanup
8858 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
8859 And it’s no longer needed now that glibc and Gnulib both have
8860 their own testing mechanisms for mktime.
8861 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
8863 mktime: fix non-EOVERFLOW errno handling
8865 mktime was not properly reporting failures when the underlying
8866 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
8867 them like EOVERFLOW failures, and set errno to EOVERFLOW.
8868 The problem could happen on non-glibc platforms, with Gnulib.
8869 * time/mktime.c (guess_time_tm): Remove, replacing with ...
8870 (tm_diff): ... this simpler function, which does not change errno.
8871 All callers changed to deal with errno themselves.
8872 (ranged_convert, __mktime_internal): Return failure immediately if
8873 the underlying function reports any failure other than EOVERFLOW.
8874 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
8877 mktime: fix bug with Y2038 DST transition
8879 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
8880 mishandle a DST transition that jumps over the Y2038 boundary.
8881 No such DST transitions are known so this is only a theoretical
8882 bug, but we might as well do things right.
8884 mktime: make more room for overflow
8886 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
8887 This is so that we can add tm_diff results to a previous guess,
8888 which will be useful in a later patch.
8890 mktime: simplify offset guess
8892 * time/mktime.c (__mktime_internal): Omit excess precision.
8894 mktime: new test for mktime failure
8896 Based on a test suggested by Albert Aribaud in:
8897 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
8898 * time/Makefile (tests): Add bug-mktime4.
8899 * time/bug-mktime4.c: New file.
8901 mktime: fix EOVERFLOW bug
8903 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
8904 Include libc-config.h, not config.h, for __set_errno.
8905 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
8907 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8909 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
8910 __attribute_copy__ to copy attributes from name. Drop static qualifier
8911 to avoid warnings about leaf attribute not having effect on static
8914 2018-11-13 Florian Weimer <fweimer@redhat.com>
8916 * malloc/malloc.c (fastbin_push_entry): New function.
8917 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
8918 (REMOVE_FB): Remove macro.
8919 (_int_malloc): Use fastbin_pop_entry and reindent.
8920 (_int_free): Use fastbin_push_entry.
8921 (malloc_consolidate): Use atomic_exchange_acquire.
8923 2018-11-13 Joseph Myers <joseph@codesourcery.com>
8925 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
8926 alias attribute, not with strong_alias.
8928 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
8929 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
8930 with additional parameter thread.
8931 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
8932 in terms of __hidden_ver2.
8933 (hidden_tls_def): New macro.
8934 (libc_hidden_tls_def): Likewise.
8935 (rtld_hidden_tls_def): Likewise.
8936 (libm_hidden_tls_def): Likewise.
8937 (libmvec_hidden_tls_def): Likewise.
8938 (libresolv_hidden_tls_def): Likewise.
8939 (librt_hidden_tls_def): Likewise.
8940 (libdl_hidden_tls_def): Likewise.
8941 (libnss_files_hidden_tls_def): Likewise.
8942 (libnsl_hidden_tls_def): Likewise.
8943 (libnss_nisplus_hidden_tls_def): Likewise.
8944 (libutil_hidden_tls_def): Likewise.
8945 (libutil_hidden_tls_def): Likweise.
8946 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
8947 libc_hidden_tls_def.
8948 (__sim_disabled_exceptions_thread): Likewise.
8949 (__sim_round_mode_thread): Likewise.
8951 * sysdeps/sparc/sparc-ifunc.h [SHARED]
8952 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
8953 copy attributes from name.
8955 2018-11-12 Joseph Myers <joseph@codesourcery.com>
8957 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
8958 Use __attribute_copy__ to copy attributes from name.
8960 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
8961 with __hidden_ver1 call.
8962 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
8963 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
8964 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
8965 (__cosf): Do not declare here.
8966 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
8967 (__sincosf): Do not declare here.
8968 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
8969 (__sinf): Do not declare here.
8971 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
8972 (__BIG_ENDIAN): Likewise.
8973 (__BYTE_ORDER): Likewise.
8974 (strong_alias): Likewise.
8975 (_strong_alias): Likewise.
8977 2018-11-12 Florian Weimer <fweimer@redhat.com>
8979 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
8980 function. Move after the definition of in_smallbin_range. Do not
8981 use __builtin_expect for paths that lead to a noreturn function.
8982 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
8983 because it is unclear whether this is in fact an unlikely
8985 (_int_malloc, _int_free): Adjust.
8986 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
8988 * malloc/arena.c (heap_trim): Likewise.
8990 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8992 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
8993 it, free it if needed.
8994 (reauthenticate): Test and use ccwdir.
8995 (child_init_port): In non-resetids case, test and use ccwdir.
8996 (child_chdir): New nested function to set ccwdir.
8997 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
8998 * hurd/hurd/port.h (_hurd_port_move): New function.
8999 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
9000 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
9001 * hurd/Versions (_hurd_port_move): Export function.
9002 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
9004 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
9005 of dtablesize for allocating dtable_cloexec.
9007 2018-11-09 Martin Sebor <msebor@redhat.com>
9009 * include/libc-symbols.h (__attribute_copy__): Define macro unless
9010 it's already defined.
9011 (_strong_alias): Use __attribute_copy__.
9012 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
9013 * misc/sys/cdefs.h (__attribute_copy__): New macro.
9014 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
9015 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
9016 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
9017 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
9018 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
9019 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
9020 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
9021 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
9022 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
9023 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
9024 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
9025 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
9026 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
9027 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
9028 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
9029 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
9030 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
9032 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9034 * misc/tst-efgcvt.c: Include support/check.h and
9035 support/test-driver.c. Do not include test-skeleton.c.
9036 (error_count): Remove.
9037 (output_error): Replace increments to error_count with calls to
9038 support_record_failure.
9039 (output_r_error): Likewise.
9040 (special): Likewise.
9041 (do_test): Unconditionally return zero.
9042 (TEST_FUNCTION): Remove.
9044 2018-11-09 Joseph Myers <joseph@codesourcery.com>
9046 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
9048 ($(linknamespace-header-tests)): Likewise.
9050 * conform/conformtest.py: New file.
9051 * conform/conformtest.pl: Remove.
9052 * conform/GlibcConform.pm: Likewise.
9053 * conform/glibcconform.py (KEYWORDS_C90): New constant.
9054 (KEYWORDS_C99): Likewise.
9055 (KEYWORDS): Likewise.
9056 * conform/Makefile ($(conformtest-header-tests)): Use
9057 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
9058 option. Use --header instead of --headers.
9059 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
9061 * conform/data/spawn.h-data: Likewise.
9062 * conform/data/fcntl.h-data (openat): Add space after function
9064 * conform/data/wchar.h-data (wcscasecmp): Likewise.
9065 (wcscasecmp_l): Likewise.
9066 * conform/data/termios.h-data (c_cc): Add space after element
9069 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9071 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
9072 instead of manually comparing and reporting mismatching strings.
9073 * misc/tst-ldbl-error.c (do_one_test): Likewise.
9074 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
9076 2018-11-08 Joseph Myers <joseph@codesourcery.com>
9078 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
9079 __ASSUME_SOCKETCALL.
9080 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9081 (__ASSUME_SOCKETCALL): Remove.
9082 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9083 (__ASSUME_SOCKETCALL): Likewise.
9084 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9085 (__ASSUME_SOCKETCALL): Likewise.
9086 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9087 (__ASSUME_SOCKETCALL): Likewise.
9088 * sysdeps/unix/sysv/linux/s390/kernel-features.h
9089 (__ASSUME_SOCKETCALL): Likewise.
9090 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9091 (__ASSUME_SOCKETCALL): Likewise.
9092 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9093 (__ASSUME_SOCKETCALL): Likewise.
9095 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
9098 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
9099 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
9100 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
9101 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
9102 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
9105 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
9108 * resolv/tst-resolv-network.c: Add test for getnetbyname.
9110 2018-11-07 Joseph Myers <joseph@codesourcery.com>
9113 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9114 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9115 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9116 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9118 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9120 * support/support_test_compare_string.c
9121 (support_test_compare_string): Fix printf format.
9123 2018-11-07 Florian Weimer <fweimer@redhat.com>
9125 Implement TEST_COMPARE_STRING.
9126 * support/check.h (TEST_COMPARE_STRING): Define.
9127 (support_test_compare_string): Declare.
9128 * support/Makefile (libsupport-routines): Add
9129 support_test_compare_string.
9130 (tests): Add tst-test_compare_string.
9131 * support/support_test_compare_string.c: New file.
9132 * support/tst-test_compare_string.c: Likewise.
9134 2018-11-07 Andreas Schwab <schwab@suse.de>
9137 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
9138 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
9141 2018-11-06 Joseph Myers <joseph@codesourcery.com>
9144 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9145 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
9146 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
9147 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
9150 2018-11-06 Florian Weimer <fweimer@redhat.com>
9153 * posix/Makefile (routines): Add spawn_faction_addchdir.
9154 (tests): Add tst-spawn-chdir.
9155 * posix/Versions (GLIBC_2.29): Add
9156 posix_spawn_file_actions_addchdir_np.
9157 * posix/spawn_faction_addchdir.c: New file.
9158 * posix/spawn_faction_destroy.c
9159 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
9160 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
9161 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
9163 * posix/tst-spawn-chdir.c: New file.
9164 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
9165 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9166 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9167 posix_spawn_file_actions_addchdir_np.
9168 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9170 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9172 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9173 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9175 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9177 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9179 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9181 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9183 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9185 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9186 (GLIBC_2.29): Likewise.
9187 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9188 (GLIBC_2.29): Likewise.
9189 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9190 (GLIBC_2.29): Likewise.
9191 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9192 (GLIBC_2.29): Likewise.
9193 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9196 (GLIBC_2.29): Likewise.
9197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9198 (GLIBC_2.29): Likewise.
9199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9200 (GLIBC_2.29): Likewise.
9201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9202 (GLIBC_2.29): Likewise.
9203 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9205 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9207 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9209 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9210 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9212 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9214 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9216 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9219 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9221 * misc/Makefile (tests): Add tst-ldbl-error.
9222 * misc/tst-ldbl-error.c: New file.
9224 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9226 * misc/Makefile (tests): Add tst-ldbl-warn.
9227 * misc/tst-ldbl-warn.c: New file.
9229 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9231 * argp/Makefile (tests): Add tst-ldbl-argp.
9232 * argp/tst-ldbl-argp.c: New file.
9234 2018-11-05 Arjun Shankar <arjun@redhat.com>
9236 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
9237 __gconv_path_elem and call __gconv_get_path unconditionally.
9239 2018-11-05 Andreas Schwab <schwab@suse.de>
9242 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
9243 creating the first helper thread failed.
9245 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9247 * sysdeps/mach/hurd/msync.c: New file.
9249 2018-11-02 Florian Weimer <fweimer@redhat.com>
9251 * support/shell-container.c (copy_func): Call
9252 support_copy_file_range instead of copy_file_range to support
9253 cross-device copies.
9255 2018-11-02 Florian Weimer <fweimer@redhat.com>
9257 * support/test-container.c: Include <libc-pointer-arith.h> for
9260 2018-11-01 Zong Li <zong@andestech.com>
9262 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
9263 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
9264 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
9265 (__FP_FRAC_SET_8): Add implementation for RV32 use.
9267 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
9268 variable to avoid overlap arguments.
9270 2018-11-01 Joseph Myers <joseph@codesourcery.com>
9272 * posix/bug-regex22.c (main): Use puts with distinct error
9273 messages for unexpected success of re_compile_pattern, not printf
9274 with NULL argument to %s.
9276 * stdio-common/bug22.c: Include <libc-diag.h>.
9277 (do_test): Disable -Wformat-overflow= warnings around fprintf
9278 calls outputting more than INT_MAX characters.
9279 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
9280 around printf call with NULL %s argument.
9283 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
9284 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
9286 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9287 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9288 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9289 (__ASSUME_SENDTO_SYSCALL): Likewise.
9290 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9291 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
9293 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9294 (__ASSUME_CONNECT_SYSCALL): Likewise.
9295 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9296 (__ASSUME_RECVFROM_SYSCALL): Likewise.
9297 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
9299 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
9301 [__LINUX_KERNEL_VERSION >= 0x040400]
9302 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9303 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
9306 (setsockopt): Likewise.
9308 2018-11-01 Fredrik Noring <noring@nocrew.org>
9310 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
9311 with the ISA override.
9313 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
9315 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
9318 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9320 * manual/errno.texi (EIEIO): Document how translators should
9321 translate the error message.
9322 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
9323 printing trailing whitespaces refused by git.
9324 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
9325 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9326 * hurd/Makefile (user-interfaces): Add pci.
9328 2018-10-30 Joseph Myers <joseph@codesourcery.com>
9330 * conform/linknamespace.py: New file.
9331 * conform/linknamespace.pl: Remove file.
9332 * conform/Makefile ($(linknamespace-header-tests)): Use
9333 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
9336 2018-10-30 Florian Weimer <fweimer@redhat.com>
9338 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
9341 2018-10-30 Florian Weimer <fweimer@redhat.com>
9343 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
9345 2018-10-30 Florian Weimer <fweimer@redhat.com>
9347 * stdlib/tst-strtod-overflow.c (do_test): Switch to
9348 support_blob_repeat.
9350 2018-10-30 Florian Weimer <fweimer@redhat.com>
9352 Avoid spurious test failures in stdlib/test-bz22786.
9353 * support/Makefile (libsupport-routines): Add blob_repeat.
9354 (tests): Add tst-support_blob_repeat.
9355 * support/blob_repeat.h: New file.
9356 * support/blob_repeat.c: Likewise.
9357 * support/tst-support_blob_repeat.c: Likewise.
9358 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
9359 support_blob_repeat_allocate.
9361 2018-10-30 Andreas Schwab <schwab@suse.de>
9364 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
9365 Don't use tail call.
9366 * elf/tst-unwind-main.c: New file.
9367 * elf/Makefile (tests): Add tst-unwind-main.
9368 (CFLAGS-tst-unwind-main.c): Define.
9370 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
9373 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
9375 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
9377 2018-10-29 Joseph Myers <joseph@codesourcery.com>
9379 * conform/glibcconform.py: Do not import shutil.
9380 (list_exported_functions): Use tempfile.TemporaryDirectory instead
9383 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
9384 critic_missing for versions before 3.4.
9385 * configure: Regenerated.
9386 * manual/install.texi (Tools for Compilation): Document
9387 requirement for Python to build glibc.
9388 * INSTALL: Regenerated.
9389 * Rules [PYTHON]: Make code unconditional.
9390 * benchtests/Makefile [PYTHON]: Likewise.
9391 * conform/Makefile [PYTHON]: Likewise.
9392 * manual/Makefile [PYTHON]: Likewise.
9393 * math/Makefile [PYTHON]: Likewise.
9395 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9397 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
9398 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
9399 answer to interrupt_operation, return EIEIO instead of EINTR.
9400 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
9401 _hurd_intr_rpc_msg_about_to global point to start of controlled
9402 assembly snippet. Make it check canceled flag.
9403 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
9404 the _hurd_intr_rpc_msg_about_to point.
9405 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
9406 issue, remove cancel flag check.
9408 2018-10-26 Joseph Myers <joseph@codesourcery.com>
9410 * scripts/build-many-glibcs.py: Remove compatibility for missing
9411 os.cpu_count and re.fullmatch.
9413 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
9416 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
9417 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
9418 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
9420 2018-10-25 Joseph Myers <joseph@codesourcery.com>
9422 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
9425 2018-10-25 Florian Weimer <fweimer@redhat.com>
9429 XFAIL siginfo_t si_band conform test on sparc64.
9430 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
9431 (__SI_BAND_TYPE): Only override long int default type on sparc64.
9432 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9433 (conformtest-xfail-conds): Add sparc64-linux.
9434 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
9436 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
9438 2018-10-25 Joseph Myers <joseph@codesourcery.com>
9440 * elf/elf.h (NT_MIPS_DSP): New macro.
9441 (NT_MIPS_FP_MODE): Likewise.
9443 2018-10-25 Zong Li <zong@andestech.com>
9445 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
9446 name by adding the file extension (.so).
9448 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
9450 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
9451 (test-xfail-ISO11/threads.h/linknamespace,
9452 test-xfail-ISO11/threads.h/conform): Add.
9454 2018-10-24 Joseph Myers <joseph@codesourcery.com>
9456 * math/gen-libm-test.py: Import os.
9457 (ALL_FLOATS_MANUAL): New constant.
9458 (ALL_FLOATS_SUFFIX): Likewise.
9459 (Ulps.all_functions): New function.
9460 (real_all_ulps): Likewise.
9461 (generate_err_table_sub): Likewise.
9462 (generate_err_table): Likewise.
9463 (main): Handle -s and -m options.
9464 * manual/libm-err-tab.pl: Remove.
9465 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
9466 instead of libm-err-tab.pl.
9467 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
9469 * manual/install.texi (Tools for Compilation): Document
9470 requirement for Python to build manual.
9471 * INSTALL: Regenerated.
9473 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
9475 * bits/time64.h: New file.
9476 * include/time.h: Replace internal_time_t with __time64_t.
9477 * posix/bits/types (__time64_t): Add.
9478 * stdlib/Makefile: Add bits/time64.h to includes.
9479 * time/tzfile.c: Replace internal_time_t with __time64_t.
9481 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9483 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
9484 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
9485 __posix_spawn_file_actions_init, __posix_spawnattr_init,
9486 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
9487 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
9489 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
9490 * posix/spawn_faction_addclose.c
9491 (__posix_spawn_file_actions_addclose): Add hidden definition.
9492 * posix/spawn_faction_adddup2.c
9493 (__posix_spawn_file_actions_adddup2): Likewise.
9494 * posix/spawn_faction_destroy.c
9495 (__posix_spawn_file_actions_destroy): Likewise.
9496 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
9498 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
9499 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
9500 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
9502 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
9503 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
9506 2018-10-24 Andreas Schwab <schwab@suse.de>
9509 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
9511 * elf/cache.c (print_cache): Likewise.
9513 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
9515 * bits/timesize.h: New file.
9516 * stdlib/Makefile (headers): Add bits/timesize.h.
9517 * sysdeps/unix/sysv/linux/bits/msq-pad.h
9518 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
9519 * sysdeps/unix/sysv/linux/bits/sem-pad.h
9520 (__SEM_PAD_AFTER_TIME): Likewise.
9521 * sysdeps/unix/sysv/linux/bits/shm-pad.h
9522 (__SHM_PAD_AFTER_TIME): Likewise.
9523 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
9524 (__MSQ_PAD_BEFORE_TIME): Likewise.
9525 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
9526 (__SEM_PAD_BEFORE_TIME): Likewise.
9527 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
9528 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9529 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
9530 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
9531 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
9532 (__MSQ_PAD_BEFORE_TIME): Likewise.
9533 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
9534 (__SEM_PAD_BEFORE_TIME): Likewise.
9535 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
9536 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9537 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
9538 (__MSQ_PAD_BEFORE_TIME): Likewise.
9539 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
9540 (__SEM_PAD_BEFORE_TIME): Likewise.
9541 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
9542 (__SHM_PAD_BEFORE_TIME): Likewise.
9543 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
9544 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9545 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
9547 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
9549 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
9550 USE_RDTSCP is defined.
9551 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
9552 USE_RDTSCP is defined.
9554 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9556 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
9560 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
9561 independently of other flags.
9563 2018-10-23 Florian Weimer <fweimer@redhat.com>
9565 * time/tst-mktime2.c (N_STRINGS): Remove.
9566 (set_timezone): New function.
9567 (spring_forward_gap): Call it. Use FAIL_EXIT1.
9568 (mktime_test1): Report localtime failure and check errno value.
9570 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
9571 (do_test): Remove alarm call. Use set_timezone and array_length.
9573 2018-10-23 Andreas Schwab <schwab@suse.de>
9575 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
9576 (__start_context): Use END instead of PSEUDO_END.
9578 2018-10-22 Joseph Myers <joseph@codesourcery.com>
9580 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9583 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9587 * wcsmbs/c32rtomb.c: New file.
9588 * wcsmbs/mbrtoc32.c: Likewise.
9589 * wcsmbs/tst-c32-state.c: Likewise.
9590 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
9591 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
9592 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
9593 (tests): Add tst-c32-state.
9594 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
9597 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
9599 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
9600 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
9602 2018-10-19 Joseph Myers <joseph@codesourcery.com>
9605 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
9606 pair and return 0 in that case, and use saved character to
9607 interpret following character.
9608 * wcsmbs/tst-c16-surrogate.c: New file.
9609 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
9610 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
9611 Depend on $(gen-locales)
9613 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
9616 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
9617 (struct siginfo_t): Use correct type for si_band.
9619 2018-10-19 Florian Weimer <fweimer@redhat.com>
9622 * resource/bits/types/struct_rusage.h (struct rusage): Update
9623 comment on struct. Remove extraneous field comment.
9625 2018-10-18 David S. Miller <davem@davemloft.net>
9627 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
9628 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
9629 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
9630 sysdep_routines in subdir elf.
9631 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
9632 version for __vdso_clock_gettime.
9633 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
9635 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9636 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9638 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9640 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
9642 * sysdeps/i386/init-arch.h: Removed.
9643 * sysdeps/i386/i586/init-arch.h: Likewise.
9644 * sysdeps/i386/i686/init-arch.h: Likewise.
9645 * sysdeps/i386/i686/hp-timing.h: Likewise.
9646 * sysdeps/x86_64/hp-timing.h: Likewise.
9647 * sysdeps/i386/isa.h: New file.
9648 * sysdeps/i386/i586/isa.h: Likewise.
9649 * sysdeps/i386/i686/isa.h: Likewise.
9650 * sysdeps/x86_64/isa.h: Likewise.
9651 * sysdeps/x86/hp-timing.h: New file.
9652 * sysdeps/x86/init-arch.h: Include <isa.h>.
9654 2018-10-17 Joseph Myers <joseph@codesourcery.com>
9656 * math/libm-test-pow.inc (pow_test_data): Do not allow
9657 divide-by-zero exception for pow(+/- 0, -Inf).
9659 2018-10-17 Zack Weinberg <zackw@panix.com>
9661 * manual/job.texi (Job Control is Optional): Remove node, as
9662 job control has not been optional in quite some time.
9663 (Job Control): Mention briefly that systems older than
9664 POSIX.1-2001 might not support job control.
9665 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
9666 defined on systems conforming to POSIX.1-2001.
9668 2018-10-17 Arjun Shankar <arjun@redhat.com>
9671 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
9673 * (__gconv_read_conf): Mark function static.
9674 * (once): New static variable.
9675 * (__gconv_load_conf): New function.
9676 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
9677 * iconv/gconv_db.c (once): Remove static variable.
9678 * (__gconv_compare_alias): Use __gconv_load_conf instead of
9680 * (__gconv_find_transform): Likewise.
9681 * iconv/tst-iconv-mt.c: New test.
9682 * iconv/Makefile: Add tst-iconv_mt.
9684 2018-10-17 Joseph Myers <joseph@codesourcery.com>
9686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9688 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
9689 (shmatt_t): Define as __syscall_ulong_t.
9690 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
9691 and [__SHM_PAD_AFTER_TIME].
9692 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
9693 Define shm_segsz and associated padding based on
9694 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
9695 Use __syscall_ulong_t instead of unsigned long int.
9696 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
9698 [__USE_MISC] (struct shm_info): Likewise.
9699 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
9700 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
9701 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
9702 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
9703 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
9704 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9705 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
9706 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
9707 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9708 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9709 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9711 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9713 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
9714 (SHMLBA): Remove macro.
9715 (__getpagesize): Remove function declaration.
9716 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
9718 (SHMLBA): Remove macro.
9719 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
9721 (SHMLBA): Remove macro.
9722 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
9724 (SHMLBA): Remove macro.
9725 (__getpagesize): Remove function declaration.
9726 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
9728 (SHMLBA): Remove macro.
9729 (__getshmlba): Remove function declaration.
9730 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
9731 (SHMLBA): Remove macro.
9732 (__getpagesize): Remove function declaration.
9733 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
9734 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
9735 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9736 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
9737 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
9738 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
9739 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
9740 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
9741 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
9742 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
9744 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
9747 * nptl/tst-mutex10.c: New File.
9748 * nptl/Makefile (tests): Add tst-mutex10.
9749 (tst-mutex10-ENV): New variable.
9750 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
9751 Ensure that elision path is used if elision is available.
9752 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
9754 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
9756 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
9757 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
9758 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
9759 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
9761 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
9762 (__pthread_mutex_cond_lock_adjust): Likewise.
9763 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9765 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
9766 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9767 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9768 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
9770 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9771 Use atomic_load_relaxed and atomic_store_relaxed.
9772 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
9773 Use atomic_store_relaxed.
9775 2018-10-17 Andreas Schwab <schwab@suse.de>
9777 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
9778 * crypt/badsalttest.c (TIMEOUT): Likewise.
9779 * crypt/sha256c-test.c (TIMEOUT): Likewise.
9780 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
9781 * io/test-lfs.c (TIMEOUT): Likewise.
9782 * libio/tst-atime.c (TIMEOUT): Likewise.
9783 * localedata/tst-leaks.c (TIMEOUT): Likewise.
9784 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
9785 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
9786 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
9787 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
9788 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
9789 * nptl/tst-cond11.c (TIMEOUT): Likewise.
9790 * nptl/tst-cond14.c (TIMEOUT): Likewise.
9791 * nptl/tst-cond15.c (TIMEOUT): Likewise.
9792 * nptl/tst-cond24.c (TIMEOUT): Likewise.
9793 * nptl/tst-cond25.c (TIMEOUT): Likewise.
9794 * nptl/tst-kill2.c (TIMEOUT): Likewise.
9795 * nptl/tst-kill3.c (TIMEOUT): Likewise.
9796 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
9797 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
9798 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
9799 * nptl/tst-once2.c (TIMEOUT): Likewise.
9800 * nptl/tst-once3.c (TIMEOUT): Likewise.
9801 * nptl/tst-once4.c (TIMEOUT): Likewise.
9802 * nptl/tst-robust8.c (TIMEOUT): Likewise.
9803 * nptl/tst-robust9.c (TIMEOUT): Likewise.
9804 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
9805 * nptl/tst-sem14.c (TIMEOUT): Likewise.
9806 * nptl/tst-sem6.c (TIMEOUT): Likewise.
9807 * nptl/tst-signal3.c (TIMEOUT): Likewise.
9808 * nptl/tst-spin4.c (TIMEOUT): Likewise.
9809 * nptl/tst-tls3.c (TIMEOUT): Likewise.
9810 * nptl/tst-tls4.c (TIMEOUT): Likewise.
9811 * posix/tst-chmod.c (TIMEOUT): Likewise.
9812 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
9813 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
9814 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
9815 * posix/tst-regex2.c (TIMEOUT): Likewise.
9816 * posix/tst-waitid.c (TIMEOUT): Likewise.
9817 * rt/tst-aio.c (TIMEOUT): Likewise.
9818 * rt/tst-aio10.c (TIMEOUT): Likewise.
9819 * rt/tst-aio4.c (TIMEOUT): Likewise.
9820 * rt/tst-aio5.c (TIMEOUT): Likewise.
9821 * rt/tst-aio6.c (TIMEOUT): Likewise.
9822 * rt/tst-aio64.c (TIMEOUT): Likewise.
9823 * rt/tst-aio7.c (TIMEOUT): Likewise.
9824 * rt/tst-aio9.c (TIMEOUT): Likewise.
9825 * rt/tst-clock.c (TIMEOUT): Likewise.
9826 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
9827 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
9828 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
9829 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
9830 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
9831 * rt/tst-timer4.c (TIMEOUT): Likewise.
9832 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
9833 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
9834 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
9835 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
9836 * time/tst-ftime.c (TIMEOUT): Likewise.
9837 * timezone/tst-tzset.c (TIMEOUT): Likewise.
9839 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
9841 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
9842 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
9845 2018-10-15 Joseph Myers <joseph@codesourcery.com>
9847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9849 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
9850 instead of <bits/wordsize.h>.
9851 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
9852 and [__SEM_PAD_AFTER_TIME].
9853 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
9854 __syscall_ulong_t instead of unsigned long int.
9855 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
9856 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
9857 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
9858 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
9859 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
9860 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
9861 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
9862 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
9863 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9864 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9865 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9867 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
9869 regex: simplify by using intprops.h
9871 * posix/regex_internal.h [_LIBC]: Include intprops.h.
9872 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
9873 intprops.h defines them.
9875 regex: __builtin_expect → __glibc_unlikely
9877 This refactoring was prompted by a problem when the regex code is
9878 used as part of Gnulib and when the builder’s compiler does not grok
9879 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
9880 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
9881 Although this refactoring does not fix the problem directly,
9882 we might as well have Gawk use the now-preferred glibc style for when
9883 __builtin_expect is unavailable.
9884 * posix/regex_internal.h (BE): Remove.
9885 All uses replaced by __glibc_unlikely or __glibc_likely.
9887 2018-10-11 Joseph Myers <joseph@codesourcery.com>
9889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9891 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
9892 instead of <bits/wordsize.h>.
9893 (msgqnum_t): Define as __syscall_ulong_t.
9894 (msglen_t): Likewise.
9895 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
9896 and [__MSQ_PAD_AFTER_TIME].
9897 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
9898 __syscall_ulong_t instead of unsigned long int.
9899 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
9900 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
9901 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
9902 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
9903 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
9904 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
9905 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
9906 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
9907 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9908 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9909 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9911 2018-10-10 Joseph Myers <joseph@codesourcery.com>
9913 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
9914 (struct shmid_ds): Condition padding after time fields on
9916 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
9917 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
9918 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9920 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
9921 (struct semid_ds): Condition padding after time fields on
9923 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
9924 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
9925 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
9926 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9928 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
9929 (struct msqid_ds): Condition padding after time fields on
9931 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
9932 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
9933 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
9934 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9936 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9938 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
9940 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9942 * libio/tst-readline.c (TIMEOUT): Define.
9944 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
9946 mktime fix for Gnulib + coreutils
9948 This fix affects only Gnulib. Problem discovered when
9949 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
9951 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
9952 Do not define since it is not used. Defining an unused static
9953 function prompts a warning from GCC when Coreutils is configured
9954 with --enable-gcc-warnings.
9956 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9958 * benchtests/scripts/compare_bench.py (main): set float type on
9961 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
9964 * localedata/locales/kl_GL (mon): Update, the relative case.
9965 (alt_mon): Add, fill with month names in the nominative case.
9966 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
9967 (d_fmt): Set to "%b %d %Y".
9969 2018-10-04 Joseph Myers <joseph@codesourcery.com>
9971 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
9972 <bits/mman-linux.h>.
9973 (PROT_READ): Don't define here.
9974 (PROT_WRITE): Likewise.
9975 (PROT_EXEC): Likewise.
9976 (PROT_NONE): Likewise.
9977 (PROT_GROWSDOWN): Likewise.
9978 (PROT_GROWSUP): Likewise.
9979 (MAP_SHARED): Likewise.
9980 (MAP_PRIVATE): Likewise.
9981 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
9982 [__USE_MISC] (MAP_FILE): Likewise.
9983 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
9984 [__USE_MISC] (MAP_ANON): Likewise.
9985 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
9986 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
9987 (MCL_CURRENT): Likewise.
9988 (MCL_FUTURE): Likewise.
9989 (MCL_ONFAULT): Likewise.
9990 [__USE_MISC] (MADV_NORMAL): Likewise.
9991 [__USE_MISC] (MADV_RANDOM): Likewise.
9992 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
9993 [__USE_MISC] (MADV_WILLNEED): Likewise.
9994 [__USE_MISC] (MADV_DONTNEED): Likewise.
9995 [__USE_MISC] (MADV_FREE): Likewise.
9996 [__USE_MISC] (MADV_REMOVE): Likewise.
9997 [__USE_MISC] (MADV_DONTFORK): Likewise.
9998 [__USE_MISC] (MADV_DOFORK): Likewise.
9999 [__USE_MISC] (MADV_HWPOISON): Likewise.
10000 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
10001 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
10002 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
10003 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
10004 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
10005 (__MAP_ANONYMOUS): New macro.
10006 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
10007 <bits/mman-linux.h> inclusion.
10008 (MAP_FIXED): Likewise.
10009 (MS_SYNC): Likewise.
10010 (MS_ASYNC): Likewise.
10011 (MS_INVALIDATE): Likewise.
10012 [__USE_MISC] (MADV_MERGEABLE): Likewise.
10013 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
10014 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
10015 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
10016 [__USE_MISC] (MADV_DONTDUMP): Likewise.
10017 [__USE_MISC] (MADV_DODUMP): Likewise.
10018 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
10019 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
10022 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
10024 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
10025 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
10026 Add test-nldbl-redirect.
10027 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
10028 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
10029 $(objpfx)libnldbl_nonshared.a.
10031 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
10033 * support/support.h (support_objdir_elf_ldso): New variable.
10034 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
10035 * support/Makefile (CFLAGS-support_paths.c): Add definition
10036 for OBJDIR_ELF_LDSO_PATH.
10037 * support/test-container.c (main): Search for the ld.so
10038 which is also used by the testsuite.
10040 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
10043 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
10044 should be "sap" rather than "sab".
10045 (day): Fix spelling of Sunday, should be "sapaat" rather than
10048 2018-10-02 Joseph Myers <joseph@codesourcery.com>
10050 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10052 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
10055 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
10056 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
10057 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
10059 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10061 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
10063 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
10065 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
10067 (CFLAGS-elision-unlock.c): Likewise.
10068 (CFLAGS-elision-timed.c): Likewise.
10069 (CFLAGS-elision-trylock.c): Likewise.
10070 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
10072 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10075 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
10076 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
10077 new fd_to_filename interface.
10078 * libio/freopen64.c (freopen64): Likewise.
10079 * libio/tst-memstream.h: New file.
10080 * libio/tst-memstream4.c: Likewise.
10081 * libio/tst-wmemstream4.c: Likewise.
10082 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
10083 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
10084 and remove internal dynamic allocation.
10086 2018-10-01 Joseph Myers <joseph@codesourcery.com>
10088 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
10089 (MREMAP_MAYMOVE): Do not define here.
10090 [__USE_GNU] (MREMAP_FIXED): Likewise.
10091 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
10092 (MREMAP_MAYMOVE): Define here instead.
10093 [__USE_GNU] (MREMAP_FIXED): Likewise.
10094 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
10095 (MREMAP_MAYMOVE): Remove.
10096 [__USE_GNU] (MREMAP_FIXED): Likewise.
10098 2018-09-28 Joseph Myers <joseph@codesourcery.com>
10100 * math/fromfp.h: Do not include <math_private.h>.
10101 * math/s_cacosh_template.c: Likewise.
10102 * math/s_casin_template.c: Likewise.
10103 * math/s_casinh_template.c: Likewise.
10104 * math/s_ccos_template.c: Likewise.
10105 * math/s_cproj_template.c: Likewise.
10106 * math/s_fdim_template.c: Likewise.
10107 * math/s_fmaxmag_template.c: Likewise.
10108 * math/s_fminmag_template.c: Likewise.
10109 * math/s_iseqsig_template.c: Likewise.
10110 * math/s_ldexp_template.c: Likewise.
10111 * math/s_nextdown_template.c: Likewise.
10112 * math/w_log1p_template.c: Likewise.
10113 * math/w_scalbln_template.c: Likewise.
10114 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10115 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10116 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10117 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10118 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10119 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10120 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10121 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10122 * sysdeps/i386/fpu/s_atanl.c: Likewise.
10123 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10124 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10125 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10126 * sysdeps/i386/fpu/s_logbl.c: Likewise.
10127 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10128 * sysdeps/i386/fpu/s_significandl.c: Likewise.
10129 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
10130 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
10131 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10132 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10133 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10134 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10135 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10136 * sysdeps/ieee754/k_standardf.c: Likewise.
10137 * sysdeps/ieee754/k_standardl.c: Likewise.
10138 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10139 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10140 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
10141 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10142 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10143 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10144 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10145 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10146 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10147 * sysdeps/ieee754/s_signgam.c: Likewise.
10148 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10149 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
10150 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
10151 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10152 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10153 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10154 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10155 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10156 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10157 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10158 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10159 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10160 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10161 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10162 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10163 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10164 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10165 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10166 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10167 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10168 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10169 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10170 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10171 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10172 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10173 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10174 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10175 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10176 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10177 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10178 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10179 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10180 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10181 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10182 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10183 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10184 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
10186 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10188 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
10191 * sysdeps/i386/dl-cet.c: Removed.
10192 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
10194 (_dl_runtime_profile_shstk): Likewise.
10195 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
10196 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
10198 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10201 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
10202 do_test_with_invalid_iov): New tests.
10203 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
10204 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
10205 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
10207 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
10208 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
10209 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
10211 2018-09-27 Joseph Myers <joseph@codesourcery.com>
10213 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10214 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
10215 (MATH_REDIRECT_BINARY_ARGS): New macro.
10216 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10217 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
10218 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
10220 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
10221 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10222 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
10223 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10224 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10225 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10226 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
10231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
10233 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
10234 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
10235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
10237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
10239 * sysdeps/generic/math_private_calls.h
10240 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
10241 Do not declare and define as an inline function.
10242 * math/divtc3.c (__divtc3): Use copysign functions instead of
10243 __copysign variants.
10244 * math/multc3.c (__multc3): Likewise.
10245 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
10246 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
10247 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10248 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10250 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10251 (__ieee754_yn): Likewise.
10252 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10253 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
10254 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10255 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10256 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
10258 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10259 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10261 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10263 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10265 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10266 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10268 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10269 (__ieee754_ynf): Likewise.
10270 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10271 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10272 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10273 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10275 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10276 (__ieee754_ynl): Likewise.
10277 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10278 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10279 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10281 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10282 (__ieee754_ynl): Likewise.
10283 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
10284 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10285 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10286 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10288 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10290 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
10291 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10292 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
10293 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10294 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10296 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10297 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
10298 using MATH_REDIRECT.
10299 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
10301 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
10302 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10303 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10304 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
10305 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10306 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10307 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
10309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
10310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
10311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
10312 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10313 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10314 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10315 (round): Redirect to __round.
10316 (__roundl): Call round instead of __round.
10317 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
10319 [_ARCH_PWR5X] (__roundf): Likewise.
10320 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
10321 functions instead of __round variants.
10322 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10323 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10325 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10327 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10329 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
10330 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
10332 (__ieee754_expl): Call roundl instead of __roundl.
10334 2018-09-27 Andreas Schwab <schwab@suse.de>
10337 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
10338 (do_test): Make st1 static.
10340 2018-09-26 Andreas Schwab <schwab@suse.de>
10343 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
10344 * elf/Makefile (tests): Add tst-unwind-ctor.
10345 (modules-names): Add tst-unwind-ctor-lib.
10346 ($(objpfx)tst-unwind-ctor): Depend on
10347 $(objpfx)tst-unwind-ctor-lib.so.
10349 2018-09-26 Joseph Myers <joseph@codesourcery.com>
10351 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
10352 file. Most contents moved from ....
10353 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
10354 and include <bits/mman-map-flags-generic.h>.
10355 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10356 (sysdep_headers): Add bits/mman-map-flags-generic.h.
10357 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
10358 <bits/mman-map-flags-generic.h>.
10359 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
10360 macros defined in <bits/mman-map-flags-generic.h>.
10361 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
10362 <bits/mman-map-flags-generic.h>.
10363 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
10364 defined in <bits/mman-map-flags-generic.h>.
10366 2018-09-26 Andreas Schwab <schwab@suse.de>
10368 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
10371 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
10372 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10373 Fangrui Song <maskray@google.com>
10376 * config.make.in (have-textrel_ifunc): New define.
10377 * configure.ac: Add check if linker supports textrel relocation with
10379 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
10381 (CFLAGS-tst-ifunc-textrel.c): New rule.
10382 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
10383 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
10384 * elf/tst-ifunc-textrel.c: New file.
10386 2018-09-25 Joseph Myers <joseph@codesourcery.com>
10388 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10389 <bits/procfs-prregset.h>.
10390 (prgregset_t): Define using __prgregset_t.
10391 (prfpregset_t): Define using __prfpregset_t.
10392 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10393 (sysdep_headers): Add bits/procfs-prregset.h.
10394 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
10395 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
10396 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
10397 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
10399 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10400 <bits/procfs-id.h> and <bits/procfs-extra.h>.
10401 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
10403 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10404 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
10405 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
10406 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
10407 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
10408 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
10409 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
10410 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
10411 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
10412 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
10413 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
10414 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
10415 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
10416 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
10417 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
10418 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
10419 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
10420 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
10421 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
10422 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
10423 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
10424 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
10425 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10426 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
10428 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
10429 AArch64 version. Include <bits/procfs.h>.
10430 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10431 (sysdep_headers): Add bits/procfs.h.
10432 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
10433 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
10434 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
10435 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
10436 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
10437 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
10438 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
10439 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
10440 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
10441 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
10442 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
10443 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
10444 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
10445 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
10446 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
10447 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
10448 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
10450 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10452 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
10455 2018-09-25 Arjun Shankar <arjun@redhat.com>
10457 * iconv/gconv_int.h (__gconv_path_elem): Remove.
10458 (__gconv_max_path_elem_len): Likewise.
10459 (__gconv_nmodules): Likewise.
10460 (__gconv_get_path): Likewise.
10461 (path_elem): Move to ...
10462 * iconv/gconv_conf.c: ... here.
10463 (__gconv_get_path): Mark function static.
10464 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
10465 * iconv/gconv_open.c: ... here.
10467 2018-09-24 Andreas Schwab <schwab@suse.de>
10469 * scripts/haveversions.awk: New file.
10470 * Makerules ($(common-objpfx)Versions.def)
10471 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10472 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10474 * Makeconfig ($(common-objpfx)Versions.def)
10475 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10476 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10478 ($(common-objpfx)Versions.mk): New rule. Include it.
10479 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
10480 Emit error if build-obsolete-nsl = yes.
10481 * manual/install.texi (Configuring and compiling): Describe
10482 --enable-obsolete-nsl as unavaiable after version 2.28.
10483 * INSTALL: Regenerate.
10485 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10487 * NEWS: Add note about new TLE support on powerpc64le.
10488 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
10489 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
10491 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
10492 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
10493 * sysdeps/powerpc/powerpc32/sysdep.h,
10494 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
10495 ABORT_TRANSACTION): Remove macros.
10496 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
10497 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
10498 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
10499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
10500 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10501 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
10503 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
10505 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
10508 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
10509 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
10510 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
10511 which is the same as in it_IT.
10512 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
10513 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
10515 2018-09-20 Joseph Myers <joseph@codesourcery.com>
10517 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10518 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
10519 using MATH_REDIRECT.
10520 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
10522 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
10523 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10524 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
10525 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10526 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10527 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
10529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
10530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
10531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
10532 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10533 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10534 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10535 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10536 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
10537 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
10538 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
10539 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10540 (ceil): Redirect to __ceil.
10541 (floor): Redirect to __floor.
10542 (trunc): Redirect to __trunc.
10543 (__truncl): Call trunc instead of __trunc.
10544 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
10546 [_ARCH_PWR5X] (__truncf): Likewise.
10547 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
10548 trunc functions instead of __trunc variants.
10549 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10551 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10553 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10555 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10558 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
10559 [__i586__ || __pentium__].
10560 [__i486__]: Handle explicitly.
10561 (HAS_CPUID): Define to 1 if above macros are undefined.
10562 (HAS_I586): Likewise.
10563 (HAS_I686): Likewise.
10565 2018-09-20 Florian Weimer <fweimer@redhat.com>
10567 * misc/tst-gethostid.c: New file.
10568 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
10569 (tst-gethostid): Link with -ldl.
10571 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
10573 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
10574 value from gethostbyname_r.
10576 2018-09-19 Carlos O'Donell <carlos@redhat.com>
10578 * stdlib/tst-setcontext9.c (f1): Rename to...
10580 (f1b): New function implementing lower half of f1 in alternate stack.
10582 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
10584 Fix mktime localtime offset confusion
10586 * include/time.h (__mktime_internal): The localtime offset is now
10587 of type long int instead of time_t. This is the longstanding type
10588 in glibc, and it is more than enough to represent difference
10589 between localtime and gmtime even if it is 32 bits and time_t is
10590 64. Changing it now will let us avoid an unnecessary change when
10591 time_t is widened to 64 bits on 32-bit platforms.
10592 * time/mktime-internal.h (mktime_offset_t): Now long int.
10594 Merge mktime, timegm from upstream Gnulib
10595 [BZ #23603][BZ #16346]
10596 This fixes some obscure problems with integer overflow.
10597 Although it looks scary, it is almost all a byte-for-byte copy
10598 from Gnulib, and the Gnulib code has been tested reasonably well.
10599 * include/intprops.h: New file, copied from Gnulib.
10600 * include/verify.h, time/mktime-internal.h:
10601 New tiny files, simplified from Gnulib.
10602 * time/mktime.c: Copy from Gnulib. This has the following changes:
10603 Do not include config.h if DEBUG_MKTIME is nonzero.
10604 Include stdbool.h, intprops.h, verify.h.
10605 Include string.h only if needed.
10606 Include stdlib.h on MS-Windows.
10607 Include mktime-internal.h.
10608 (DEBUG_MKTIME): Default to 0, and simplify later uses.
10609 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
10610 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
10611 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
10612 simplify later conditionals; default the others to zero. Use
10613 these conditionals to express only the code needed on the current
10614 platform. In uses of these conditionals, explicitly spell out how
10615 _LIBC affects things, so it’s easier to review from a glibc
10617 (WRAPV): Remove; no longer needed now that we have
10618 systematic overflow checking.
10619 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
10620 compartmentalize tzset issues. Move system-dependent tzsettish
10621 code here from mktime.
10622 (verify): Remove; now done by verify.h. All uses changed.
10623 (long_int): Use a more-conservative definition, to avoid
10625 (SHR): Remove, replacing with ...
10626 (shr): New function, which means we needn’t worry about side
10627 effects in args, and conversion analysis is simpler.
10628 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
10629 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
10630 (time_t_avg, time_t_add_ok): Remove.
10631 (mktime_min, mktime_max): New constants.
10632 (leapyear, isdst_differ): Use bool for booleans.
10633 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
10634 Use long_int, not time_t, for mktime differences.
10635 (long_int_avg): New function, replacing time_t_avg.
10636 INT_ADD_WRAPV replaces time_t_add_ok.
10637 (guess_time_tm): 6th arg is now long_int, not time_t const *.
10639 (convert_time): New function.
10640 (ranged_convert): Use it.
10641 (__mktime_internal): Last arg now points to mktime_offset_t, not
10642 time_t. All uses changed. This is a no-op on glibc, where
10643 mktime_offset_t is always time_t. Use int, not time_t, for UTC
10644 offset guess. Directly check for integer overflow instead of
10645 using a heuristic that works only 99.9...% of the time.
10646 Access *OFFSET only once, to avoid an unlikely race if the
10647 compiler delays a load and if this cascades into a signed integer
10649 (mktime): Move tzsettish code to my_tzset, and move
10650 localtime_offset to within mktime so that it doesn’t
10651 need a separate ifdef.
10652 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
10653 instead of localtime.
10654 * time/timegm.c: Copy from Gnulib. This has the following changes:
10655 Include mktime-internal.h.
10656 [!_LIBC]: Include config.h and time.h. Do not include
10657 timegm.h or time_r.h. Make __mktime_internal a macro,
10658 and include mktime-internal.h to get its declaration.
10659 (timegm): Temporary is now mktime_offset_t, not time_t.
10660 This affects only Gnulib.
10662 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10665 * string/test-strstr.c (pr23637): New function.
10666 (test_main): Add tests with longer needles.
10667 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
10668 * string/strstr.c (AVAILABLE): Likewise.
10670 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10672 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
10674 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10676 * NEWS: Mention pow improvements.
10677 * math/Makefile (type-double-routines): Add e_pow_log_data.
10678 * sysdeps/generic/math_private.h (__exp1): Remove.
10679 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
10680 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
10681 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
10683 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
10684 (exp_inline): Remove.
10685 (__ieee754_exp): Only single double input is handled.
10686 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
10687 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
10688 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
10689 (__pow_log_data): Define.
10690 * sysdeps/ieee754/dbl-64/upow.h: Remove.
10691 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
10692 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
10693 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
10695 (CFLAGS-e_pow-fma4.c): Likewise.
10697 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
10699 Simplify tzfile fstat failure code
10701 * time/tzfile.c (__tzfile_read): Simplify slightly.
10703 Fix tzfile low-memory assertion failure
10705 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
10706 when registering time zone abbreviations.
10708 2018-09-18 Joseph Myers <joseph@codesourcery.com>
10710 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
10711 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
10712 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10713 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10714 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
10715 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
10716 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
10717 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10718 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10720 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
10722 (__ceill): Call ceil instead of __ceil.
10723 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
10725 (__floorl): Call floor instead of __floor.
10727 2018-09-17 Joseph Myers <joseph@codesourcery.com>
10729 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10730 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
10731 using MATH_REDIRECT.
10732 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
10734 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
10735 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10736 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10737 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
10738 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10739 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10740 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10741 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
10742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
10743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
10744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
10745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
10746 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10747 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10750 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
10751 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
10752 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
10754 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
10755 functions instead of __ceil variants.
10756 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10757 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10759 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10761 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10762 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10764 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10765 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10768 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
10770 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
10771 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
10772 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
10773 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
10774 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
10775 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
10776 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
10777 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
10778 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
10779 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
10780 (ILL_BADIADDR): Remove constant.
10781 (TRAP_BRANCH): Likewise.
10782 (TRAP_HWBKPT): Likewise.
10784 2018-09-14 Joseph Myers <joseph@codesourcery.com>
10787 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
10788 Remove [_MIPS_SIM = _ABIN32] conditional case.
10789 (struct elf_prpsinfo): Likewise.
10792 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
10793 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
10794 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
10796 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
10797 elf_prpsinfo): Likewise.
10798 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
10799 elf_prpsinfo): Likewise.
10800 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
10803 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10804 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
10805 using MATH_REDIRECT.
10806 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
10808 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
10809 * sysdeps/alpha/fpu/s_rint.c: Likewise.
10810 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
10811 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10812 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10813 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10814 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
10815 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10816 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10817 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10818 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
10819 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
10820 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
10821 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
10822 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
10823 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10824 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10825 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
10826 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
10828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
10829 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
10830 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
10831 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10832 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10833 * sysdeps/x86_64/fpu/math_private.h: Remove file.
10834 * math/e_scalb.c (invalid_fn): Use rint functions instead of
10836 * math/e_scalbf.c (invalid_fn): Likewise.
10837 * math/e_scalbl.c (invalid_fn): Likewise.
10838 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10840 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10842 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10843 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
10844 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10846 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10848 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10850 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
10851 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
10853 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10854 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
10856 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10857 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
10858 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10859 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
10860 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10861 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
10862 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10863 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
10864 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10865 && !NO_MATH_REDIRECT] (floor): Likewise.
10866 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
10868 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
10869 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10870 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10871 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
10872 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10873 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10874 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10875 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
10876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
10877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
10878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
10879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
10880 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10881 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10882 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10883 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10884 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10885 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10886 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
10888 [_ARCH_PWR5X] (__floorf): Likewise.
10889 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
10891 [__SSE4_1__] (__floorf): Likewise.
10892 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
10893 instead of __floor variants.
10894 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
10895 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
10896 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
10897 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
10898 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
10899 * math/w_tgamma_compat.c (__tgamma): Likewise.
10900 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
10901 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
10902 * math/w_tgammal_compat.c (__tgammal): Likewise.
10903 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
10904 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10906 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10907 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
10908 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10909 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10911 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10912 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
10914 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10915 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
10917 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10918 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
10920 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10921 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10922 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10923 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
10924 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10925 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10927 2018-09-12 Joseph Myers <joseph@codesourcery.com>
10929 * elf/Makefile (modules-names-tests): New variable.
10931 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10933 * NEWS: Mention log2 improvements.
10934 * math/Makefile (type-double-routines): Add e_log2_data.
10935 * sysdeps/i386/fpu/e_log2_data.c: New file.
10936 * sysdeps/ia64/fpu/e_log2_data.c: New file.
10937 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
10938 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
10939 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
10940 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
10941 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
10943 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10945 * NEWS: Mention log improvement.
10946 * math/Makefile (type-double-routines): Add e_log_data.
10947 * sysdeps/i386/fpu/e_log_data.c: New file.
10948 * sysdeps/ia64/fpu/e_log_data.c: New file.
10949 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
10950 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
10951 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
10952 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
10953 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
10954 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
10956 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
10957 Xuepeng Guo <xuepeng.guo@intel.com>
10960 * sysdeps/i386/start.S: Include <sysdep.h>
10961 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
10962 enabled. Add cfi_undefined (eip).
10964 2018-09-11 Joseph Myers <joseph@codesourcery.com>
10966 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
10968 (EXTRACT_WORDS64): Likewise.
10969 (INSERT_WORDS64): Likewise.
10970 (GET_FLOAT_WORD): Likewise.
10971 (SET_FLOAT_WORD): Likewise.
10973 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
10975 (Config.build_gcc): Use --disable-libsanitizer for first GCC
10976 build, but not for second build if --full-gcc. Use
10977 --enable-languages=all for second build if --full-gcc.
10978 (get_parser): Add --full-gcc option.
10979 (main): Update call to Context.
10981 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
10984 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
10985 Single Quotation Mark).
10986 (thousands_sep): Likewise.
10987 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
10988 * localedata/locales/it_IT (thousands_sep): Use ".".
10989 (grouping): Use "3;3".
10991 2018-09-10 Joseph Myers <joseph@codesourcery.com>
10993 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10994 x86_64 and i686 configs using --enable-obsolete-rpc
10995 --enable-obsolete-nsl.
10997 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10999 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11001 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
11003 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
11004 Increment size of new_argv by one.
11006 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
11009 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
11010 * localedata/locales/ar_IN (d_fmt): Likewise.
11011 * localedata/locales/bhb_IN (d_fmt): Likewise.
11012 * localedata/locales/bho_IN (d_fmt): Likewise.
11013 * localedata/locales/bn_BD (d_fmt): Likewise.
11014 * localedata/locales/bn_IN (d_fmt): Likewise.
11015 * localedata/locales/doi_IN (d_fmt): Likewise.
11016 * localedata/locales/gu_IN (d_fmt): Likewise.
11017 * localedata/locales/hi_IN (d_fmt): Likewise.
11018 * localedata/locales/hne_IN (d_fmt): Likewise.
11019 * localedata/locales/kn_IN (d_fmt): Likewise.
11020 * localedata/locales/mag_IN (d_fmt): Likewise.
11021 * localedata/locales/mai_IN (d_fmt): Likewise.
11022 * localedata/locales/mjw_IN (d_fmt): Likewise.
11023 * localedata/locales/ml_IN (d_fmt): Likewise.
11024 * localedata/locales/mni_IN (d_fmt): Likewise.
11025 * localedata/locales/mr_IN (d_fmt): Likewise.
11026 * localedata/locales/pa_IN (d_fmt): Likewise.
11027 * localedata/locales/raj_IN (d_fmt): Likewise.
11028 * localedata/locales/sat_IN (d_fmt): Likewise.
11029 * localedata/locales/sd_IN (d_fmt): Likewise.
11030 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
11031 * localedata/locales/ta_IN (d_fmt): Likewise.
11032 * localedata/locales/ta_LK (d_fmt): Likewise.
11033 * localedata/locales/tcy_IN (d_fmt): Likewise.
11034 * localedata/locales/ur_IN (d_fmt): Likewise.
11036 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
11037 * localedata/locales/ks_IN (d_fmt): Likewise.
11038 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
11040 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
11041 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
11042 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
11043 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
11045 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
11047 * NEWS: Mention exp and exp2 improvements.
11048 * math/Makefile (libm-support): Remove t_exp.
11049 (type-double-routines): Add math_err and e_exp_data.
11050 * sysdeps/aarch64/libm-test-ulps: Update.
11051 * sysdeps/arm/libm-test-ulps: Update.
11052 * sysdeps/i386/fpu/e_exp_data.c: New file.
11053 * sysdeps/i386/fpu/math_err.c: New file.
11054 * sysdeps/i386/fpu/t_exp.c: Remove.
11055 * sysdeps/ia64/fpu/e_exp_data.c: New file.
11056 * sysdeps/ia64/fpu/math_err.c: New file.
11057 * sysdeps/ia64/fpu/t_exp.c: Remove.
11058 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
11059 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
11060 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
11061 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
11062 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
11063 * sysdeps/ieee754/dbl-64/math_config.h: New file.
11064 * sysdeps/ieee754/dbl-64/math_err.c: New file.
11065 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
11066 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
11067 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
11068 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
11069 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
11070 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
11071 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
11072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11073 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11075 2018-09-05 Joseph Myers <joseph@codesourcery.com>
11077 * sysdeps/alpha/fpu/math_private.h: Remove.
11079 * sysdeps/generic/math_private.h
11080 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
11081 Move this inline function ....
11082 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
11083 * include/math.h [!_ISOMAC]: To here....
11085 2018-09-04 Joseph Myers <joseph@codesourcery.com>
11087 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
11089 [!FE_HAVE_ROUNDING_MODES]: And this code ....
11090 * include/fenv.h [!_ISOMAC]: ... to here.
11091 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
11092 (feraiseexcept): Likewise.
11093 * math/fromfp.h: Do not include <fenv_private.h>.
11094 * math/s_cexp_template.c: Likewise.
11095 * math/s_csin_template.c: Likewise.
11096 * math/s_csinh_template.c: Likewise.
11097 * math/s_ctan_template.c: Likewise.
11098 * math/s_ctanh_template.c: Likewise.
11099 * math/s_iseqsig_template.c: Likewise.
11100 * math/w_acos_compat.c: Likewise.
11101 * math/w_acosf_compat.c: Likewise.
11102 * math/w_acosl_compat.c: Likewise.
11103 * math/w_asin_compat.c: Likewise.
11104 * math/w_asinf_compat.c: Likewise.
11105 * math/w_asinl_compat.c: Likewise.
11106 * math/w_j0_compat.c: Likewise.
11107 * math/w_j0f_compat.c: Likewise.
11108 * math/w_j0l_compat.c: Likewise.
11109 * math/w_j1_compat.c: Likewise.
11110 * math/w_j1f_compat.c: Likewise.
11111 * math/w_j1l_compat.c: Likewise.
11112 * math/w_jn_compat.c: Likewise.
11113 * math/w_jnf_compat.c: Likewise.
11114 * math/w_log10_compat.c: Likewise.
11115 * math/w_log10f_compat.c: Likewise.
11116 * math/w_log10l_compat.c: Likewise.
11117 * math/w_log2_compat.c: Likewise.
11118 * math/w_log2f_compat.c: Likewise.
11119 * math/w_log2l_compat.c: Likewise.
11120 * math/w_log_compat.c: Likewise.
11121 * math/w_logf_compat.c: Likewise.
11122 * math/w_logl_compat.c: Likewise.
11123 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11124 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11125 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11126 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11127 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11128 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11129 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11130 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11131 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11132 * sysdeps/ieee754/k_standardl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11135 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11137 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11139 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11140 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11141 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11144 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11145 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11146 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11147 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11150 * math/w_ilogb_template.c: Include <fenv.h> instead of
11152 * math/w_llogb_template.c: Likewise.
11153 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11154 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11156 2018-09-03 Joseph Myers <joseph@codesourcery.com>
11158 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
11159 * math/fromfp.h: Include <fenv_private.h>.
11160 * math/math-narrow.h: Likewise.
11161 * math/s_cexp_template.c: Likewise.
11162 * math/s_csin_template.c: Likewise.
11163 * math/s_csinh_template.c: Likewise.
11164 * math/s_ctan_template.c: Likewise.
11165 * math/s_ctanh_template.c: Likewise.
11166 * math/s_iseqsig_template.c: Likewise.
11167 * math/w_acos_compat.c: Likewise.
11168 * math/w_acosf_compat.c: Likewise.
11169 * math/w_acosl_compat.c: Likewise.
11170 * math/w_asin_compat.c: Likewise.
11171 * math/w_asinf_compat.c: Likewise.
11172 * math/w_asinl_compat.c: Likewise.
11173 * math/w_ilogb_template.c: Likewise.
11174 * math/w_j0_compat.c: Likewise.
11175 * math/w_j0f_compat.c: Likewise.
11176 * math/w_j0l_compat.c: Likewise.
11177 * math/w_j1_compat.c: Likewise.
11178 * math/w_j1f_compat.c: Likewise.
11179 * math/w_j1l_compat.c: Likewise.
11180 * math/w_jn_compat.c: Likewise.
11181 * math/w_jnf_compat.c: Likewise.
11182 * math/w_llogb_template.c: Likewise.
11183 * math/w_log10_compat.c: Likewise.
11184 * math/w_log10f_compat.c: Likewise.
11185 * math/w_log10l_compat.c: Likewise.
11186 * math/w_log2_compat.c: Likewise.
11187 * math/w_log2f_compat.c: Likewise.
11188 * math/w_log2l_compat.c: Likewise.
11189 * math/w_log_compat.c: Likewise.
11190 * math/w_logf_compat.c: Likewise.
11191 * math/w_logl_compat.c: Likewise.
11192 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11193 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11194 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11195 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11197 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11198 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11199 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11200 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11201 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11202 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11203 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11204 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
11205 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11206 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11207 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11208 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11209 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11210 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11211 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11212 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11213 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11214 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11215 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11216 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11217 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11218 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11219 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11220 * sysdeps/ieee754/float128/float128_private.h: Likewise.
11221 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11222 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11223 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11224 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11225 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11226 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11227 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11228 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11229 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11230 * sysdeps/ieee754/k_standardl.c: Likewise.
11231 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11232 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11233 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11234 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11235 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11236 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11237 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11238 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11239 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11240 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11241 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11242 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11243 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11244 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11245 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11246 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11247 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11248 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11249 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11250 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11251 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11252 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11253 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11255 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11256 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11257 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11258 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11259 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11260 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11261 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11262 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11263 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11264 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11265 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11266 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11267 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11268 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11269 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11270 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11271 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11272 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11273 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11274 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11275 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11276 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11277 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11278 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11279 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11280 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11281 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11282 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11283 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11284 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11285 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11286 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11287 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11288 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11289 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11290 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11291 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11292 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11293 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11294 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11295 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11296 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11297 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11298 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11299 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11300 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11301 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11303 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11306 * include/stdio.h (__libc_fatal): Mention newline in comment.
11307 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
11308 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
11309 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11310 * nss/nsswitch.c (__nss_next2): Likewise.
11311 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
11312 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
11313 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
11314 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11315 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
11316 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
11317 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
11318 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
11319 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
11320 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
11321 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
11322 * sysdeps/unix/sysv/linux/netlink_assert_response.c
11323 (__netlink_assert_response): Likewise.
11325 2018-08-31 Joseph Myers <joseph@codesourcery.com>
11327 * conform/glibcconform.py: New file.
11328 * conform/list-header-symbols.py: Likewise.
11329 * conform/list-header-symbols.pl: Remove.
11330 * conform/Makefile (tests-special): Only add linknamespace tests
11332 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
11334 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
11337 * support/Makefile (libsupport-routines): Add
11338 support_copy_file_range and xcopy_file_range.
11339 * support/support.h: Include <sys/types.h>.
11340 (support_copy_file_range): New prototype.
11341 * support/support_copy_file_range.c: New file. Copied and
11342 modified from io/copy_file_range-compat.c.
11343 * support/test-container.c (copy_one_file): Call xcopy_file_rang
11344 instead of copy_file_range.
11345 * support/xcopy_file_range.c: New file.
11346 * support/xunistd.h (xcopy_file_range): New prototype.
11348 2018-08-30 Carlos O'Donell <carlos@redhat.com>
11350 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
11351 xpthread_create and xpthread_join.
11353 2018-08-30 Florian Weimer <fweimer@redhat.com>
11355 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
11357 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
11359 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
11362 2018-08-29 Joseph Myers <joseph@codesourcery.com>
11364 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
11365 and minus_oflow as non-finite.
11367 2018-08-28 Joseph Myers <joseph@codesourcery.com>
11369 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
11370 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
11371 moved to fenv_private.h except for ...
11372 (TOINT_INTRINSICS): Kept in math_private.h.
11373 (roundtoint): Likewise.
11374 (converttoint): Likewise.
11375 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
11376 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11377 * sysdeps/arm/math_private.h: Remove.
11378 * sysdeps/generic/fenv_private.h: New file. Contents moved from
11380 * sysdeps/generic/math_private.h: ... this file. Include
11381 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
11382 Include <fenv_private.h>. Remove functions and macros moved to
11384 * sysdeps/i386/fpu/math_private.h: Remove.
11385 * sysdeps/mips/math_private.h: Move to ....
11386 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
11387 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
11388 [__mips_hard_float] conditional. Include next <fenv_private.h>.
11389 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
11390 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11391 * sysdeps/powerpc/fpu/math_private.h: Do not include
11393 * sysdeps/riscv/rvf/math_private.h: Move to ....
11394 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
11395 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
11397 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
11398 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11399 * sysdeps/sparc/fpu/math_private.h: Remove.
11400 * sysdeps/i386/fpu/fenv_private.h: Move to ....
11401 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
11402 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
11404 * sysdeps/x86_64/fpu/math_private.h: Do not include
11405 <sysdeps/i386/fpu/fenv_private.h>.
11407 2018-08-28 Florian Weimer <fweimer@redhat.com>
11410 * posix/tst-regcomp-truncated.c: New file.
11411 * posix/Makefile (tests): Add it.
11412 (tst-regcomp-truncated.out): Depend on generated locales.
11414 2018-08-28 Florian Weimer <fweimer@redhat.com>
11416 * support/test-container.c (main): Treat unshare failure with
11417 EPERM as an unsupported test.
11419 2018-08-28 Florian Weimer <fweimer@redhat.com>
11422 nscd: Fix use-after-free in addgetnetgrentX and its callers.
11423 * nscd/netgroupcache.c
11424 (addgetnetgrentX): Add tofreep parameter. Do not free
11425 heap-allocated buffer.
11426 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
11427 (addgetnetgrentX_ignore): New function.
11428 (addgetnetgrent): Call it.
11429 (readdgetnetgrent): Likewise.
11431 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11433 * string/memmem.c: Use memcmp for first match.
11435 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
11438 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
11440 2018-08-27 DJ Delorie <dj@redhat.com>
11442 * support/Makefile (others): Don't list programs explicitly as a
11443 dependency of "others".
11445 2018-08-27 Joseph Myers <joseph@codesourcery.com>
11447 * sysdeps/generic/math-tests-trap-force.h: New file.
11448 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
11449 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
11450 * sysdeps/powerpc/math-tests.h: Remove file.
11451 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
11453 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
11454 Torvald Riegel <triegel@redhat.com>
11457 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
11458 Update r to include the set wake-request flag if waiters are
11459 remaining after spinning.
11461 2018-08-27 Joseph Myers <joseph@codesourcery.com>
11463 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
11465 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
11468 regex: fix uninitialized memory access
11469 I introduced this bug into gnulib in commit
11470 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
11471 eventually it was merged into glibc. The bug was found by
11472 project-repo <bugs@feusi.co> and reported here:
11473 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
11474 Diagnosis and draft fix reported by Assaf Gordon here:
11475 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
11476 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
11477 * posix/regex_internal.c (build_wcs_upper_buffer):
11478 Fix bug when mbrtowc returns 0.
11480 2018-08-24 Carlos O'Donell <carlos@redhat.com>
11482 * po/be.po: Update translation.
11484 2018-08-24 DJ Delorie <dj@delorie.com>
11486 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
11489 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11492 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
11493 create temporary files in source tree.
11495 2018-08-24 Joseph Myers <joseph@codesourcery.com>
11497 * sysdeps/generic/math-tests-trap.h: New file.
11498 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
11499 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
11500 * sysdeps/aarch64/math-tests.h: Remove file.
11501 * sysdeps/arm/math-tests.h: Likewise.
11502 * sysdeps/riscv/math-tests.h: Likewise.
11503 * sysdeps/aarch64/math-tests-trap.h: New file.
11504 * sysdeps/arm/math-tests-trap.h: Likewise.
11505 * sysdeps/riscv/math-tests-trap.h: Likewise.
11507 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
11509 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
11510 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
11511 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
11512 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
11513 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
11514 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
11515 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11516 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
11517 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
11518 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11519 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11520 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11521 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11522 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
11523 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
11524 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
11525 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11526 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11528 2018-08-23 Joseph Myers <joseph@codesourcery.com>
11530 * sysdeps/generic/math-tests-exceptions.h: New file.
11531 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
11532 (EXCEPTION_TESTS_float): Do not define here.
11533 (EXCEPTION_TESTS_double): Likewise.
11534 (EXCEPTION_TESTS_long_double): Likewise.
11535 (EXCEPTION_TESTS_float128): Likewise.
11536 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
11538 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
11539 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
11540 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
11541 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
11542 * sysdeps/mips/math-tests.h: Likewise.
11543 * sysdeps/nios2/math-tests.h: Likewise.
11544 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11545 (EXCEPTION_TESTS_float): Do not define here.
11546 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
11547 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
11548 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
11550 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11552 * NEWS: Move optimized sinf entry to 2.29.
11554 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11556 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
11558 2018-08-22 DJ Delorie <dj@redhat.com>
11560 * Makefile (testroot.pristine): New rules to initialize the
11561 test-in-container "testroot".
11562 * Makerules (all-testsuite): Add tests-container.
11563 * Rules (tests-expected): Add tests-container.
11564 (binaries-all-tests): Likewise.
11565 (tests-container): New, run these tests in the testroot container.
11566 * support/Makefile (others): Add *-container, support_paths.c,
11567 xmkdirp, and links-dso-program.
11568 * support/links-dso-program-c.c: New.
11569 * support/links-dso-program.cc: New.
11570 * support/test-container.c: New.
11571 * support/shell-container.c: New.
11572 * support/echo-container.c: New.
11573 * support/true-container.c: New.
11574 * support/xmkdirp.c: New.
11575 * support/xsymlink.c: New.
11576 * support/support_paths.c: New.
11577 * support/support.h: Add support paths prototypes.
11578 * support/xunistd.h: Add xmkdirp () and xsymlink ().
11580 * nss/tst-nss-test3.c: Convert to test-in-container.
11581 * nss/tst-nss-test3.root/: New.
11583 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
11585 regex: port Gnulib code to z/OS POSIX environment
11586 Problem reported by Arnold Robbins in:
11587 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
11588 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
11591 2018-08-22 Joseph Myers <joseph@codesourcery.com>
11593 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
11594 (ROUNDING_TESTS_double): Remove.
11595 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
11596 (ROUNDING_TESTS_double): Remove.
11597 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
11598 (ROUNDING_TESTS_double): Remove.
11599 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
11600 (ROUNDING_TESTS_float): Remove.
11601 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
11602 (ROUNDING_TESTS_float): Remove.
11603 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
11604 (ROUNDING_TESTS_float): Remove.
11605 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
11606 !TEST_MATHVEC here.
11607 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11608 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11610 * sysdeps/generic/math-tests-rounding.h: New file.
11611 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
11612 (ROUNDING_TESTS_float): Do not define here.
11613 (ROUNDING_TESTS_double): Likewise.
11614 (ROUNDING_TESTS_long_double): Likewise.
11615 (ROUNDING_TESTS_float128): Likewise.
11616 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
11617 (ROUNDING_TESTS_double): Undefine before defining.
11618 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
11619 (ROUNDING_TESTS_double): Undefine before defining.
11620 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
11621 (ROUNDING_TESTS_double): Undefine before defining.
11622 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
11623 (ROUNDING_TESTS_float): Undefine before defining.
11624 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
11625 (ROUNDING_TESTS_float): Undefine before defining.
11626 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
11627 (ROUNDING_TESTS_float): Undefine before defining.
11628 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
11629 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
11631 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
11632 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
11633 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
11634 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11635 (ROUNDING_TESTS_float): Do not define here.
11636 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
11637 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
11638 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
11639 (ROUNDING_TESTS_float): Likewise.
11640 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
11641 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
11642 * sysdeps/mips/math-tests.h [__mips_soft_float]
11643 (ROUNDING_TESTS_float): Likewise.
11644 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
11645 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
11646 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
11647 (ROUNDING_TESTS_double): Likewise.
11648 (ROUNDING_TESTS_long_double): Likewise.
11650 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
11652 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
11653 (PF_XDP): New macro.
11654 (AF_XDP): New macro.
11655 (SOL_XDP): New macro.
11657 2018-08-21 Joseph Myers <joseph@codesourcery.com>
11659 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
11660 (TCP_INQ): Likewise.
11661 (TCP_CM_INQ): Likewise.
11662 (TCP_REPAIR_ON): Likewise.
11663 (TCP_REPAIR_OFF): Likewise.
11664 (TCP_REPAIR_OFF_NO_WP): Likewise.
11665 (struct tcp_zerocopy_receive): New type.
11667 2018-08-21 Florian Weimer <fweimer@redhat.com>
11669 * support/support.h (support_descriptor_supports_holes): Declare.
11670 * support/Makefile (libsupport-routines): Add
11671 support_descriptor_supports_holes.
11672 * support/support_descriptor_supports_holes.c: New file.
11673 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
11674 and stop testing if holes are not supported.
11675 * io/test-lfs.c (do_prepare): Likewise.
11676 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
11678 * timezone/tst-tzset.c (create_tz_file): Likewise.
11679 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
11681 (do_prepare): Set it.
11682 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
11684 2018-08-21 Florian Weimer <fweimer@redhat.com>
11687 * Makeconfig (+cflags): Do not sort (and deduplicate).
11689 2018-08-21 Florian Weimer <fweimer@redhat.com>
11691 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
11692 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
11694 2018-08-20 Florian Weimer <fweimer@redhat.com>
11696 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
11697 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
11699 2018-08-20 Joseph Myers <joseph@codesourcery.com>
11701 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
11702 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
11703 and ssi_arch members.
11705 * elf/elf.c (NT_VMCOREDD): New macro.
11706 (AT_MINSIGSTKSZ): Likewise.
11708 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11710 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11711 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
11712 s_cosf-ppc64 and s_cosf-power8.
11713 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
11714 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11715 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11716 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
11718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
11719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
11720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
11721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11723 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
11724 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11726 2018-08-17 Florian Weimer <fweimer@redhat.com>
11728 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11730 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
11732 * malloc/malloc.c (_int_malloc): Additional binning code checks.
11734 2018-08-16 Florian Weimer <fweimer@redhat.com>
11736 * configure.ac: Add --with-nonshared-cflags option.
11737 * config.make.in (extra-nonshared-cflags): Set variable.
11738 * Makeconfig (CFLAGS-.oS): Use it.
11739 * manual/install.texi (Configuring and compiling): Document
11740 --with-nonshared-cflags.
11741 * configure: Regenerate.
11742 * INSTALL: Likewise.
11744 2018-08-16 Florian Weimer <fweimer@redhat.com>
11746 * Makeconfig (ASFLAGS): Always append required assembler flags.
11748 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
11750 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
11751 (malloc_consolidate): Likewise.
11753 2018-08-16 Pochang Chen <johnchen902@gmail.com>
11755 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
11757 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
11759 * benchtests/bench-strlen.c (do_test): Allocate buffers before
11762 * benchtests/bench-strlen.c: Print performance numbers in json.
11764 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11766 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11767 (sysdep_routines): Build strcmp-power9 and strncmp-power9
11768 only for little endian.
11769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11770 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
11771 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
11772 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
11773 Add check for little endian.
11774 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11775 (__strcmp_power9): Add check for little endian.
11776 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
11777 Add check for little endian.
11778 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11779 (__strncmp_power9): Add check for little endian.
11780 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
11781 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
11782 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
11783 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
11784 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
11786 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
11788 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
11789 [!STRLEN](STRLEN): Set to __strlen.
11790 * sysdeps/aarch64/multiarch/strlen.c: New file.
11791 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
11792 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
11793 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
11794 (__libc_ifunc_impl_list): Add strlen.
11795 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
11796 strlen_generic and strlen_asimd.
11798 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11800 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
11801 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
11802 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11804 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11806 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
11808 2018-08-14 Florian Weimer <fweimer@redhat.com>
11811 * include/stdio.h (__vfxprintf): Declare.
11812 * stdio-common/fxprintf.c (__vfxprintf): New function.
11813 (__fxprintf): Call it.
11814 * misc/err.c (convert_and_print): Remove function.
11815 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
11816 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
11817 * misc/Makefile (tests): Add tst-warn-wide.
11818 * misc/tst-warn-wide.c: New file.
11820 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
11821 Szabolcs Nagy <szabolcs.nagy@arm.com>
11823 * NEWS: Mention sinf, cosf, sincosf.
11824 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
11825 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
11826 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
11827 constants rather than including generic sincosf.h.
11828 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
11829 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
11830 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
11831 (reduced_cos): Remove.
11832 (sinf_poly): New function.
11833 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
11835 2018-08-14 Florian Weimer <fweimer@redhat.com>
11839 * nss/nss_files/files-alias.c (get_next_alias): During :include:
11840 processing, bail out if no room, and close the stream before
11842 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
11843 (tst-nss-files-alias-leak): Link with libdl.
11844 (tst-nss-files-alias-leak.out): Depend on nss_files.
11846 * nss/tst-nss-files-alias-leak.c: New file.
11848 2018-08-14 Florian Weimer <fweimer@redhat.com>
11850 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
11851 server_user, stat_user.
11853 2018-08-13 Joseph Myers <joseph@codesourcery.com>
11855 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11857 (io_pgetevents): New syscall.
11860 * manual/install.texi (Configuring and compiling): Do not list
11861 tools used for testing pretty printers here.
11862 (Tools for Compilation): List Python, PExpect and GDB here.
11863 Update descriptions of uses of Perl and Python.
11864 * INSTALL: Regenerate.
11866 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11869 2018-08-13 Florian Weimer <fweimer@redhat.com>
11871 * misc/error.c (error): Add missing va_end call.
11872 (error_at_line): Likewise.
11874 2018-08-13 Florian Weimer <fweimer@redhat.com>
11876 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
11878 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11880 * benchtests/scripts/benchout.schema.json (properties): Add
11883 * benchtests/bench-skeleton.c (main): Add duration and
11884 iterations attributes.
11886 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
11888 regex: Gnulib unibyte RRI uses bytes not chars
11889 Adjust the non-glibc code to agree with what Gawk needs for
11890 rational range interpretation (RRI) for regular expression ranges.
11891 In unibyte locales, Gawk wants ranges to use the underlying byte
11892 rather than the character code point. This change does not affect
11894 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
11895 In unibyte locales, use the byte value rather than
11896 running it through btowc.
11898 2018-08-10 Joseph Myers <joseph@codesourcery.com>
11900 * sysdeps/generic/math-tests-snan.h: New file.
11901 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
11902 (SNAN_TESTS_float): Do not define here.
11903 (SNAN_TESTS_double): Likewise.
11904 (SNAN_TESTS_long_double): Likewise.
11905 (SNAN_TESTS_float128): Likewise.
11906 * sysdeps/i386/fpu/math-tests-snan.h: New file.
11907 * sysdeps/i386/fpu/math-tests.h: Remove file.
11908 * sysdeps/ia64/math-tests-snan.h: New file.
11909 * sysdeps/ia64/math-tests.h: Remove file.
11910 * sysdeps/x86/math-tests.h: Likewise.
11911 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
11913 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11914 Szabolcs Nagy <szabolcs.nagy@arm.com>
11916 * math/Makefile: Add s_sincosf_data.c.
11917 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
11918 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
11919 (sincosf_poly): Likewise.
11920 (reduce_small): Likewise.
11921 (reduce_large): Likewise.
11922 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
11923 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
11924 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
11925 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
11927 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11928 Szabolcs Nagy <szabolcs.nagy@arm.com>
11930 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
11931 (converttoint): Use lround.
11932 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
11933 document the semantics when TOINT_INTRINSICS is set.
11934 (converttoint): Likewise.
11935 (TOINT_RINT): Remove.
11936 (TOINT_SHIFT): Remove.
11937 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
11940 2018-08-10 Florian Weimer <fweimer@redhat.com>
11943 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
11945 (__old_getdents64): Use getdents64. Convert entries without
11947 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
11948 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
11949 tst-readdir64-compat.
11951 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11953 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
11956 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11958 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
11959 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
11960 code to s390x-mcount.h and #include it.
11961 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
11962 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11965 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11967 * stdlib/Versions: Remove __fentry__.
11968 * sysdeps/i386/Versions: Add __fentry__.
11969 * sysdeps/x86_64/Versions: Add __fentry__.
11971 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11973 * sysdeps/s390/Makefile: Register the new tests.
11974 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
11975 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
11976 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
11977 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
11978 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
11979 * sysdeps/s390/tst-dl-runtime.c: New file.
11981 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11983 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11986 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11988 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11991 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11993 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11996 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11998 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12001 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12003 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12004 Use symbolic offsets for stack variables.
12006 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12008 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
12009 Use symbolic offsets for stack variables.
12011 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12013 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12014 Use symbolic offsets for stack variables.
12016 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12018 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12019 Use symbolic offsets for stack variables.
12021 2018-08-09 Joseph Myers <joseph@codesourcery.com>
12023 * math/gen-libm-test.py: New file.
12024 * math/gen-libm-test.pl: Remove.
12025 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
12026 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
12028 ($(libm-test-c-noauto-obj)): Likewise.
12029 ($(libm-test-c-auto-obj)): Likewise.
12030 ($(libm-test-c-narrow-obj)): Likewise.
12031 (regen-ulps): Likewise.
12032 * math/README.libm-test: Update references to gen-libm-test.pl.
12033 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
12034 referencing gen-libm-test.pl.
12035 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
12036 * math/libm-test-support.c: Likewise.
12037 * math/libm-test-support.h: Likewise.
12038 * sysdeps/generic/libm-test-ulps: Likewise.
12040 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
12042 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
12045 2018-08-08 Joseph Myers <joseph@codesourcery.com>
12047 * math/libm-test-nextdown.inc (do_test): Move comment to ....
12048 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
12050 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
12052 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
12054 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
12055 __pthread_setspecific): Add hidden proto.
12056 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
12057 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
12059 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12061 * benchtests/bench-string.h (buf1_size, buf2_size): New
12063 (init_sizes): New function.
12064 (test_init): Use it.
12065 (alloc_buf, exit_error): New functions.
12066 (alloc_bufs): Use ALLOC_BUF.
12067 (realloc_bufs): Remove.
12068 * benchtests/bench-memcmp.c (do_test): Adjust.
12069 * benchtests/bench-memset-large.c (do_test): Likewise.
12070 * benchtests/bench-memset-walk.c (do_test): Likewise.
12071 * benchtests/bench-memset.c (do_test): Likewise.
12072 * benchtests/bench-strncmp.c (do_test): Likewise.
12074 2018-08-06 Andreas Schwab <schwab@suse.de>
12076 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
12077 of CONST_THREAD_AREA.
12079 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
12081 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
12082 (STATE_SAVE_MASK): Likewise.
12083 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
12084 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
12085 (STATE_SAVE_MASK): Likewise.
12086 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
12087 instead of <cpu-features.h>.
12089 2018-08-03 DJ Delorie <dj@redhat.com>
12091 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
12092 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
12094 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
12096 2018-08-03 Joseph Myers <joseph@codesourcery.com>
12098 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
12099 after TEST_* calls.
12100 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
12101 * math/libm-test-logb.inc (logb_test_data): Likewise.
12103 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
12105 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
12106 * string/strstr.c (AVAILABLE): Likewise.
12108 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12110 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
12112 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
12113 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
12114 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
12116 2018-08-03 Carlos O'Donell <carlos@redhat.com>
12118 * po/be.po: Update translation.
12120 * po/be.po: Update translation.
12122 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12124 * sysdeps/x86/cpu-features-offsets.sym
12125 (rtld_global_ro_offsetof): Removed.
12126 (CPU_FEATURES_SIZE): Likewise.
12127 (CPUID_OFFSET): Likewise.
12128 (CPUID_SIZE): Likewise.
12129 (CPUID_EAX_OFFSET): Likewise.
12130 (CPUID_EBX_OFFSET): Likewise.
12131 (CPUID_ECX_OFFSET): Likewise.
12132 (CPUID_EDX_OFFSET): Likewise.
12133 (FAMILY_OFFSET): Likewise.
12134 (MODEL_OFFSET): Likewise.
12135 (FEATURE_OFFSET): Likewise.
12136 (FEATURE_SIZ): Likewise.
12137 (COMMON_CPUID_INDEX_1): Likewise.
12138 (COMMON_CPUID_INDEX_7): Likewise.
12139 (FEATURE_INDEX_1): Likewise.
12140 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
12142 2018-08-02 Carlos O'Donell <carlos@redhat.com>
12144 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
12145 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
12146 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
12147 (install-locales): Depend on install-locale-archive.
12148 (install-locale-archive): Define.
12149 (install-locale-files): Define.
12150 (build-one-locale): Define macro.
12151 * manual/install.texi (Running make install): Document.
12152 * manual/INSTALL: Regenerate.
12154 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
12156 * benchtests/scripts/compare_strings.py: Import traceback.
12157 (parse_file): Pretty-print error.
12159 * NEWS: Mention the change.
12160 * elf/dl-tunables.list: Rename tune namespace to cpu.
12161 * sysdeps/powerpc/dl-tunables.list: Likewise.
12162 * sysdeps/x86/dl-tunables.list: Likewise.
12163 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
12165 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
12166 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
12167 * manual/README.tunables: Likewise.
12168 * manual/tunables.texi: Likewise.
12169 * sysdeps/powerpc/cpu-features.c: Likewise.
12170 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
12171 (init_cpu_features): Likewise.
12172 * sysdeps/x86/cpu-features.c: Likewise.
12173 * sysdeps/x86/cpu-features.h: Likewise.
12174 * sysdeps/x86/cpu-tunables.c: Likewise.
12175 * sysdeps/x86_64/Makefile: Likewise.
12176 * sysdeps/x86/dl-cet.c: Likewise.
12178 2018-08-02 Joseph Myers <joseph@codesourcery.com>
12181 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
12182 [__mips_hard_float].
12183 (FE_UNDERFLOW): Likewise.
12184 (FE_OVERFLOW): Likewise.
12185 (FE_DIVBYZERO): Likewise.
12186 (FE_INVALID): Likewise.
12187 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
12188 (FE_TOWARDZERO): Define only if [__mips_hard_float].
12189 (FE_UPWARD): Likewise.
12190 (FE_DOWNWARD): Likewise.
12191 (__FE_UNDEFINED): Define if [!__mips_hard_float]
12192 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
12193 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
12194 [__mips_hard_float].
12195 (FP_ROUNDMODE): Likewise.
12196 (FP_RND_NEAREST): Likewise.
12197 (FP_RND_ZERO): Likewise.
12198 (FP_RND_PINF): Likewise.
12199 (FP_RND_MINF): Likewise.
12200 (FP_EX_INVALID): Likewise.
12201 (FP_EX_OVERFLOW): Likewise.
12202 (FP_EX_UNDERFLOW): Likewise.
12203 (FP_EX_DIVZERO): Likewise.
12204 (FP_EX_INEXACT): Likewise.
12205 (FP_INIT_ROUNDMODE): Likewise.
12206 * sysdeps/mips/nofpu/fesetenv.c: New file.
12207 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
12209 2018-08-01 Joseph Myers <joseph@codesourcery.com>
12211 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
12212 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
12213 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
12214 conditional on [FE_UPWARD].
12216 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
12218 regex: fix memory leak in Gnulib
12219 Problem and fix reported by Assaf Gordon in:
12220 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
12221 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
12222 range_ends members too, as they are defined in 'struct
12223 re_charset_t' even if not _LIBC. This affects only Gnulib.
12225 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
12227 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
12229 (get_common_indices): This.
12230 (init_cpu_features): Updated.
12232 2018-08-01 Joseph Myers <joseph@codesourcery.com>
12234 * sysdeps/generic/math-tests-snan-payload.h: New file.
12235 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
12236 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
12237 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
12238 * sysdeps/generic/math-tests.h: Include
12239 <math-tests-snan-payload.h>.
12240 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12241 * sysdeps/hppa/math-tests.h: Remove file.
12242 * sysdeps/mips/math-tests.h [!__mips_nan2008]
12243 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12244 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
12247 * sysdeps/generic/math-tests-snan-cast.h: New file.
12248 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
12249 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
12250 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
12251 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
12253 2018-08-01 Carlos O'Donel <carlos@redhat.com>
12255 * version.h (RELEASE): Set to "development".
12256 (VERSION): Set to "2.28.9000".
12257 * NEWS (2.29): New section.
12259 * version.h (RELEASE): Set to "stable".
12260 (VERSION): Set to "2.28".
12261 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
12262 * NEWS: Add the list of bugs fixed in 2.28.
12264 * po/ca.po: Update to latest version.
12265 * po/cs.po: Likewise
12266 * po/da.po: Likewise
12267 * po/el.po: Likewise
12268 * po/eo.po: Likewise
12269 * po/es.po: Likewise
12270 * po/fi.po: Likewise
12271 * po/fr.po: Likewise
12272 * po/gl.po: Likewise
12273 * po/hu.po: Likewise
12274 * po/ia.po: Likewise
12275 * po/id.po: Likewise
12276 * po/it.po: Likewise
12277 * po/ja.po: Likewise
12278 * po/ko.po: Likewise
12279 * po/lt.po: Likewise
12280 * po/nb.po: Likewise
12281 * po/nl.po: Likewise
12282 * po/pt_BR.po: Likewise
12283 * po/ru.po: Likewise
12284 * po/rw.po: Likewise
12285 * po/sk.po: Likewise
12286 * po/sl.po: Likewise
12287 * po/tr.po: Likewise
12288 * po/zh_CN.po: Likewise
12289 * po/zh_TW.po: Likewise
12291 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12293 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
12295 (init): ... before initializing libpthread.
12297 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
12298 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
12299 (__mach_setup_tls): ... new function.
12300 (mach_setup_tls): New alias.
12301 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
12302 __mach_setup_thread.
12303 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
12304 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
12305 * mach/Versions [libc] (mach_setup_tls): Add symbol.
12306 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
12308 2018-07-31 Carlos O'Donell <carlos@redhat.com>
12310 * manual/install.texi: Update versions.
12311 * INSTALL: Regenerate.
12313 * manual/contrib.texi (Contributors): Update contributions.
12315 2018-07-31 Carlos O'Donell <carlos@redhat.com>
12317 * po/be.po: Update translations.
12319 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12321 * sysdeps/sh/libm-test-ulps: Update.
12323 2018-07-30 Carlos O'Donell <carlos@redhat.com>
12325 * po/bg.po: Update translations.
12326 * po/de.po: Likewise.
12327 * po/hr.po: Likewise.
12328 * po/pt_BR.po: Likewise.
12329 * po/sv.po: Likewise.
12330 * po/vi.po: Likewise.
12332 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12335 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12336 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
12337 (CFLAGS-tst-cet-property-1.o): New.
12338 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
12339 ($(objpfx)tst-cet-property-2): Likewise.
12340 ($(objpfx)tst-cet-property-2.out): Likewise.
12341 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
12342 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
12343 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
12344 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
12345 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
12347 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12350 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
12352 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12354 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
12355 __sbrk): Do not set attribute_hidden.
12356 * sysdeps/mach/hurd/not-errno.h: New file.
12357 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12358 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
12360 2018-07-27 Carlos O'Donell <carlos@redhat.com>
12362 * po/uk.po: Update translations.
12363 * po/cs.po: Likewise.
12364 * po/pl.po: Likewise.
12366 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
12368 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
12369 parse beyond the note end.
12371 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12373 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
12374 kernel does not support OFD locks.
12375 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
12377 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12379 * sysdeps/mach/hurd/Versions (libc): Make __access and
12380 __access_noerrno external so they can override the ld symbols.
12381 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
12382 __writev, __open64, __access_noerrno extern so they can be overrided.
12383 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
12384 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12386 2018-07-26 Carlos O'Donell <carlos@redhat.com>
12388 * po/libc.pot: Regenerate.
12390 2018-07-26 Joseph Myers <joseph@codesourcery.com>
12392 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
12394 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12397 * sysdeps/x86/cpu-features.c (get_extended_indices): New
12399 (init_cpu_features): Call get_extended_indices for both Intel
12401 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
12402 Remove "for AMD" comment.
12404 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12407 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
12408 COMMON_CPUID_INDEX_80000001.
12410 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
12412 * string/tst-xbzero-opt.c (use_test_buffer): New function.
12413 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
12415 2018-07-26 Florian Weimer <fweimer@redhat.com>
12417 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
12418 aliases for symbols not in the implementation namespace.
12420 2018-07-25 Carlos O'Donell <carlos@redhat.com>
12423 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
12424 lowercase in LATIN script.
12425 * localedata/Makefile (test-input): Add en_US.UTF-8.
12426 * localedata/en_US.UTF-8.in: New file.
12427 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
12428 and restore old tests.
12429 * posix/tst-regexloc.c (do_test): Add back range expression test.
12431 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12433 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
12435 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12437 * nptl/threads.h: Move to ...
12438 * sysdeps/nptl/threads.h: ... here.
12439 * sysdeps/hurd/stdc-predef.h: New file.
12441 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12443 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12444 tst-cet-setcontext-1 if CET is enabled.
12445 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
12446 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
12448 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12450 * include/threads.h: Move to ...
12451 * sysdeps/nptl/threads.h: ... here.
12452 * sysdeps/htl/threads.h: New file.
12453 * conform/Makefile (linknamespace-libs-ISO11): Use
12454 static-thread-library instead of linking libpthread.
12455 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
12457 2018-07-25 Florian Weimer <fweimer@redhat.com>
12459 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
12460 nanoseconds into seconds.
12461 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
12462 (do_test): Likewise.
12463 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
12464 (do_test): Likewise. Avoid nanosecond overflow and spurious
12465 timeouts due to system load.
12466 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
12467 (child_wait): Increment it.
12468 (do_test): Wait as long as necessary until all expected threads
12471 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
12472 H.J. Lu <hongjiu.lu@intel.com>
12474 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
12476 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
12477 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
12478 (__push___start_context): New.
12479 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
12481 (__getcontext): Record the current shadow stack base. Save the
12482 caller's shadow stack pointer and base.
12483 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
12484 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
12485 (__push___start_context): New prototype.
12486 (__makecontext): Call __push___start_context to allocate a new
12487 shadow stack, push __start_context onto the new stack as well
12488 as the new shadow stack.
12489 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
12491 (__setcontext): Restore the target shadow stack.
12492 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
12494 (__swapcontext): Record the current shadow stack base. Save
12495 the caller's shadow stack pointer and base. Restore the target
12497 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12498 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
12499 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
12501 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12503 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
12504 tst-setcontext8 and tst-setcontext9.
12505 * stdlib/tst-setcontext6.c: New file.
12506 * stdlib/tst-setcontext7.c: Likewise.
12507 * stdlib/tst-setcontext8.c: Likewise.
12508 * stdlib/tst-setcontext9.c: Likewise.
12510 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12512 * stdlib/Makefile ((tests): Add tst-setcontext5.
12513 * stdlib/tst-setcontext5.c: New file.
12515 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12517 * stdlib/Makefile (tests): Add tst-setcontext4.
12518 * stdlib/tst-setcontext4.c: New file.
12520 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12522 * stdlib/Makefile (tests): Add tst-swapcontext1.
12523 * stdlib/tst-swapcontext1.c: New test.
12525 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12527 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
12528 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
12529 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
12530 and tst-cet-legacy-4c.
12531 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
12532 and tst-cet-legacy-mod-4.
12533 (CFLAGS-tst-cet-legacy-2.c): New.
12534 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
12535 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
12536 (CFLAGS-tst-cet-legacy-3.c): Likewise.
12537 (CFLAGS-tst-cet-legacy-4.c): Likewise.
12538 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
12539 ($(objpfx)tst-cet-legacy-1): Likewise.
12540 ($(objpfx)tst-cet-legacy-2): Likewise.
12541 ($(objpfx)tst-cet-legacy-2.out): Likewise.
12542 ($(objpfx)tst-cet-legacy-2a): Likewise.
12543 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
12544 ($(objpfx)tst-cet-legacy-4): Likewise.
12545 ($(objpfx)tst-cet-legacy-4.out): Likewise.
12546 ($(objpfx)tst-cet-legacy-4a): Likewise.
12547 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
12548 (tst-cet-legacy-4a-ENV): Likewise.
12549 ($(objpfx)tst-cet-legacy-4b): Likewise.
12550 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
12551 (tst-cet-legacy-4b-ENV): Likewise.
12552 ($(objpfx)tst-cet-legacy-4c): Likewise.
12553 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
12554 (tst-cet-legacy-4c-ENV): Likewise.
12555 * sysdeps/x86/tst-cet-legacy-1.c: New file.
12556 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
12557 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
12558 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
12559 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
12560 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
12561 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
12562 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
12563 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
12564 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
12565 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
12567 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12569 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12570 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12572 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12573 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12576 2018-07-25 Andreas Schwab <schwab@suse.de>
12579 * locale/weightwc.h (findidx): Handle the case where usrc is a
12580 prefix of cp but one character too short.
12582 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12584 * NEWS: Add ISO C threads addition.
12586 2018-07-24 Florian Weimer <fweimer@redhat.com>
12588 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12589 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
12590 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
12593 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12595 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
12596 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
12597 <sys/prctl.h> and <asm/prctl.h>.
12598 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
12599 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
12601 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
12602 ARCH_CET_LEGACY_BITMAP.
12603 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
12604 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
12605 * sysdeps/x86/libc-start.c: Include <startup.h>.
12607 2018-07-24 Florian Weimer <fweimer@redhat.com>
12609 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
12610 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
12612 2018-07-24 Rical Jasan <rj@2c3t.io>
12613 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12614 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12617 * manual/debug.texi: Update adjacent chapter name.
12618 * manual/probes.texi: Likewise.
12619 * manual/threads.texi (ISO C Threads): New section.
12620 (POSIX Threads): Convert to a section.
12622 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12623 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12626 * nptl/Makefile (tests): Add new test files.
12627 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
12628 * nptl/tst-cnd-basic.c: Likewise.
12629 * nptl/tst-cnd-broadcast.c: Likewise.
12630 * nptl/tst-cnd-timedwait.c: Likewise.
12631 * nptl/tst-mtx-basic.c: Likewise.
12632 * nptl/tst-mtx-recursive.c: Likewise.
12633 * nptl/tst-mtx-timedlock.c: Likewise.
12634 * nptl/tst-mtx-trylock.c: Likewise.
12635 * nptl/tst-thrd-basic.c: Likewise.
12636 * nptl/tst-thrd-detach.c: Likewise.
12637 * nptl/tst-thrd-sleep.c: Likewise.
12638 * nptl/tst-tss-basic.c: Likewise.
12640 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12643 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12644 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
12646 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12647 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12648 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12649 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12650 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12651 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12652 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12653 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12654 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12655 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12656 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12657 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
12664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12665 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12666 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12667 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12668 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12669 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12670 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12671 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12672 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12673 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
12674 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
12675 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
12676 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
12677 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
12679 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12680 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12681 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12682 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12683 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12684 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12685 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12686 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12687 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12688 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12689 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12690 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12697 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12698 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12699 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12700 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12701 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12702 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12703 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12704 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12707 * conform/data/threads.h-data (thread_local): New macro.
12708 (TSS_DTOR_ITERATIONS): Likewise.
12710 (tss_dtor_t): Likewise.
12711 (tss_create): New function.
12712 (tss_get): Likewise.
12713 (tss_set): Likewise.
12714 (tss_delete): Likewise.
12715 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
12716 tss_get, and tss_set objects.
12717 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12718 * nptl/tss_create.c: New file.
12719 * nptl/tss_delete.c: Likewise.
12720 * nptl/tss_get.c: Likewise.
12721 * nptl/tss_set.c: Likewise.
12722 * sysdeps/nptl/threads.h (thread_local): New define.
12723 (TSS_DTOR_ITERATIONS): Likewise.
12724 (tss_t): New typedef.
12725 (tss_dtor_t): Likewise.
12726 (tss_create): New prototype.
12727 (tss_get): Likewise.
12728 (tss_set): Likewise.
12729 (tss_delete): Likewise.
12732 * conform/data/threads.h-data (cnd_t): New type.
12733 (cnd_init): New function.
12734 (cnd_signal): Likewise.
12735 (cnd_broadcast): Likewise.
12736 (cnd_wait): Likewise.
12737 (cnd_timedwait): Likewise.
12738 (cnd_destroy): Likewise.
12739 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
12740 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
12742 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12743 * nptl/cnd_broadcast.c: New file.
12744 * nptl/cnd_destroy.c: Likewise.
12745 * nptl/cnd_init.c: Likewise.
12746 * nptl/cnd_signal.c: Likewise.
12747 * nptl/cnd_timedwait.c: Likewise.
12748 * nptl/cnd_wait.c: Likewise.
12749 * sysdeps/nptl/threads.h (cnd_t): New type.
12750 (cnd_init): New prototype.
12751 (cnd_signa): Likewise.
12752 (cnd_broadcast): Likewise.
12753 (cnd_wait): Likewise.
12754 (cnd_timedwait): Likewise.
12755 (cnd_destroy): Likewise.
12758 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
12759 (once_flag): New type.
12760 (call_once): New function.
12761 * nptl/Makefile (libpthread-routines): Add call_once object.
12762 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
12763 * nptl/call_once.c: New file.
12764 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
12765 (once_flag): New type.
12766 (call_once): New prototype.
12769 * conform/data/threads.h-data (mtx_plain): New constant.
12770 (mtx_recursive): Likewise.
12771 (mtx_timed): Likewise.
12773 (mtx_init): New function.
12774 (mtx_lock): Likewise.
12775 (mtx_timedlock): Likewise.
12776 (mtx_trylock): Likewise.
12777 (mtx_unlock): Likewise.
12778 (mtx_destroy): Likewise.
12779 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
12780 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
12781 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
12782 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
12783 * nptl/mtx_destroy.c: New file.
12784 * nptl/mtx_init.c: Likewise.
12785 * nptl/mtx_lock.c: Likewise.
12786 * nptl/mtx_timedlock.c: Likewise.
12787 * nptl/mtx_trylock.c: Likewise.
12788 * nptl/mtx_unlock.c: Likewise.
12789 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
12790 (mtx_recursive): Likewise.
12791 (mtx_timed): Likewise.
12793 (mtx_init): New prototype.
12794 (mtx_lock): Likewise.
12795 (mtx_timedlock): Likewise.
12796 (mtx_trylock): Likewise.
12797 (mtx_unlock): Likewise.
12798 (mtx_destroy): Likewise.
12801 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
12802 (linknamespace-libs-ISO11): Add libpthread.a.
12803 * conform/data/threads.h-data: New file: add C11 thrd_* types and
12805 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
12806 * nptl/Makefile (headers): Add threads.h.
12807 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
12808 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
12810 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
12811 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
12812 thrd_join, thrd_sleep, and thrd_yield symbols.
12813 * nptl/descr.h (struct pthread): Add c11 field.
12814 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
12815 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
12816 routine with expected function prototype.
12817 (__pthread_create_2_1): Add C11 threads check based on attribute
12819 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
12820 * nptl/thrd_create.c: New file.
12821 * nptl/thrd_current.c: Likewise.
12822 * nptl/thrd_detach.c: Likewise.
12823 * nptl/thrd_equal.c: Likewise.
12824 * nptl/thrd_exit.c: Likewise.
12825 * nptl/thrd_join.c: Likewise.
12826 * nptl/thrd_priv.h: Likewise.
12827 * nptl/thrd_sleep.c: Likewise.
12828 * nptl/thrd_yield.c: Likewise.
12829 * include/threads.h: Likewise.
12831 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12833 * bits/indirect-return.h: New file.
12834 * misc/sys/cdefs.h (__glibc_has_attribute): New.
12835 * sysdeps/x86/bits/indirect-return.h: Likewise.
12836 * stdlib/Makefile (headers): Add bits/indirect-return.h.
12837 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
12838 (swapcontext): Add __INDIRECT_RETURN.
12839 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
12840 (prepare_test_buffer): Use it.
12842 2018-07-24 Andreas Schwab <schwab@suse.de>
12845 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
12846 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
12848 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12850 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
12851 Redefine if shadow stack is enabled.
12852 (SYSCALL_ERROR_LABEL): Likewise.
12853 (__vfork): Pop shadow stack and jump back to to caller directly
12854 when shadow stack is in use.
12855 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
12856 Redefine if shadow stack is enabled.
12857 (SYSCALL_ERROR_LABEL): Likewise.
12858 (__vfork): Pop shadow stack and jump back to to caller directly
12859 when shadow stack is in use.
12861 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12863 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
12866 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
12869 2018-07-20 Joseph Myers <joseph@codesourcery.com>
12871 * scripts/build-many-glibcs.py (Context.checkout): Default
12872 binutils version to 2.31 branch.
12874 2018-07-20 Zong Li <zong@andestech.com>
12876 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
12877 URL of gcc's tarball.
12879 2018-07-20 Florian Weimer <fweimer@redhat.com>
12882 * posix/regcomp.c (build_equiv_class): When comparing weights, do
12883 not compare an extra byte after the end of the weights.
12885 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12887 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
12889 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
12891 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
12892 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
12893 * scripts/check-execstack.awk: Consider `xfail' variable containing a
12894 list of libraries whose stack executability is expected.
12895 * elf/Makefile ($(objpfx)check-execstack.out): Pass
12896 $(check-execstack-xfail) to check-execstack.awk through `xfail'
12898 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
12899 libc.so libpthread.so.
12901 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
12903 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
12905 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
12907 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
12909 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
12911 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12913 * benchtests/scripts/compare_bench.py (__main__): use the argparse
12914 library to improve command line parsing.
12915 (__main__): make schema file as optional parameter (--schema),
12916 defaulting to benchtests/scripts/benchout.schema.json.
12917 (main): move out of the parsing stuff to __main_ and leave it
12918 only as caller of main comparison functions.
12920 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
12922 * NEWS: Add a note for Intel CET status.
12923 * manual/install.texi: Likewise.
12924 * INSTALL: Regenerated.
12926 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
12929 * localedata/locales/oc_FR (mon): Rename to...
12930 (alt_mon): This, then update October (typo fix).
12931 (mon): New content (genitive case, month names preceded by
12935 * localedata/locales/oc_FR (abday): Update all items.
12936 (day): Update Wednesday and Saturday (typo fixes).
12937 (abmon): Update all items, except May.
12938 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
12939 (LC_IDENTIFICATION): Bump the revision number and date.
12940 Keep the "category" entries in alphabetic order.
12941 (LC_ADDRESS): Remove no longer needed comment.
12942 (LC_COLLATE): Use “copy "ca_ES"”.
12943 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
12946 2018-07-18 Joseph Myers <joseph@codesourcery.com>
12948 * grp/tst_fgetgrent.c: Include <unistd.h>.
12949 (main): Use mkstemp instead of tmpnam.
12950 * io/test-utime.c (main): Likewise.
12951 * posix/annexc.c (macrofile): Change to modifiable array.
12952 (main): Remove macrofile here.
12953 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12955 (check_header): Do not remove macrofile here.
12956 * posix/bug-getopt1.c: Include <stdlib.h>.
12957 (do_test): Use mkstemp instead of tmpnam.
12958 * posix/bug-getopt2.c: Include <stdlib.h>.
12959 (do_test): Use mkstemp instead of tmpnam.
12960 * posix/bug-getopt3.c: Include <stdlib.h>.
12961 (do_test): Use mkstemp instead of tmpnam.
12962 * posix/bug-getopt4.c: Include <stdlib.h>.
12963 (do_test): Use mkstemp instead of tmpnam.
12964 * posix/bug-getopt5.c: Include <stdlib.h>.
12965 (do_test): Use mkstemp instead of tmpnam.
12966 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
12967 (main): Use mkstemp instead of tmpnam.
12968 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
12969 (main): Use mkstemp instead of tmpnam.
12970 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
12971 (main): use mkstemp instead of tmpnam.
12972 * stdlib/isomac.c (macrofile): Change to modifiable array.
12973 (main): Remove macrofile here.
12974 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12976 (check_header): Do not remove macrofile here.
12978 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12980 * manual/tunables.texi: Document glibc.tune.x86_ibt and
12981 glibc.tune.x86_shstk.
12983 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12985 * NEWS: Mention --enable-cet.
12986 * manual/install.texi: Document --enable-cet.
12987 * INSTALL: Regenerated.
12989 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12991 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
12992 Add _CET_NOTRACK before indirect jump to jump table.
12994 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12996 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
12997 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13000 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13002 * sysdeps/i386/i686/multiarch/strcat-sse2.S
13003 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13006 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13008 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
13009 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13012 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13014 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
13015 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13018 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13020 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
13021 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13023 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
13025 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13027 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
13028 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13031 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13033 * sysdeps/i386/i686/multiarch/memset-sse2.S
13034 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13037 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13039 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
13040 indirect jump to jump table.
13042 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13044 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
13045 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13047 (MEMCPY): Likewise.
13049 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13051 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
13052 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13054 (MEMCPY): Likewise.
13056 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13058 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13059 _CET_NOTRACK before indirect jump to jump table.
13061 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13063 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
13064 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13067 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13069 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
13070 indirect jump to jump table.
13072 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
13075 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
13076 (LOCALES): Likewise.
13077 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
13078 * localedata/locales/sah_RU: New file.
13079 * localedata/sah_RU.UTF-8.in: New file.
13081 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13083 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
13085 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13086 _CET_ENDBR to indirect jump targets and adjust jump destination
13088 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
13090 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13091 _CET_ENDBR to indirect jump targets and adjust jump destination
13093 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
13095 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
13096 _CET_ENDBR to indirect jump targets and adjust jump destination
13099 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13101 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13104 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13106 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
13108 (_dl_tlsdesc_undefweak): Likewise.
13109 (_dl_tlsdesc_dynamic): Likewise.
13110 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
13111 (_dl_tlsdesc_resolve_rel): Likewise.
13112 (_dl_tlsdesc_resolve_rela): Likewise.
13113 (_dl_tlsdesc_resolve_hold): Likewise.
13114 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
13115 (_dl_tlsdesc_undefweak): Likewise.
13116 (_dl_tlsdesc_dynamic): Likewise.
13117 (_dl_tlsdesc_resolve_rela): Likewise.
13118 (_dl_tlsdesc_resolve_hold): Likewise.
13120 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13122 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
13124 * sysdeps/x86_64/crti.S (_init): Likewise.
13127 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
13130 * localedata/locales/os_RU (mon): Rename to...
13132 (mon): Import from CLDR (genitive case).
13134 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13136 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
13137 cet-tunables.h> when CET is enabled.
13139 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
13142 * configure.ac: Add --enable-cet.
13143 * configure: Regenerated.
13144 * elf/Makefille (all-built-dso): Add a comment.
13145 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
13146 Include <dl-prop.h>.
13147 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
13149 * elf/dl-open.c: Include <dl-prop.h>.
13150 (dl_open_worker): Call _dl_open_check.
13151 * elf/rtld.c: Include <dl-prop.h>.
13152 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
13154 * sysdeps/generic/dl-prop.h: New file.
13155 * sysdeps/i386/dl-cet.c: Likewise.
13156 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
13157 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
13158 * sysdeps/x86/cet-tunables.h: Likewise.
13159 * sysdeps/x86/check-cet.awk: Likewise.
13160 * sysdeps/x86/configure: Likewise.
13161 * sysdeps/x86/configure.ac: Likewise.
13162 * sysdeps/x86/dl-cet.c: Likewise.
13163 * sysdeps/x86/dl-procruntime.c: Likewise.
13164 * sysdeps/x86/dl-prop.h: Likewise.
13165 * sysdeps/x86/libc-start.h: Likewise.
13166 * sysdeps/x86/link_map.h: Likewise.
13167 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
13169 (_dl_runtime_profile): Likewise.
13170 (_dl_runtime_resolve_shstk): New.
13171 (_dl_runtime_profile_shstk): Likewise.
13172 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
13174 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
13175 (CFLAGS-.os): Likewise.
13176 (CFLAGS-.op): Likewise.
13177 (CFLAGS-.oS): Likewise.
13178 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
13180 (tests-special): Add $(objpfx)check-cet.out.
13181 (cet-built-dso): New.
13182 (+$(cet-built-dso:=.note)): Likewise.
13183 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
13184 ($(objpfx)check-cet.out): New.
13185 (generated): Add check-cet.out.
13186 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
13188 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
13189 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13190 (init_cpu_features): Call get_cet_status to check CET status
13191 and update dl_x86_feature_1 with CET status. Call
13192 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
13193 (set_x86_shstk). Disable and lock CET in libc.a.
13194 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
13195 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
13196 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13197 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
13198 (_CET_ENDBR): Define if not defined.
13199 (ENTRY): Add _CET_ENDBR.
13200 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
13202 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
13204 (_dl_runtime_profile): Likewise.
13206 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
13209 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
13210 restore r2 on longjmp.
13211 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
13213 Added rules to build test tst-setjmp-bug21895-static.
13214 Added module setjmp-bug21895 and rules to build a shared object from it.
13215 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
13216 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
13218 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
13220 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
13221 * benchtests/bench-strstr.c: Likewise.
13222 * string/memmem.c (FASTSEARCH): Define.
13223 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
13224 Add support for FASTSEARCH.
13225 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
13226 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
13227 (FASTSEARCH): Define.
13228 * string/test-strcasestr.c: Rename __strnlen to strnlen.
13229 * string/test-strstr.c: Likewise.
13231 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
13233 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
13234 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
13236 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
13237 H.J. Lu <hongjiu.lu@intel.com>
13239 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
13240 (__longjmp): Restore shadow stack pointer if shadow stack is
13241 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13242 isn't defined for __longjmp_cancel.
13243 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
13244 (_setjmp): Save shadow stack pointer if shadow stack is enabled
13245 and SHADOW_STACK_POINTER_OFFSET is defined.
13246 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
13247 (setjmp): Save shadow stack pointer if shadow stack is enabled
13248 and SHADOW_STACK_POINTER_OFFSET is defined.
13249 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
13250 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13251 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13252 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
13254 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13255 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13256 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
13257 Remove jmp_buf-ssp.sym.
13258 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13260 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13261 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13262 * sysdeps/x86/Makefile (gen-as-const-headers): Add
13264 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
13265 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
13266 (__longjmp): Restore shadow stack pointer if shadow stack is
13267 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13268 isn't defined for __longjmp_cancel.
13269 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
13270 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13271 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13273 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
13276 * nptl/pthread_create.c: Include <tls-setup.h>.
13277 (__pthread_create_2_1): Call tls_setup_tcbhead.
13278 * sysdeps/generic/tls-setup.h: New file.
13279 * sysdeps/x86/nptl/tls-setup.h: Likewise.
13280 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13281 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
13283 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
13285 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13286 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
13287 (X86_FEATURE_1_SHSTK): Likewise.
13288 (CET_ENABLED): Likewise.
13289 (IBT_ENABLED): Likewise.
13290 (SHSTK_ENABLED): Likewise.
13292 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
13295 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
13296 (LOCALES): Likewise.
13297 * localedata/dsb_DE.UTF-8.in: New file.
13298 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
13300 2018-07-12 Florian Weimer <fweimer@redhat.com>
13302 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
13303 __mprotect, not mprotect.
13305 2018-07-11 Florian Weimer <fweimer@redhat.com>
13307 * io/Makefile (headers): Add bits/statx.h.
13309 2018-07-10 Mike FABIAN <mfabian@redhat.com>
13311 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
13312 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
13314 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
13315 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
13318 2018-07-10 Florian Weimer <fweimer@redhat.com>
13320 * io/Makefile (routines): Add statx.
13321 (tests-internal): Add tst-statx.
13322 * io/Versions (GLIBC_2.28): Export statx.
13323 * io/bits/statx.h: New file.
13324 * io/sys/stat.h [__USE_GNU]: Include it.
13325 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
13326 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
13328 * io/statx.c: New file.
13329 * io/statx_generic.: Likewise.
13330 * io/tst-statx.: Likewise.
13331 * include/bits/statx.h: Likewise.
13332 * sysdeps/unix/sysv/linux/kernel-features.h
13333 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
13334 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13335 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
13336 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
13338 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13339 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
13340 * sysdeps/unix/sysv/linux/statx.c: New file.
13341 * manual/filesys.texi: Note that statx is undocumented.
13342 * sysdeps/**/libc*.abilist: Update.
13344 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13346 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
13347 a kernel issue which lead to test failure in some cases.
13349 2018-07-10 Florian Weimer <fweimer@redhat.com>
13352 * posix/regexec.c (check_node_accept_bytes): When comparing
13353 weights, do not compare an extra byte after the end of the
13356 2018-07-10 Florian Weimer <fweimer@redhat.com>
13358 * libio/readline.c: Fix copyright year.
13359 * libio/tst-readline.c Likewise.
13360 * nss/tst-nss-files-hosts-getent.c: Likewise.
13362 2018-07-06 Florian Weimer <fweimer@redhat.com>
13365 * nss/nss_files/files-XXX.c (internal_getent): Use
13366 __libc_readline_unlocked. Seek back to the start of the line if
13367 parsing failes with ERANGE.
13368 (get_contents_ret, get_contents): Remove.
13369 * nss/tst-nss-files-hosts-getent.c: New file.
13370 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
13371 (tst-nss-files-hosts-getent): Link with -ldl.
13373 2018-07-06 Florian Weimer <fweimer@redhat.com>
13375 * include/stdio.h (__libc_readline_unlocked): Declare.
13376 (__ftello64, __fseeko64): Declare aliases.
13377 * libio/readline.c: New file.
13378 * libio/tst-readline.c: Likewise.
13379 (routines): Add readline.
13380 (tests-internal): Add tst-readlime.
13381 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
13382 __libc_readline_unlocked.
13383 * libio/fseeko.c (__fseeko): Rename from fseeko.
13384 (fseeko): Add alias.
13385 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
13386 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
13387 (fseeko64): Add alias.
13388 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
13389 * libio/ftello64.c (__ftello64): Rename from ftello64.
13390 (ftello64): Add alias.
13392 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13394 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
13397 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13399 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
13400 Use dl_hwcap without masking.
13401 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
13402 Remove HWCAP_CPUID.
13404 2018-07-06 Florian Weimer <fweimer@redhat.com>
13406 * conform/conformtest.pl (checknamespace): Escape literal braces
13407 in regular expressions.
13409 2018-07-06 Amit Pawar <amit.pawar@amd.com>
13411 * sysdeps/x86/cpu-features.c (get_common_indeces):
13412 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
13413 * sysdeps/x86/cpu-features.c (init_cpu_features):
13414 AVX_Fast_Unaligned_Load is disabled for Excavator core.
13416 2018-07-05 Florian Weimer <fweimer@redhat.com>
13418 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
13420 (CFLAGS-elf-init.oS): Likewise.
13422 2018-07-05 Florian Weimer <fweimer@redhat.com>
13423 Carlos O'Donell <carlos@redhat.com>
13425 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
13426 $(no-stack-protector). stack_chk_fail_local.c can be compiled
13427 with stack protector enabled because there is no risk of infinite
13430 2018-07-05 Maciej W. Rozycki <macro@mips.com>
13434 * libc-abis (ABSOLUTE): New ABI.
13435 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
13436 * NEWS: Mention the new ABI.
13438 2018-07-05 Florian Weimer <fweimer@redhat.com>
13441 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
13442 (RENAME_WHITEOUT): Define.
13443 [__USE_GNU] (renameat2): Declare.
13444 * stdio-common/Makefile (routines): Add renameat2.
13445 (tests): Add tst-renameat2.
13446 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
13447 * stdio-common/renameat2.c: New file.
13448 * stdio-common/tst-renameat2.c: Likewise.
13449 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
13450 * manual/filesys.texi (Temporary Files): Note that renameat2 is
13452 * sysdeps/unix/sysv/linux/kernel-features.h
13453 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
13454 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13455 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13456 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13457 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13458 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13459 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
13460 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13461 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
13462 * include/stdio.h (__renameat): Add alias for renameat.
13463 * stdio-common/renameat.c (__renameat): Rename from renameat.
13464 Add hidden definition and alias.
13465 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13466 * sysdeps/mach/hurd/renameat.c: Likewise.
13467 * sysdeps/**/libc*.abilist: Add renameat2.
13469 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13471 * posix/bug-regex33.c: Fix build after regex sync.
13473 2018-07-04 Carlos O'Donell <carlos@redhat.com>
13476 * localedata/tst-langinfo-setlocale.c: New file.
13477 * localedata/tst-langinfo-setlocale-static.c: New file.
13478 * localedata/tst-langinfo-newlocale.c: New file.
13479 * localedata/tst-langinfo-newlocale-static.c: New file.
13480 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
13481 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
13482 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
13483 (tests-static): Remove tst-langinfo-static. Add
13484 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
13485 (tests-special): Remove $(objpfx)tst-langinfo.out,
13486 $(objpfx)tst-langinfo-static.out. Add
13487 $(objpfx)tst-langinfo-setlocale.out,
13488 $(objpfx)tst-langinfo-newlocale.out,
13489 $(objpfx)tst-langinfo-setlocale-static.out,
13490 $(objpfx)tst-langinfo-newlocale-static.out.
13491 ($(objpfx)tst-langinfo.out): Remove.
13492 ($(objpfx)tst-langinfo-static.out): Remove.
13493 ($(objpfx)tst-langinfo-newlocale.out): New target.
13494 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
13495 (test-xfail-tst-langinfo-newlocale-static): Add.
13496 ($(objpfx)tst-langinfo-setlocale.out): New target.
13497 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
13498 * localedata/tst-langinfo.c: Call test_locale.
13499 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
13502 2018-07-04 Florian Weimer <fweimer@redhat.com>
13504 testrun.sh: Implement --tool=strace, --tool=valgrind
13505 * Makefile (testrun-script): Define variable.
13506 (testrun.sh): Use variable.
13507 * manual/install.texi (Tools for Compilation): make 4.0 or later
13509 * configure.ac: Check for make 4.0 or later.
13510 * INSTALL: Regenerate.
13511 * configure: Likewise.
13513 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13519 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
13520 * posix/PCRE.tests: Remove invalid test.
13521 * posix/bug-regex28.c: Fix expected values for used syntax.
13522 * posix/bug-regex37.c: New file.
13523 * posix/bug-regex38.c: Likewise.
13524 * posix/regcomp.c: Sync with gnulib.
13525 * posix/regex.c: Likewise.
13526 * posix/regex.h: Likewise.
13527 * posix/regex_internal.c: Likewise.
13528 * posix/regex_internal.h: Likewise.
13529 * posix/regexec.c: Likewise.
13531 2018-06-26 Mike FABIAN <mfabian@redhat.com>
13534 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
13535 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
13536 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
13537 * localedata/unicode-gen/PropList.txt: likewise.
13538 * localedata/unicode-gen/UnicodeData.txt: likewise.
13539 * localedata/charmaps/UTF-8: Regenerate.
13540 * localedata/locales/i18n_ctype: likewise.
13541 * localedata/locales/tr_TR: likewise.
13542 * localedata/locales/translit_circle: likewise.
13543 * localedata/locales/translit_cjk_compat: likewise.
13544 * localedata/locales/translit_combining: likewise.
13545 * localedata/locales/translit_compat: likewise.
13546 * localedata/locales/translit_font: likewise.
13547 * localedata/locales/translit_fraction: likewise.
13549 2018-07-03 Florian Weimer <fweimer@redhat.com>
13552 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
13553 * stdio-common/tst-printf.sh: Adjust expected output.
13554 * LICENSES: Update.
13556 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13558 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
13561 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13563 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
13564 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
13565 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
13566 * stdio-common/tst-printfsz-islongdouble.c: New file.
13567 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
13568 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
13569 [subdir == stdio-common] (routines): Add ieee128-printf_size.
13570 [subdir == stdio-common] (tests-internal): Add
13571 test-printf-size-ieee128, and test-printf-size-ibm128.
13572 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
13573 (CFLAGS-test-printf-size-ibm128.c): New variables.
13574 [subdir == stdio-common] (tests-special): Add
13575 $(objpfx)test-printf-size-ieee128.out and
13576 $(objpfx)test-printf-size-ibm128.out.
13577 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
13578 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
13579 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
13580 __printf_sizeieee128.
13581 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
13583 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
13585 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
13588 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13590 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
13591 (exp2f_inline): Likewise.
13592 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
13593 (__math_uflowf): Likewise.
13594 (__math_may_uflowf): Likewise.
13595 (__math_divzerof): Likewise.
13596 (__math_invalidf): Likewise.
13597 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
13598 (__math_oflowf): Likewise.
13599 (__math_uflowf): Likewise.
13600 (__math_may_uflowf): Likewise.
13601 (__math_divzerof): Likewise.
13602 (__math_invalidf): Likewise.
13604 2018-06-29 DJ Delorie <dj@redhat.com>
13605 Carlos O'Donell <carlos@redhat.com>
13608 * include/libc-symbols.h: Comment the freeres framework.
13609 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
13610 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
13611 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
13612 * dlfcn/dlerror.c: Include libc-symbols.h
13613 (__dlerror_main_freeres): New function.
13614 * dlfcn/dlfreeres.c: New file.
13615 * dlfcn/sdlfreeres.c: New file.
13616 * include/dlfcn.h: Declare __dlerror_main_freeres.
13617 * malloc/set-freeres.c: Declare __libdl_freeres, and
13618 __libpthread_freeres.
13619 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
13620 the releavant libraries are loaded.
13621 * malloc/thread-freeres.c: Add comments.
13622 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
13623 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
13624 * nptl/allocatestack.c (__nptl_free_stacks): New function.
13625 (__free_stacks): Rename to...
13626 (free_stacks): ...this. Mark static.
13627 (queue_stack): Call free_stacks.
13628 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
13629 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
13630 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
13631 ptr_freeres element from struct.
13632 (pthread_functions): Remove .ptr_freeres from struct initializer.
13633 [SHARED] (nptl_freeres): Remove.
13634 * nptl/nptlfreeres.c: New file.
13636 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
13637 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
13639 (__free_stacks): Rename to...
13640 (__nptl_stacks_freeres): ...this.
13641 (__shm_directory_freeres): Declare.
13642 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
13643 (__nptl_unwind_freeres): ...this.
13644 * resolv/res-close.c: Add comment.
13645 * resolv/resolv_conf.c: Include libc-symbols.h.
13646 * string/strerror_l.c: Include libc-symbols.h.
13647 * sunrpc/rpc_thread.c: Include libc-symbols.h.
13648 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
13649 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
13650 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
13652 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13654 * stdlib/tst-strfmon_l.c: Add tests for long double.
13656 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
13659 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
13660 * localedata/locales/dsb_DE: New file.
13662 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13665 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
13667 (alt_mon): New entry, import from CLDR (nominative case).
13669 2018-06-29 Sylvain Lesage <severo@rednegra.net>
13672 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
13674 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
13676 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13677 Use vector registers.
13679 * sysdeps/aarch64/multiarch/memmove_falkor.S
13680 (__memcpy_falkor): Use vector registers.
13682 2018-06-29 Martin Sebor <msebor@redhat.com>
13684 * manual/stdio.texi (Customizing Printf): Mention interaction
13685 with GCC built-ins.
13687 2018-06-29 Maciej W. Rozycki <macro@mips.com>
13690 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
13691 `st_value' is 0 if `st_shndx' is SHN_ABS.
13692 * elf/tst-absolute-zero.c: New file.
13693 * elf/tst-absolute-zero-lib.c: New file.
13694 * elf/tst-absolute-zero-lib.lds: New file.
13695 * elf/Makefile (tests): Add `tst-absolute-zero'.
13696 (modules-names): Add `tst-absolute-zero-lib'.
13697 (LDLIBS-tst-absolute-zero-lib.so): New variable.
13698 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
13699 ($(objpfx)tst-absolute-zero: New dependency.
13701 2018-06-29 Zack Weinberg <zackw@panix.com>
13703 * configure.ac: New command-line option --disable-crypt.
13704 Force --disable-nss-crypt when --disable-crypt is given, with a
13705 warning if it was explicitly enabled.
13706 * configure: Regenerate.
13707 * config.make.in: New boolean substitution variable $(build-crypt).
13708 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
13709 when $(build-crypt).
13710 * manual/install.texi: Document --disable-crypt.
13711 * INSTALL: Regenerate.
13713 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
13714 which is never set.
13715 * conform/Makefile: Only include libcrypt.a in
13716 linknamespace-libs-xsi and linknamespace-libs-XPG4
13717 when $(build-crypt).
13718 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
13719 USE_CRYPT to 1 when $(build-crypt).
13720 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
13721 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
13722 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
13724 2018-06-29 Zack Weinberg <zackw@panix.com>
13726 * crypt/crypt.h, posix/unistd.h: Update comments and
13727 prototypes for crypt and crypt_r.
13729 * manual/crypt.texi (Cryptographic Functions): New initial
13731 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
13732 (Unpredictable Bytes): Improve initial exposition. Clarify error
13733 behavior of getentropy and getrandom.
13734 * manual/examples/genpass.c: Generate a salt using getentropy
13735 instead of the current time. Use hash $5$ (SHA-2-256).
13736 * manual/examples/testpass.c: Demonstrate validation against
13737 hashes generated with three different one-way functions.
13739 * manual/intro.texi: crypt.texi does not need an overview
13742 * manual/nss.texi, manual/memory.texi, manual/socket.texi
13743 * manual/terminal.texi: Consistently refer to "passphrases"
13744 * instead of "passwords", and to the "user database" instead
13745 * of the "password database".
13746 * manual/users.texi: Similarly. Add notes about how actual
13747 passphrase hashes are now stored in the shadow database.
13748 Remove 20-year-old junk todo note.
13750 2018-06-29 Zack Weinberg <zackw@panix.com>
13752 * manual/crypt.texi: Use a normal top-level @node declaration.
13753 Move most of the introductory text to the 'crypt' section.
13754 Move the example programs below the @deftypefun for 'crypt_r'.
13755 Move the 'getpass' section...
13756 * manual/terminal.texi: ...here.
13758 2018-06-29 Zack Weinberg <zackw@panix.com>
13759 Florian Weimer <fweimer@redhat.com>
13761 * posix/unistd.h: Do not declare encrypt.
13762 (_XOPEN_CRYPT): Remove macro definition.
13763 (crypt): Declare only for _USE_MISC.
13764 * stdlib/stdlib.h: Do not declare setkey.
13765 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
13766 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
13768 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
13769 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
13770 into compat symbols. Don't define initial_perm if it's not
13772 * crypt/cert.c: Link explicitly with the expected versions for
13773 setkey and encrypt. If they are not available at all, mark
13774 the test as unsupported.
13776 * sunrpc/des_crypt.c: Unconditionally block linkage with
13777 cbc_crypt and ecb_crypt for new binaries.
13778 * sunrpc/des_soft.c: Unconditionally block linkage with
13779 des_setparity for new binaries.
13781 * manual/crypt.texi: Remove the entire "DES Encryption"
13782 section. Also remove the paragraph talking about FIPS 140-2
13783 from the introduction.
13784 * manual/string.texi (strfry, memfrob): Revise. Recommend use
13785 of libgcrypt for "real" encryption, not DES.
13786 * manual/conf.texi (Constants for Sysconf): Mention that
13787 _XOPEN_CRYPT is no longer impelemented.
13789 * conform/data/unistd.h-data: Remove crypt function declaration.
13791 2018-06-29 Florian Weimer <fweimer@redhat.com>
13794 * malloc/hooks.c: Update comments on restoring of dumped heaps.
13795 (disallow_malloc_check): Remove variable.
13796 (__malloc_check_init): Adjust.
13797 (malloc_set_state): Update comment.
13798 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
13801 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13804 * localedata/locales/ast_ES (mon): Rename to...
13806 (mon): Import from CLDR (genitive case).
13808 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
13809 Jakub Sitnicki <jkbs@redhat.com>
13812 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
13813 on NLM_F_DUMP_INTR.
13815 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
13817 * manual/llio.texi: Remove spurious space.
13819 2018-06-28 Florian Weimer <fweimer@redhat.com>
13822 * time/bits/types/struct_timespec.h: Change header inclusion guard to
13825 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13827 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
13828 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
13829 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
13830 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
13831 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
13832 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
13833 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
13835 2018-06-27 Maciej W. Rozycki <macro@mips.com>
13838 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
13839 Copy and null-terminate entries that are not terminated, in
13840 addition to empty ones.
13842 2018-06-27 Florian Weimer <fweimer@redhat.com>
13845 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
13846 (extend_alloca_account): Remove.
13847 * manual/stdio.texi (Variable Arguments Output): Update comment.
13849 2018-06-27 Joseph Myers <joseph@codesourcery.com>
13851 * nptl/sockperf.c: Remove file.
13853 2018-06-27 Florian Weimer <fweimer@redhat.com>
13856 * elf/dl-deps.c (_dl_map_object_deps): Use struct
13857 scratch_buffer instead of extend_alloca.
13859 2018-06-27 Florian Weimer <fweimer@redhat.com>
13862 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
13863 scratch_buffer instead of extend_alloca. Update comments.
13865 2018-06-27 Florian Weimer <fweimer@redhat.com>
13868 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
13869 instead of extend_alloca.
13871 2018-06-26 Joseph Myers <joseph@codesourcery.com>
13874 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
13875 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
13877 * scripts/test-installation.pl: Put temporary files in build
13878 directory, not /tmp.
13879 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
13880 (CFLAGS-bug4.c): Likewise.
13881 (CFLAGS-bug5.c): Likewise.
13882 (CFLAGS-test-fseek.c): Likewise.
13883 (CFLAGS-test-popen.c): Likewise.
13884 (CFLAGS-test_rdwr.c): Likewise.
13885 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
13887 * stdio-common/bug4.c (main): Likewise.
13888 * stdio-common/bug5.c (main): Likewise.
13889 * stdio-common/test-fseek.c (TESTFILE): Likewise.
13890 * stdio-common/test-popen.c (do_test): Likewise.
13891 * stdio-common/test_rdwr.c (main): Likewise.
13893 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
13895 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
13896 (sem_open): Set sem.newsem.pad to zero for valgrind.
13898 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13901 * NEWS: Mention fcntl64 addition.
13902 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
13903 * login/utmp_file.c: Likewise.
13904 * sysdeps/posix/fdopendir.c: Likewise.
13905 * sysdeps/posix/opendir.c: Likewise.
13906 * sysdeps/unix/pt-fcntl.c: Likewise.
13907 * include/fcntl.h (__libc_fcntl64, __fcntl64,
13908 __fcntl64_nocancel_adjusted): New prototype.
13909 (__fcntl_nocancel_adjusted): Remove prototype.
13910 * io/Makefile (routines): Add fcntl64.
13911 (CFLAGS-fcntl64.c): New rule.
13912 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
13913 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
13914 * io/fcntl.h (fcntl64): Add prototype and redirect if
13915 __USE_FILE_OFFSET64 is defined.
13916 * io/fcntl64.c: New file.
13917 * manual/llio.text: Add a note for which commands fcntl acts a
13918 cancellation point.
13919 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
13920 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
13921 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
13923 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
13924 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
13926 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
13927 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
13928 to __fcntl64_nocancel.
13929 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
13930 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
13931 to __fcntl64_nocancel.
13932 * sysdeps/generic/not-cancel.h: Likewise.
13933 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
13934 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
13935 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13936 (fcntl64): New symbol.
13937 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13938 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13939 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13942 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13943 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13944 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13945 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13946 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13947 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
13948 fcntl64): Likewise.
13949 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13950 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
13951 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13952 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13953 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13954 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13955 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13956 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13957 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13962 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13963 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13964 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13966 2018-06-26 Florian Weimer <fweimer@redhat.com>
13968 Run thread shutdown functions in an explicit order.
13969 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
13971 (__libc_thread_freeres): Call thread shutdown functions
13973 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
13974 * include/string.h (__strerror_thread_freeres): Declare.
13975 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
13976 arena_thread_freeres. No longer static. Remove thread shutdown
13978 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
13980 * resolv/res-close.c (__res_thread_freeres): Renamed from
13981 res_thread_freeres. No longer static. Remove thread shutdown
13983 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
13984 * resolv/resolv_conf.c (freeres): Remove incorrect section
13985 attribute and use libc_freeres_fn.
13986 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
13987 strerror_thread_freeres. No longer static. Remove thread
13988 shutdown hook registration.
13989 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
13990 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
13991 shutdown hook registration.
13992 * Makerules (shlib.lds): Do not provide section boundary symbols
13993 for __libc_thread_subfreeres.
13994 * manual/memory.texi (Basic Allocation): Update comment.
13996 2018-06-26 Florian Weimer <fweimer@redhat.com>
13998 Remove always-defined _RPC_THREAD_SAFE_ macro.
13999 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
14000 Do not define _RPC_THREAD_SAFE_.
14001 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
14003 * sunrpc/clnt_perr.c: Likewise.
14004 * sunrpc/clnt_raw.c: Likewise.
14005 * sunrpc/clnt_simp.c: Likewise.
14006 * sunrpc/key_call.c: Likewise.
14007 * sunrpc/rpc_common.c: Likewise.
14008 * sunrpc/rpc_main.c: Likewise.
14009 * sunrpc/rpc_thread.c: Likewise.
14010 * sunrpc/svc.c: Likewise.
14011 * sunrpc/svc_raw.c: Likewise.
14012 * sunrpc/svc_simple.c: Likewise.
14013 * sumrpc/svcauth_des.c: Likewise.
14015 2018-06-26 Florian Weimer <fweimer@redhat.com>
14017 * libio/Makefile (tests-internal): Add tst-vtables,
14018 tst-vtables-interposed.
14019 * libio/tst-vtables.c: New file.
14020 * libio/tst-vtables-common.c: Likewise.
14021 * libio/tst-vtables-interposed.c: Likewise.
14023 2018-06-26 Florian Weimer <fweimer@redhat.com>
14025 * support/support_test_main.c (support_test_main): Only call
14026 setvbuf if not disables.
14027 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
14028 * support/test-driver.h (struct test_config): Add no_setvbuf member.
14030 2018-06-26 Florian Weimer <fweimer@redhat.com>
14033 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
14035 2018-06-25 Florian Weimer <fweimer@redhat.com>
14038 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14039 Use struct scratch_buffer instead of extend_alloca.
14041 2018-06-25 Florian Weimer <fweimer@redhat.com>
14044 * nss/getent.c (initgroups_keys): Use dynarray instead of
14047 2018-06-25 Florian Weimer <fweimer@redhat.com>
14050 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
14051 Use struct scratch_buffer instead of extend_alloca.
14053 2018-06-25 Florian Weimer <fweimer@redhat.com>
14056 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
14057 back to malloc directly, without stack allocations.
14059 2018-06-25 Florian Weimer <fweimer@redhat.com>
14062 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
14065 2018-06-25 Florian Weimer <fweimer@redhat.com>
14068 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
14070 * nscd/hstcache.c (addhstbyX): Likewise.
14071 * nscd/pwdcache.c (addpwbyX): Likewise.
14072 * nscd/servicescache.c (addservbyX): Likewise.
14074 2018-06-25 Florian Weimer <fweimer@redhat.com>
14077 * nscd/connections.c (read_cmdline): New function.
14078 (restart): Use it. Update comment.
14080 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14083 * localedata/locales/csb_PL (mon): Rename to...
14085 (abmon): Rename to...
14086 (ab_alt_mon): This.
14087 (mon): Add with proper genitive forms, copy from Wikipedia.
14090 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14093 * localedata/locales/csb_PL (mon): Fix typos:
14094 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
14095 (yesstr): Add, value is "jo".
14096 (nostr): Add, value is "nié".
14098 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14100 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
14101 all log1p and significand functions on m680x0.
14102 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
14103 of s_significand.c..
14104 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14105 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
14106 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
14107 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
14108 s_log1p.c and include it..
14110 2018-06-21 Vincent Chen <vincentc@andestech.com>
14112 * elf/elf.h (R_NDS32_NONE): New define.
14113 (R_NDS32_32_RELA): Likewise.
14114 (R_NDS32_COPY): Likewise.
14115 (R_NDS32_GLOB_DAT): Likewise.
14116 (R_NDS32_JUMP_SLOT): Likewise.
14117 (R_NDS32_RELATIVE): Likewise.
14118 (R_NDS32_TLS_TPOFF): Likewise.
14119 (R_NDS32_TLS_DESC): Likewise.
14121 2018-06-21 Mark Wielaard <mark@klomp.org>
14123 * elf/elf.h (R_BPF_MAP_FD): Removed.
14124 (R_BPF_64_64, R_BPF_64_32): New.
14126 2018-06-21 Florian Weimer <fweimer@redhat.com>
14129 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
14130 Renamed from libc_feholdsetround_ctx.
14131 (default_libc_feresetround_ctx): Renamed from
14132 libc_feresetround_ctx.
14133 (default_libc_feholdsetround_noex_ctx): Renamed from
14134 libc_feholdsetround_noex_ctx.
14135 (default_libc_feresetround_noex_ctx): Renamed from
14136 libc_feresetround_noex_ctx.
14137 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
14138 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
14139 forwardning to the old implementations under the new names.
14140 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
14141 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
14142 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
14143 (libc_feresetround_ctx): Forward to default implements for i386
14144 and MATH_SET_BOTH_ROUNDING_MODES.
14145 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
14146 Add -DMATH_SET_BOTH_ROUNDING_MODES.
14148 2018-06-20 Joseph Myers <joseph@codesourcery.com>
14150 * string/tst-cmp.c: Include <libc-diag.h>.
14151 (strncmp_max): Disable -Wstringop-overflow= around call to
14153 (strncasecmp_max): Disable -Wstringop-overflow= around call to
14156 * string/bug-strpbrk1.c: Include <libc-diag.h>.
14157 (main): Disable -Wunused-value around call to strpbrk.
14158 * string/bug-strspn1.c: Include <libc-diag.h>.
14159 (main): Disable -Wunused-value around call to strspn.
14161 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14162 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14164 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
14165 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
14167 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14169 * math/Makefile (libm-calls): Move s_significandF to...
14170 (gen-libm-calls): ... here.
14171 * math/s_significand_template.c: New file.
14172 * math/s_significand.c: Removed.
14173 * math/s_significandf.c: Removed.
14174 * math/s_significandl.c: Removed.
14175 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
14176 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
14178 * math/e_exp2_template.c (declare_mgen_finite_alias,
14179 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
14180 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
14181 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
14183 2018-06-20 Florian Weimer <fweimer@redhat.com>
14185 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
14187 2018-06-19 Joseph Myers <joseph@codesourcery.com>
14190 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
14191 floating-point number to strtod functions rather than possibly
14192 negating result of those functions.
14193 * stdio-common/tst-scanf-round.c: New file.
14194 * stdio-common/Makefile (tests): Add tst-scanf-round.
14195 ($(objpfx)tst-scanf-round): Depend on $(libm).
14197 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14199 * sysdeps/mach/hurd/localplt.data: Move to...
14200 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
14201 R_386_GLOB_DAT like on Linux i386.
14203 2018-06-18 Joseph Myers <joseph@codesourcery.com>
14205 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
14206 (SHM_STAT_ANY): New macro.
14207 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
14208 (SHM_STAT_ANY): Likewise.
14209 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
14210 (SHM_STAT_ANY): Likewise.
14211 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
14212 (SHM_STAT_ANY): Likewise.
14213 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
14214 (SHM_STAT_ANY): Likewise.
14215 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
14216 (SHM_STAT_ANY): Likewise.
14217 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
14218 (SHM_STAT_ANY): Likewise.
14219 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
14220 (SHM_STAT_ANY): Likewise.
14221 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
14222 (SHM_STAT_ANY): Likewise.
14223 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
14224 (SHM_STAT_ANY): Likewise.
14225 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
14226 (SHM_STAT_ANY): Likewise.
14227 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
14228 (SHM_STAT_ANY): Likewise.
14230 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
14231 (SEM_STAT_ANY): New macro.
14232 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
14233 (SEM_STAT_ANY): Likewise.
14234 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
14235 (SEM_STAT_ANY): Likewise.
14236 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
14237 (SEM_STAT_ANY): Likewise.
14238 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
14239 (SEM_STAT_ANY): Likewise.
14240 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
14241 (SEM_STAT_ANY): Likewise.
14242 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
14243 (SEM_STAT_ANY): Likewise.
14244 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
14245 (SEM_STAT_ANY): Likewise.
14246 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
14247 (SEM_STAT_ANY): Likewise.
14248 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
14249 (SEM_STAT_ANY): Likewise.
14251 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
14252 (MSG_STAT_ANY): New macro.
14253 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
14254 (MSG_STAT_ANY): Likewise.
14255 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
14256 (MSG_STAT_ANY): Likewise.
14257 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
14258 (MSG_STAT_ANY): Likewise.
14259 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
14260 (MSG_STAT_ANY): Likewise.
14261 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
14262 (MSG_STAT_ANY): Likewise.
14263 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
14264 (MSG_STAT_ANY): Likewise.
14265 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
14266 (MSG_STAT_ANY): Likewise.
14267 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
14268 (MSG_STAT_ANY): Likewise.
14269 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
14270 (MSG_STAT_ANY): Likewise.
14272 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14273 (MAP_TYPE): Change value to 0x2b.
14275 2018-06-18 Florian Weimer <fweimer@redhat.com>
14278 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
14279 socket with SOCK_CLOEXEC.
14281 2018-06-18 Joseph Myers <joseph@codesourcery.com>
14284 * sysdeps/powerpc/powerpc64/le/Makefile
14285 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
14286 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
14287 (gnulib-tests): Also add $(f128-loader-link) for
14288 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
14290 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
14292 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
14293 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
14295 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
14296 (sendfile64): New strong alias.
14297 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
14298 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
14299 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
14300 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
14302 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
14303 ___pthread_get_cleanup_stack.
14304 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
14305 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
14306 * mach/shortcut.awk: Make syscall stubs include
14307 <mach-shortcuts-hidden.h> and add hidden definition.
14308 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
14309 (__mach_msg): Add hidden prototype.
14310 * mach/msg.c: Include <mach.h>.
14311 (__mach_msg): Add hidden definition.
14312 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
14313 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
14314 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
14315 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
14316 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
14317 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
14318 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
14319 prototype and definition.
14320 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
14321 hidden target for _hurd_self_sigstate.
14323 2018-06-15 Joseph Myers <joseph@codesourcery.com>
14326 * stdlib/tst-strtod-nan-sign-main.c: New file.
14327 * stdlib/tst-strtod-nan-sign.c: Likewise.
14328 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
14329 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
14330 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
14331 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
14332 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
14334 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
14337 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
14340 2018-06-14 Florian Weimer <fweimer@redhat.com>
14343 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
14344 that the result stays within the ISO-8859-1 range.
14345 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
14346 characters are defined in IBM273.
14348 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
14350 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
14351 __mach_task_self): Remove attribute_hidden.
14353 2018-06-14 Joseph Myers <joseph@codesourcery.com>
14355 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
14356 ignore -Wrestrict for one test.
14358 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
14359 Szabolcs Nagy <szabolcs.nagy@arm.com>
14361 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
14363 2018-06-14 Florian Weimer <fweimer@redhat.com>
14365 * scripts/update-abilist.sh: Accept empty list of files to patch.
14367 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
14369 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
14370 test-xfail-check-abi-libmachuser): Add.
14371 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
14372 __libc_read and __libc_write to __read and __write.
14373 * sysdeps/hurd/include/hurd/port.h: New file.
14374 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
14375 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
14376 __thread_switch, __evc_wait): Move declarations to...
14377 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
14379 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
14380 use PLT to call _hurd_self_sigstate.
14382 2018-06-13 Joseph Myers <joseph@codesourcery.com>
14385 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
14386 MAX_EXP as overflowing.
14387 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
14389 (round_str): Output also whether result overflows in each rounding
14391 * stdlib/tst-strtod-round-data: Add more tests.
14392 * stdlib/tst-strtod-round-data.h: Regenerated.
14393 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
14394 (TEST): Handle extra arguments for overflow flags.
14395 (struct test_overflow): New type.
14396 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
14397 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
14398 (test_in_one_mode): Take argument with overflow information.
14399 (do_test): Update calls to test_in_one_mode.
14401 2018-06-12 Carlos O'Donell <carlos@redhat.com>
14403 * elf/dl-load (_dl_dst_substitute): Correct comment.
14404 (_dl_dst_count): Likewise.
14406 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
14407 lll_futex_timed_wait.
14409 2018-06-12 Joseph Myers <joseph@codesourcery.com>
14412 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
14414 * math/test-nan-const.c: New file.
14415 * math/Makefile (tests): Add test-nan-const.
14416 (CFLAGS-test-nan-const.c): New variable.
14418 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14420 * benchtests/scripts/compare_strings.py (process_results): Add
14421 funcs argument. Compare only functions which are selected.
14422 (main): Check if base function is among selected functions.
14423 Pass selected functions to process_results.
14424 (__main__): Add -f/--functions argument.
14426 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
14427 Hongbo Zhang <hongbo.zhang@linaro.org>
14429 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
14430 __memcpy_falkor for phecda core.
14431 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
14432 __memmove_falkor for phecda core.
14433 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
14434 __memset_falkor for phecda core.
14435 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
14437 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
14438 macro to identify phecda core.
14440 2018-06-12 Carlos O'Donell <carlos@redhat.com>
14441 Andreas Schwab <schwab@suse.de>
14442 Dmitry V. Levin <ldv@altlinux.org>
14443 Florian Weimer <fweimer@redhat.com>
14450 * elf/dl-dst.h: Remove DL_DST_COUNT.
14451 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
14452 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
14453 (is_dst): Comment. Support ELF gABI.
14454 (_dl_dst_count): Comment. Simplify and count DSTs.
14455 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
14456 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
14459 2018-06-12 Zack Weinberg <zackw@panix.com>
14461 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
14462 * sysdeps/unix/sysv/linux/dl-sysdep.c
14463 Include not-cancel.h. Use __close_nocancel instead of __close,
14464 __open64_nocancel instead of __open, __read_nocancel instead of
14465 __libc_read, and __write_nocancel instead of __libc_write.
14467 * csu/check_fds.c (check_one_fd)
14468 * sysdeps/posix/fdopendir.c (__fdopendir)
14469 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
14470 instead of __fcntl and/or __libc_fcntl.
14472 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
14473 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
14474 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
14475 Use __open64_nocancel instead of __open_nocancel.
14477 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
14478 hidden_proto declarations to the end and issue them if either
14479 IS_IN(libc) or IS_IN(rtld).
14480 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
14481 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
14482 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
14483 read_nocancel, waitpid_nocancel, write_nocancel.
14485 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
14486 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
14487 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
14489 * nptl/pt-fcntl.c: New file.
14490 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
14491 (libpthread-routines): Add pt-fcntl.
14492 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
14493 (__libc_fcntl): Remove attribute_hidden.
14494 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
14495 __fcntl_nocancel_adjusted, not fcntl_common.
14496 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
14497 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
14498 to fcntl_nocancel.c.
14499 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
14500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
14501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14502 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
14504 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
14505 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
14506 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
14507 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
14508 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
14509 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
14510 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
14511 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
14512 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
14513 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
14514 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
14515 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
14516 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
14517 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
14518 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
14519 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
14520 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
14521 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
14522 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
14523 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
14525 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
14526 libpthread-routines.
14527 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
14530 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
14531 __libc_read, and __write instead of __libc_write. Define
14532 __open64 in addition to __open.
14534 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14538 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
14539 to _private_tm[3] and add __glibc_reserved2.
14540 Add _Static_assert of offset of __private_ss == 0x30.
14541 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
14542 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
14544 2018-06-12 Florian Weimer <fweimer@redhat.com>
14546 x86: Make strncmp usable from rtld.
14547 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
14548 __strncmp_ia32 if in libc (and not in rtld).
14549 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
14550 strncmp if not in libc (and not to __strncmp_sse2).
14552 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
14555 * localedata/locales/gd_GB (mon): Rename to...
14557 (mon): Import from CLDR (genitive case).
14558 * localedata/locales/hsb_DE (mon): Rename to...
14560 (mon): Import from CLDR (genitive case).
14561 * localedata/locales/wa_BE (mon): Rename to...
14563 (mon): Add, fill with the proper genitive forms, but CLDR data
14564 is incomplete; completed according to the comments in this file.
14565 (d_t_fmt): Do not use "di" before the month name, no longer needed.
14567 * localedata/locales/wa_BE (country_name): Reword
14568 "Beljike" -> "Beldjike".
14570 2018-06-11 Joseph Myers <joseph@codesourcery.com>
14573 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
14574 cases of non-finite arguments.
14575 * math/libm-test-fma.inc (fma_test_data): Add more tests.
14577 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
14580 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
14582 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14585 * include/unistd.h (__execvpex): New prototype.
14586 * posix/Makefile (tests): Add tst-spawn4.
14587 (tests-internal): Add tst-spawn4-compat.
14588 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
14589 * posix/tst-spawn4-compat.c: New file.
14590 * posix/tst-spawn4.c: Likewise.
14591 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
14592 binaries as shell scripts.
14593 * sysdeps/posix/spawni.c (__spawni): Likewise.
14595 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
14598 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
14599 ($(all-built-dso:=.dynsym): New target.
14600 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
14601 ($(objpfx)check-initfini.out): New target.
14602 (generated): Add check-initfini.out.
14603 * scripts/check-initfini.awk: New file.
14604 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
14606 * sysdeps/alpha/crti.S (_init): Mark as hidden.
14608 * sysdeps/arm/crti.S (_init): Mark as hidden.
14610 * sysdeps/hppa/crti.S (_init): Mark as hidden.
14612 * sysdeps/i386/crti.S (_init): Mark as hidden.
14614 * sysdeps/ia64/crti.S (_init): Mark as hidden.
14616 * sysdeps/m68k/crti.S (_init): Mark as hidden.
14618 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
14620 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
14622 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
14624 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
14626 * sysdeps/nios2/crti.S (_init): Mark as hidden.
14628 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
14630 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
14632 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
14634 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
14636 * sysdeps/sh/crti.S (_init): Mark as hidden.
14638 * sysdeps/sparc/crti.S (_init): Mark as hidden.
14640 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
14643 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14645 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
14646 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
14647 and TF redirection to KFtype and KF only when the default
14648 long double type is not the IEEE 128-bit floating point type.
14650 2018-06-05 Joseph Myers <joseph@codesourcery.com>
14652 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
14654 (HWCAP_USCAT): Likewise.
14655 (HWCAP_ILRCPC): Likewise.
14656 (HWCAP_FLAGM): Likewise.
14657 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14659 (_dl_aarch64_cap_flags): Add new flag names.
14661 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14662 (MAP_FIXED_NOREPLACE): New macro.
14663 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
14664 (MAP_FIXED_NOREPLACE): Likewise.
14665 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
14666 (MAP_FIXED_NOREPLACE): Likewise.
14667 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14668 (MAP_FIXED_NOREPLACE): Likewise.
14669 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14670 (MAP_FIXED_NOREPLACE): Likewise.
14671 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14672 (MAP_FIXED_NOREPLACE): Likewise.
14673 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14674 (MAP_FIXED_NOREPLACE): Likewise.
14675 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
14676 (MAP_FIXED_NOREPLACE): Likewise.
14677 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14678 (MAP_FIXED_NOREPLACE): Likewise.
14679 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
14680 (MAP_FIXED_NOREPLACE): Likewise.
14681 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14682 (MAP_FIXED_NOREPLACE): Likewise.
14683 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14684 (MAP_FIXED_NOREPLACE): Likewise.
14685 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
14686 (MAP_FIXED_NOREPLACE): Likewise.
14687 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
14688 (MAP_FIXED_NOREPLACE): Likewise.
14689 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
14690 (MAP_FIXED_NOREPLACE): Likewise.
14692 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14695 2018-06-04 Joseph Myers <joseph@codesourcery.com>
14697 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14700 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14702 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
14704 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
14706 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14708 * benchtests/scripts/compare_string.py: (process_results) Catch
14709 exception in non-existent base_func and catch exception in
14710 non-existent attribute.
14711 (parse_file) Catch exception if input file does not exist.
14713 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14715 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
14716 options to avoid diff calculation and omit header, respectively.
14717 (main): process --no-diff and --no-header
14719 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14720 H.J. Lu <hongjiu.lu@intel.com>
14722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14723 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
14725 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14726 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
14727 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
14728 and __wcsncmp_sse2.
14729 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
14730 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
14731 AVX unaligned load is fast and vzeroupper is preferred.
14732 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
14733 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
14734 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
14735 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
14736 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
14737 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
14738 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
14739 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
14740 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
14741 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
14744 2018-06-01 Florian Weimer <fweimer@redhat.com>
14746 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
14747 configuring with --disable-multi-arch, building with
14748 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
14751 2018-06-01 Florian Weimer <fweimer@redhat.com>
14753 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
14754 results from building with “-march=x86-64 -mtune=generic
14755 -mfpmath=sse” and running on a Haswell-era CPU.
14757 2018-06-01 Joseph Myers <joseph@codesourcery.com>
14760 * soft-fp/sqrttf2.c: Remove file.
14761 * soft-fp/sqrtdf2.c: Move to ....
14762 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
14764 (__sqrtdf2): Make conditional on
14765 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14767 * soft-fp/sqrtsf2.c: Move to ....
14768 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
14770 (__sqrtsf2): Make conditional on
14771 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14773 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
14774 (gcc-double-routines): Remove sqrtdf2.
14775 (gcc-quad-routines): Remove sqrttf2.
14776 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14777 Do not filter out sqrtsf2 and sqrtdf2.
14778 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14779 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
14781 2018-06-01 Florian Weimer <fweimer@redhat.com>
14783 * sysdeps/generic/libcidn.abilist: Remove file.
14785 2018-06-01 Florian Weimer <fweimer@redhat.com>
14788 * libio/strfile.h (struct _IO_str_fields): Rename members to
14789 discourage their use and add comment.
14790 (_IO_STR_DYNAMIC): Remove unused macro.
14791 * libio/strops.c (_IO_str_init_static_internal): Do not use
14792 callback pointers. Call malloc and free.
14793 (_IO_str_overflow): Do not use callback pointers. Call malloc
14795 (enlarge_userbuf): Likewise.
14796 (_IO_str_finish): Call free.
14797 * libio/wstrops.c (_IO_wstr_init_static): Initialize
14798 _allocate_buffer_unused.
14799 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
14801 (enlarge_userbuf): Likewise.
14802 (_IO_wstr_finish): Call free.
14803 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
14804 _allocate_buffer_unused, _free_buffer_unused.
14805 * libio/memstream.c (__open_memstream): Likewise.
14806 * libio/vasprintf.c (_IO_vasprintf): Likewise.
14807 * libio/wmemstream.c (open_wmemstream): Likewise.
14809 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14811 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
14814 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14816 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
14817 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
14818 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
14820 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
14822 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
14824 2018-05-29 Florian Weimer <fweimer@redhat.com>
14826 * support/Makefile (libsupport-routines): Add
14827 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
14828 xpthread_barrierattr_setpshared.
14829 * support/xpthread_barrierattr_destroy.c: New file.
14830 * support/xpthread_barrierattr_init.c: Likewise.
14831 * support/xpthread_barrierattr_setpshared.c: Likewise.
14833 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
14836 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
14837 _r_debug and update DT_DEBUG for debugger.
14839 2018-05-29 Florian Weimer <fweimer@redhat.com>
14841 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
14842 (tst-strtod5i.out): Likewise.
14844 2018-05-25 Joseph Myers <joseph@codesourcery.com>
14846 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
14847 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
14848 (sparc64-quad-routines): New variable. Moved from ....
14849 [$(subdir) = soft-fp] (sysdep_routines): Add
14850 $(sparc64-quad-routines). Moved from ....
14851 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
14852 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
14853 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
14855 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
14856 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
14857 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
14858 * sysdeps/sparc/sparc64/qp_add.c: ... here.
14859 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
14860 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
14861 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
14862 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
14863 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
14864 * sysdeps/sparc/sparc64/qp_div.c: ... here.
14865 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
14866 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
14867 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
14868 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
14869 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
14870 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
14871 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
14872 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
14873 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
14874 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
14875 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
14876 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
14877 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
14878 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
14879 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
14880 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
14881 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
14882 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
14883 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
14884 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
14885 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
14886 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
14887 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
14888 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
14889 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
14890 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
14891 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
14892 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
14893 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
14894 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
14895 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
14896 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
14897 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
14898 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
14899 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
14900 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
14901 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
14902 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
14903 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
14904 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
14905 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
14906 * sysdeps/sparc/sparc64/qp_util.c: ... here.
14907 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
14908 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
14909 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
14910 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
14911 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
14912 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
14914 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
14915 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
14916 (sparc32-quad-routines): New variable. Moved from ....
14917 [$(subdir) = soft-fp] (sysdep_routines): Add
14918 $(sparc32-quad-routines). Moved from ....
14919 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
14920 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
14922 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
14923 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
14924 * sysdeps/sparc/sparc32/q_add.c: ... here.
14925 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
14926 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
14927 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
14928 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
14929 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
14930 * sysdeps/sparc/sparc32/q_div.c: ... here.
14931 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
14932 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
14933 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
14934 * sysdeps/sparc/sparc32/q_feq.c: ... here.
14935 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
14936 * sysdeps/sparc/sparc32/q_fge.c: ... here.
14937 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
14938 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
14939 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
14940 * sysdeps/sparc/sparc32/q_fle.c: ... here.
14941 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
14942 * sysdeps/sparc/sparc32/q_flt.c: ... here.
14943 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
14944 * sysdeps/sparc/sparc32/q_fne.c: ... here.
14945 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
14946 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
14947 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
14948 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
14949 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
14950 * sysdeps/sparc/sparc32/q_mul.c: ... here.
14951 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
14952 * sysdeps/sparc/sparc32/q_neg.c: ... here.
14953 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
14954 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
14955 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
14956 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
14957 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
14958 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
14959 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
14960 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
14961 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
14962 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
14963 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
14964 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
14965 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
14966 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
14967 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
14968 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
14969 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
14970 * sysdeps/sparc/sparc32/q_sub.c: ... here.
14971 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
14972 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
14973 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
14974 * sysdeps/sparc/sparc32/q_util.c: ... here.
14975 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
14976 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
14977 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
14978 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
14980 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14981 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14983 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
14984 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
14985 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
14986 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
14988 2018-05-24 Joseph Myers <joseph@codesourcery.com>
14990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
14992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14994 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
14995 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
14997 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15000 * math/math.h [C++] (iseqsig): Fix parameter type for the long
15003 2018-05-23 Joseph Myers <joseph@codesourcery.com>
15005 * sysdeps/sh/Implies: Remove sh/soft-fp.
15006 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
15007 * sysdeps/sh/sfp-machine.h: ... here.
15009 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15011 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15012 (__mempcpy_erms): Skip zero length.
15013 (__memmove_erms): Likewise.
15014 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15015 (__memset_erms): Likewise.
15017 2018-05-23 Joseph Myers <joseph@codesourcery.com>
15019 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
15020 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
15021 Add functions moved from ....
15022 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
15023 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
15024 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
15026 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
15027 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
15028 * sysdeps/alpha/e_sqrtl.c: ... here.
15029 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
15030 * sysdeps/alpha/local-soft-fp.h: ... here.
15031 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
15032 * sysdeps/alpha/ots_add.c: ... here.
15033 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
15034 * sysdeps/alpha/ots_cmp.c: ... here.
15035 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
15036 * sysdeps/alpha/ots_cmpe.c: ... here.
15037 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
15038 * sysdeps/alpha/ots_cvtqux.c: ... here.
15039 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
15040 * sysdeps/alpha/ots_cvtqx.c: ... here.
15041 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
15042 * sysdeps/alpha/ots_cvttx.c: ... here.
15043 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
15044 * sysdeps/alpha/ots_cvtxq.c: ... here.
15045 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
15046 * sysdeps/alpha/ots_cvtxt.c: ... here.
15047 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
15048 * sysdeps/alpha/ots_div.c: ... here.
15049 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
15050 * sysdeps/alpha/ots_mul.c: ... here.
15051 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
15052 * sysdeps/alpha/ots_nintxq.c: ... here.
15053 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
15054 * sysdeps/alpha/ots_sub.c: ... here.
15055 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
15056 * sysdeps/alpha/sfp-machine.h: ... here.
15058 2018-05-23 Florian Weimer <fweimer@redhat.com>
15066 Switch to extern IDNA implementation (libidn2).
15067 * libidn: Remove subdirectory.
15068 * LICENSES: Do not mention licensing conditions for the removed
15070 * config.h.in (HAVE_LIBIDN): Remove.
15071 * include/dlfcn.h (__libc_dlopen): Update comment.
15072 * include/idna.h: Remove file.
15073 * inet/Makefile (routines): Add idna.
15074 (tests-static, tests-internal): Add tst-idna_name_classify.
15075 (LOCALES): Generate locales for tests.
15076 (tst-idna_name_classify.out): Depend on generated locales.
15077 * inet/idna_name_classify.c: New file.
15078 * inet/tst-idna_name_classify.c: Likewise.
15079 * inet/net-internal.h (__idna_to_dns_encoding)
15080 (__idna_from_dns_encoding): Declare.
15081 * inet/net-internal.h (enum idna_name_classification): Define.
15082 (__idna_name_classify): Declare.
15083 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
15084 __idna_from_dns_encoding.
15085 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
15086 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
15087 name as a fallback in case of encoding errors.
15088 (getnameinfo): Use DEPRECATED_NI_IDN.
15089 * inet/idna.c: New file.
15090 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
15091 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
15092 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
15093 (modules-names): Add tst-no-libidn2.
15094 (extra-test-objs): Add tst-no-libidn2.os.
15095 (LDFLAGS-tst-no-libidn2.so): Set soname.
15096 (LOCALES): Set, and generate locales.
15097 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
15098 (tst-resolv-ai_idn-latin1): Likewise.
15099 (tst-resolv-ai_idn-nolibidn2): Likewise.
15100 (tst-resolv-ai_idn.out): Depend on locales.
15101 (tst-resolv-ai_idn-latin1.out): Depend on locales.
15102 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
15104 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
15105 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
15106 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
15107 * resolv/tst-resolv-ai_idn.c: New file.
15108 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
15109 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
15110 * resolv/tst-no-libidn2.c: Likewise.
15111 * support/support_format_addrinfo.c (format_ai_flags): Do not
15112 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
15113 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
15114 (gaih_inet): Call __idna_to_dns_encoding and
15115 __idna_from_dns_encoding, and use the original (punycode) name if
15116 __idna_from_dns_encoding fails due to an encoding error.
15117 (getaddrinfo): Use DEPRECATED_AI_IDN.
15118 * sysdeps/unix/inet/Subdirs (libidn): Remove.
15119 * sysdeps/unix/inet/configure: Remove file.
15120 * sysdeps/unix/inet/configure.ac: Likewise.
15122 2018-05-23 Florian Weimer <fweimer@redhat.com>
15124 Implement allocate_once.
15125 * include/allocate_once.h: New file.
15126 * misc/allocate_once.c: Likewise.
15127 * misc/tst-allocate_once.c: Likewise.
15128 * misc/Makefile (routines): Add allocate_once.
15129 (tests-internal): Add tst-allocate_once.
15130 (generated): Add tst-allocate_once.mtrace,
15131 tst-allocate_once-mem.out.
15132 (tests-special): Add tst-allocate_once-mem.out.
15133 (tst-allocate_once-ENV): Set MALLOC_TRACE.
15134 (tst-allocate_once-mem.out): Call mtrace.
15135 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
15137 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15140 * string/test-memcpy.c (do_test1): New function.
15141 (test_main): Call it.
15143 2018-05-23 Andreas Schwab <schwab@suse.de>
15147 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
15148 (L(preloop_large)): Save initial destination pointer in %r11 and
15149 use it instead of %rax after the loop.
15150 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
15152 2018-05-22 Joseph Myers <joseph@codesourcery.com>
15154 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
15155 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
15156 -I../soft-fp. Moved from ....
15157 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
15158 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
15159 * sysdeps/aarch64/e_sqrtl.c: ... here.
15160 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
15161 * sysdeps/aarch64/sfp-machine.h: ... here.
15163 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
15164 -Wmaybe-uninitialized around access to fq[0].
15165 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15169 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
15170 aliases for non-libc case of versioned symbols.
15171 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
15172 (llseek): Define as compat symbol if
15173 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
15175 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
15176 Make into a compat symbol, disabled for minimum symbol version
15177 GLIBC_2.28 and later.
15178 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
15180 2018-05-22 Florian Weimer <fweimer@redhat.com>
15182 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
15183 not add -mpreferred-stack-boundary=4.
15184 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
15185 (stack-align-test-flags): Likewise.
15186 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
15188 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
15189 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
15190 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
15191 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
15192 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
15193 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
15194 (CFLAGS-tst-align2.c): Likewise.
15196 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15198 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
15199 (index_arch_Prefer_FSRM): Likewise.
15200 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
15201 Also check Prefer_FSRM.
15202 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
15203 Also return OPTIMIZE (erms) for Prefer_FSRM.
15205 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15207 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
15208 (index_cpu_FSRM): Likewise.
15209 (reg_FSRM): Likewise.
15211 2018-05-18 Joseph Myers <joseph@codesourcery.com>
15213 * math/gen-tgmath-tests.py: Import sys.
15214 (Tests.__init__): Initialize macros_seen.
15215 (Tests.add_tests): Add macro to macros_seen. Only generate tests
15216 if requested to do so for this macro.
15217 (Tests.add_all_tests): Take argument for macro for which to
15219 (Tests.check_macro_list): New function.
15220 (main): Handle check-list argument and argument specifying macro
15221 for which to generate tests.
15222 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
15223 [PYTHON] (tgmath3-macro-tests): Likewise.
15224 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
15225 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
15226 not test-tgmath3.c.
15227 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
15228 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
15230 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
15231 [PYTHON] ($(foreach
15232 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
15234 [PYTHON] (tests-special): Add
15235 $(objpfx)test-tgmath3-macro-list.out.
15236 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
15238 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
15239 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
15243 * time/tzset.c (SECSPERDAY): Cast to time_t.
15244 * time/tst-y2039.c: New file.
15245 * time/Makefile (tests): Add tst-y2039.
15247 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15249 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15250 (PREFETCH_ONE_SET): Remove duplicate line.
15252 2018-05-17 Florian Weimer <fweimer@redhat.com>
15254 * sysdeps/generic/math-type-macros-double.h: Include
15255 <math-nan-payload-double.h> after <libm-alias-double.h>.
15256 * sysdeps/generic/math-type-macros-float.h: Include
15257 <math-nan-payload-float.h> after <libm-alias-float.h>.
15258 * sysdeps/generic/math-type-macros-float128.h: Include
15259 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
15260 * sysdeps/generic/math-type-macros-ldouble.h: Include
15261 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
15263 2018-05-17 Andreas Schwab <schwab@suse.de>
15265 * resolv/res_send.c (__res_context_send): Don't set errno when
15266 returing error after malloc failure.
15268 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
15270 * nptl/allocatestack.c (allocate_stack): Remove the
15271 !__ASSUME_PRIVATE_FUTEX paths.
15272 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
15273 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15275 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
15276 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15277 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15278 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15279 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
15280 !__ASSUME_PRIVATE_FUTEX path.
15281 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
15282 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
15283 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15284 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
15285 !__ASSUME_PRIVATE_FUTEX macros.
15286 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15287 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
15288 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15289 * sysdeps/unix/sysv/linux/kernel-features.h
15290 (__ASSUME_PRIVATE_FUTEX): Removed.
15292 2018-05-17 Joseph Myers <joseph@codesourcery.com>
15294 * math/Makefile (libm-narrow-fns): Add div.
15295 (libm-test-funcs-narrow): Likewise.
15296 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
15297 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
15298 * math/gen-auto-libm-tests.c (test_functions): Add div.
15299 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
15300 (NARROW_DIV_ROUND_TO_ODD): Likewise.
15301 (NARROW_DIV_TRIVIAL): Likewise.
15302 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
15304 (__ddivl): Likewise.
15305 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
15307 (CFLAGS-nldbl-ddiv.c): New variable.
15308 (CFLAGS-nldbl-fdiv.c): Likewise.
15309 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15311 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
15313 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
15314 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
15315 * math/auto-libm-test-in: Add tests of div.
15316 * math/auto-libm-test-out-narrow-div: New generated file.
15317 * math/libm-test-narrow-div.inc: New file.
15318 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
15319 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
15320 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
15321 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
15322 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
15323 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
15324 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
15325 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
15326 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
15327 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
15328 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
15329 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
15330 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
15331 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
15332 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
15333 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
15334 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
15335 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
15336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15337 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15338 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15339 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15340 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15341 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15342 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15343 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15344 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15345 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15346 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15347 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15348 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15349 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15354 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15355 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15356 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15357 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15358 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15359 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15360 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15361 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15363 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15366 * nscd/nscd-client.h (sendfileall): Remove prototype.
15367 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
15368 (handle_request): Use writeall instead of sendfileall.
15369 * nscd/aicache.c (addhstaiX): Likewise.
15370 * nscd/grpcache.c (cache_addgr): Likewise.
15371 * nscd/hstcache.c (cache_addhst): Likewise.
15372 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15373 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
15374 * nscd/pwdcache.c (cache_addpw): Likewise.
15375 * nscd/servicescache.c (cache_addserv): Likewise.
15376 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
15377 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
15378 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
15381 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
15383 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
15384 Include <string/strncat.c>.
15385 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
15387 (__GI___strncat): New hidden alias.
15389 2018-05-16 Joseph Myers <joseph@codesourcery.com>
15391 * sysdeps/mips/mips32/libm-test-ulps: Update.
15392 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15394 2018-05-16 Florian Weimer <fweimer@redhat.com>
15396 * support/Makefile (libsupport-routines): Add support_quote_blob,
15397 support_test_compare_blob.
15398 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
15399 * support/check.h (TEST_COMPARE_BLOB): Define.
15400 (support_test_compare_blob): Declare.
15401 * support/support.h (support_quote_blob): Declare.
15402 * support/support_quote_blob.c: New file.
15403 * support/support_test_compare_blob.c: Likewise.
15404 * support/tst-support_quote_blob.c: Likewise.
15405 * support/tst-test_compare_blob.c: Likewise.
15407 2018-05-16 Florian Weimer <fweimer@redhat.com>
15409 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
15410 of <strtod_nan_double.h>.
15411 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
15412 instead of SET_MANTISSA.
15413 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
15414 of include <strtod_nan_float.h>.
15415 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
15416 instead of <strtod_nan_ldouble.h>.
15417 * stdlib/strtod_nan_double.h: Move to ...
15418 * sysdeps/generic/math-nan-payload-double.h: ... here.
15419 (FLOAT): Remove definition.
15420 (SET_MANTISSA): Rename to ...
15421 (SET_NAN_PAYLOAD): ... this.
15422 * stdlib/strtod_nan_float.h: Move to ...
15423 * sysdeps/generic/math-nan-payload-float.h: ... here.
15424 (FLOAT): Remove definition.
15425 (SET_MANTISSA): Rename to ...
15426 (SET_NAN_PAYLOAD): ... this.
15427 * sysdeps/generic/math-type-macros-double.h: Include
15428 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
15429 instead of <math-svid-compat.h>.
15430 * sysdeps/generic/math-type-macros-float.h: Include
15431 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
15432 instead of <math-svid-compat.h>.
15433 * sysdeps/generic/math-type-macros-float128.h: Include
15434 <math-nan-payload-float128.h>.
15435 * sysdeps/generic/math-type-macros-ldouble.h: Include
15436 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
15437 instead of <math-svid-compat.h>.
15438 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
15439 check for definition.
15440 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
15441 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
15442 Include <ieee754_float128.h>.
15443 (FLOAT): Remove definition.
15444 (SET_MANTISSA): Rename to ...
15445 (SET_NAN_PAYLOAD): ... this.
15446 * sysdeps/ieee754/float128/strtof128_nan.c: Include
15447 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
15448 Do not include <float128_private.h>.
15449 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
15450 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
15451 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
15452 (FLOAT): Remove definition.
15453 (SET_MANTISSA): Rename to ...
15454 (SET_NAN_PAYLOAD): ... this.
15455 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
15456 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
15457 (FLOAT): Remove definition.
15458 (SET_MANTISSA): Rename to ...
15459 (SET_NAN_PAYLOAD): ... this.
15460 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
15461 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
15462 (FLOAT): Remove definition.
15463 (SET_MANTISSA): Rename to ...
15464 (SET_NAN_PAYLOAD): ... this.
15465 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
15466 of "../stdlib/strtod_nan_double.h".
15467 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
15468 of "../stdlib/strtod_nan_float.h".
15469 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
15470 instead of "../stdlib/strtod_nan_ldouble.h".
15471 * manual/arith.texi (Parsing of Floats): Adjust comment.
15473 2018-05-16 Joseph Myers <joseph@codesourcery.com>
15475 * math/Makefile (libm-narrow-fns): Add mul.
15476 (libm-test-funcs-narrow): Likewise.
15477 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
15478 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
15479 * math/gen-auto-libm-tests.c (test_functions): Add mul.
15480 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
15481 (NARROW_MUL_ROUND_TO_ODD): Likewise.
15482 (NARROW_MUL_TRIVIAL): Likewise.
15483 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
15484 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
15486 (__dmull): Likewise.
15487 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
15489 (CFLAGS-nldbl-dmul.c): New variable.
15490 (CFLAGS-nldbl-fmul.c): Likewise.
15491 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15493 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
15495 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
15496 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
15497 * math/auto-libm-test-in: Add tests of mul.
15498 * math/auto-libm-test-out-narrow-mul: New generated file.
15499 * math/libm-test-narrow-mul.inc: New file.
15500 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
15501 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
15502 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
15503 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
15504 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
15505 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
15506 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
15507 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
15508 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
15509 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
15510 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
15511 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
15512 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
15513 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
15514 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
15515 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
15516 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
15517 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
15518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15519 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15520 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15521 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15522 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15523 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15524 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15525 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15526 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15527 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15528 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15529 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15530 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15531 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15536 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15537 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15538 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15539 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15540 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15541 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15542 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15543 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15545 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15547 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15548 with *%eax in call.
15550 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15552 * sysdeps/i386/ldsodefs.h: Removed.
15553 * sysdeps/x86_64/ldsodefs.h: Moved to ...
15554 * sysdeps/x86/ldsodefs.h: This.
15555 (La_i86_regs): New.
15556 (La_i86_retval): Likewise.
15557 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
15558 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
15560 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15562 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
15565 2018-05-13 Alan Modra <amodra@gmail.com>
15567 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
15568 R_PARISC_TLS_DTPOFF32 reloc addend.
15570 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15572 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
15573 * math/math.h: Restrict the prototype definition for the functions
15574 issignaling(_Float128) and iszero(_Float128); and template
15575 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
15576 __HAVE_FLOAT128_UNLIKE_LDBL.
15577 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
15578 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15579 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
15580 __f128() constants; define the type _Float128 as long double;
15581 and reuse long double in __CFLOAT128.
15583 2018-05-11 Joseph Myers <joseph@codesourcery.com>
15585 * sysdeps/generic/math_private.h: Do not include
15587 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
15589 * math/fromfp.h: Include <math-barriers.h>.
15590 * math/math-narrow.h: Likewise.
15591 * math/s_nextafter.c: Likewise.
15592 * math/s_nexttowardf.c: Likewise.
15593 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
15594 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
15595 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
15596 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
15597 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15598 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15599 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15600 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15601 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15602 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15603 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15604 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15605 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15606 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15607 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
15608 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15609 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15610 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15611 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15612 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15613 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15614 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15615 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15616 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15617 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15618 * sysdeps/ieee754/k_standardl.c: Likewise.
15619 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15620 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15621 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15622 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15623 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15624 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15625 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15626 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15627 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15628 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15629 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15630 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15631 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15632 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15633 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15634 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15635 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
15636 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
15637 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15638 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15639 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
15640 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
15642 2018-05-11 Florian Weimer <fweimer@redhat.com>
15644 Use 64-bit epoch values in the time zone file parser.
15645 * include/time.h (internal_time_t): Define.
15646 (__tzfile_compute): Use it.
15647 * time/tzfile.c (struct leap): Use internal_time_t for epoch
15649 (transitions): Switch to internal_time_t.
15650 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
15652 (__tzfile_compute): Use internal_time_t for timer argument. Check
15653 for truncation before calling __offtime.
15655 2018-05-11 Florian Weimer <fweimer@redhat.com>
15658 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
15659 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
15661 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
15662 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
15663 export without --enable-obsolete-rpc.
15664 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
15665 symbol. This should not have been exported, ever.
15667 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
15670 * localedata/locales/gd_GB (abmon): Fix typo in May:
15671 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
15673 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
15675 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15676 Use multiple registers to copy data in loop tail.
15678 * sysdeps/aarch64/multiarch/memmove_falkor.S
15679 (__memmove_falkor): Use multiple registers to move data in
15682 2018-05-10 Joseph Myers <joseph@codesourcery.com>
15684 * math/math-underflow.h: New file.
15685 * sysdeps/generic/math_private.h: Do not include <float.h>.
15686 (fabs_tg): Remove macro. Moved to math-underflow.h.
15687 (min_of_type_f): Likewise.
15688 (min_of_type_): Likewise.
15689 (min_of_type_l): Likewise.
15690 (min_of_type_f128): Likewise.
15691 (min_of_type): Likewise.
15692 (math_check_force_underflow): Likewise.
15693 (math_check_force_underflow_nonneg): Likewise.
15694 (math_check_force_underflow_complex): Likewise.
15695 * math/e_exp2_template.c: Include <math-underflow.h>.
15696 * math/k_casinh_template.c: Likewise.
15697 * math/s_catan_template.c: Likewise.
15698 * math/s_catanh_template.c: Likewise.
15699 * math/s_ccosh_template.c: Likewise.
15700 * math/s_cexp_template.c: Likewise.
15701 * math/s_clog10_template.c: Likewise.
15702 * math/s_clog_template.c: Likewise.
15703 * math/s_csin_template.c: Likewise.
15704 * math/s_csinh_template.c: Likewise.
15705 * math/s_csqrt_template.c: Likewise.
15706 * math/s_ctan_template.c: Likewise.
15707 * math/s_ctanh_template.c: Likewise.
15708 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15709 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15710 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15711 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15712 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15713 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15714 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15715 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15716 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15717 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15718 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15719 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15720 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15721 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15722 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15723 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15724 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15725 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15726 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15727 * sysdeps/ieee754/flt-32/e_atanhf.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_sinhf.c: Likewise.
15732 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15733 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15734 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15735 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15736 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15737 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15738 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15739 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15740 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15741 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15742 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15743 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15744 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15745 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15746 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15747 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15748 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15749 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15750 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15751 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15752 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15753 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15754 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15755 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15756 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15757 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15758 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15759 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15760 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15761 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15762 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15763 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15765 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15766 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15767 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15768 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15769 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15770 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15771 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15772 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15773 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15774 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15775 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15776 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15777 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15778 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15779 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15780 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15781 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
15782 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15783 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15784 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15785 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15786 * sysdeps/x86/fpu/powl_helper.c: Likewise.
15787 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
15788 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
15789 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15790 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15791 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15793 2018-05-09 Joseph Myers <joseph@codesourcery.com>
15795 * sysdeps/generic/math-barriers.h: New file.
15796 * sysdeps/generic/math_private.h [!math_opt_barrier]
15797 (math_opt_barrier): Move to math-barriers.h.
15798 [!math_opt_barrier] (math_force_eval): Likewise.
15799 * sysdeps/aarch64/fpu/math-barriers.h: New file.
15800 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
15802 (math_force_eval): Likewise.
15803 * sysdeps/alpha/fpu/math-barriers.h: New file.
15804 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
15806 (math_force_eval): Likewise.
15807 * sysdeps/x86/fpu/math-barriers.h: New file.
15808 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
15810 (math_force_eval): Likewise.
15811 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
15812 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
15813 multiple-include guard for rename.
15814 * sysdeps/powerpc/fpu/math-barriers.h: New file.
15815 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
15817 (math_force_eval): Likewise.
15819 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15823 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
15825 * stdlib/Makefile (test-bz22786): New test.
15826 * stdlib/test-bz22786.c: New test.
15828 2018-05-09 Joseph Myers <joseph@codesourcery.com>
15830 * include/math-narrow-eval.h: New file. Contents moved from ....
15831 * sysdeps/generic/math_private.h: ... here.
15832 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
15833 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15834 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
15835 * stdlib/strtod_l.c: Likewise.
15836 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15837 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15838 * sysdeps/i386/fpu/s_fdim.c: Likewise.
15839 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15840 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15841 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15842 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15843 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15844 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15845 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15846 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15847 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
15848 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15849 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15850 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15851 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15852 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15853 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15854 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15855 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15856 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15857 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15858 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15859 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15860 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15861 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15862 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15863 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15864 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15866 2018-05-08 Andreas Schwab <schwab@suse.de>
15868 * sysdeps/nptl/internaltypes.h: Fix comment.
15870 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
15872 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15873 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
15876 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15878 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
15879 of I into loop header.
15880 * benchtests/bench-memmove-walk.c
15881 (test_main): Likewise.
15883 2018-05-07 Alexandre Oliva <oliva@gnu.org>
15886 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15887 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15889 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15892 * elf/dl-load.c (open_verify): Fix stack overflow.
15893 * elf/Makefile (tst-big-note): New test.
15894 * elf/tst-big-note-lib.S: New.
15895 * elf/tst-big-note.c: New.
15897 2018-05-04 Joseph Myers <joseph@codesourcery.com>
15899 * scripts/abilist.awk: Ignore absolute symbols.
15900 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
15901 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
15902 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
15903 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
15904 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
15905 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
15906 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15907 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
15908 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
15909 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
15910 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
15911 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
15912 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
15913 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
15914 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
15915 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15916 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
15917 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
15918 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15919 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
15920 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15921 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
15922 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
15923 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
15924 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
15925 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
15926 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
15927 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
15928 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15929 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
15930 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
15931 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15932 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
15933 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15934 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
15935 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
15936 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
15937 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
15938 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
15939 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
15940 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
15941 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15942 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
15943 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
15944 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15945 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
15946 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15947 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
15948 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
15949 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
15950 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
15951 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
15952 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
15953 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
15954 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15955 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
15956 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
15957 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15958 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
15959 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15960 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
15961 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
15962 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
15963 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
15964 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
15965 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
15966 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
15967 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15968 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
15969 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
15970 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15971 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
15972 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15973 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
15974 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
15975 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
15976 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
15977 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
15978 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
15979 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
15980 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15981 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
15982 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
15983 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15984 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
15985 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15986 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
15987 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
15988 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
15989 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
15990 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
15991 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15993 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
15994 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15995 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
15996 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
15997 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15998 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
15999 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
16000 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
16001 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
16002 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
16003 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
16004 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
16005 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16007 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
16008 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16009 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
16010 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
16011 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16012 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
16013 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
16014 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
16015 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
16016 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
16017 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
16018 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
16019 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
16020 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
16021 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16022 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
16023 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
16024 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16025 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
16026 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
16027 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
16028 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
16029 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
16030 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
16031 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16032 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
16033 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16035 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
16036 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
16037 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
16038 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
16039 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16040 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
16041 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
16042 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
16043 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
16044 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
16045 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
16046 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
16047 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
16048 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
16049 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
16050 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
16051 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
16052 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
16053 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16054 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16056 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
16057 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
16058 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
16059 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16060 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
16061 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
16062 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
16063 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
16064 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
16065 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
16066 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16067 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
16068 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
16069 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16070 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
16071 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
16072 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
16073 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
16074 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16075 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
16076 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
16077 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16078 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
16079 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
16080 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
16081 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
16082 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
16083 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
16084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
16085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
16087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
16090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
16091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
16092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
16093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
16095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
16097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
16098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
16101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
16106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
16107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
16113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
16114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
16119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
16120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
16121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
16125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
16126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
16134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
16135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
16136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
16143 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16144 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
16146 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16147 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16148 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
16149 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16150 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16151 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16152 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
16153 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
16154 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16155 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
16156 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16157 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
16158 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
16159 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16161 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16162 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
16163 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
16164 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16165 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
16166 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
16167 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
16168 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
16169 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
16170 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
16171 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
16172 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16174 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16175 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
16176 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
16177 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16178 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
16179 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
16180 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
16181 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
16182 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
16183 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
16184 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
16185 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
16186 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
16187 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16188 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
16189 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
16190 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16191 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
16192 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
16193 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
16194 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
16195 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
16196 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
16197 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
16198 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16200 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
16201 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16202 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
16203 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
16204 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16205 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
16206 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
16207 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
16208 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
16209 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
16210 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
16211 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
16212 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16214 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
16215 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16216 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
16217 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
16218 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16219 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
16220 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
16221 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
16222 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
16223 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
16224 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
16225 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
16226 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
16227 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
16228 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16229 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
16230 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
16231 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16232 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
16233 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
16234 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
16235 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
16236 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
16237 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
16238 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16239 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
16240 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
16241 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
16242 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16243 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
16244 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
16245 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16246 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
16247 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
16248 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
16249 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
16250 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
16251 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
16253 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16256 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
16257 Use atomic_load_acquire to load __tid.
16259 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16261 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
16262 Restore the pointer into %rdx, after syscall and use %rdx,
16263 instead of %rsi, to restore context.
16265 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16267 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
16268 Pop the pointer into %rdx after syscall and use %rdx, instead
16269 of %rsi, to restore context.
16271 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16273 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
16274 handlers after setjmp.
16275 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
16277 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
16278 <libc-pointer-arith.h>.
16279 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
16280 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
16281 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
16282 _JUMP_BUF_SIGSET_BITS_PER_WORD.
16283 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
16284 * sysdeps/x86/__longjmp_cancel.S: New file.
16285 * sysdeps/x86/longjmp.c: Likewise.
16286 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
16288 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16290 * NEWS: Add ustat.h deprecation entry.
16291 * bits/ustat.h: Remove file.
16292 * misc/sys/ustat.h: Likewise.
16293 * misc/ustat.h: Likewise.
16294 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
16295 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
16296 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
16297 compatibility mode.
16298 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
16299 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
16300 generic Linux implementation.
16302 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16304 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
16305 * math/w_expl_compat.c: Likewise.
16306 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
16308 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
16310 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16312 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16314 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
16315 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
16316 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
16318 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
16319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16320 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16321 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
16322 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
16325 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16327 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
16329 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
16330 * math/w_asin_template.c: Likewise.
16331 * math/w_atanh_template.c: Likewise.
16333 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16335 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
16336 to powerpc/powerpc64/be for big-endian.
16337 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
16340 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
16341 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
16342 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
16343 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
16344 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16345 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
16346 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
16347 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
16348 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
16349 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16350 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
16351 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
16352 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
16353 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
16354 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
16355 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
16356 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
16357 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
16358 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
16359 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
16360 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
16361 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16362 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
16363 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
16364 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
16365 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16366 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
16367 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
16368 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
16369 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16370 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16371 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16373 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
16374 adjusted to imply powerpc64 and older processors on powerpc64/be.
16375 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
16376 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
16377 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
16378 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
16379 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
16380 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
16381 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
16382 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
16383 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
16384 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
16385 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
16386 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
16387 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
16388 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
16389 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
16390 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
16391 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
16392 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
16393 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
16394 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
16395 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
16396 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
16397 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
16398 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
16399 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
16400 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
16401 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
16402 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
16403 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
16404 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
16405 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
16407 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
16408 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
16409 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
16410 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
16412 * sysdeps/powerpc/powerpc64/be/Implies: New file.
16413 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
16414 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
16415 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
16417 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
16418 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
16419 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
16420 * sysdeps/powerpc/powerpc64le/configure: Likewise.
16421 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
16422 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
16423 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
16424 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
16425 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
16426 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
16427 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
16429 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
16430 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
16431 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
16432 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
16433 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
16434 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
16435 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
16436 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
16437 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
16438 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
16439 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
16441 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
16442 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
16443 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
16444 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
16445 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
16446 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
16447 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
16448 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
16449 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
16450 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
16451 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
16452 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
16454 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
16455 and adjusted to imply olders processors.
16456 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
16457 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
16458 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
16459 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
16460 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
16461 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
16462 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
16463 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
16464 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
16465 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
16466 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
16468 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
16470 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
16471 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
16473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
16475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
16476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
16478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
16480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
16482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
16484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
16485 powerpc64 and adjusted.
16486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
16487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
16488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
16491 2018-04-27 Joseph Myers <joseph@codesourcery.com>
16493 * sysdeps/tile: Remove.
16494 * sysdeps/unix/sysv/linux/tile: Likewise.
16495 * README (tilegx-*-linux-gnu): Remove from list of supported
16497 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
16498 contribution of support for generic Linux kernel syscall
16500 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
16501 tilegx configurations.
16502 (Config.install_linux_headers): Do not handle tile.
16503 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
16505 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
16506 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
16507 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16508 conditional undefine and redefine.
16509 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
16511 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16512 conditional undefine and redefine.
16514 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
16516 * signal/tst-sigaction.c: New file to test BZ #23069.
16517 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
16519 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16522 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
16523 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
16524 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
16525 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16527 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16529 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
16530 _DIRENT_MATCHES_DIRENT64 is not defined.
16531 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
16532 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
16534 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
16535 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
16537 2018-04-25 Joseph Myers <joseph@codesourcery.com>
16539 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
16540 version to GCC 8 branch.
16542 2018-04-24 Joseph Myers <joseph@codesourcery.com>
16544 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
16545 (check_no_hidden): Use type of original function when declaring
16548 * sysdeps/unix/sysv/linux/sys/ptrace.h
16549 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
16550 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
16551 (struct __ptrace_seccomp_metadata): New type.
16552 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16553 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16554 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
16555 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16556 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
16557 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16558 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16559 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16560 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
16561 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16562 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
16563 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16564 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
16565 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16566 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
16567 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16569 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16571 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
16573 * dirent/versionsort.c (versionsort): Likewise.
16574 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
16575 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
16576 * dirent/versionsort64.c (versionsort64): Likewise.
16577 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
16578 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
16579 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
16580 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
16581 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
16582 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
16583 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
16584 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
16585 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
16586 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
16587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
16588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
16589 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
16590 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
16592 2018-04-23 Joseph Myers <joseph@codesourcery.com>
16594 * elf/elf.h (NT_PPC_PKEY): New macro.
16596 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
16599 * localedata/locales/hr_HR: fix thousands_sep and
16602 2018-04-20 Joseph Myers <joseph@codesourcery.com>
16604 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
16605 (XTABS): Define to TAB3.
16607 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16609 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16611 * dirent/scandir-tail-common.c: New file.
16612 * dirent/scandir-tail.c: Use scandir-tail-common.c.
16613 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
16614 * dirent/scandir.c: Use scandir-tail-common.c.
16615 * dirent/scandirat.c: Likewise.
16616 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
16617 * dirent/scandir64.c (scandir64): Always build and alias to scandir
16618 if _DIRENT_MATCHES_DIRENT64 is defined.
16619 * dirent/scandirat64.c (scandirat64): Likewise.
16620 * include/dirent.h (__scandir_tail): Only define iff
16621 _DIRENT_MATCHES_DIRENT64 is not defined.
16622 (__scandir64_tail): Define regardless.
16623 (__scandirat, scandirat64): Remove libc_hidden_proto.
16624 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
16625 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
16626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
16627 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
16628 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16629 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
16630 * sysdeps/unix/sysv/linux/scandir64.c: New file.
16632 2018-04-20 Joseph Myers <joseph@codesourcery.com>
16634 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
16636 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16638 (_dl_aarch64_cap_flags): Add asimdfhm.
16640 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
16642 * sysdeps/nios2/libm-test-ulps: Update.
16644 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16646 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
16647 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
16649 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
16651 (_DIRENT_MATCHES_DIRENT64): Undef
16652 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
16653 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
16654 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
16655 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
16656 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
16657 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
16658 use getdents64 syscalls as base.
16659 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
16660 symbol if required.
16661 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
16662 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
16663 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
16664 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
16665 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
16666 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
16667 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
16668 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
16669 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16670 (__get_clockfreq_via_proc_openprom): Use __getdents64.
16671 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
16673 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16675 * scripts/test_printers_common.py (init_test): Disable lock elision.
16677 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16679 * math/test-tgmath.c (count_double, count_float,
16680 count_ldouble, count_cdouble, count_cfloat,
16681 count_cldouble): Use volatile int.
16683 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16685 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
16686 (conformtest-xfail-conds): Add i386-gnu.
16687 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
16689 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
16690 ipc_perm.cuid, ipc_perm.cgid): Likewise.
16691 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
16692 msqid_ds.msg_lrpid): Likewise.
16693 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
16695 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
16696 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
16697 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
16698 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
16700 (struct statvfs64): Likewise.
16701 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
16703 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
16704 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
16705 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
16706 instead of wait_queue.
16707 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
16708 instead of vm_area_struct.
16709 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
16710 struct sched_param definition to it.
16711 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16712 * bits/types/struct_sched_param.h: New file.
16713 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
16714 <bits/types/struct_sched_param.h> instead of <sched.h>.
16715 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
16716 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
16717 generic version but include <bits/pthreadtypes.h> to make struct
16718 sigevent's sigev_notify_attributes field a pthread_attr_t*.
16719 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
16721 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
16722 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
16723 [__USE_XOPEN] (OFDEL): New macro.
16724 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
16725 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
16726 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
16728 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
16729 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
16730 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
16732 * sysdeps/i386/sys/ucontext.h: Likewise.
16733 * sysdeps/m68k/sys/ucontext.h: Likewise.
16734 * sysdeps/mips/sys/ucontext.h: Likewise.
16735 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
16736 * sysdeps/mach/hurd/i386/Makefile
16737 (test-xfail-POSIX/fcntl.h/conform): Add.
16738 (test-xfail-POSIX/signal.h/conform): Add.
16739 (test-xfail-POSIX/semaphore.h/conform): Add.
16740 (test-xfail-POSIX/regex.h/conform): Add.
16741 (test-xfail-POSIX/aio.h/conform): Add.
16742 (test-xfail-POSIX/mqueue.h/conform): Add.
16743 (test-xfail-POSIX/sys/types.h/conform): Add.
16744 (test-xfail-UNIX98/fcntl.h/conform): Add.
16745 (test-xfail-UNIX98/netdb.h/conform): Add.
16746 (test-xfail-UNIX98/signal.h/conform): Add.
16747 (test-xfail-UNIX98/semaphore.h/conform): Add.
16748 (test-xfail-UNIX98/regex.h/conform): Add.
16749 (test-xfail-UNIX98/aio.h/conform): Add.
16750 (test-xfail-UNIX98/ftw.h/conform): Add.
16751 (test-xfail-UNIX98/mqueue.h/conform): Add.
16752 (test-xfail-UNIX98/netinet/in.h/conform): Add.
16753 (test-xfail-UNIX98/sys/wait.h/conform): Add.
16754 (test-xfail-UNIX98/sys/sem.h/conform): Add.
16755 (test-xfail-UNIX98/sys/uio.h/conform): Add.
16756 (test-xfail-UNIX98/sys/socket.h/conform): Add.
16757 (test-xfail-UNIX98/sys/types.h/conform): Add.
16758 (test-xfail-UNIX98/stdlib.h/conform): Add.
16759 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
16760 (test-xfail-POSIX2008/fcntl.h/conform): Add.
16761 (test-xfail-POSIX2008/netdb.h/conform): Add.
16762 (test-xfail-POSIX2008/signal.h/conform): Add.
16763 (test-xfail-POSIX2008/semaphore.h/conform): Add.
16764 (test-xfail-POSIX2008/regex.h/conform): Add.
16765 (test-xfail-POSIX2008/aio.h/conform): Add.
16766 (test-xfail-POSIX2008/mqueue.h/conform): Add.
16767 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
16768 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
16769 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
16770 (test-xfail-POSIX2008/sys/types.h/conform): Add.
16771 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
16772 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
16773 (test-xfail-XOPEN2K/netdb.h/conform): Add.
16774 (test-xfail-XOPEN2K/signal.h/conform): Add.
16775 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
16776 (test-xfail-XOPEN2K/regex.h/conform): Add.
16777 (test-xfail-XOPEN2K/aio.h/conform): Add.
16778 (test-xfail-XOPEN2K/ftw.h/conform): Add.
16779 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
16780 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
16781 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
16782 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
16783 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
16784 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
16785 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
16786 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
16787 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
16788 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
16789 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
16790 (test-xfail-XOPEN2K8/signal.h/conform): Add.
16791 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
16792 (test-xfail-XOPEN2K8/regex.h/conform): Add.
16793 (test-xfail-XOPEN2K8/aio.h/conform): Add.
16794 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
16795 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
16796 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
16797 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
16798 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
16799 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
16800 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
16801 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
16802 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
16803 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
16804 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
16806 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
16807 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
16809 2018-04-18 Joseph Myers <joseph@codesourcery.com>
16811 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16812 --enable-obsolete for powerpc-linux-gnuspe.
16814 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16816 * conform/data/sys/un.h-data: Allow sun_ prefix.
16817 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
16819 * sysdeps/mach/include/mach.h: Likewise.
16820 * sysdeps/mach/include/mach/mig_support.h: Likewise.
16821 * sysdeps/mach/include/mach_error.h: Likewise.
16823 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16825 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
16826 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
16827 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
16828 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
16830 2018-04-16 Andreas Schwab <schwab@suse.de>
16833 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
16835 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16837 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
16838 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
16840 2018-04-12 DJ Delorie <dj@redhat.com>
16842 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16845 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16847 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
16848 (struct kernel_sigaction): Use the same definition on 31bit as is used
16851 2018-04-09 Florian Weimer <fweimer@redhat.com>
16854 * resolv/res_send.c (send_dg): Use designated initializers instead
16855 of assignment to zero-initialize other fields of struct mmsghdr.
16857 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16859 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
16860 __READDIR_ALIAS): Undefine after usage.
16861 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
16862 __READDIR_R_ALIAS): Likewise.
16863 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
16864 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
16865 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
16866 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
16867 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
16868 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
16869 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16870 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16871 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
16872 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
16873 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
16874 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
16875 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16876 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
16877 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
16878 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
16879 * sysdeps/unix/sysv/linux/readdir.c: New file.
16880 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
16881 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
16882 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
16884 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16886 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
16888 * manual/charset.texi (Converting a Character): Fix typo.
16890 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16894 * sysdeps/arm/libm-test-ulps: Update.
16896 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
16897 as base implementation.
16898 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16899 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16900 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16901 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16902 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16903 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
16904 remove unrequired definitions and update comments.
16905 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
16906 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
16907 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
16908 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
16909 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
16910 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
16911 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
16912 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
16913 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
16914 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
16915 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
16916 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16917 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16918 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
16919 and RESET_SA_RESTORER hooks.
16921 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
16923 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16925 2018-04-05 Florian Weimer <fweimer@redhat.com>
16927 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
16928 integer overflow, memory leak on error, and indeterminate errno
16929 value. Add a null wide character to terminate the result string.
16930 * manual/charset.texi (Converting a Character): Mention embedded
16931 null bytes in the mbrtowc input string. Explain what happens in
16932 the -2 result case. Do not claim that mbrtowc is simple or
16933 obvious to use. Adjust the description of the code example. Use
16934 @code, not @var, for concrete variables.
16936 2018-04-05 Florian Weimer <fweimer@redhat.com>
16938 * manual/examples/mbstouwcs.c: New file.
16939 * manual/charset.texi (Converting a Character): Include it.
16941 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16943 * include/dirent.h (dirfd): Add hidden proto.
16944 * dirent/dirfd.c (dirfd): Add hidden def.
16945 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
16946 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
16948 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16950 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
16951 sin, cos and sincos to 1 ULP.
16953 2018-04-04 Maciej W. Rozycki <macro@mips.com>
16956 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
16958 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
16959 * elf/tst-absolute-sym.c: New file.
16960 * elf/tst-absolute-sym-lib.c: New file.
16961 * elf/tst-absolute-sym-lib.lds: New file.
16962 * elf/Makefile (tests): Add `tst-absolute-sym'.
16963 (modules-names): Add `tst-absolute-sym-lib'.
16964 (LDLIBS-tst-absolute-sym-lib.so): New variable.
16965 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
16966 ($(objpfx)tst-absolute-sym): New dependency.
16969 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
16971 (SYMBOL_ADDRESS): New macro.
16972 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
16973 SYMBOL_ADDRESS for symbol address calculation.
16974 * elf/dl-runtime.c (_dl_fixup): Likewise.
16975 (_dl_profile_fixup): Likewise.
16976 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
16977 * elf/rtld.c (dl_main): Likewise.
16978 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
16979 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
16980 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
16981 (elf_machine_rela): Likewise.
16982 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
16983 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
16984 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16985 (elf_machine_rela): Likewise.
16986 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16987 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
16988 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
16989 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
16991 (elf_machine_reloc): Likewise.
16992 (elf_machine_got_rel): Likewise.
16993 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
16994 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
16995 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16997 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16999 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
17000 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17002 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17004 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17005 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17007 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17009 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
17010 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17012 2018-04-04 Zack Weinberg <zackw@panix.com>
17014 * sysdeps/generic/internal-signals.h: Include signal.h,
17015 sigsetops.h, and stdbool.h.
17016 (__libc_signal_block_all): Actually block all signals.
17017 (__libc_signal_block_app): Likewise.
17018 (__libc_signal_restore_set): Actually restore the signal mask.
17020 2018-04-04 Florian Weimer <fweimer@redhat.com>
17022 inet: Actually build and run tst-deadline.
17023 * inet/Makefile (tests-internal): Add tst-deadline and do not
17024 overwrite the variable.
17025 (tests-static-internal): Remove variable.
17027 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
17030 * bits/uio-ext.h (RWF_APPEND): New.
17031 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
17032 * manual/llio.texi: Document RWF_APPEND.
17033 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
17034 (RWF_SUPPORTED): Add RWF_APPEND.
17036 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17039 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
17040 check for internal nptl signals.
17041 * nptl/sigaction.c (__sigaction): Likewise.
17042 * signal/sigaddset.c (sigaddset): Likewise.
17043 * signal/sigdelset.c (sigdelset): Likewise.
17044 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17045 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
17047 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
17048 to filter out internal nptl signals.
17049 * signal/tst-sigset.c (do_test): Check ech signal indidually and
17050 also check realtime signals using standard macros.
17051 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
17052 __is_internal_signal, __libc_signal_block_all,
17053 __libc_signal_block_app, __libc_signal_restore_set): New functions.
17054 * sysdeps/nptl/sigfillset.c: Remove file.
17055 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
17056 Change return to bool.
17057 (__clear_internal_signals): Remove SIGTIMER clean since it is
17058 equal to SIGCANEL on Linux.
17059 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
17060 signal set was constructed using standard functions.
17062 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17064 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
17065 ifname is too long.
17066 * hurd/hurdsig.c (interrupted_reply_port_location): Use
17067 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
17068 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
17070 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
17071 * signal/sigaddset.c: Include <sigsetopts.h>.
17072 * signal/sigdelset.c: Likewise.
17074 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17076 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
17078 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
17079 logic as sin and cos.
17081 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17083 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
17084 inputs. Return correct sign.
17085 (do_sincos): Remove small input check before do_sin, let do_sin set
17090 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17092 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
17093 (do_cos_slow): Likewise.
17094 (do_sin_slow): Likewise.
17095 (reduce_and_compute): Likewise.
17100 (sloww1): Likewise.
17101 (sloww2): Likewise.
17103 (bslow1): Likewise.
17104 (bslow2): Likewise.
17105 (cslow2): Likewise.
17107 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17109 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
17110 (do_cos): Remove corp parameter and calculations.
17111 (do_sin): Likewise.
17112 (do_sincos): Remove cor variable.
17113 (__sin): Use do_sincos for huge inputs.
17115 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17116 (reduce_and_compute_sincos): Remove unused function.
17118 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17120 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
17121 reduce_sincos, improve accuracy to 136 bits.
17122 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
17123 (__sin): Use improved reduction and simplified do_sincos calculation.
17125 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17127 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17129 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
17130 (do_sincos_2): Likewise.
17131 (__sin): Remove middle range reduction case.
17133 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
17136 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17138 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
17139 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
17142 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
17144 2018-04-03 Joseph Myers <joseph@codesourcery.com>
17146 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17149 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17151 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
17152 Remove definitions.
17153 (opendir_oflags): Use O_DIRECTORY regardless.
17154 (__opendir, __opendirat): Remove need_isdir_precheck usage.
17155 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
17157 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17159 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
17160 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
17162 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
17163 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
17164 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
17165 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
17166 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
17167 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
17169 * htl/Makefile: Bump licence to LGPL 2.1+.
17170 * htl/alloca_cutoff.c: Likewise.
17171 * htl/cthreads-compat.c: Likewise.
17172 * htl/lockfile.c: Likewise.
17173 * htl/pt-alloc.c: Likewise.
17174 * htl/pt-cancel.c: Likewise.
17175 * htl/pt-cleanup.c: Likewise.
17176 * htl/pt-create.c: Likewise.
17177 * htl/pt-dealloc.c: Likewise.
17178 * htl/pt-detach.c: Likewise.
17179 * htl/pt-exit.c: Likewise.
17180 * htl/pt-getattr.c: Likewise.
17181 * htl/pt-initialize.c: Likewise.
17182 * htl/pt-internal.h: Likewise.
17183 * htl/pt-join.c: Likewise.
17184 * htl/pt-self.c: Likewise.
17185 * htl/pt-setcancelstate.c: Likewise.
17186 * htl/pt-setcanceltype.c: Likewise.
17187 * htl/pt-sigmask.c: Likewise.
17188 * htl/pt-spin-inlines.c: Likewise.
17189 * htl/pt-testcancel.c: Likewise.
17190 * htl/pt-yield.c: Likewise.
17191 * htl/tests/test-1.c: Likewise.
17192 * htl/tests/test-10.c: Likewise.
17193 * htl/tests/test-11.c: Likewise.
17194 * htl/tests/test-12.c: Likewise.
17195 * htl/tests/test-13.c: Likewise.
17196 * htl/tests/test-14.c: Likewise.
17197 * htl/tests/test-15.c: Likewise.
17198 * htl/tests/test-16.c: Likewise.
17199 * htl/tests/test-17.c: Likewise.
17200 * htl/tests/test-2.c: Likewise.
17201 * htl/tests/test-3.c: Likewise.
17202 * htl/tests/test-4.c: Likewise.
17203 * htl/tests/test-5.c: Likewise.
17204 * htl/tests/test-6.c: Likewise.
17205 * htl/tests/test-7.c: Likewise.
17206 * htl/tests/test-8.c: Likewise.
17207 * htl/tests/test-9.c: Likewise.
17208 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
17209 * sysdeps/htl/bits/cancelation.h: Likewise.
17210 * sysdeps/htl/bits/pthread-np.h: Likewise.
17211 * sysdeps/htl/bits/pthread.h: Likewise.
17212 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
17213 * sysdeps/htl/bits/semaphore.h: Likewise.
17214 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
17215 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
17216 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
17217 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
17218 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
17219 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
17220 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
17221 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
17222 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
17223 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
17224 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
17225 * sysdeps/htl/old_pt-atfork.c: Likewise.
17226 * sysdeps/htl/pt-atfork.c: Likewise.
17227 * sysdeps/htl/pt-attr-destroy.c: Likewise.
17228 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
17229 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
17230 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
17231 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
17232 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
17233 * sysdeps/htl/pt-attr-getscope.c: Likewise.
17234 * sysdeps/htl/pt-attr-getstack.c: Likewise.
17235 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
17236 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
17237 * sysdeps/htl/pt-attr-init.c: Likewise.
17238 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
17239 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
17240 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
17241 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
17242 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
17243 * sysdeps/htl/pt-attr-setscope.c: Likewise.
17244 * sysdeps/htl/pt-attr-setstack.c: Likewise.
17245 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
17246 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
17247 * sysdeps/htl/pt-attr.c: Likewise.
17248 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
17249 * sysdeps/htl/pt-barrier-init.c: Likewise.
17250 * sysdeps/htl/pt-barrier-wait.c: Likewise.
17251 * sysdeps/htl/pt-barrier.c: Likewise.
17252 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
17253 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
17254 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
17255 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
17256 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
17257 * sysdeps/htl/pt-cond-destroy.c: Likewise.
17258 * sysdeps/htl/pt-cond-init.c: Likewise.
17259 * sysdeps/htl/pt-cond-signal.c: Likewise.
17260 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
17261 * sysdeps/htl/pt-cond-wait.c: Likewise.
17262 * sysdeps/htl/pt-cond.c: Likewise.
17263 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
17264 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
17265 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
17266 * sysdeps/htl/pt-condattr-init.c: Likewise.
17267 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
17268 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
17269 * sysdeps/htl/pt-destroy-specific.c: Likewise.
17270 * sysdeps/htl/pt-equal.c: Likewise.
17271 * sysdeps/htl/pt-getconcurrency.c: Likewise.
17272 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
17273 * sysdeps/htl/pt-getschedparam.c: Likewise.
17274 * sysdeps/htl/pt-getspecific.c: Likewise.
17275 * sysdeps/htl/pt-init-specific.c: Likewise.
17276 * sysdeps/htl/pt-key-create.c: Likewise.
17277 * sysdeps/htl/pt-key-delete.c: Likewise.
17278 * sysdeps/htl/pt-key.h: Likewise.
17279 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
17280 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
17281 * sysdeps/htl/pt-mutex-init.c: Likewise.
17282 * sysdeps/htl/pt-mutex-lock.c: Likewise.
17283 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
17284 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
17285 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
17286 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
17287 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
17288 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
17289 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
17290 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
17291 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
17292 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
17293 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
17294 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
17295 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
17296 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
17297 * sysdeps/htl/pt-mutexattr.c: Likewise.
17298 * sysdeps/htl/pt-once.c: Likewise.
17299 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
17300 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
17301 * sysdeps/htl/pt-rwlock-init.c: Likewise.
17302 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
17303 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
17304 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
17305 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
17306 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
17307 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
17308 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
17309 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
17310 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
17311 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
17312 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
17313 * sysdeps/htl/pt-setconcurrency.c: Likewise.
17314 * sysdeps/htl/pt-setschedparam.c: Likewise.
17315 * sysdeps/htl/pt-setschedprio.c: Likewise.
17316 * sysdeps/htl/pt-setspecific.c: Likewise.
17317 * sysdeps/htl/pt-spin.c: Likewise.
17318 * sysdeps/htl/pt-startup.c: Likewise.
17319 * sysdeps/htl/pthread.h: Likewise.
17320 * sysdeps/htl/sem-close.c: Likewise.
17321 * sysdeps/htl/sem-destroy.c: Likewise.
17322 * sysdeps/htl/sem-getvalue.c: Likewise.
17323 * sysdeps/htl/sem-init.c: Likewise.
17324 * sysdeps/htl/sem-open.c: Likewise.
17325 * sysdeps/htl/sem-post.c: Likewise.
17326 * sysdeps/htl/sem-timedwait.c: Likewise.
17327 * sysdeps/htl/sem-trywait.c: Likewise.
17328 * sysdeps/htl/sem-unlink.c: Likewise.
17329 * sysdeps/htl/sem-wait.c: Likewise.
17330 * sysdeps/hurd/htl/pt-kill.c: Likewise.
17331 * sysdeps/i386/htl/pt-machdep.h: Likewise.
17332 * sysdeps/mach/htl/pt-block.c: Likewise.
17333 * sysdeps/mach/htl/pt-spin.c: Likewise.
17334 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
17335 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
17336 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
17337 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
17338 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
17339 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
17340 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
17341 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
17342 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
17343 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
17344 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
17345 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
17346 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
17347 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
17348 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
17349 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
17350 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
17351 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
17352 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
17353 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
17354 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
17355 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
17356 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
17357 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
17358 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
17359 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
17360 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
17361 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
17362 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
17363 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
17364 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
17365 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
17366 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
17367 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
17368 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
17369 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
17370 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
17371 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
17372 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
17373 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
17374 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
17375 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
17376 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
17378 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
17379 * README: Remove the mention of out-of-tree patches needed for
17382 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
17383 (UTIME_NOW, UTIME_OMIT): Define macros.
17385 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
17386 instead of pthread_detach.
17387 (__cthread_fork): Call __pthread_create instead of pthread_create.
17388 (__cthread_keycreate): Call __pthread_key_create instead of
17389 pthread_key_create.
17390 (__cthread_getspecific): Call __pthread_getspecific instead of
17391 pthread_getspecific.
17392 (__cthread_setspecific): Call __pthread_setspecific instead of
17393 pthread_setspecific.
17394 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
17395 __pthread_mutex_unlock instead of pthread_mutex_lock and
17396 pthread_mutex_unlock.
17397 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
17398 ___pthread_get_cleanup_stack.
17399 (__pthread_get_cleanup_stack): New strong alias.
17400 * htl/pt-create.c: Include <pthreadP.h>.
17401 (entry_point): Call __pthread_exit instead of pthread_exit.
17402 (pthread_create): Rename to __pthread_create.
17403 (pthread_create): New strong alias.
17404 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
17405 (pthread_detach): New strong alias.
17406 (__pthread_detach): Call __pthread_cond_broadcast instead of
17407 pthread_cond_broadcast.
17408 * htl/pt-exit.c: Include <pthreadP.h>.
17409 (__pthread_exit): Call __pthread_setcancelstate and
17410 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
17411 __pthread_get_cleanup_stack.
17412 * htl/pt-testcancel.c: Include <pthreadP.h>.
17413 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
17414 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
17415 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
17416 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
17417 pthread_attr_getstacksize.
17418 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
17419 Rename to __pthread_attr_getstackaddr.
17420 (pthread_attr_getstackaddr): New strong alias.
17421 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
17422 Rename to __pthread_attr_getstacksize.
17423 (pthread_attr_getstacksize): New strong alias.
17424 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
17425 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
17426 (pthread_attr_setstack): New strong alias.
17427 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
17428 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
17429 pthread_attr_getstacksize, pthread_attr_setstacksize and
17430 pthread_attr_setstackaddr.
17431 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
17432 Rename to __pthread_attr_setstackaddr.
17433 (pthread_attr_setstackaddr): New strong alias.
17434 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
17435 Rename to __pthread_attr_setstacksize.
17436 (pthread_attr_setstacksize): New strong alias.
17437 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
17438 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
17440 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
17441 (__pthread_key_create): New hidden def.
17442 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
17443 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
17444 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
17445 __pthread_exit, __pthread_key_create, __pthread_getspecific,
17446 __pthread_setspecific, __pthread_setcancelstate,
17447 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
17448 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
17449 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
17451 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
17452 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
17453 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
17454 (pthread_attr_setstackaddr): New strong alias.
17455 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
17456 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
17457 (pthread_attr_setstacksize): New strong alias.
17458 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
17459 (call_exit): Call __pthread_exit instead of pthread_exit.
17460 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
17461 (_pthread_mutex_init): New hidden definition.
17462 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
17463 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
17464 instead of pthread_attr_init and pthread_attr_setstack.
17466 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
17467 __vm_deallocate instead of vm_allocate and vm_deallocate.
17468 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
17470 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
17472 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
17474 * hurd/siginfo.c: Include <libioP.h>.
17475 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
17476 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
17478 * mach/devstream.c: Include <libioP.h>.
17479 (dealloc_ref): Call __mach_port_deallocate instead of
17480 mach_port_deallocate.
17481 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
17482 Call __mach_port_deallocate instead of mach_port_deallocate.
17483 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
17485 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
17487 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
17488 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
17489 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
17491 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
17493 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
17494 instead of sysconf.
17495 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
17496 __clock_gettime instead of clock_gettime.
17497 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
17498 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17499 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
17500 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17501 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
17503 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
17504 __clock_gettime and __nanosleep instead of clock_gettime and
17506 * hurd/catch-signal.c (hurd_catch_signal): Rename to
17507 __hurd_catch_signal.
17508 (hurd_catch_signal): New strong alias.
17509 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
17510 __hurd_catch_signal instead of hurd_catch_signal.
17511 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
17512 * hurd/hurdexec.c (_hurd_init): Add hidden def.
17513 * hurd/hurdinit.c (_hurd_init): Add hidden def.
17514 * hurd/hurdsig.c: Include <mach/mig_support.h>.
17515 (_hurd_thread_sigstate): Add hidden def.
17516 (_hurd_internal_post_signal): Use __mutex_unlock instead of
17518 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
17519 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
17520 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
17521 __hurd_file_name_path_lookup.
17522 (hurd_file_name_path_lookup): New strong alias.
17523 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
17524 hurd_file_name_path_lookup.
17525 * mach/errstring.c (mach_error_type): Add hidden def.
17526 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
17527 * mach/mutex-init.c (__mutex_init): Add hidden def.
17528 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
17529 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
17530 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
17531 * sysdeps/mach/hurd/getcwd.c
17532 (_hurd_canonicalize_directory_name_internal): Rename to
17533 __hurd_canonicalize_directory_name_internal.
17534 (_hurd_canonicalize_directory_name_internal): New strong alias.
17535 (__canonicalize_directory_name_internal, __getcwd): Call
17536 __hurd_canonicalize_directory_name_internal instead of
17537 _hurd_canonicalize_directory_name_internal.
17538 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
17539 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
17541 * sysdeps/hurd/include/hurd.h: New file.
17542 * sysdeps/hurd/include/hurd/fd.h: New file.
17543 * sysdeps/hurd/include/hurd/signal.h: New file.
17544 * sysdeps/mach/include/lock-intern.h: New file.
17545 * sysdeps/mach/include/mach.h: New file.
17546 * sysdeps/mach/include/mach/mig_support.h: New file.
17547 * sysdeps/mach/include/mach_error.h: New file.
17548 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
17550 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
17551 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
17552 _HEADER_H_HIDDEN_DEF macro.
17553 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
17554 _hurd_fd_error_signal): Add hidden prototype.
17555 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
17557 * libio/iolibio.h (_IO_puts): New hidden prototype.
17558 * libio/ioputs.c (_IO_puts): New hidden def.
17559 * sysdeps/mach/hurd/localplt.data: New file.
17561 2018-04-02 Agustina Arzille <avarzille@riseup.net>
17562 Amos Jeffries <squid3@treenet.co.nz>
17563 David Michael <fedora.dm0@gmail.com>
17564 Marco Gerards <marco@gnu.org>
17565 Marcus Brinkmann <marcus@gnu.org>
17566 Neal H. Walfield <neal@gnu.org>
17567 Pino Toscano <toscano.pino@tiscali.it>
17568 Richard Braun <rbraun@sceen.net>
17569 Roland McGrath <roland@gnu.org>
17570 Samuel Thibault <samuel.thibault@ens-lyon.org>
17571 Thomas DiModica <ricinwich@yahoo.com>
17572 Thomas Schwinge <tschwinge@gnu.org>
17574 * htl: New directory.
17575 * sysdeps/htl: New directory.
17576 * sysdeps/hurd/htl: New directory.
17577 * sysdeps/i386/htl: New directory.
17578 * sysdeps/mach/htl: New directory.
17579 * sysdeps/mach/hurd/htl: New directory.
17580 * sysdeps/mach/hurd/i386/htl: New directory.
17581 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
17582 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
17583 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
17585 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17587 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
17588 signals in thread created for runing timers.
17590 2018-04-01 Florian Weimer <fweimer@redhat.com>
17592 * support/support_format_addrinfo.c (support_format_addrinfo):
17593 Include unknown error number in formatted result.
17595 2018-03-29 Florian Weimer <fweimer@redhat.com>
17597 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
17600 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17602 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
17603 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
17604 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17605 (__ASSUME_CLONE_BACKWARDS): Define.
17607 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
17610 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
17611 early when linux sentinel value is set.
17613 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17615 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
17617 2018-03-27 Andreas Schwab <schwab@suse.de>
17620 * resolv/res_send.c (__res_context_send): Return ENOMEM if
17621 allocation of private copy of nsaddr_list fails.
17623 2018-03-26 Joseph Myers <joseph@codesourcery.com>
17626 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
17627 * sysdeps/unix/sysv/linux/umount.c: ... here.
17628 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
17629 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
17630 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
17631 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
17632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
17633 * sysdeps/unix/sysv/linux/umount.S: Likewise.
17634 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
17636 2018-03-26 Andreas Schwab <schwab@suse.de>
17638 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
17639 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
17640 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
17641 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
17642 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
17643 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
17644 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
17645 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
17646 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
17647 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
17648 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
17649 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
17650 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
17651 (R_RISCV_NUM): Define.
17653 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17655 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
17656 TLS declaration of errno.
17657 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
17659 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
17660 (ARCH_SETUP_TLS): Likewise.
17661 * sysdeps/mach/hurd/libc-start.h: New file copied from
17662 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
17663 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
17664 instead of __libc_setup_tls.
17665 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
17666 __libc_setup_tls before initializing libpthread and running _hurd_init
17667 which starts the signal thread.
17668 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
17670 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17672 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
17675 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
17676 after it is defined.
17678 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
17679 Max Horn <max@quendi.de>
17683 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
17685 * string/test-memmove.c (do_test2): New testcase.
17687 2018-03-22 Joseph Myers <joseph@codesourcery.com>
17689 * sysdeps/generic/frame.h: Remove file.
17690 * sysdeps/arm/frame.h: Likewise.
17691 * sysdeps/hppa/frame.h: Likewise.
17692 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
17694 (GET_FRAME): Likewise.
17695 (GET_STACK): Likewise.
17696 (CALL_SIGHANDLER): Likewise.
17697 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
17699 (GET_FRAME): Likewise.
17700 (GET_STACK): Likewise.
17701 (CALL_SIGHANDLER): Likewise.
17702 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
17703 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17704 (GET_FRAME): Likewise.
17705 (GET_STACK): Likewise.
17706 (CALL_SIGHANDLER): Likewise.
17707 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
17708 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17709 (GET_FRAME): Likewise.
17710 (GET_STACK): Likewise.
17711 (ADVANCE_STACK_FRAME): Likewise.
17712 (CALL_SIGHANDLER): Likewise.
17713 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
17714 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17715 (GET_FRAME): Likewise.
17716 (GET_STACK): Likewise.
17717 (CALL_SIGHANDLER): Likewise.
17718 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
17719 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17720 (GET_FRAME): Likewise.
17721 (GET_STACK): Likewise.
17722 (CALL_SIGHANDLER): Likewise.
17723 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
17724 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17725 (GET_FRAME): Likewise.
17726 (GET_STACK): Likewise.
17727 (CALL_SIGHANDLER): Likewise.
17728 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
17729 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17730 (GET_FRAME): Likewise.
17731 (GET_STACK): Likewise.
17732 (CALL_SIGHANDLER): Likewise.
17733 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
17734 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17735 (GET_FRAME): Likewise.
17736 (GET_STACK): Likewise.
17737 (CALL_SIGHANDLER): Likewise.
17738 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
17739 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17740 (GET_FRAME): Likewise.
17741 (GET_STACK): Likewise.
17742 (CALL_SIGHANDLER): Likewise.
17743 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
17744 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17745 (GET_FRAME): Likewise.
17746 (GET_STACK): Likewise.
17747 (CALL_SIGHANDLER): Likewise.
17748 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
17749 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17750 (GET_FRAME): Likewise.
17751 (GET_STACK): Likewise.
17752 (CALL_SIGHANDLER): Likewise.
17753 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
17754 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17755 (GET_FRAME): Likewise.
17756 (GET_STACK): Likewise.
17757 (CALL_SIGHANDLER): Likewise.
17758 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
17759 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17760 (FIRST_FRAME_POINTER): Likewise.
17761 (ADVANCE_STACK_FRAME): Likewise.
17762 (GET_STACK): Likewise.
17763 (GET_FRAME): Likewise.
17764 (CALL_SIGHANDLER): Likewise.
17765 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
17766 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17767 (ADVANCE_STACK_FRAME): Likewise.
17768 (GET_STACK): Likewise.
17769 (GET_FRAME): Likewise.
17770 (CALL_SIGHANDLER): Likewise.
17771 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
17772 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17773 (GET_FRAME): Likewise.
17774 (GET_STACK): Likewise.
17775 (CALL_SIGHANDLER): Likewise.
17776 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
17777 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17778 (GET_FRAME): Likewise.
17779 (GET_STACK): Likewise.
17780 (CALL_SIGHANDLER): Likewise.
17782 2018-03-21 Joseph Myers <joseph@codesourcery.com>
17784 * sysdeps/x86_64/backtrace.c: Move to ....
17785 * debug/backtrace.c: ... here.
17786 * sysdeps/aarch64/backtrace.c: Remove file.
17787 * sysdeps/alpha/backtrace.c: Likewise.
17788 * sysdeps/hppa/backtrace.c: Likewise.
17789 * sysdeps/ia64/backtrace.c: Likewise.
17790 * sysdeps/mips/backtrace.c: Likewise.
17791 * sysdeps/nios2/backtrace.c: Likewise.
17792 * sysdeps/riscv/backtrace.c: Likewise.
17793 * sysdeps/sh/backtrace.c: Likewise.
17794 * sysdeps/tile/backtrace.c: Likewise.
17796 2018-03-20 Joseph Myers <joseph@codesourcery.com>
17799 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
17802 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
17805 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
17806 possibly overflowing computations.
17808 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
17810 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
17811 values from Linux-specific section now that it is in the GNU section.
17812 * sysdeps/gnu/errlist.c: Regenerate.
17814 2018-03-20 Joseph Myers <joseph@codesourcery.com>
17816 * math/Makefile (libm-narrow-fns): Add sub.
17817 (libm-test-funcs-narrow): Likewise.
17818 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
17819 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
17820 * math/gen-auto-libm-tests.c (test_functions): Add sub.
17821 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
17822 (NARROW_SUB_ROUND_TO_ODD): Likewise.
17823 (NARROW_SUB_TRIVIAL): Likewise.
17824 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
17826 (__dsubl): Likewise.
17827 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
17829 (CFLAGS-nldbl-dsub.c): New variable.
17830 (CFLAGS-nldbl-fsub.c): Likewise.
17831 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17833 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
17835 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
17836 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
17837 * math/auto-libm-test-in: Add tests of sub.
17838 * math/auto-libm-test-out-narrow-sub: New generated file.
17839 * math/libm-test-narrow-sub.inc: New file.
17840 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17841 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
17842 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
17843 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
17844 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
17845 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
17846 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
17847 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
17848 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
17849 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
17850 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
17851 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
17852 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
17853 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
17854 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
17855 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
17856 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
17857 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
17858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17859 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17860 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17861 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17862 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17863 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17864 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17865 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17866 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17867 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17868 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17869 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17870 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17871 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17876 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17877 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17878 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17879 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17880 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17881 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17882 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17883 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17884 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17885 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17887 2018-03-19 Joseph Myers <joseph@codesourcery.com>
17890 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
17892 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
17894 * benchtests/bench-timing.h (attribute_hidden): Undefine.
17896 2018-03-18 Richard Braun <rbraun@sceen.net>
17898 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
17901 2018-03-18 Agustina Arzille <avarzille@riseup.net>
17903 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
17904 (__libc_cleanup_fct): Define function.
17905 (__libc_cleanup_region_start, __libc_cleanup_region_end,
17906 __libc_cleanup_end): Rewrite implementation using
17907 __attribute__ ((__cleanup__)).
17908 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
17909 * hurd/Makefile (routines): Add hurdlock.
17910 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
17912 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
17913 * hurd/hurdpid.c: Include <lowlevellock.h>
17914 (_S_msg_proc_newids): Use lll_wait to synchronize.
17915 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
17916 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
17917 * mach/Makefile (lock-headers): Remove machine-lock.h.
17918 * mach/lock-intern.h: Include <lowlevellock.h> instead of
17920 (__spin_lock_t): New type.
17921 (__SPIN_LOCK_INITIALIZER): New macro.
17922 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
17923 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
17924 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
17925 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
17926 (__mutex_init): Initialize with lll.
17927 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
17928 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
17930 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17931 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
17932 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
17933 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
17934 (__setpgid): Use lll for synchronization.
17935 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
17936 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
17937 instead of <cthreads.h>.
17938 (_IO_lock_inexpensive): New macro
17939 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
17940 (__libc_lock_self0): New declaration.
17941 (__libc_lock_owner_self): New macro.
17942 (__libc_key_t): Remove type.
17943 (_LIBC_LOCK_INITIALIZER): New macro.
17944 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
17945 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
17946 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
17947 __libc_lock_define_initialized_recursive,
17948 __rtld_lock_define_initialized_recursive,
17949 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
17950 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
17951 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
17952 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
17953 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
17954 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
17955 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
17957 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
17958 * hurd/hurdlock.c: New file.
17959 * hurd/hurdlock.h: New file.
17960 * mach/lowlevellock.h: New file
17962 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17964 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
17965 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
17966 when opening a symlink with O_NOFOLLOW.
17967 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
17968 path when flags contains O_NOFOLLOW.
17969 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
17970 if flags contains O_DIRECTORY and the result is a directory.
17971 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
17972 oneself when the pointer given in D is nul (as set by ext2fs).
17973 * sysdeps/mach/hurd/mlockall.c: New file.
17974 * sysdeps/mach/hurd/munlockall.c: New file.
17976 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17978 * hurd/hurdsig.c: Include <pthread.h>.
17979 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
17980 get the signal thread stack layout.
17981 * hurd/Makefile (headers): Remove threadvar.h.
17982 (inline-headers): Remove threadvar.h.
17983 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
17984 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
17985 __hurd_threadvar_max, __hurd_errno_location.
17986 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
17987 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
17988 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
17989 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
17990 unless TLS is not initialized yet, in which case we do not need a
17991 critical section yet anyway.
17992 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
17994 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
17996 (__hurd_threadvar_index): Remove enum.
17997 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
17998 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
18000 (__hurd_reply_port0): New variable declaration.
18001 (__hurd_local_reply_port): New macro.
18002 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
18003 (interrupted_reply_port_location): Add thread_t parameter. Use it
18004 with THREAD_TCB to access thread-local variables.
18005 (_hurdsig_abort_rpcs): Pass ss->thread to
18006 interrupted_reply_port_location.
18007 (_hurd_internal_post_signal): Likewise.
18008 (_hurdsig_init): Use presence of cthread_fork instead of
18009 __hurd_threadvar_stack_mask to start signal thread by hand.
18010 Remove signal thread threadvar initialization.
18011 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
18012 * hurd/sigunwind.c: Include <hurd/threadvar.h>
18013 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
18015 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
18017 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
18018 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
18019 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
18020 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
18021 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
18022 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
18023 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
18025 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
18026 <hurd/threadvar.h>.
18027 [IS_IN(rtld)] (rtld_errno): New variable.
18028 [IS_IN(rtld)] (__errno_location): New weak function.
18029 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
18030 * sysdeps/mach/hurd/errno.c: Remove file.
18031 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
18032 (__fork): Remove THREADVAR_SPACE macro and its use.
18033 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
18035 (init): Do not initialize threadvar.
18036 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
18038 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
18039 __hurd_local_reply_port instead of threadvar.
18040 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
18041 _hurd_sigstate fields.
18042 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
18043 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
18044 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
18045 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
18046 instead of threadvar.
18047 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
18048 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
18049 (use_threadvar, global_reply_port): Remove variables.
18050 (__hurd_reply_port0): New variable.
18051 (__mig_get_reply_port): Use __hurd_local_reply_port and
18052 __hurd_reply_port0 instead of threadvar.
18053 (__mig_dealloc_reply_port): Likewise.
18054 (__mig_init): Do not initialize threadvar.
18055 * sysdeps/mach/hurd/profil.c: Fix comment.
18056 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
18057 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
18058 cthread_keycreate, cthread_getspecific, cthread_setspecific to
18059 __cthread_fork, __cthread_detach, __pthread_getattr_np,
18060 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
18061 __cthread_setspecific.
18062 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
18063 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
18064 __cthread_t instead of cthread_fork, cthread_detach,
18065 pthread_getattr_np, pthread_attr_getstack.
18066 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
18067 __cthread_keycreate.
18068 (cthread_getspecific): Rename to __cthread_getspecific.
18069 (cthread_setspecific): Rename to __cthread_setspecific.
18070 (__libc_getspecific): Use __cthread_getspecific instead of
18071 cthread_getspecific.
18072 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
18073 __cthread_keycreate instead of cthread_keycreate.
18074 (__libc_setspecific): Use __cthread_setspecific instead of
18075 cthread_setspecific.
18076 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
18078 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
18079 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
18080 testing whether it is defined.
18082 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18084 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
18086 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
18087 * sysdeps/mach/i386/thread_state.h
18088 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
18090 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
18092 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
18094 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
18095 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
18097 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
18099 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
18100 descriptor instead of creating a new one.
18101 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
18103 * mach/setup-thread.c: Include <ldsodefs.h>.
18104 (__mach_setup_thread): Call _dl_allocate_tls, pass
18105 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
18106 MACHINE_THREAD_STATE_FLAVOR, before getting
18107 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
18108 MACHINE_THREAD_STATE_FLAVOR with the result.
18109 * hurd/hurdfault.c (_hurdsig_fault_init): Call
18110 MACHINE_THREAD_STATE_FIX_NEW.
18111 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
18112 too. Add original thread parameter.
18114 2018-03-16 Joseph Myers <joseph@codesourcery.com>
18116 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
18117 Remove inline function.
18119 * sysdeps/i386/fpu/libm-test-ulps: Update.
18120 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18122 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
18124 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
18127 2018-03-15 Joseph Myers <joseph@codesourcery.com>
18129 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
18130 (__sincos_code): Remove define and undefine.
18131 [__FAST_MATH__] (__sincos): Remove inline function.
18132 [__FAST_MATH__] (__sincosf): Remove inline function.
18133 [__FAST_MATH__] (__sincosl): Remove inline function.
18134 (__atan2l): Remove inline functions.
18135 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
18136 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
18138 (floor): Remove inline function.
18140 [__FAST_MATH__] (__ldexp_code): Remove macro.
18141 [__FAST_MATH__] (ldexp): Remove inline function.
18142 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
18143 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
18144 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
18145 [__USE_ISOC99] (__lrint_code): Remove macro.
18146 [__USE_ISOC99] (__llrint_code): Likewise.
18147 [__USE_ISOC99] (lrintf): Remove inline function.
18148 [__USE_ISOC99] (lrint): Likewise.
18149 [__USE_ISOC99] (lrintl): Likewise.
18150 [__USE_ISOC99] (llrint): Likewise.
18151 [__USE_ISOC99] (llrintf): Likewise.
18152 [__USE_ISOC99] (llrintl): Likewise.
18154 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18156 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
18157 (__ieee754_sqrtf): Remove.
18158 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
18159 (__ieee754_sqrtf): Remove.
18160 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
18161 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18162 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
18163 (__ieee754_sqrtf): Remove.
18164 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
18165 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
18168 (__ieee754_sqrt): Remove.
18169 (__ieee754_sqrtf): Remove.
18170 (__ieee754_sqrtl): Remove.
18171 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18172 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
18173 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
18174 (__ieee754_sqrtf): Remove.
18175 (__ieee754_sqrtl): Remove.
18177 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18179 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
18180 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
18181 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18182 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
18183 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
18184 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18185 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18186 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18188 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
18189 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
18190 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
18191 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
18192 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
18193 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
18194 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18195 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
18196 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
18197 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18198 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
18199 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
18200 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
18201 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
18202 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
18203 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18204 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18205 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18206 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
18207 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
18208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18210 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
18211 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
18212 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
18213 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
18214 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18215 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18216 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
18217 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18218 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18219 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
18220 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18221 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
18222 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18223 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18224 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
18225 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
18226 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
18227 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
18229 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18231 * include/math.h (sqrt): Declare with asm redirect.
18234 (sqrtf128): Likewise.
18235 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
18236 nonlib and libnldbl with -fmath-errno.
18237 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
18238 * math/w_sqrt_template.c: Likewise.
18239 * math/w_sqrtf_compat.c: Likewise.
18240 * math/w_sqrtl_compat.c: Likewise.
18241 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
18242 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
18243 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
18246 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18248 * benchtests/Makefile: Define _ISOMAC.
18249 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
18250 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
18251 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
18252 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
18253 * benchtests/bench-timing.h: Define attribute_hidden.
18255 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
18257 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
18260 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18263 * localedata/locales/cs_CZ (mon): Rename to...
18265 (mon): Import from CLDR (genitive case).
18267 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18270 * localedata/locales/el_CY (abmon): Rename to...
18271 (ab_alt_mon): This.
18272 (abmon): Import from CLDR (abbreviated genitive case).
18273 * localedata/locales/el_GR (abmon): Rename to...
18274 (ab_alt_mon): This.
18275 (abmon): Import from CLDR (abbreviated genitive case).
18277 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18280 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
18282 2018-03-15 Robert Buj <robert.buj@gmail.com>
18285 * localedata/locales/ca_ES (abmon): Rename to...
18286 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18287 (mon): Rename to...
18289 (abmon): Import from CLDR (genitive case, month names preceded by
18292 (abday): Synchronize with CLDR.
18293 (d_t_fmt): Likewise.
18297 (LC_TIME): Improve indentation.
18298 (LC_TELEPHONE): Likewise.
18299 (LC_NAME): Likewise.
18300 (LC_ADDRESS): Likewise.
18302 2018-03-14 Joseph Myers <joseph@codesourcery.com>
18304 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
18305 (lrintf): Remove definitions used only with old GCC.
18306 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
18307 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
18308 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
18309 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
18310 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
18311 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
18312 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
18313 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
18314 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
18315 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
18316 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
18317 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
18318 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
18319 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
18320 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
18321 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
18322 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
18323 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
18324 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
18325 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
18326 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
18327 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
18328 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
18329 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
18330 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
18331 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
18332 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
18333 [__FAST_MATH__] (__M_SQRT2): Remove macro.
18335 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18337 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
18338 instruction to unbreak builds with binutils 2.26 and older.
18340 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18342 * sysdeps/aarch64/strncmp.S (count): New macro.
18343 (strncmp): Store misaligned length in SRC1 in COUNT.
18344 (mutual_align): Adjust.
18345 (misaligned8): Load dword at a time when it is safe.
18347 2018-03-12 Zack Weinberg <zackw@panix.com>
18351 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
18352 if the _IO_EOF_SEEN bit is already set; update commentary.
18353 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
18354 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18356 * support/support_openpty.c, support/tty.h: New files.
18357 * support/Makefile (libsupport-routines): Add support_openpty.
18359 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
18361 * libio/Makefile (tests): Add tst-fgetc-after-eof.
18362 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
18364 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
18366 * po/pt_BR.po: Update translations.
18368 2018-03-12 David Michael <fedora.dm0@gmail.com>
18370 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
18371 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
18372 get a port to the startup server.
18374 2018-03-11 Zack Weinberg <zackw@panix.com>
18376 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
18377 before nldbl-compat.h.
18379 2018-03-10 Zack Weinberg <zackw@panix.com>
18381 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
18382 math.h or math_private.h.
18384 * sysdeps/alpha/fpu/s_isnan.c
18385 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
18386 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
18387 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
18388 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
18389 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
18390 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
18391 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
18392 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
18393 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
18394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
18395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
18396 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
18397 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
18398 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
18399 Include math_private.h.
18401 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
18402 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
18403 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
18404 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
18405 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
18406 * sysdeps/powerpc/power7/fpu/s_logb.c:
18407 Include math.h and math_private.h.
18409 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
18410 uses of $at in .set noat / .set at.
18412 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
18414 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
18415 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
18416 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
18417 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
18420 2018-03-09 Florian Weimer <fweimer@redhat.com>
18422 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
18425 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
18428 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
18429 Add nop before __startcontext, add explaining comments.
18431 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18434 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
18436 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
18437 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
18438 Do not build hardware transactional code for __SPE__.
18439 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18440 (__lll_trylock_elision): Likewise.
18441 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18442 (__lll_unlock_elision): Likewise.
18444 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
18445 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
18446 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18447 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
18448 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
18449 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
18450 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
18451 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
18452 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
18453 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
18454 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
18455 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
18456 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
18457 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
18458 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
18459 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
18460 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
18461 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
18462 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
18463 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
18464 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
18465 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18466 (__ASSUME_CLONE_BACKWARDS): Define.
18467 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
18468 __clone2 if __NR_clone2 is defined.
18469 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18470 (__ASSUME_CLONE_BACKWARDS): Likewise.
18471 * sysdeps/unix/sysv/linux/i386/kernel-features.h
18472 (__ASSUME_CLONE_BACKWARDS): Likewise.
18473 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18474 (__ASSUME_CLONE2): Likewise.
18475 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18476 (__ASSUME_CLONE_BACKWARDS3): Likewise.
18477 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
18478 variants and the define architecture can use.
18479 (__ASSUME_CLONE_DEFAULT): Define as default.
18480 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18481 (__ASSUME_CLONE_BACKWARDS): Likewise.
18482 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18483 (__ASSUME_CLONE_BACKWARDS): Likewise.
18484 * sysdeps/unix/sysv/linux/s390/kernel-features.h
18485 (__ASSUME_CLONE_BACKWARDS2): Likewise.
18487 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
18489 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
18491 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
18494 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
18495 (do_test_limit): Likewise.
18497 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
18498 for every implementation.
18499 (do_test): Likewise.
18501 * benchtests/bench-strncmp.c: Convert output to json.
18503 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18505 * io/futimens.c: Add missing start-of-file descriptive comment.
18506 * io/utime.c: Likewise.
18507 * misc/futimesat.c: Likewise.
18508 * misc/utimes.c: Likewise.
18509 * sysdeps/mach/hurd/futimesat.c: Likewise.
18510 * sysdeps/mach/hurd/utimes.c: Likewise.
18511 * sysdeps/posix/utime.c: Likewise.
18512 * sysdeps/posix/utimes.c: Likewise.
18513 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
18514 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18515 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
18516 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
18518 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18520 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
18522 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
18523 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
18524 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
18525 (__futimens): Move implementation to...
18526 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
18527 utime_tvalue_from_tspec): ... new helper functions.
18528 (hurd_futimens): New function.
18529 * sysdeps/mach/hurd/futimesat.c: New file.
18530 * sysdeps/mach/hurd/utimensat.c: New file.
18532 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
18534 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
18535 UTIME_OMIT): New macros.
18536 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
18537 before reverting to converting time spec to time value and calling
18539 * sysdeps/mach/hurd/utime-helper.c: New file.
18540 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
18541 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
18542 reverting to utime_tvalue_from_tval and __file_utimes.
18543 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
18544 (__lutimes): Just call hurd_futimens after lookup.
18545 * sysdeps/mach/hurd/utimes.c: Likewise.
18547 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18549 * bits/sigaction.h: Add include guard.
18550 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
18551 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
18552 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
18553 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
18554 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
18555 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
18556 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
18557 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
18558 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
18560 2018-03-05 Joseph Myers <joseph@codesourcery.com>
18562 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
18563 -Wmaybe-uninitialized for -Os.
18564 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
18567 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18569 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
18570 __INO_T_MATCHES_INO64_T is defined.
18571 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
18572 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
18574 * dirent/alphasort64.c: Likewise.
18575 * dirent/scandir.c: Likewise.
18576 * dirent/scandir64-tail.c: Likewise.
18577 * dirent/scandir64.c: Likewise.
18578 * dirent/scandirat.c: Likewise.
18579 * dirent/scandirat64.c: Likewise.
18580 * dirent/versionsort.c: Likewise.
18581 * dirent/versionsort64.c: Likewise.
18582 * include/dirent.h: Likewise.
18584 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
18585 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
18586 for socketpair endpoint.
18587 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
18588 WRITE_BUFFER_SIZE as buffer size for sending socket.
18589 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
18590 issue on system where send is implemented with sendto syscall.
18591 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
18592 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
18593 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
18594 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
18597 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
18598 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
18599 sa_restorer for vDSO case.
18600 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
18602 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18604 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
18605 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
18606 * hurd/hurd/ioctl.h: Include <mach/port.h>
18607 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
18608 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
18609 <mach/mach_types.h> and <mach/message.h>.
18610 (headers): Move mach/param.h to bits/mach/param.h.
18611 * sysdeps/mach/i386/mach/param.h: Move file to ...
18612 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
18613 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
18615 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
18616 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
18617 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
18618 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
18619 trivial, for C++ conformity.
18620 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
18621 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
18622 Process mig output through $(migheadersed).
18623 * hurd/Makefile (migheadersed): Define variable.
18624 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
18625 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
18627 * hurd/hurd.h: Include <bits/types/sigset_t.h>
18628 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
18629 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
18630 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
18631 <bits/types/sigset_t.h>.
18632 [!defined __USE_GNU]: Do not #error out.
18633 (struct hurd_sigstate): Use _NSIG instead of NSIG.
18634 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
18635 Include <stddef.h> and <bits/types/sigset_t.h>
18636 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
18637 instead of sighandler_t.
18638 * stdlib/errno.h (error_t): Move definition to...
18639 * bits/types/error_t.h: ... new header.
18640 * stdlib/Makefile (headers): Add bits/types/error_t.h.
18641 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
18642 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
18643 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
18644 * hurd/hurd.h: Include <bits/types/error_t.h>
18645 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
18646 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
18647 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
18648 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
18649 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
18650 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
18651 * sysdeps/mach/hurd/futimens.c: New file.
18653 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
18656 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
18657 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
18658 * nscd/gai.c (__nss_hosts_database): Readd definition.
18659 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
18660 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
18661 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
18663 2018-03-02 Joseph Myers <joseph@codesourcery.com>
18665 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
18666 (ifunc_one): Likewise.
18668 2018-03-01 DJ Delorie <dj@delorie.com>
18671 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
18674 2018-03-01 Maciej W. Rozycki <macro@mips.com>
18676 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
18677 `match_pid' parameter.
18678 (td_ta_thr_iter): Update accordingly.
18680 2018-03-01 Florian Weimer <fweimer@redhat.com>
18682 * nptl/Makefile (install-lib-ldscripts): Remove.
18683 (install): Remove rule.
18684 ($(inst_libdir)/libpthread.so): Likewise.
18686 2018-03-01 Mike FABIAN <mfabian@redhat.com>
18689 * localedata/locales/an_ES: update month and day names,
18690 improve d_fmt, improve postal_fmt, add country_post,
18693 2018-03-01 Mike FABIAN <mfabian@redhat.com>
18695 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
18696 Ukrainian instead of Bulgarian.
18698 2018-03-01 Florian Weimer <fweimer@redhat.com>
18700 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
18703 2018-03-01 Florian Weimer <fweimer@redhat.com>
18705 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
18706 * nptl/Makefile (routines): Add pthread_atfork.
18707 (static-only-routines): Set to pthread_atfork.
18708 (libpthread-routines): Remove pthread_atfork.
18709 (libpthread-static-only-routines): Remove.
18710 (install): Update comment.
18711 (libpthread.so): Do not install libpthread_nonshared.a.
18712 (tests): Do not link with libpthread_nonshared.a.
18713 (generated): Remove libpthread_nonshared.a.
18714 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
18715 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
18716 with libpthread_nonshared.a.
18718 2018-02-28 Joseph Myers <joseph@codesourcery.com>
18721 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
18722 (libc_feholdexcept_setroundf128): New macro.
18723 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
18726 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
18728 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
18729 * include/inttypes.h: New file.
18731 2018-02-27 Joseph Myers <joseph@codesourcery.com>
18733 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
18734 -Os in two more places.
18736 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18738 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
18739 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
18740 be sorted correctly at the moment because of a bug.
18742 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18744 [BZ #22550] - es_ES locale (and other es_* locales): collation should
18745 treat ñ as a primary different character, sync the collation
18746 for Spanish with CLDR.
18747 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
18748 * localedata/Makefile: Add new test files.
18749 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
18750 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
18752 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
18753 * localedata/am_ET.UTF-8.in: New test file.
18754 * localedata/az_AZ.UTF-8.in: Likewise.
18755 * localedata/be_BY.UTF-8.in: Likewise.
18756 * localedata/ber_DZ.UTF-8.in: Likewise.
18757 * localedata/ber_MA.UTF-8.in: Likewise.
18758 * localedata/bg_BG.UTF-8.in: Likewise.
18759 * localedata/br_FR.UTF-8.in: Likewise.
18760 * localedata/cmn_TW.UTF-8.in: Likewise.
18761 * localedata/crh_UA.UTF-8.in: Likewise.
18762 * localedata/csb_PL.UTF-8.in: Likewise.
18763 * localedata/cv_RU.UTF-8.in: Likewise.
18764 * localedata/cy_GB.UTF-8.in: Likewise.
18765 * localedata/dz_BT.UTF-8.in: Likewise.
18766 * localedata/eo.UTF-8.in: Likewise.
18767 * localedata/es_ES.UTF-8.in: Likewise.
18768 * localedata/fa_IR.UTF-8.in: Likewise.
18769 * localedata/fi_FI.UTF-8.in: Likewise.
18770 * localedata/fil_PH.UTF-8.in: Likewise.
18771 * localedata/fur_IT.UTF-8.in: Likewise.
18772 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
18773 * localedata/ha_NG.UTF-8.in: Likewise.
18774 * localedata/ig_NG.UTF-8.in: Likewise.
18775 * localedata/ik_CA.UTF-8.in: Likewise.
18776 * localedata/kk_KZ.UTF-8.in: Likewise.
18777 * localedata/ku_TR.UTF-8.in: Likewise.
18778 * localedata/ky_KG.UTF-8.in: Likewise.
18779 * localedata/ln_CD.UTF-8.in: Likewise.
18780 * localedata/mi_NZ.UTF-8.in: Likewise.
18781 * localedata/ml_IN.UTF-8.in: Likewise.
18782 * localedata/mn_MN.UTF-8.in: Likewise.
18783 * localedata/mr_IN.UTF-8.in: Likewise.
18784 * localedata/mt_MT.UTF-8.in: Likewise.
18785 * localedata/nb_NO.UTF-8.in: Likewise.
18786 * localedata/om_KE.UTF-8.in: Likewise.
18787 * localedata/os_RU.UTF-8.in: Likewise.
18788 * localedata/ps_AF.UTF-8.in: Likewise.
18789 * localedata/ro_RO.UTF-8.in: Likewise.
18790 * localedata/ru_RU.UTF-8.in: Likewise.
18791 * localedata/sc_IT.UTF-8.in: Likewise.
18792 * localedata/se_NO.UTF-8.in: Likewise.
18793 * localedata/sq_AL.UTF-8.in: Likewise.
18794 * localedata/sv_SE.UTF-8.in: Likewise.
18795 * localedata/szl_PL.UTF-8.in: Likewise.
18796 * localedata/tg_TJ.UTF-8.in: Likewise.
18797 * localedata/tk_TM.UTF-8.in: Likewise.
18798 * localedata/tt_RU.UTF-8.in: Likewise.
18799 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
18800 * localedata/ug_CN.UTF-8.in: Likewise.
18801 * localedata/uz_UZ.UTF-8.in: Likewise.
18802 * localedata/vi_VN.UTF-8.in: Likewise.
18803 * localedata/yi_US.UTF-8.in: Likewise.
18804 * localedata/yo_NG.UTF-8.in: Likewise.
18805 * localedata/zh_CN.UTF-8.in: Likewise.
18806 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
18807 file and fix bugs in the collation.
18808 * localedata/locales/az_AZ: Likewise.
18809 * localedata/locales/be_BY: Likewise.
18810 * localedata/locales/ber_DZ: Likewise.
18811 * localedata/locales/ber_MA: Likewise.
18812 * localedata/locales/bg_BG: Likewise.
18813 * localedata/locales/br_FR: Likewise.
18814 * localedata/locales/br_FR@euro: Likewise.
18815 * localedata/locales/ca_ES: Likewise.
18816 * localedata/locales/cns11643_stroke: Likewise.
18817 * localedata/locales/crh_UA: Likewise.
18818 * localedata/locales/cs_CZ: Likewise.
18819 * localedata/locales/csb_PL: Likewise.
18820 * localedata/locales/cv_RU: Likewise.
18821 * localedata/locales/cy_GB: Likewise.
18822 * localedata/locales/da_DK: Likewise.
18823 * localedata/locales/dz_BT: Likewise.
18824 * localedata/locales/en_CA: Likewise.
18825 * localedata/locales/eo: Likewise.
18826 * localedata/locales/es_CU: Likewise.
18827 * localedata/locales/es_EC: Likewise.
18828 * localedata/locales/es_ES: Likewise.
18829 * localedata/locales/es_US: Likewise.
18830 * localedata/locales/et_EE: Likewise.
18831 * localedata/locales/fa_IR: Likewise.
18832 * localedata/locales/fi_FI: Likewise.
18833 * localedata/locales/fil_PH: Likewise.
18834 * localedata/locales/fur_IT: Likewise.
18835 * localedata/locales/gez_ER@abegede: Likewise.
18836 * localedata/locales/ha_NG: Likewise.
18837 * localedata/locales/hr_HR: Likewise.
18838 * localedata/locales/hsb_DE: Likewise.
18839 * localedata/locales/hu_HU: Likewise.
18840 * localedata/locales/ig_NG: Likewise.
18841 * localedata/locales/ik_CA: Likewise.
18842 * localedata/locales/is_IS: Likewise.
18843 * localedata/locales/iso14651_t1_pinyin: Likewise.
18844 * localedata/locales/kk_KZ: Likewise.
18845 * localedata/locales/ku_TR: Likewise.
18846 * localedata/locales/ky_KG: Likewise.
18847 * localedata/locales/ln_CD: Likewise.
18848 * localedata/locales/lt_LT: Likewise.
18849 * localedata/locales/lv_LV: Likewise.
18850 * localedata/locales/mi_NZ: Likewise.
18851 * localedata/locales/ml_IN: Likewise.
18852 * localedata/locales/mn_MN: Likewise.
18853 * localedata/locales/mr_IN: Likewise.
18854 * localedata/locales/mt_MT: Likewise.
18855 * localedata/locales/nb_NO: Likewise.
18856 * localedata/locales/om_KE: Likewise.
18857 * localedata/locales/os_RU: Likewise.
18858 * localedata/locales/pl_PL: Likewise.
18859 * localedata/locales/ps_AF: Likewise.
18860 * localedata/locales/ro_RO: Likewise.
18861 * localedata/locales/ru_RU: Likewise.
18862 * localedata/locales/ru_UA: Likewise.
18863 * localedata/locales/sc_IT: Likewise.
18864 * localedata/locales/se_NO: Likewise.
18865 * localedata/locales/si_LK: Likewise.
18866 * localedata/locales/sq_AL: Likewise.
18867 * localedata/locales/sv_FI: Likewise.
18868 * localedata/locales/sv_FI@euro: Likewise.
18869 * localedata/locales/sv_SE: Likewise.
18870 * localedata/locales/szl_PL: Likewise.
18871 * localedata/locales/tg_TJ: Likewise.
18872 * localedata/locales/ti_ER: Likewise.
18873 * localedata/locales/tk_TM: Likewise.
18874 * localedata/locales/tl_PH: Likewise.
18875 * localedata/locales/tr_TR: Likewise.
18876 * localedata/locales/tt_RU: Likewise.
18877 * localedata/locales/tt_RU@iqtelif: Likewise.
18878 * localedata/locales/ug_CN: Likewise.
18879 * localedata/locales/uk_UA: Likewise.
18880 * localedata/locales/uz_UZ: Likewise.
18881 * localedata/locales/uz_UZ@cyrillic: Likewise.
18882 * localedata/locales/vi_VN: Likewise.
18883 * localedata/locales/yi_US: Likewise.
18884 * localedata/locales/yo_NG: Likewise.
18886 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18888 * gen-locales.mk: Make test files which contain @ modifiers in their
18890 * localedata/gen-locale.sh: Likewise.
18892 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18894 * posix/tst-fnmatch.input: Fix results for range expressions
18896 * posix/tst-regexloc.c: Do not use a range expression for
18897 de_DE.ISO-8859-1 locale.
18899 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18901 * posix/bug-regex5.c: Fix test case because with the new
18902 iso14651_t1_common file, the da_DK locale now has 6 collating elements
18903 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
18906 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18908 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
18909 downloaded from ISO, the collation order of @-. and space has changed.
18910 Therefore, this test file needed to be adapted.
18911 * localedata/fr_CA.UTF-8.in: Likewise.
18912 * localedata/fr_FR.UTF-8.in: Likewise.
18913 * localedata/uk_UA.UTF-8.in: Likewise.
18915 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18917 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
18918 order of ȥ in the new iso14651_t1_common file.
18919 * localedata/pl_PL.UTF-8.in: Likewise.
18921 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18923 * localedata/locales/iso14651_t1_common: Add sections for various
18924 scripts to the iso14651_t1_common file.
18926 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18928 * localedata/locales/iso14651_t1_common: Use the code point of a
18929 character in the fourth collation level instead of IGNORE for all
18930 entries which have IGNORE on all 4 levels.
18932 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18934 * localedata/locales/iso14651_t1_common: Add some convenient collation
18935 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
18936 rules similar to those in CLDR.
18938 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18940 * localedata/locales/iso14651_t1_common: The new version of this
18941 file downloaded from ISO contained several syntax errors which
18942 are fixed by this patch.
18944 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18946 * localedata/locales/iso14651_t1_common: replace all <U.....>
18947 with <U000.....> because glibc understands only 4 digit or 8 digit
18949 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18951 * localedata/locales/iso14651_t1_common: Necessary changes
18952 to make the file downloaded from ISO usable by glibc.
18954 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18957 * localedata/locales/iso14651_t1_common: Update file to
18958 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
18960 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18962 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
18963 of <nptl/pthreadP.h>
18964 (thread_attr_compare): Move function to...
18965 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
18966 * sysdeps/nptl/timer_routines.h: ... new header.
18967 * sysdeps/mach/hurd/gai_misc.h: New file.
18969 2018-02-26 Joseph Myers <joseph@codesourcery.com>
18971 * string/strcoll_l.c: Include <libc-diag.h>.
18972 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
18973 declarations of seq1 and seq2.
18976 * stdlib/atoi.c (atoi): Use libc_hidden_def.
18977 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
18979 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
18983 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
18984 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
18985 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
18986 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
18987 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
18988 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
18990 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18992 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
18993 macros used in __ptrace_request.
18995 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
18998 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
19000 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
19001 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
19002 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
19005 2018-02-23 Joseph Myers <joseph@codesourcery.com>
19008 * ctype/ctype.c (tolower): Use libc_hidden_def.
19009 (toupper): Likewise.
19010 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
19011 [!_ISOMAC] (toupper): Likewise.
19013 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19015 * localedata/Makefile: Remove --quiet argument when
19018 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19021 * localedata/locales/pt_BR (LC_TIME): use / instead of -
19023 * localedata/locales/pt_PT (LC_TIME): likewise
19025 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19028 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
19029 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
19030 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
19032 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19036 * nptl/Makefile (routines): Remove unregister-atfork.
19037 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
19038 (fork_handler_alloc): Remove function.
19039 (fork_handlers, fork_handler_init): New variables.
19040 (__fork_lock): Rename to atfork_lock.
19041 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
19042 to use a dynamic array to add/remove atfork handlers.
19043 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19044 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
19045 Remove declaration.
19046 (fork_handler): Remove next, refcntr, and need_signal member.
19047 (__run_fork_handler_type): New enum.
19048 (__run_fork_handlers): New prototype.
19049 * nptl/register-atfork.c: Remove file.
19050 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
19052 * sysdeps/nptl/nptl-signals.h: Move to ...
19053 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
19055 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
19056 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
19057 unnecessary check for SIGTIMER.
19058 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
19059 remove unnecessary removal of SIGTIMER.
19060 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
19061 include-signals.h rename.
19062 * nptl/pthreadP.h: Likewise.
19063 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
19064 __is_internal_signal instead of __nptl_is_internal_signal.
19066 2018-02-22 Andrew Waterman <andrew@sifive.com>
19069 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
19070 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
19071 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
19072 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
19074 2018-02-22 DJ Delorie <dj@delorie.com>
19076 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
19078 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
19080 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
19081 do_misaligned, not misaligned8.
19083 2018-02-22 Steve Ellcey <sellcey@cavium.com>
19085 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
19086 Add memcpy_thunderx2.
19087 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
19089 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
19090 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
19091 and IS_THUNDERX2PA checks.
19092 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
19093 Use macro to set name appropriately.
19094 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
19095 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
19096 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
19098 (IS_THUNDERX2): New macro.
19100 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
19102 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19104 2018-02-21 Zack Weinberg <zackw@panix.com>
19106 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
19107 Define here, unconditionally.
19108 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
19109 * libio/libioP.h: Remove #if 0 blocks.
19110 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
19111 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
19112 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
19114 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
19115 Assume weak_alias is always defined.
19117 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
19118 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
19119 Remove #if 0 and #ifdef TODO blocks.
19120 Assume text_set_element is always defined.
19122 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
19123 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
19124 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
19126 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
19127 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
19128 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
19129 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
19130 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
19131 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
19132 Reformat bit flags for _flags field to make occupancy clearer.
19134 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
19135 Keep definitions consistent with those in libio/libio.h.
19137 * libio/libio.h (_IO_file_flags): Remove macro.
19138 All uses changed to _flags.
19140 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
19141 (__HAVE_COLUMN, _IO_BE): Don't define.
19142 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
19143 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
19144 * libio/libioP.h (EOF): Don't define.
19145 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
19146 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
19147 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
19148 testing _IO_UNIFIED_JUMPTABLES.
19150 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
19151 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
19152 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
19153 (_IO_size_t): Delete; all uses changed to size_t.
19154 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
19155 (_IO_off_t): Delete; all uses changed to off_t.
19156 (_IO_off64_t): Delete; all uses changed to off64_t.
19157 (_IO_pid_t): Delete; all uses changed to pid_t.
19158 (_IO_uid_t): Delete; all uses changed to uid_t.
19159 (_IO_wint_t): Delete; all uses changed to wint_t.
19160 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
19161 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
19162 (_IO_cookie_io_functions_t): Delete; all uses changed to
19163 cookie_io_functions_t.
19164 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
19165 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
19166 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
19167 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
19169 * libio/iofopncook.c: Remove unnecessary forward declarations.
19170 * libio/iolibio.h: Correct outdated commentary.
19171 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
19172 * stdio-common/fxprintf.c (__fxprintf_nocancel):
19173 Remove unnecessary casts.
19174 * stdio-common/getline.c: Use _IO_getdelim directly.
19175 Don't redefine ssize_t.
19176 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
19177 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
19178 Remove outdated comments.
19179 * stdio-common/vfscanf.c: Don't redefine va_list.
19181 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
19182 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
19183 Remove preprocessor conditionals on _LIBC and __USE_GNU,
19184 which are always true, and __cplusplus, which is always false.
19186 2018-02-21 Joseph Myers <joseph@codesourcery.com>
19190 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
19191 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
19192 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
19193 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
19195 [!_ISOMAC] (putc_unlocked): Likewise.
19196 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
19197 define inline if [__USE_EXTERN_INLINES].
19198 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
19203 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
19204 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
19205 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
19206 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
19207 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
19209 * time/tzfile.c (__tzfile_read): Likewise.
19211 2018-02-21 Mike FABIAN <mfabian@redhat.com>
19214 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
19216 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
19218 * io/fcntl.h: Fix a typo in a comment.
19220 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
19223 * include/features.h: Add _ISOC11_SOURCE to test for whether to
19224 define _DEFAULT_SOURCE.
19225 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
19227 2018-02-21 Florian Weimer <fweimer@redhat.com>
19230 * elf/cache.c (save_cache): Call fsync on temporary file before
19232 (save_aux_cache): Call fdatasync on temporary file before renaming
19235 2018-02-21 Florian Weimer <fweimer@redhat.com>
19238 * include/caller.h: Remove file.
19239 * elf/dl-caller.c: Likewise.
19240 * elf/Makefile (dl-routines): Remove dl-caller.
19241 (shared-only-routines): Do not add dl-caller.
19242 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
19244 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
19246 (dl_open_worker): Do not call __check_caller.
19247 (_dl_open): Do not set caller_dl_open member.
19248 * elf/rtld.c (_rtld_global_ro): Do not initialize
19249 _dl_check_caller member.
19250 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
19251 _dl_check_caller member.
19252 (_dl_check_caller): Remove declaration.
19253 * sysdeps/unix/sysv/linux/dl-execstack.c
19254 (_dl_make_stack_executable): Do not call __check_caller.
19256 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19258 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
19259 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
19261 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
19263 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
19266 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
19269 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
19270 of 199606L, 200112L, and 200809L.
19271 (_XOPEN_SOURCE): Document special values of 600 and 700.
19272 (_ISOC11_SOURCE): Document macro.
19273 (_ATFILE_SOURCE): Likewise.
19274 (_FORTIFY_SOURCE): Likewise.
19276 2018-02-19 Joseph Myers <joseph@codesourcery.com>
19280 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
19281 and define as weak alias of __ferror_unlocked. Use
19283 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
19285 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
19286 function if [__USE_EXTERN_INLINES].
19287 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
19290 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
19293 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
19295 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19298 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
19299 the GLIBC_2.1 version.
19301 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19304 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
19305 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
19306 intl/tst-gettext-de.po from po/de.po by removing the
19307 POT-Creation-Date line.
19308 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
19310 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
19313 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19315 * mach/Makefile (headers): Add mach/param.h.
19316 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
19317 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
19318 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
19319 (__ptsname_r): Move implementation to...
19320 (__ptsname_internal): ... new function. Add filling the STP
19323 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
19325 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
19328 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
19330 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
19333 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19335 * nptl/Makefile (tst-mutex8-ENV): Delete.
19336 * nptl/tst-mutex8.c (check_type):
19337 Add runtime check if mutex will be elided.
19339 2018-02-15 Joseph Myers <joseph@codesourcery.com>
19343 * manual/install.texi (Configuring and compiling): Describe
19344 passing CC and CFLAGS on configure command line, not as
19345 environment variables. Use @code markup on those variables.
19346 Specify what options go in CC and what go in CFLAGS. Note the
19347 requirement to compile with optimization.
19348 * INSTALL: Regenerated.
19351 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
19352 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
19353 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
19354 __sigprocmask instead of sigprocmask.
19355 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
19357 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
19358 __sigsetjmp and sigprocmask.
19361 * include/argz.h (argz_next): Use libc_hidden_proto.
19362 (__argz_next): Likewise.
19363 * string-argz-next.c (__argz_next): Use libc_hidden_def.
19364 (argz_next): Use libc_hidden_weak.
19367 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
19369 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
19373 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
19375 * libio/iofputs.c (fputs): Use libc_hidden_weak.
19379 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
19380 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
19381 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
19382 (__feof_unlocked): New declaration, and inline function if
19383 [__USE_EXTERN_INLINES].
19384 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
19385 instead of feof_unlocked.
19386 * intl/localealias.c [_LIBC] (FEOF): Likewise.
19387 * nss/nsswitch.c (nss_parse_file): Likewise.
19388 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
19390 * time/getdate.c (__getdate_r): Likewise.
19391 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
19392 Define as macro to call __feof_unlocked.
19394 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19396 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
19398 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19400 * math/Makefile: Remove mpexp.c and mplog.c
19401 * sysdeps/i386/fpu/mpexp.c: Delete file.
19402 * sysdeps/i386/fpu/mplog.c: Likewise.
19403 * sysdeps/ia64/fpu/mpexp.c: Likewise.
19404 * sysdeps/ia64/fpu/mplog.c: Likewise.
19405 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
19406 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
19407 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
19408 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19409 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
19410 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
19411 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
19412 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
19413 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
19414 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19415 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
19416 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
19417 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19418 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
19419 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
19420 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19422 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
19424 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19426 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19428 * sysdeps/sh/libm-test-ulps: Update.
19430 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19432 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
19435 2018-02-12 Zack Weinberg <zackw@panix.com>
19438 * posix/sys/types.h: Don't include sys/sysmacros.h.
19439 * misc/sys/sysmacros.h: Remove the conditional deprecation
19440 warnings for the macros defined by this header.
19442 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19444 * manual/probes.texi: Remove slowexp probes.
19445 * math/Makefile: Remove slowexp.
19446 * sysdeps/generic/math_private.h (__slowexp): Remove.
19447 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
19448 document error bounds.
19449 * sysdeps/i386/fpu/slowexp.c: Remove.
19450 * sysdeps/ia64/fpu/slowexp.c: Remove.
19451 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
19452 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
19453 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
19454 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
19455 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
19456 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
19457 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
19458 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
19459 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
19460 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
19461 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
19463 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
19466 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
19467 * benchtests/pow-inputs: Update comment for slow path cases.
19468 * manual/probes.texi (slowpow_p10): Delete removed probe.
19469 (slowpow_p10): Likewise.
19470 * math/Makefile: Remove halfulp.c and slowpow.c.
19471 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
19472 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
19473 (__halfulp): Remove.
19474 (__slowpow): Remove.
19475 * sysdeps/i386/fpu/halfulp.c: Delete file.
19476 * sysdeps/i386/fpu/slowpow.c: Likewise.
19477 * sysdeps/ia64/fpu/halfulp.c: Likewise.
19478 * sysdeps/ia64/fpu/slowpow.c: Likewise.
19479 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
19480 improve comments and add error analysis.
19481 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
19482 (power1): Remove function:
19483 (log1): Remove error argument, add error analysis.
19484 (my_log2): Remove function.
19485 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
19486 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19487 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
19488 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
19489 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
19490 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
19491 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
19492 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
19493 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
19494 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
19495 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
19496 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19497 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
19498 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19500 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
19502 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
19503 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
19505 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
19508 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
19509 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
19510 and PTRACE_SETHBPREGS.
19512 2018-02-10 Zack Weinberg <zackw@panix.com>
19515 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
19517 * malloc/tst-malloc-stats-cancellation.c: New test case.
19518 * malloc/Makefile: Add new test case.
19520 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
19522 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
19524 2018-02-10 Joseph Myers <joseph@codesourcery.com>
19526 * math/Makefile (libm-narrow-fns): Add add.
19527 (libm-test-funcs-narrow): Likewise.
19528 * math/Versions (GLIBC_2.28): Add narrowing add functions.
19529 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
19530 * math/gen-auto-libm-tests.c (test_functions): Add add.
19531 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
19532 (NARROW_ADD_ROUND_TO_ODD): Likewise.
19533 (NARROW_ADD_TRIVIAL): Likewise.
19534 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
19536 (__daddl): Likewise.
19537 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
19539 (CFLAGS-nldbl-dadd.c): New variable.
19540 (CFLAGS-nldbl-fadd.c): Likewise.
19541 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19543 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
19545 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
19546 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
19547 * math/auto-libm-test-in: Add tests of add.
19548 * math/auto-libm-test-out-narrow-add: New generated file.
19549 * math/libm-test-narrow-add.inc: New file.
19550 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
19551 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
19552 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
19553 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
19554 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
19555 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
19556 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
19557 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
19558 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
19559 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
19560 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
19561 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
19562 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
19563 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
19564 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
19565 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
19566 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
19567 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
19568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19569 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19570 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19571 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19572 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19573 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19574 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19575 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19576 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19577 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19578 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19579 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19580 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19581 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19586 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19587 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19588 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19589 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19590 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19591 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19592 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19593 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19594 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19595 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19597 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
19598 (f128-pairs): New variable.
19599 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
19600 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
19602 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
19603 Also make tests add $(f128-loader-link) to gnulib-tests.
19605 2018-02-09 DJ Delorie <dj@redhat.com>
19608 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
19609 64-bit ELF type for 64-bit ELF objects.
19611 2018-02-09 Joseph Myers <joseph@codesourcery.com>
19613 * math/libm-test-driver.c (snan_tests_arg): New variable.
19614 * math/libm-test-support.h (snan_tests_arg): New declaration.
19615 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
19617 * math/Makefile (test-type-pairs): New variable.
19618 (test-type-pairs-f64xf128-yes): Likewise.
19619 (tests): Add test-narrow-macros.
19620 (libm-test-funcs-narrow): New variable.
19621 (libm-test-c-narrow): Likewise.
19622 (generated): Add $(libm-test-c-narrow).
19623 (libm-tests-base-narrow): New variable.
19624 (libm-tests-narrow): Likewise.
19625 (libm-tests): Add $(libm-tests-narrow).
19626 (libm-tests-for-type): Handle $(libm-tests-narrow).
19627 (libm-test-c-narrow-obj): New variable.
19628 ($(libm-test-c-narrow-obj)): New rule.
19629 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
19630 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
19631 $(o-iterator) to set dependencies and CFLAGS.
19632 * math/gen-auto-libm-tests.c: Document use for narrowing
19634 (output_for_one_input_case): Take argument NARROW.
19635 (generate_output): Likewise. Update call to
19636 output_for_one_input_case.
19637 (main): Take --narrow option. Update call to generate_output.
19638 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
19639 (apply_lit): Update call to _apply_lit.
19640 (apply_arglit): New function.
19641 (parse_args): Handle "a" arguments.
19642 (parse_auto_input): Handle format names using ":".
19643 * math/README.libm-test: Document "a" parameter type.
19644 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
19645 (ARG_TYPE_TRUE_MIN): Likewise.
19646 (ARG_TYPE_MAX): Likwise.
19647 (ARG_MIN_EXP): Likewise.
19648 (ARG_MAX_EXP): Likewise.
19649 (ARG_MANT_DIG): Likewise.
19650 (TEST_COND_arg_ibm128): Likewise.
19651 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
19652 (TEST_COND_arg_fmt): New macro.
19653 (init_max_error): Update prototype.
19654 * math/libm-test-support.c (test_ibm128): New variable.
19655 (init_max_error): Take argument testing_ibm128 and set test_ibm128
19656 instead of using [TEST_COND_ibm128] conditional.
19657 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
19658 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
19659 [TEST_NARROW] (TEST_MSG): New definition.
19660 (arg_plus_zero): New macro.
19661 (arg_minus_zero): Likewise.
19662 (arg_plus_infty): Likewise.
19663 (arg_minus_infty): Likewise.
19664 (arg_qnan_value_pl): Likewise.
19665 (arg_qnan_value): Likewise.
19666 (arg_snan_value_pl): Likewise.
19667 (arg_snan_value): Likewise.
19668 (arg_max_value): Likewise.
19669 (arg_min_value): Likewise.
19670 (arg_min_subnorm_value): Likewise.
19671 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
19672 (RUN_TEST_LOOP_aa_f): New macro.
19673 (TEST_SUFF): New macro.
19674 (TEST_SUFF_STR): Likewise.
19675 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
19676 (TEST_COND_any_ibm128): New macro.
19677 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
19678 this_func. Update call to init_max_error.
19679 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
19680 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
19681 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
19682 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
19683 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
19684 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
19685 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
19686 * math/test-math-scalar.h (TEST_NARROW): Likewise.
19687 * math/test-math-vector.h (TEST_NARROW): Likewise.
19688 * math/test-arg-double.h: New file.
19689 * math/test-arg-float128.h: Likewise.
19690 * math/test-arg-float32x.h: Likewise.
19691 * math/test-arg-float64.h: Likewise.
19692 * math/test-arg-float64x.h: Likewise.
19693 * math/test-arg-ldouble.h: Likewise.
19694 * math/test-math-narrow.h: Likewise.
19695 * math/test-narrow-macros.c: Likewise.
19696 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
19697 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
19698 test-narrow-macros-ldbl-64.
19699 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
19701 * math/bits/mathcalls-narrow.h: New file.
19702 * include/bits/mathcalls-narrow.h: Likewise.
19703 * math/math-narrow.h: Likewise.
19704 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
19705 (__MATHCALL_NARROW_ARGS_2): Likewise.
19706 (__MATHCALL_NARROW_ARGS_3): Likewise.
19707 (__MATHCALL_NARROW_NORMAL): Likewise.
19708 (__MATHCALL_NARROW_REDIR): Likewise.
19709 (__MATHCALL_NARROW): Likewise.
19710 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
19711 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
19713 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19714 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
19715 (libm-narrow-fns): New variable.
19716 (libm-narrow-types-basic): Likewise.
19717 (libm-narrow-types-ldouble-yes): Likewise.
19718 (libm-narrow-types-float128-yes): Likewise.
19719 (libm-narrow-types-float128-alias-yes): Likewise.
19720 (libm-narrow-types): Likewise.
19721 (libm-routines): Add narrowing functions.
19722 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
19723 (libc_feholdexcept_setroundf128): New macro.
19724 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
19725 * sysdeps/ieee754/float128/float128_private.h: Include
19726 <math/math-narrow.h>.
19727 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
19728 Undefine and redefine.
19729 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
19730 (libm_alias_float_ldouble): Undefine and redefine.
19731 (libm_alias_double_ldouble): Likewise.
19733 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
19735 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
19737 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
19740 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
19742 * manual/creature.texi: Convert references to gcc.info to gcc.
19743 * manual/stdio.texi: Likewise.
19744 * manual/string.texi: Likewise.
19746 2018-02-07 Joseph Myers <joseph@codesourcery.com>
19749 * posix/bits/types.h (__int_least8_t): New typedef.
19750 (__uint_least8_t): Likewise.
19751 (__int_least16_t): Likewise.
19752 (__uint_least16_t): Likewise.
19753 (__int_least32_t): Likewise.
19754 (__uint_least32_t): Likewise.
19755 (__int_least64_t): Likewise.
19756 (__uint_least64_t): Likewise.
19757 * sysdeps/generic/stdint.h (int_least8_t): Define using
19759 (int_least16_t): Define using __int_least16_t.
19760 (int_least32_t): Define using __int_least32_t.
19761 (int_least64_t): Define using __int_least64_t.
19762 (uint_least8_t): Define using __uint_least8_t.
19763 (uint_least16_t): Define using __uint_least16_t.
19764 (uint_least32_t): Define using __uint_least32_t.
19765 (uint_least64_t): Define using __uint_least64_t.
19766 * wcsmbs/uchar.h: Include <bits/types.h>.
19767 (char16_t): Define using __uint_least16_t conditional only on
19769 (char32_t): Define using __uint_least32_t conditional only on
19771 * wcsmbs/test-char-types.c: New file.
19772 * wcsmbs/Makefile (tests): Add test-char-types.
19774 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
19777 2018-02-07 Zack Weinberg <zackw@panix.com>
19779 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
19780 Delete all contents except for definitions of _G_HAVE_MMAP and
19781 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
19782 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
19783 sysdeps/unix/sysv/linux/_G_config.h. Make same content
19786 * libio/libio.h: Don't include bits/_G_config.h here.
19787 Include stddef.h with __need_wchar_t defined. Include
19788 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
19789 Define _IO_iconv_t here, directly.
19790 Don't define _IO_HAVE_ST_BLKSIZE.
19791 * libio/libioP.h: Include _G_config.h here. Move include of
19792 shlib-compat.h up with rest of includes. Simplify conditionals
19793 controlling definition of _IO_JUMPS_OFFSET.
19795 * csu/init.c: Remove always-true #if around entire file.
19796 Don't include stdio.h. Set _IO_stdin_used to hardwired
19797 constant 0x20001, and update commentary.
19798 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
19799 Replace all uses of _G_va_list with __gnuc_va_list.
19800 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
19801 instead of #if _IO_HAVE_ST_BLKSIZE.
19802 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
19803 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
19806 * libio/bits/libio.h: Move back to libio/libio.h and adjust
19807 multiple-include guard to match.
19808 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
19810 Remove preprocessor conditionals that are always true and/or
19811 redundant to other preprocessor conditionals in the same nest.
19812 Include shlib-compat.h unconditionally.
19813 Error out if _LIBC is not defined, or if _ISOMAC is defined,
19814 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
19815 defined after including stdio.h.
19816 Use __BEGIN_DECLS/__END_DECLS.
19818 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
19819 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
19820 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
19822 2018-02-07 Zack Weinberg <zackw@panix.com>
19824 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
19825 New single-type headers split from _G_config.h.
19826 * libio/bits/types/cookie_io_functions_t.h
19827 * libio/bits/types/struct_FILE.h
19828 New single-type headers split from libio.h.
19830 * libio/Makefile: Install the above new headers. Don't install
19831 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
19833 * libio/_G_config.h, libio/libio.h: Delete file.
19835 * libio/bits/libio.h: Remove improper-inclusion guard.
19836 Include stdio.h and don't repeat anything that it does.
19837 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
19838 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
19839 __io_read_fn as cookie_read_function_t,
19840 __io_write_fn as cookie_write_function_t,
19841 __io_seek_fn as cookie_seek_function_t,
19842 __io_close_fn as cookie_close_function_t,
19843 and _IO_cookie_io_functions_t as cookie_io_functions_t.
19844 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
19845 here, in the "compatibility defines" section. Remove an #if 0
19846 block. Use the "body" macros from bits/types/struct_FILE.h to
19847 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
19848 and _IO_ferror_unlocked.
19849 Move prototypes of __uflow and __overflow...
19851 * libio/stdio.h: ...here. Don't include bits/libio.h.
19852 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
19853 directly from stdarg.h. Include bits/types/__fpos_t.h,
19854 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
19855 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
19856 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
19857 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
19858 cookie_io_functions_t, not _IO_cookie_io_functions_t;
19859 __ssize_t, not _IO_ssize_t. Unconditionally define
19860 BUFSIZ as 8192 and EOF as (-1).
19862 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
19863 macros from bits/types/struct_FILE.h instead of _IO_* macros
19864 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
19865 instead of _IO_ssize_t.
19866 * libio/bits/stdio2.h: Similarly.
19868 * libio/iolibio.h: Add multiple-include guard.
19869 Include bits/libio.h after stdio.h.
19870 * libio/libioP.h: Add multiple-include guard.
19871 Include stdio.h and bits/libio.h before iolibio.h.
19873 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
19874 * include/bits/types/cookie_io_functions_t.h
19875 * include/bits/types/struct_FILE.h: New wrappers.
19877 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
19878 Get definitions of _G_fpos_t and _G_fpos64_t from
19879 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
19880 respectively. Remove improper-inclusion guards.
19882 * conform/data/stdio.h-data: Update expectations of va_list.
19883 * scripts/check-installed-headers.sh: Remove special case for
19884 libio.h and _G_config.h.
19886 2018-02-07 Joseph Myers <joseph@codesourcery.com>
19890 * include/sys/sysmacros.h [!_ISOMAC]
19891 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
19892 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
19893 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
19894 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
19896 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
19897 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
19899 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
19900 Undefine and redefine to add use __gnu_dev_ prefix.
19901 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
19903 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
19904 and define as hidden inline function.
19905 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
19907 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
19909 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
19910 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
19911 (gnu_dev_minor): Likewise.
19912 (gnu_dev_makedev): Likewise.
19913 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
19915 * posix/wordexp.c (exec_comm_child): Likewise.
19916 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
19917 instead of minor and __gnu_dev_major instead of major.
19918 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
19919 __gnu_dev_major instead of major.
19920 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
19921 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
19922 instead of gnu_dev_minor.
19923 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
19924 (SLAVE_P): Likewise.
19925 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
19926 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
19930 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
19932 * locale/weightwc.h (findidx): Likewise.
19934 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
19936 * manual/probes.texi (slowlog): Delete documentation of removed probe.
19937 (slowlog_inexact): Likewise
19938 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
19939 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
19941 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
19944 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
19945 missing second underscore to parameter name.
19947 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19953 * bits/byteswap.h: Update file comment. Do not include
19954 <bits/byteswap-16.h>.
19955 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
19957 (__bswap_16): Define as inline function.
19958 (__bswap_constant_32): Reformat definition.
19959 (__bswap_32): Always define as inline function, not macro, using
19960 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
19961 otherwise __bswap_constant_32.
19962 (__bswap_constant_64): Reformat definition. Do not use
19963 __extension__ here.
19964 (__bswap_64): Always define as inline function, not macro. Use
19965 __extension__ on function definition. Use __builtin_bswap64 if
19966 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
19967 * string/test-endian-file-scope.c: New file.
19968 * string/test-endian-sign-conversion.c: Likewise.
19969 * string/Makefile (headers): Remove bits/byteswap-16.h.
19970 (tests): Add test-endian-file-scope and
19971 test-endian-sign-conversion.
19972 (CFLAGS-test-endian-sign-conversion.c): New variable.
19973 * bits/byteswap-16.h: Remove file.
19974 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
19975 * sysdeps/ia64/bits/byteswap.h: Likewise.
19976 * sysdeps/m68k/bits/byteswap.h: Likewise.
19977 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19978 * sysdeps/s390/bits/byteswap.h: Likewise.
19979 * sysdeps/tile/bits/byteswap.h: Likewise.
19980 * sysdeps/x86/bits/byteswap-16.h: Likewise.
19981 * sysdeps/x86/bits/byteswap.h: Likewise.
19984 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
19985 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
19986 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
19987 199901L] (__restrict): Define to restrict.
19990 * string/testcopy.c: Include <support/support.h>. Do not include
19991 <malloc.h>. Use <support/test-driver.c>.
19992 (main): Rename to do_test. Make static. Use xmalloc instead of
19996 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
19997 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
19998 (SSIZE_MAX): Define to INT_MAX.
19999 * posix/test-ssize-max.c: New file.
20000 * posix/Makefile (tests): Add test-ssize-max.
20003 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
20004 <support/support.h>. Do not include <malloc.h>.
20005 (query_auxv): Use xmalloc instead of malloc.
20008 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
20009 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
20012 2018-02-06 Florian Weimer <fweimer@redhat.com>
20015 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20016 Use scratch_buffer instead of extend_alloca.
20018 2018-02-06 Zack Weinberg <zackw@panix.com>
20020 * libio/stdio.h: Don't define getc or putc as macros.
20021 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
20022 not _IO_getc and _IO_putc.
20024 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
20025 * stdio-common/tstgetln.c: Don't redefine ssize_t.
20027 2018-02-06 Joseph Myers <joseph@codesourcery.com>
20029 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
20030 (TCP_FASTOPEN_NO_COOKIE): Likewise.
20032 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
20035 * elf/elf.h (NT_PRFPREG): New macro.
20036 (NT_S390_VXRS_LOW): Likewise.
20037 (NT_S390_VXRS_HIGH): Likewise.
20038 (NT_S390_GS_CB): Likewise.
20039 (NT_S390_GS_BC): Likewise.
20040 (NT_S390_RI_CB): Likewise.
20042 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
20043 (MAP_SYNC): New macro.
20044 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
20046 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
20047 (MAP_SYNC): Likewise.
20048 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
20049 (MAP_SYNC): Likewise.
20050 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
20051 (MAP_SYNC): Likewise.
20052 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
20053 (MAP_SYNC): Likewise.
20054 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
20055 (MAP_SYNC): Likewise.
20056 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
20057 (MAP_SYNC): Likewise.
20058 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
20060 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
20063 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
20064 (MAP_SHARED_VALIDATE): New macro.
20065 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20066 (MAP_SHARED_VALIDATE): Likewise.
20068 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20070 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
20071 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
20072 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20074 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20076 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
20077 (DT_NUM): Updated to 35.
20079 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20081 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
20082 __builtin_expect with __glibc_likely and __glibc_unlikely.
20083 (elf_machine_rela): Likewise.
20084 (elf_machine_lazy_rel): Likewise.
20086 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20088 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
20089 __builtin_expect with __glibc_likely and __glibc_unlikely.
20090 (elf_machine_lazy_rel): Likewise.
20092 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20095 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
20097 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
20099 2018-02-05 Andreas Schwab <schwab@suse.de>
20102 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
20105 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20107 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
20108 not check against PTHREAD_STACK_MIN.
20110 2018-02-02 Sean McKean <smckean83@gmail.com>
20113 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
20115 2018-02-02 Florian Weimer <fweimer@redhat.com>
20118 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
20119 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
20120 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
20121 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
20122 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
20123 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
20124 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
20125 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
20126 * manual/llio.texi (Scatter-Gather): Mention offset -1.
20127 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
20128 * misc/tst-preadvwritev2.c (do_test): Call it.
20129 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
20131 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
20133 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
20135 * benchtests/bench-memcmp.c: Print json instead of plain text.
20137 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
20140 2018-02-01 Joseph Myers <joseph@codesourcery.com>
20142 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20144 (s390_sthyi): New syscall.
20146 * sysdeps/generic/ldbl-classify-compat.h: New file.
20147 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
20148 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
20149 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
20150 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
20151 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
20152 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
20153 * sysdeps/ieee754/dbl-64/s_finite.c: Include
20154 <ldbl-classify-compat.h>.
20155 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20156 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
20157 <ldbl-classify-compat.h>.
20158 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20159 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
20160 <ldbl-classify-compat.h>.
20161 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20162 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
20163 <ldbl-classify-compat.h>.
20164 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20165 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
20166 <ldbl-classify-compat.h>.
20167 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20168 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
20169 <ldbl-classify-compat.h>.
20170 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20171 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
20172 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20173 * sysdeps/m68k/coldfire/math_private.h: Remove file.
20174 * sysdeps/microblaze/math_private.h: Likewise.
20175 * sysdeps/nios2/math_private.h: Likewise.
20176 * sysdeps/sh/math_private.h: Likewise.
20178 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
20179 * sysdeps/m68k/coldfire/math_private.h: ... here.
20180 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
20181 * sysdeps/tile/math_private.h: Likewise.
20182 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
20184 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
20187 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
20189 (libc_fetestexcept): Likewise.
20190 (libc_feupdateenv_test): Likewise.
20191 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
20192 (libc_fetestexcept): Likewise.
20193 (libc_feupdateenv_test): Likewise.
20194 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
20195 (libc_fetestexcept): Likewise.
20196 (libc_feupdateenv_test): Likewise.
20197 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
20198 (libc_fetestexcept): Likewise.
20199 (libc_feupdateenv_test): Likewise.
20201 * sysdeps/generic/math_private.h
20202 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
20203 New inline function.
20204 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
20207 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
20208 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
20209 * sysdeps/generic/math_private.h
20210 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
20212 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
20214 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
20216 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
20218 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
20220 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
20222 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
20223 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
20224 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
20225 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
20226 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
20227 (__fegetenv): Likewise.
20228 (fesetenv): Likewise.
20229 (__fesetenv): Likewise.
20230 (feupdateenv): Likewise.
20231 (__feupdateenv): Likewise.
20232 (fegetround): Likewise.
20233 (__fegetround): Likewise.
20234 (fesetround): Likewise.
20235 (__fesetround): Likewise.
20237 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
20238 (feraiseexcept): New macro.
20239 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
20240 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
20242 (__feraiseexcept): Likewise.
20243 (feclearexcept): Likewise.
20244 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
20245 (__feraiseexcept): Likewise.
20246 (feclearexcept): Likewise.
20247 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
20248 (__feraiseexcept): Likewise.
20249 (feclearexcept): Likewise.
20250 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
20251 (__feraiseexcept): Likewise.
20252 (feclearexcept): Likewise.
20253 (fetestexcept): Likewise.
20255 * sysdeps/m68k/coldfire/math-tests.h: New file.
20257 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
20258 * sysdeps/m68k/bits/fenv.h: ... here.
20259 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
20261 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
20263 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
20265 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
20267 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
20269 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
20271 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
20272 (__FE_UNDEFINED): New enum constant.
20273 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
20275 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
20277 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
20279 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
20280 to match generic bits/fenv.h.
20281 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
20284 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
20286 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
20287 * soft-fp/half.h (union _FP_UNION_H): Likewise.
20288 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
20289 * soft-fp/single.h (union _FP_UNION_S): Likewise.
20291 2018-02-01 Carlos O'Donell <carlos@redhat.com>
20292 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
20293 Joseph Myers <joseph@codesourcery.com>
20296 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
20297 (__log1p): Disable -Wmaybe-uninitialized for -Os around
20298 computation using c.
20299 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
20300 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
20301 computation using c.
20303 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20305 * version.h (RELEASE): Set to "development".
20306 (VERSION): Set to "2.27.9000".
20307 * NEWS (2.28): New section.
20309 * version.h (RELEASE): Set to "stable".
20310 (VERSION): Set to "2.27".
20311 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
20313 * NEWS: Add the list of bugs fixed in 2.27.
20315 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20317 * stdlib/test-atexit-race-common.c (do_test): Check stack size
20318 against PTHREAD_STACK_MIN.
20320 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20322 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
20324 (Rafal Luzynski, Andreas Schwab): Update.
20326 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
20329 * NEWS: List the languages which actually use the alternative
20330 months feature in this release. Also explain that "alt_mon" and
20331 "ab_alt_mon" are optional.
20333 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
20336 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
20338 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
20340 * manual/install.texi (Tools for Compilation): Update the newest
20341 versions of gcc, binutils, texinfo, gawk, bison, and sed.
20342 * INSTALL: Regenerated.
20344 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20346 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
20347 instead of __builtin_expect.
20349 2018-01-30 Florian Weimer <fweimer@redhat.com>
20351 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
20353 * nss/tst-nss-getpwent.c (do_test): Likewise.
20355 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
20358 * localedata/locales/hr_HR (mon): Rename to...
20360 (mon): Import from CLDR (genitive case).
20361 (d_t_fmt): Update the comment.
20363 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
20365 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
20366 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
20367 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
20369 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20371 * mach/Versions: Fix version when __mach_host_self_ was added.
20372 * hurd/Versions: Fix version when _hurd_exec_paths was added.
20373 * sysdeps/mach/hurd/i386/ld.abilist: New file.
20374 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
20375 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
20376 * sysdeps/mach/hurd/i386/libc.abilist: New file.
20377 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
20378 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
20379 * sysdeps/mach/hurd/i386/libm.abilist: New file.
20380 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
20381 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
20382 * sysdeps/mach/hurd/i386/librt.abilist: New file.
20383 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
20384 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
20385 || to respect codestyle.
20386 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
20387 (do_test_bz20181): Rename accordingly.
20388 * malloc/malloc.c: Include <assert.h>.
20389 (assert): Do not define.
20390 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
20391 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
20392 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
20393 * sysdeps/mach/hurd/hp-timing.h: New file.
20394 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
20396 2018-01-29 Darius Rad <darius@bluespec.com>
20398 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
20400 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
20402 * sysdeps/init_array/crti.S (.section .init_array): Add
20403 PREINIT_FUNCTION when defined.
20404 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
20405 * config.h.in: Regenerate.
20406 * manual/platform.texi: Add RISC-V documenation for
20407 __riscv_flush_icache.
20408 * sysdeps/riscv/__longjmp.S: New file.
20409 * sysdeps/riscv/backtrace.c: Likewise.
20410 * sysdeps/riscv/bits/endian.h: Likewise.
20411 * sysdeps/riscv/bits/setjmp.h: Likewise.
20412 * sysdeps/riscv/bits/wordsize.h: Likewise.
20413 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
20414 * sysdeps/riscv/bsd-setjmp.c: Likewise.
20415 * sysdeps/riscv/dl-trampoline.S: Likewise.
20416 * sysdeps/riscv/gccframe.h: Likewise.
20417 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
20418 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
20419 * sysdeps/riscv/machine-gmon.h: Likewise.
20420 * sysdeps/riscv/memusage.h: Likewise.
20421 * sysdeps/riscv/setjmp.S: Likewise.
20422 * sysdeps/riscv/sys/asm.h: Likewise.
20423 * sysdeps/riscv/tls-macros.h: Likewise.
20424 * sysdeps/riscv/dl-tls.h: New file.
20425 * sysdeps/riscv/libc-tls.c: Likewise.
20426 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
20427 * sysdeps/riscv/nptl/tls.h: Likewise.
20428 * sysdeps/riscv/stackinfo.h: Likewise.
20429 * sysdeps/riscv/bits/fenv.h: New file.
20430 * sysdeps/riscv/e_sqrtl.c: Likewise.
20431 * sysdeps/riscv/fpu_control.h: Likewise.
20432 * sysdeps/riscv/math-tests.h: Likewise.
20433 * sysdeps/riscv/nofpu/Implies: Likewise.
20434 * sysdeps/riscv/sfp-machine.h: Likewise.
20435 * sysdeps/riscv/tininess.h: Likewise.
20436 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
20437 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
20438 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
20439 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
20440 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
20441 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
20442 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
20443 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
20444 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
20445 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
20446 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
20447 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
20448 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
20449 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
20450 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
20451 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
20452 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
20453 * sysdeps/riscv/rvd/s_finite.c: Likewise.
20454 * sysdeps/riscv/rvd/s_fma.c: Likewise.
20455 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
20456 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
20457 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
20458 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
20459 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
20460 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
20461 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
20462 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
20463 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
20464 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
20465 * sysdeps/riscv/rvf/fegetround.c: Likewise.
20466 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
20467 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
20468 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
20469 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
20470 * sysdeps/riscv/rvf/fesetround.c: Likewise.
20471 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
20472 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
20473 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
20474 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
20475 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
20476 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
20477 * sysdeps/riscv/rvf/math_private.h: Likewise.
20478 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
20479 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
20480 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
20481 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
20482 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
20483 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
20484 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
20485 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
20486 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
20487 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
20488 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
20489 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
20490 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
20491 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
20492 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
20493 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
20494 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
20495 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
20496 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
20497 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
20498 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
20499 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20500 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
20501 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
20502 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
20503 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
20504 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
20505 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
20506 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
20507 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
20508 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
20509 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
20510 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
20511 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
20512 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
20513 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
20514 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
20515 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
20516 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
20517 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
20518 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
20519 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
20520 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
20521 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
20522 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
20523 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
20524 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
20525 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
20526 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
20527 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
20528 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
20529 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
20530 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
20531 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
20532 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
20533 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
20534 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
20535 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
20536 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
20537 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
20538 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
20539 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
20540 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
20541 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
20542 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20543 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
20544 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
20545 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
20546 * sysdeps/riscv/Implies: New file.
20547 * sysdeps/riscv/Makefile: Likewise.
20548 * sysdeps/riscv/configure: Likewise.
20549 * sysdeps/riscv/configure.ac: Likewise.
20550 * sysdeps/riscv/nptl/Makefile: Likewise.
20551 * sysdeps/riscv/preconfigure: Likewise.
20552 * sysdeps/riscv/rv64/Implies-after: Likewise.
20553 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
20554 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
20555 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
20556 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
20557 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
20558 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
20559 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
20560 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
20561 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
20562 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
20563 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
20564 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
20565 (Config): Likewise.
20567 2018-01-29 Florian Weimer <fweimer@redhat.com>
20570 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
20571 libnsl_hidden_proto.
20572 * include/rpcsvc/yp.h (yp_xdrall): Declare with
20573 libnsl_hidden_proto.
20574 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
20575 * nis/Makefile (libnsl-routines): Add nss-default only for
20576 build-obsolete-nsl.
20577 * nis/nis_defaults.c (__nis_default_ttl): Add
20578 libnsl_hidden_nolink_def.
20579 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
20581 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
20582 * nis/ypclnt.c (yp_maplist): Likewise.
20584 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
20586 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20587 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
20589 2018-01-29 Joseph Myers <joseph@codesourcery.com>
20591 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
20592 clean -dxfq for git updates when replacing sources.
20594 * scripts/build-many-glibcs.py (Config.build_gcc): Use
20595 --disable-libcilkrts unconditionally, not just for the final GCC
20598 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20601 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20604 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
20607 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20610 * localedata/locales/be_BY (mon): Rename to...
20611 (alt_mon): This, then synchronize with CLDR (nominative case).
20612 (abmon): Rename to...
20613 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20614 (mon): Import from CLDR (genitive case).
20616 * localedata/locales/be_BY@latin (mon): Rename to...
20618 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
20620 * localedata/locales/be_BY@latin (lang_name): Reworded to
20621 "biełaruskaja mova".
20623 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20626 * localedata/locales/el_CY (mon): Renamed to...
20628 (mon): Import from CLDR (genitive case).
20629 * localedata/locales/el_GR: Likewise.
20631 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20634 * localedata/locales/ru_RU (mon): Rename to...
20636 (abmon): Rename to...
20637 (ab_alt_mon): This.
20638 (mon): Import from CLDR (genitive case).
20639 (abmon): Copy from the old content except the 5th month which is
20640 now in the genitive case, even when abbreviated.
20641 * localedata/locales/ru_UA: Likewise.
20642 * time/tst-strptime.c (day_tests): Add an actual example of
20643 a difference between %b and %Ob in Russian.
20645 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20647 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
20648 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
20650 * resolv/res-close.c: Include <stdlib.h>.
20651 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
20652 <sys/wait.h>, <time.h>, <sys/uio.h>.
20653 (NOT_CANCEL_H): Add inclusion guard.
20654 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
20655 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
20656 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
20658 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
20659 vm_address_t * to ElfW(Addr) * for dl_main parameter.
20660 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
20662 * sysdeps/pthread/timer_create.c (timer_create): Do not use
20663 timer_ptr2id to cast struct timer_node * to void *.
20664 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
20665 --disable-libcilkrts to gcc configure.
20666 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
20667 and make them the default for now.
20668 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
20669 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
20670 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
20671 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
20672 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
20674 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
20675 __task_terminate would ever return successfully.
20676 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
20678 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
20679 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
20680 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
20681 critical section to make code simpler and avoid warning.
20682 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
20683 critical section to make code simpler and avoid warning.
20684 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
20685 const char * instead of char *.
20686 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
20687 __hurd_file_name_split, hurd_file_name_split,
20688 __hurd_directory_name_split, hurd_directory_name_split,
20689 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
20690 hurd_file_name_path_lookup): Make lookup function parameter take a
20691 const char *name instead of char *name.
20692 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
20693 __hurd_directory_name_split): Likewise.
20694 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
20695 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
20696 * sysdeps/mach/hurd/check_native.c: New file.
20697 * sysdeps/mach/hurd/check_pf.c: New file.
20698 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
20699 (__freeifaddrs): Define macro to freeifaddrs.
20700 * sysdeps/mach/hurd/libhurduser.abilist: New file.
20701 * sysdeps/mach/libmachuser.abilist: New file.
20702 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
20703 (do_test_bz20181): Rename accordingly.
20704 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
20705 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
20707 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
20708 version only if __USE_EXTERN_INLINES is defined.
20709 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
20710 __hurd_sockfail): Likewise.
20711 (_hurd_fd_get): Always declare functions, and provide inline versions
20712 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
20713 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
20714 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
20715 _hurd_port_set): Always declare functions, and provide inline versions
20716 only if __USE_EXTERN_INLINES and _LIBC are defined and
20718 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
20719 _hurd_critical_section_unlock): Likewise.
20720 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
20721 * __hurd_threadvar_location): Likewise.
20722 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
20723 _hurd_userlink_clear): Likewise.
20724 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
20725 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
20726 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
20727 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
20728 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
20729 __spin_lock_locked): Likewise.
20730 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
20731 __spin_lock_locked): Likewise.
20732 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
20733 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
20734 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
20735 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
20736 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
20737 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
20738 _POSIX_NO_TRUNC): Define to 0.
20739 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
20740 check size against PTHREAD_STACK_MIN.
20741 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
20742 IS_IN(libpthread)]: Include <sigsetops.h>.
20743 * mach/Makefile (user-interfaces): Add mach/gnumach.
20744 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
20745 * sysdeps/mach/configure (mach_interface_list): Regenerate.
20746 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
20747 instead of invalid -1.
20748 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
20749 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
20750 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
20753 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
20755 * hurd/fcntl-internal.h: New file.
20757 2018-01-27 James Clarke <jrtc27@jrtc27.com>
20759 * sysdeps/hppa/fpu/libm-test-ulps: Update.
20761 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20763 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
20766 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
20767 Build only shared objects.
20769 2018-01-26 Carlos O'Donell <carlos@redhat.com>
20771 * README: Update for hppa.
20773 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20775 * sysdeps/sparc/fpu/libm-test-ulps: Update
20776 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
20778 2018-01-26 Carlos O'Donell <carlos@redhat.com>
20782 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20785 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20786 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20787 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20788 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20791 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20794 * bits/types/__cancel_jmp_buf_tag.h: New file.
20795 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20796 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20797 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20798 * nptl/Makefile (headers): Add
20799 bits/types/__cancel_jmp_buf_tag.h.
20800 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20801 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20802 * sysdeps/nptl/pthread.h: Include
20803 <bits/types/__cancel_jmp_buf_tag.h>.
20804 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20806 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20808 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
20811 * localedata/locales/uk_UA (mon): Renamed to...
20813 (alt_digits): "0" removed and then renamed to...
20815 (date_fmt): Definition changed not to use the alternative
20818 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
20820 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
20821 FLAG_RISCV_FLOAT_ABI_DOUBLE.
20822 * elf/elf.h (EF_RISCV_RVC): New define.
20823 (EF_RISCV_FLOAT_ABI): Likewise.
20824 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
20825 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
20826 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20827 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
20828 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
20830 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20832 2018-01-25 Andreas Schwab <schwab@suse.de>
20834 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
20836 * sysdeps/gnu/configure: Regenerate.
20837 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20838 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20840 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20841 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20842 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
20843 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20844 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20846 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20848 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
20849 URL, and run autoconf, make it the default for now.
20851 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20853 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20854 soft-float ColdFire configuration.
20856 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
20857 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
20858 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
20860 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
20863 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
20865 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
20867 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
20870 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
20871 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
20872 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
20875 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20878 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
20879 Rename to __reserved and add comment.
20880 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
20881 Rename to __reserved.
20883 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20885 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20886 i686-gnu configurations.
20887 (Context.run_builds): Include mig, gnumach and hurd in components
20889 (Context.checkout): Add mig, gnumach and hurd to components.
20890 (Context.checkout_tar): Add URL mappings for mig, gnumach and
20892 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
20893 (Config.build): Install gnumach headers, build mig and install
20894 hurd headers for 'gnu' OS.
20895 (Config.install_gnumach_headers): New function.
20896 (Config.install_hurd_headers): Likewise.
20897 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
20898 when building for 'gnu' OS.
20900 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
20902 * manual/tunables.texi (Hardware Capability Tunables): Fix
20905 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
20907 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
20908 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
20909 (ALTMON_11, ALTMON_12): Improve documentation.
20910 * manual/time.texi (strftime): Likewise.
20912 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20915 * localedata/locales/pl_PL: Alternative month names added,
20916 primary month names are genitive now.
20917 * time/tst-strptime.c (day_tests): Actually use a genitive case
20918 of a month name in Polish language.
20920 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20923 * manual/locale.texi: Document ALTMON_1..12 constants for
20924 nl_langinfo. Specify when to use ALTMON instead of MON.
20925 * manual/time.texi (strftime, strptime): Document GNU extension
20926 permitting O modifier with %B and %b. Specify when to use
20929 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20932 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
20933 names, define them as the same as abbreviated month names explicitly.
20934 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
20935 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
20936 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
20937 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
20938 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
20939 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
20940 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
20941 _NL_WABALTMON_12): New enum constants.
20942 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
20943 wab_alt_mon, and ab_alt_mon_defined members.
20944 (time_output): Output ab_alt_mon and wab_alt_mon members.
20945 (time_read): Read them, initialize them as copies of abmon and wabmon
20946 respectively if they are missing, initialize ab_alt_mon_defined.
20947 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
20948 * locale/programs/locfile-kw.h: Regenerate.
20949 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
20950 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
20952 * time/strftime_l.c (a_altmonth, aam_len): New macros.
20953 [!COMPILE_WIDE] (ABALTMON_1): New macro.
20954 (__strftime_internal): Handle %Ob and %Oh formats.
20955 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
20956 (__strptime_internal): Handle %Ob and %Oh formats.
20957 * time/tst-strptime.c (day_tests): Add more tests to parse different
20958 forms of month names including the new %Ob format specifier.
20960 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20963 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
20964 define them as the same as primary full month names explicitly.
20965 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
20966 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
20967 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
20968 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
20969 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
20970 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
20971 _NL_WALTMON_12): New enum constants.
20972 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
20973 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
20975 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
20976 walt_mon, and alt_mon_defined members.
20977 (time_output): Output alt_mon and walt_mon members.
20978 (time_read): Read them, initialize them as copies of mon and wmon
20979 respectively if they are missing, initialize alt_mon_defined.
20980 * locale/programs/locfile-kw.gperf (alt_mon): Define.
20981 * locale/programs/locfile-kw.h: Regenerate.
20982 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
20983 * localedata/tst-langinfo.c (map): Add tests for the new constants
20984 ALTMON_1 .. ALTMON_12.
20985 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
20987 * time/strftime_l.c (f_altmonth): New macro.
20988 (__strftime_internal): Handle %OB format.
20989 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
20990 (__strptime_internal): Handle %OB format.
20991 * time/tst-strptime.c (day_tests): Add tests to parse different forms
20992 of month names including the new %OB format specifier.
20994 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20997 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
20998 from ABORT_TRANSACTION.
20999 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
21000 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
21001 ABORT_TRANSACTION_IMPL): Likewise.
21002 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
21003 Linux code, but remove the code that aborts transactions.
21005 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
21007 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
21009 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
21011 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
21012 in date: "2004-14-09" should be "2004-09-14".
21013 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
21014 "2003-15-09" should be "2003-09-15".
21016 2018-01-18 Arjun Shankar <arjun@redhat.com>
21022 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
21024 (_int_memalign): check for integer overflow before calling
21026 * malloc/tst-malloc-too-large.c: New test.
21027 * malloc/Makefile: Add tst-malloc-too-large.
21029 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
21031 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
21032 in date: "2017-24-07" should be "2017-07-24".
21033 * localedata/locales/mai_IN: Likewise.
21034 * localedata/locales/mai_NP: Likewise.
21036 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
21038 * po/ru.po: Update translations.
21040 2018-01-17 Joseph Myers <joseph@codesourcery.com>
21043 * sysdeps/hppa/backtrace.c: New file.
21045 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
21048 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
21049 align La_x86_64_retval to VEC_SIZE.
21051 2018-01-16 Joseph Myers <joseph@codesourcery.com>
21053 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
21054 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
21056 2018-01-16 Florian Weimer <fweimer@redhat.com>
21058 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
21059 Move tst-thread-exit-clobber ...
21060 [$(CXX)] (tests-unsupported): ... to here.
21062 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21064 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
21065 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
21066 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21067 (_dl_aarch64_cap_flags): Update.
21068 (_DL_HWCAP_COUNT): Update.
21070 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21072 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
21073 (_DL_HWCAP_LAST): Remove.
21074 (_DL_HWCAP_COUNT): Move to ...
21075 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21076 (_DL_HWCAP_COUNT): ... here.
21078 2018-01-16 Florian Weimer <fweimer@redhat.com>
21080 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
21081 mode with GNU extensions.
21083 2018-01-15 Alan Hayward <alan.hayward@arm.com>
21085 * elf/elf.h (NT_ARM_SVE): Define.
21087 2018-01-15 Florian Weimer <fweimer@redhat.com>
21090 * nptl/tst-minstack-throw.cc: New file.
21091 * nptl/Makefile (tests): Add tst-minstack-throw.
21092 (LDLIBS-tst-minstack-throw): Link with libstdc++.
21093 [!CXX] (tests-unsupported): Add tst-minstack-throw.
21095 2018-01-15 Joseph Myers <joseph@codesourcery.com>
21097 * scripts/build-many-glibcs.py (Context.checkout): Default
21098 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
21101 2018-01-13 Carlos O'Donell <carlos@redhat.com>
21104 * elf/elf.h (DF_1_STUB): Define.
21105 (DF_1_PIE): Define.
21107 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21110 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
21111 Do not add 0.5 to integer or out-of-range arguments.
21113 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21115 * po/bg.po: Update translations.
21116 * po/cs.po: Likewise.
21117 * po/de.po: Likewise.
21118 * po/ko.po: Likewise.
21119 * po/pl.po: Likewise.
21120 * po/sv.po: Likewise.
21121 * po/uk.po: Likewise.
21122 * po/vi.po: Likewise.
21124 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21126 * aarch64/start.S (_start): Use __wrap_main.
21127 (__wrap_main): New local symbol.
21129 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21133 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
21134 generic_getcwd if the path returned by getcwd syscall is not absolute.
21135 * io/tst-getcwd-abspath.c: New test.
21136 * io/Makefile (tests): Add tst-getcwd-abspath.
21138 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
21140 * malloc/malloc.c (malloc_consolidate): Add size check.
21142 2018-01-12 Florian Weimer <fweimer@redhat.com>
21144 * support/write_message.c (write_message): Preserve errno.
21145 * support/check.c (print_failure): Likewise.
21146 * support/support_test_verify_impl.c (support_test_verify_impl):
21148 * support/support_test_compare_failure.c
21149 (support_test_compare_failure): Likewise.
21151 2018-01-12 Florian Weimer <fweimer@redhat.com>
21154 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
21155 Prevent installation of libnsl.so.
21156 (libnsl-inhibit-o): Do not build (or install) static libraries.
21158 2018-01-12 Egmont Koblinger <egmont@gmail.com>
21161 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
21162 before the day number which may produce a double space.
21163 (date_fmt): Likewise.
21165 2018-01-12 Joseph Myers <joseph@codesourcery.com>
21167 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
21168 instead of fegetenv.
21170 2018-01-11 Joseph Myers <joseph@codesourcery.com>
21173 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
21174 comment to say exceptions are discarded.
21175 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
21177 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
21180 2018-01-11 Florian Weimer <fweimer@redhat.com>
21182 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
21185 2018-01-11 Florian Weimer <fweimer@redhat.com>
21188 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
21189 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
21191 2018-01-10 Joseph Myers <joseph@codesourcery.com>
21194 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
21195 negative arguments in test for NaN or infinity argument.
21197 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
21199 * po/libc.pot: Regenerate.
21201 2018-01-10 Florian Weimer <fweimer@redhat.com>
21204 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
21205 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
21207 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21209 * hurd/hurd/fd.h: Include <fcntl.h>
21210 (__hurd_at_flags): New function.
21211 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
21212 with call to __hurd_at_flags.
21213 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
21214 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
21216 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
21217 (__access_noerrno): Use __faccessat_common instead of access_common.
21218 (__access): Likewise.
21219 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
21220 with a call to __faccessat.
21221 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
21222 (__faccessat_common): ... this. Move implementation of __access into it when
21223 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
21224 reauthenticate_cwdir_at helper to implement AT mechanism.
21225 (__faccessat_noerrno): New function, just calls __faccessat_common.
21226 (__faccessat): New function, just calls __faccessat_common.
21227 (faccessat): Define weak alias.
21229 2018-01-10 Joseph Myers <joseph@codesourcery.com>
21232 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21233 (CFLAGS-s_fmaxmagl.c): New variable.
21234 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
21237 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
21238 long int for arguments of possibly overflowing addition or
21240 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21242 2018-01-09 Joseph Myers <joseph@codesourcery.com>
21245 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21246 (CFLAGS-e_remainderl.c): New variable.
21249 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
21251 (CFLAGS-s_cacoshl.c): Likewise.
21252 (CFLAGS-s_casinhl.c): Likewise.
21253 (CFLAGS-s_catanl.c): Likewise.
21254 (CFLAGS-s_catanhl.c): Likewise.
21255 (CFLAGS-s_cexpl.c): Likewise.
21256 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
21257 (CFLAGS-s_csinhl.c): Likewise.
21258 (CFLAGS-s_clogl.c): Likewise.
21259 (CFLAGS-s_clog10l.c): Likewise.
21260 (CFLAGS-s_csinl.c): Likewise.
21261 (CFLAGS-s_csqrtl.c): Likewise.
21263 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
21264 2017-01-09 Svante Signell <svante.signell@gmail.com>
21266 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
21267 (_hurd_exec_paths): New function.
21268 * hurd/hurd.h (_hurd_exec): Deprecate function.
21269 (_hurd_exec_paths): Declare function.
21270 * hurd/Versions: Export _hurd_exec_paths.
21271 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
21272 (__execve): Use __getcwd to build absolute path, and use
21273 _hurd_exec_paths instead of _hurd_exec.
21274 * sysdeps/mach/hurd/spawni.c: Likewise.
21275 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
21278 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
21280 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
21281 test instead of failing in case of ENOENT returned by posix_openpt.
21283 2018-01-08 Florian Weimer <fweimer@redhat.com>
21285 resolv: Support binary labels in test framework.
21286 * support/resolv_test.c (struct to_be_freed): Remove.
21287 (struct compressed_name): New.
21288 (allocate_compressed_name, ascii_tolower)
21289 (compare_compressed_name): New functions.
21290 (struct resolv_response_builder): Update type of
21291 compression_offsets for use with tsearch. Rempve to_be_freed.
21292 (response_push_pointer_to_free): Remove function.
21293 (resolv_response_add_name): Rewrite using struct compressed_name
21294 and tsearch instead of hsearch_r.
21295 (response_builder_allocate): Remove initialization of
21296 compression_offsets.
21297 (response_builder_free): Update for removal of to_be_freed. Use
21298 tdestroy instead of hdestroy_r.
21299 * resolv/Makefile (tests): Add tst-resolv-binary.
21300 (tst-resolv-binary): Link with -lresolv -lpthread.
21302 2018-01-08 Florian Weimer <fweimer@redhat.com>
21304 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
21305 time. Pass positive flag instead of negative flag to
21306 support_test_compare_failure.
21307 (support_test_compare_failure): Change negative parameter to
21309 * support/support_test_compare_failure.c (report)
21310 (support_test_compare_failure): Likewise.
21311 * support/tst-test_compare.c (return_ssize_t, return_int): New.
21312 (do_test): Check int/size_t, ssize_t/size_t comparisons.
21314 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
21317 * nptl/descr.h (stackblock, stackblock_size): Update comments.
21318 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
21319 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
21321 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21323 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
21325 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21326 Add s_sincosf-sse2 and s_sincosf-fma.
21327 (CFLAGS-s_sincosf-fma.c): New.
21328 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
21329 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
21330 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
21331 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
21332 __sincosf is defined.
21334 2018-01-08 Florian Weimer <fweimer@redhat.com>
21336 * nptl/tst-thread-exit-clobber.cc: New file.
21337 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
21339 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
21340 (tests): Add tst-thread-exit-clobber.
21341 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
21343 2018-01-08 Florian Weimer <fweimer@redhat.com>
21345 * support/check.h (support_static_assert): Define.
21346 (TEST_COMPARE): Use it.
21348 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
21350 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
21351 [!__RLIM_T_MATCHES_RLIM64_T]
21352 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
21353 __getrlimit64. Add libc_hidden_weak.
21355 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
21357 * elf/elf.h (R_RISCV_NONE): New define.
21358 (R_RISCV_32): Likewise.
21359 (R_RISCV_64): Likewise.
21360 (R_RISCV_RELATIVE): Likewise.
21361 (R_RISCV_COPY): Likewise.
21362 (R_RISCV_JUMP_SLOT): Likewise.
21363 (R_RISCV_TLS_DTPMOD32): Likewise.
21364 (R_RISCV_TLS_DTPMOD64): Likewise.
21365 (R_RISCV_TLS_DTPREL32): Likewise.
21366 (R_RISCV_TLS_DTPREL64): Likewise.
21367 (R_RISCV_TLS_TPREL32): Likewise.
21368 (R_RISCV_TLS_TPREL64): Likewise.
21369 * Makerules (make-link-multidir): Make directories before linking into
21371 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
21373 (VDSO_HASH_LINUX_4_15): Likewise.
21374 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
21375 in subdirectories of lib.
21376 * nptl/Makefile (/librt.so): Always depend on
21377 "$(shared-thread-library)".
21379 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21381 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
21382 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
21383 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
21385 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
21386 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
21388 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
21389 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
21390 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
21391 * sysdeps/gnu/glob-lstat-compat.c: New file.
21392 * sysdeps/gnu/glob64-lstat-compat.c: New file.
21393 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
21395 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21397 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
21398 Reserve 16 chars to reloc_addr before calling _itoa_word.
21400 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21403 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
21404 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
21406 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
21407 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
21409 * resource/tst-getrlimit.c: Add copyright header.
21411 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21412 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21414 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21415 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
21416 Define __GI_getrlimit64 as weak alias of __getrlimit64.
21417 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
21419 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21420 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
21421 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
21422 RLIM64_INFINITY): Fix values to match the kernel ones.
21423 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
21424 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
21425 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
21426 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
21427 getrlimit64@@GLIBC_2_27.
21428 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
21430 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
21431 getrlimit, setrlimit, getrlimit64 and setrlimit64.
21432 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
21433 setrlimit, getrlimit64 and setrlimit64.
21435 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21438 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
21439 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
21441 2018-01-04 Joseph Myers <joseph@codesourcery.com>
21443 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
21444 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
21445 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
21447 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21451 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
21452 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
21456 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
21457 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
21458 * sysdeps/alpha/fpu/s_floor.c: Likewise.
21459 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
21461 2018-01-04 Florian Weimer <fweimer@redhat.com>
21464 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21465 Align the stack before calling exit.
21466 * stdlib/tst-makecontext-align.c: New file.
21467 * stdlib/Makefile (tests): Add tst-makecontext-align.
21469 2018-01-04 Florian Weimer <fweimer@redhat.com>
21471 Add support for calling dlvsym from libc.so.
21472 * include/dlfcn.h (__libc_dlvsym): Declare.
21473 * elf/Makefile (tests-static-internal): Add
21474 tst-libc_dlvsym-static.
21475 (tests-internal): Add tst-libc_dlvsym.
21476 (modules-names): Add tst-libc_dlvsym-dso.
21477 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
21478 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
21479 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
21480 object tst-libc_dlvsym-dso.so needs to be built before running
21482 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
21483 * elf/Versions: Export __libc_dlvsym.
21484 * elf/dl-libc.c (struct do_dlvsym_args): New.
21485 (do_dlvsym, __libc_dlvsym): New functions.
21486 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
21487 (_dl_open_hook2): New variable.
21488 (__libc_register_dl_open_hook): Set it.
21489 * elf/tst-libc_dlvsym-dso.c: New file.
21490 * elf/tst-libc_dlvsym-static.c: Likewise.
21491 * elf/tst-libc_dlvsym.c: Likewise.
21492 * elf/tst-libc_dlvsym.h: Likewise.
21494 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
21496 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
21497 include <sys/mount.h>.
21499 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
21501 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
21502 Add __NO_MATH_ERRNO__ check.
21504 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21506 * sysdeps/mips/mips32/libm-test-ulps: Update.
21507 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21509 2018-01-02 Florian Weimer <fweimer@redhat.com>
21511 * misc/tst-pselect.c: Add copyright header.
21513 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21515 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
21517 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
21519 (settrlimit): Rename into setrlimit.
21520 (__sttrlimit): Rename into __setrlimit.
21522 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
21523 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
21524 never defined in that case.
21526 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21528 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
21530 * sysdeps/arm/libm-test-ulps: Update.
21532 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
21533 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
21535 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21537 * NEWS: Add cosf and sincosf to list of optimized functions.
21539 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21542 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
21543 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
21544 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
21545 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
21547 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
21550 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
21552 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
21553 making a copy of it.
21555 2018-01-01 Joseph Myers <joseph@codesourcery.com>
21557 * manual/texinfo.tex: Update to version 2017-12-26.21 with
21558 trailing whitespace removed.
21559 * scripts/config.guess: Update to version 2018-01-01.
21560 * scripts/config.sub: Update to version 2018-01-01.
21561 * scripts/move-if-change: Update from gnulib.
21563 * NEWS: Update copyright dates.
21564 * catgets/gencat.c (print_version): Likewise.
21565 * csu/version.c (banner): Likewise.
21566 * debug/catchsegv.sh: Likewise.
21567 * debug/pcprofiledump.c (print_version): Likewise.
21568 * debug/xtrace.sh (do_version): Likewise.
21569 * elf/ldconfig.c (print_version): Likewise.
21570 * elf/ldd.bash.in: Likewise.
21571 * elf/pldd.c (print_version): Likewise.
21572 * elf/sotruss.sh: Likewise.
21573 * elf/sprof.c (print_version): Likewise.
21574 * iconv/iconv_prog.c (print_version): Likewise.
21575 * iconv/iconvconfig.c (print_version): Likewise.
21576 * locale/programs/locale.c (print_version): Likewise.
21577 * locale/programs/localedef.c (print_version): Likewise.
21578 * login/programs/pt_chown.c (print_version): Likewise.
21579 * malloc/memusage.sh (do_version): Likewise.
21580 * malloc/memusagestat.c (print_version): Likewise.
21581 * malloc/mtrace.pl: Likewise.
21582 * manual/libc.texinfo: Likewise.
21583 * nptl/version.c (banner): Likewise.
21584 * nscd/nscd.c (print_version): Likewise.
21585 * nss/getent.c (print_version): Likewise.
21586 * nss/makedb.c (print_version): Likewise.
21587 * posix/getconf.c (main): Likewise.
21588 * scripts/test-installation.pl: Likewise.
21589 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21591 * All files with FSF copyright notices: Update copyright dates
21592 using scripts/update-copyrights.
21593 * locale/programs/charmap-kw.h: Regenerated.
21594 * locale/programs/locfile-kw.h: Likewise.
21596 2017-12-31 Zack Weinberg <zackw@panix.com>
21598 * libio/bits/libio-ldbl.h: Correct check for improper
21599 inclusion. Add own multiple include guard.
21601 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
21602 Dmitry V. Levin <ldv@altlinux.org>
21606 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
21607 string token expansion. Check for NULL pointer or empty string possibly
21608 returned by expand_dynamic_string_token.
21609 (decompose_rpath): Check for empty path after dynamic string
21612 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
21615 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
21617 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
21618 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
21619 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
21620 and PTRACE_SYSCALL.
21621 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
21622 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21623 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21624 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21625 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21626 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21628 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
21629 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21630 __ptrace_peeksiginfo_flags, ptrace): Move to ...
21631 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
21632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21633 bits/ptrace-shared.h.
21634 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
21635 <bits/ptrace-shared.h>.
21636 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21637 __ptrace_peeksiginfo_flags, ptrace): Remove.
21638 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21639 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21640 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21641 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21642 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21644 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21647 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
21648 end of the loop. Improve comments.
21650 2017-12-29 Zack Weinberg <zackw@panix.com>
21653 * manual/errno.texi (Checking for Errors): Explicitly say that errno
21654 might be set on success.
21656 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21659 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
21660 is unchanged on success.
21662 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
21664 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
21666 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
21667 expand_dynamic_string_token): Likewise.
21668 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
21671 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
21674 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
21675 is set and name contains ':', and all code depending on these checks.
21677 2017-12-24 Zack Weinberg <zackw@panix.com>
21679 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
21680 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
21682 * libio/libio.h: Rename the original version of this file to
21683 libio/bits/libio.h. Error out if not included by stdio.h or the
21685 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
21686 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
21687 if not included by bits/libio.h or the stub _G_config.h.
21688 * sysdeps/unix/sysv/linux/_G_config.h: Move to
21689 sysdeps/unix/sysv/linux/bits. Error out if not included by
21690 bits/libio.h or the stub _G_config.h.
21691 * libio/stdio.h: Include bits/libio.h, not libio.h.
21692 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
21693 well as libio.h and _G_config.h.
21695 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
21696 * libio/strfile.h, stdio-common/vfscanf.c
21697 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
21698 Include stdio.h, not _G_config.h nor libio.h.
21699 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
21700 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
21702 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
21704 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
21707 * stdlib/getrandom.c (getrandom): Fix comment.
21708 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
21710 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
21713 * manual/arith.texi (strtoul): Fix a typo.
21716 * manual/arith.texi (finite): Fix the description of the return
21719 2017-12-22 Eric Blake <ebb9@byu.net>
21721 Avoid gcc warnings on cygwin
21722 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
21723 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
21724 Avoid unused variable.
21726 2017-12-22 Florian Weimer <fweimer@redhat.com>
21728 * io/Makefile (routines): Add copy_file_range.
21729 (tests): Add tst-copy_file_range.
21730 (tests-static, tests-internal): Add tst-copy_file_range-compat.
21731 * io/Versions (GLIBC_2.27): Export copy_file_range.
21732 * io/copy_file_range-compat.c: New file.
21733 * io/copy_file_range.c: Likewise.
21734 * io/tst-copy_file_range-compat.c: Likewise.
21735 * io/tst-copy_file_range.c: Likewise.
21736 * manual/llio.texi (Copying File Data): New section.
21737 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
21738 * support/Makefile (libsupport-routines): Add support-xfstat,
21739 xftruncate, xlseek.
21740 * support/support-xfstat.c: New file.
21741 * support/xftruncate.c: Likewise.
21742 * support/xlseek.c: Likewise.
21743 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
21744 * sysdeps/unix/sysv/linux/**.abilist: Update.
21745 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
21747 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
21749 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21750 disable-multi-arch variant to aarch64-linux-gnu.
21752 2017-12-20 Joseph Myers <joseph@codesourcery.com>
21754 * manual/texinfo.tex: Update to version 2017-12-18.20 with
21755 trailing whitespace removed.
21756 * scripts/config.guess: Update to version 2017-12-17.
21757 * scripts/config.sub: Update to version 2017-11-23.
21758 * scripts/install-sh: Update to version 2017-09-23.17.
21759 * scripts/move-if-change: Update to version 2017-09-13 06:45.
21761 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21763 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
21764 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21765 * sysdeps/tile/_mcount.S (__mcount): Likewise.
21766 * sysdeps/tile/crti.S (_init, _fini): Likewise.
21767 * sysdeps/tile/crtn.S: Likewise.
21768 * sysdeps/tile/dl-start.S (_start): Likewise.
21769 * sysdeps/tile/dl-trampoline.S: Likewise.
21770 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
21771 * sysdeps/tile/start.S (_start): Likewise.
21772 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
21773 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
21774 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
21775 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
21776 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
21777 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
21778 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
21780 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
21782 * sysdeps/tile/preconfigure: Remove tilegx folder.
21783 * sysdeps/tile/tilegx/Implies: Move definitions to ...
21784 * sysdeps/tile/Implies: ... here.
21785 * sysdeps/tile/tilegx/Makefile: Move rules to ...
21786 * sysdeps/tile/Makefile: ... here.
21787 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
21788 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
21789 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
21790 * sysdeps/tile/bits/wordsize.h: ... here.
21791 * sysdeps/tile/tilegx/*: Move to ...
21792 * sysdeps/tile/*: ... here.
21793 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
21794 * sysdeps/tile/tilegx32/Implies: ... here.
21795 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
21796 * sysdeps/tile/tilegx64/Implies: ... here.
21797 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
21799 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
21800 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
21801 * sysdeps/unix/sysv/linux/tile/*: ... here.
21802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
21803 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
21804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
21805 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
21807 * README: Remove tilepro-*-linux-gnu from supported architecture.
21808 * scripts/build-many-glibcs.py: Likewise.
21809 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21810 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
21811 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
21812 elf_machine_matches_host, elf_machine_dynamic,
21813 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
21814 howto, elf_machine_rela): Likewise.
21815 * sysdeps/tile/dl-start.S (_start): Likewise.
21816 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
21817 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
21818 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
21819 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
21820 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
21821 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21823 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
21824 * sysdeps/tile/preconfigure: Likewise.
21825 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
21826 POINTER_CHK_GUARD): Likewise.
21827 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
21828 * sysdeps/tile/start.S (_start): Likewise.
21829 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
21831 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
21832 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
21834 * sysdeps/unix/sysv/linux/tile/bits/environments.h
21835 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
21836 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
21838 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
21839 * sysdeps/tile/tilepro/Implies: Remove file.
21840 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
21841 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
21842 * sysdeps/tile/tilepro/memchr.c: Likewise.
21843 * sysdeps/tile/tilepro/memcpy.S: Likewise.
21844 * sysdeps/tile/tilepro/memset.c: Likewise.
21845 * sysdeps/tile/tilepro/memusage.h: Likewise.
21846 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
21847 * sysdeps/tile/tilepro/strchr.c: Likewise.
21848 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
21849 * sysdeps/tile/tilepro/strlen.c: Likewise.
21850 * sysdeps/tile/tilepro/strrchr.c: Likewise.
21851 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
21852 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
21853 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21854 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
21855 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
21856 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21858 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
21859 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21860 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
21861 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
21862 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21863 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
21864 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
21865 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
21866 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
21867 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
21868 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
21869 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
21870 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
21871 tilepro mention in comment.
21873 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
21874 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
21875 * nptl/pthread_join_common.c: New file: common function used on
21876 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
21877 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
21878 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
21879 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21880 (cleanup): Move definition to pthread_join_common.c.
21881 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
21882 Remove superflous checks.
21883 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
21886 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
21888 * sysdeps/aarch64/libm-test-ulps: Update.
21890 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21892 * sysdeps/aarch64/memset.S (MEMSET): Define.
21894 2017-12-20 Florian Weimer <fweimer@redhat.com>
21897 nptl: Provide full implementation of pthread_self in libc.so.
21898 * nptl/Makefile (routines): Add pthread_self.
21899 (libpthread-routines): Replace pthread_self with
21900 compat-pthread_self.
21901 * nptl/forward.c (pthread_self): Remove.
21902 * nptl/nptl-init.c (pthread_functions): Do not initialize
21904 * nptl/pthread_self.c (pthread_self): Remove weak alias.
21905 * nptl/compat-pthread_self.c: New file.
21906 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
21907 Remove ptr_pthread_self.
21909 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
21911 * posix/regcomp.c: Fix spelling in comments.
21912 * posix/regex.h: Likewise.
21913 * posix/regex_internal.c: Likewise.
21914 * posix/regexec.c: Likewise.
21916 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
21919 * math/Makefile [C++] (tests): Add test for iseqsig.
21920 * math/math.h [C++] (iseqsig): New implementation, which does
21921 not rely on __MATH_TG/__builtin_types_compatible_p.
21922 * math/test-math-iseqsig.cc: New file.
21923 * sysdeps/powerpc/powerpc64le/Makefile
21924 (CFLAGS-test-math-iseqsig.cc): New variable.
21926 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
21928 * elf/dl-load.c (is_trusted_path): Remove.
21929 (fillin_rpath): Remove check_trusted argument and its use,
21930 all callers changed.
21932 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21935 * Makeconfig (link-pie-before-libc): Replace -pie with
21936 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
21937 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
21938 (tst-dlopen-aout-no-pie): New.
21939 (LDFLAGS-tst-prelink): Removed.
21940 (tst-prelink-no-pie): New.
21941 (LDFLAGS-tst-main1): Removed.
21942 (tst-main1-no-pie): New.
21943 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
21944 (tst-gmon-no-pie): New.
21946 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21948 * manual/install.texi: Document that --enable-static-pie
21950 * INSTALL: Regenerated.
21952 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
21955 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
21958 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21962 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21964 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21966 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21968 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21969 <errno.h>. Include "eexp.tbl".
21970 (half): New constant.
21972 (__ieee754_exp): Rewrite.
21973 (__slowexp): Remove prototype.
21974 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21975 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21976 * sysdeps/i386/fpu/slowexp.c: Likewise.
21977 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21978 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21979 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21980 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21981 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21982 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21983 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21985 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21986 (CPPFLAGS-slowexp.c): Remove variable.
21987 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21988 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21989 (CFLAGS-slowexp-fma.c): Remove variable.
21990 (CFLAGS-slowexp-fma4.c): Likewise.
21991 (CFLAGS-slowexp-avx.c): Likewise.
21992 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21994 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21995 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21996 * math/Makefile (type-double-routines): Remove slowexp.
21997 * manual/probes.texi (slowexp_p6): Remove.
21998 (slowexp_p32): Likewise.
22000 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22002 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
22005 * lib/glob.c (glob): Do not pass NULL to mempcpy.
22007 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22009 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22011 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22013 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
22014 <errno.h>. Include "eexp.tbl".
22015 (half): New constant.
22017 (__ieee754_exp): Rewrite.
22018 (__slowexp): Remove prototype.
22019 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
22020 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
22021 * sysdeps/i386/fpu/slowexp.c: Likewise.
22022 * sysdeps/ia64/fpu/slowexp.c: Likewise.
22023 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
22024 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
22025 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
22026 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22027 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
22028 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
22030 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
22031 (CPPFLAGS-slowexp.c): Remove variable.
22032 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22033 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
22034 (CFLAGS-slowexp-fma.c): Remove variable.
22035 (CFLAGS-slowexp-fma4.c): Likewise.
22036 (CFLAGS-slowexp-avx.c): Likewise.
22037 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
22039 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
22040 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
22041 * math/Makefile (type-double-routines): Remove slowexp.
22042 * manual/probes.texi (slowexp_p6): Remove.
22043 (slowexp_p32): Likewise.
22045 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22046 James Clarke <jrtc27@jrtc27.com>
22049 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
22052 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22055 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
22058 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22061 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22062 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22063 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22064 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22067 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22070 * bits/types/__cancel_jmp_buf_tag.h: New file.
22071 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22072 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22073 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22074 * nptl/Makefile (headers): Add
22075 bits/types/__cancel_jmp_buf_tag.h.
22076 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22077 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22078 * sysdeps/nptl/pthread.h: Include
22079 <bits/types/__cancel_jmp_buf_tag.h>.
22080 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22082 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22084 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22086 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22087 --enable-static-pie variants to x86_64, x32 and i686.
22089 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22092 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
22093 argument for attrubutes. All callers changed.
22094 (__inline_mathop1): Likewise. All callers changed.
22095 (__inline_mathop): Likewise. All callers changed.
22096 [__USE_MISC] (scalbn): Use __inline_forward instead of
22097 __inline_forward_c.
22098 [__USE_ISOC99] (scalbln): Likewise.
22099 [__USE_ISOC99] (nearbyint): Likewise.
22100 [__USE_ISOC99] (lrint): Likewise.
22101 [__USE_MISC] (scalbnf): Likewise.
22102 [__USE_ISOC99] (scalblnf): Likewise.
22103 [__USE_ISOC99] (nearbyintf): Likewise.
22104 [__USE_ISOC99] (lrintf): Likewise.
22105 [__USE_MISC] (scalbnl): Likewise.
22106 [__USE_ISOC99] (scalblnl): Likewise.
22107 [__USE_ISOC99] (nearbyintl): Likewise.
22108 [__USE_ISOC99] (lrintl): Likewise.
22109 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
22110 __inline_mathop and __m81_defun changed.
22112 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
22113 CPU or FPU for ARM hard-float configurations.
22115 2017-12-18 Joseph Myers <joseph@codesourcery.com>
22117 * nptl/tst-attr3.c: Include <libc-diag.h>.
22118 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
22120 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
22122 * string/tester.c (test_strncat): Also disable -Warray-bounds
22123 warnings for two tests.
22125 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22128 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
22129 $(cc-pie-default) == yes.
22130 * config.make.in (cc-pie-default): New.
22131 * configure.ac (libc_cv_pie_default): Renamed to ...
22132 (libc_cv_cc_pie_default): This.
22133 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
22134 * configure: Regenerated.
22136 2017-12-18 Florian Weimer <fweimer@redhat.com>
22139 ld.so: Harden dl-libc/libdl hooks.
22140 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
22141 (rtld_active): New function.
22142 * dlfcn/dladdr.c (__dladdr): Call it.
22143 * dlfcn/dladdr1.c (__dladdr1): Likewise.
22144 * dlfcn/dlclose.c (__dlcose): Likewise.
22145 * dlfcn/dlerror.c (__dlerror): Likewise.
22146 * dlfcn/dlinfo.c (__dlinfo): Likewise.
22147 * dlfcn/dlmopen.c (__dlmopen): Likewise.
22148 * dlfcn/dlopen.c (__dlopen): Likewise.
22149 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22150 * dlfcn/dlsym.c (__dlsym): Likewise.
22151 * dlfcn/dlvsym.c (__dlvsym): Likewise.
22152 * libio/vtables.c (_IO_vtable_check): Likewise.
22153 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
22154 (__libc_dlclose): Likewise.
22155 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
22158 2017-12-18 Joseph Myers <joseph@codesourcery.com>
22161 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
22162 buffers for readlink input and output.
22164 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
22167 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
22168 inhibit_stack_protector.
22171 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
22172 inhibit_stack_protector.
22174 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
22177 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
22178 code and invocation.
22180 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
22182 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
22184 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
22187 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
22189 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22191 * sysdeps/s390/fpu/libm-test-ulps: Update.
22193 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22197 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22199 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
22200 constants to s_sincosf.h file.
22201 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22202 * sysdeps/ieee754/flt-32/s_sincosf.c: New
22204 * sysdeps/ieee754/flt-32/s_sincosf.h:
22207 2017-12-12 Carlos O'Donell <carlos@redhat.com>
22210 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
22213 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
22216 * INSTALL: Regenerated.
22217 * Makeconfig (real-static-start-installed-name): New.
22218 (pic-default): Updated for --enable-static-pie.
22219 (pie-default): New for --enable-static-pie.
22220 (default-pie-ldflag): Likewise.
22221 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
22222 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
22223 Replace $(static-start-installed-name) with
22224 $(real-static-start-installed-name).
22225 (+prectorT): Updated for --enable-static-pie.
22226 (+postctorT): Likewise.
22227 (CFLAGS-.o): Add $(pie-default).
22228 (CFLAGS-.op): Likewise.
22229 * NEWS: Mention --enable-static-pie.
22230 * config.h.in (ENABLE_STATIC_PIE): New.
22231 * configure.ac (--enable-static-pie): New configure option.
22232 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
22233 (have-static-pie): Likewise.
22234 Enable static PIE if linker supports --no-dynamic-linker.
22235 (ENABLE_STATIC_PIE): New AC_DEFINE.
22236 (enable-static-pie): New LIBC_CONFIG_VAR.
22237 * configure: Regenerated.
22238 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
22239 gr$(start-installed-name) for --enable-static-pie.
22240 (extra-objs): Likewise.
22241 (install-lib): Likewise.
22242 (extra-objs): Add static-reloc.o and static-reloc.os
22243 ($(objpfx)$(start-installed-name)): Also depend on
22244 $(objpfx)static-reloc.o.
22245 ($(objpfx)r$(start-installed-name)): New.
22246 ($(objpfx)g$(start-installed-name)): Also depend on
22247 $(objpfx)static-reloc.os.
22248 ($(objpfx)gr$(start-installed-name)): New.
22249 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
22251 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
22253 * csu/static-reloc.c: New file.
22254 * elf/Makefile (routines): Add dl-reloc-static-pie.
22255 (elide-routines.os): Likewise.
22256 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
22257 (tst-tls1-static-non-pie-no-pie): New.
22258 * elf/dl-reloc-static-pie.c: New file.
22259 * elf/dl-support.c (_dl_get_dl_main_map): New function.
22260 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
22261 STATIC_PIE_BOOTSTRAP.
22262 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22263 * gmon/Makefile (tests): Add tst-gmon-static-pie.
22264 (tests-static): Likewise.
22265 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
22266 (tst-gmon-static-no-pie): New.
22267 (CFLAGS-tst-gmon-static-pie.c): Likewise.
22268 (CRT-tst-gmon-static-pie): Likewise.
22269 (tst-gmon-static-pie-ENV): Likewise.
22270 (tests-special): Likewise.
22271 ($(objpfx)tst-gmon-static-pie.out): Likewise.
22272 (clean-tst-gmon-static-pie-data): Likewise.
22273 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
22274 * gmon/tst-gmon-static-pie.c: New file.
22275 * manual/install.texi: Document --enable-static-pie.
22276 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
22277 (_dl_get_dl_main_map): Likewise.
22278 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
22279 * sysdeps/x86_64/configure.ac: Likewise.
22280 * sysdeps/i386/configure: Regenerated.
22281 * sysdeps/x86_64/configure: Likewise.
22282 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
22283 (ASFLAGS-.op): Likewise.
22285 2017-12-15 Joseph Myers <joseph@codesourcery.com>
22287 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
22288 * posix/tst-mmap-offset.c (fname): Use /tmp.
22289 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
22291 2017-12-15 Steve Ellcey <sellcey@cavium.com>
22293 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
22295 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
22297 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
22300 2017-12-15 Joseph Myers <joseph@codesourcery.com>
22302 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
22303 --with-float=hard for arm-linux-gnueabihf configurations.
22306 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
22307 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
22308 ($(mo-installed)): Use $(objpfx)%.mo.
22309 (realclean): Remove rule.
22311 * po/Makefile (linguas): Remove rule and dependencies.
22312 (linguas.mo): Likewise.
22313 (.PHONY): Do not depend on linguas and linguas.mo.
22314 (podir): Remove variable.
22315 (pofiles): Likewise.
22316 [$(pofiles)] (%.po): Remove rule.
22318 * sysdeps/sparc/sparc32/Makefile
22319 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
22320 start-of-line whitespace in argument of echo.
22321 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
22322 with whitespace. Generate __wrap_.udiv alias.
22323 * sysdeps/sparc/sparc32/rem.S: Regenerated.
22324 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22325 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22326 * sysdeps/sparc/sparc32/urem.S: Likewise.
22328 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22330 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
22331 for aligned inputs.
22333 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
22335 * benchtests/bench-strcmp.c: Print output in JSON format.
22337 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
22339 2017-12-14 Florian Weimer <fweimer@redhat.com>
22343 * elf/dl-load.c (_dl_init_paths): Compute number of components in
22344 the expanded path string.
22346 2017-12-14 Florian Weimer <fweimer@redhat.com>
22350 * elf/dl-load.c (system_dirs): Update comment.
22351 (nsystem_dirs_len): Use array_length.
22352 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
22354 2017-12-14 Florian Weimer <fweimer@redhat.com>
22356 Simplify compiling most of support/ outside of glibc.
22357 * support/check_addrinfo.c: Include <string.h>.
22358 * support/check_dns_packet.c: Likewise.
22359 * support/check_hostent.c: Likewise.
22360 * support/support_can_chroot.c: Include <support/xunistd.h>.
22361 * support/support_format_addrinfo.c: Include <stdlib.h>
22362 * support/support_format_dns_packet.c: Include <stdbool.h>.
22363 * support/support_format_hostent.c: Include <stdlib.h>.
22364 * support/support_format_netent.c: Likewise.
22365 * support/support_write_string.c: Include <support/xunistd.h>.
22366 * support/xdlfcn.c: Include <stddef.h>.
22368 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
22370 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
22372 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22373 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22375 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22376 (sysdeps_routines): Add memset-niagara7.
22377 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
22379 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
22381 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
22382 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22383 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
22384 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
22385 Add niagara7 option.
22386 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
22389 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22390 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
22391 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
22393 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
22395 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
22396 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
22397 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22398 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
22399 and __memmove_niagara7.
22400 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
22401 Add niagara7 option.
22402 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
22403 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
22404 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
22405 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
22406 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
22408 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
22410 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
22411 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
22412 * sysdeps/sparc/sparc64/memmove.S: Likewise.
22413 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
22415 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
22416 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
22417 _dl_sparc_cap_flags array.
22418 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
22420 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
22422 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
22423 time whenever possible.
22425 2017-12-12 Carlos O'Donell <carlos@redhat.com>
22427 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
22428 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
22430 2017-12-12 Joseph Myers <joseph@codesourcery.com>
22432 * soft-fp/fmadf4.c: Move to ....
22433 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
22434 * soft-fp/fmasf4.c: Move to ....
22435 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
22436 * soft-fp/fmatf4.c: Move to ....
22437 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
22438 * sysdeps/ieee754/soft-fp/Makefile: New file.
22439 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
22440 * sysdeps/arm/preconfigure: Regenerated.
22441 * sysdeps/arm/nofpu/Implies: New file.
22442 * sysdeps/arm/s_fma.c: Remove file.
22443 * sysdeps/arm/s_fmaf.c: Likewise.
22444 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
22445 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
22446 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
22447 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
22448 * sysdeps/microblaze/s_fma.c: Remove file.
22449 * sysdeps/microblaze/s_fmaf.c: Likewise.
22450 * sysdeps/mips/mips32/nofpu/Implies: New file.
22451 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
22452 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
22453 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
22454 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
22455 * sysdeps/mips/ieee754/s_fma.c: Remove file.
22456 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
22457 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
22459 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
22460 * sysdeps/nios2/s_fma.c: Remove file.
22461 * sysdeps/nios2/s_fmaf.c: Likewise.
22462 * sysdeps/sh/nofpu/Implies: New file.
22463 * sysdeps/sh/s_fma.c: Remove file.
22464 * sysdeps/sh/s_fmaf.c: Likewise.
22465 * sysdeps/tile/Implies: Add ieee754/soft-fp.
22466 * sysdeps/tile/s_fma.c: Remove file.
22467 * sysdeps/tile/s_fmaf.c: Likewise.
22469 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
22471 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22472 Add s_cosf-sse2 and s_cosf-fma.
22473 (CFLAGS-s_cosf-fma.c): New.
22474 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
22475 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
22476 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
22478 2017-12-12 Steve Ellcey <sellcey@cavium.com>
22480 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
22482 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22484 * libio/Makefile (tests): Add tst-bz22415.
22485 (tst-bz22415-ENV): New rule.
22486 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
22487 (tests-special): Add tst-bz22415-mem.out.
22488 ($(objpfx)tst-bz22415-mem.out): New rule.
22489 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
22490 in case of a successful seek operation.
22491 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22492 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
22493 buffer is required.
22494 * libio/tst-bz22415.c: New test.
22496 * sysdeps/ia64/fpu/libm-test-ulps: Update.
22498 2017-12-12 James Clarke <jrtc27@jrtc27.com>
22500 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
22501 __IPC_64 to 0 to avoid IPC_64 being set.
22503 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22506 * math/bits/mathcalls.h (nextafter): Remove const.
22507 (nexttoward): Likewise.
22509 2017-12-12 Joseph Myers <joseph@codesourcery.com>
22511 * configure.ac (--with-fp): Remove configure option.
22512 (with_fp_cond): New variable.
22513 (libc_cv_with_fp): New configure test. Use this variable instead
22515 * configure: Regenerated.
22516 * config.make.in (with-fp): Use @libc_cv_with_fp@.
22517 * manual/install.texi (Configuring and compiling): Remove
22519 * INSTALL: Regenerated.
22520 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
22521 * sysdeps/mips/preconfigure (with_fp_cond): Define.
22522 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
22523 * sysdeps/sh/preconfigure (with_fp_cond): Define.
22524 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
22525 use --without-fp to configure glibc.
22527 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
22529 * manual/locale.texi (nl_langinfo): Fix a typo.
22531 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
22534 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
22536 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22538 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
22539 (CFLAGS-argp-parse.c): Likewise.
22540 (CFLAGS-argp-fmtstream.c): Likewise.
22541 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
22542 (CPPFLAGS-sha512-crypt.c): Likewise.
22543 (CPPFLAGS-md5-crypt.c): Likewise.
22544 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
22545 (CFLAGS-stack_chk_fail_local.c): Likewise.
22546 (CFLAGS-backtrace.c): Likewise.
22547 (CFLAGS-sprintf_chk.c): Likewise.
22548 (CFLAGS-snprintf_chk.c): Likewise.
22549 (CFLAGS-vsprintf_chk.c): Likewise.
22550 (CFLAGS-vsnprintf_chk.c): Likewise.
22551 (CFLAGS-asprintf_chk.c): Likewise.
22552 (CFLAGS-vasprintf_chk.c): Likewise.
22553 (CFLAGS-obprintf_chk.c): Likewise.
22554 (CFLAGS-dprintf_chk.c): Likewise.
22555 (CFLAGS-vdprintf_chk.c): Likewise.
22556 (CFLAGS-printf_chk.c): Likewise.
22557 (CFLAGS-fprintf_chk.c): Likewise.
22558 (CFLAGS-vprintf_chk.c): Likewise.
22559 (CFLAGS-vfprintf_chk.c): Likewise.
22560 (CFLAGS-gets_chk.c): Likewise.
22561 (CFLAGS-fgets_chk.c): Likewise.
22562 (CFLAGS-fgets_u_chk.c): Likewise.
22563 (CFLAGS-fread_chk.c): Likewise.
22564 (CFLAGS-fread_u_chk.c): Likewise.
22565 (CFLAGS-swprintf_chk.c): Likewise.
22566 (CFLAGS-vswprintf_chk.c): Likewise.
22567 (CFLAGS-wprintf_chk.c): Likewise.
22568 (CFLAGS-fwprintf_chk.c): Likewise.
22569 (CFLAGS-vwprintf_chk.c): Likewise.
22570 (CFLAGS-vfwprintf_chk.c): Likewise.
22571 (CFLAGS-fgetws_chk.c): Likewise.
22572 (CFLAGS-fgetws_u_chk.c): Likewise.
22573 (CFLAGS-read_chk.c): Likewise.
22574 (CFLAGS-pread_chk.c): Likewise.
22575 (CFLAGS-pread64_chk.c): Likewise.
22576 (CFLAGS-recv_chk.c): Likewise.
22577 (CFLAGS-recvfrom_chk.c): Likewise.
22578 (CFLAGS-tst-longjmp_chk.c): Likewise.
22579 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
22580 (CFLAGS-tst-longjmp_chk2.c): Likewise.
22581 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
22582 (CFLAGS-tst-longjmp_chk3.c): Likewise.
22583 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22584 (CFLAGS-tst-chk1.c): Likewise.
22585 (CFLAGS-tst-chk2.c): Likewise.
22586 (CFLAGS-tst-chk3.c): Likewise.
22587 (CFLAGS-tst-chk4.cc): Likewise.
22588 (CFLAGS-tst-chk5.cc): Likewise.
22589 (CFLAGS-tst-chk6.cc): Likewise.
22590 (CFLAGS-tst-lfschk1.c): Likewise.
22591 (CFLAGS-tst-lfschk2.c): Likewise.
22592 (CFLAGS-tst-lfschk3.c): Likewise.
22593 (CFLAGS-tst-lfschk4.cc): Likewise.
22594 (CFLAGS-tst-lfschk5.cc): Likewise.
22595 (CFLAGS-tst-lfschk6.cc): Likewise.
22596 (CFLAGS-tst-ssp-1.c): Likewise.
22597 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
22598 (CFLAGS-scandir64.c): Likewise.
22599 (CFLAGS-scandir-tail.c): Likewise.
22600 (CFLAGS-scandir64-tail.c): Likewise.
22601 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
22602 (CFLAGS-dl-tunables.c): Likewise.
22603 (CFLAGS-dl-runtime.c): Likewise.
22604 (CFLAGS-dl-lookup.c): Likewise.
22605 (CFLAGS-dl-iterate-phdr.c): Likewise.
22606 (CFLAGS-vismain.c): Likewise.
22607 (CFLAGS-tst-linkall-static.c): Likewise.
22608 (CFLAGS-tst-linkall-static.c): Likewise.
22609 (CPPFLAGS-dl-load.c): Likewise.
22610 (CFLAGS-ldconfig.c): Likewise.
22611 (CFLAGS-dl-cache.c): Likewise.
22612 (CFLAGS-cache.c): Likewise.
22613 (CFLAGS-rtld.c): Likewise.
22614 (CFLAGS-multiload.c): Likewise.
22615 (CFLAGS-filtmod1.c): Likewise.
22616 (CFLAGS-tst-align.c): Likewise.
22617 (CFLAGS-tst-align2.c): Likewise.
22618 (CFLAGS-tst-alignmod.c): Likewise.
22619 (CFLAGS-tst-alignmod2.c): Likewise.
22620 (CPPFLAGS-tst-execstack.c): Likewise.
22621 (CFLAGS-tst-ptrguard1-static.c): Likewise.
22622 (CFLAGS-tst-latepthreadmod.c): Likewise.
22623 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
22624 (CFLAGS-getgrnam_r.c): Likewise.
22625 (CFLAGS-getgrent_r.c): Likewise.
22626 (CFLAGS-getgrent.c): Likewise.
22627 (CFLAGS-fgetgrent.c): Likewise.
22628 (CFLAGS-fgetgrent_r.c): Likewise.
22629 (CFLAGS-putgrent.c): Likewise.
22630 (CFLAGS-initgroups.c): Likewise.
22631 (CFLAGS-getgrgid.c): Likewise.
22632 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
22633 (CFLAGS-getsgent.c): Likewise.
22634 (CFLAGS-fgetsgent.c): Likewise.
22635 (CFLAGS-fgetsgent_r.c): Likewise.
22636 (CFLAGS-putsgent.c): Likewise.
22637 (CFLAGS-getsgnam.c): Likewise.
22638 (CFLAGS-getsgnam_r.c): Likewise.
22639 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
22640 (CFLAGS-iconv_charmap.c): Likewise.
22641 (CFLAGS-dummy-repertoire.c): Likewise.
22642 (CFLAGS-charmap.c): Likewise.
22643 (CFLAGS-linereader.c): Likewise.
22644 (CFLAGS-simple-hash.c): Likewise.
22645 (CFLAGS-gconv_conf.c): Likewise.
22646 (CFLAGS-iconvconfig.c): Likewise.
22647 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
22648 (CFLAGS-gethstbyad.c): Likewise.
22649 (CFLAGS-gethstbynm_r.c): Likewise.
22650 (CFLAGS-gethstbynm.c): Likewise.
22651 (CFLAGS-gethstbynm2_r.c): Likewise.
22652 (CFLAGS-gethstbynm2.c): Likewise.
22653 (CFLAGS-gethstent_r.c): Likewise.
22654 (CFLAGS-gethstent.c): Likewise.
22655 (CFLAGS-rcmd.c): Likewise.
22656 (CFLAGS-getnetbynm_r.c): Likewise.
22657 (CFLAGS-getnetbynm.c): Likewise.
22658 (CFLAGS-getnetbyad_r.c): Likewise.
22659 (CFLAGS-getnetbyad.c): Likewise.
22660 (CFLAGS-getnetent_r.c): Likewise.
22661 (CFLAGS-getnetent.c): Likewise.
22662 (CFLAGS-getaliasent_r.c): Likewise.
22663 (CFLAGS-getaliasent.c): Likewise.
22664 (CFLAGS-getrpcent_r.c): Likewise.
22665 (CFLAGS-getrpcent.c): Likewise.
22666 (CFLAGS-getservent_r.c): Likewise.
22667 (CFLAGS-getservent.c): Likewise.
22668 (CFLAGS-getprtent_r.c): Likewise.
22669 (CFLAGS-getprtent.c): Likewise.
22670 (CFLAGS-either_ntoh.c): Likewise.
22671 (CFLAGS-either_hton.c): Likewise.
22672 (CFLAGS-getnetgrent.c): Likewise.
22673 (CFLAGS-getnetgrent_r.c): Likewise.
22674 (CFLAGS-tst-checks-posix.c): Likewise.
22675 (CFLAGS-tst-sockaddr.c): Likewise.
22676 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
22677 (CFLAGS-tst-translit.c): Likewise.
22678 (CFLAGS-tst-gettext2.c): Likewise.
22679 (CFLAGS-tst-codeset.c): Likewise.
22680 (CFLAGS-tst-gettext3.c): Likewise.
22681 (CFLAGS-tst-gettext4.c): Likewise.
22682 (CFLAGS-tst-gettext5.c): Likewise.
22683 (CFLAGS-tst-gettext6.c): Likewise.
22684 * io/Makefile (CFLAGS-open.c): Likewise.
22685 (CFLAGS-open64.c): Likewise.
22686 (CFLAGS-creat.c): Likewise.
22687 (CFLAGS-creat64.c): Likewise.
22688 (CFLAGS-fcntl.c): Likewise.
22689 (CFLAGS-poll.c): Likewise.
22690 (CFLAGS-ppoll.c): Likewise.
22691 (CFLAGS-lockf.c): Likewise.
22692 (CFLAGS-statfs.c): Likewise.
22693 (CFLAGS-fstatfs.c): Likewise.
22694 (CFLAGS-statvfs.c): Likewise.
22695 (CFLAGS-fstatvfs.c): Likewise.
22696 (CFLAGS-fts.c): Likewise.
22697 (CFLAGS-fts64.c): Likewise.
22698 (CFLAGS-ftw.c): Likewise.
22699 (CFLAGS-ftw64.c): Likewise.
22700 (CFLAGS-lockf.c): Likewise.
22701 (CFLAGS-posix_fallocate.c): Likewise.
22702 (CFLAGS-posix_fallocate64.c): Likewise.
22703 (CFLAGS-fallocate.c): Likewise.
22704 (CFLAGS-fallocate64.c): Likewise.
22705 (CFLAGS-read.c): Likewise.
22706 (CFLAGS-write.c): Likewise.
22707 (CFLAGS-test-stat.c): Likewise.
22708 (CFLAGS-test-lfs.c): Likewise.
22709 * libio/Makefile (CFLAGS-fileops.c): Likewise.
22710 (CFLAGS-fputc.c): Likewise.
22711 (CFLAGS-fputwc.c): Likewise.
22712 (CFLAGS-freopen64.c): Likewise.
22713 (CFLAGS-freopen.c): Likewise.
22714 (CFLAGS-fseek.c): Likewise.
22715 (CFLAGS-fseeko64.c): Likewise.
22716 (CFLAGS-fseeko.c): Likewise.
22717 (CFLAGS-ftello64.c): Likewise.
22718 (CFLAGS-ftello.c): Likewise.
22719 (CFLAGS-fwide.c): Likewise.
22720 (CFLAGS-genops.c): Likewise.
22721 (CFLAGS-getc.c): Likewise.
22722 (CFLAGS-getchar.c): Likewise.
22723 (CFLAGS-getwc.c): Likewise.
22724 (CFLAGS-getwchar.c): Likewise.
22725 (CFLAGS-iofclose.c): Likewise.
22726 (CFLAGS-iofflush.c): Likewise.
22727 (CFLAGS-iofgetpos64.c): Likewise.
22728 (CFLAGS-iofgetpos.c): Likewise.
22729 (CFLAGS-iofgets.c): Likewise.
22730 (CFLAGS-iofgetws.c): Likewise.
22731 (CFLAGS-iofputs.c): Likewise.
22732 (CFLAGS-iofputws.c): Likewise.
22733 (CFLAGS-iofread.c): Likewise.
22734 (CFLAGS-iofsetpos64.c): Likewise.
22735 (CFLAGS-iofsetpos.c): Likewise.
22736 (CFLAGS-ioftell.c): Likewise.
22737 (CFLAGS-iofwrite.c): Likewise.
22738 (CFLAGS-iogetdelim.c): Likewise.
22739 (CFLAGS-iogetline.c): Likewise.
22740 (CFLAGS-iogets.c): Likewise.
22741 (CFLAGS-iogetwline.c): Likewise.
22742 (CFLAGS-ioputs.c): Likewise.
22743 (CFLAGS-ioseekoff.c): Likewise.
22744 (CFLAGS-ioseekpos.c): Likewise.
22745 (CFLAGS-iosetbuffer.c): Likewise.
22746 (CFLAGS-iosetvbuf.c): Likewise.
22747 (CFLAGS-ioungetc.c): Likewise.
22748 (CFLAGS-ioungetwc.c): Likewise.
22749 (CFLAGS-oldfileops.c): Likewise.
22750 (CFLAGS-oldiofclose.c): Likewise.
22751 (CFLAGS-oldiofgetpos64.c): Likewise.
22752 (CFLAGS-oldiofgetpos.c): Likewise.
22753 (CFLAGS-oldiofsetpos64.c): Likewise.
22754 (CFLAGS-oldiofsetpos.c): Likewise.
22755 (CFLAGS-peekc.c): Likewise.
22756 (CFLAGS-putc.c): Likewise.
22757 (CFLAGS-putchar.c): Likewise.
22758 (CFLAGS-putwc.c): Likewise.
22759 (CFLAGS-putwchar.c): Likewise.
22760 (CFLAGS-rewind.c): Likewise.
22761 (CFLAGS-wfileops.c): Likewise.
22762 (CFLAGS-wgenops.c): Likewise.
22763 (CFLAGS-oldiofopen.c): Likewise.
22764 (CFLAGS-iofopen.c): Likewise.
22765 (CFLAGS-iofopen64.c): Likewise.
22766 (CFLAGS-oldtmpfile.c): Likewise.
22767 (CFLAGS-tst_putwc.c): Likewise.
22768 * locale/Makefile (CFLAGS-md5.c): Likewise.
22769 (CFLAGS-charmap.c): Likewise.
22770 (CFLAGS-locfile.c): Likewise.
22771 (CFLAGS-charmap-dir.c): Likewise.
22772 * login/Makefile (CFLAGS-grantpt.c): Likewise.
22773 (CFLAGS-getpt.c): Likewise.
22774 (CFLAGS-pt_chown.c): Likewise.
22775 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
22776 (CFLAGS-obstack.c): Likewise.
22777 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
22778 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
22779 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
22780 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
22781 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
22782 (CFLAGS-test-tgmath.c): Likewise.
22783 (CFLAGS-test-tgmath2.c): Likewise.
22784 (CFLAGS-test-tgmath-ret.c): Likewise.
22785 (CFLAGS-test-powl.c): Likewise.
22786 (CFLAGS-test-snan.c): Likewise.
22787 (CFLAGS-test-signgam-finite.c): Likewise.
22788 (CFLAGS-test-signgam-finite-c99.c): Likewise.
22789 (CFLAGS-test-signgam-finite-c11.c): Likewise.
22790 (CFLAGS-test-signgam-uchar.c): Likewise.
22791 (CFLAGS-test-signgam-uchar-init.c): Likewise.
22792 (CFLAGS-test-signgam-uchar-static.c): Likewise.
22793 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22794 (CFLAGS-test-signgam-uint.c): Likewise.
22795 (CFLAGS-test-signgam-uint-init.c): Likewise.
22796 (CFLAGS-test-signgam-uint-static.c): Likewise.
22797 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22798 (CFLAGS-test-signgam-ullong.c): Likewise.
22799 (CFLAGS-test-signgam-ullong-init.c): Likewise.
22800 (CFLAGS-test-signgam-ullong-static.c): Likewise.
22801 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22802 (CFLAGS-test-math-cxx11.cc): Likewise.
22803 (CFLAGS-test-math-isinff.cc): Likewise.
22804 (CFLAGS-test-math-iszero.cc): Likewise.
22805 (CFLAGS-test-math-issignaling.cc): Likewise.
22806 (CFLAGS-test-math-iscanonical.cc): Likewise.
22807 (CFLAGS-test-iszero-excess-precision.c): Likewise.
22808 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
22809 (CFLAGS-test-flt-eval-method.c): Likewise.
22810 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
22811 (CFLAGS-test-finite-macros.c): Likewise.
22812 * misc/Makefile (CFLAGS-select.c): Likewise.
22813 (CFLAGS-tsearch.c): Likewise.
22814 (CFLAGS-lsearch.c): Likewise.
22815 (CFLAGS-pselect.c): Likewise.
22816 (CFLAGS-readv.c): Likewise.
22817 (CFLAGS-writev.c): Likewise.
22818 (CFLAGS-preadv.c): Likewise.
22819 (CFLAGS-preadv64.c): Likewise.
22820 (CFLAGS-pwritev.c): Likewise.
22821 (CFLAGS-pwritev64.c): Likewise.
22822 (CFLAGS-preadv2.c): Likewise.
22823 (CFLAGS-preadv64v2.c): Likewise.
22824 (CFLAGS-pwritev2.c): Likewise.
22825 (CFLAGS-pwritev64v2.c): Likewise.
22826 (CFLAGS-usleep.c): Likewise.
22827 (CFLAGS-syslog.c): Likewise.
22828 (CFLAGS-error.c): Likewise.
22829 (CFLAGS-getpass.c): Likewise.
22830 (CFLAGS-mkstemp.c): Likewise.
22831 (CFLAGS-mkstemp64.c): Likewise.
22832 (CFLAGS-getsysstats.c): Likewise.
22833 (CFLAGS-getusershell.c): Likewise.
22834 (CFLAGS-err.c): Likewise.
22835 (CFLAGS-tst-tsearch.c): Likewise.
22836 (CFLAGS-msync.c): Likewise.
22837 (CFLAGS-fdatasync.c): Likewise.
22838 (CFLAGS-fsync.c): Likewise.
22839 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
22840 (CFLAGS-unwind.c): Likewise.
22841 (CFLAGS-unwind-forcedunwind.c): Likewise.
22842 (CFLAGS-pthread_cancel.c): Likewise.
22843 (CFLAGS-pthread_setcancelstate.c): Likewise.
22844 (CFLAGS-pthread_setcanceltype.c): Likewise.
22845 (CFLAGS-cancellation.c): Likewise.
22846 (CFLAGS-libc-cancellation.c): Likewise.
22847 (CFLAGS-pthread_exit.c): Likewise.
22848 (CFLAGS-forward.c): Likewise.
22849 (CFLAGS-pthread_testcancel.c): Likewise.
22850 (CFLAGS-pthread_join.c): Likewise.
22851 (CFLAGS-pthread_timedjoin.c): Likewise.
22852 (CFLAGS-pthread_once.c): Likewise.
22853 (CFLAGS-pthread_cond_wait.c): Likewise.
22854 (CFLAGS-sem_wait.c): Likewise.
22855 (CFLAGS-sem_timedwait.c): Likewise.
22856 (CFLAGS-fcntl.c): Likewise.
22857 (CFLAGS-lockf.c): Likewise.
22858 (CFLAGS-pread.c): Likewise.
22859 (CFLAGS-pread64.c): Likewise.
22860 (CFLAGS-pwrite.c): Likewise.
22861 (CFLAGS-pwrite64.c): Likewise.
22862 (CFLAGS-wait.c): Likewise.
22863 (CFLAGS-waitpid.c): Likewise.
22864 (CFLAGS-sigwait.c): Likewise.
22865 (CFLAGS-msgrcv.c): Likewise.
22866 (CFLAGS-msgsnd.c): Likewise.
22867 (CFLAGS-tcdrain.c): Likewise.
22868 (CFLAGS-open.c): Likewise.
22869 (CFLAGS-open64.c): Likewise.
22870 (CFLAGS-pause.c): Likewise.
22871 (CFLAGS-recv.c): Likewise.
22872 (CFLAGS-send.c): Likewise.
22873 (CFLAGS-accept.c): Likewise.
22874 (CFLAGS-sendto.c): Likewise.
22875 (CFLAGS-connect.c): Likewise.
22876 (CFLAGS-recvfrom.c): Likewise.
22877 (CFLAGS-recvmsg.c): Likewise.
22878 (CFLAGS-sendmsg.c): Likewise.
22879 (CFLAGS-close.c): Likewise.
22880 (CFLAGS-read.c): Likewise.
22881 (CFLAGS-write.c): Likewise.
22882 (CFLAGS-nanosleep.c): Likewise.
22883 (CFLAGS-sigsuspend.c): Likewise.
22884 (CFLAGS-msync.c): Likewise.
22885 (CFLAGS-fdatasync.c): Likewise.
22886 (CFLAGS-fsync.c): Likewise.
22887 (CFLAGS-pt-system.c): Likewise.
22888 (CFLAGS-tst-cleanup2.c): Likewise.
22889 (CFLAGS-tst-cleanupx2.c): Likewise.
22890 (CFLAGS-flockfile.c): Likewise.
22891 (CFLAGS-ftrylockfile.c): Likewise.
22892 (CFLAGS-funlockfile.c): Likewise.
22893 (CFLAGS-tst-initializers1.c): Likewise.
22894 (CFLAGS-tst-initializers1-c89.c): Likewise.
22895 (CFLAGS-tst-initializers1-c99.c): Likewise.
22896 (CFLAGS-tst-initializers1-c11.c): Likewise.
22897 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
22898 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
22899 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22900 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
22901 (CFLAGS-nscd_getgr_r.c): Likewise.
22902 (CFLAGS-nscd_gethst_r.c): Likewise.
22903 (CFLAGS-nscd_getai.c): Likewise.
22904 (CFLAGS-nscd_initgroups.c): Likewise.
22905 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
22906 (CFLAGS-pause.c): Likewise.
22907 (CFLAGS-pread.c): Likewise.
22908 (CFLAGS-pread64.c): Likewise.
22909 (CFLAGS-pwrite.c): Likewise.
22910 (CFLAGS-pwrite64.c): Likewise.
22911 (CFLAGS-sleep.c): Likewise.
22912 (CFLAGS-wait.c): Likewise.
22913 (CFLAGS-waitid.c): Likewise.
22914 (CFLAGS-waitpid.c): Likewise.
22915 (CFLAGS-getopt.c): Likewise.
22916 (CFLAGS-wordexp.c): Likewise.
22917 (CFLAGS-sysconf.c): Likewise.
22918 (CFLAGS-pathconf.c): Likewise.
22919 (CFLAGS-fpathconf.c): Likewise.
22920 (CFLAGS-spawn.c): Likewise.
22921 (CFLAGS-spawnp.c): Likewise.
22922 (CFLAGS-spawni.c): Likewise.
22923 (CFLAGS-glob.c): Likewise.
22924 (CFLAGS-glob64.c): Likewise.
22925 (CFLAGS-getconf.c): Likewise.
22926 (CFLAGS-nanosleep.c): Likewise.
22927 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
22928 (CFLAGS-getpwent.c): Likewise.
22929 (CFLAGS-getpw.c): Likewise.
22930 (CFLAGS-fgetpwent_r.c): Likewise.
22931 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
22932 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
22933 (CFLAGS-mq_timedreceive.c): Likewise.
22934 (CFLAGS-mq_timedsend.c): Likewise.
22935 (CFLAGS-clock_nanosleep.c): Likewise.
22936 (CFLAGS-librt-cancellation.c): Likewise.
22937 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
22938 (CFLAGS-getspent.c): Likewise.
22939 (CFLAGS-fgetspent.c): Likewise.
22940 (CFLAGS-fgetspent_r.c): Likewise.
22941 (CFLAGS-putspent.c): Likewise.
22942 (CFLAGS-getspnam.c): Likewise.
22943 (CFLAGS-getspnam_r.c): Likewise.
22944 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
22945 (CFLAGS-sigsuspend.c): Likewise.
22946 (CFLAGS-sigtimedwait.c): Likewise.
22947 (CFLAGS-sigwait.c): Likewise.
22948 (CFLAGS-sigwaitinfo.c): Likewise.
22949 (CFLAGS-sigreturn.c): Likewise.
22950 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22951 (CFLAGS-vfwprintf.c): Likewise.
22952 (CFLAGS-tmpfile.c): Likewise.
22953 (CFLAGS-tmpfile64.c): Likewise.
22954 (CFLAGS-tempname.c): Likewise.
22955 (CFLAGS-psignal.c): Likewise.
22956 (CFLAGS-vprintf.c): Likewise.
22957 (CFLAGS-cuserid.c): Likewise.
22958 (CFLAGS-errlist.c): Likewise.
22959 (CFLAGS-siglist.c): Likewise.
22960 (CFLAGS-scanf15.c): Likewise.
22961 (CFLAGS-scanf17.c): Likewise.
22962 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
22963 (CFLAGS-msort.c): Likewise.
22964 (CFLAGS-qsort.c): Likewise.
22965 (CFLAGS-system.c): Likewise.
22966 (CFLAGS-fmtmsg.c): Likewise.
22967 (CFLAGS-strfmon.c): Likewise.
22968 (CFLAGS-strfmon_l.c): Likewise.
22969 (CFLAGS-strfromd.c): Likewise.
22970 (CFLAGS-strfromf.c): Likewise.
22971 (CFLAGS-strfroml.c): Likewise.
22972 (CFLAGS-tst-bsearch.c): Likewise.
22973 (CFLAGS-tst-qsort.c): Likewise.
22974 (CFLAGS-tst-makecontext2.c): Likewise.
22975 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
22976 (CFLAGS-xnlm_prot.c): Likewise.
22977 (CFLAGS-xrstat.c): Likewise.
22978 (CFLAGS-xyppasswd.c): Likewise.
22979 (CFLAGS-xklm_prot.c): Likewise.
22980 (CFLAGS-xrex.c): Likewise.
22981 (CFLAGS-xsm_inter.c): Likewise.
22982 (CFLAGS-xmount.c): Likewise.
22983 (CFLAGS-xrusers.c): Likewise.
22984 (CFLAGS-xspray.c): Likewise.
22985 (CFLAGS-xnfs_prot.c): Likewise.
22986 (CFLAGS-xrquota.c): Likewise.
22987 (CFLAGS-xkey_prot.c): Likewise.
22988 (CFLAGS-auth_unix.c): Likewise.
22989 (CFLAGS-key_call.c): Likewise.
22990 (CFLAGS-pmap_rmt.c): Likewise.
22991 (CFLAGS-clnt_perr.c): Likewise.
22992 (CFLAGS-openchild.c): Likewise.
22993 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
22994 (CFLAGS-msgsnd.c): Likewise.
22995 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
22996 * time/Makefile (CFLAGS-tzfile.c): Likewise.
22997 (CFLAGS-tzset.c): Likewise.
22998 (CFLAGS-getdate.c): Likewise.
22999 (CFLAGS-test_time.c): Likewise.
23000 (CPPFLAGS-tst-tzname.c): Likewise.
23001 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
23002 (CFLAGS-zic.c): Likewise.
23003 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
23004 (CFLAGS-wcswidth.c): Likewise.
23005 (CFLAGS-wcstol.c): Likewise.
23006 (CFLAGS-wcstoul.c): Likewise.
23007 (CFLAGS-wcstoll.c): Likewise.
23008 (CFLAGS-wcstoull.c): Likewise.
23009 (CFLAGS-wcstod.c): Likewise.
23010 (CFLAGS-wcstold.c): Likewise.
23011 (CFLAGS-wcstof128.c): Likewise.
23012 (CFLAGS-wcstof.c): Likewise.
23013 (CFLAGS-wcstol_l.c): Likewise.
23014 (CFLAGS-wcstoul_l.c): Likewise.
23015 (CFLAGS-wcstoll_l.c): Likewise.
23016 (CFLAGS-wcstoull_l.c): Likewise.
23017 (CFLAGS-wcstod_l.c): Likewise.
23018 (CFLAGS-wcstold_l.c): Likewise.
23019 (CFLAGS-wcstof128_l.c): Likewise.
23020 (CFLAGS-wcstof_l.c): Likewise.
23021 (CPPFLAGS-tst-wchar-h.c): Likewise.
23022 (CPPFLAGS-wcstold_l.c): Likewise.
23024 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
23026 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
23028 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23029 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23031 * manual/tunables.texi (Hardware Capability Tunables): Document
23032 glibc.tune.cached_memopt.
23033 * sysdeps/powerpc/cpu-features.c: New file.
23034 * sysdeps/powerpc/cpu-features.h: New file.
23035 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
23036 _dl_powerpc_cpu_features.
23037 * sysdeps/powerpc/dl-tunables.list: New file.
23038 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
23039 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23040 (INIT_ARCH): Initialize use_aligned_memopt.
23041 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
23042 IS_IN(rtld))]: Restrict dl_platform_init availability and
23043 initialize CPU features used by tunables.
23044 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
23045 Add memcpy-power8-cached.
23046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
23047 __memcpy_power8_cached.
23048 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23049 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
23052 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
23054 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
23055 (CFLAGS-noinl-tester.c): Likewise.
23056 (CFLAGS-tst-strlen.c): Likewise.
23057 (CFLAGS-stratcliff.c): Likewise.
23058 (CFLAGS-test-ffs.c): Likewise.
23059 (CFLAGS-tst-inlcall.c): Likewise.
23060 (CFLAGS-tst-xbzero-opt.c): Likewise.
23061 (CFLAGS-memcpy.c): Likewise.
23062 (CFLAGS-wordcopy.c): Likewise.
23064 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23066 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
23067 Store r15 on stack and add cfi rule.
23068 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23071 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
23074 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
23077 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23079 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23080 Add s_sinf-sse2 and s_sinf-fma.
23081 (CFLAGS-s_sinf-fma.c): New.
23082 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
23083 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
23084 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
23086 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23088 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
23090 2017-12-07 Joseph Myers <joseph@codesourcery.com>
23093 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
23094 part of result to imaginary part of argument if it is zero and the
23095 real part of the argument is not finite.
23096 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
23097 of result to real part of argument if it is zero and the imaginary
23098 part of the argument is not finite.
23100 2017-12-07 Mike FABIAN <mfabian@redhat.com>
23103 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
23104 and to the list of locales to be built for testing.
23105 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
23106 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
23107 and build the collation rules upon that.
23109 2017-12-07 Joseph Myers <joseph@codesourcery.com>
23111 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
23112 * manual/math.texi (Mathematics): Document support for _Float32.
23113 * math/Makefile (test-types): Add float32.
23114 * math/Versions (GLIBC_2.27): Add _Float32 functions.
23115 * stdlib/Versions (GLIBC_2.27): Likewise.
23116 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23117 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23118 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23119 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23120 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23121 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23122 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23123 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23124 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23125 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23126 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23127 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23128 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23129 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23130 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23131 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23132 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23133 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23134 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23135 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23136 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23137 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23139 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23140 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23141 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23142 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23143 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23161 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23162 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23163 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23164 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23165 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23166 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23167 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23168 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23169 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23170 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23173 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23179 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23180 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23181 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23182 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23183 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23184 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23185 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23186 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23188 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23190 * stdlib/strtof.c: Include <bits/floatn.h>
23191 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
23192 and later undefine as macro. Define as weak alias if
23194 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
23195 and later undefine as macro. Define as weak alias if
23197 * stdlib/strtof_l.c: Include <bits/floatn.h>
23198 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
23199 and later undefine as macro. Define as weak alias if
23201 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
23202 and later undefine as macro. Define as weak alias if
23205 * stdlib/strfromf.c: Include <bits/floatn.h>.
23206 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
23207 and later undefine as macro and define as weak alias.
23209 * math/test-float32.h: New file.
23211 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
23212 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
23213 (libm_alias_float_other_r): Create f32 alias.
23214 (libm_alias_float_r): Use semicolon before call to
23215 libm_alias_float_other_r.
23217 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
23218 second argument to libm_alias_float_other.
23219 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
23220 second argument to libm_alias_float_other.
23221 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
23222 argument to libm_alias_float_other.
23225 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
23226 real part of result for argument 0 + i * NaN.
23227 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
23228 results for tests of 0 + i * NaN.
23230 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23232 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23234 2017-12-06 David S. Miller <davem@davemloft.net>
23236 * sysdeps/sparc/fpu/libm-test-ulps: Update
23237 exp_{downward,towardzero,upward} ulps.
23239 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23241 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
23244 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
23246 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
23248 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
23250 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
23253 2017-12-06 Mike FABIAN <mfabian@redhat.com>
23256 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
23257 and to the list of locales to be built for testing.
23258 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
23259 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
23260 and build the collation rules upon that.
23262 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23264 * NEWS: Add sinf to list of optimized functions.
23266 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23268 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
23269 (__HAVE_FLOAT32X): Likewise.
23270 * manual/math.texi (Mathematics): Document support for _Float64
23272 * math/Makefile (test-types): Add float64 and float32x.
23273 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
23275 * stdlib/Versions (GLIBC_2.27): Likewise.
23276 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23277 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23278 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23279 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23280 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23281 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23282 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23283 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23284 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23285 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23286 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23287 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23288 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23289 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23290 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23291 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23292 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23293 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23294 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23295 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23296 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23297 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23299 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23300 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23301 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23302 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23303 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23320 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23321 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23322 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23323 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23324 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23325 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23326 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23327 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23328 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23329 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23338 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23339 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23340 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23341 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23342 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23343 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23344 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23345 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23347 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23349 * bits/floatn-common.h: Include <bits/long-double.h>.
23350 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23351 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
23352 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23353 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
23354 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23355 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
23356 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23357 (__builtin_huge_valf64): Use __builtin_huge_vall.
23358 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23359 (__builtin_inff64): Use __builtin_infl.
23360 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23361 (__builtin_nanf64): Use __builtin_nanl.
23362 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23363 (__builtin_nansf64): Use __builtin_nansl.
23365 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
23366 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23367 Carlos O'Donnell <carlos@redhat.com>
23369 * elf/dl-tunables.list: Add elision parameters.
23370 * manual/tunables.texi: Add entries about elision tunable.
23371 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
23372 Add callback functions to dynamically enable/disable elision.
23373 Add multiple callbacks functions to set elision parameters.
23374 Deleted __libc_enable_secure check.
23375 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
23376 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
23377 * configure: Regenerated.
23378 * configure.ac: Option enable_lock_elision was deleted.
23379 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
23380 * config.make.in: Remove references to enable_lock_elision.
23381 * manual/install.texi: Elision configure option was removed.
23382 * INSTALL: Regenerated to remove enable_lock_elision.
23384 Disable elision so it can verify error case for destroying a mutex.
23385 * sysdeps/powerpc/nptl/elide.h:
23386 Cleanup ENABLE_LOCK_ELISION check.
23387 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
23388 * sysdeps/s390/configure: Regenerated.
23389 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
23390 * nptl/tst-mutex8.c:
23391 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
23392 * sysdeps/powerpc/powerpc32/sysdep.h:
23393 Deleted all ENABLE_LOCK_ELISION checks.
23394 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23395 * sysdeps/powerpc/sysdep.h: Likewise.
23396 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
23397 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
23398 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23399 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23400 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23401 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
23402 enable-lock-elision.
23404 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23406 * stdlib/strtod.c: Include <bits/floatn.h>.
23407 (BUILD_DOUBLE): New macro.
23408 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23409 (strtof64): Define and later undefine as macro. Define as weak
23410 alias if [!USE_WIDE_CHAR].
23411 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23412 (wcstof64): Define and later undefine as macro. Define as weak
23413 alias if [USE_WIDE_CHAR].
23414 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23415 (strtof32x): Define and later undefine as macro. Define as weak
23416 alias if [!USE_WIDE_CHAR].
23417 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23418 (wcstof32x): Define and later undefine as macro. Define as weak
23419 alias if [USE_WIDE_CHAR].
23420 * stdlib/strtod_l.c: Include <bits/floatn.h>.
23421 (BUILD_DOUBLE): New macro.
23422 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23423 (strtof64_l): Define and later undefine as macro. Define as weak
23424 alias if [!USE_WIDE_CHAR].
23425 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23426 (wcstof64_l): Define and later undefine as macro. Define as weak
23427 alias if [USE_WIDE_CHAR].
23428 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23429 (strtof32x_l): Define and later undefine as macro. Define as weak
23430 alias if [!USE_WIDE_CHAR].
23431 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23432 (wcstof32x_l): Define and later undefine as macro. Define as weak
23433 alias if [USE_WIDE_CHAR].
23435 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23437 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
23438 (reduced): Use ones as double instead of integer.
23440 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
23442 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
23444 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23446 * stdlib/strfromd.c: Include <bits/floatn.h>.
23447 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
23448 and later undefine as macro and define as weak alias.
23449 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
23452 * math/test-float32x.h: New file.
23453 * math/test-float64.h: Likewise.
23455 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
23456 (libm_alias_double_other_r_f64): New macro.
23457 (libm_alias_double_other_r_f32x): Likewise.
23458 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23459 libm_alias_double_other_r_f32x.
23460 (libm_alias_double_r): Use semicolon before call to
23461 libm_alias_double_other_r.
23462 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
23464 (libm_alias_double_other_r_f64): New macro.
23465 (libm_alias_double_other_r_f32x): Likewise.
23466 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23467 libm_alias_double_other_r_f32x.
23469 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
23471 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
23473 (SINF_FUNC): Likewise. Replace floor with simple casts.
23475 2017-12-05 Mike FABIAN <mfabian@redhat.com>
23478 * localedata/Makefile: Add et_EE.UTF-8 to test-input
23479 and to the list of locales to be built for testing.
23480 * localedata/et_EE.UTF-8.in: New file for testing the collation.
23481 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
23482 and build the collation rules upon that.
23484 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
23486 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
23487 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
23488 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
23489 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
23490 instead of __insn__xxx.
23491 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
23492 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
23493 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
23494 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
23495 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
23496 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
23498 2017-12-05 Florian Weimer <fweimer@redhat.com>
23500 Linux: Implement interfaces for memory protection keys
23501 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
23503 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
23504 * support/xunistd.h (xsysconf): Declare.
23505 * support/xraise.c: New file.
23506 * support/xsigaction.c: Likewise.
23507 * support/xsignal.c: Likewise.
23508 * support/xsysconf.c: Likewise.
23509 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
23510 pkey_set, pkey_get, pkey_mprotect.
23511 [misc] (tests): Add tst-pkey.
23512 (tst-pkey): Link with -lpthread.
23513 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
23514 pkey_free, pkey_set, pkey_get, pkey_mprotect.
23515 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
23516 (PKEY_DISABLE_WRITE): Define.
23517 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
23519 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
23520 (SEGV_PKUERR): Add.
23521 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
23522 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
23523 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
23524 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
23526 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
23527 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
23528 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
23529 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
23530 * sysdeps/unix/sysv/linux/**.abilist: Update.
23532 2017-12-05 Florian Weimer <fweimer@redhat.com>
23534 * support/tst-test_compare.c (subprocess): Use long long instead
23535 of long argument for consistent type width across 32-bit and
23536 64-bit architectures.
23537 (do_test): Adjust expected output.
23539 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23541 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
23542 (cosf): Define using libm_alias_float.
23543 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
23544 (fabsf): Define using libm_alias_float.
23545 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
23546 (fmaf): Define using libm_alias_float.
23547 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
23548 (rintf): Define using libm_alias_float.
23549 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
23550 (sinf): Define using libm_alias_float.
23551 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
23552 <libm-alias-float.h>.
23553 (modff): Define using libm_alias_float.
23554 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
23555 <libm-alias-float.h>.
23556 (logbf): Define using libm_alias_float.
23557 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
23558 <libm-alias-float.h>.
23559 (ceilf): Define using libm_alias_float.
23560 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23561 <libm-alias-float.h>.
23562 (copysignf): Define using libm_alias_float.
23563 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
23564 <libm-alias-float.h>.
23565 (floorf): Define using libm_alias_float.
23566 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23567 <libm-alias-float.h>.
23568 (llrintf): Define using libm_alias_float.
23569 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23570 <libm-alias-float.h>.
23571 (llroundf): Define using libm_alias_float.
23572 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23573 <libm-alias-float.h>.
23574 (lrintf): Define using libm_alias_float.
23575 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23576 <libm-alias-float.h>.
23577 (lroundf): Define using libm_alias_float.
23578 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
23579 <libm-alias-float.h>.
23580 (nearbyintf): Define using libm_alias_float.
23581 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
23582 <libm-alias-float.h>.
23583 (rintf): Define using libm_alias_float.
23584 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
23585 <libm-alias-float.h>.
23586 (roundf): Define using libm_alias_float.
23587 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
23588 <libm-alias-float.h>.
23589 (truncf): Define using libm_alias_float.
23590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
23591 Include <libm-alias-float.h>.
23592 (ceilf): Define using libm_alias_float.
23593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
23594 Include <libm-alias-float.h>.
23595 (copysignf): Define using libm_alias_float.
23596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
23597 Include <libm-alias-float.h>.
23598 (floorf): Define using libm_alias_float.
23599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
23600 Include <libm-alias-float.h>.
23601 (llrintf): Define using libm_alias_float.
23602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
23603 Include <libm-alias-float.h>.
23604 (llroundf): Define using libm_alias_float.
23605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
23606 Include <libm-alias-float.h>.
23607 (logbf): Define using libm_alias_float.
23608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
23609 Include <libm-alias-float.h>.
23610 (lrintf): Define using libm_alias_float.
23611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
23612 Include <libm-alias-float.h>.
23613 (lroundf): Define using libm_alias_float.
23614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
23615 Include <libm-alias-float.h>.
23616 (modff): Define using libm_alias_float.
23617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
23618 Include <libm-alias-float.h>.
23619 (roundf): Define using libm_alias_float.
23620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
23621 Include <libm-alias-float.h>.
23622 (truncf): Define using libm_alias_float.
23623 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
23624 <libm-alias-float.h>.
23625 (llrintf): Define using libm_alias_float.
23626 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23627 <libm-alias-float.h>.
23628 (llroundf): Define using libm_alias_float.
23629 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
23630 <libm-alias-float.h>.
23631 (ceilf): Define using libm_alias_float.
23632 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
23633 <libm-alias-float.h>.
23634 (floorf): Define using libm_alias_float.
23635 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23636 <libm-alias-float.h>.
23637 (llroundf): Define using libm_alias_float.
23638 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23639 <libm-alias-float.h>.
23640 (lroundf): Define using libm_alias_float.
23641 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
23642 <libm-alias-float.h>.
23643 (roundf): Define using libm_alias_float.
23644 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
23645 <libm-alias-float.h>.
23646 (truncf): Define using libm_alias_float.
23647 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23648 <libm-alias-float.h>.
23649 (copysignf): Define using libm_alias_float.
23650 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
23651 <libm-alias-float.h>.
23652 (llrintf): Define using libm_alias_float.
23653 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23654 <libm-alias-float.h>.
23655 (llroundf): Define using libm_alias_float.
23656 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23657 <libm-alias-float.h>.
23658 (lrintf): Define using libm_alias_float.
23659 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23660 <libm-alias-float.h>.
23661 (lroundf): Define using libm_alias_float.
23662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
23663 <libm-alias-float.h>.
23664 (ceilf): Define using libm_alias_float.
23665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
23666 <libm-alias-float.h>.
23667 (copysignf): Define using libm_alias_float.
23668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
23669 <libm-alias-float.h>.
23670 (cosf): Define using libm_alias_float.
23671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
23672 <libm-alias-float.h>.
23673 (floorf): Define using libm_alias_float.
23674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
23675 <libm-alias-float.h>.
23676 (llrintf): Define using libm_alias_float.
23677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
23678 <libm-alias-float.h>.
23679 (llroundf): Define using libm_alias_float.
23680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
23681 <libm-alias-float.h>.
23682 (logbf): Define using libm_alias_float.
23683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
23684 <libm-alias-float.h>.
23685 (modff): Define using libm_alias_float.
23686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
23687 <libm-alias-float.h>.
23688 (roundf): Define using libm_alias_float.
23689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
23690 <libm-alias-float.h>.
23691 (sinf): Define using libm_alias_float.
23692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
23693 <libm-alias-float.h>.
23694 (truncf): Define using libm_alias_float.
23695 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
23696 <libm-alias-float.h>.
23697 (ceilf): Define using libm_alias_float.
23698 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23699 <libm-alias-float.h>.
23700 (copysignf): Define using libm_alias_float.
23701 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
23702 <libm-alias-float.h>.
23703 (floorf): Define using libm_alias_float.
23704 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23705 <libm-alias-float.h>.
23706 (llrintf): Define using libm_alias_float.
23707 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
23708 <libm-alias-float.h>.
23709 (llroundf): Define using libm_alias_float.
23710 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
23711 <libm-alias-float.h>.
23712 (nearbyintf): Define using libm_alias_float.
23713 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
23714 <libm-alias-float.h>.
23715 (rintf): Define using libm_alias_float.
23716 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
23717 <libm-alias-float.h>.
23718 (roundf): Define using libm_alias_float.
23719 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
23720 <libm-alias-float.h>.
23721 (truncf): Define using libm_alias_float.
23722 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
23723 <libm-alias-float.h>.
23724 (ceilf): Define using libm_alias_float.
23725 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
23726 <libm-alias-float.h>.
23727 (floorf): Define using libm_alias_float.
23728 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23729 <libm-alias-float.h>.
23730 (llroundf): Define using libm_alias_float.
23731 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
23732 <libm-alias-float.h>.
23733 (roundf): Define using libm_alias_float.
23734 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
23735 <libm-alias-float.h>.
23736 (truncf): Define using libm_alias_float.
23737 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23738 <libm-alias-float.h>.
23739 (copysignf): Define using libm_alias_float.
23740 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23741 <libm-alias-float.h>.
23742 (llrintf): Define using libm_alias_float.
23743 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23744 <libm-alias-float.h>.
23745 (llroundf): Define using libm_alias_float.
23746 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
23747 <libm-alias-float.h>.
23748 (cosf): Define using libm_alias_float.
23749 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23750 <libm-alias-float.h>.
23751 (llrintf): Define using libm_alias_float.
23752 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23753 <libm-alias-float.h>.
23754 (llroundf): Define using libm_alias_float.
23755 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
23756 <libm-alias-float.h>.
23757 (sinf): Define using libm_alias_float.
23759 2017-12-04 Florian Weimer <fweimer@redhat.com>
23761 * support/check.h (TEST_COMPARE): Define.
23762 (support_test_compare_failure): Declare.
23763 * support/Makefile (libsupport-routines): Add
23764 support_test_compare_failure.
23765 (tests): Add tst-test_compare.
23766 * support /support_test_compare_failure.c: New file.
23767 * support/tst-test_compare.c: Likewise.
23769 2017-12-04 Mike FABIAN <mfabian@redhat.com>
23772 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
23773 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
23774 available, this rewrite of the collation rules does reproduce
23775 the test file in the same order.
23777 2017-12-04 Mike FABIAN <mfabian@redhat.com>
23780 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
23781 digraphs in the month and day names. Using single code points for
23782 digraphs is deprecated. While there are dedicated Unicode
23783 codepoints, for the digraphs, these are included for backwards
23784 compatibility and modern texts use a sequence of Basic Latin
23785 characters. See: https://www.unicode.org/faq/ligature_digraph.html
23786 This makes the month and day names agree exactly with CLDR now,
23787 CLDR does not use the single code points for the digraphs either.
23789 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
23791 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
23793 2017-12-04 Joseph Myers <joseph@codesourcery.com>
23795 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
23798 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
23800 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
23801 Define only for libc.so.
23803 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
23805 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23806 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
23807 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
23808 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
23809 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23811 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23814 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
23816 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
23819 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
23820 PREINIT_FUNCTION_WEAK is nonzero.
23821 (gmon_initializer): New function. Put procedure label for it in
23822 .init_array section.
23823 (_init): Don't call PREINIT_FUNCTION.
23824 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
23825 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
23826 value when map argument is null.
23828 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
23829 depi instruction from PIC pc-relative sequence.
23830 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
23831 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
23832 (elf_machine_load_address): Likewise.
23833 (elf_machine_runtime_setup): Likewise.
23835 2017-12-02 Joseph Myers <joseph@codesourcery.com>
23837 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
23838 <libm-alias-double.h>.
23839 (logb): Define using libm_alias_double.
23840 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23841 <libm-alias-double.h>.
23842 (copysign): Define using libm_alias_double.
23843 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
23844 <libm-alias-double.h>.
23845 (llrint): Define using libm_alias_double.
23846 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
23847 <libm-alias-double.h>.
23848 (llround): Define using libm_alias_double.
23849 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23850 <libm-alias-double.h>.
23851 (lrint): Define using libm_alias_double.
23852 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23853 <libm-alias-double.h>.
23854 (lround): Define using libm_alias_double.
23855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23856 Include <libm-alias-double.h>.
23857 (copysign): Define using libm_alias_double.
23858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
23859 Include <libm-alias-double.h>.
23860 (llrint): Define using libm_alias_double.
23861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
23862 Include <libm-alias-double.h>.
23863 (llround): Define using libm_alias_double.
23864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
23865 <libm-alias-double.h>.
23866 (logb): Define using libm_alias_double.
23867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
23868 Include <libm-alias-double.h>.
23869 (lrint): Define using libm_alias_double.
23870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
23871 Include <libm-alias-double.h>.
23872 (lround): Define using libm_alias_double.
23873 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
23874 <libm-alias-double.h>.
23875 (llrint): Define using libm_alias_double.
23876 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23877 <libm-alias-double.h>.
23878 (llround): Define using libm_alias_double.
23879 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23880 <libm-alias-double.h>.
23881 (llround): Define using libm_alias_double.
23882 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23883 <libm-alias-double.h>.
23884 (lround): Define using libm_alias_double.
23885 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23886 <libm-alias-double.h>.
23887 (copysign): Define using libm_alias_double.
23888 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
23889 <libm-alias-double.h>.
23890 (llrint): Define using libm_alias_double.
23891 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23892 <libm-alias-double.h>.
23893 (llround): Define using libm_alias_double.
23894 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23895 <libm-alias-double.h>.
23896 (lrint): Define using libm_alias_double.
23897 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23898 <libm-alias-double.h>.
23899 (lround): Define using libm_alias_double.
23900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
23901 <libm-alias-double.h>.
23902 (copysign): Define using libm_alias_double.
23903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
23904 <libm-alias-double.h>.
23905 (llrint): Define using libm_alias_double.
23907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
23908 <libm-alias-double.h>.
23909 (llround): Define using libm_alias_double.
23910 (lround): Likewise.
23911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
23912 <libm-alias-double.h>.
23913 (logb): Define using libm_alias_double.
23914 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23915 <libm-alias-double.h>.
23916 (copysign): Define using libm_alias_double.
23917 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23918 <libm-alias-double.h>.
23919 (llrint): Define using libm_alias_double.
23921 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
23922 <libm-alias-double.h>.
23923 (llround): Define using libm_alias_double.
23924 (lround): Likewise.
23925 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23926 <libm-alias-double.h>.
23927 (llround): Define using libm_alias_double.
23928 (lround): Likewise.
23929 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23930 <libm-alias-double.h>.
23931 (copysign): Define using libm_alias_double.
23932 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23933 <libm-alias-double.h>.
23934 (llrint): Define using libm_alias_double.
23936 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23937 <libm-alias-double.h>.
23938 (llround): Define using libm_alias_double.
23939 (lround): Likewise.
23940 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23941 <libm-alias-double.h>.
23942 (llrint): Define using libm_alias_double.
23944 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23945 <libm-alias-double.h>.
23946 (llround): Define using libm_alias_double.
23947 (lround): Likewise.
23949 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23952 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
23953 compat symbol based on llround.
23955 * sysdeps/powerpc/power7/fpu/s_logb.c
23956 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
23957 symbol based on __logb, not on logb.
23958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
23959 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
23961 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23963 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
23964 (rint): Define using libm_alias_double.
23965 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
23966 <libm-alias-double.h>.
23967 (modf): Define using libm_alias_double.
23968 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
23969 <libm-alias-double.h>.
23970 (ceil): Define using libm_alias_double.
23971 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
23972 <libm-alias-double.h>.
23973 (floor): Define using libm_alias_double.
23974 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
23975 <libm-alias-double.h>.
23976 (nearbyint): Define using libm_alias_double.
23977 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
23978 <libm-alias-double.h>.
23979 (rint): Define using libm_alias_double.
23980 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
23981 <libm-alias-double.h>.
23982 (round): Define using libm_alias_double.
23983 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
23984 <libm-alias-double.h>.
23985 (trunc): Define using libm_alias_double.
23986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
23987 <libm-alias-double.h>.
23988 (ceil): Define using libm_alias_double.
23989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
23990 Include <libm-alias-double.h>.
23991 (floor): Define using libm_alias_double.
23992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
23993 <libm-alias-double.h>.
23994 (modf): Define using libm_alias_double.
23995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
23996 Include <libm-alias-double.h>.
23997 (round): Define using libm_alias_double.
23998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
23999 Include <libm-alias-double.h>.
24000 (trunc): Define using libm_alias_double.
24001 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
24002 <libm-alias-double.h>.
24003 (ceil): Define using libm_alias_double.
24004 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
24005 <libm-alias-double.h>.
24006 (floor): Define using libm_alias_double.
24007 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
24008 <libm-alias-double.h>.
24009 (round): Define using libm_alias_double.
24010 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
24011 <libm-alias-double.h>.
24012 (trunc): Define using libm_alias_double.
24013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
24014 <libm-alias-double.h>.
24015 (ceil): Define using libm_alias_double.
24016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
24017 <libm-alias-double.h>.
24018 (floor): Define using libm_alias_double.
24019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
24020 <libm-alias-double.h>.
24021 (modf): Define using libm_alias_double.
24022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
24023 <libm-alias-double.h>.
24024 (round): Define using libm_alias_double.
24025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
24026 <libm-alias-double.h>.
24027 (trunc): Define using libm_alias_double.
24028 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
24029 <libm-alias-double.h>.
24030 (ceil): Define using libm_alias_double.
24031 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
24032 <libm-alias-double.h>.
24033 (floor): Define using libm_alias_double.
24034 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
24035 <libm-alias-double.h>.
24036 (nearbyint): Define using libm_alias_double.
24037 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
24038 <libm-alias-double.h>.
24039 (rint): Define using libm_alias_double.
24040 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
24041 <libm-alias-double.h>.
24042 (round): Define using libm_alias_double.
24043 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
24044 <libm-alias-double.h>.
24045 (trunc): Define using libm_alias_double.
24046 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
24047 <libm-alias-double.h>.
24048 (ceil): Define using libm_alias_double.
24049 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
24050 <libm-alias-double.h>.
24051 (floor): Define using libm_alias_double.
24052 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
24053 <libm-alias-double.h>.
24054 (round): Define using libm_alias_double.
24055 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
24056 <libm-alias-double.h>.
24057 (trunc): Define using libm_alias_double.
24059 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
24060 (fabs): Define using libm_alias_double.
24061 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
24062 (fma): Define using libm_alias_double.
24063 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
24064 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
24065 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
24066 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
24068 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24070 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
24072 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
24073 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
24074 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
24077 due redirect macro.
24079 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
24081 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
24083 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24085 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
24086 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
24087 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
24088 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
24090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24091 (libm-sysdep_routines): Add s_nearbyintf-generic and
24092 s_nearbyint-generic.
24093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
24095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
24096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
24098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
24100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
24102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24106 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
24107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
24109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
24110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
24112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
24113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
24114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24117 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
24118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
24120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
24121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
24123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
24124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
24125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
24127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24128 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
24129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
24131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
24132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
24134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
24135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
24136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24139 (sysdep_calls): New rule.
24140 (sysdep_routines): Use sysdep_calls as base.
24141 (libm-sysdep_routines): Add generic rule for symbols shared with
24142 libc. Add s_copysign-generic and s_copysign-generic objects.
24143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
24145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
24146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
24148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
24149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
24150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
24152 2017-12-01 Mike FABIAN <mfabian@redhat.com>
24155 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
24156 the list of locales to be built for testing.
24157 * localedata/is_IS.UTF-8.in: New file.
24158 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
24161 2017-12-01 Joseph Myers <joseph@codesourcery.com>
24163 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
24164 <libm-alias-float.h>.
24165 (fabsf): Define using libm_alias_float.
24167 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24169 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
24171 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24173 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
24174 <libm-alias-float.h>.
24175 (fabsf): Define using libm_alias_float.
24176 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
24177 <libm-alias-float.h>.
24178 (lrintf): Define using libm_alias_float.
24179 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
24180 <libm-alias-float.h>.
24181 (rintf): Define using libm_alias_float.
24183 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
24184 <libm-alias-double.h>.
24185 (fabs): Define using libm_alias_double.
24186 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
24187 <libm-alias-double.h>.
24188 (lrint): Define using libm_alias_double.
24189 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
24190 <libm-alias-double.h>.
24191 (rint): Define using libm_alias_double.
24193 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
24194 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
24195 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
24196 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
24197 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
24198 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
24199 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
24200 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
24201 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
24202 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
24203 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
24204 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
24205 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
24206 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
24207 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
24208 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
24209 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
24210 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
24212 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
24213 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
24214 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
24216 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
24217 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
24218 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
24220 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
24221 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
24222 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
24223 s_expm1_template.c.
24224 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
24225 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
24226 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
24228 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
24229 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
24230 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
24231 s_floor_template.c.
24232 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
24233 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
24234 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
24235 s_frexp_template.c.
24236 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
24237 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
24238 s_lrint_template.c.
24239 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
24240 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
24241 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
24243 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
24244 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
24245 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
24246 s_nearbyint_template.c.
24247 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
24248 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
24249 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
24250 s_remquo_template.c.
24251 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
24252 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
24253 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
24255 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
24256 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
24257 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
24259 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
24260 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
24261 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
24262 s_sincos_template.c.
24263 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
24264 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
24265 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
24267 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
24268 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
24269 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
24271 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
24272 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
24273 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
24274 s_trunc_template.c.
24275 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
24276 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
24277 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
24278 s_atan.c instead of including s_atan.c.
24279 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
24280 s_atanf.c instead of including s_atanf.c.
24281 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
24282 s_atanl.c instead of including s_atanl.c.
24283 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
24284 instead of s_atan.c.
24285 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
24286 instead of s_atanf.c.
24287 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
24288 instead of s_atanl.c.
24290 * scripts/update-copyrights: Do not handle intl/plural.c
24293 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
24296 * configure.ac (BISON): Require to be present.
24297 * configure: Regenerated.
24298 * intl/Makefile (generated): Add plural.c.
24299 [$(BISON) != no]: Make code unconditional.
24300 (plural.c): Change rule to $(objpfx)plural.c.
24301 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
24302 * intl/plural.c: Remove.
24303 * manual/install.texi (Tools for Compilation): Document bison as
24305 * INSTALL: Regenerated.
24307 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24309 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
24310 <libm-alias-double.h>.
24311 (llrint): Define using libm_alias_double.
24312 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
24313 <libm-alias-float.h>.
24314 (llrintf): Define using libm_alias_float.
24315 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
24316 <libm-alias-ldouble.h>.
24317 (llrintl): Define using libm_alias_ldouble.
24319 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
24320 declare_mgen_alias instead of weak_alias.
24321 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
24322 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
24323 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
24325 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24327 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24329 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
24330 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
24331 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
24333 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24334 Add submul_1-generic.
24335 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
24336 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
24337 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
24339 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24340 Add addmul_1-generic.
24341 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
24342 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
24343 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
24345 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24347 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
24348 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
24349 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
24351 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24353 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
24354 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
24355 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
24357 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24359 According to CLDR, collation rules for Serbian and Bosnian
24360 should be the same as for Croatian.
24363 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
24364 and to the list of locales to be built for testing.
24365 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24366 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24367 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
24368 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
24370 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24372 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
24373 to make test case pass.
24374 * localedata/hr_HR.UTF-8.in: Add more test strings.
24376 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24378 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
24380 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
24382 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
24383 the list of locales to built for testing.
24384 * localedata/hr_HR.UTF-8.in: New file.
24386 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
24389 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
24391 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
24392 CLDR (except use ligatures for the digraphs, CLDR does not use
24393 the ligatures), add first_workday, some fixes in the date and time
24395 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
24397 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
24398 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
24399 Add int_p_cs_precedes and int_n_cs_precedes.
24400 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
24401 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
24403 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
24404 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
24406 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
24407 and lang_lib. Change postal_fmt.
24409 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24411 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
24413 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24414 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
24415 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24416 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
24417 * sysdeps/generic/setjmpP.h: New file.
24418 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
24419 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
24420 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
24421 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
24422 Add jmp_buf-ssp.sym.
24423 (tests): Add tst-saved_mask-1.
24425 2017-11-30 Arjun Shankar <arjun@redhat.com>
24429 * malloc/malloc.c (__libc_malloc): Use checked_request2size
24430 instead of request2size.
24432 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
24435 (__lllrint): Remove alias.
24436 (lllrint): Likewise.
24437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
24438 (__lllrintf): Likewise.
24439 (lllrintf): Likewise.
24441 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
24442 <libm-alias-float.h>.
24443 (copysignf): Define using libm_alias_float.
24444 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
24445 <libm-alias-float.h>.
24446 (fabsf): Define using libm_alias_float.
24447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24448 Include <libm-alias-float.h>.
24449 (copysignf): Define using libm_alias_float.
24450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
24451 <libm-alias-float.h>.
24452 (fabsf): Define using libm_alias_float.
24453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
24454 <libm-alias-float.h>.
24455 (fdimf): Define using libm_alias_float.
24456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
24457 <libm-alias-float.h>.
24458 (fmaf): Define using libm_alias_float.
24459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
24460 <libm-alias-float.h>.
24461 (llrintf): Define using libm_alias_float.
24462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24463 Include <libm-alias-float.h>.
24464 (nearbyintf): Define using libm_alias_float.
24465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
24466 <libm-alias-float.h>.
24467 (rintf): Define using libm_alias_float.
24468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
24469 <libm-alias-float.h>.
24470 (llrintf): Define using libm_alias_float.
24471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
24472 <libm-alias-float.h>.
24473 (lrintf): Define using libm_alias_float.
24474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
24475 <libm-alias-float.h>.
24476 (nearbyintf): Define using libm_alias_float.
24477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
24478 <libm-alias-float.h>.
24479 (rintf): Define using libm_alias_float.
24480 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
24481 <libm-alias-float.h>.
24482 (ceilf): Define using libm_alias_float.
24483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
24484 <libm-alias-float.h>.
24485 (floorf): Define using libm_alias_float.
24486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
24487 <libm-alias-float.h>.
24488 (fmaf): Define using libm_alias_float.
24489 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
24490 <libm-alias-float.h>.
24491 (lrintf): Define using libm_alias_float.
24492 (llrintf): Likewise.
24493 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
24494 <libm-alias-float.h>.
24495 (nearbyintf): Define using libm_alias_float.
24496 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
24497 <libm-alias-float.h>.
24498 (rintf): Define using libm_alias_float.
24499 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
24500 <libm-alias-float.h>.
24501 (truncf): Define using libm_alias_float.
24502 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
24503 <libm-alias-float.h>.
24504 (copysignf): Define using libm_alias_float.
24505 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
24506 <libm-alias-float.h>.
24507 (fabsf): Define using libm_alias_float.
24508 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
24509 <libm-alias-float.h>.
24510 (lrintf): Define using libm_alias_float.
24511 (llrintf): Likewise.
24512 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
24513 <libm-alias-float.h>.
24514 (nearbyintf): Define using libm_alias_float.
24515 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
24516 <libm-alias-float.h>.
24517 (rintf): Define using libm_alias_float.
24519 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24521 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24522 <libm-alias-double.h>.
24523 (copysign): Define using libm_alias_double.
24524 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
24525 <libm-alias-double.h>.
24526 (fabs): Define using libm_alias_double.
24527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24528 Include <libm-alias-double.h>.
24529 (copysign): Define using libm_alias_double.
24530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24531 <libm-alias-double.h>.
24532 (fabs): Define using libm_alias_double.
24533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
24534 <libm-alias-double.h>.
24535 (fdim): Define using libm_alias_double.
24536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
24537 <libm-alias-double.h>.
24538 (fma): Define using libm_alias_double.
24539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
24540 <libm-alias-double.h>.
24541 (llrint): Define using libm_alias_double.
24542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
24543 Include <libm-alias-double.h>.
24544 (nearbyint): Define using libm_alias_double.
24545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
24546 <libm-alias-double.h>.
24547 (rint): Define using libm_alias_double.
24548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24549 <libm-alias-double.h>.
24550 (fabs): Define using libm_alias_double.
24551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
24552 <libm-alias-double.h>.
24553 (llrint): Define using libm_alias_double.
24554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
24555 <libm-alias-double.h>.
24556 (nearbyint): Define using libm_alias_double.
24557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
24558 <libm-alias-double.h>.
24559 (rint): Define using libm_alias_double.
24560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
24561 <libm-alias-double.h>.
24562 (ceil): Define using libm_alias_double.
24563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
24564 <libm-alias-double.h>.
24565 (floor): Define using libm_alias_double.
24566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
24567 <libm-alias-double.h>.
24568 (fma): Define using libm_alias_double.
24569 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
24570 <libm-alias-double.h>.
24571 (lrint): Define using libm_alias_double.
24572 (llrint): Likewise.
24573 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
24574 <libm-alias-double.h>.
24575 (nearbyint): Define using libm_alias_double.
24576 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
24577 <libm-alias-double.h>.
24578 (rint): Define using libm_alias_double.
24579 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
24580 <libm-alias-double.h>.
24581 (trunc): Define using libm_alias_double.
24582 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
24583 <libm-alias-double.h>.
24584 (copysign): Define using libm_alias_double.
24585 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
24586 <libm-alias-double.h>.
24587 (fabs): Define using libm_alias_double.
24588 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
24589 <libm-alias-double.h>.
24590 (lrint): Define using libm_alias_double.
24591 (llrint): Likewise.
24592 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
24593 <libm-alias-double.h>.
24594 (nearbyint): Define using libm_alias_double.
24595 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
24596 <libm-alias-double.h>.
24597 (rint): Define using libm_alias_double.
24600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24602 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24604 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24605 SPARC --disable-multi-arch glibc variants.
24607 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
24608 <libm-alias-float.h>.
24609 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24611 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
24612 <libm-alias-float.h>.
24613 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24615 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
24616 <libm-alias-float.h>.
24617 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24619 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
24620 <libm-alias-float.h>.
24621 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24623 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
24624 <libm-alias-float.h>.
24625 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24627 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
24628 <libm-alias-float.h>.
24629 (ceilf): Define using libm_alias_float.
24630 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
24631 <libm-alias-float.h>.
24632 (floorf): Define using libm_alias_float.
24633 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
24634 <libm-alias-float.h>.
24635 (fmaf): Define using libm_alias_float.
24636 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
24637 <libm-alias-float.h>.
24638 (nearbyintf): Define using libm_alias_float.
24639 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
24640 <libm-alias-float.h>.
24641 (rintf): Define using libm_alias_float.
24642 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
24643 <libm-alias-float.h>.
24644 (truncf): Define using libm_alias_float.
24645 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24646 (copysignf): Define using libm_alias_float.
24647 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
24648 (cosf): Define using libm_alias_float.
24649 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24650 (fabsf): Define using libm_alias_float.
24651 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24652 (fmaxf): Define using libm_alias_float.
24653 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
24654 (fminf): Define using libm_alias_float.
24655 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24656 (llrintf): Define using libm_alias_float.
24657 [!__ILP32__] (lrintf): Likewise.
24658 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
24659 (sincosf): Define using libm_alias_float.
24660 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
24661 (sinf): Define using libm_alias_float.
24662 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24663 (lrintf): Define using libm_alias_float.
24665 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
24666 <libm-alias-double.h>.
24667 (atan): Define using libm_alias_double.
24668 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
24669 <libm-alias-double.h>.
24670 (ceil): Define using libm_alias_double.
24671 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
24672 <libm-alias-double.h>.
24673 (floor): Define using libm_alias_double.
24674 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
24675 <libm-alias-double.h>.
24676 (fma): Define using libm_alias_double.
24677 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
24678 <libm-alias-double.h>.
24679 (nearbyint): Define using libm_alias_double.
24680 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
24681 <libm-alias-double.h>.
24682 (rint): Define using libm_alias_double.
24683 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
24684 <libm-alias-double.h>.
24685 (sin): Define using libm_alias_double.
24687 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
24688 <libm-alias-double.h>.
24689 (tan): Define using libm_alias_double.
24690 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
24691 <libm-alias-double.h>.
24692 (trunc): Define using libm_alias_double.
24693 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
24694 (copysign): Define using libm_alias_double.
24695 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
24696 (fabs): Define using libm_alias_double.
24697 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
24698 (fmax): Define using libm_alias_double.
24699 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
24700 (fmin): Define using libm_alias_double.
24701 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
24702 (llrint): Define using libm_alias_double.
24703 [!__ILP32__] (lrint): Likewise.
24704 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
24705 (lrint): Define using libm_alias_double.
24707 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24709 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24710 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
24712 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
24713 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
24714 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
24715 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
24716 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
24717 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24719 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24720 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
24722 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
24723 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
24724 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
24725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
24726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
24727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24729 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24730 (libm-sysdep_routines): Add s_nearbyint-generic and
24731 s_nearbyintf-generic objects.
24732 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
24733 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
24734 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
24735 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
24736 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
24737 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
24739 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24740 Add s_finitef-generic and s_finite-generic objects.
24741 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
24742 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
24743 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
24744 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
24745 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
24746 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
24748 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24749 Add s_isinff-generic and s_isinf-generic objects.
24750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
24751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
24752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
24753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
24754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
24755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24757 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24758 Add s_isnanf-generic and s_isnan-generic objects.
24759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
24760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
24761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
24762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
24763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
24764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24766 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
24768 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
24770 (sysdep_routines): Use sysdep_calls as base.
24771 (libm-sysdep_routines): Add generic rule for symbols shared with
24772 libc. Add s_signbit-generic and s_signbitf-generic objects.
24773 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
24774 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
24775 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
24776 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
24777 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
24778 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24780 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24782 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
24783 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
24784 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
24785 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
24786 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
24787 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
24788 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
24789 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
24790 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
24791 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
24792 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
24793 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
24794 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
24795 libm_alias_float_r.
24796 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
24797 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
24799 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
24800 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
24801 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
24802 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
24803 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
24804 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
24805 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
24806 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
24807 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
24808 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
24810 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
24812 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
24813 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
24814 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
24815 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
24816 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
24817 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
24818 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
24819 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
24820 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
24821 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
24822 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
24823 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
24824 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
24825 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
24826 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
24827 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
24828 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
24829 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
24830 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
24832 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
24833 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
24834 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
24835 * sysdeps/ia64/fpu/w_lgammaf_main.c
24836 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
24837 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
24839 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24840 Alexandre Oliva <aoliva@redhat.com>
24843 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
24844 * localedata/fr_CA.UTF-8.in: New file with test data for backward
24846 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
24848 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
24849 * localedata/locales/de_DE (LC_COLLATE): Likewise.
24850 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
24851 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
24852 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
24853 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
24854 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
24855 instead of “ifdef DIACRIT_BACKWARD”.
24857 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24859 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
24860 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
24861 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
24862 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
24863 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
24864 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
24865 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
24866 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
24867 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
24868 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
24869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
24870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
24871 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
24872 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
24873 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
24874 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24875 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
24876 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
24877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24878 ($(have-as-vis3) == yes): Remove conditional.
24879 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
24881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
24883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
24885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
24887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
24889 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
24890 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
24891 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
24892 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
24893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
24894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
24895 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
24896 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
24898 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24900 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
24901 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
24902 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
24903 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
24904 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
24905 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
24906 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
24907 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
24908 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
24909 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
24910 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
24911 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
24912 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
24913 libm_alias_double_r.
24914 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
24916 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
24917 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
24918 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
24919 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
24920 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
24921 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
24922 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
24923 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
24924 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
24925 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
24926 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
24928 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
24930 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
24931 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
24932 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
24933 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
24934 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
24935 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
24936 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
24937 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
24938 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
24939 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
24940 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
24941 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
24942 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
24943 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
24944 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
24945 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
24946 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
24947 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
24949 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
24950 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
24951 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
24952 * sysdeps/ia64/fpu/w_lgamma_main.c
24953 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
24954 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
24956 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
24958 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
24959 address of $global$ into %dp register earlier. Use pc-relative
24960 instruction sequence for PIC case.
24962 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24964 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
24965 (asinhf): Define using libm_alias_float.
24966 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
24967 (atanf): Define using libm_alias_float.
24968 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
24969 (cbrtf): Define using libm_alias_float.
24970 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
24971 (ceilf): Define using libm_alias_float.
24972 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24973 (copysignf): Define using libm_alias_float.
24974 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
24975 (expm1f): Define using libm_alias_float.
24976 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
24977 (fabsf): Define using libm_alias_float.
24978 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
24979 (floorf): Define using libm_alias_float.
24980 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24981 (fmaxf): Define using libm_alias_float.
24982 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
24983 (fminf): Define using libm_alias_float.
24984 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
24985 (frexpf): Define using libm_alias_float.
24986 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24987 (llrintf): Define using libm_alias_float.
24988 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
24989 (logbf): Define using libm_alias_float.
24990 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24991 (lrintf): Define using libm_alias_float.
24992 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
24993 (nearbyintf): Define using libm_alias_float.
24994 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
24995 (remquof): Define using libm_alias_float.
24996 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
24997 (rintf): Define using libm_alias_float.
24998 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
24999 (truncf): Define using libm_alias_float.
25000 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
25001 <libm-alias-float.h>.
25002 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25004 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
25005 <libm-alias-float.h>.
25006 (expf): Define using libm_alias_float, or libm_alias_float_other
25008 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
25009 <libm-alias-float.h>.
25010 (log2f): Define using libm_alias_float, or libm_alias_float_other
25012 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
25013 <libm-alias-float.h>.
25014 (logf): Define using libm_alias_float, or libm_alias_float_other
25016 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
25017 <libm-alias-float.h>.
25018 (powf): Define using libm_alias_float, or libm_alias_float_other
25020 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
25021 <libm-alias-float.h>.
25022 (cosf): Define using libm_alias_float.
25023 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
25024 <libm-alias-float.h>.
25025 (sincosf): Define using libm_alias_float.
25026 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
25027 <libm-alias-float.h>.
25028 (sinf): Define using libm_alias_float.
25029 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25030 (fmaxf): Define using libm_alias_float.
25031 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
25032 (fminf): Define using libm_alias_float.
25033 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25034 <libm-alias-float.h>.
25035 (fmaf): Define using libm_alias_float.
25037 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
25038 (asinh): Define using libm_alias_double.
25039 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
25040 (atan): Define using libm_alias_double.
25041 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
25042 (cbrt): Define using libm_alias_double.
25043 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
25044 (ceil): Define using libm_alias_double.
25045 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
25046 (copysign): Define using libm_alias_double.
25047 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
25048 (expm1): Define using libm_alias_double.
25049 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
25050 (fabs): Define using libm_alias_double.
25051 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
25052 (fdim): Define using libm_alias_double.
25053 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
25054 (floor): Define using libm_alias_double.
25055 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
25056 (fmax): Define using libm_alias_double.
25057 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
25058 (fmin): Define using libm_alias_double.
25059 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
25060 (frexp): Define using libm_alias_double.
25061 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
25062 (llrint): Define using libm_alias_double.
25063 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
25064 (logb): Define using libm_alias_double.
25065 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
25066 (lrint): Define using libm_alias_double.
25067 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
25068 (nearbyint): Define using libm_alias_double.
25069 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
25070 (remquo): Define using libm_alias_double.
25071 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
25072 (rint): Define using libm_alias_double.
25073 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
25074 (trunc): Define using libm_alias_double.
25075 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
25076 (fmax): Define using libm_alias_double.
25077 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
25078 (fmin): Define using libm_alias_double.
25079 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
25080 (fma): Define using libm_alias_double.
25082 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
25085 * elf/dl-hwcaps.c (ROUND): Removed.
25086 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
25087 and ELF_NOTE_NEXT_OFFSET.
25088 * elf/dl-load.c (ROUND): Removed.
25089 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25090 * elf/readelflib.c (ROUND): Removed.
25091 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25092 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
25093 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
25094 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
25096 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25098 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25099 [!__fmaf] (fmaf): Define using libm_alias_float.
25101 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
25102 [!__fma] (fma): Define using libm_alias_double.
25103 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
25105 2017-11-28 Mike FABIAN <mfabian@redhat.com>
25108 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
25109 and implement the collation rules for cs from CLDR on top of that.
25110 * Makefile: Add cs_CZ.UTF-8 to test-input.
25111 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
25113 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
25115 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
25117 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25118 Icarus Sparry <icarus.w.sparry@intel.com>
25120 * benchtests/Makefile:Add BENCHSET to allow subsets of
25121 benchmarks to be run.
25122 * benchtests/README: Add documentation for: Running subsets of
25125 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25127 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
25128 range of tests names.
25130 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
25131 result from property and remove "max", min" and "mean" from
25132 required properties based on benchtests/bench-skeleton.c.
25134 2017-11-28 Florian Weimer <fweimer@redhat.com>
25137 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
25138 due to Internet requirement.
25139 * posix/Makefile (tests): Remove tst-getaddrinfo4,
25141 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
25143 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25145 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25146 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
25147 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25148 (sysdep_routines): Add memset-ultra1.
25149 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
25151 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
25152 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
25153 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
25154 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
25155 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
25156 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
25157 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
25158 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25160 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
25162 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
25163 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
25164 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
25165 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
25166 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
25167 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
25168 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
25170 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25171 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
25172 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25173 (sysdep_routines): Add memcpy-ultra1.
25174 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
25175 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
25177 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25179 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
25180 (cfloat_versions): Take function argument without trailing 'f'.
25181 Call libm_alias_float_other.
25182 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
25183 * sysdeps/alpha/fpu/cargf.c: Likewise.
25184 * sysdeps/alpha/fpu/cimagf.c: Likewise.
25185 * sysdeps/alpha/fpu/conjf.c: Likewise.
25186 * sysdeps/alpha/fpu/crealf.c: Likewise.
25187 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
25188 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
25189 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
25190 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
25191 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
25192 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
25193 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
25194 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
25195 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
25196 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
25197 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
25198 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
25199 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
25200 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
25201 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
25202 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
25203 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
25204 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
25205 (clog10f): Use libm_alias_float_other.
25206 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25207 (ceilf): Define using libm_alias_float.
25208 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
25209 (copysignf): Define using libm_alias_float.
25210 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25211 (fabsf): Define using libm_alias_float.
25212 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
25213 (floorf): Define using libm_alias_float.
25214 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
25215 (fmaxf): Define using libm_alias_float.
25216 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
25217 (fminf): Define using libm_alias_float.
25218 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25219 (lrintf): Define using libm_alias_float.
25220 (llrintf): Likewise.
25221 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25222 (lroundf): Define using libm_alias_float.
25223 (llroundf): Likewise.
25224 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
25225 (rintf): Define using libm_alias_float.
25226 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
25227 (truncf): Define using libm_alias_float.
25229 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25230 (ceilf): Define using libm_alias_float.
25231 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
25232 (floorf): Define using libm_alias_float.
25233 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25234 (fmaf): Define using libm_alias_float.
25235 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
25236 (fmaxf): Define using libm_alias_float.
25237 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
25238 (fminf): Define using libm_alias_float.
25239 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
25240 (llrintf): Define using libm_alias_float.
25241 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
25242 (llroundf): Define using libm_alias_float.
25243 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25244 (lrintf): Define using libm_alias_float.
25245 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25246 (lroundf): Define using libm_alias_float.
25247 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
25248 <libm-alias-float.h>.
25249 (nearbyintf): Define using libm_alias_float.
25250 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
25251 (rintf): Define using libm_alias_float.
25252 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
25253 (roundf): Define using libm_alias_float.
25254 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
25255 (truncf): Define using libm_alias_float.
25257 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
25258 (ceil): Define using libm_alias_double.
25259 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
25260 (copysign): Define using libm_alias_double.
25261 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
25262 (fabs): Define using libm_alias_double.
25263 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
25264 (floor): Define using libm_alias_double.
25265 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
25266 (fmax): Define using libm_alias_double.
25267 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
25268 (fmin): Define using libm_alias_double.
25269 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
25270 (lrint): Define using libm_alias_double.
25271 (llrint): Likewise.
25272 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
25273 (lround): Define using libm_alias_double.
25274 (llround): Likewise.
25275 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
25276 (rint): Define using libm_alias_double.
25277 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
25278 (trunc): Define using libm_alias_double.
25280 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25281 (libm_alias_double_r): Add semicolon after weak_alias call.
25283 2017-11-27 Joseph Myers <joseph@codesourcery.com>
25285 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
25286 (ceil): Define using libm_alias_double.
25287 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
25288 (floor): Define using libm_alias_double.
25289 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
25290 (fma): Define using libm_alias_double.
25291 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
25292 (fmax): Define using libm_alias_double.
25293 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
25294 (fmin): Define using libm_alias_double.
25295 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
25296 (llrint): Define using libm_alias_double.
25297 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
25298 (llround): Define using libm_alias_double.
25299 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
25300 (lrint): Define using libm_alias_double.
25301 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
25302 (lround): Define using libm_alias_double.
25303 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
25304 (nearbyint): Define using libm_alias_double.
25305 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
25306 (rint): Define using libm_alias_double.
25307 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
25308 (round): Define using libm_alias_double.
25309 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
25310 (trunc): Define using libm_alias_double.
25312 2017-11-27 Florian Weimer <fweimer@redhat.com>
25314 * sysdeps/unix/sysv/linux/mlock2.c: New file.
25315 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
25316 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
25317 (tests): Add tst-mlock2.
25318 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
25319 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
25320 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
25321 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
25322 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
25323 for mlock. Document mlock2.
25325 2017-11-27 Joseph Myers <joseph@codesourcery.com>
25327 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
25328 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
25330 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
25332 * sysdeps/x86/Makeconfig: New file.
25333 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
25334 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25335 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
25336 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25337 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25338 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25339 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
25341 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25342 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25343 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25344 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25345 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25346 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25347 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25348 * manual/math.texi (Mathematics): Document support for _Float64x.
25349 * math/Versions (GLIBC_2.27): Add _Float64x functions.
25350 * stdlib/Versions (GLIBC_2.27): Likewise.
25351 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25352 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25353 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25354 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25355 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25356 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25357 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25358 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25359 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25360 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25361 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25362 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25367 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25368 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25369 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25370 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25371 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25372 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25373 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25374 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25375 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25376 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25377 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25378 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25379 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25380 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25382 2017-11-27 Andreas Schwab <schwab@suse.de>
25384 * elf/Makefile (dl-routines): Add dl-sort-maps.
25385 * elf/dl-sort-maps.c: New file.
25386 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
25387 (_dl_sort_maps): Declare.
25388 * elf/dl-fini.c (_dl_sort_fini): Remove.
25389 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
25390 * elf/dl-close.c (_dl_close_worker): Likewise.
25391 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
25393 * elf/dl-open.c (dl_open_worker): Likewise.
25395 2017-11-24 Joseph Myers <joseph@codesourcery.com>
25397 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
25398 using libm_alias_float128.
25399 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
25401 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
25403 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
25404 (setpayloadsigf128): Likewise.
25405 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
25407 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
25410 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
25411 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
25412 -mfloat128 to CFLAGS.
25414 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
25416 (CFLAGS-libm-test-support-float64x.c): New variable.
25417 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
25418 $(f128-loader-link) to gnulib-tests.
25420 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
25421 (libm_alias_float128_other_r): If
25422 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
25424 (libm_alias_float128_r): Add semicolon after weak_alias call.
25425 * sysdeps/generic/libm-alias-ldouble.h
25426 (libm_alias_ldouble_other_r_f128): New macro.
25427 (libm_alias_ldouble_other_r_f64x): Likewise.
25428 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25429 and libm_alias_ldouble_other_r_f64x.
25430 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
25431 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25432 (libm_alias_ldouble_other_r_f128): New macro.
25433 (libm_alias_ldouble_other_r_f64x): Likewise.
25434 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25435 and libm_alias_ldouble_other_r_f64x.
25437 * stdlib/strfroml.c: Always include <stdlib.h>.
25438 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
25439 undefine as macro and define as weak alias.
25440 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
25441 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
25443 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
25444 Define and later undefine as macro and define as weak alias.
25446 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25447 Define and later undefine as macro. Define as weak alias if
25449 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
25450 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25451 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
25452 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25453 Define and later undefine as macro. Define as weak alias if
25455 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
25456 Define and later undefine as macro. Define as weak alias if
25458 * sysdeps/ieee754/float128/strtof128_l.c
25459 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
25460 Define and later undefine as macro. Define as weak alias if
25462 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
25463 Define and later undefine as macro. Define as weak alias if
25465 * sysdeps/ieee754/ldbl-128/strtold_l.c
25466 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25467 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25468 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25469 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25470 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
25471 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25472 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25473 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25474 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25475 * sysdeps/ieee754/ldbl-96/strtold_l.c
25476 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25477 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25478 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25479 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25481 * math/test-float64x.h: New file.
25482 * math/Makefile (type-float64x-yes): New variable.
25483 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
25485 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
25486 function-like macro.
25487 (min_of_type_): Likewise.
25488 (min_of_type_l): Likewise.
25489 (min_of_type_f128): Likewise.
25490 (min_of_type): Pass () as last argument of __MATH_TG.
25492 * stdlib/tst-strtod-round-skeleton.c
25493 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
25496 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
25497 for combinations of long double with _Float64 and _Float64x.
25499 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
25500 (__DECL_SIMD_cosf32): Likewise.
25501 (__DECL_SIMD_cosf64): Likewise.
25502 (__DECL_SIMD_cosf32x): Likewise.
25503 (__DECL_SIMD_cosf64x): Likewise.
25504 (__DECL_SIMD_cosf128x): Likewise.
25505 (__DECL_SIMD_sinf16): Likewise.
25506 (__DECL_SIMD_sinf32): Likewise.
25507 (__DECL_SIMD_sinf64): Likewise.
25508 (__DECL_SIMD_sinf32x): Likewise.
25509 (__DECL_SIMD_sinf64x): Likewise.
25510 (__DECL_SIMD_sinf128x): Likewise.
25511 (__DECL_SIMD_sincosf16): Likewise.
25512 (__DECL_SIMD_sincosf32): Likewise.
25513 (__DECL_SIMD_sincosf64): Likewise.
25514 (__DECL_SIMD_sincosf32x): Likewise.
25515 (__DECL_SIMD_sincosf64x): Likewise.
25516 (__DECL_SIMD_sincosf128x): Likewise.
25517 (__DECL_SIMD_logf16): Likewise.
25518 (__DECL_SIMD_logf32): Likewise.
25519 (__DECL_SIMD_logf64): Likewise.
25520 (__DECL_SIMD_logf32x): Likewise.
25521 (__DECL_SIMD_logf64x): Likewise.
25522 (__DECL_SIMD_logf128x): Likewise.
25523 (__DECL_SIMD_expf16): Likewise.
25524 (__DECL_SIMD_expf32): Likewise.
25525 (__DECL_SIMD_expf64): Likewise.
25526 (__DECL_SIMD_expf32x): Likewise.
25527 (__DECL_SIMD_expf64x): Likewise.
25528 (__DECL_SIMD_expf128x): Likewise.
25529 (__DECL_SIMD_powf16): Likewise.
25530 (__DECL_SIMD_powf32): Likewise.
25531 (__DECL_SIMD_powf64): Likewise.
25532 (__DECL_SIMD_powf32x): Likewise.
25533 (__DECL_SIMD_powf64x): Likewise.
25534 (__DECL_SIMD_powf128x): Likewise.
25536 * stdlib/Versions (libc): Move entries for wcstof128 and
25537 wcstof128_l to ....
25538 * wcsmbs/Versions (libc): ... here.
25539 Include <float128-abi.h>.
25541 2017-11-24 Florian Weimer <fweimer@redhat.com>
25543 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25544 bits/mman-shared.h.
25545 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
25546 <bits/mman-shared.h>.
25547 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
25549 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
25550 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
25551 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
25552 <bits/mman-shared.h>.
25554 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25557 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
25558 posix_memalign/free.
25559 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
25561 2017-11-22 Mike FABIAN <mfabian@redhat.com>
25564 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
25565 and implement the collation rules for pl from CLDR on top of that.
25566 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
25567 of locales to be built for testing.
25568 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
25570 2017-11-23 Joseph Myers <joseph@codesourcery.com>
25572 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
25573 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
25574 libm_alias_ldouble_other.
25575 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
25576 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
25577 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
25578 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
25579 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
25580 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
25581 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
25582 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
25583 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
25584 libm_alias_ldouble_r.
25585 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
25586 libm_alias_ldouble_other.
25587 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
25588 (log10l): Likewise.
25589 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
25590 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
25591 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
25592 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
25593 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
25594 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
25595 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
25596 (atan2l): Likewise.
25597 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
25598 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
25599 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
25600 libm_alias_ldouble.
25601 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
25603 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
25604 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
25605 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
25607 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
25608 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
25609 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
25610 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
25611 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
25612 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
25613 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
25614 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
25615 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
25616 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
25617 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
25618 libm_alias_ldouble.
25619 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
25620 libm_alias_ldouble_other.
25621 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
25622 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
25623 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
25624 libm_alias_ldouble.
25625 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
25626 libm_alias_ldouble_other.
25627 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
25628 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
25629 * sysdeps/ia64/fpu/w_lgammal_main.c
25630 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
25631 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
25633 2017-11-23 Florian Weimer <fweimer@redhat.com>
25635 * malloc/malloc.c (tcache_thread_shutdown): Rename from
25636 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
25637 alike. Remove freeres marker.
25638 * malloc/arena.c (arena_thread_freeres): Call
25639 tcache_thread_shutdown.
25641 2017-11-23 Florian Weimer <fweimer@redhat.com>
25644 Export nscd hash function as __nss_hash.
25645 * include/nss.h (__nss_hash): Declare.
25646 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
25648 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
25649 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
25651 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
25652 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
25653 * nss/Makefiles (routines): Add nss_hash.
25654 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
25655 * nss/nss_hash.c: Rename from nis/nis_hash.c.
25656 (__nss_hash): Rename from __nis_hash. Define hidden alias.
25657 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
25659 2017-11-23 Florian Weimer <fweimer@redhat.com>
25662 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
25663 Return error code, not -1.
25664 * signal/tst-sigwait-eintr.c: New file.
25665 * signal/Makefile (tests): Add tst-sigwait-eintr.
25667 2017-11-23 Florian Weimer <fweimer@redhat.com>
25669 Linux: Add memfd_create system call wrapper
25670 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
25672 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
25673 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
25674 [__USE_GNU] (memfd_create): Declare.
25675 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
25676 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
25677 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
25678 * sysdeps/unix/sysv/linux/**.abilist: Update.
25679 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
25681 2017-11-22 Joseph Myers <joseph@codesourcery.com>
25683 * localedata/gen-locale.sh: Fix typo in variable name.
25685 * resolv/res_debug.c (p_secstodate): Condition definition on
25686 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
25687 directly as __p_secstodate, and as a compat symbol. Do not use
25688 libresolv_hidden_def.
25689 * resolv/resolv.h (p_secstodate): Remove macro and function
25691 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
25692 using p_secstodate.
25693 * include/resolv.h (__p_secstodate): Do not use
25694 libresolv_hidden_proto.
25695 * resolv/Makefile (tests): Move tst-p_secstodate to ....
25696 (tests-internal): ... here.
25697 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
25698 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
25699 and declare and use __p_secstodate and use compat_symbol_reference
25701 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
25702 implementation returning 77.
25705 * resolv/res_debug.c: Include <libc-diag.h>.
25706 (p_secstodate): Assert time_t at least as wide as u_long. On
25707 overflow, use integer seconds since the epoch as output, or use
25708 "<overflow>" as output and set errno to EOVERFLOW if integer
25709 seconds since the epoch would be 14 or more characters.
25710 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
25712 * resolv/tst-p_secstodate.c: New file.
25713 * resolv/Makefile (tests): Add tst-p_secstodate.
25714 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
25716 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
25717 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25718 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
25720 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
25722 * posix/regcomp.c (init_word_char): Add comments.
25724 2017-11-22 Joseph Myers <joseph@codesourcery.com>
25727 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
25728 strlen to compute length of ut_user and set trailing NUL byte of
25731 2017-11-21 Mike FABIAN <mfabian@redhat.com>
25734 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
25735 using “copy "iso14651_t1"” and then implementing the
25736 collation rules for lv from CLDR on top of that.
25737 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
25738 of locales to be built for testing.
25739 * lv_LV.UTF-8.in: New file with test data to test the Latvian
25742 2017-11-21 Joseph Myers <joseph@codesourcery.com>
25744 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25745 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
25746 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
25747 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
25748 [__USE_MISC] (MADV_HWPOISON): New macro.
25749 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
25751 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25753 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
25754 -Wmissing-braces on GCC 4.9.
25756 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25758 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
25759 * sysdeps/s390/s390-32/start.S (_start): Likewise
25760 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
25761 (thread_start): Likewise.
25762 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
25763 (thread_start): Likewise.
25764 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
25765 (__makecontext_ret): Likewise.
25766 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
25767 (__makecontext_ret): Likewise.
25769 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25771 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
25772 __wcschrnul): Remove attribute_hidden.
25774 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
25776 regex: don't assume uint64_t or uint32_t
25777 This avoids -Werror=overflow errors for 32-bit systems in
25778 the 64-bit case. Problem reported by Joseph Myers in:
25779 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
25780 Also, when this code is used in Gnulib it ports to platforms
25781 that lack uint64_t and uint32_t. The C standard doesn't guarantee
25782 them, and on some 32-bit compilers there is no uint64_t.
25783 Problem reported by Gianluigi Tiesi in:
25784 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
25785 * posix/regcomp.c (init_word_char): Don't assume that the types
25786 uint64_t and uint32_t exist. Adapted from Gnulib patch
25787 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
25788 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
25790 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
25792 * sysdeps/aarch64/memset-reg.h: New file.
25793 * sysdeps/aarch64/memset.S: Use it.
25794 (__memset): Rename to MEMSET macro.
25795 [ZVA_MACRO]: Use zva_macro.
25796 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
25797 Add memset_generic and memset_falkor.
25798 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25799 (__libc_ifunc_impl_list): Add memset ifuncs.
25800 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
25801 local variable zva_size.
25802 * sysdeps/aarch64/multiarch/memset.c: New file.
25803 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
25804 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
25805 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
25806 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
25807 (DCZID_DZP_MASK): New macro.
25808 (DCZID_BS_MASK): Likewise.
25809 (init_cpu_features): Read and set zva_size.
25810 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
25811 (struct cpu_features): New member zva_size.
25813 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
25814 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
25815 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
25817 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
25818 backwards. Fix timing computation.
25819 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
25820 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
25821 on memset by N at a time. Fix timing computation.
25823 2017-11-20 Florian Weimer <fweimer@redhat.com>
25825 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
25826 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
25828 2017-11-19 Florian Weimer <fweimer@redhat.com>
25830 manual: Document mprotect
25831 * manual/memory.texi (Memory Protection): New section.
25832 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
25833 documentation of PROT_* flags and reference the Memory Protection
25836 2017-11-19 Florian Weimer <fweimer@redhat.com>
25838 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
25839 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
25840 (Scatter-Gather): ... to here. Remove misleading comment.
25842 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
25844 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
25847 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
25848 when /proc/<pid>/setgroups does not exist.
25850 2017-11-18 Florian Weimer <fweimer@redhat.com>
25852 * sysdeps/unix/sysv/linux/tst-ttyname.c
25853 (become_root_in_mount_ns): Remove.
25854 (do_in_chroot_1): Call support_enter_mount_namespace.
25855 (do_in_chroot_2): Likewise.
25856 (do_test): Call support_become_root early.
25858 2017-11-18 Florian Weimer <fweimer@redhat.com>
25860 * support/namespace.h (support_enter_mount_namespace): Declare.
25861 * support/support_enter_mount_namespace.c: New file.
25862 * support/Makefile (libsupport-routines): Add
25863 support_enter_mount_namespace.
25865 2017-11-18 Florian Weimer <fweimer@redhat.com>
25867 * support/temp_file.c (support_create_temp_directory): Use
25868 test_dir and do not rely on the presence of the XXXXXX suffix.
25869 * support/temp_file.h (support_create_temp_directory): Update
25871 * support/tst-xreadlink.c (do_test): Adjust.
25872 * support/support_chroot.c (support_chroot_create): Likewise.
25874 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25876 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
25878 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
25881 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25883 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25884 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25885 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25886 (ceill): Define using libm_alias_ldouble.
25887 * sysdeps/x86_64/fpu/s_copysignl.S: Include
25888 <libm-alias-ldouble.h>.
25889 (copysignl): Define using libm_alias_ldouble.
25890 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25891 (fabsl): Define using libm_alias_ldouble.
25892 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25893 (floorl): Define using libm_alias_ldouble.
25894 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25895 (fmaxl): Define using libm_alias_ldouble.
25896 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25897 (fminl): Define using libm_alias_ldouble.
25898 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25899 (llrintl): Define using libm_alias_ldouble.
25900 (lrintl): Likewise.
25901 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
25902 <libm-alias-ldouble.h>.
25903 (nearbyintl): Define using libm_alias_ldouble.
25904 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25905 (truncl): Define using libm_alias_ldouble.
25906 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
25907 <libm-alias-ldouble.h>.
25908 (lrintl): Define using libm_alias_ldouble.
25910 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25911 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25912 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
25913 (asinhl): Define using libm_alias_ldouble.
25914 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
25915 (atanl): Define using libm_alias_ldouble.
25916 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
25917 (cbrtl): Define using libm_alias_ldouble.
25918 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25919 (ceill): Define using libm_alias_ldouble.
25920 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
25921 (copysignl): Define using libm_alias_ldouble.
25922 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25923 (fabsl): Define using libm_alias_ldouble.
25924 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25925 (floorl): Define using libm_alias_ldouble.
25926 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25927 (fmaxl): Define using libm_alias_ldouble.
25928 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25929 (fminl): Define using libm_alias_ldouble.
25930 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
25931 (frexpl): Define using libm_alias_ldouble.
25932 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25933 (llrintl): Define using libm_alias_ldouble.
25934 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
25935 (logbl): Define using libm_alias_ldouble.
25936 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
25937 (lrintl): Define using libm_alias_ldouble.
25938 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
25939 (nearbyintl): Define using libm_alias_ldouble.
25940 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
25941 (nextafterl): Define using libm_alias_ldouble.
25942 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
25943 (remquol): Define using libm_alias_ldouble.
25944 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
25945 (rintl): Define using libm_alias_ldouble.
25946 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25947 (truncl): Define using libm_alias_ldouble.
25948 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25949 (fmaxl): Define using libm_alias_ldouble.
25950 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25951 (fminl): Define using libm_alias_ldouble.
25953 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
25954 to C syntax instead of availability and properties of types.
25955 * bits/floatn.h [!__ASSEMBLER]: Likewise.
25956 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
25957 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
25958 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
25959 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
25960 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
25962 2017-11-17 Florian Weimer <fweimer@redhat.com>
25964 support_become_root: Enable file creation in namespaces.
25965 * support/support_become_root.c (setup_mapping): New function.
25966 (support_become_root): Call it.
25968 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25970 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
25973 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25975 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
25976 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
25978 2017-11-16 Joseph Myers <joseph@codesourcery.com>
25980 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
25982 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25985 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25987 * INSTALL: Fix botched up regeneration.
25989 * NEWS: Update sourceare link to https.
25990 * configure.ac: Likewise.
25991 * crypt/md5test-giant.c: Likewise.
25992 * dlfcn/bug-atexit1.c: Likewise.
25993 * dlfcn/bug-atexit2.c: Likewise.
25994 * localedata/README: Likewise.
25995 * malloc/tst-mallocfork.c: Likewise.
25996 * manual/install.texi: Likewise.
25997 * nptl/tst-pthread-getattr.c: Likewise.
25998 * stdio-common/tst-fgets.c: Likewise.
25999 * stdio-common/tst-fwrite.c: Likewise.
26000 * sunrpc/Makefile: Likewise.
26001 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
26002 * wcsmbs/tst-mbrtowc2.c: Likewise.
26003 * configure: Regenerate.
26004 * INSTALL: Regenerate.
26006 2017-11-15 Martin Sebor <msebor@redhat.com>
26008 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
26009 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
26010 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
26012 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26015 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
26016 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
26019 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
26020 Defer is_pty check until end of the function.
26021 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26024 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
26025 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
26026 (ttyname): Likewise.
26027 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
26028 (__ttyname_r): Likewise.
26030 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
26033 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
26035 * manual/terminal.texi (Is It a Terminal):
26036 Mention ENODEV for ttyname and ttyname_r.
26038 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26040 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
26041 constant and macro.
26043 * sysdeps/unix/sysv/linux/bits/mman-linux.h
26044 [__USE_MISC] (MADV_WIPEONFORK): New macro.
26045 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26046 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26047 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
26048 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26050 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26052 * signal/sigrelse.c (sigrelse): Optimize implementation.
26054 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
26055 (__sigpause): Rely on __sigsuspend to implement single thread
26056 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
26058 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26060 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
26061 kernel version to 4.14.
26063 2017-11-15 Steve Ellcey <sellcey@cavium.com>
26066 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
26067 Check if ifname is too long.
26069 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26071 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
26073 2017-11-15 Mike FABIAN <mfabian@redhat.com>
26075 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
26076 was accidentally lost.
26078 2017-11-15 Mike FABIAN <mfabian@redhat.com>
26080 * localedata/locales/az_IR: Add standard copyright header.
26082 2017-11-15 Florian Weimer <fweimer@redhat.com>
26085 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
26086 not just the top one. Output a new "subheaps" statistic.
26088 2017-11-15 Florian Weimer <fweimer@redhat.com>
26091 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
26092 under the per-arena lock.
26093 * malloc/Makefile (tests): Add tst-malloc_info.
26094 (tst-malloc_info): Link with libpthread.
26095 * malloc/tst-malloc_info.c: New file.
26097 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26100 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
26101 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
26102 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
26103 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
26104 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
26105 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
26106 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
26107 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
26108 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
26109 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
26110 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
26111 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
26112 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
26113 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
26114 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
26115 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
26116 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
26117 (__floating_type): Likewise.
26118 (__real_integer_type): Likewise.
26119 (__complex_integer_type): Likewise.
26120 (__expr_is_real): Likewise.
26121 (__tgmath_real_type_sub): Likewise.
26122 (__tgmath_real_type): Likewise.
26123 (__tgmath_complex_type_sub): Likewise.
26124 (__tgmath_complex_type): Likewise.
26125 (__TGMATH_F128): Likewise.
26126 (__TGMATH_CF128): Likewise.
26127 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
26129 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
26130 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
26132 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
26134 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
26135 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
26136 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
26137 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
26139 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
26140 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
26142 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
26143 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
26144 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
26146 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
26147 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
26148 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
26152 2017-11-14 Joseph Myers <joseph@codesourcery.com>
26154 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
26155 for stpncpy calls for GCC 8.
26156 (test_strncat): Disable -Wstringop-truncation warning for strncat
26157 calls for GCC 8. Disable -Wstringop-overflow= warning for one
26158 strncat call for GCC 7.
26159 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
26161 (test_memcmp): Use memcpy instead of strncpy for calls not copying
26164 * string/bug-strncat1.c: Include <libc-diag.h>.
26165 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
26167 2017-11-13 Claude Paroz <claude@2xlibre.net>
26170 * localedata/locales/aa_DJ: Improved readibility by replacing
26171 <Uxxxx> sequences in the ASCII printable range by their ASCII
26172 character equivalents.
26173 * localedata/locales/aa_ER: Likewise.
26174 * localedata/locales/aa_ER@saaho: Likewise.
26175 * localedata/locales/aa_ET: Likewise.
26176 * localedata/locales/af_ZA: Likewise.
26177 * localedata/locales/agr_PE: Likewise.
26178 * localedata/locales/ak_GH: Likewise.
26179 * localedata/locales/am_ET: Likewise.
26180 * localedata/locales/anp_IN: Likewise.
26181 * localedata/locales/ar_AE: Likewise.
26182 * localedata/locales/ar_BH: Likewise.
26183 * localedata/locales/ar_DZ: Likewise.
26184 * localedata/locales/ar_EG: Likewise.
26185 * localedata/locales/ar_IN: Likewise.
26186 * localedata/locales/ar_IQ: Likewise.
26187 * localedata/locales/ar_JO: Likewise.
26188 * localedata/locales/ar_KW: Likewise.
26189 * localedata/locales/ar_LB: Likewise.
26190 * localedata/locales/ar_LY: Likewise.
26191 * localedata/locales/ar_MA: Likewise.
26192 * localedata/locales/ar_OM: Likewise.
26193 * localedata/locales/ar_QA: Likewise.
26194 * localedata/locales/ar_SA: Likewise.
26195 * localedata/locales/ar_SD: Likewise.
26196 * localedata/locales/ar_SS: Likewise.
26197 * localedata/locales/ar_SY: Likewise.
26198 * localedata/locales/ar_TN: Likewise.
26199 * localedata/locales/ar_YE: Likewise.
26200 * localedata/locales/as_IN: Likewise.
26201 * localedata/locales/ast_ES: Likewise.
26202 * localedata/locales/ayc_PE: Likewise.
26203 * localedata/locales/az_AZ: Likewise.
26204 * localedata/locales/az_IR: Likewise.
26205 * localedata/locales/be_BY: Likewise.
26206 * localedata/locales/be_BY@latin: Likewise.
26207 * localedata/locales/bem_ZM: Likewise.
26208 * localedata/locales/ber_DZ: Likewise.
26209 * localedata/locales/ber_MA: Likewise.
26210 * localedata/locales/bg_BG: Likewise.
26211 * localedata/locales/bhb_IN: Likewise.
26212 * localedata/locales/bho_IN: Likewise.
26213 * localedata/locales/bi_VU: Likewise.
26214 * localedata/locales/bn_BD: Likewise.
26215 * localedata/locales/bn_IN: Likewise.
26216 * localedata/locales/bo_CN: Likewise.
26217 * localedata/locales/bo_IN: Likewise.
26218 * localedata/locales/br_FR: Likewise.
26219 * localedata/locales/brx_IN: Likewise.
26220 * localedata/locales/bs_BA: Likewise.
26221 * localedata/locales/byn_ER: Likewise.
26222 * localedata/locales/ca_AD: Likewise.
26223 * localedata/locales/ca_ES: Likewise.
26224 * localedata/locales/ca_FR: Likewise.
26225 * localedata/locales/ca_IT: Likewise.
26226 * localedata/locales/ce_RU: Likewise.
26227 * localedata/locales/chr_US: Likewise.
26228 * localedata/locales/cmn_TW: Likewise.
26229 * localedata/locales/crh_UA: Likewise.
26230 * localedata/locales/cs_CZ: Likewise.
26231 * localedata/locales/csb_PL: Likewise.
26232 * localedata/locales/cv_RU: Likewise.
26233 * localedata/locales/cy_GB: Likewise.
26234 * localedata/locales/da_DK: Likewise.
26235 * localedata/locales/de_AT: Likewise.
26236 * localedata/locales/de_BE: Likewise.
26237 * localedata/locales/de_CH: Likewise.
26238 * localedata/locales/de_DE: Likewise.
26239 * localedata/locales/de_IT: Likewise.
26240 * localedata/locales/de_LI: Likewise.
26241 * localedata/locales/de_LU: Likewise.
26242 * localedata/locales/doi_IN: Likewise.
26243 * localedata/locales/dv_MV: Likewise.
26244 * localedata/locales/dz_BT: Likewise.
26245 * localedata/locales/el_CY: Likewise.
26246 * localedata/locales/el_GR: Likewise.
26247 * localedata/locales/en_AG: Likewise.
26248 * localedata/locales/en_AU: Likewise.
26249 * localedata/locales/en_BW: Likewise.
26250 * localedata/locales/en_CA: Likewise.
26251 * localedata/locales/en_DK: Likewise.
26252 * localedata/locales/en_GB: Likewise.
26253 * localedata/locales/en_HK: Likewise.
26254 * localedata/locales/en_IE: Likewise.
26255 * localedata/locales/en_IL: Likewise.
26256 * localedata/locales/en_IN: Likewise.
26257 * localedata/locales/en_NG: Likewise.
26258 * localedata/locales/en_NZ: Likewise.
26259 * localedata/locales/en_PH: Likewise.
26260 * localedata/locales/en_SG: Likewise.
26261 * localedata/locales/en_US: Likewise.
26262 * localedata/locales/en_ZA: Likewise.
26263 * localedata/locales/en_ZM: Likewise.
26264 * localedata/locales/en_ZW: Likewise.
26265 * localedata/locales/eo: Likewise.
26266 * localedata/locales/es_AR: Likewise.
26267 * localedata/locales/es_BO: Likewise.
26268 * localedata/locales/es_CL: Likewise.
26269 * localedata/locales/es_CO: Likewise.
26270 * localedata/locales/es_CR: Likewise.
26271 * localedata/locales/es_CU: Likewise.
26272 * localedata/locales/es_DO: Likewise.
26273 * localedata/locales/es_EC: Likewise.
26274 * localedata/locales/es_ES: Likewise.
26275 * localedata/locales/es_GT: Likewise.
26276 * localedata/locales/es_HN: Likewise.
26277 * localedata/locales/es_MX: Likewise.
26278 * localedata/locales/es_NI: Likewise.
26279 * localedata/locales/es_PA: Likewise.
26280 * localedata/locales/es_PE: Likewise.
26281 * localedata/locales/es_PR: Likewise.
26282 * localedata/locales/es_PY: Likewise.
26283 * localedata/locales/es_SV: Likewise.
26284 * localedata/locales/es_US: Likewise.
26285 * localedata/locales/es_UY: Likewise.
26286 * localedata/locales/es_VE: Likewise.
26287 * localedata/locales/et_EE: Likewise.
26288 * localedata/locales/eu_ES: Likewise.
26289 * localedata/locales/eu_ES@euro: Likewise.
26290 * localedata/locales/fa_IR: Likewise.
26291 * localedata/locales/ff_SN: Likewise.
26292 * localedata/locales/fi_FI: Likewise.
26293 * localedata/locales/fil_PH: Likewise.
26294 * localedata/locales/fo_FO: Likewise.
26295 * localedata/locales/fr_BE: Likewise.
26296 * localedata/locales/fr_CA: Likewise.
26297 * localedata/locales/fr_CH: Likewise.
26298 * localedata/locales/fr_FR: Likewise.
26299 * localedata/locales/fr_LU: Likewise.
26300 * localedata/locales/fur_IT: Likewise.
26301 * localedata/locales/fy_DE: Likewise.
26302 * localedata/locales/fy_NL: Likewise.
26303 * localedata/locales/ga_IE: Likewise.
26304 * localedata/locales/gd_GB: Likewise.
26305 * localedata/locales/gez_ER: Likewise.
26306 * localedata/locales/gez_ET: Likewise.
26307 * localedata/locales/gl_ES: Likewise.
26308 * localedata/locales/gu_IN: Likewise.
26309 * localedata/locales/gv_GB: Likewise.
26310 * localedata/locales/ha_NG: Likewise.
26311 * localedata/locales/hak_TW: Likewise.
26312 * localedata/locales/he_IL: Likewise.
26313 * localedata/locales/hi_IN: Likewise.
26314 * localedata/locales/hif_FJ: Likewise.
26315 * localedata/locales/hne_IN: Likewise.
26316 * localedata/locales/hr_HR: Likewise.
26317 * localedata/locales/hsb_DE: Likewise.
26318 * localedata/locales/ht_HT: Likewise.
26319 * localedata/locales/hu_HU: Likewise.
26320 * localedata/locales/hy_AM: Likewise.
26321 * localedata/locales/i18n: Likewise.
26322 * localedata/locales/ia_FR: Likewise.
26323 * localedata/locales/id_ID: Likewise.
26324 * localedata/locales/ig_NG: Likewise.
26325 * localedata/locales/ik_CA: Likewise.
26326 * localedata/locales/is_IS: Likewise.
26327 * localedata/locales/it_CH: Likewise.
26328 * localedata/locales/it_IT: Likewise.
26329 * localedata/locales/iu_CA: Likewise.
26330 * localedata/locales/ja_JP: Likewise.
26331 * localedata/locales/ka_GE: Likewise.
26332 * localedata/locales/kk_KZ: Likewise.
26333 * localedata/locales/kl_GL: Likewise.
26334 * localedata/locales/kn_IN: Likewise.
26335 * localedata/locales/ko_KR: Likewise.
26336 * localedata/locales/kok_IN: Likewise.
26337 * localedata/locales/ks_IN: Likewise.
26338 * localedata/locales/ks_IN@devanagari: Likewise.
26339 * localedata/locales/ku_TR: Likewise.
26340 * localedata/locales/kw_GB: Likewise.
26341 * localedata/locales/ky_KG: Likewise.
26342 * localedata/locales/lb_LU: Likewise.
26343 * localedata/locales/lg_UG: Likewise.
26344 * localedata/locales/li_BE: Likewise.
26345 * localedata/locales/li_NL: Likewise.
26346 * localedata/locales/lij_IT: Likewise.
26347 * localedata/locales/ln_CD: Likewise.
26348 * localedata/locales/lo_LA: Likewise.
26349 * localedata/locales/lt_LT: Likewise.
26350 * localedata/locales/lv_LV: Likewise.
26351 * localedata/locales/lzh_TW: Likewise.
26352 * localedata/locales/mag_IN: Likewise.
26353 * localedata/locales/mai_IN: Likewise.
26354 * localedata/locales/mg_MG: Likewise.
26355 * localedata/locales/mhr_RU: Likewise.
26356 * localedata/locales/mi_NZ: Likewise.
26357 * localedata/locales/mk_MK: Likewise.
26358 * localedata/locales/ml_IN: Likewise.
26359 * localedata/locales/mn_MN: Likewise.
26360 * localedata/locales/mni_IN: Likewise.
26361 * localedata/locales/mr_IN: Likewise.
26362 * localedata/locales/ms_MY: Likewise.
26363 * localedata/locales/mt_MT: Likewise.
26364 * localedata/locales/my_MM: Likewise.
26365 * localedata/locales/nan_TW: Likewise.
26366 * localedata/locales/nan_TW@latin: Likewise.
26367 * localedata/locales/nb_NO: Likewise.
26368 * localedata/locales/nds_DE: Likewise.
26369 * localedata/locales/nds_NL: Likewise.
26370 * localedata/locales/ne_NP: Likewise.
26371 * localedata/locales/nhn_MX: Likewise.
26372 * localedata/locales/niu_NU: Likewise.
26373 * localedata/locales/niu_NZ: Likewise.
26374 * localedata/locales/nl_AW: Likewise.
26375 * localedata/locales/nl_BE: Likewise.
26376 * localedata/locales/nl_NL: Likewise.
26377 * localedata/locales/nn_NO: Likewise.
26378 * localedata/locales/nr_ZA: Likewise.
26379 * localedata/locales/nso_ZA: Likewise.
26380 * localedata/locales/oc_FR: Likewise.
26381 * localedata/locales/om_ET: Likewise.
26382 * localedata/locales/om_KE: Likewise.
26383 * localedata/locales/or_IN: Likewise.
26384 * localedata/locales/os_RU: Likewise.
26385 * localedata/locales/pa_IN: Likewise.
26386 * localedata/locales/pa_PK: Likewise.
26387 * localedata/locales/pap_AW: Likewise.
26388 * localedata/locales/pap_CW: Likewise.
26389 * localedata/locales/pl_PL: Likewise.
26390 * localedata/locales/ps_AF: Likewise.
26391 * localedata/locales/pt_BR: Likewise.
26392 * localedata/locales/pt_PT: Likewise.
26393 * localedata/locales/quz_PE: Likewise.
26394 * localedata/locales/raj_IN: Likewise.
26395 * localedata/locales/ro_RO: Likewise.
26396 * localedata/locales/ru_RU: Likewise.
26397 * localedata/locales/ru_UA: Likewise.
26398 * localedata/locales/rw_RW: Likewise.
26399 * localedata/locales/sa_IN: Likewise.
26400 * localedata/locales/sat_IN: Likewise.
26401 * localedata/locales/sc_IT: Likewise.
26402 * localedata/locales/sd_IN: Likewise.
26403 * localedata/locales/sd_IN@devanagari: Likewise.
26404 * localedata/locales/se_NO: Likewise.
26405 * localedata/locales/sgs_LT: Likewise.
26406 * localedata/locales/shs_CA: Likewise.
26407 * localedata/locales/si_LK: Likewise.
26408 * localedata/locales/sid_ET: Likewise.
26409 * localedata/locales/sk_SK: Likewise.
26410 * localedata/locales/sl_SI: Likewise.
26411 * localedata/locales/sm_WS: Likewise.
26412 * localedata/locales/so_DJ: Likewise.
26413 * localedata/locales/so_ET: Likewise.
26414 * localedata/locales/so_KE: Likewise.
26415 * localedata/locales/so_SO: Likewise.
26416 * localedata/locales/sq_AL: Likewise.
26417 * localedata/locales/sq_MK: Likewise.
26418 * localedata/locales/sr_ME: Likewise.
26419 * localedata/locales/sr_RS: Likewise.
26420 * localedata/locales/sr_RS@latin: Likewise.
26421 * localedata/locales/ss_ZA: Likewise.
26422 * localedata/locales/st_ZA: Likewise.
26423 * localedata/locales/sv_FI: Likewise.
26424 * localedata/locales/sv_SE: Likewise.
26425 * localedata/locales/sw_KE: Likewise.
26426 * localedata/locales/sw_TZ: Likewise.
26427 * localedata/locales/szl_PL: Likewise.
26428 * localedata/locales/ta_IN: Likewise.
26429 * localedata/locales/ta_LK: Likewise.
26430 * localedata/locales/tcy_IN: Likewise.
26431 * localedata/locales/te_IN: Likewise.
26432 * localedata/locales/tg_TJ: Likewise.
26433 * localedata/locales/th_TH: Likewise.
26434 * localedata/locales/the_NP: Likewise.
26435 * localedata/locales/ti_ER: Likewise.
26436 * localedata/locales/ti_ET: Likewise.
26437 * localedata/locales/tig_ER: Likewise.
26438 * localedata/locales/tk_TM: Likewise.
26439 * localedata/locales/tl_PH: Likewise.
26440 * localedata/locales/tn_ZA: Likewise.
26441 * localedata/locales/to_TO: Likewise.
26442 * localedata/locales/tpi_PG: Likewise.
26443 * localedata/locales/tr_CY: Likewise.
26444 * localedata/locales/tr_TR: Likewise.
26445 * localedata/locales/ts_ZA: Likewise.
26446 * localedata/locales/tt_RU: Likewise.
26447 * localedata/locales/tt_RU@iqtelif: Likewise.
26448 * localedata/locales/ug_CN: Likewise.
26449 * localedata/locales/uk_UA: Likewise.
26450 * localedata/locales/unm_US: Likewise.
26451 * localedata/locales/ur_IN: Likewise.
26452 * localedata/locales/ur_PK: Likewise.
26453 * localedata/locales/uz_UZ: Likewise.
26454 * localedata/locales/uz_UZ@cyrillic: Likewise.
26455 * localedata/locales/ve_ZA: Likewise.
26456 * localedata/locales/vi_VN: Likewise.
26457 * localedata/locales/wa_BE: Likewise.
26458 * localedata/locales/wae_CH: Likewise.
26459 * localedata/locales/wal_ET: Likewise.
26460 * localedata/locales/wo_SN: Likewise.
26461 * localedata/locales/xh_ZA: Likewise.
26462 * localedata/locales/yi_US: Likewise.
26463 * localedata/locales/yo_NG: Likewise.
26464 * localedata/locales/yue_HK: Likewise.
26465 * localedata/locales/yuw_PG: Likewise.
26466 * localedata/locales/zh_CN: Likewise.
26467 * localedata/locales/zh_HK: Likewise.
26468 * localedata/locales/zh_SG: Likewise.
26469 * localedata/locales/zh_TW: Likewise.
26470 * localedata/locales/zu_ZA: Likewise.
26472 2017-11-13 Florian Weimer <fweimer@redhat.com>
26474 * support/next_to_fault.h, support/next_to_fault.c: New files.
26475 * support/Makefile (libsupport-routines): Add next_to_fault.
26476 * resolv/tst-inet_pton.c (struct next_to_fault)
26477 (next_to_fault_allocate, next_to_fault_free): Remove.
26478 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
26480 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
26482 * elf/dl-support.c: Include <dl-procruntime.c>.
26483 * include/link.h: Include <link_map.h>.
26484 * sysdeps/generic/dl-procruntime.c: New file.
26485 * sysdeps/generic/link_map.h: Likewise.
26486 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
26487 the writable ld.so namespace.
26489 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
26491 timezone: pacify GCC -Wstringop-truncation
26492 Problem reported by Martin Sebor in:
26493 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
26494 * timezone/zic.c (writezone): Use memcpy, not strncpy.
26496 2017-11-12 Florian Weimer <fweimer@redhat.com>
26498 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
26500 (tests): Add tst-xreadlink.
26501 * support/support.h (xstrndup): Declare.
26502 * support/xunistd.h (xunlink, xreadlink): Declare.
26503 * support/temp_file.h (support_create_temp_directory): Declare.
26504 * support/temp_file.c (support_create_temp_directory): New function.
26505 * support/support_chroot.c (support_chroot_create): Use it.
26506 * support/xreadlink.c: New file.
26507 * support/xstrndup.c: Likewise.
26508 * support/xunlink.c: Likewise.
26509 * support/tst-xreadlink.c: Likewise.
26511 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
26513 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
26515 2017-11-11 Florian Weimer <fweimer@redhat.com>
26519 * resolv/res_comp.c (printable_string, binary_hnok)
26520 (binary_leading_dash): New functions.
26521 (res_hnok): Reimplement using these functions and ns_name_pton.
26522 (res_ownok): Likewise.
26523 (res_mailok): Reimplement using printable_string, ns_name_pton and
26525 (res_dnok): Reimplement using printable_string and ns_name_pton.
26526 * resolv/tst-res_hnok.c (tests): Add additional tests.
26527 (LETTERDIGITS, PRINTABLE): Define.
26528 (do_test): Adjust one_char results.
26530 2017-11-11 Florian Weimer <fweimer@redhat.com>
26533 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
26534 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
26536 2017-11-11 Florian Weimer <fweimer@redhat.com>
26538 * resolv/tst-ns_name_pton.c: New file.
26539 * resolv/Makefile (tests): Add tst-ns_name_pton.
26540 (tst-ns_name_pton): Link against libresolv.
26542 2017-11-11 Florian Weimer <fweimer@redhat.com>
26544 * resolv/tst-res_hnok.c: New file.
26545 * resolv/Makefile (tests): Add tst-res_hnok.
26546 (tst-res_hnok): Link against libresolv.
26548 2017-11-11 Florian Weimer <fweimer@redhat.com>
26550 * resolv/tst-resolv-network.c: Use test framework instead explicit
26553 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
26555 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
26556 <jmp_buf-macros.h>.
26557 [!_ISOMAC] (STR_HELPER): New.
26558 [!_ISOMAC] (STR): Likewise.
26559 [!_ISOMAC] (TEST_SIZE): Likewise.
26560 [!_ISOMAC] (TEST_ALIGN): Likewise.
26561 [!_ISOMAC] (TEST_OFFSET): Likewise.
26562 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
26563 field offsets of jmp_buf as well as sigjmp_buf.
26564 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
26565 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
26566 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
26567 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
26568 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
26569 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
26570 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
26571 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
26572 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
26573 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
26575 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
26577 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
26578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
26580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
26582 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
26583 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
26584 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
26585 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
26586 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
26587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
26589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
26591 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
26592 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
26593 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
26595 2017-11-07 Joseph Myers <joseph@codesourcery.com>
26598 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26599 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
26600 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26601 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
26602 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26603 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
26604 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26605 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
26606 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26607 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
26608 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26609 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
26610 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26611 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
26612 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26613 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
26614 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26615 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
26616 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26617 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
26618 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26619 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
26620 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26621 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
26622 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26623 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
26624 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26625 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
26626 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26627 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
26628 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26629 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
26630 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26631 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
26632 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26633 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
26634 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26635 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
26636 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26637 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
26638 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26639 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
26640 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26641 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
26642 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26643 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
26644 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26645 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
26646 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26647 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
26648 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26649 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
26650 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26651 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
26652 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26653 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
26654 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26655 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
26656 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26657 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
26658 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26659 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
26660 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26661 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
26662 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26663 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
26664 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26665 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
26666 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26667 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
26668 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26669 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
26670 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26671 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
26672 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26673 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
26674 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26675 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
26676 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26677 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
26678 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26679 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
26680 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26681 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
26682 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26683 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
26684 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26685 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
26687 * stdlib/tst-strtod.h (F16): New macro.
26693 (IF_FLOAT16): Likewise.
26694 (IF_FLOAT32): Likewise.
26695 (IF_FLOAT64): Likewise.
26696 (IF_FLOAT32X): Likewise.
26697 (IF_FLOAT64X): Likewise.
26698 (IF_FLOAT128X): Likewise.
26699 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
26700 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
26701 (STRTOD_TEST_FOREACH): Likewise.
26702 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
26703 (CHOOSE_f64): Likewise.
26704 (CHOOSE_f32x): Likewise.
26705 (CHOOSE_f64x): Likewise.
26707 2017-11-07 Andreas Schwab <schwab@suse.de>
26709 * nptl/Makefile (tests-internal): Remove tst-typesizes.
26711 2017-11-07 Mike FABIAN <mfabian@redhat.com>
26714 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
26716 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
26719 2017-11-07 Claude Paroz <claude@2xlibre.net>
26722 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
26724 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
26726 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
26729 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26732 * nptl/allocatestack.c (allocate_stack): Check if
26733 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
26734 __PTHREAD_MUTEX_HAVE_PREV is defined.
26735 * nptl/descr.h (pthread): Likewise.
26736 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26738 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26739 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26740 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
26741 * sysdeps/nptl/bits/thread-shared-types.h
26742 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26744 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
26745 of __WORDSIZE for internal layout.
26746 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
26747 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
26748 instead of __WORDSIZE whether to use an union for __spins and __list
26750 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
26752 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
26753 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26755 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
26756 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26758 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
26759 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26761 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
26762 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26764 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
26765 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26767 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
26768 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26770 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
26771 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26773 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
26774 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26776 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
26777 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26779 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
26780 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26782 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
26783 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26785 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
26786 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26788 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
26789 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26791 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
26792 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26794 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
26795 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26798 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
26800 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
26801 checks for expected input type size.
26802 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26803 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26805 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26806 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
26807 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26808 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
26809 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26810 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
26811 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
26812 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
26813 superflous runtime assert check.
26814 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
26816 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
26818 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26820 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
26822 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
26824 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
26826 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
26827 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
26828 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26830 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26832 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26834 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
26836 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26838 * nptl/pthread_attr_setinheritsched.c
26839 (__pthread_attr_setinheritsched): Likewise.
26840 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
26842 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
26844 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
26845 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
26846 __old_pthread_attr_setstack): Likewise.
26847 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26849 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26851 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
26853 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26854 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26856 * nptl/tst-typesizes.c: Remove file.
26858 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
26859 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
26860 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
26861 checks for internal pthread_mutex_t offsets.
26862 * sysdeps/aarch64/nptl/pthread-offsets.h
26863 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
26864 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
26865 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
26866 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
26867 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
26868 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
26869 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
26870 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
26871 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
26872 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
26873 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
26874 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
26875 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
26876 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
26877 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
26878 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
26879 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
26880 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
26882 2017-11-07 Florian Weimer <fweimer@redhat.com>
26884 * bits/mman-linux.h: Move ...
26885 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
26887 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
26890 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26892 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
26893 Redefine STRNLEN as __strnlen_power8.
26895 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26897 * signal/sighold.c (sighold): Optimize implementation.
26899 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
26900 __NR_rt_sigqueueinfo.
26902 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
26904 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
26905 assume __NR_rt_sigtimedwait.
26906 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
26907 and add LIBC_CANCEL_HANDLED for cancellation marking.
26908 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26910 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26911 (sysdeps_routines): Add memchr_noneon.
26912 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
26913 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
26914 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
26915 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
26916 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
26917 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
26918 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
26920 * sysdeps/arm/arm-ifunc.h: New file.
26921 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
26922 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
26923 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
26924 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
26925 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
26926 (__memcpy_neon): Avoid create hidden alias.
26927 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
26928 (__memcpy_vfp): Likewise.
26929 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26930 (sysdep_routines): Add memcpy_arm.
26931 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
26933 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
26936 * Makerules (make-link-multidir): New.
26937 * config.make.in (multidir): New.
26938 * configure.ac (libc_cv_multidir): New. AC_SUBST.
26939 * configure: Regenerated.
26940 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
26941 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
26942 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
26945 2017-11-06 Joseph Myers <joseph@codesourcery.com>
26948 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
26949 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
26951 2017-11-04 Mike FABIAN <mfabian@redhat.com>
26953 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
26956 2017-11-04 Florian Weimer <fweimer@redhat.com>
26958 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
26960 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26962 * math/math.h [__HAVE_DISTINCT_FLOAT16
26963 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26964 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26965 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26966 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
26967 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
26968 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
26969 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26970 (__MATH_TG_F32): New macro.
26971 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26972 (__MATH_TG_F64X): Likewise.
26973 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26974 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
26976 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
26978 * po/de.po: Update translations.
26979 * po/ru.po: Likewise.
26981 2017-11-03 Florian Weimer <fweimer@redhat.com>
26983 * manual/filesys.texi (Hard Links): Document linkat.
26985 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26987 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
26988 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26989 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26990 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26991 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26992 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26993 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
26994 the same as _Float128.
26995 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26996 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26997 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
27000 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
27002 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
27004 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
27006 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27007 (strtof32x): Likewise.
27008 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27009 (strtof64x): Likewise.
27010 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27011 (strtof128x): Likewise.
27012 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27013 (strfromf16): Likewise.
27014 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27015 (strfromf32): Likewise.
27016 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27017 (strfromf64): Likewise.
27018 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27019 (strfromf32x): Likewise.
27020 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27021 (strfromf64x): Likewise.
27022 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27023 (strfromf128x): Likewise.
27024 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
27025 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
27026 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
27027 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
27028 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
27029 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
27031 2017-11-03 Richard Henderson <rth@twiddle.net>
27033 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
27035 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27037 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
27039 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27041 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
27042 DT_TLSDESC_GOT initialization.
27043 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
27044 (_dl_tlsdesc_resolve_hold): Likewise.
27045 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
27046 (_dl_tlsdesc_resolve_hold): Likewise.
27047 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
27048 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27050 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27052 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
27054 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27057 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
27058 non-lazily for R_ARM_TLS_DESC.
27060 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27063 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
27064 R_ARM_TLS_DESC case.
27065 (elf_machine_lazy_rel): Remove the prelink check.
27067 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27069 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
27070 DT_TLSDESC_GOT initialization.
27071 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
27072 (_dl_tlsdesc_resolve_rela): Likewise.
27073 (_dl_tlsdesc_resolve_hold): Likewise.
27074 (_dl_tlsdesc_undefweak): Remove ldar.
27075 (_dl_tlsdesc_dynamic): Likewise.
27076 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
27077 (_dl_tlsdesc_resolve_rela): Likewise.
27078 (_dl_tlsdesc_resolve_hold): Likewise.
27079 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
27080 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27081 (_dl_tlsdesc_resolve_rela): Likewise.
27082 (_dl_tlsdesc_resolve_hold): Likewise.
27084 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27086 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
27087 binding and initialization non-lazily for R_AARCH64_TLSDESC.
27089 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27091 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
27092 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27094 2017-11-02 Joseph Myers <joseph@codesourcery.com>
27096 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
27098 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
27099 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
27100 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
27101 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
27102 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
27103 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
27104 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
27105 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
27106 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
27107 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
27108 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
27110 2017-11-02 Mike FABIAN <mfabian@redhat.com>
27113 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
27114 * localedata/locales/tpi_PG: Add standard header.
27116 2017-11-02 Florian Weimer <fweimer@redhat.com>
27118 test-errno-linux: quotactl can fail with EPERM in containers.
27119 * sysdeps/unix/sysv/linux/test-errno-linux.c
27120 (LIST, LIST_FORWARD): New macros.
27121 (check_error_in_list): New function.
27122 (test_wrp_rv): Accept list of permitted error codes.
27123 (test_wrp_rv2): Remove.
27124 (test_wrp): Call test_wrp_rv with list of error codes.
27125 (test_wrp2): Accept list of error codes.
27126 (do_test): Adjust. Allow EPERM for quotactl.
27128 2017-11-02 Florian Weimer <fweimer@redhat.com>
27130 * stdio-common/bug16.c (do_test): Use array_length.
27131 * stdio-common/errlist.c (_sys_nerr): Likewise.
27132 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
27133 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
27134 * stdio-common/psiginfo.c (psiginfo): Use array_length.
27135 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
27136 (do_test): Use array_length.
27137 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
27138 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
27139 * stdio-common/tst-printf-round.c (do_test): Likewise.
27140 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
27141 (CHECK): Use array_length.
27142 * stdio-common/tstdiomisc.c (t3, F): Likewise.
27143 * stdio-common/tstscanf.c (main): Likewise.
27144 * stdio-common/vfprintf.c (process_string_arg): Likewise.
27146 2017-11-02 Florian Weimer <fweimer@redhat.com>
27148 Add array_length and array_end macros.
27149 * include/array_length.h: New file.
27151 2017-11-02 Florian Weimer <fweimer@redhat.com>
27154 * posix/tst-glob-tilde.c (do_noescape): New variable.
27155 (one_test): Process it.
27156 (do_test): Set do_noescape. Add unescaping test case.
27158 2017-11-01 Joseph Myers <joseph@codesourcery.com>
27161 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
27162 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
27163 with appropriate macros defined and undefined.
27164 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
27165 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27166 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
27167 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27168 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
27169 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27170 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
27171 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27172 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
27173 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27176 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
27177 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
27178 that for long double. Do not condition define and undefine of
27179 _Mdouble_complex_ on [__CFLOAT128].
27181 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
27183 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27184 of <sysdeps/generic/sysdep.h>.
27185 (ALIGNARG): Removed.
27186 (ASM_SIZE_DIRECTIVE): Likewise.
27189 (ENTRY_CHK): Likewise.
27190 (END_CHK): Likewise.
27191 (syscall_error): Likewise.
27192 (mcount): Likewise.
27193 (PSEUDO_END): Likewise.
27195 (atom_text_section): Likewise.
27196 * sysdeps/x86/sysdep.h: New file.
27197 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27198 of <sysdeps/generic/sysdep.h>.
27199 (ALIGNARG): Removed.
27200 (ASM_SIZE_DIRECTIVE): Likewise.
27203 (ENTRY_CHK): Likewise.
27204 (END_CHK): Likewise.
27205 (syscall_error): Likewise.
27206 (mcount): Likewise.
27207 (PSEUDO_END): Likewise.
27209 (atom_text_section): Likewise.
27211 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
27213 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
27214 category of LC_CTYPE set to "i18n:2012".
27215 * localedata/locales/i18n_ctype: Regenerate.
27217 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
27219 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
27220 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
27221 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27222 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27224 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
27225 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
27226 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
27227 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
27229 2017-10-31 Joseph Myers <joseph@codesourcery.com>
27232 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
27234 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
27236 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
27238 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27239 (CMPLXF32X): Likewise.
27240 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27241 (CMPLXF64X): Likewise.
27242 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27243 (CMPLXF128X): Likewise.
27246 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
27247 (__MATH_EVAL_FMT2): Define to add 0.0f.
27249 2017-10-31 Alan Modra <amodra@gmail.com>
27251 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
27253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
27254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
27255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
27256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
27257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
27258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
27259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
27260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
27261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
27262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
27263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
27264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
27265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
27266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
27267 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
27268 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
27269 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
27270 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
27271 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
27272 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
27273 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
27274 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
27275 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
27276 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
27277 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27278 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
27279 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
27280 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
27281 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
27282 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
27283 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27284 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27285 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
27286 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
27287 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
27288 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
27289 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
27290 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
27291 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
27292 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27293 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
27294 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
27295 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
27296 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
27297 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
27298 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
27299 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
27300 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
27301 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27302 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27303 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
27304 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
27305 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
27306 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
27307 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27308 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
27309 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
27310 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
27311 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27312 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27313 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27314 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
27315 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
27316 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27317 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
27318 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
27319 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
27320 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
27321 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
27323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
27324 include sysdep.h and math_ldbl_opt.h.
27326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
27327 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
27328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
27329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
27330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
27331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
27332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
27333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
27334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
27335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
27336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
27337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
27338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
27339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
27340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
27341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
27342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
27343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
27344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
27345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
27346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
27347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
27348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
27349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
27350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
27351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
27353 2017-10-31 Alan Modra <amodra@gmail.com>
27355 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
27356 string/strncase_l.c, not string/strncase.c.
27357 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
27358 (libc_hidden_def): Redefine.
27360 2017-10-31 Alan Modra <amodra@gmail.com>
27362 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
27363 (__STRCMP, STRCMP, __strcasecmp_l): Define.
27364 (__strcasecmp): Don't define.
27366 2017-10-31 Alan Modra <amodra@gmail.com>
27368 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
27370 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27371 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27372 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27374 2017-10-31 Alan Modra <amodra@gmail.com>
27376 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
27379 2017-10-31 Alan Modra <amodra@gmail.com>
27381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
27382 Redefine only when SHARED.
27384 2017-10-30 Joseph Myers <joseph@codesourcery.com>
27386 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27387 Include <bits/math-finite.h> with appropriate macros defined and
27389 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27390 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27391 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27392 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27393 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27395 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
27396 [!_Mlong_double_] (_Mlong_double_): Likewise.
27397 [!_Mfloat16_] (_Mfloat16_): Likewise.
27398 [!_Mfloat32_] (_Mfloat32_): Likewise.
27399 [!_Mfloat64_] (_Mfloat64_): Likewise.
27400 [!_Mfloat128_] (_Mfloat128_): Likewise.
27401 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
27402 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
27403 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
27404 (_Mdouble_): Define without indirection through those macros.
27405 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
27406 [!_Mfloat128_] (_Mfloat128_): Likewise.
27407 [_Mlong_double_] (_Mlong_double_): Likewise.
27408 (_Mdouble_): Define without indirection through those macros.
27409 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
27410 not add -D_Mlong_double_=double.
27411 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
27412 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
27414 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27416 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
27418 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27420 * sysdeps/x86/libc-start.c: Reformat.
27422 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27425 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
27426 (1): Renamed to ...
27429 (L(Src2)): Likewise.
27430 (L(1)): Renamed to ...
27433 2017-10-30 Joseph Myers <joseph@codesourcery.com>
27435 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
27436 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
27437 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
27438 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
27439 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
27440 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
27441 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
27442 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
27443 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
27444 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
27445 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
27446 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
27447 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
27448 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
27449 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
27450 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
27451 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
27452 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
27453 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
27454 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
27455 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
27456 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
27457 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
27458 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
27459 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
27460 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
27461 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
27462 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
27463 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
27464 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
27465 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
27466 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
27467 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
27468 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
27469 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
27470 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
27471 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
27472 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
27473 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
27474 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
27475 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
27476 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
27477 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
27478 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
27479 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
27480 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
27481 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
27482 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
27483 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
27484 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
27485 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
27486 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
27487 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
27488 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
27489 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
27490 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
27491 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
27492 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
27493 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
27494 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
27495 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
27496 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
27497 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
27498 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
27499 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
27500 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
27502 2017-10-30 Florian Weimer <fweimer@redhat.com>
27504 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
27506 * io/tst-mkdirat.c (do_test): Likewise.
27507 * io/tst-mkfifoat.c (do_test): Likewise.
27508 * io/tst-mknodat.c (do_test): Likewise.
27509 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
27510 * locale/programs/locale.c (select_dirs): Likewise.
27511 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
27512 * posix/bug-glob2.c (my_readdir): Likewise.
27513 * posix/tst-dir.c (main): Likewise.
27514 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
27515 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
27517 2017-10-30 Florian Weimer <fweimer@redhat.com>
27519 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
27522 2017-10-30 Florian Weimer <fweimer@redhat.com>
27524 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
27525 Convert to support/test-driver.c.
27526 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
27527 New macro parameters.
27528 (PRINTF): Remove macro. Use test_verbose conditionals instead.
27529 * posix/tst-gnuglob.c: New file.
27530 * posix/tst-gnuglob64.c: Likewise.
27531 * posix/Makefile (tests): Add tst-gnuglob64.
27533 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
27536 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
27537 and use a better translation for March in “mon”.
27538 * localedata/locales/csb_PL: Use more ASCII to improve the
27539 readability of the source.
27541 2017-10-30 Mike FABIAN <mfabian@redhat.com>
27544 * localedata/locales/km_KH: Use ASCII as much
27545 as possible for better readability of the source and
27546 remove useless comments.
27547 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
27548 was commented out and apparently wrong anyway because it was
27549 using Lao characters. If Buddhist era should be used
27550 for km_KH, a native speaker should write the correct formaat
27552 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
27553 (According to CLDR, the first weekday for Cambodia is Sunday).
27554 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
27555 (These were using Lao characters which must be wrong. If we get
27556 the correct data from a native speaker, we could add it back, until
27557 then it is better not to have name_mr and name_mrs at all than
27560 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
27562 * locale/loadlocale.c: Correct size of
27563 _nl_value_type_LC_<category> arrays.
27565 2017-10-27 Joseph Myers <joseph@codesourcery.com>
27567 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27568 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
27569 with appropriate macros defined and undefined.
27570 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27571 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27572 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27573 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27574 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27576 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
27578 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
27581 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27583 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
27584 with lowercase letters to make it agree with CLDR.
27586 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27589 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
27590 first letters of yesstr and nostr in yesexpr and noexpr,
27591 not for the full words.
27592 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27593 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
27594 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
27595 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
27596 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
27597 first letters of yesstr and nostr in yesexpr and noexpr,
27598 until now only English was matched in yesexpr and noexpr.
27599 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
27600 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
27601 fil but not for tl. As tl and fil are very similar, using fil
27602 is probably better than using English.
27604 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
27607 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
27608 in yesstr and nostr.
27610 2017-10-26 Joseph Myers <joseph@codesourcery.com>
27612 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27613 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
27614 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
27616 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
27618 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
27620 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
27622 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27623 (SNANF128X): Likewise.
27625 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27626 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
27627 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27628 (HUGE_VAL_F32): Likewise.
27629 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27630 (HUGE_VAL_F64): Likewise.
27631 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27632 (HUGE_VAL_F32X): Likewise.
27633 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27634 (HUGE_VAL_F64X): Likewise.
27635 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27636 (HUGE_VAL_F128X): Likewise.
27638 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
27640 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
27641 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
27642 for the br_FR locale.
27644 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
27647 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
27649 2017-10-25 Carlos O'Donell <carlos@redhat.com>
27651 * locale/programs/record-status.h: Define globals, and function
27652 prototypes. Move function bodies...
27653 * locale/programs/record-status.c: ... to here. New file.
27654 * iconv/Makefile (iconv_prog-modules): Add record-status.
27655 * locale/Makefile (lib-modules): Likewise.
27656 * iconv/iconv_prog.c: Remove verbose.
27657 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
27658 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
27659 record a warning about ASCII compatibility.
27660 * locale/programs/ld-monetary.c (monetary_finish): If
27661 warn_int_curr_symbol is true then record a warning about the symbol
27662 not being in our ISO 4217 list.
27663 * locale/programs/locale.c: Include record-status.h. Remove verbose.
27664 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
27665 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
27666 (OPT_NO_WARN): Define.
27667 (OPT_WARN): Define.
27668 (options): Add entry for --no-warnings, and --warnings.
27669 (set_warnings): New function to enable/disable warnings.
27670 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
27671 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
27672 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
27673 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
27674 Pass flags to generate_locale.
27675 (generate_locale): Accept new flag argument and pass it to localedef
27677 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
27678 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
27680 * localedata/Makefile (test-input-data): Use full file name.
27681 * localedata/da_DK.in: Rename to...
27682 * localedata/da_DK.ISO-8859-1.in: ...this.
27683 * localedata/de_DE.in: Rename to...
27684 * localedata/de_DE.ISO-8859-1.in: ...this.
27685 * localedata/en_US.in: Rename to...
27686 * localedata/en_US.ISO-8859-1.in: ...this.
27687 * localedata/fr_FR.in: Rename to...
27688 * localedata/fr_FR.UTF-8.in: ... this.
27689 * localedata/hr_HR.in: Rename to...
27690 * localedata/hr_HR.ISO-8859-2.in: ...this.
27691 * localedata/hu_HU.in: Rename to...
27692 * localedata/hu_HU.UTF-8.in: ...this.
27693 * localedata/si_LK.in: Rename to...
27694 * localedata/si_LK.UTF-8.in: ...this.
27695 * localedata/sv_SE.in: Rename to...
27696 * localedata/sv_SE.ISO-8859-1.in: ...this.
27697 * localedata/tr_TR.in: Rename to...
27698 * localedata/tr_TR.UTF-8.in: ...this.
27699 * localedata/uk_UA.in: Rename to...
27700 * localedata/uk_UA.UTF-8.in: ...this.
27701 * localedata/sort-test.sh: Test file is locale name with the
27704 * localedata/unicode-gen/Makefile (check_i18n): Rename to
27705 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
27707 * localedata/locales/i18n_ctype: Regenerate.
27708 * localedata/locales/tr_TR: Likewise.
27709 * localedata/locales/translit_circle: Likewise.
27710 * localedata/locales/translit_cjk_compat: Likewise.
27711 * localedata/locales/translit_combining: Likewise.
27712 * localedata/locales/translit_compat: Likewise.
27713 * localedata/locales/translit_font: Likewise.
27714 * localedata/locales/translit_fraction: Likewise.
27716 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27718 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
27719 lxvd2x/stxvd2x with lvx/stvx.
27720 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
27722 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
27724 * include/alloc_buffer.h: Replace "if if " with "if " in
27726 * sysdeps/mips/memcpy.S: Likkewise.
27727 * sysdeps/mips/memset.S: Likewise.
27728 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
27730 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
27732 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
27735 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27738 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
27739 yesexpr and noexpr.
27740 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27741 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27742 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27743 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27744 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27745 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27746 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27748 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27750 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
27751 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27752 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27753 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27754 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27755 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
27756 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27757 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27758 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27759 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27760 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27761 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27763 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27765 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
27766 as possible for better readability of the source.
27767 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
27768 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
27769 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
27770 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
27771 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
27772 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
27773 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
27774 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
27775 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27776 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
27777 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
27778 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
27779 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
27780 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
27781 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
27782 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
27783 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
27784 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
27785 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
27786 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
27787 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
27788 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
27789 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
27790 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
27791 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
27792 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
27793 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
27794 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
27795 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
27796 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
27797 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
27798 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27799 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
27800 * localedata/locales/en_US (LC_MESSAGES): Likewise.
27801 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
27802 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
27803 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
27804 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
27805 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
27806 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
27807 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
27808 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
27809 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
27810 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
27811 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
27812 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
27813 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
27814 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
27815 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
27816 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
27817 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
27818 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
27819 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
27820 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27821 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27822 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
27823 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
27824 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27825 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
27826 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
27827 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
27828 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
27829 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
27830 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
27831 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
27832 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
27833 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
27834 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
27835 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
27836 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
27837 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
27838 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
27839 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
27840 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
27841 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27842 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
27843 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
27844 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
27845 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
27846 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
27847 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
27848 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
27849 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
27850 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27851 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
27852 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
27853 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
27854 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27855 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
27856 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
27857 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
27858 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
27859 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27860 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
27861 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
27862 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27863 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
27864 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27865 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
27866 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
27867 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
27868 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
27869 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
27870 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
27871 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
27872 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
27873 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
27874 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
27875 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
27876 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
27877 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
27878 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
27879 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27880 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
27881 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
27882 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
27883 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
27884 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
27885 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
27886 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
27887 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
27888 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
27889 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
27890 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
27891 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
27892 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
27893 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
27894 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
27895 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
27896 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
27897 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
27898 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
27899 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
27900 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
27901 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
27902 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
27903 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
27904 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
27905 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
27906 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
27907 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
27908 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
27909 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
27910 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
27911 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
27912 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27913 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
27914 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
27915 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
27916 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
27917 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
27918 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
27919 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
27920 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
27921 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27922 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
27923 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
27924 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
27925 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
27926 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
27927 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
27928 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
27929 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
27930 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
27931 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
27932 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27933 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
27934 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
27935 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
27936 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
27937 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27938 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27939 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27940 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
27942 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27944 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
27945 (Use first letters of yesstr and nostr correctly instead of using
27948 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27950 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
27951 (Use first letters of yesstr and nostr correctly).
27953 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27955 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
27956 also check for the first characters of yesstr and nostr.
27957 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
27958 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
27960 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27962 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
27963 also check for Chinese characters.
27965 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27967 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
27968 match also for the contents of yesstr and nostr. As the first letter
27969 of yesstr and nostr is equal, checking only for the first letter
27972 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27974 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
27975 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
27977 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27979 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
27980 of main contributor.
27982 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27984 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
27985 instead of using English.
27987 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27989 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
27990 by including the first letters of nostr and yesexpr in the regexp.
27991 Also make it more readable by using ASCII where possible.
27993 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27995 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
27996 the first letter of nostr in the regexp. It agrees with CLDR now.
27997 Also make it more readable by using ASCII where possible.
27999 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28001 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
28002 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
28003 these strings contain a U+17D6 (which somewhat looks like a colon)
28004 instead of a real colon to separate the full words for “yes”
28005 and “no” from the single letter responses.
28007 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28009 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
28010 it agree with CLDR (include the first letter of yesstr).
28011 Also make it more readable by using ASCII where possible.
28013 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28015 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
28016 and improve yesexpr and noexpr. The yesstr and nostr apparently
28017 came from CLDR. And CLDR has a bug there: these strings contain
28018 a U+0903 (which looks like a colon) instead of a real colon
28019 to separate the full words for “yes” and “no” from the single
28022 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28024 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
28025 letters of the full yesstr and nostr in yesexpr and noexpr.
28027 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28029 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
28030 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
28031 * localedata/locales/an_ES: Make source more readable by using ASCII
28034 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28037 * localedata/locales/yuw_PG: New file.
28038 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
28039 * locale/iso-639.def: Add Yau (Uruwa).
28041 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28043 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
28045 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28047 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
28048 (__libc_realloc): Likewise.
28049 (_mid_memalign): Likewise.
28050 (__libc_calloc): Likewise.
28052 2017-10-23 Mike FABIAN <mfabian@redhat.com>
28054 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
28055 by adding the generic +1 and -0 as in all other locales.
28056 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
28057 day names and make it more readable by using ASCII where possible.
28059 2017-10-24 Joseph Myers <joseph@codesourcery.com>
28061 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
28062 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
28064 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28066 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
28067 WNOHANG in waitpid call.
28069 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
28071 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
28072 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
28074 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
28075 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
28076 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
28077 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
28078 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
28079 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
28080 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
28081 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
28084 2017-10-23 Michael Collison <michael.collison@arm.com>
28086 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
28087 with __builtin_sqrt.
28088 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
28089 with __builtin_sqrtf.
28090 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
28091 with __builtin_ceil.
28092 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
28093 with __builtin_ceilf.
28094 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
28095 with __builtin_floor.
28096 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
28097 with __builtin_floorf.
28098 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
28099 with __builtin_fma.
28100 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
28101 with __builtin_fmaf.
28102 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
28103 with __builtin_fmax.
28104 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
28105 with __builtin_fmaxf.
28106 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
28107 with __builtin_fmin.
28108 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
28109 with __builtin_fminf.
28110 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
28111 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
28112 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
28113 with builtin_rint and conversion to int.
28114 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
28115 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
28116 with builtin_llround.
28117 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
28118 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
28119 with builtin_rint and conversion to long int.
28120 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
28121 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
28122 with builtin_lround.
28123 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
28124 with builtin_lroundf.
28125 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
28126 statements with __builtin_nearbyint.
28127 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
28128 statements with __builtin_nearbyintf.
28129 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
28130 with __builtin_rint.
28131 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
28132 with __builtin_rintf.
28133 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
28134 with __builtin_round.
28135 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
28136 with __builtin_roundf.
28137 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
28138 with __builtin_trunc.
28139 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
28140 with __builtin_truncf.
28141 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
28142 and s_l[l]round[f].c too.
28144 2017-10-23 Alan Modra <amodra@gmail.com>
28146 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
28147 Adjust stack after restoring regs. Add missing LR cfi_restore.
28149 2017-10-23 Alan Modra <amodra@gmail.com>
28151 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
28152 Move LR save and frame setup/teardown and LR restore to
28153 immediately around memset call. Provide cfi.
28155 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28157 * sysdeps/i386/fpu/e_powf.S: Removed.
28158 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
28159 * sysdeps/i386/fpu/w_powf.c: Likewise.
28160 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
28161 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28162 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28164 (CFLAGS-e_powf-sse2.c): New.
28165 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
28166 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
28168 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28170 * sysdeps/i386/fpu/e_log2f.S: Removed.
28171 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
28172 * sysdeps/i386/fpu/w_log2f.c: Likewise.
28173 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
28174 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28175 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28177 (CFLAGS-e_log2f-sse2.c): New.
28178 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
28179 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
28181 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28183 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28185 (CFLAGS-e_powf-fma.c): New.
28186 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
28187 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
28189 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28191 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28193 (CFLAGS-e_log2f-fma.c): New.
28194 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
28195 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
28197 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28199 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28201 (CFLAGS-e_logf-fma.c): New.
28202 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
28203 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
28205 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28207 * sysdeps/i386/fpu/e_logf.S: Removed.
28208 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
28209 * sysdeps/i386/fpu/w_logf.c: Likewise.
28210 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
28211 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
28212 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28213 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28215 (CFLAGS-e_logf-sse2.c): New.
28216 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
28217 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
28219 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28221 * sysdeps/i386/fpu/e_exp2f.S: Removed.
28222 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
28223 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
28224 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28225 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28227 (CFLAGS-e_exp2f-sse2.c): New.
28228 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
28229 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
28231 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28233 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28235 (CFLAGS-e_exp2f-fma.c): New.
28236 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
28237 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
28239 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28241 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
28242 * sysdeps/i386/fpu/e_expf.S: Likewise.
28243 * sysdeps/i386/fpu/math_errf.c: Likewise.
28244 * sysdeps/i386/fpu/w_expf.c: Likewise.
28245 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
28246 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28247 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
28248 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
28249 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28250 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28251 Remove e_expf-ia32.
28252 (CFLAGS-e_expf-sse2.c): New.
28253 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
28254 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
28256 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28258 * sysdeps/x86_64/fpu/e_expf.S: Removed.
28259 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
28260 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
28261 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
28263 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
28265 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
28266 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28268 (__redirect_expf): This.
28269 (SYMBOL_NAME): Changed to expf.
28270 (__ieee754_expf): Renamed to ...
28272 (__GI___expf): This.
28273 (__ieee754_expf): Add strong_alias.
28274 (__expf_finite): Likewise.
28276 Include <sysdeps/ieee754/flt-32/e_expf.c>.
28278 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
28281 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
28284 2017-10-21 Florian Weimer <fweimer@redhat.com>
28286 * posix/Makefile (tests): Add tst-glob-tilde.
28287 (tests-special): Add tst-glob-tilde-mem.out
28288 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
28289 (tst-glob-tilde-mem.out): Add mtrace check.
28290 * posix/tst-glob-tilde.c: New file.
28292 2017-10-20 Joseph Myers <joseph@codesourcery.com>
28294 * bits/floatn-common.h: New file.
28295 * math/Makefile (headers): Add bits/floatn-common.h.
28296 * bits/floatn.h: Include <bits/floatn-common.h>.
28297 * sysdeps/ia64/bits/floatn.h: Likewise.
28298 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28299 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
28300 * sysdeps/powerpc/bits/floatn.h: Likewise.
28301 * sysdeps/x86/bits/floatn.h: Likewise.
28303 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28305 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
28306 indicates whether compiler emits an warning for alias for
28307 functions with incompatible types.
28310 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
28311 the auxiliary process is terminated by a signal before calling _exit
28314 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28317 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
28319 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
28320 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
28321 and bit_arch_XSAVEC_Usable if needed.
28322 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
28323 and bit_arch_Use_dl_runtime_resolve_opt.
28324 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
28326 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
28327 (bit_arch_Prefer_No_AVX512): Updated.
28328 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
28329 (bit_arch_XSAVEC_Usable): New.
28330 (STATE_SAVE_OFFSET): Likewise.
28331 (STATE_SAVE_MASK): Likewise.
28332 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
28333 (cpu_features): Add xsave_state_size and xsave_state_full_size.
28334 (index_arch_Use_dl_runtime_resolve_opt): Removed.
28335 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
28336 (index_arch_XSAVEC_Usable): New.
28337 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28338 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
28339 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
28341 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
28342 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
28343 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
28344 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
28345 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
28346 _dl_runtime_resolve_xsavec.
28347 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
28349 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
28350 instead of VEC_SIZE.
28351 (REGISTER_SAVE_BND0): Removed.
28352 (REGISTER_SAVE_BND1): Likewise.
28353 (REGISTER_SAVE_BND3): Likewise.
28354 (REGISTER_SAVE_RAX): Always defined to 0.
28356 (_dl_runtime_resolve_avx): Likewise.
28357 (_dl_runtime_resolve_avx_slow): Likewise.
28358 (_dl_runtime_resolve_avx_opt): Likewise.
28359 (_dl_runtime_resolve_avx512): Likewise.
28360 (_dl_runtime_resolve_avx512_opt): Likewise.
28361 (_dl_runtime_resolve_sse): Likewise.
28362 (_dl_runtime_resolve_sse_vex): Likewise.
28364 (_dl_runtime_resolve_fxsave): Likewise.
28365 (USE_XSAVE): Likewise.
28366 (_dl_runtime_resolve_xsave): Likewise.
28367 (USE_XSAVEC): Likewise.
28368 (_dl_runtime_resolve_xsavec): Likewise.
28369 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
28371 (_dl_runtime_resolve_avx512_opt): Likewise.
28372 (_dl_runtime_resolve_avx): Likewise.
28373 (_dl_runtime_resolve_avx_opt): Likewise.
28374 (_dl_runtime_resolve_sse): Likewise.
28375 (_dl_runtime_resolve_sse_vex): Likewise.
28376 (_dl_runtime_resolve_fxsave): New.
28377 (_dl_runtime_resolve_xsave): Likewise.
28378 (_dl_runtime_resolve_xsavec): Likewise.
28380 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
28384 * posix/glob.c (__glob): Fix one-byte overflow.
28386 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28388 * malloc/malloc.c (sysdep-cancel.h): Add include.
28390 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28392 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
28394 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
28396 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
28397 (tests): Remove $(objpfx)ga_test depdendency.
28398 * resolv/ga_test.c: Remove file.
28400 2017-10-20 Mike FABIAN <mfabian@redhat.com>
28403 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
28404 * localedata/locales/kab_DZ: New file.
28406 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28408 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
28409 _dl_relocate_static_pie instead of _dl_start to compute load
28410 address in static PIE.
28412 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28414 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
28416 2017-10-20 Mike FABIAN <mfabian@redhat.com>
28419 * localedata/SUPPORTED: Add shn_MM/UTF-8.
28420 * localedata/locales/shn_MM: New file.
28422 2017-10-20 Florian Weimer <fweimer@redhat.com>
28425 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
28426 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
28427 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
28428 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
28429 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
28430 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
28432 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
28434 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28436 2017-10-19 Joseph Myers <joseph@codesourcery.com>
28438 * sysdeps/mips/ieee754/bits/floatn.h: New file.
28441 * sysdeps/mips/bits/long-double.h: Move to ....
28442 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
28444 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
28446 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
28448 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
28449 H.J. Lu <hongjiu.lu@intel.com>
28452 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
28453 GLRO(dl_platform) to NULL.
28454 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
28455 (modules-names): Add tst-platformmod-1 and
28456 x86_64/tst-platformmod-2.
28457 (CFLAGS-tst-platform-1.c): New.
28458 (CFLAGS-tst-platformmod-1.c): Likewise.
28459 (CFLAGS-tst-platformmod-2.c): Likewise.
28460 (LDFLAGS-tst-platformmod-2.so): Likewise.
28461 ($(objpfx)tst-platform-1): Likewise.
28462 ($(objpfx)tst-platform-1.out): Likewise.
28463 (tst-platform-1-ENV): Likewise.
28464 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
28465 * sysdeps/x86_64/tst-platform-1.c: New file.
28466 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
28467 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
28469 2017-10-19 Mike FABIAN <mfabian@redhat.com>
28472 * locale/iso-639.def: Add Karbi.
28473 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
28474 * localedata/locales/mjw_IN: New file.
28476 2017-10-18 Joseph Myers <joseph@codesourcery.com>
28478 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
28479 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28480 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
28481 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
28482 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28483 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28484 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
28486 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28487 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28488 * manual/math.texi (Mathematics): Document additional architecture
28489 support for _Float128.
28490 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
28491 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
28492 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28493 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28494 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28495 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28496 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28497 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28498 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28499 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28500 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28501 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28502 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28503 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28504 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28506 2017-10-18 Renlin Li <renlin.li@arm.com>
28508 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
28509 _DYNAMIC symbol to calculate load address.
28511 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
28513 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
28514 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
28516 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
28517 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
28519 2017-10-18 Mike FABIAN <mfabian@redhat.com>
28522 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
28523 and improve readability by using more ASCII.
28524 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
28525 and improve readability by using more ASCII.
28527 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
28529 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
28530 not all targets support atomics on bool.
28532 2017-10-17 Joseph Myers <joseph@codesourcery.com>
28534 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
28535 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
28537 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28538 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
28539 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28540 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
28541 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28542 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
28544 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28546 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
28549 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28552 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
28553 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
28554 (do_check_remalloced_chunk): Fix build bug.
28555 (do_check_malloc_state): Add assert that checks arena->top.
28556 (malloc_consolidate): Remove initialization.
28557 (int_mallinfo): Remove call to malloc_consolidate.
28558 (__libc_mallopt): Clarify why malloc_consolidate is needed.
28560 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28562 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
28563 (have_fastchunks): Remove.
28564 (clear_fastchunks): Remove.
28565 (set_fastchunks): Remove.
28566 (malloc_state): Add have_fastchunks.
28567 (malloc_init_state): Use have_fastchunks.
28568 (do_check_malloc_state): Remove incorrect invariant checks.
28569 (_int_malloc): Use have_fastchunks.
28570 (_int_free): Likewise.
28571 (malloc_consolidate): Likewise.
28573 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28575 * malloc/malloc.c (tcache_put): Inline.
28576 (tcache_get): Inline.
28578 2017-10-17 Jordi Mallach <jordi@gnu.org>
28580 Aurelien Jarno <aurelien@aurel32.net>
28582 * localedata/locales/ca_ES@valencia: New file.
28583 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
28585 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
28588 * math/math.h: Let signbit use the builtin in C++ mode with gcc
28591 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28593 * scripts/build-many-glibcs.py (Context.add_all_configs):
28594 Add arm-linux-gnueabihf multiarch extra_glibcs.
28596 * sysdeps/generic/ifunc-init.h: New file.
28597 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
28599 2017-10-17 Mike FABIAN <mfabian@redhat.com>
28602 * localedata/locales/el_GR: Set n_cs_precedes to 0.
28603 * localedata/locales/el_CY: copy "el_GR" because it is identical.
28604 * stdlib/tst-strfmon_l.c: adapt test case.
28606 2017-10-16 Joseph Myers <joseph@codesourcery.com>
28608 * sysdeps/generic/float128-abi.h: New file.
28609 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
28610 non-__prefixed symbols to ....
28611 * math/Versions: ... here. Include <float128-abi.h>.
28612 * stdlib/Versions ... and here. Include <float128-abi.h>
28614 2017-10-16 Florian Weimer <fweimer@redhat.com>
28616 * version.h (VERSION): Switch to ".9000" as the development
28619 2017-10-16 Florian Weimer <fweimer@redhat.com>
28622 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
28623 compat_symbol_reference to access non-default version.
28625 2017-10-16 Florian Weimer <fweimer@redhat.com>
28627 * malloc/Makefile (others-extras): Set to mcheck-init.o.
28629 2017-10-16 Carlos O'Donell <carlos@redhat.com>
28631 * include/shlib-compat.h (compat_symbol_reference): Update
28634 2017-10-16 Joseph Myers <joseph@codesourcery.com>
28636 * math/Makefile (test-types): Add
28637 $(type-float128-$(float128-alias-fcts)).
28638 * math/test-float128.h (TYPE_STR): Define conditional on
28639 [FLT128_MANT_DIG == LDBL_MANT_DIG].
28640 (ULP_IDX): Likewise.
28641 (ULP_I_IDX): Likewise.
28643 * stdlib/strtold.c: Include <bits/floatn.h>
28644 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
28645 and later undefine as macro. Define as weak alias if
28647 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
28648 and later undefine as macro. Define as weak alias if
28650 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
28651 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
28652 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
28653 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28654 Define and later undefine as macro. Define as weak alias if
28656 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
28658 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
28659 Define and later undefine as macro. Define as weak alias if
28661 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28662 Define and later undefine as macro. Define as weak alias if
28665 2017-10-15 Carlos O'Donell <carlos@redhat.com>
28667 * localedata/collate-test.c (allocate_arrays): Don't use \n in
28668 record_verbose messages.
28670 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
28673 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
28674 to silence -O3 -Wall warning with GCC 7.
28676 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
28678 * Makeconfig (+link-static-before-libc): Use the first of
28679 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
28680 * gmon/Makefile (tests): Add tst-gmon-static.
28681 (tests-static): Likewise.
28682 (CFLAGS-tst-gmon-static.c): New.
28683 (CRT-tst-gmon-static): Likewise.
28684 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
28685 (tst-gmon-static-ENV): Likewise.
28686 (tests-special): Likewise.
28687 ($(objpfx)tst-gmon-static.out): Likewise.
28688 (clean-tst-gmon-static-data): Likewise.
28689 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
28690 * gmon/tst-gmon-static-gprof.sh: New file.
28691 * gmon/tst-gmon-static.c: Likewise.
28693 2017-10-13 Carlos O'Donell <carlos@redhat.com>
28696 * locale/programs/linereader.c (get_string): Don't warn on
28697 non-symbolic character.
28700 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
28704 * locale/programs/record-status.h: New file
28705 * locale/programs/locale.c: Add comment.
28706 * locale/programs/charmap-dir.c: Don't include error.h.
28707 (charmap_opendir): Use record_error.
28708 * locale/programs/charmap.c: Don't include error.h.
28709 (charmap_read): Use record_error, and record_warning.
28710 (parse_charmap): Likewise.
28711 * locale/programs/ld-address.c: Don't include error.h.
28712 (address_finish): Use record_error, and record_warning.
28713 * locale/programs/ld-collate.c: Don't include error.h.
28714 (collate_finish): Use record_error, and record_error_at_line.
28715 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
28716 (ctype_class_new): Likewise.
28717 (ctype_map_new): Likewise.
28718 (set_one_default): Likewise.
28719 (set_class_defaults): Likewise.
28720 (translit_flatten): Likewise.
28721 (allocate_arrays): Use record_error, and record_verbose.
28722 * locale/programs/ld-identification.c: Don't include error.h.
28723 (indentation_finish): Use record_error and record_warning.
28724 * locale/programs/ld-measurement.c: Don't include error.h.
28725 (measurement_finish): Use record_error.
28726 * locale/programs/ld-messages.c
28727 (message_finish): Likewise.
28728 * locale/programs/ld-monetary.c
28729 (monetary_finish): Likewise.
28730 * locale/programs/ld-name.c (name_finish): Use record_error
28731 and record_warning.
28732 * locale/programs/ld-numeric.c
28733 (numeric_finish): Use record_error.
28734 * locale/programs/ld-paper.c: Don't include error.h.
28735 (paper_finish): Use record_error.
28736 * locale/programs/ld-telephone.c: Don't include error.h.
28737 (telephone_finish): Use record_error.
28738 * locale/programs/ld-time.c (time_finish): Likewise.
28739 * locale/programs/linereader.h (lr_error): Make inline func.
28740 * locale/programs/localedef.c: Define recorded_warning_count,
28741 and recorded_error_count.
28742 (main): Use record_error. Use recorded_error_count and
28743 recorded_warning_count to issue correct error returns.
28744 (add_to_readlist): Use record_error.
28745 (find_locale): Likewise.
28746 (load_locale): Likewise.
28747 * locale/programs/localedef.h: Remove be_quiet
28748 and WITH_CUR_LOCALE.
28749 * locale/programs/locarchive.c (compare_from_file): Use
28751 * locale/programs/locfile.c (write_locale_data): Use
28753 * locale/programs/repertoire.c: Dont include error.h.
28754 (repertoire_complain): Use record_error.
28755 * localedata/tst-fmon.sh: Expect failures from localedef.
28756 * localedata/tst-locale.sh: Likewise.
28757 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
28759 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
28760 (REPORTS): Likewise.
28762 (i18n): Rename to...
28763 (i18n_ctype): ...this.
28764 (i18n-report): Rename to...
28765 (i18n_ctype-report): ...this.
28766 * localedata/locales/i18n_ctype: Regenerate.
28767 * localedata/locales/i18n: copy i18n_ctype.
28769 2017-10-13 Joseph Myers <joseph@codesourcery.com>
28771 * stdlib/strfroml.c: Include <bits/floatn.h>.
28772 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
28773 Define before include of <stdlib.h> and undefine afterwards, then
28774 define as weak alias.
28776 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
28777 Undefine and restore default definition. Use
28778 libm_alias_ldouble_other.
28780 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
28783 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
28786 2017-10-13 James Clarke <jrtc27@jrtc27.com>
28788 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28789 Assign sym_map to be map for local symbols, as TLS relocations
28790 use sym_map to determine whether the symbol is defined and to
28791 extract the TLS information.
28792 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28793 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28795 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28798 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
28799 (math_force_eval): Add powerpc version.
28802 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
28804 (do_test): Likewise.
28805 * stdio-common/tst-printf.sh: Likewise.
28806 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
28807 ifdef clause in order to set the carry bit right. Replace r0 by
28808 0 without changing the behavior.
28810 2017-10-13 Joseph Myers <joseph@codesourcery.com>
28812 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
28813 <libm-alias-ldouble.h>.
28814 (fabsl): Define using libm_alias_ldouble.
28815 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
28816 <libm-alias-ldouble.h>.
28817 (fabsl): Define using libm_alias_ldouble.
28819 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
28820 Remove conditional code.
28822 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
28823 Rename to __clog10_internal_l.
28824 (__clog10_internal_l): Define aliases using
28825 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
28828 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28830 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
28831 * benchtests/sincosf-inputs: New file.
28832 * benchtests/cosf-inputs: New file.
28833 * benchtests/sinf-inputs: New file.
28835 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
28837 * posix/tst-spawn.c (do_test): Wait for both children.
28839 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
28842 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
28843 tests-pie): Add tst-gmon-pie.
28844 (CFLAGS-tst-gmon-pie.c): New.
28845 (CRT-tst-gmon-pie): Likewise.
28846 (tst-gmon-pie-ENV): Likewise.
28847 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
28848 ($(objpfx)tst-gmon-pie.out): Likewise.
28849 (clean-tst-gmon-pie-data): Likewise.
28850 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
28851 * gmon/gmon.c [PIC]: Include <link.h>.
28852 [PIC] (callback): New function.
28853 (write_hist): Add an argument for load address. Subtract load
28855 (write_call_graph): Likewise.
28856 (write_gmon): Call __dl_iterate_phdr to get load address, pass
28857 it to write_hist and write_call_graph.
28858 * gmon/tst-gmon-pie.c: New file.
28860 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28862 * math/Makefile (test-types-basic): New variable.
28863 (test-types): Likewise.
28864 (libm-test-support): Use $(test-types) instead of $(types).
28865 (libm-tests-base-normal): Likewise.
28866 (libm-tests-base-finite): Likewise.
28867 (libm-tests-base-inline): Likewise.
28868 (generated): Likewise.
28869 ($(objpfx)libm-test-support-$(t).c): Likewise.
28870 (libm-tests-for-type iterator): Likewise.
28871 (libm-test-support iterator): Likewise.
28872 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
28873 (ulp_idx): Use ULP_IDX.
28874 * math/test-ldouble.h: Include <float.h>.
28875 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
28876 (ULP_IDX): New macro.
28877 (ULP_I_IDX): Likewise.
28878 * math/test-double.h (ULP_IDX): Likewise.
28879 (ULP_I_IDX): Likewise.
28880 * math/test-float.h (ULP_IDX): Likewise.
28881 (ULP_I_IDX): Likewise.
28882 * math/test-float128.h (ULP_IDX): Likewise.
28883 (ULP_I_IDX): Likewise.
28885 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28887 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
28888 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28889 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28890 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
28891 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28892 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
28893 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
28894 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28895 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28896 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28897 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
28898 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28899 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28900 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28901 (SINGLE_THREAD_BY_GLOBAL): Define.
28902 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28904 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28906 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28908 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28910 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
28911 (SINGLE_THREAD_BY_GLOBAL): Likewise.
28912 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28915 2017-10-11 Andreas Schwab <schwab@suse.de>
28917 * nis/Makefile (aux): Remove.
28918 * nscd/Makefile (aux): Add nscd_hash.
28919 (nscd-modules): Likewise.
28920 ($(objpfx)nscd): Don't depend on libnsl.
28921 * nscd/nscd_hash.c: New file.
28922 * nscd/nscd_hash.h: Likewise.
28923 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
28924 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
28925 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
28926 instead of <nis/rpcsvc/nis.h>.
28927 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
28929 2017-10-11 Florian Weimer <fweimer@redhat.com>
28932 Avoid large NSS buffers with many addresses, aliases.
28933 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
28934 using dynarrays and struct alloc_buffer.
28935 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
28936 (tst-nss-files-hosts-multi): Link with -ldl.
28937 * nss/tst-nss-files-hosts-multi.c: New file.
28939 2017-10-11 Florian Weimer <fweimer@redhat.com>
28942 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
28943 scratch_buffer. Eliminate gotos.
28945 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28947 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
28948 libm_alias_ldouble_other.
28949 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
28950 undefine and redefine.
28951 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28952 (exp10l): Do not define here.
28953 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
28954 (weak_alias): Undefine and redefine.
28955 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
28956 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28957 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
28958 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
28960 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
28961 [!__fma] (fma): Define using libm_alias_double.
28962 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
28963 [!__fmaf] (fmaf): Define using libm_alias_float.
28964 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
28965 (fmal): Define using libm_alias_ldouble.
28967 2017-10-10 Joseph Myers <joseph@codesourcery.com>
28969 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
28971 (libm_alias_double_other): Likewise.
28972 (libm_alias_double_r): Use libm_alias_double_other_r.
28973 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
28975 (libm_alias_float_other): Likewise.
28976 (libm_alias_float_r): Use libm_alias_float_other_r.
28977 * sysdeps/generic/libm-alias-float128.h
28978 (libm_alias_float128_other_r): New macro.
28979 (libm_alias_float128_other): Likewise.
28980 (libm_alias_float128_r): Use libm_alias_float128_other_r.
28981 * sysdeps/generic/libm-alias-ldouble.h
28982 (libm_alias_ldouble_other_r): New macro.
28983 (libm_alias_ldouble_other): Likewise.
28984 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28985 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
28986 (libm_alias_double_other_r): New macro.
28987 (libm_alias_double_other): Likewise.
28988 (libm_alias_double_r): Use libm_alias_double_other_r.
28989 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
28990 (libm_alias_ldouble_other_r): New macro.
28991 (libm_alias_ldouble_other): Likewise.
28992 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28993 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
28994 [!USE_AS_COMPAT]: Use libm_alias_double_other.
28995 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
28996 [!USE_AS_COMPAT]: Use libm_alias_float_other.
28997 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
28998 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
28999 * math/w_exp2f.c: Use libm_alias_float_other.
29000 * math/w_expf.c: Likewise.
29001 * math/w_log2f.c: Likewise.
29002 * math/w_logf.c: Likewise.
29003 * math/w_powf.c: Likewise.
29004 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
29005 [!__exp2f]: Use libm_alias_float_other.
29006 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
29007 [!__expf]: Use libm_alias_float_other.
29008 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
29009 [!__log2f]: Use libm_alias_float_other.
29010 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
29011 [!__logf]: Use libm_alias_float_other.
29012 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
29013 [!__powf]: Use libm_alias_float_other.
29015 2017-10-10 Florian Weimer <fweimer@redhat.com>
29017 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
29019 (_nss_files_gethostbyname3_r): Call it.
29021 2017-10-09 Joseph Myers <joseph@codesourcery.com>
29023 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
29024 error. Remove default definition of declare_mgen_alias.
29025 [!declare_mgen_alias_r]: Likewise.
29026 * sysdeps/generic/math-type-macros-double.h
29027 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
29028 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
29029 (declare_mgen_alias_r): Likewise.
29030 * sysdeps/generic/math-type-macros-float128.h
29031 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29032 * sysdeps/generic/math-type-macros-ldouble.h
29033 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29034 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
29036 (declare_mgen_alias_r_s): Likewise.
29037 (declare_mgen_alias_r): Likewise.
29038 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
29039 (lgamma_r): Define using libm_alias_double_r.
29040 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
29041 (lgammaf_r): Define using libm_alias_float_r.
29042 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
29043 (lgammal_r): Define using libm_alias_ldouble_r.
29044 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
29045 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29047 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29049 * lib/glob.c (__glob_pattern_type): Remove now-spurious
29050 extern declaration.
29052 2017-10-09 Joseph Myers <joseph@codesourcery.com>
29054 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
29056 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
29059 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
29060 [__cplusplus >= 201103] (__USE_ISOC99): Define.
29061 * math/Makefile (test-math-cxx11): New test.
29062 * math/test-math-cxx11.cc: New file.
29064 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
29066 * login/openpty.c (openpty): Close slave pty file descriptor on error.
29068 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
29069 call to allocate the slave pty file descriptor.
29071 2017-10-06 Joseph Myers <joseph@codesourcery.com>
29073 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
29074 [!__fma] (fma): Define using libm_alias_double.
29075 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
29076 [!__fma] (fma): Define using libm_alias_double.
29078 * sysdeps/ieee754/float128/float128_private.h: Include
29079 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
29080 (libm_alias_ldouble_r): Undefine and redefine.
29081 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
29082 <libm-alias-ldouble.h>.
29083 (asinhl): Define using libm_alias_ldouble.
29084 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
29085 <libm-alias-ldouble.h>.
29086 (atanl): Define using libm_alias_ldouble.
29087 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
29088 <libm-alias-ldouble.h>.
29089 (cbrtl): Define using libm_alias_ldouble.
29090 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
29091 <libm-alias-ldouble.h>.
29092 (ceill): Define using libm_alias_ldouble.
29093 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
29094 <libm-alias-ldouble.h>.
29095 (copysignl): Define using libm_alias_ldouble.
29096 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
29097 <libm-alias-ldouble.h>.
29098 (cosl): Define using libm_alias_ldouble.
29099 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
29100 <libm-alias-ldouble.h>.
29101 (erfl): Define using libm_alias_ldouble.
29103 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
29104 <libm-alias-ldouble.h>.
29105 (expm1l): Define using libm_alias_ldouble.
29106 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
29107 <libm-alias-ldouble.h>.
29108 (fabsl): Define using libm_alias_ldouble.
29109 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
29110 <libm-alias-ldouble.h>.
29111 (floorl): Define using libm_alias_ldouble.
29112 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
29113 <libm-alias-ldouble.h>.
29114 (fmal): Define using libm_alias_ldouble.
29115 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
29116 <libm-alias-ldouble.h>.
29117 (frexpl): Define using libm_alias_ldouble.
29118 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
29119 libm_alias_ldouble.
29120 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
29121 <libm-alias-ldouble.h>.
29122 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
29123 libm_alias_ldouble.
29124 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
29125 <libm-alias-ldouble.h>.
29126 (getpayloadl): Define using libm_alias_ldouble.
29127 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
29128 <libm-alias-ldouble.h>.
29129 (llrintl): Define using libm_alias_ldouble.
29130 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
29131 <libm-alias-ldouble.h>.
29132 (llroundl): Define using libm_alias_ldouble.
29133 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
29134 <libm-alias-ldouble.h>.
29135 (logbl): Define using libm_alias_ldouble.
29136 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
29137 <libm-alias-ldouble.h>.
29138 (lrintl): Define using libm_alias_ldouble.
29139 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
29140 <libm-alias-ldouble.h>.
29141 (lroundl): Define using libm_alias_ldouble.
29142 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
29143 <libm-alias-ldouble.h>.
29144 (modfl): Define using libm_alias_ldouble.
29145 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
29146 <libm-alias-ldouble.h>.
29147 (nearbyintl): Define using libm_alias_ldouble.
29148 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
29149 <libm-alias-ldouble.h>.
29150 (nextafterl): Define using libm_alias_ldouble.
29151 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
29152 <libm-alias-ldouble.h>.
29153 (nextupl): Define using libm_alias_ldouble.
29154 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
29155 <libm-alias-ldouble.h>.
29156 (remquol): Define using libm_alias_ldouble.
29157 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
29158 <libm-alias-ldouble.h>.
29159 (rintl): Define using libm_alias_ldouble.
29160 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
29161 <libm-alias-ldouble.h>.
29162 (roundevenl): Define using libm_alias_ldouble.
29163 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
29164 <libm-alias-ldouble.h>.
29165 (roundl): Define using libm_alias_ldouble.
29166 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
29167 using libm_alias_ldouble.
29168 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
29169 <libm-alias-ldouble.h>.
29170 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
29171 Define using libm_alias_ldouble.
29172 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
29173 <libm-alias-ldouble.h>.
29174 (sincosl): Define using libm_alias_ldouble.
29175 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
29176 <libm-alias-ldouble.h>.
29177 (sinl): Define using libm_alias_ldouble.
29178 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
29179 <libm-alias-ldouble.h>.
29180 (tanhl): Define using libm_alias_ldouble.
29181 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
29182 <libm-alias-ldouble.h>.
29183 (tanl): Define using libm_alias_ldouble.
29184 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
29185 <libm-alias-ldouble.h>.
29186 (totalorderl): Define using libm_alias_ldouble.
29187 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
29188 <libm-alias-ldouble.h>.
29189 (totalordermagl): Define using libm_alias_ldouble.
29190 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
29191 <libm-alias-ldouble.h>.
29192 (truncl): Define using libm_alias_ldouble.
29193 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
29194 libm_alias_ldouble.
29195 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
29196 libm_alias_ldouble.
29197 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
29198 <libm-alias-ldouble.h>.
29199 (weak_alias): Do not undefine and redefine.
29200 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29201 (copysignl): Define with long_double_symbol only if [IS_IN
29203 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
29204 <libm-alias-ldouble.h>.
29205 (weak_alias): Do not undefine and redefine.
29206 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29207 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
29208 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
29209 <libm-alias-ldouble.h>.
29210 (weak_alias): Do not undefine and redefine.
29211 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29212 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
29213 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
29214 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
29215 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
29216 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
29217 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
29218 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
29219 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
29220 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
29221 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
29222 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
29223 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
29224 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
29225 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
29226 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
29227 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
29228 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
29229 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
29230 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
29231 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
29232 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
29233 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
29234 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
29235 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
29236 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
29238 2017-10-06 Carlos O'Donell <carlos@redhat.com>
29241 * malloc/malloc.c (tcache_shutting_down): Use bool type.
29242 (tcache_thread_freeres): Set tcache_shutting_down before
29243 freeing the tcache.
29244 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
29245 * malloc/tst-malloc-tcache-leak.c: New file.
29247 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29249 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
29250 back to powerpc32 file.
29251 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29252 (memrchr): Add __memrchr_power8 to ifunc list.
29253 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
29254 extra bytes for unaligned inputs.
29256 2017-10-06 Joseph Myers <joseph@codesourcery.com>
29258 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
29259 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
29260 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
29261 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29262 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29264 2017-10-05 Joseph Myers <joseph@codesourcery.com>
29266 * sysdeps/arm/libm-test-ulps: Update.
29268 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
29269 <libm-alias-ldouble.h>.
29270 (asinhl): Define using libm_alias_ldouble.
29271 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
29272 <libm-alias-ldouble.h>.
29273 (cbrtl): Define using libm_alias_ldouble.
29274 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
29275 <libm-alias-ldouble.h>.
29276 (copysignl): Define using libm_alias_ldouble.
29277 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
29278 <libm-alias-ldouble.h>.
29279 (cosl): Define using libm_alias_ldouble.
29280 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
29281 <libm-alias-ldouble.h>.
29282 (erfl): Define using libm_alias_ldouble.
29284 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
29285 <libm-alias-ldouble.h>.
29286 (fmal): Define using libm_alias_ldouble.
29287 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
29288 <libm-alias-ldouble.h>.
29289 (frexpl): Define using libm_alias_ldouble.
29290 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
29291 libm_alias_ldouble.
29292 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
29293 <libm-alias-ldouble.h>.
29294 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
29295 libm_alias_ldouble.
29296 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
29297 <libm-alias-ldouble.h>.
29298 (getpayloadl): Define using libm_alias_ldouble.
29299 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
29300 <libm-alias-ldouble.h>.
29301 (llrintl): Define using libm_alias_ldouble.
29302 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
29303 <libm-alias-ldouble.h>.
29304 (llroundl): Define using libm_alias_ldouble.
29305 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
29306 <libm-alias-ldouble.h>.
29307 (lrintl): Define using libm_alias_ldouble.
29308 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
29309 <libm-alias-ldouble.h>.
29310 (lroundl): Define using libm_alias_ldouble.
29311 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
29312 <libm-alias-ldouble.h>.
29313 (modfl): Define using libm_alias_ldouble.
29314 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
29315 <libm-alias-ldouble.h>.
29316 (nextupl): Define using libm_alias_ldouble.
29317 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
29318 <libm-alias-ldouble.h>.
29319 (remquol): Define using libm_alias_ldouble.
29320 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
29321 <libm-alias-ldouble.h>.
29322 (roundevenl): Define using libm_alias_ldouble.
29323 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
29324 <libm-alias-ldouble.h>.
29325 (roundl): Define using libm_alias_ldouble.
29326 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
29327 using libm_alias_ldouble.
29328 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
29329 <libm-alias-ldouble.h>.
29330 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
29331 <libm-alias-ldouble.h>.
29332 (setpayloadsigl): Define using libm_alias_ldouble.
29333 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
29334 <libm-alias-ldouble.h>.
29335 (sincosl): Define using libm_alias_ldouble.
29336 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
29337 <libm-alias-ldouble.h>.
29338 (sinl): Define using libm_alias_ldouble.
29339 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
29340 <libm-alias-ldouble.h>.
29341 (tanhl): Define using libm_alias_ldouble.
29342 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
29343 <libm-alias-ldouble.h>.
29344 (tanl): Define using libm_alias_ldouble.
29345 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
29346 <libm-alias-ldouble.h>.
29347 (totalorderl): Define using libm_alias_ldouble.
29348 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
29349 <libm-alias-ldouble.h>.
29350 (totalordermagl): Define using libm_alias_ldouble.
29351 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
29352 libm_alias_ldouble.
29353 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
29354 libm_alias_ldouble.
29356 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
29358 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
29360 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
29361 (__libc_ifunc_impl_list): Likewise.
29362 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
29363 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
29365 * benchtests/bench-memmove-walk.c: New file.
29366 * benchtests/Makefile (string-benchset): Add it.
29368 * benchtests/bench-memset-walk.c: New file.
29369 * benchtests/Makefile (string-benchset): Add it.
29371 * benchtests/bench-memcpy-walk.c: New file.
29372 * benchtests/Makefile (string-benchset): Add it.
29374 2017-10-05 Florian Weimer <fweimer@redhat.com>
29376 nscd: Eliminate compilation time dependency in the build output.
29377 * nscd/nscd_stat.c (STATDATA_VERSION)
29378 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
29379 (STATDATA_VERSION_FULL): New macro definitions.
29380 (compilation): Remove.
29381 (struct statdata): Adjust version member.
29382 (send_stats): Set version from STATDATA_VERSION_FULL.
29383 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
29385 2017-10-05 Joseph Myers <joseph@codesourcery.com>
29387 * configure.ac (--enable-add-ons): Remove option.
29388 (machine): Do not mention add-ons in comment.
29389 (LIBC_PRECONFIGURE): Likewise.
29390 (add_ons): Remove variable and sanity checks and logic to locate
29392 (add_ons_automatic): Remove variable.
29393 (configured_add_ons): Likewise.
29394 (add_ons_sfx): Likewise.
29395 (add_ons_pfx): Likewise.
29396 (add_on_subdirs): Likewise.
29397 (sysnames_add_ons): Likewise. Remove loop over add-ons and
29398 consideration of add-ons in Implies handling.
29399 (sysdeps_add_ons): Likewise.
29400 * configure: Regenerated.
29401 * libidn/configure.ac: Remove.
29402 * libidn/configure: Likewise.
29403 * sysdeps/unix/inet/configure.ac: New file.
29404 * sysdeps/unix/inet/configure: New generated file.
29405 * sysdeps/unix/inet/Subdirs: Add libidn.
29406 * Makeconfig (sysdeps-srcdirs): Remove variable.
29407 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
29408 ($(common-objpfx)config.status): Do not depend on add-on files.
29409 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
29411 (all-subdirs): Do not include $(add-on-subdirs).
29412 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
29413 * config.make.in (add-ons): Remove variable.
29414 (add-on-subdirs): Likewise.
29415 (sysdeps-add-ons): Likewise.
29416 * manual/Makefile (add-chapters): Remove.
29417 ($(objpfx)texis): Do not depend on $(add-chapters).
29418 (nonexamples): Do not handle $(add-chapters).
29419 (examples): Do not handle $(add-ons).
29420 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
29422 * manual/install.texi (Installation): Do not mention add-ons.
29423 (--enable-add-ons): Do not document configure option.
29424 * INSTALL: Regenerated.
29425 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
29426 * manual/maint.texi (Hierarchy Conventions): Do not mention
29428 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
29430 * scripts/gen-sorted.awk: Do not handle Subdirs files from
29432 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
29433 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
29435 2017-10-05 Andreas Schwab <schwab@suse.de>
29438 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
29439 (_IO_flush_all_lockp): Always lock list_all_lock.
29440 (_IO_flush_all_linebuffered): Likewise.
29441 (_IO_unbuffer_all): Likewise.
29443 2017-10-05 Florian Weimer <fweimer@redhat.com>
29446 Do not flush stdio streams on abort.
29447 * stdlib/abort.c (fflush): Remove macro definition.
29448 (abort): Remove stages related to stdio flushing.
29450 2017-10-05 Florian Weimer <fweimer@redhat.com>
29452 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
29454 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
29456 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29458 2017-10-05 Florian Weimer <fweimer@redhat.com>
29460 * support/support_format_hostent.c (support_format_hostent): Add
29461 more error information for NETDB_INTERNAL.
29463 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29465 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
29466 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
29467 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
29468 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
29469 AC_DEFINE if multi-arch is enabled.
29470 * sysdeps/i386/configure: Regenerated.
29472 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29474 * Makeconfig (+link-static-before-libc): Use
29475 $(DEFAULT-LDFLAGS-$(@F)).
29476 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
29477 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
29478 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
29480 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29482 * elf/Makefile (tests): Add tst-main1.
29483 (modules-names): Add tst-main1mod.
29484 ($(objpfx)tst-main1): New.
29485 (CRT-tst-main1): Likewise.
29486 (LDFLAGS-tst-main1): Likewise.
29487 (LDLIBS-tst-main1): Likewise.
29488 (tst-main1mod.so-no-z-defs): Likewise.
29489 * elf/tst-main1.c: New file.
29490 * elf/tst-main1mod.c: Likewise.
29492 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29494 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
29496 2017-10-04 Joseph Myers <joseph@codesourcery.com>
29498 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
29499 (fma): Define using libm_alias_double.
29500 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
29501 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
29503 (fmal): Do not define as compat symbol here.
29504 * sysdeps/alpha/fpu/s_fma.c: New file.
29506 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29508 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
29510 2017-10-04 Joseph Myers <joseph@codesourcery.com>
29513 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
29515 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29517 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
29518 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29519 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
29520 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
29521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29522 Include <math_ldbl_opt.h>
29523 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29525 (compat_symbol): Undefine and redefine.
29526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
29528 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29529 (compat_symbol): Undefine and redefine.
29530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
29531 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
29532 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
29533 GLIBC_2_1 for libm.
29534 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
29535 GLIBC_2.0 copysignl symbol.
29536 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29537 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
29539 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
29541 2017-10-04 Florian Weimer <fweimer@redhat.com>
29543 * scripts/check-local-headers.sh: Ignore nspr4 header file
29544 directory in addition to nspr.
29546 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
29549 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
29550 * configure: Regenerate.
29551 * crypt/Makefile (nss-cpp-flags): New variable.
29552 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
29553 (CPPFLAGS-md5-crypt.c): Use it.
29554 * scripts/check-local-headers.sh: Ignore nspr header file
29557 2017-10-04 Andreas Schwab <schwab@suse.de>
29559 * nis/Makefile (services): Remove compat.
29560 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
29561 ($(objpfx)libnss_compat.so): Remove rule.
29562 * nis/Versions (libnss_compat): Remove.
29563 * nss/Makefile (services): Add compat.
29564 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
29565 * nss/Versions (libnss_compat): Define.
29566 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
29567 Don't include <rpc/types.h>. Replace bool_t by bool.
29568 * nss/nss_compat/compat-initgroups.c: Likewise.
29569 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
29570 instead of <rpcsrv/ypclnt.h>.
29571 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
29572 yp_get_default_domain.
29573 * nss/nss_compat/compat-pwd.c: Likewise.
29574 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
29575 yp_get_default_domain.
29576 * nss/nss_compat/nisdomain.c: New file.
29577 * nss/nss_compat/nisdomain.h: Likewise.
29579 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29582 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
29583 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29585 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29588 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
29589 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
29591 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29593 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
29594 "movl main@GOTOFF(%ebx), %eax".
29596 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29598 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
29599 allow undefined _DYNAMIC in PIE libc.a.
29600 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29603 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29605 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
29608 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29610 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
29613 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29615 * math/test-math-iscanonical.cc (error): Replace bool with int.
29617 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29619 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
29620 (modf): Define using libm_alias_double, only if [!__modf].
29621 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
29622 <libm-alias-double.h>.
29623 (modf): Define using libm_alias_double, only if [!__modf].
29624 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
29625 compat symbol here.
29626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
29627 (weak_alias): Do not undefine and redefine.
29628 (strong_alias): Likewise.
29629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
29630 (weak_alias): Likewise.
29631 (strong_alias): Likewise.
29633 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
29634 (logb): Define using libm_alias_double, only if [!__logb].
29635 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
29636 <libm-alias-double.h>.
29637 (logb): Define using libm_alias_double, only if [!__logb].
29638 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
29639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
29640 (weak_alias): Do not undefine and redefine.
29641 (strong_alias): Likewise.
29642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
29643 (weak_alias): Likewise.
29644 (strong_alias): Likewise.
29646 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29648 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
29649 Check SHARED instead PIC.
29651 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29653 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
29654 [!__fmaf] (fmaf): Define using libm_alias_float.
29656 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
29657 (frexp): Define using libm_alias_double.
29658 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
29659 <libm-alias-double.h>.
29660 (frexp): Define using libm_alias_double.
29661 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
29662 compat symbol here.
29664 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29667 * math/math.h: Trivial fix for unbalanced parentheses in comment.
29668 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
29669 (CFLAGS-test-math-iscanonical.cc): New variable.
29670 * math/test-math-iscanonical.cc: New file.
29671 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
29672 Provide a C++ implementation based on function overloading,
29673 rather than using __MATH_TG, which uses C-only builtins.
29674 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
29676 * sysdeps/powerpc/powerpc64le/Makefile
29677 (CFLAGS-test-math-iscanonical.cc): New variable.
29679 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29681 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
29682 (ceil): Define using libm_alias_double.
29683 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
29684 (floor): Define using libm_alias_double.
29685 * sysdeps/ieee754/dbl-64/s_llround.c: Include
29686 <libm-alias-double.h>.
29687 (llround): Define using libm_alias_double.
29688 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29689 <libm-alias-double.h>.
29690 (lround): Define using libm_alias_double.
29691 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
29692 <libm-alias-double.h>.
29693 (nearbyint): Define using libm_alias_double.
29694 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
29695 <libm-alias-double.h>.
29696 (remquo): Define using libm_alias_double.
29697 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
29698 (rint): Define using libm_alias_double.
29699 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
29700 (round): Define using libm_alias_double.
29701 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
29702 (trunc): Define using libm_alias_double.
29703 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
29704 <libm-alias-double.h>.
29705 (ceil): Define using libm_alias_double.
29706 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
29707 <libm-alias-double.h>.
29708 (floor): Define using libm_alias_double.
29709 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
29710 <libm-alias-double.h>.
29711 (llround): Define using libm_alias_double.
29712 [_LP64] (lround): Likewise.
29713 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
29714 <libm-alias-double.h>.
29715 [!_LP64] (lround): Define using libm_alias_double.
29716 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
29717 <libm-alias-double.h>.
29718 (nearbyint): Define using libm_alias_double.
29719 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
29720 <libm-alias-double.h>.
29721 (remquo): Define using libm_alias_double.
29722 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
29723 <libm-alias-double.h>.
29724 (rint): Define using libm_alias_double.
29725 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
29726 <libm-alias-double.h>.
29727 (round): Define using libm_alias_double.
29728 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
29729 <libm-alias-double.h>.
29730 (trunc): Define using libm_alias_double.
29731 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
29732 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
29733 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
29734 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
29735 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
29736 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
29737 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
29738 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
29739 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
29741 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29743 * math/w_remainder.c: New file.
29744 * math/w_remainderf.c: New file.
29745 * math/w_remainderl.c: New file.
29747 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29749 * elf/rtld.c (BOOTSTRAP_MAP): New.
29750 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
29751 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29753 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29755 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29758 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29760 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
29761 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
29762 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
29763 rtld_hidden_data_ver): Define to empty.
29764 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
29765 __assert_perror_fail): Likewise.
29766 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29767 (__rewinddir): Likewise.
29768 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29769 (__profile_frequency): Likewise.
29770 * include/setjmp.h (__sigsetjmp): Likewise.
29771 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
29772 __libc_sigaction): Likewise.
29773 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
29774 not set hidden attribute.
29775 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
29776 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
29777 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
29778 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
29779 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
29780 __fxstatat64): Likewise.
29781 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29782 (__uname): Likewise.
29783 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29784 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
29785 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
29786 (NO_RTLD_HIDDEN): Set.
29787 * sysdeps/mach/hurd/configure: Refresh.
29788 * config.h.in: Refresh.
29790 2017-10-02 Joseph Myers <joseph@codesourcery.com>
29792 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
29793 (atan): Define using libm_alias_double.
29794 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
29795 (tan): Define using libm_alias_double.
29796 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
29797 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
29799 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
29800 define as weak alias of __atan. Do not define any aliases if
29802 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
29803 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
29804 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
29805 as weak alias of __tan. Do not define any aliases if [__tan].
29806 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
29807 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
29808 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
29810 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
29811 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
29812 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
29813 and define as weak alias of __atan.
29814 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
29816 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
29817 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
29818 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
29819 define as weak alias of __tan.
29821 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29823 * math/w_lgamma.c: New file.
29824 * math/w_lgammaf.c: New file.
29825 * math/w_lgammal.c: New file.
29827 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29829 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
29830 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
29831 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
29832 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
29833 * sysdeps/ieee754/flt-32/w_logf.c: New file.
29834 * sysdeps/ieee754/flt-32/w_powf.c: New file.
29835 * sysdeps/i386/fpu/w_log2f.c: New file.
29836 * sysdeps/i386/fpu/w_logf.c: New file.
29837 * sysdeps/i386/fpu/w_powf.c: New file.
29838 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
29839 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
29840 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
29842 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29843 H.J. Lu <hongjiu.lu@intel.com>
29845 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
29846 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
29847 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
29848 * sysdeps/ieee754/flt-32/w_expf.c: New file.
29849 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
29851 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
29852 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
29853 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
29854 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
29855 * sysdeps/i386/fpu/w_exp2f.c: New file.
29856 * sysdeps/i386/fpu/w_expf.c: New file.
29857 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
29858 * sysdeps/x86_64/fpu/w_expf.c: New file.
29860 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29862 * math/Versions (logf): New libm symbol at GLIBC_2.27.
29865 * math/w_log2f.c: New file.
29866 * math/w_logf.c: New file.
29867 * math/w_powf.c: New file.
29868 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
29869 * math/w_logf_compat.c (__logf_compat): Likewise.
29870 * math/w_powf_compat.c (__powf_compat): Likewise.
29871 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
29872 * sysdeps/ia64/fpu/e_logf.S: Likewise.
29873 * sysdeps/ia64/fpu/e_powf.S: Likewise.
29874 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29875 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29876 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29877 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29878 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29879 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29880 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29881 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29882 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29883 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29884 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29885 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29894 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29895 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29896 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29897 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29898 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29903 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29904 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29905 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29907 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29909 * sysdeps/powerpc/powerpc64/multiarch/Makefile
29910 (sysdep_routines): Add memrchr_power8.
29911 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29912 (memrchr): Add __memrchr_power8 to list of memrchr functions.
29913 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
29915 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29916 (memrchr): Add __memrchr_power8 to ifunc list.
29917 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
29919 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29922 * sysdeps/unix/sysv/linux/posix_fadvise64.c
29923 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
29925 * sysdeps/unix/sysv/linux/posix_fallocate64.c
29926 (__posix_fallocate64_l64): Likewise.
29928 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29931 * sysdeps/unix/sysv/linux/sched_setaffinity.c
29932 (__sched_setaffinity_new): Add libc_hidden_proto and
29935 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29938 * include/glob.h (__glob64): Add libc_hidden_proto.
29939 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
29942 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29945 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
29948 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29951 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
29953 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29956 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
29959 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29962 * csu/version.c (__libc_print_version): Add attribute_hidden.
29964 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29967 * include/libc-internal.h (__init_misc): Add attribute_hidden.
29969 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29972 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
29974 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29977 * nscd/nscd_helper.c (__nis_hash): New prototype.
29979 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29982 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
29983 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
29985 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29986 * termios/tcgetattr.c (__tcgetattr): Likewise.
29988 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29991 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
29992 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
29993 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
29994 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
29995 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
29997 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30000 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
30002 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30005 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
30006 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
30008 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30011 * intl/hash-string.h (__hash_string): Add attribute_hidden.
30013 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30016 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
30017 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
30019 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30022 * include/ifreq.h: New file.
30023 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
30024 (__ifreq): Likewise.
30025 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
30026 (__ifreq): Likewise.
30028 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30031 * include/idna.h: New file.
30032 * inet/getnameinfo.c: Include <idna.h> instead of
30034 (__idna_to_unicode_lzlz): Removed.
30035 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
30037 (__idna_to_ascii_lz): Removed.
30038 (__idna_to_unicode_lzlz): Likewise.
30040 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30043 * include/plural-exp.h: New file.
30044 * intl/plural-exp.c: Include <plural-exp.h> instead of
30047 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30050 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
30051 "getsourcefilter.h".
30052 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
30053 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
30054 "getsourcefilter.h".
30055 (__get_sol): Removed.
30057 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30060 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
30062 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
30064 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30067 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
30070 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30073 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
30075 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30078 * include/search.h (__tdestroy): Add libc_hidden_proto.
30079 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
30081 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30084 * include/assert.h (__assert_fail_base): Add attribute_hidden.
30086 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30089 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
30092 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30095 * include/signal.h (__kill): Add libc_hidden_proto.
30096 (__sigblock): Likewise.
30097 (__sigprocmask): Likewise.
30098 (__sigaltstack): Likewise.
30099 * signal/kill.c (__kill): Add libc_hidden_def.
30100 * signal/sigblock.c (__sigblock): Likewise.
30101 * signal/sigprocmask.c (__sigprocmask): Likewise.
30102 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
30103 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
30104 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
30105 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
30106 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
30108 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
30110 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
30111 (__sigprocmask): Likewise.
30112 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
30114 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
30115 (__sigprocmask): Likewise.
30116 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
30119 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30122 * include/string.h (__strsep): Add libc_hidden_proto.
30123 * string/strsep.c (__strsep): Add libc_hidden_def.
30125 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30128 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
30130 (__spawni): Likewise.
30132 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30135 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
30136 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
30139 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30142 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
30144 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30147 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
30148 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
30149 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
30150 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
30151 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
30153 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
30154 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
30156 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30159 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
30160 (__dcigettext): Likewise.
30162 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30165 * include/sys/sysinfo.h (__get_nprocs_conf): Add
30167 (__get_nprocs): Likewise.
30168 (__get_phys_pages): Likewise.
30169 (__get_avphys_pages): Likewise.
30170 (__get_child_max): Add attribute_hidden.
30171 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
30172 (__get_nprocs): Likewise.
30173 (__get_phys_pages): Likewise.
30174 (__get_avphys_pages): Likewise.
30175 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
30177 (__get_nprocs): Likewise.
30178 (__get_phys_pages): Likewise.
30179 (__get_avphys_pages): Likewise.
30180 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
30182 (__get_nprocs_conf): Likewise.
30183 (__get_phys_pages): Likewise.
30184 (__get_avphys_pages): Likewise.
30186 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30189 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
30191 (__netlink_close): Likewise.
30192 (__netlink_free_handle): Likewise.
30193 (__netlink_request): Likewise.
30195 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30198 * include/rpc/rpc.h (__rpc_thread_variables): Add
30200 (__rpc_thread_svc_cleanup): Likewise.
30201 (__rpc_thread_clnt_cleanup): Likewise.
30202 (__rpc_thread_key_cleanup): Likewise.
30204 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30207 * include/sys/uio.h (__readv): Add libc_hidden_proto.
30208 (__writev): Likewise.
30209 * misc/readv.c (__readv): Add libc_hidden_def.
30210 * misc/writev.c (__writev): Likewise.
30211 * sysdeps/posix/readv.c (__readv): Likewise.
30212 * sysdeps/posix/writev.c (__writev): Likewise.
30213 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
30214 (__readv): Likewise.
30215 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
30216 (__writev): Likewise.
30218 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30221 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
30222 (__regcomp): Add libc_hidden_proto.
30223 (__regexec): Likewise.
30224 (__regfree): Likewise.
30225 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
30226 (__regfree): Likewise.
30227 * posix/regexec.c (__regexec): Likewise.
30229 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30232 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
30233 (__getutent): Likewise.
30234 (__getutid): Likewise.
30235 (__getutline): Likewise.
30236 (__pututline): Likewise.
30237 (__getutent_r): Likewise.
30238 (__getutid_r): Likewise.
30239 (__getutline_r): Likewise.
30240 (__utmpname): Add attribute_hidden.
30241 (__setutent): Likewise.
30242 (__endutent): Likewise.
30243 * login/getutent.c (__getutent): Add libc_hidden_def.
30244 * login/getutent_r.c (__getutent_r): Likewise.
30245 (__pututline): Likewise.
30246 * login/getutid.c (__getutid): Likewise.
30247 * login/getutid_r.c (__getutid_r): Likewise.
30248 * login/getutline.c (__getutline): Likewise.
30249 * login/getutline_r.c (__getutline_r): Likewise.
30250 * login/updwtmp.c (__updwtmp): Likewise.
30252 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30255 * include/dirent.h (__opendir): Always add attribute_hidden.
30256 (__fdopendir): Likewise.
30257 (__closedir): Likewise.
30258 (__readdir): Likewise.
30259 (__readdir64): Add libc_hidden_proto.
30260 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
30261 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
30262 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
30263 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
30266 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30269 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
30270 * include/netdb.h (__gethostbyaddr_r): Likewise.
30271 (__gethostbyname_r): Likewise.
30272 (__gethostbyname2_r): Likewise.
30273 (__getnetbyaddr_r): Likewise.
30274 (__getnetbyname_r): Likewise.
30275 (__getservbyname_r): Likewise.
30276 (__getservbyport_r): Likewise.
30277 (__getprotobyname_r): Likewise.
30278 (__getprotobynumber_r): Likewise.
30279 (__getnetgrent_r): Likewise.
30280 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
30281 (__getrpcbynumber_r): Likewise.
30282 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
30284 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30287 * include/stdio.h (__fcloseall): Add attribute_hidden.
30288 (__getline): Likewise.
30289 (__path_search): Likewise.
30290 (__gen_tempname): Likewise.
30291 (__libc_message): Likewise.
30292 (__flockfile): Likewise.
30293 (__funlockfile): Likewise.
30294 (__fxprintf): Likewise.
30295 (__fxprintf_nocancel): Likewise.
30297 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30300 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
30301 (__sgetsgent_r): Likewise.
30303 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30306 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
30307 (__statfs64): Likewise.
30308 (__fstatfs64): Likewise.
30309 * include/sys/statvfs.h (__statvfs64): Likewise.
30310 (__fstatvfs64): Likewise.
30311 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
30312 (__statfs_filesize_max): Likewise.
30313 (__statfs_symlinks): Likewise.
30314 (__statfs_chown_restricted): Likewise.
30316 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30319 * include/time.h (__tzstring): Add attribute_hidden.
30320 (__tzfile_read): Likewise.
30321 (__tzfile_compute): Likewise.
30322 (__tzfile_default): Likewise.
30323 (__tzset_parse_tz): Likewise.
30324 (__offtime): Likewise.
30325 (__asctime_r): Likewise.
30326 (__tzset): Likewise.
30327 (__tz_convert): Likewise.
30328 (__getdate_r): Likewise.
30329 (__getclktck): Likewise.
30331 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30334 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
30335 (__nscd_unmap): Likewise.
30336 (__nscd_cache_search): Likewise.
30337 (__nscd_get_nl_timestamp): Likewise.
30338 (__nscd_getpwnam_r): Likewise.
30339 (__nscd_getpwuid_r): Likewise.
30340 (__nscd_getgrnam_r): Likewise.
30341 (__nscd_getgrgid_r): Likewise.
30342 (__nscd_gethostbyname_r): Likewise.
30343 (__nscd_gethostbyname2_r): Likewise.
30344 (__nscd_gethostbyaddr_r): Likewise.
30345 (__nscd_getai): Likewise.
30346 (__nscd_getgrouplist): Likewise.
30347 (__nscd_getservbyname_r): Likewise.
30348 (__nscd_getservbyport_r): Likewise.
30349 (__nscd_innetgr): Likewise.
30350 (__nscd_setnetgrent): Likewise.
30352 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30355 * include/gmp.h: Declare internal functions only if _ISOMAC is
30357 (__mpn_extract_double): Add attribute_hidden.
30358 (__mpn_extract_long_double): Likewise.
30359 (__mpn_extract_float128): Likewise.
30360 (__mpn_construct_float): Likewise.
30361 (__mpn_construct_double): Likewise.
30362 (__mpn_construct_long_double): Likewise.
30363 (__mpn_construct_float128): Likewise.
30364 (mpn_add_1): Likewise.
30365 (mpn_addmul_1): Likewise.
30366 (mpn_add_n): Likewise.
30367 (mpn_cmp): Likewise.
30368 (mpn_divrem): Likewise.
30369 (mpn_lshift): Likewise.
30370 (mpn_mul): Likewise.
30371 (mpn_mul_1): Likewise.
30372 (mpn_rshift): Likewise.
30373 (mpn_sub_1): Likewise.
30374 (mpn_submul_1): Likewise.
30375 (mpn_sub_n): Likewise.
30377 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30380 * include/wchar.h (__wcsnlen): Add attribute_hidden.
30381 (__wcscat): Likewise.
30382 (__btowc): Likewise.
30383 (__wcrtomb): Likewise.
30384 (__mbsrtowcs): Likewise.
30385 (__wcsrtombs): Likewise.
30386 (__mbsnrtowcs): Likewise.
30387 (__wcsnrtombs): Likewise.
30388 (__wcsncpy): Likewise.
30389 (__wcpncpy): Likewise.
30390 (__wmemcpy): Likewise.
30391 (__wmempcpy): Likewise.
30392 (__wmemmove): Likewise.
30393 (__wcschrnul): Likewise.
30394 (__vfwscanf): Likewise.
30395 (__vswprintf): Likewise.
30396 (__fwprintf): Likewise.
30397 (__vfwprintf): Likewise.
30399 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30402 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
30403 (__getgrgid_r): Likewise.
30404 (__getgrnam_r): Likewise.
30405 * include/pwd.h (__getpwuid_r): Likewise.
30406 (__getpwnam_r): Likewise.
30407 (__fgetpwent_r): Likewise.
30408 * include/shadow.h (__getspnam_r): Likewise.
30409 (__sgetspent_r): Likewise.
30410 (__fgetspent_r): Likewise.
30412 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30415 * include/unistd.h (__access): Add attribute_hidden.
30416 (__lseek64): Likewise.
30417 (__libc_pread64): Likewise.
30418 (__pipe2): Likewise.
30419 (__sleep): Likewise.
30420 (__chdir): Likewise.
30421 (__fchdir): Likewise.
30422 (__getcwd): Likewise.
30423 (__rmdir): Likewise.
30424 (__execvpe): Likewise.
30425 (__execve): Likewise.
30426 (__setsid): Likewise.
30427 (__getuid): Likewise.
30428 (__geteuid): Likewise.
30429 (__getgid): Likewise.
30430 (__getegid): Likewise.
30431 (__getgroups): Likewise.
30432 (__group_member): Likewise.
30433 (__ttyname_r): Likewise.
30434 (__isatty): Likewise.
30435 (__readlink): Likewise.
30436 (__unlink): Likewise.
30437 (__gethostname): Likewise.
30438 (__profil): Likewise.
30439 (__getdtablesize): Likewise.
30441 (__ftruncate): Likewise.
30442 (__ftruncate64): Likewise.
30444 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30447 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
30448 * argp/argp-fs-xinl.c: Likewise.
30449 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
30450 * argp/argp-parse.c: Include <argp.h>.
30451 * argp/argp-xinl.c: Likewise.
30452 * include/argp-fmtstream.h: New file.
30453 * include/argp.h (__argp_error): Add attribute_hidden.
30454 (__argp_failure): Likewise.
30455 (__argp_input): Likewise.
30456 (__argp_state_help): Likewise.
30458 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30461 * include/wchar.h (____wcstof_l_internal): New prototype.
30462 (____wcstod_l_internal): Likewise.
30463 (____wcstold_l_internal): Likewise.
30464 (____wcstol_l_internal): Likewise.
30465 (____wcstoul_l_internal): Likewise.
30466 (____wcstoll_l_internal): Likewise.
30467 (____wcstoull_l_internal): Likewise.
30468 (____wcstof128_l_internal): Likewise.
30469 * sysdeps/ieee754/float128/wcstof128.c
30470 (____wcstof128_l_internal): Removed.
30471 * sysdeps/ieee754/float128/wcstof128_l.c
30472 (____wcstof128_l_internal): Likewise.
30473 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
30474 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
30475 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
30476 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
30477 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
30478 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
30479 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
30480 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
30481 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
30482 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
30484 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30487 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
30488 instead of <sys/statvfs.h>.
30489 (__internal_statvfs): Removed.
30490 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
30491 instead of <sys/statvfs.h>.
30492 (__internal_statvfs64): Removed.
30493 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
30494 "internal_statvfs.h" instead of <sys/statvfs.h>.
30495 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
30496 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
30497 instead of <sys/statvfs.h>.
30498 (__internal_statvfs): Removed.
30499 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
30500 instead of <sys/statvfs.h>.
30501 (__internal_statvfs64): Removed.
30503 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30506 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
30507 (__gconv_close): Likewise.
30508 (__gconv): Likewise.
30509 (__gconv_find_transform): Likewise.
30510 (__gconv_lookup_cache): Likewise.
30511 (__gconv_compare_alias_cache): Likewise.
30512 (__gconv_load_cache): Likewise.
30513 (__gconv_get_path): Likewise.
30514 (__gconv_close_transform): Likewise.
30515 (__gconv_release_cache): Likewise.
30516 (__gconv_find_shlib): Likewise.
30517 (__gconv_release_shlib): Likewise.
30518 (__gconv_get_builtin_trans): Likewise.
30519 (__gconv_compare_alias): Likewise.
30520 * include/dlfcn.h (_dlerror_run): Likewise.
30521 * include/stdio.h (__fortify_fail_abort): Likewise.
30522 * include/time.h (__tz_compute): Likewise.
30523 (__strptime_internal): Likewise.
30524 * intl/gettextP.h (_nl_find_domain): Likewise.
30525 (_nl_load_domain): Likewise.
30526 (_nl_find_msg): Likewise.
30527 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
30528 (EXTRACT_PLURAL_EXPRESSION): Likewise.
30529 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
30530 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
30531 (__gai_find_request): Likewise.
30532 (__gai_remove_request): Likewise.
30533 (__gai_notify): Likewise.
30534 (__gai_notify_only): Likewise.
30535 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30536 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30537 (_dl_non_dynamic_init): Likewise.
30538 (_dl_aux_init): Likewise.
30539 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
30540 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30542 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
30543 (__wcsmbs_clone_conv): Likewise.
30544 (__wcsmbs_named_conv): Likewise.
30546 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30549 * include/stdlib.h (__random): Add attribute_hidden.
30550 (__random_r): Likewise.
30551 (__srandom_r): Likewise.
30552 (__initstate_r): Likewise.
30553 (__setstate_r): Likewise.
30554 (__erand48_r): Likewise.
30555 (__nrand48_r): Likewise.
30556 (__jrand48_r): Likewise.
30557 (__srand48_r): Likewise.
30558 (__seed48_r): Likewise.
30559 (__lcong48_r): Likewise.
30560 (__drand48_iterate): Likewise.
30561 (__setenv): Likewise.
30562 (__unsetenv): Likewise.
30563 (__clearenv): Likewise.
30564 (__ptsname_r): Likewise.
30565 (__posix_openpt): Likewise.
30566 (__add_to_environ): Likewise.
30567 (__realpath): Add libc_hidden_proto.
30568 (__ecvt_r): Likewise.
30569 (__fcvt_r): Likewise.
30570 (__qecvt_r): Likewise.
30571 (__qfcvt_r): Likewise.
30572 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
30573 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
30575 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30578 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
30579 * include/time.h (__mktime_internal): Likewise.
30580 * libio/iolibio.h (__fopen_internal): Likewise.
30582 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
30584 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
30586 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
30587 Correct offset used to restore PIC register.
30589 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
30592 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
30593 code to load address of __getcontext_ret when generating PIC code.
30595 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
30597 * elf/Makefile (tests-static-internal): Add
30598 tst-tls1-static-non-pie.
30599 (LDFLAGS-tst-tls1-static-non-pie): New.
30600 * elf/tst-tls1-static-non-pie.c: New file.
30602 2017-09-29 Joseph Myers <joseph@codesourcery.com>
30604 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
30605 (asinh): Define using libm_alias_double.
30606 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
30607 (cbrt): Define using libm_alias_double.
30608 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
30609 <libm-alias-double.h>.
30610 (copysign): Define using libm_alias_double.
30611 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
30612 (erf): Define using libm_alias_double.
30614 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
30615 (expm1): Define using libm_alias_double.
30616 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
30617 (fabs): Define using libm_alias_double.
30618 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
30620 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
30621 <libm-alias-double.h>.
30622 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
30624 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
30625 <libm-alias-double.h>.
30626 (getpayload): Define using libm_alias_double.
30627 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
30628 <libm-alias-double.h>.
30629 (llrint): Define using libm_alias_double.
30630 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
30631 (lrint): Define using libm_alias_double.
30632 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
30633 <libm-alias-double.h>.
30634 (nextup): Define using libm_alias_double.
30635 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
30636 <libm-alias-double.h>.
30637 (roundeven): Define using libm_alias_double.
30638 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
30640 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
30641 <libm-alias-double.h>.
30642 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
30643 using libm_alias_double.
30644 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
30645 (cos): Define using libm_alias_double.
30647 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
30648 <libm-alias-double.h>.
30649 (sincos): Define using libm_alias_double.
30650 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
30651 (tanh): Define using libm_alias_double.
30652 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
30653 <libm-alias-double.h>.
30654 (totalorder): Define using libm_alias_double.
30655 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
30656 <libm-alias-double.h>.
30657 (totalordermag): Define using libm_alias_double.
30658 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
30660 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
30662 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
30663 <libm-alias-double.h>.
30664 (getpayload): Define using libm_alias_double.
30665 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
30666 <libm-alias-double.h>.
30667 (roundeven): Define using libm_alias_double.
30668 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
30669 <libm-alias-double.h>.
30670 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
30671 <libm-alias-double.h>.
30672 (totalorder): Define using libm_alias_double.
30673 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
30674 <libm-alias-double.h>.
30675 (totalordermag): Define using libm_alias_double.
30676 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
30677 libc compat symbol here.
30678 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
30679 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
30680 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
30681 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
30682 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
30683 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
30684 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
30685 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
30686 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
30687 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
30689 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30691 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
30692 _dl_relocate_static_pie instead of _dl_start to compute load
30693 address in static PIE. Return 0 if _DYNAMIC is undefined for
30696 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30698 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
30699 _DYNAMIC is undefined for static executable.
30701 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30703 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
30705 2017-09-29 Joseph Myers <joseph@codesourcery.com>
30707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30709 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30711 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
30712 (__ieee754_lgamma_r): Use fabs rather than __fabs.
30713 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30714 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30715 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
30716 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
30717 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
30718 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
30719 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
30720 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30721 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
30722 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
30723 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30724 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30725 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30726 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30727 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
30729 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30731 * math/bits/cmathcalls.h (cimag): Remove inline.
30732 (creal): Remove inline.
30733 (conj): Remove inline.
30735 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30737 * math/Makefile (type-float-routines): Add e_powf_log2_data.
30738 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
30739 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
30740 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
30741 (issignalingf_inline): Likewise.
30742 (POWF_LOG2_TABLE_BITS): Likewise.
30743 (POWF_LOG2_POLY_ORDER): Likewise.
30744 (POWF_SCALE_BITS): Likewise.
30745 (POWF_SCALE): Likewise.
30746 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
30747 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
30748 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
30750 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30752 * math/Makefile (type-float-routines): Add e_log2f_data.
30753 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
30754 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
30755 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
30756 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
30757 * sysdeps/i386/fpu/e_log2f_data.c: New file.
30758 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
30759 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
30761 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30763 * math/Makefile (type-float-routines): Add e_logf_data.
30764 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
30765 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
30766 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
30767 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
30768 * sysdeps/i386/fpu/e_logf_data.c: New file.
30769 * sysdeps/ia64/fpu/e_logf_data.c: New file.
30770 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
30772 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
30774 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
30775 undefined _DYNAMIC in PIE libc.a.
30776 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30779 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30781 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
30782 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
30783 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
30784 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
30785 (__signbit): Remove.
30786 (__signbitl): Remove.
30787 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
30788 (__signbit): Remove.
30789 (__signbitl): Remove.
30790 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
30791 (__signbit): Remove.
30792 (__signbitl): Remove.
30793 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
30794 (__signbit): Remove.
30795 (__signbitl): Remove.
30796 * sysdeps/tile/bits/mathinline.h: Delete file.
30797 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
30798 (__signbit): Remove.
30799 (__signbitl): Remove.
30801 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30803 * math/math.h: Improve handling of C99 isgreater macros.
30804 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
30805 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
30806 * sysdeps/powerpc/bits/mathinline.h: Likewise.
30807 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30808 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
30810 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
30812 * sysdeps/aarch64/libm-test-ulps: Update.
30814 2017-09-28 Joseph Myers <joseph@codesourcery.com>
30817 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30818 math_opt_barrier on argument when doing arithmetic on it.
30819 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30820 Likewise. Use math_force_eval not math_opt_barrier after
30822 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
30823 math_opt_barrier on argument when doing arithmetic on it.
30824 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30827 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
30829 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
30831 (__freeifaddrs): Likewise.
30833 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30835 * include/dirent.h (__dirfd): New declaration.
30836 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
30838 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
30839 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
30840 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
30841 * include/unistd.h (__revoke): New declaration.
30842 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
30844 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
30845 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
30847 * include/dirent.h (__seekdir): New declaration.
30848 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
30849 redefine as weak alias.
30850 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
30852 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
30853 and use libc_hidden_def on them.
30854 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
30856 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
30857 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
30858 instead of getifaddrs and freeifaddrs.
30860 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30863 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
30864 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
30865 (__dso_handle): Remove declaration.
30866 * dlfcn/tstatexit.c (__dso_handle): Removed.
30867 (main): Don't check __dso_handle.
30868 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
30869 (main): Don't check __dso_handle.
30870 * include/dso_handle.h: New file.
30871 * malloc/mtrace.c: Include <dso_handle.h>.
30872 (mtrace): Pass __dso_handle directly.
30873 * nptl/pthread_atfork.c: Include <dso_handle.h>.
30874 (__dso_handle): Remove declaration.
30875 (__pthread_atfork): Pass __dso_handle directly.
30876 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
30877 (__dso_handle): Removed.
30878 * posix/wordexp-test.c: Include <dso_handle.h>.
30879 (__dso_handle): Remove declaration.
30880 (__app_register_atfork): Pass __dso_handle directly.
30881 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
30882 (__dso_handle): Remove declaration.
30883 (at_quick_exit): Pass __dso_handle directly.
30884 * stdlib/atexit.c: Include <dso_handle.h>.
30885 (__dso_handle): Remove declaration.
30886 (atexit): Pass __dso_handle directly.
30887 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
30888 (__dso_handle): Removed.
30890 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30892 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
30895 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
30897 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
30898 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
30899 values to correct default value for given type.
30901 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30904 * elf/Makefile (tests): Add tst-debug1.
30905 ($(objpfx)tst-debug1): New.
30906 ($(objpfx)tst-debug1.out): Likewise.
30907 ($(objpfx)tst-debug1mod1.so): Likewise.
30908 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
30909 with p_filesz == 0.
30910 * elf/tst-debug1.c: New file.
30912 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30914 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
30915 Define using __ifunc.
30917 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30919 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
30922 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30925 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
30927 2017-09-26 Florian Weimer <fweimer@redhat.com>
30929 * resolv/Makefile (tests-internal): Fix typo in comment.
30931 2017-09-26 Florian Weimer <fweimer@redhat.com>
30933 * resolv/nss_dns/dns-host.c: Fix typo in comment.
30935 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30937 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
30938 Use an union instead of a max_align_t array for __space,
30939 so that __space is the same size on all platforms.
30940 * malloc/scratch_buffer_grow_preserve.c
30941 (__libc_scratch_buffer_grow_preserve): Likewise.
30944 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
30946 * posix/Makefile (routines): Add glob-lstat-compat and
30947 glob64-lstat-compat.
30948 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
30949 * posix/glob-lstat-compat.c: New file.
30950 * posix/glob64-lstat-compat.c: Likewise.
30951 * posix/tst-glob_lstat_compat.c: Likewise.
30952 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
30953 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
30954 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
30955 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
30957 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
30958 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30959 * posix/glob.c (glob_lstat): New function.
30960 (glob): Rename to __glob and add versioned symbol to 2.27.
30961 (glob_in_dir): Use glob_lstat.
30962 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
30963 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
30964 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
30966 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
30967 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
30968 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
30969 gl_lstat on glob call.
30970 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
30971 and glob64 symbols.
30972 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30973 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
30974 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
30975 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
30976 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
30977 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
30978 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
30979 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
30980 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
30981 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30982 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30983 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
30984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
30986 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
30987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
30988 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30989 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30990 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
30991 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30992 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
30994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
30995 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
30996 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
30997 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
30999 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
31001 * configure.ac (AS): Require binutils 2.25 or later.
31002 * configure: Regenerated.
31004 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
31007 * stdlib/test-atexit-race-common.c (do_test): Minimize required
31010 2017-09-25 DJ Delorie <dj@redhat.com>
31013 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
31016 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
31018 * sysdeps/ieee754/dbl-64/sincos32.h
31019 [SINCCOS32_H]: Remove define.
31020 [SINCOS32_H]: Define.
31022 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31024 * math/Versions (expf): New libm symbol at GLIBC_2.27.
31026 * math/w_exp2f.c: New file.
31027 * math/w_expf.c: New file.
31028 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
31029 * math/w_expf_compat.c (__expf_compat): Likewise.
31030 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
31031 * sysdeps/ia64/fpu/e_expf.S: Likewise.
31032 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31033 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31034 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31035 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31036 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31037 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31038 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31039 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31040 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31041 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31042 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31043 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31052 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31053 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31054 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31055 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31056 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31061 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31062 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31063 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31065 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31067 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
31068 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
31069 (roundtoint, converttoint): Likewise.
31070 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
31071 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
31072 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
31073 * sysdeps/ieee754/flt-32/math_config.h: New file.
31074 * sysdeps/ieee754/flt-32/math_errf.c: New file.
31075 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
31076 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
31077 * sysdeps/i386/fpu/math_errf.c: New file.
31078 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
31079 * sysdeps/ia64/fpu/math_errf.c: New file.
31080 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
31081 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
31083 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
31085 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
31086 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
31087 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
31088 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
31089 to make sure that these symbols are defined.
31090 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
31092 (__need_NULL): Do not define.
31093 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
31095 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
31096 CMGROUP_MAX, cmsgcred): Do not define.
31097 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
31099 * bits/socket.h: Likewise.
31100 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
31101 __gettimeofday instead of gettimeofday.
31102 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
31103 instead of settimeofday.
31105 2017-09-22 Joseph Myers <joseph@codesourcery.com>
31107 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
31108 (asinhf): Define using libm_alias_float.
31109 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
31110 (atanf): Define using libm_alias_float.
31111 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
31112 (cbrtf): Define using libm_alias_float.
31113 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
31114 (ceilf): Define using libm_alias_float.
31115 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
31116 <libm-alias-float.h>.
31117 (copysignf): Define using libm_alias_float.
31118 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
31119 (cosf): Define using libm_alias_float.
31120 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
31121 (erff): Define using libm_alias_float.
31123 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
31124 (expm1f): Define using libm_alias_float.
31125 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
31126 (fabsf): Define using libm_alias_float.
31127 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
31128 (floorf): Define using libm_alias_float.
31129 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
31130 (frexpf): Define using libm_alias_float.
31131 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
31133 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
31134 <libm-alias-float.h>.
31135 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
31137 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
31138 <libm-alias-float.h>.
31139 (getpayloadf): Define using libm_alias_float.
31140 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
31141 <libm-alias-float.h>.
31142 (llrintf): Define using libm_alias_float.
31143 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
31144 <libm-alias-float.h>.
31145 (llroundf): Define using libm_alias_float.
31146 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
31147 (logbf): Define using libm_alias_float.
31148 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
31149 (lrintf): Define using libm_alias_float.
31150 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
31151 (lroundf): Define using libm_alias_float.
31152 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
31153 (modff): Define using libm_alias_float.
31154 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
31155 <libm-alias-float.h>.
31156 (nearbyintf): Define using libm_alias_float.
31157 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
31158 <libm-alias-float.h>.
31159 (nextafterf): Define using libm_alias_float.
31160 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
31161 <libm-alias-float.h>.
31162 (nextupf): Define using libm_alias_float.
31163 * sysdeps/ieee754/flt-32/s_remquof.c: Include
31164 <libm-alias-float.h>.
31165 (remquof): Define using libm_alias_float.
31166 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
31167 (rintf): Define using libm_alias_float.
31168 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
31169 <libm-alias-float.h>.
31170 (roundevenf): Define using libm_alias_float.
31171 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
31172 (roundf): Define using libm_alias_float.
31173 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
31174 using libm_alias_float.
31175 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
31176 <libm-alias-float.h>.
31177 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
31178 Define using libm_alias_float.
31179 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
31180 <libm-alias-float.h>.
31181 (sincosf): Define using libm_alias_float.
31182 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
31183 (sinf): Define using libm_alias_float.
31184 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
31185 (tanf): Define using libm_alias_float.
31186 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
31187 (tanhf): Define using libm_alias_float.
31188 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
31189 <libm-alias-float.h>.
31190 (totalorderf): Define using libm_alias_float.
31191 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
31192 <libm-alias-float.h>.
31193 (totalordermagf): Define using libm_alias_float.
31194 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
31195 (truncf): Define using libm_alias_float.
31196 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
31198 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
31201 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31204 math/math.h: Let fpclassify use the builtin in C++ mode, even
31205 when optimazing for size.
31207 2017-09-22 Joseph Myers <joseph@codesourcery.com>
31209 * csu/Makefile (generated): Do not add version-info.h.
31210 (before-compile): Likewise.
31211 (all-Banner-files): Remove variable.
31212 ($(objpfx)version-info.h): Remove rule.
31213 * csu/version.c (banner): Do not include "version-info.h".
31214 * libidn/Banner: Remove.
31215 * manual/contrib.texi (Simon Josefsson): New entry.
31217 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31219 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31220 Remove conditionals on LDBL_MANT_DIG.
31221 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31222 (__ieee754_lgammal_r): Likewise.
31224 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31226 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
31228 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
31229 _Float128 and L(). Replace _Float128 with long double and L(x)
31230 with xL, throughout the file.
31231 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31232 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31233 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31234 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31236 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31238 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
31239 sysdeps/ieee754/ldbl-128ibm.
31240 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
31241 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
31242 of including it. Keep _Float128 and L() intact. These will be
31243 reviewed by a separate patch.
31244 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31245 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31246 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31247 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31249 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
31252 (__finitef128): Define to __redirect___finitef128.
31253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
31254 (__isinff128): Define to __redirect___isinff128.
31255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
31256 (__isnanf128): Define to __redirect___isnanf128.
31258 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31260 * sysdeps/powerpc/powerpc64le/Makefile
31261 (CFLAGS-tst-strtod-nan-locale.c): New variable.
31262 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
31264 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
31265 Carlos O'Donell <carlos@redhat.com>
31268 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
31269 * stdlib/test-dlclose-exit-race.c: New file.
31270 * stdlib/test-dlclose-exit-race-helper.c: New file.
31271 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
31273 2017-09-21 Joseph Myers <joseph@codesourcery.com>
31275 * crypt/Banner: Remove file.
31276 * nptl/Banner: Likewise.
31277 * resolv/Banner: Likewise.
31278 * soft-fp/Banner: Likewise.
31279 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
31280 ($(objpfx)version.d): Remove dependency on banner.h.
31281 ($(objpfx)version.os): Likewise.
31282 * nptl/version.c (banner): Do not include banner.h.
31283 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
31284 Jelinek and BIND code.
31286 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31287 Carlos O'Donell <carlos@redhat.com>
31289 * support/xdlfcn.h: New file.
31290 * support/xdlfcn.c: New file.
31291 * support/Makefile (libsupport-routines): Add xdlfcn.
31292 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
31294 2017-09-20 Joseph Myers <joseph@codesourcery.com>
31297 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31298 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
31299 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
31300 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
31301 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
31302 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
31303 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
31304 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
31306 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31307 Ricky Zhou <rickyz@google.com>
31308 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
31311 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
31313 (__new_exitfn): Fail registration when we finished at_exit processing.
31314 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31315 * stdlib/on_exit.c (__on_exit): Likewise.
31316 * stdlib/exit.c (__exit_funcs_done): New variable.
31317 (__run_exit_handlers): Use __exit_funcs_lock.
31318 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
31320 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
31321 (test-cxa_atexit-race, test-on_exit-race): New tests.
31322 * stdlib/test-atexit-race-common.c: New file.
31323 * stdlib/test-atexit-race.c: New file.
31324 * stdlib/test-at_quick_exit-race.c: New file.
31325 * stdlib/test-cxa_atexit-race.c: New file.
31326 * stdlib/test-on_exit-race.c: New file.
31328 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
31330 * benchtests/Makefile: Add exp2f and log2f benchmarks.
31331 * benchtests/exp2f-inputs: Copy of expf-inputs.
31332 * benchtests/log2f-inputs: Copy of logf-inputs.
31334 2017-09-19 Joseph Myers <joseph@codesourcery.com>
31336 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
31337 Explicitly take address of first element of array arguments in
31338 call to INLINE_SYSCALL.
31340 2017-09-19 Andreas Schwab <schwab@suse.de>
31343 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
31345 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
31347 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
31348 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
31349 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31350 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
31351 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31352 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31353 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31354 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31355 * posix/Makefile (tests): Add tst-fexecve.
31356 * posix/tst-fexecve.c: New file.
31358 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31360 * benchtests/Makefile: Add logf benchmark.
31361 * benchtests/logf-inputs: Add reduced trace from wrf_r.
31363 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31365 * benchtests/Makefile: Add expf benchmark.
31366 * benchtests/expf-inputs: Add reduced trace from wrf_r.
31368 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31370 * csu/Makefile: Add -funwind-tables to libc-start.c.
31371 * debug/Makefile: Add -funwind-tables to backtrace.c.
31372 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
31373 * sysdeps/arm/Makefile: Likewise.
31374 * sysdeps/i386/Makefile: Likewise.
31375 * sysdeps/m68k/Makefile: Likewise.
31376 * sysdeps/mips/Makefile: Likewise.
31377 * sysdeps/nios2/Makefile: Likewise.
31378 * sysdeps/sh/Makefile: Likewise.
31379 * sysdeps/sparc/Makefile: Likewise.
31381 2017-09-19 Joseph Myers <joseph@codesourcery.com>
31383 * benchtests/Makefile (bench-math): Add trunc and truncf.
31384 (CFLAGS-bench-trunc.c): New variable.
31385 (CFLAGS-bench-truncf.c): Likewise.
31386 * benchtests/trunc-inputs: New file.
31387 * benchtests/truncf-inputs: Likewise.
31389 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31391 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
31393 2017-09-18 Joseph Myers <joseph@codesourcery.com>
31395 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
31396 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
31398 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31399 (exp10l): Define as weak alias.
31400 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
31401 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
31403 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
31404 (remainderl): Define as weak alias.
31406 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
31407 (fmal): Define using libm_alias_ldouble.
31408 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
31409 (acoshl): Define using libm_alias_ldouble.
31410 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
31411 (acosl): Define using libm_alias_ldouble.
31412 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
31413 (asinl): Define using libm_alias_ldouble.
31414 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
31415 (atan2l): Define using libm_alias_ldouble.
31416 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
31417 (atanhl): Define using libm_alias_ldouble.
31418 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
31419 (coshl): Define using libm_alias_ldouble.
31420 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
31421 (exp10l): Define using libm_alias_ldouble.
31422 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
31423 (exp2l): Define using libm_alias_ldouble.
31424 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
31425 (expl): Define using libm_alias_ldouble.
31426 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
31427 (fmodl): Define using libm_alias_ldouble.
31428 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
31429 (hypotl): Define using libm_alias_ldouble.
31430 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
31431 (j0l): Define using libm_alias_ldouble.
31433 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
31434 (j1l): Define using libm_alias_ldouble.
31436 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
31437 (jnl): Define using libm_alias_ldouble.
31439 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
31440 (log10l): Define using libm_alias_ldouble.
31441 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
31442 (log2l): Define using libm_alias_ldouble.
31443 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
31444 (logl): Define using libm_alias_ldouble.
31445 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
31446 (powl): Define using libm_alias_ldouble.
31447 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
31448 (remainderl): Define using libm_alias_ldouble.
31449 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
31450 (sinhl): Define using libm_alias_ldouble.
31451 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
31452 (sqrtl): Define using libm_alias_ldouble.
31453 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
31454 (tgammal): Define using libm_alias_ldouble.
31455 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
31456 (exp10l): Do not use long_double_symbol here.
31457 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31458 [LIBM_SVID_COMPAT] (remainderl): Likewise.
31459 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
31460 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31461 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31462 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31463 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31464 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31465 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31466 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31467 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31468 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31469 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31470 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31471 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31472 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31473 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31474 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31475 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31476 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31477 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31478 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31480 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
31482 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
31483 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
31485 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
31487 * io/read.c (read): Add libc_hidden_weak.
31488 * sysdeps/mach/hurd/read.c (read): Likewise.
31489 * io/write.c (write): Likewise.
31490 * sysdeps/mach/hurd/write.c (write): Likewise.
31491 * io/pread64.c (__pread64): Likewise.
31492 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
31493 * posix/pread64.c (__pread64): Add libc_hidden_def.
31495 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
31497 * benchtests/scripts/compare_strings.py: New option -g.
31498 (draw_graph): Print a message that a graph is being generated.
31499 (process_results): Generate graph only if -g is passed.
31500 (main): Process option -g.
31502 * benchtests/scripts/compare_strings.py (process_results):
31503 Better spacing for output.
31505 * benchtests/scripts/compare_strings.py: Use argparse.
31506 * benchtests/README: Document existence of compare_strings.py.
31508 2017-09-15 Joseph Myers <joseph@codesourcery.com>
31510 * math/s_fma.c: Include <libm-alias-double.h>.
31511 (fma): Define using libm_alias_double.
31512 * math/s_nextafter.c: Include <libm-alias-double.h>.
31513 (nextafter): Define using libm_alias_double.
31514 * math/w_acos_compat.c: Include <libm-alias-double.h>.
31515 (acos): Define using libm_alias_double.
31516 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
31517 (aocsh): Define using libm_alias_double.
31518 * math/w_asin_compat.c: Include <libm-alias-double.h>.
31519 (asin): Define using libm_alias_double.
31520 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
31521 (atan2): Define using libm_alias_double.
31522 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
31523 (atanh): Define using libm_alias_double.
31524 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
31525 (cosh): Define using libm_alias_double.
31526 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
31527 (exp10): Define using libm_alias_double.
31528 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
31529 (exp2): Define using libm_alias_double.
31530 * math/w_exp_compat.c: Include <libm-alias-double.h>.
31531 (exp): Define using libm_alias_double.
31532 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
31533 (fmod): Define using libm_alias_double.
31534 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
31535 (hypot): Define using libm_alias_double.
31536 * math/w_j0_compat.c: Include <libm-alias-double.h>.
31537 (j0): Define using libm_alias_double.
31539 * math/w_j1_compat.c: Include <libm-alias-double.h>.
31540 (j1): Define using libm_alias_double.
31542 * math/w_jn_compat.c: Include <libm-alias-double.h>.
31543 (jn): Define using libm_alias_double.
31545 * math/w_log10_compat.c: Include <libm-alias-double.h>.
31546 (log10): Define using libm_alias_double.
31547 * math/w_log2_compat.c: Include <libm-alias-double.h>.
31548 (log2): Define using libm_alias_double.
31549 * math/w_log_compat.c: Include <libm-alias-double.h>.
31550 (log): Define using libm_alias_double.
31551 * math/w_pow_compat.c: Include <libm-alias-double.h>.
31552 (pow): Define using libm_alias_double.
31553 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
31554 (remainder): Define using libm_alias_double.
31555 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
31556 (sinh): Define using libm_alias_double.
31557 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
31558 (sqrt): Define using libm_alias_double.
31559 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
31560 (tgamma): Define using libm_alias_double.
31561 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
31562 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
31563 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
31564 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
31565 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
31566 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
31567 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
31568 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
31569 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
31570 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
31571 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
31572 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
31573 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
31574 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
31575 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
31576 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
31577 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
31578 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
31579 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
31580 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
31581 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
31582 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
31583 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
31584 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
31585 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
31587 * math/e_acoshl.c: Remove.
31588 * math/e_acosl.c: Likewise.
31589 * math/e_asinl.c: Likewise.
31590 * math/e_atan2l.c: Likewise.
31591 * math/e_atanhl.c: Likewise.
31592 * math/e_coshl.c: Likewise.
31593 * math/e_expl.c: Likewise.
31594 * math/e_fmodl.c: Likewise.
31595 * math/e_gammal_r.c: Likewise.
31596 * math/e_hypotl.c: Likewise.
31597 * math/e_j0l.c: Likewise.
31598 * math/e_j1l.c: Likewise.
31599 * math/e_jnl.c: Likewise.
31600 * math/e_lgammal_r.c: Likewise.
31601 * math/e_log10l.c: Likewise.
31602 * math/e_log2l.c: Likewise.
31603 * math/e_logl.c: Likewise.
31604 * math/e_powl.c: Likewise.
31605 * math/e_rem_pio2l.c: Likewise.
31606 * math/e_sinhl.c: Likewise.
31607 * math/e_sqrtf128.c: Likewise.
31608 * math/e_sqrtl.c: Likewise.
31609 * math/k_cosl.c: Likewise.
31610 * math/k_sinl.c: Likewise.
31611 * math/k_tanl.c: Likewise.
31612 * math/s_asinhl.c: Likewise.
31613 * math/s_atanl.c: Likewise.
31614 * math/s_cbrtl.c: Likewise.
31615 * math/s_erfl.c: Likewise.
31616 * math/s_expm1l.c: Likewise.
31617 * math/s_log1pl.c: Likewise.
31618 * math/s_tanhl.c: Likewise.
31620 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31623 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
31624 [$(subdir) = math] (sysdep_calls): New variable. Has the
31625 previous contents of sysdep_routines, but re-sorted..
31626 [$(subdir) = math] (sysdep_routines): Re-use the contents from
31628 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
31629 defined in sysdep_calls and replace by the respective m_* names.
31630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
31631 (compat_symbol): Undefine to avoid duplicated compat symbols in
31634 2017-09-15 Joseph Myers <joseph@codesourcery.com>
31636 * math/s_fmaf.c: Include <libm-alias-float.h>.
31637 (fmaf): Define using libm_alias_float.
31638 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
31639 (acosf): Define using libm_alias_float.
31640 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
31641 (acoshf): Define using libm_alias_float.
31642 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
31643 (asinf): Define using libm_alias_float.
31644 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
31645 (atan2f): Define using libm_alias_float.
31646 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
31647 (atanhf): Define using libm_alias_float.
31648 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
31649 (coshf): Define using libm_alias_float.
31650 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
31651 (exp10f): Define using libm_alias_float.
31652 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
31653 (fmodf): Define using libm_alias_float.
31654 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
31655 (hypotf): Define using libm_alias_float.
31656 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
31657 (j0f): Define using libm_alias_float.
31659 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
31660 (j1f): Define using libm_alias_float.
31662 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
31663 (jnf): Define using libm_alias_float.
31665 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
31666 (log10f): Define using libm_alias_float.
31667 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
31668 (log2f): Define using libm_alias_float.
31669 * math/w_logf_compat.c: Include <libm-alias-float.h>.
31670 (logf): Define using libm_alias_float.
31671 * math/w_powf_compat.c: Include <libm-alias-float.h>.
31672 (powf): Define using libm_alias_float.
31673 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
31674 (remainderf): Define using libm_alias_float.
31675 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
31676 (sinhf): Define using libm_alias_float.
31677 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
31678 (sqrtf): Define using libm_alias_float.
31679 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
31680 (tgammaf): Define using libm_alias_float.
31682 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31684 * include/math.h (roundeven): Change hidden_proto call to
31686 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
31688 [NO_LONG_DOUBLE] (__j0l): New strong alias.
31689 (y0): Rename to __y0 and define as weak alias.
31690 [NO_LONG_DOUBLE] (__y0l): New strong alias.
31691 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
31693 (y0f): Rename to __y0f and define as weak alias.
31694 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
31696 [NO_LONG_DOUBLE] (__j1l): New strong alias.
31697 (y1): Rename to __y1 and define as weak alias.
31698 [NO_LONG_DOUBLE] (__y1l): New strong alias.
31699 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
31701 (y1f): Rename to __y1f and define as weak alias.
31702 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
31704 [NO_LONG_DOUBLE] (__jnl): New strong alias.
31705 (yn): Rename to __yn and define as weak alias.
31706 [NO_LONG_DOUBLE] (__ynl): New strong alias.
31707 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
31709 (ynf): Rename to __ynf and define as weak alias.
31710 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
31711 (fromfp): Define as weak alias.
31712 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
31713 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
31714 (fromfpx): Define as weak alias.
31715 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
31716 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
31717 __getpayload and define as weak alias.
31718 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31719 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
31720 __roundeven and define as weak alias.
31721 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31722 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
31724 (setpayload): Define as weak alias.
31725 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
31726 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
31728 (setpayloadsig): Define as weak alias.
31729 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
31730 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
31731 __totalorder and define as weak alias.
31732 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31733 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
31734 to __totalordermag and define as weak alias.
31735 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31736 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
31737 (ufromfp): Define as weak alias.
31738 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
31739 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
31741 (ufromfpx): Define as weak alias.
31742 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
31743 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
31744 Rename to __getpayload and define as weak alias.
31745 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31746 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
31747 Rename to __roundeven and define as weak alias.
31748 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31749 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
31750 Rename to __totalorder and define as weak alias.
31751 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31752 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
31753 (totalordermag): Rename to __totalordermag and define as weak
31755 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31756 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
31758 (__roundevenl): Likewise.
31759 (__totalorderl): Likewise.
31760 (__totalordermagl): Likewise
31761 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
31763 (fromfpf128): Define as weak alias.
31764 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
31766 (fromfpxf128): Define as weak alias.
31767 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
31769 (setpayloadf128): Define as weak alias.
31770 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
31771 __setpayloadsigf128.
31772 (setpayloadsigf128): Define as weak alias.
31773 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
31775 (ufromfpf128): Define as weak alias.
31776 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
31778 (ufromfpxf128): Define as weak alias.
31779 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
31780 (fromfpf): Define as weak alias.
31781 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
31783 (fromfpxf): Define as weak alias.
31784 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
31785 __getpayloadf and define as weak alias.
31786 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
31787 __roundevenf and define as weak alias.
31788 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
31790 (setpayloadf): Define as weak alias.
31791 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
31793 (setpayloadsigf): Define as weak alias.
31794 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
31795 __totalorderf and define as weak alias.
31796 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
31797 Rename to __totalordermagf and define as weak alias.
31798 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
31800 (ufromfpf): Define as weak alias.
31801 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
31803 (ufromfpxf): Define as weak alias.
31804 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
31806 (fromfpl): Define as weak alias.
31807 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
31809 (fromfpxl): Define as weak alias.
31810 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
31811 to __getpayloadl and define as weak alias.
31812 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
31813 __roundevenl and define as weak alias.
31814 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
31816 (setpayloadl): Define as weak alias.
31817 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
31819 (setpayloadsigl): Define as weak alias.
31820 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
31821 to __totalorderl and define as weak alias.
31822 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
31823 Rename to __totalordermagl and define as weak alias.
31824 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
31826 (ufromfpl): Define as weak alias.
31827 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
31829 (ufromfpxl): Define as weak alias.
31830 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
31832 (fromfpl): Define as weak alias.
31833 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
31835 (fromfpxl): Define as weak alias.
31836 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
31837 Rename to __getpayloadl and define as weak alias.
31838 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
31839 to __roundevenl and define as weak alias. Call __roundeven
31840 instead of roundeven.
31841 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
31843 (setpayloadl): Define as weak alias.
31844 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
31846 (setpayloadsigl): Define as weak alias.
31847 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
31848 Rename to __totalorderl and define as weak alias.
31849 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
31850 Rename to __totalordermagl and define as weak alias.
31851 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
31853 (ufromfpl): Define as weak alias.
31854 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
31856 (ufromfpxl): Define as weak alias.
31857 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
31859 (fromfpl): Define as weak alias.
31860 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
31862 (fromfpxl): Define as weak alias.
31863 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
31864 __getpayloadl and define as weak alias.
31865 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
31866 __roundevenl and define as weak alias.
31867 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
31869 (setpayloadl): Define as weak alias.
31870 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
31872 (setpayloadsigl): Define as weak alias.
31873 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
31874 __totalorderl and define as weak alias.
31875 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
31876 Rename to __totalordermagl and define as weak alias.
31877 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
31879 (ufromfpl): Define as weak alias.
31880 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
31882 (ufromfpxl): Define as weak alias.
31884 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
31886 * benchtests/bench-string.h (realloc_bufs): New function.
31887 (test_init): Call it.
31888 * benchtests/bench-memset-large.c (do_test): Likewise.
31889 * benchtests/bench-memset.c (do_test): Likewise.
31891 * benchtests/bench-memset-large.c: Print output in JSON
31893 * benchtests/bench-memset.c: Likewise.
31895 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31898 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
31899 * iconvdata/Makefile: Add IBM858.
31900 * iconvdata/gconv-modules: Likewise.
31901 * iconvdata/tst-tables.sh: Likewise.
31902 * iconvdata/ibm858.c: New file.
31903 * localedata/charmaps/IBM858: Likewise.
31905 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
31908 * locales/niu_NZ (LC_TIME): copy "niu_NU".
31909 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
31911 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31914 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
31915 and add tel_int_fmt.
31917 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31919 * sysdeps/generic/libm-alias-float128.h: New file.
31920 * sysdeps/generic/math-type-macros-float128.h: Include
31921 <libm-alias-float128.h>.
31922 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31924 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31926 * sysdeps/generic/libm-alias-ldouble.h: New file.
31927 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
31928 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
31929 * sysdeps/generic/math-type-macros-ldouble.h: Include
31930 <libm-alias-ldouble.h>.
31931 [!declare_mgen_alias] (declare_mgen_alias): Define to use
31932 libm_alias_ldouble.
31934 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
31936 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
31937 * math/w_exp_compat.c: ... here.
31938 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
31939 * math/w_expf_compat.c: ... here.
31940 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
31941 * math/w_expl_compat.c: ... here.
31942 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
31943 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
31944 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
31945 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31947 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31949 * math/w_scalbln_template.c (strong_alias): Do not undefine and
31951 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
31953 (ldexpl): Only define as compat symbol for libc, not libm.
31954 (scalbnl): Define as compat symbol for libc here.
31955 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
31956 define for [IS_IN (libc)].
31957 (__ldexpl_2): Remove alias.
31958 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
31959 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
31960 name in long_double_symbol call.
31961 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
31962 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31963 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31964 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
31965 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
31967 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
31968 Define as compat symbol.
31970 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31972 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
31973 * sysdeps/unix/sysv/linux/alpha/Makefile
31974 [$(subdir) = csu] (sysdep_routines): Remove rule.
31976 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31978 * sysdeps/generic/libm-alias-double.h: New file.
31979 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
31980 * sysdeps/generic/math-type-macros-double.h: Include
31981 <libm-alias-double.h>.
31982 [declare_mgen_alias] (declare_mgen_alias): Define to use
31984 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
31985 (M_LIBM_NEED_COMPAT): Remove macro.
31986 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
31987 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
31988 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
31990 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31991 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31992 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31993 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31994 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31995 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31996 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31997 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31998 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31999 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32000 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32001 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32002 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32003 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32004 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32005 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32006 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32007 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32008 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32009 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32010 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32011 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32012 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32013 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32014 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32015 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32016 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32017 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
32018 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
32020 (declare_mgen_alias): New macro.
32021 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
32022 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
32023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
32024 (M_LIBM_NEED_COMPAT): Remove macro.
32025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
32026 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
32027 <first-versions.h>.
32028 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
32029 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
32031 2017-09-12 Joseph Myers <joseph@codesourcery.com>
32033 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
32034 (declare_mgen_alias_2): Remove.
32035 * sysdeps/generic/math-type-macros-double.h
32036 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
32038 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
32040 (ldexp): Define with declare_mgen_alias.
32041 (scalbn): Likewise.
32043 2017-09-12 Steve Ellcey <sellcey@cavium.com>
32045 * grp/initgroups.c: Include config.h.
32046 (DEFAULT_CONFIG): New macro.
32047 (internal_getgrouplist): Use DEFAULT_CONFIG.
32048 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32049 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
32050 (DEFAULT_DEFCONFIG): New macro.
32051 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
32052 * nss/grp-lookup.c: Include config.h
32053 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
32054 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
32055 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
32056 * manual/nss.texi: Update default values section.
32058 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
32061 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
32063 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
32064 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32065 Handle MathVec_Prefer_No_AVX512.
32066 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
32067 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
32070 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
32072 * posix/sched_primax.c (__sched_get_priority_max): Add
32074 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
32075 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32076 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32077 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
32078 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
32079 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
32080 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
32081 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
32084 2017-09-11 Joseph Myers <joseph@codesourcery.com>
32086 * sysdeps/generic/libm-alias-float.h: New file.
32087 * sysdeps/generic/math-type-macros-float.h: Include
32088 <libm-alias-float.h>.
32089 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
32091 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
32094 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
32095 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
32096 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
32097 (HWCAP_IMPORTANT): Likewise.
32098 (HWCAP_X86_64): New enum.
32099 (HWCAP_X86_AVX512_1): Updated.
32100 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
32101 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
32102 (modules-names): Add x86_64/tst-x86_64mod-1.
32103 (LDFLAGS-tst-x86_64mod-1.so): New.
32104 ($(objpfx)tst-x86_64-1): Likewise.
32105 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
32106 (tst-x86_64-1-clean): Likewise.
32107 * sysdeps/x86_64/tst-x86_64-1.c: New file.
32108 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
32110 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32112 * po/sv.po: Update translations.
32113 * po/fr.po: Likewise.
32115 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32117 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
32119 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
32121 * elf/rtld-Rules: Fix $(error) use.
32123 2017-09-09 Mike FABIAN <mfabian@redhat.com>
32126 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
32127 * locale/iso-639.def: Change “Bengali” to “Bangla”.
32128 * localedata/locales/bn_BD: “Bengali” was still used in some
32129 comments. Change it to “Bangla”.
32131 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
32133 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
32135 2017-09-08 Steve Ellcey <sellcey@cavium.com>
32137 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
32138 thunderx2t99p1 to list of cpu names.
32139 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32140 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
32142 2017-09-08 Steve Ellcey <sellcey@cavium.com>
32144 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
32145 Use strcmp instead of tunable_is_name.
32147 2017-09-08 Joseph Myers <joseph@codesourcery.com>
32149 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32150 (F_GET_RW_HINT): New macro.
32151 [__USE_GNU] (F_SET_RW_HINT): Likewise.
32152 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
32153 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
32154 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
32155 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
32156 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
32157 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
32158 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
32159 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
32161 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32162 (F_ADD_SEALS): New macro.
32163 [__USE_GNU] (F_GET_SEALS): Likewise.
32164 [__USE_GNU] (F_SEAL_SEAL): Likewise.
32165 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
32166 [__USE_GNU] (F_SEAL_GROW): Likewise.
32167 [__USE_GNU] (F_SEAL_WRITE): Likewise.
32169 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32171 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
32172 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
32173 * posix/glob_internal.h (__glob_pattern_type):
32174 * posix/glob.c (glob):
32175 * posix/glob_pattern_p.c (__glob_pattern_p):
32178 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
32179 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32180 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
32181 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
32182 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
32184 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
32185 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
32186 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32187 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32188 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32189 * sysdeps/wordsize-64/glob.c: Likewise.
32190 * sysdeps/wordsize-64/glob64.c: Likewise.
32191 * sysdeps/wordsize-64/globfree.c: Likewise.
32192 * sysdeps/wordsize-64/globfree64.c: Likewise.
32193 * sysdeps/unix/sysv/linux/glob.c: New file.
32194 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
32195 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
32196 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
32197 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32198 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
32199 adds !GLOB_NO_OLD_VERSION as an extra condition.
32200 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
32201 using relative path instead of absolute one.
32202 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
32203 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32204 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32205 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
32206 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
32207 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
32210 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
32211 (glob): Use the same scratch buffer for both getlogin_r and
32212 getpwnam_r. Don’t require preallocation of the login name. This
32213 simplifies storage allocation, and corrects the handling of
32217 * posix/glob.c (glob): Port recent patches to platforms
32218 lacking getpwnam_r.
32219 (glob): Fix longstanding misuse of errno after getpwnam_r, which
32220 returns an error number rather than setting errno.
32222 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
32223 instead of GCC extension.
32224 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
32225 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
32226 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
32230 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
32231 * posix/bug-glob1.c: Remove file.
32232 * posix/tst-glob_symlinks.c: New file.
32233 * posix/glob.c (__lstat64): New macro.
32234 (is_dir): New function.
32235 (glob, glob_in_dir): Match symlinks even if they are dangling.
32236 (link_stat, link_exists_p): Remove. All uses removed.
32240 * posix/glob.c (struct readdir_result): Remove skip_entry member.
32241 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
32246 * posix/Makefile (routines): Add globfree, globfree64, and
32248 * posix/flexmember.h: New file.
32249 * posix/glob_internal.h: Likewise.
32250 * posix/glob_pattern_p.c: Likewise.
32251 * posix/globfree.c: Likewise.
32252 * posix/globfree64.c: Likewise.
32253 * sysdeps/gnu/globfree64.c: Likewise.
32254 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
32255 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32256 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
32257 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32258 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32259 * sysdeps/wordsize-64/globfree.c: Likewise.
32260 * sysdeps/wordsize-64/globfree64.c: Likewise.
32261 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
32262 [NDEBUG): Remove comments.
32263 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
32264 (dirent_type): New type. Use uint_fast8_t not
32265 uint8_t, as C99 does not require uint8_t.
32266 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
32267 (struct readdir_result): Use dirent_type. Do not define skip_entry
32268 unless it is needed; this saves a byte on platforms lacking d_ino.
32269 (readdir_result_type, readdir_result_skip_entry):
32270 New functions, replacing ...
32271 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
32272 these functions, which were removed. This makes the callers
32273 easier to read. All callers changed.
32274 (D_INO_TO_RESULT): Now empty if there is no d_ino.
32275 (size_add_wrapv, glob_use_alloca): New static functions.
32276 (glob, glob_in_dir): Check for size_t overflow in several places,
32277 and fix some size_t checks that were not quite right.
32278 Remove old code using SHELL since Bash no longer
32280 (glob, prefix_array): Separate MS code better.
32281 (glob_in_dir): Remove old Amiga and VMS code.
32282 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
32284 (glob_in_dir): Do not rely on undefined behavior in accessing
32285 struct members beyond their bounds. Use a flexible array member
32287 (link_stat): Rename from link_exists2_p and return -1/0 instead of
32288 0/1. Caller changed.
32289 (glob): Fix memory leaks.
32290 * posix/glob64 (globfree64): Move to separate file.
32291 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
32292 (globfree64): Remove hidden alias.
32293 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
32295 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
32297 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
32299 Move compat code to separate file.
32300 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
32303 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
32305 * resolv/tst-resolv-qtypes.c (domain): Changed to
32306 "const char domain[] =".
32308 2017-09-07 Joseph Myers <joseph@codesourcery.com>
32310 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
32313 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
32314 (TCP_MD5SIG_EXT): Likewise.
32315 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
32316 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
32317 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
32319 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
32321 2017-09-07 Mike FABIAN <mfabian@redhat.com>
32323 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
32325 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
32328 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
32330 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
32332 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
32333 before assuming that the file is empty. Avoid testing buffer content
32336 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32339 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32341 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
32343 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
32345 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
32347 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32349 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
32351 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
32354 2017-09-06 Florian Weimer <fweimer@redhat.com>
32356 * malloc/dynarray_emplace_enlarge.c
32357 (__libc_dynarray_emplace_enlarge): Add missing else.
32359 2017-09-06 Florian Weimer <fweimer@redhat.com>
32362 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
32363 case of failure to obtain the global conf object.
32365 2017-09-06 Florian Weimer <fweimer@redhat.com>
32368 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
32369 dynarray allocation failure.
32371 2017-09-06 Florian Weimer <fweimer@redhat.com>
32373 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
32374 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
32375 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
32377 (response): Call them. Add 'p', '6' flag processing.
32378 (test_reverse): New function.
32379 (test_get2_any): Call it.
32380 (test_no_inet6): Add 'p' test.
32381 (test_inet6): Likewise.
32383 2017-09-06 Florian Weimer <fweimer@redhat.com>
32385 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
32386 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
32388 (test_gai): Adjust query names. Add additional tests.
32389 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
32390 test_get2. Adjust query names. Add additional tests.
32391 (test_no_inet6): New function, extracted from threadfunc.
32392 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
32393 Add additional tests.
32395 2017-09-06 Mike FABIAN <mfabian@redhat.com>
32398 * localedata/unicode-gen/utf8_gen.py: Set the width for
32399 characters with Prepended_Concatenation_Mark property to 1
32400 * localedata/charmaps/UTF-8: Updated using the improved script.
32402 2017-09-06 Mike FABIAN <mfabian@redhat.com>
32405 * localedata/unicode-gen/utf8_gen.py: Improve the script to
32406 use the range notation for all ranges of neighbouring characters
32407 with the same width.
32409 2017-09-05 Joseph Myers <joseph@codesourcery.com>
32411 * sysdeps/generic/math-type-macros-double.h: Include
32412 <math-svid-compat.h>.
32413 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32414 * sysdeps/generic/math-type-macros-float.h: Include
32415 <math-svid-compat.h>.
32416 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32417 * sysdeps/generic/math-type-macros-ldouble.h: Include
32418 <math-svid-compat.h>.
32419 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32420 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
32422 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
32423 * math/w_acosf_compat.c: Likewise.
32424 * math/w_acosh_compat.c: Likewise.
32425 * math/w_acoshf_compat.c: Likewise.
32426 * math/w_acoshl_compat.c: Likewise.
32427 * math/w_acosl_compat.c: Likewise.
32428 * math/w_asin_compat.c: Likewise.
32429 * math/w_asinf_compat.c: Likewise.
32430 * math/w_asinl_compat.c: Likewise.
32431 * math/w_atan2_compat.c: Likewise.
32432 * math/w_atan2f_compat.c: Likewise.
32433 * math/w_atan2l_compat.c: Likewise.
32434 * math/w_atanh_compat.c: Likewise.
32435 * math/w_atanhf_compat.c: Likewise.
32436 * math/w_atanhl_compat.c: Likewise.
32437 * math/w_cosh_compat.c: Likewise.
32438 * math/w_coshf_compat.c: Likewise.
32439 * math/w_coshl_compat.c: Likewise.
32440 * math/w_exp10_compat.c: Likewise.
32441 * math/w_exp10f_compat.c: Likewise.
32442 * math/w_exp10l_compat.c: Likewise.
32443 * math/w_exp2_compat.c: Likewise.
32444 * math/w_exp2f_compat.c: Likewise.
32445 * math/w_exp2l_compat.c: Likewise.
32446 * math/w_fmod_compat.c: Likewise.
32447 * math/w_fmodf_compat.c: Likewise.
32448 * math/w_fmodl_compat.c: Likewise.
32449 * math/w_hypot_compat.c: Likewise.
32450 * math/w_hypotf_compat.c: Likewise.
32451 * math/w_hypotl_compat.c: Likewise.
32452 * math/w_j0_compat.c: Likewise.
32453 * math/w_j0f_compat.c: Likewise.
32454 * math/w_j0l_compat.c: Likewise.
32455 * math/w_j1_compat.c: Likewise.
32456 * math/w_j1f_compat.c: Likewise.
32457 * math/w_j1l_compat.c: Likewise.
32458 * math/w_jn_compat.c: Likewise.
32459 * math/w_jnf_compat.c: Likewise.
32460 * math/w_jnl_compat.c: Likewise.
32461 * math/w_lgamma_r_compat.c: Likewise.
32462 * math/w_lgammaf_r_compat.c: Likewise.
32463 * math/w_lgammal_r_compat.c: Likewise.
32464 * math/w_log10_compat.c: Likewise.
32465 * math/w_log10f_compat.c: Likewise.
32466 * math/w_log10l_compat.c: Likewise.
32467 * math/w_log2_compat.c: Likewise.
32468 * math/w_log2f_compat.c: Likewise.
32469 * math/w_log2l_compat.c: Likewise.
32470 * math/w_log_compat.c: Likewise.
32471 * math/w_logf_compat.c: Likewise.
32472 * math/w_logl_compat.c: Likewise.
32473 * math/w_pow_compat.c: Likewise.
32474 * math/w_powf_compat.c: Likewise.
32475 * math/w_powl_compat.c: Likewise.
32476 * math/w_remainder_compat.c: Likewise.
32477 * math/w_remainderf_compat.c: Likewise.
32478 * math/w_remainderl_compat.c: Likewise.
32479 * math/w_sinh_compat.c: Likewise.
32480 * math/w_sinhf_compat.c: Likewise.
32481 * math/w_sinhl_compat.c: Likewise.
32482 * math/w_sqrt_compat.c: Likewise.
32483 * math/w_sqrtf_compat.c: Likewise.
32484 * math/w_sqrtl_compat.c: Likewise.
32485 * math/w_tgamma_compat.c: Likewise.
32486 * math/w_tgammaf_compat.c: Likewise.
32487 * math/w_tgammal_compat.c: Likewise.
32488 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
32489 [LIBM_SVID_COMPAT].
32490 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
32491 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
32492 [LIBM_SVID_COMPAT].
32493 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
32494 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
32495 [LIBM_SVID_COMPAT].
32496 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
32497 * sysdeps/i386/fpu/w_sqrt.c: New file.
32498 * sysdeps/ia64/fpu/w_acos.c: Likewise.
32499 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
32500 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
32501 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
32502 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
32503 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
32504 * sysdeps/ia64/fpu/w_asin.c: Likewise.
32505 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
32506 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
32507 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
32508 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
32509 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
32510 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
32511 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
32512 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
32513 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
32514 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
32515 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
32516 * sysdeps/ia64/fpu/w_exp.c: Likewise.
32517 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
32518 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
32519 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
32520 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
32521 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
32522 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
32523 * sysdeps/ia64/fpu/w_expf.c: Likewise.
32524 * sysdeps/ia64/fpu/w_expl.c: Likewise.
32525 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
32526 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
32527 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
32528 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
32529 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
32530 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
32531 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
32532 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
32533 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
32534 * sysdeps/ia64/fpu/w_log.c: Likewise.
32535 * sysdeps/ia64/fpu/w_log10.c: Likewise.
32536 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
32537 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
32538 * sysdeps/ia64/fpu/w_log2.c: Likewise.
32539 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
32540 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
32541 * sysdeps/ia64/fpu/w_logf.c: Likewise.
32542 * sysdeps/ia64/fpu/w_logl.c: Likewise.
32543 * sysdeps/ia64/fpu/w_pow.c: Likewise.
32544 * sysdeps/ia64/fpu/w_powf.c: Likewise.
32545 * sysdeps/ia64/fpu/w_powl.c: Likewise.
32546 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
32547 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
32548 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
32549 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
32550 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
32551 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
32552 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
32553 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
32554 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
32555 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
32556 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
32557 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
32558 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
32559 [LIBM_SVID_COMPAT].
32560 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32561 * sysdeps/ieee754/k_standard.c: Likewise.
32562 * sysdeps/ieee754/k_standardf.c: Likewise.
32563 * sysdeps/ieee754/k_standardl.c: Likewise.
32564 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32565 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32566 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32567 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
32568 long_double_symbol call on [LIBM_SVID_COMPAT].
32569 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32570 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32571 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32572 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32573 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32574 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32575 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32576 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32577 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32578 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32579 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32580 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
32581 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32582 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32583 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32584 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32585 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
32586 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32587 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32588 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32589 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
32590 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
32592 2017-09-05 Steve Ellcey <sellcey@cavium.com>
32594 * include/shlib-compat.h (TEST_COMPAT): New Macro.
32595 * malloc/tst-mallocstate.c: Convert from test-skeleton
32596 to test-driver. Ifdef code using TEST_COMPAT macro.
32597 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
32598 * math/test-matherr.c: Likewise.
32600 2017-09-05 Joseph Myers <joseph@codesourcery.com>
32603 * debug/pcprofiledump.c (main): Use byte-swapped mask when
32604 comparing word with byte-swapped constant.
32606 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
32609 * locale/iso-639.def: add Miskito.
32610 * localedata/SUPPORTED: Add miq_NI/UTF-8.
32611 * localedata/locales/miq_NI: New file.
32613 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
32616 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
32617 (__mkdir): Likewise.
32618 * io/chmod.c (__chmod): Add libc_hidden_def.
32619 * io/mkdir.c (__mkdir): Likewise.
32620 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
32621 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
32622 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
32623 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
32625 2017-09-04 Joseph Myers <joseph@codesourcery.com>
32627 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
32631 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
32632 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
32634 2017-09-04 Florian Weimer <fweimer@redhat.com>
32636 * math/math.h: Issue warning if log is defined.
32638 2017-09-04 Joseph Myers <joseph@codesourcery.com>
32640 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
32641 kernel version to 4.13.
32643 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
32645 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
32646 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
32648 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
32649 just <bits/types.h>.
32650 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
32651 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
32652 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
32653 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
32654 * misc/preadv2.c: Include <errno.h>.
32655 * misc/preadv64v2.c: Include <errno.h>.
32656 * misc/pwritev2.c: Include <errno.h>.
32657 * misc/pwritev64v2.c: Include <errno.h>.
32658 * sysdeps/posix/preadv2.c: Include <errno.h>.
32659 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
32660 Fix <unistd.h> inclusion.
32661 * sysdeps/posix/pwritev2.c: Include <errno.h>.
32662 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
32663 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
32664 __strtoul_internal): New functions.
32665 * sysdeps/posix/pause.c: Include <sigsetops.h>.
32666 * sysdeps/posix/system.c: Include <sigsetops.h>.
32667 * sysdeps/mach/hurd/i386/Makefile
32668 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
32669 [$(subdir) = csu] (sysdep-only-routines): Likewise.
32670 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
32671 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
32672 __feraiseexcept_renamed to feraiseexcept instead of
32673 __GI_feraiseexcept.
32674 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
32675 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
32676 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
32677 RWF_NOWAIT): Define to 0 if undefined already.
32678 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
32680 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
32681 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
32683 2017-09-01 Joseph Myers <joseph@codesourcery.com>
32685 * manual/math.texi (pow10): Do not document.
32686 (pow10f): Likewise.
32687 (pow10l): Likewise.
32688 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
32689 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
32690 * math/libm-test-exp10.inc (pow10_test): Remove.
32691 (do_test): Do not call pow10.
32692 * math/w_exp10_compat.c (pow10): Make into compat symbol.
32693 [NO_LONG_DOUBLE] (pow10l): Likewise.
32694 * math/w_exp10f_compat.c (pow10f): Likewise.
32695 * math/w_exp10l_compat.c (pow10l): Likewise.
32696 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
32697 (pow10): Make into compat symbol.
32698 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
32699 (pow10f): Make into compat symbol.
32700 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
32701 (pow10l): Make into compat symbol.
32702 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
32704 (CFLAGS-nldbl-pow10.c): Remove variable..
32705 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
32706 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
32707 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
32708 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
32709 Undefine and redefine.
32710 (pow10l): Make into compat symbol.
32711 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
32712 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32713 * sysdeps/arm/libm-test-ulps: Likewise.
32714 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
32715 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32716 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
32717 * sysdeps/microblaze/libm-test-ulps: Likewise.
32718 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32719 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32720 * sysdeps/nios2/libm-test-ulps: Likewise.
32721 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32722 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32723 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32724 * sysdeps/sh/libm-test-ulps: Likewise.
32725 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32726 * sysdeps/tile/libm-test-ulps: Likewise.
32727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32729 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32731 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
32733 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32735 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
32736 "../ChangeLog.old/ChangeLog.8".
32737 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
32738 "../ChangeLog.old/ChangeLog.14".
32740 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32742 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
32745 2017-09-01 Joseph Myers <joseph@codesourcery.com>
32747 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
32749 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32751 * csu/version.c (banner): Remove "by Roland McGrath et al.".
32752 * nptl/Banner: Remove "by Ulrich Drepper et al.".
32754 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32756 * stdlib/tst-atexit-common.c (do_test): Test support for at least
32757 32 atexit handlers.
32759 2017-09-01 Zack Weinberg <zackw@panix.com>
32761 * math/math.h (HUGE_VAL): Improve commentary.
32763 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32764 Andreas Schwab <schwab@suse.de>
32767 * include/stdio.h (__gen_tempfd): New function.
32768 * stdio-common/Makefile (routines): Add gentempfd.
32769 * stdio-common/gentempfd.c: New file.
32770 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
32771 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
32772 unnamed file first.
32774 2017-09-01 Florian Weimer <fweimer@redhat.com>
32778 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
32779 result to determine success or failure, not the errno value.
32780 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
32781 (tst-nss-files-hosts-erange): Link with -ldl.
32782 * nss/tst-nss-files-hosts-erange.c: New file.
32783 * nss/tst-resolv-basic.c (response): Handle nodata.example.
32784 (do_test): Add NO_DATA tests.
32785 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
32786 (do_test): Call it.
32788 2017-09-01 Florian Weimer <fweimer@redhat.com>
32791 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
32792 coming from gethostbyname2_r.
32794 2017-09-01 Florian Weimer <fweimer@redhat.com>
32796 * support/namespace.h (struct support_chroot_configuration): Add
32798 (struct support_chroot): Add path_hosts, path_host_conf.
32799 * support/support_chroot.c (write_file): New function.
32800 (support_chroot_create): Call it to process /etc/resolv.conf,
32801 /etc/hosts, /etc/host.conf.
32802 (support_chroot_free): Update.
32804 2017-09-01 Florian Weimer <fweimer@redhat.com>
32806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
32807 status indicates it is set.
32809 2017-09-01 Florian Weimer <fweimer@redhat.com>
32812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
32813 function lookup failures more reliable.
32815 2017-09-01 Florian Weimer <fweimer@redhat.com>
32817 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
32818 (getcanonname): Likewise.
32819 (gaih_inet): Likewise.
32821 2017-09-01 Florian Weimer <fweimer@redhat.com>
32823 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
32824 (getcanonname): Likewise.
32825 (gaih_inet): Likewise.
32827 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32828 Richard Henderson <rth@twiddle.net>
32830 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
32831 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
32832 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
32833 (IREG_SIZE, OREG_SIZE): New macros.
32834 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
32835 (IREG_SIZE, OREG_SIZE): New macros.
32836 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
32837 (IREG_SIZE): New macro.
32838 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
32839 (IREG_SIZE): New macro.
32840 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
32842 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
32843 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32844 (__CONCATX): Handle exceptions correctly on large values that may
32846 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
32847 Initialize if not already set.
32848 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32850 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32852 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
32853 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
32855 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
32857 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
32859 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
32861 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
32863 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
32865 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
32867 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
32868 (NO_CANCELLATION): Likewise.
32869 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
32871 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
32873 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
32875 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
32876 (NO_CANCELLATION): Likewise.
32877 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
32878 (NO_CANCELLATION): Likewise.
32879 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
32881 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
32883 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
32885 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
32887 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
32889 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
32890 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
32892 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32894 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
32897 2017-08-31 Florian Weimer <fweimer@redhat.com>
32899 * include/libc-symbols.h (internal_function): Remove.
32901 2017-08-31 Florian Weimer <fweimer@redhat.com>
32903 * stdlib/fmtmsg.c (internal_addseverity): Remove
32906 2017-08-31 Florian Weimer <fweimer@redhat.com>
32908 * stdio-common/printf_fp.c (group_number): Remove
32910 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
32912 2017-08-31 Florian Weimer <fweimer@redhat.com>
32914 * posix/fnmatch.c (internal_function): Remove definition.
32915 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
32916 * posix/regcomp.c (peek_token, init_word_char)
32917 (duplicate_node_closure, fetch_token, peek_token)
32918 (peek_token_bracket, build_range_exp, build_collating_symbol):
32920 * posix/regex_internal.c (re_string_construct_common)
32921 (create_ci_newstate, create_cd_newstate, re_string_allocate)
32922 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
32923 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
32924 (re_string_translate_buffer, re_string_reconstruct)
32925 (re_string_peek_byte_case, re_string_fetch_byte_case)
32926 (re_string_destruct, re_string_context_at, re_node_set_alloc)
32927 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
32928 (re_node_set_add_intersect, re_node_set_init_union)
32929 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
32930 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
32931 (re_dfa_add_node, calc_state_hash, re_acquire_state)
32932 (re_acquire_state_context): Likewise.
32933 * posix/regex_internal.h (internal_function): Remove definition.
32934 (re_string_realloc_buffers, build_wcs_buffer)
32935 (build_wcs_upper_buffer, build_upper_buffer)
32936 (re_string_translate_buffer, re_string_context_at)
32937 (re_string_char_size_at, re_string_wchar_at)
32938 (re_string_elem_size_at): Likewise.
32939 * posix/regexec.c (match_ctx_init, match_ctx_clean)
32940 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
32941 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
32942 (re_search_internal, re_search_2_stub, re_search_stub)
32943 (re_copy_regs, prune_impossible_nodes, check_matching)
32944 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
32945 (free_fail_stack_return, sift_states_iter_mb)
32946 (sift_states_backward, build_sifted_states)
32947 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
32948 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
32949 (check_subexp_limits, sift_states_bkref, merge_state_array)
32950 (find_recover_state, transit_state, merge_state_with_log)
32951 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
32952 (transit_state_mb, transit_state_bkref, get_subexp)
32953 (get_subexp_sub, find_subexp_node, check_arrival)
32954 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
32955 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
32956 (check_node_accept_bytes, find_collation_sequence_value)
32957 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
32958 (acquire_init_state_context, check_halt_node_context)
32959 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
32960 (sub_epsilon_src_nodes): Likewise.
32961 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
32962 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
32963 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
32964 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
32965 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
32966 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
32967 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
32968 * sysdeps/posix/ttyname.c (getttyname): Likewise.
32969 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
32970 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
32971 (PREADV): Likewise.
32972 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
32973 (PREADV): Likewise.
32974 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
32975 (PWRITEV): Likewise.
32976 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
32977 (PWRITEV): Likewise.
32978 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
32979 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
32981 2017-08-31 Florian Weimer <fweimer@redhat.com>
32983 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
32984 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
32985 Remove internal_function.
32986 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32987 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
32988 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
32989 (__deallocate_stack, __libc_pthread_init)
32990 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
32991 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
32992 (__libc_disable_asynccancel, __librt_disable_asynccancel):
32994 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
32995 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
32996 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
32998 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
32999 (__pthread_mutex_unlock_usercnt): Likewise.
33001 2017-08-31 Florian Weimer <fweimer@redhat.com>
33003 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
33004 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
33005 (fts_safe_changedir): Remove internal_function.
33006 * io/ftw.c (internal_function): Remove definition.
33007 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
33009 2017-08-31 Florian Weimer <fweimer@redhat.com>
33011 * inet/deadline.c (__deadline_current_time)
33012 (__deadline_from_timeval, __deadline_to_ms): Remove
33014 * inet/getnameinfo.c (nrl_domainname): Likewise.
33015 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
33016 * inet/inet6_option.c (add_pad): Likewise.
33017 * inet/net-internal.h (__deadline_current_time)
33018 (__deadline_from_timeval, __deadline_to_ms): Likewise.
33019 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
33020 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
33021 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
33023 2017-08-31 Joseph Myers <joseph@codesourcery.com>
33025 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
33026 include <bits/nan.h>.
33027 * math/Makefile (headers): Remove bits/nan.h.
33028 * bits/nan.h: Remove.
33029 * sysdeps/ieee754/bits/nan.h: Likewise.
33030 * sysdeps/mips/bits/nan.h: Likewise.
33032 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
33033 not include <bits/inf.h>.
33034 * math/Makefile (headers): Remove bits/inf.h.
33035 * bits/inf.h: Remove.
33036 * sysdeps/ieee754/bits/inf.h: Likewise.
33038 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
33039 bits/huge_vall.h or bits/huge_val_flt128.h.
33040 (HUGE_VAL): Define directly here.
33041 [__USE_ISOC99] (HUGE_VALF): Likewise.
33042 [__USE_ISOC99] (HUGE_VALL): Likewise.
33043 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33044 (HUGE_VAL_F128): Likewise.
33045 * math/Makefile (headers): Remove bits/huge_val.h,
33046 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
33047 * bits/huge_val.h: Remove.
33048 * bits/huge_val_flt128.h: Likewise.
33049 * bits/huge_valf.h: Likewise.
33050 * bits/huge_vall.h: Likewise.
33051 * sysdeps/ia64/bits/huge_vall.h: Likewise.
33052 * sysdeps/ieee754/bits/huge_val.h: Likewise.
33053 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
33054 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
33055 * sysdeps/sh/bits/huge_val.h: Likewise.
33056 * sysdeps/sparc/bits/huge_vall.h: Likewise.
33057 * sysdeps/x86/bits/huge_vall.h: Likewise.
33059 2017-08-31 Florian Weimer <fweimer@redhat.com>
33061 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
33063 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
33065 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
33066 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33067 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
33068 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
33069 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33070 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33071 * elf/dl-libc.c (dlerror_run): Likewise.
33072 * elf/dl-load.c (add_name_to_object, decompose_rpath)
33073 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
33074 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
33075 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
33077 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
33078 (_dl_higher_prime_number, _dl_strtoul): Likewise.
33079 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
33080 * elf/dl-profile.c (_dl_start_profile): Likewise.
33081 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
33082 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
33084 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
33085 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
33086 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
33087 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
33088 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
33089 (_dl_allocate_tls_storage): Likewise.
33090 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
33091 (_dl_check_all_versions): Likewise.
33092 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
33093 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
33094 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
33095 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33096 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
33097 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
33098 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
33099 internal_function from __dl_start.
33100 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
33101 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
33102 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
33103 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
33104 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
33105 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
33106 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
33107 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
33108 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
33109 (_dl_next_ld_env_entry, _dl_important_hwcaps)
33110 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
33111 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
33112 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
33113 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
33114 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
33116 (struct rtld_global_ro): Remove internal_function from the
33117 _dl_lookup_symbol_x member.
33118 (_dl_symbol_value): Remove. No longer defined anywhere.
33119 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
33121 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33122 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33123 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
33124 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
33125 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
33126 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
33127 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
33128 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
33129 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
33130 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
33131 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33132 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33134 2017-08-31 Florian Weimer <fweimer@redhat.com>
33136 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
33137 Remove internal_function.
33138 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33140 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33143 2017-08-31 Florian Weimer <fweimer@redhat.com>
33145 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
33146 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
33147 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
33149 2017-08-31 Florian Weimer <fweimer@redhat.com>
33151 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
33152 (__gai_enqueue_request): Remove internal_function.
33153 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
33154 (__gai_remove_request, __gai_notify, __gai_notify_only)
33155 (__gai_sigqueue): Likewise.
33156 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
33157 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
33158 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
33159 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33162 2017-08-31 Florian Weimer <fweimer@redhat.com>
33164 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
33165 * include/dirent.h (__opendirat, __getdents, __getdents64)
33166 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
33167 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
33168 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33169 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
33171 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
33173 2017-08-31 Florian Weimer <fweimer@redhat.com>
33175 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
33177 (GETCWD_RETURN_TYPE): Likewise.
33179 2017-08-31 Florian Weimer <fweimer@redhat.com>
33181 * include/time.h (__tz_compute, __strptime_internal): Remove
33183 * time/strptime_l.c (__strptime_internal): Likewise.
33184 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
33186 2017-08-31 Florian Weimer <fweimer@redhat.com>
33188 * iconv/gconv.c (__gconv): Remove internal_function.
33189 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
33190 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
33191 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
33192 (__gconv_release_cache): Likewise.
33193 * iconv/gconv_close.c (__gconv_close): Likewise.
33194 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
33195 (read_conf_file, __gconv_get_path): Likewise.
33196 * iconv/gconv_db.c (derivation_lookup, add_derivation)
33197 (__gconv_release_step, gen_steps, increment_counter)
33198 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
33199 (__gconv_close_transform, free_modules_db): Likewise.
33200 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
33202 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
33203 (__gconv_find_transform, __gconv_lookup_cache)
33204 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
33205 (__gconv_close_transform, __gconv_release_cache)
33206 (__gconv_loaded_object, __gconv_release_shlib)
33207 (__gconv_compare_alias): Likewise.
33208 * iconv/gconv_open.c (__gconv_open): Likewise.
33209 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
33210 * iconv/iconvconfig.c (add_module): Likewise.
33211 * intl/dcigettext.c (plural_lookup, guess_category_value)
33212 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
33213 * intl/eval-plural.h (plural_eval): Likewise.
33214 * intl/finddomain.c (_nl_find_domain): Likewise.
33215 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
33216 (_nl_load_domain, _nl_find_msg): Likewise.
33217 (internal_function): Remove definition.
33218 * intl/loadinfo.h (internal_function): Likewise.
33219 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
33221 * intl/localealias.c (internal_function): Remove definition.
33222 (read_alias_file): Remove internal_function.
33223 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
33224 * intl/plural-exp.h (internal_function): Remove definition.
33225 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
33227 * intl/plural.c: Regenerate.
33228 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
33229 * locale/coll-lookup.c (__collidx_table_lookup)
33230 (__collseq_table_lookup): Likewise.
33231 * locale/coll-lookup.h (__collidx_table_lookup)
33232 (__collseq_table_lookup): Likewise.
33233 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
33234 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33235 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
33236 (_nl_unload_locale): Likewise.
33237 * locale/localeinfo.h (struct __locale_data): Remove
33238 internal_function from cleanup member.
33239 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
33240 (_nl_remove_locale, _nl_load_locale_from_archive)
33241 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
33242 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
33243 (_nl_cleanup_time): Remove internal_function.
33244 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
33245 (_nl_parse_alt_digit): Likewise.
33246 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
33247 (_nl_select_era_entry): Likewise.
33248 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
33249 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33250 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
33251 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33252 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
33254 2017-08-31 Florian Weimer <fweimer@redhat.com>
33256 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
33257 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
33258 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
33259 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
33261 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
33262 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
33263 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
33264 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33266 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
33268 2017-08-31 Florian Weimer <fweimer@redhat.com>
33270 * misc/getttyent.c (skip, value): Remove internal_function.
33271 * misc/syslog.c (openlog_internal): Likewise.
33272 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
33274 2017-08-31 Florian Weimer <fweimer@redhat.com>
33276 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
33277 (__nss_rewrite_field): Remove internal_function.
33278 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33279 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33280 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33281 * nss/nsswitch.c (nss_parse_file, nss_getline)
33282 (nss_parse_service_list, nss_new_service): Likewise.
33283 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
33284 * nss/valid_field.c (__nss_valid_field): Likewise.
33285 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
33287 2017-08-31 Florian Weimer <fweimer@redhat.com>
33289 * malloc/arena.c (__malloc_fork_lock_parent)
33290 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
33291 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
33292 internal_function from defintions.
33293 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
33294 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
33295 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
33296 internal_function from declarations.
33297 * malloc/malloc.c (internal_function): Do not define.
33298 (mem2mem_check): Remove internal_function from declaration.
33299 (munmap_chunk, mremap_chunk): Remove internal_function.
33300 * malloc/mtrace.c (tr_where): Likewise.
33302 2017-08-31 Florian Weimer <fweimer@redhat.com>
33304 * include/rpc/pmap_clnt.h (__get_socket): Remove
33306 * sunrpc/auth_des.c (synchronize): Likewise.
33307 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
33308 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
33309 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
33310 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
33311 (key_call): Likewise.
33312 * sunrpc/pm_getport.c (__get_socket): Likewise.
33313 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
33314 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
33315 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
33316 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
33317 (invalidate): Likewise.
33318 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
33319 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
33320 (set_input_fragment, get_input_bytes): Likewise.
33322 2017-08-31 Florian Weimer <fweimer@redhat.com>
33324 * malloc/malloc.c (_int_free): Remove locked variable and related
33327 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
33330 * Makerules (build-module-helper-objlist): Filter out
33331 $(elf-objpfx)sofini.os.
33332 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
33335 2017-08-31 Florian Weimer <fweimer@redhat.com>
33337 * libio/fcloseall.c: Assume weak_alias is defined.
33338 * libio/feof.c: Likewise.
33339 * libio/fileno.c: Likewise.
33340 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
33341 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33343 (_IO_file_open): Call __open directly.
33344 (_IO_new_file_sync): Assume ESPIPE is defined.
33345 (_IO_file_seekoff_maybe_mmap): Call __read directly.
33346 (_IO_new_file_write): Call __write directly.
33347 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
33348 * libio/ftello64.c (__ftello64): Assume EIO is defined.
33349 * libio/genops.c: Assume _LIBC is defined.
33350 (save_for_backup): Remove internal_function.
33351 * libio/getc.c: Assume weak_alias is defined.
33352 * libio/getwc.c: Likewise.
33353 * libio/iofclose.c: Assume _LIBC is defined.
33354 * libio/iofdopen.c: Likewise.
33355 (_IO_fcntl): Remove macro definition.
33356 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
33357 Call __fcntl directly.
33358 * libio/iofflush.c: Assume weak_alias is defined.
33359 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
33361 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
33362 * libio/iofgets.c: Likewise.
33363 * libio/iofopen.c: Assume _LIBC is defined.
33364 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
33365 * libio/iofputs.c: Assume weak_alias is defined.
33366 * libio/iofread.c: Likewise.
33367 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
33368 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
33369 * libio/ioftell.c: Assume weak_alias is defined.
33370 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
33371 * libio/iofwide.c: Assume _LIBC is defined.
33372 (_IO_fwide): Drop SHARED conditional because it is implied by
33374 * libio/iofwrite.c: Assume weak_alias is defined.
33375 * libio/iogetdelim.c: Likewise.
33376 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
33377 * libio/iogetwline.c (wmemcpy): Remove macro definition.
33378 (_IO_getwline): Call __wmemcpy directly.
33379 * libio/iopopen.c: Assume _LIBC is defined.
33380 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33381 (_IO_close): Remove macro definitions.
33382 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
33384 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
33386 * libio/ioputs.c: Assume weak_alias is defined.
33387 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
33388 * libio/iosetbuffer.c: Assume weak_alias is defined.
33389 * libio/iosetvbuf.c: Likewise.
33390 * libio/ioungetc.c: Likewise.
33391 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
33392 libc_hidden_def, libc_hidden_weak, NULL are defined.
33393 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
33394 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
33396 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33398 (_IO_old_file_init_internal): Drop SHARED conditional because it
33399 is implied by SHLIB_COMPAT.
33400 (_IO_old_file_fopen): Call __open directly.
33401 (_IO_old_file_sync): Assume ESPIPE is defined.
33402 (_IO_old_file_write): Call __write directly.
33403 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
33404 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
33405 Call __fcntl directly.
33406 * libio/oldiofgetpos.c: Assume weak_alias is defined.
33407 (_IO_old_fgetpos): Assume EIO is defined.
33408 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
33409 (_IO_old_fgetpos64): Assume EIO is defined.
33410 * libio/oldiofsetpos.c: Assume weak_alias is defined.
33411 (_IO_old_fsetpos): Assume EIO is defined.
33412 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
33413 (_IO_old_fsetpos64): Assume EIO is defined.
33414 * libio/oldiopopen.c: Assume _LIBC is defined.
33415 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33416 (_IO_close): Remove macro definitions.
33417 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
33419 (_IO_old_proc_close): Call __close, __waitpid directly.
33420 * libio/put.c: Assume weak_alias is defined.
33421 * libio/stdfiles.c: Assume _LIBC is defined.
33422 * libio/stdio.c: Likewise.
33423 * libio/wfileops.c: Likewise.
33424 (_IO_wfile_sync): Assume ESPIPE is defined.
33425 * libio/wgenops.c: Assume _LIBC is defined.
33426 (save_for_wbackup): Remove internal_function.
33428 2017-08-31 Florian Weimer <fweimer@redhat.com>
33430 * malloc/malloc.c (top_check): Change return type to void. Remove
33432 * malloc/hooks.c (top_check): Likewise.
33433 (malloc_check, realloc_check, memalign_check): Adjust.
33435 2017-08-30 Joseph Myers <joseph@codesourcery.com>
33438 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33439 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
33440 sigcontext and namespace requirements.
33441 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33442 * sysdeps/m68k/sys/ucontext.h: Likewise.
33443 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
33444 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
33445 <bits/sigcontext.h>.
33446 (__ctx): Define earlier.
33447 (mcontext_t): Define structure contents rather than using struct
33449 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
33450 __glibc_reserved1 instead of __reserved.
33451 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
33452 <bits/sigcontext.h>.
33453 (__ctx): Define earlier.
33454 (mcontext_t): Define structure contents rather than using struct
33456 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
33457 mcontext_t instead of struct sigcontext.
33458 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
33459 <bits/sigcontext.h>.
33460 (__ctx): Define earlier.
33461 (mcontext_t): Define structure contents rather than using struct
33463 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
33464 <bits/sigcontext.h>.
33465 (__ctx): Define earlier.
33466 (mcontext_t): Define structure contents rather than using struct
33468 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
33469 mcontext_t instead of struct sigcontext.
33470 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
33471 mcontext_t instead of struct sigcontext.
33472 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
33473 <bits/sigcontext.h>.
33474 (__ctx): New macro.
33475 (struct __ia64_fpreg_mcontext): New type.
33476 (mcontext_t): Define structure contents rather than using struct
33478 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
33479 (uc_sigmask): Define using __ctx.
33480 (uc_stack): Likewise.
33481 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
33482 <bits/sigcontext.h>.
33483 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33484 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
33485 <bits/sigcontext.h>.
33486 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
33487 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
33488 <bits/sigcontext.h>.
33489 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
33490 <bits/sigcontext.h>.
33491 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
33492 <bits/sigcontext.h>.
33493 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
33494 <bits/sigcontext.h>.
33495 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
33496 <bits/sigcontext.h>.
33497 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
33498 <bits/sigcontext.h>.
33499 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
33500 <bits/sigcontext.h>.
33501 (__ctx): Define earlier.
33502 (mcontext_t): Define structure contents rather than using struct
33504 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
33505 <bits/sigcontext.h>. Include <bits/types.h>.
33506 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
33507 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
33508 (test-xfail-XPG42/ucontext.h/conform): Likewise.
33509 (test-xfail-UNIX98/signal.h/conform): Likewise.
33510 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33511 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33512 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33513 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33514 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33515 (test-xfail-POSIX2008/signal.h/conform): Likewise.
33516 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33517 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33518 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33520 2017-08-30 Florian Weimer <fweimer@redhat.com>
33522 * malloc/dynarray_emplace_enlarge.c
33523 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
33524 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
33525 * malloc/tst-dynarray.c (test_long_overflow): New function.
33526 (do_test): Call it.
33528 2017-08-30 Florian Weimer <fweimer@redhat.com>
33530 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
33531 (set_arena_corrupt): Remove definitions.
33532 (mtrim): Do not check for corrupt arena.
33533 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
33536 2017-08-30 Florian Weimer <fweimer@redhat.com>
33539 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
33541 (ptmalloc_init): Do not set or use check_action.
33542 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
33543 call to malloc_printerr. Remove return statement.
33544 (free_check): Likewise. Remove arena unlock.
33545 (top_check): Update comment. Adjust call to malloc_printerr.
33546 Remove heap repair code.
33547 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
33548 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
33549 (sysmalloc): Adjust call to malloc_printerr.
33550 (munmap_chunk, __libc_realloc): Likewise. Remove return
33552 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
33553 Remove errout label and corresponding gotos.
33554 (_int_free): Likewise. Remove arena unlock.
33555 (do_set_mallopt_check): Do not set check_action.
33556 (malloc_printerr): Adjust parameter list. Do not mark arena as
33558 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
33560 * manual/probes.texi (Memory Allocation Probes): Remove
33561 memory_mallopt_check_action.
33563 2017-08-30 Steve Ellcey <sellcey@cavium.com>
33565 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
33566 Use pointer to uint64_t instead of long int for sp.
33568 2017-08-30 Florian Weimer <fweimer@redhat.com>
33571 * malloc/malloc.c (malloc_printerr): Always terminate the process,
33572 without printing a backtrace. Do not leak any information in the
33574 * manual/memory.texi (Heap Consistency Checking): Update.
33575 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
33577 2017-08-30 Florian Weimer <fweimer@redhat.com>
33579 Do not scale NPTL tests with available number of CPUs.
33580 * nptl/tst-cond16.c (count): Set to constant value of 8.
33581 * nptl/tst-cond18.c (count): Likewise.
33583 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33586 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
33587 Define to take a second argument that is a macro that
33588 concatentates a suffix, not the suffix itself.
33589 (__CONCAT_d): New macro.
33590 (__CONCAT_f): Likewise.
33591 (__CONCAT_l): Likewise.
33593 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
33595 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
33598 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33599 Aurelien Jarno <aurelien@aurel32.net>
33600 Maciej W. Rozycki <macro@imgtec.com>
33603 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
33604 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
33605 `mips16-syscall6' and `mips16-syscall7'.
33606 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
33607 (CFLAGS-mips16-syscall7.c): Remove.
33608 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
33609 Remove `__mips16_syscall5', `__mips16_syscall6' and
33610 `__mips16_syscall7'.
33611 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
33612 (__mips16_syscall0): Rename `__mips16_syscall_return' to
33613 `__mips_syscall_return'.
33614 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
33615 (__mips16_syscall1): Likewise.
33616 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
33617 (__mips16_syscall2): Likewise.
33618 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
33619 (__mips16_syscall3): Likewise.
33620 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
33621 (__mips16_syscall4): Likewise.
33622 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
33624 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
33626 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
33628 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
33629 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
33630 `__mips16_syscall5'. Remove prototype.
33631 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
33632 `__mips16_syscall6'. Remove prototype.
33633 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
33634 `__mips16_syscall7'. Remove prototype.
33635 (__nomips16, __mips16_syscall_return): Move to...
33636 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
33637 (__nomips16, __mips_syscall_return): ... here.
33638 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
33639 `__mips16_syscall_return' to `__mips_syscall_return'.
33640 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
33641 `internal_syscall##nr'.
33642 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
33643 `internal_syscall##nr'.
33644 (FORCE_FRAME_POINTER): Remove.
33645 (__mips_syscall5): New prototype.
33646 (internal_syscall5): Rewrite to call `__mips_syscall5'.
33647 (__mips_syscall6): New prototype.
33648 (internal_syscall6): Rewrite to call `__mips_syscall6'.
33649 (__mips_syscall7): New prototype.
33650 (internal_syscall7): Rewrite to call `__mips_syscall7'.
33651 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
33652 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
33653 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
33654 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
33655 (sysdep_routines): Add libc-do-syscall.
33656 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
33657 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
33659 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33662 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
33663 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
33664 (advise_stack_range): New function.
33665 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
33666 stack non required to advise_stack_range at allocatestack.c
33668 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33670 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
33672 2017-08-29 Florian Weimer <fweimer@redhat.com>
33675 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
33676 __end_fct. Mangle __end_fct after setting it to NULL.
33677 * iconv/Makefile (tests): Add tst-gconv-init-failure.
33678 (modules-names, modules-names-tests): Add
33679 tst-gconv-init-failure-mod.
33680 (gconv-modules): New target.
33681 (tst-gconv-init-failure-mod.so): Link against libsupport.
33682 (tst-gconv-init-failure): Depend on gconv-modules,
33683 tst-gconv-init-failure-mod.so.
33684 * iconv/tst-gconv-init-failure-mod.c: New file.
33685 * iconv/tst-gconv-init-failure.c: Likewise.
33686 * iconv/test-gconv-modules: Likewise.
33688 2017-08-29 Florian Weimer <fweimer@redhat.com>
33691 * iconv/gconv_db.c (free_derivation): Remove redundant
33693 (gen_steps): Unconditionally mangle __btowc_fct after
33695 (increment_counter): Likewise. Do not call init_fct for internal
33698 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33701 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33702 (_MSUF_): Remove macro.
33703 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
33705 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33706 (__REDIRFROM_X): New macro.
33707 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
33709 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
33710 (__REDIRTO_X): Likewise.
33711 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
33713 (__MATH_REDIRCALL_2): Likewise.
33714 (__MATH_REDIRCALL_INTERNAL): Likewise.
33715 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33716 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
33717 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
33718 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33719 * math/test-finite-macros.c: New file.
33720 * math/Makefile (tests): Add test-finite-macros.
33721 (CFLAGS-test-finite-macros.c): New variable.
33723 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
33724 Jeff Law <law@redhat.com>
33727 Mangle NULL pointers in iconv/gconv.
33728 * iconv/gconv_cache.c (find_module): Demangle init_fct before
33729 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
33730 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
33731 is non-NULL before demangling the end_fct. Check for NULL
33732 end_fct after demangling.
33733 (__gconv_release_step): Demangle the end_fct before checking
33734 it for NULL. Remove assert on __shlibc_handle != NULL.
33735 (gen_steps): Don't check btowc_fct for NULL before mangling.
33736 Demangle init_fct before checking for NULL.
33737 (increment_counter): Likewise.
33738 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
33739 end_fct for NULL before mangling.
33740 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
33743 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
33746 * locale/iso-639.def: add Morisyen.
33748 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33751 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
33752 (iszero): New C++ implementation that does not use
33753 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
33754 signaling nans are enabled, since __builtin_types_compatible_p
33755 is a C-only feature.
33756 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
33757 defined, include ieee754_float128.h for access to the union and
33758 member ieee854_float128.ieee.
33759 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
33760 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
33761 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33762 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
33763 options of test-math-zero on powerpc64le.
33765 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
33767 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
33768 Change double to float.
33770 2017-08-28 Joseph Myers <joseph@codesourcery.com>
33772 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
33774 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
33775 conditional code; define contents only for [LIBM_SVID_COMPAT].
33777 2017-08-28 Florian Weimer <fweimer@redhat.com>
33779 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
33780 (abi-lp64_be-options): Remove.
33781 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
33782 (abi-hard-options): Likewise.
33783 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
33784 (abi-o32_hard-options, abi-o32_soft_2008-options)
33785 (abi-o32_hard_2008-options, abi-n32_soft-options)
33786 (abi-n32_hard-options, abi-n32_soft_2008-options)
33787 (abi-n32_hard_2008-options, abi-n64_soft-options)
33788 (abi-n64_hard-options, abi-n64_soft_2008-options)
33789 (abi-n64_hard_2008-options): Likewise.
33790 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
33791 (abi-64-v1-options, abi-64-v2-options): Likewise.
33792 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
33793 (abi-64-options): Likewise.
33794 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
33795 (abi-64-options): Likewise.
33796 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
33797 (abi-64-options): Likewise.
33798 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
33799 (abi-64-options, abi-x32-options): Likewise.
33801 2017-08-28 Florian Weimer <fweimer@redhat.com>
33803 Store supported list of SYS_* system calls in the source tree.
33804 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
33805 (bits/syscall.h): Generate from list file.
33806 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
33807 [$(subdir) = misc] (tests): Add tst-syscall-list.
33808 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
33809 [$(subdir) = misc] (tst-syscall-list-macros.list)
33810 [$(subdir) = misc] (tst-syscall-list-nr.list)
33811 (tst-syscall-list-sys.list): Helper targets for new
33812 tst-syscall-list test.
33813 [$(subdir) = misc] (tst-syscall-list.out): Run test script
33814 tst-syscall-list.sh.
33815 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
33816 target. Do not include bits/syscall.d.
33817 [$(subdir) = misc] (generated): Do not update.
33818 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
33819 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
33820 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
33821 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
33823 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
33825 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
33826 (tst-cxa_atexit, tst-on_exit): Likewise.
33827 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
33828 tst-cxa_atexit, and tst-on_exit.
33829 * stdlib/tst-atexit-common.c: New file.
33830 * stdlib/tst-atexit.c: New file.
33831 * stdlib/tst-at_quick_exit.c: New file.
33832 * stdlib/tst-cxa_atexit.c: New file.
33833 * stdlib/tst-on_exit.c: New file.
33835 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33837 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
33838 * mach/stack_chk_fail_local.c: New file.
33839 * hurd/stack_chk_fail_local.c: New file.
33840 * mach/Machrules ($(interface-library)-routines): Add
33841 stack_chk_fail_local.
33842 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
33843 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
33844 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
33845 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
33846 * hurd/Makefile (CFLAGS-hurdstartup.o,
33847 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
33849 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
33851 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33852 (index_cpu_*, index_arch_*): Removed.
33854 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33856 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
33857 Use uint64_t instead of unsigned long.
33859 2017-08-25 Joseph Myers <joseph@codesourcery.com>
33861 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
33862 [__HAVE_DISTINCT_FLOAT128].
33864 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
33865 of <bits/math-finite.h>.
33866 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
33867 inclusion of <bits/math-finite.h>.
33868 * math/bits/math-finite.h (__REDIRTO_X): Do not define
33869 conditionally on [__MATH_DECLARING_LDOUBLE && defined
33870 __NO_LONG_DOUBLE_MATH].
33871 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
33872 (__MATH_REDIRCALL_2): Likewise.
33873 (__MATH_REDIRCALL_INTERNAL): Likewise.
33874 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33875 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
33876 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
33880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
33882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
33884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
33886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
33888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
33890 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33891 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33892 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33893 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
33895 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
33896 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
33897 w_sqrtf_compat-ppc32.
33899 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33901 * math/math.h [defined __cplusplus] (issignaling): In the long
33902 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
33903 is not defined. Call __issignaling, otherwise.
33905 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33907 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
33908 syscall definitions and replace __builtin_expect with __glibc_likely.
33909 * sysdeps/unix/syscall-template.S: Update comment about cancellable
33911 (SYSCALL_CANCELLABLE): Removedefinition
33912 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
33914 (PSEUDO_END): Likewise.
33915 [IS_IN (libpthread)] (CENABLE): Likewise.
33916 [IS_IN (libpthread)] (CDISABLE): Likewise.
33917 [IS_IN (libc)] (CENABLE): Likewise.
33918 [IS_IN (libc)] (CENABLE): Likewise.
33919 [IS_IN (librt)] (CDISABLE): Likewise.
33920 [IS_IN (librt)] (CDISABLE): Likewise.
33921 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33922 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
33924 (PSEUDO_END): Likewise.
33925 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
33926 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
33927 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33928 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33929 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33930 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33931 (CENABLE): Likewise.
33932 (CDISABLE): Likewise.
33933 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33934 * sysdeps/unix/sysv/linux/arm/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/hppa/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.
33954 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
33956 (PSEUDO_END): Likewise.
33957 [IS_IN (libpthread)] (CENABLE): Likewise.
33958 [IS_IN (libpthread)] (CDISABLE): Likewise.
33959 [IS_IN (libc)] (CENABLE): Likewise.
33960 [IS_IN (libc)] (CENABLE): Likewise.
33961 [IS_IN (librt)] (CDISABLE): Likewise.
33962 [IS_IN (librt)] (CDISABLE): Likewise.
33963 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33964 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
33966 (PSEUDO_END): Likewise.
33967 [IS_IN (libpthread)] (CENABLE): Likewise.
33968 [IS_IN (libpthread)] (CDISABLE): Likewise.
33969 [IS_IN (libc)] (CENABLE): Likewise.
33970 [IS_IN (libc)] (CENABLE): Likewise.
33971 [IS_IN (librt)] (CDISABLE): Likewise.
33972 [IS_IN (librt)] (CDISABLE): Likewise.
33973 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33974 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
33976 (PSEUDO_END): Likewise.
33977 [IS_IN (libpthread)] (CENABLE): Likewise.
33978 [IS_IN (libpthread)] (CDISABLE): Likewise.
33979 [IS_IN (libc)] (CENABLE): Likewise.
33980 [IS_IN (libc)] (CENABLE): Likewise.
33981 [IS_IN (librt)] (CDISABLE): Likewise.
33982 [IS_IN (librt)] (CDISABLE): Likewise.
33983 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33984 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
33986 (PSEUDO_END): Likewise.
33987 [IS_IN (libpthread)] (CENABLE): Likewise.
33988 [IS_IN (libpthread)] (CDISABLE): Likewise.
33989 [IS_IN (libc)] (CENABLE): Likewise.
33990 [IS_IN (libc)] (CENABLE): Likewise.
33991 [IS_IN (librt)] (CDISABLE): Likewise.
33992 [IS_IN (librt)] (CDISABLE): Likewise.
33993 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33994 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
33996 (PSEUDO_END): Likewise.
33997 [IS_IN (libpthread)] (CENABLE): Likewise.
33998 [IS_IN (libpthread)] (CDISABLE): Likewise.
33999 [IS_IN (libc)] (CENABLE): Likewise.
34000 [IS_IN (libc)] (CENABLE): Likewise.
34001 [IS_IN (librt)] (CDISABLE): Likewise.
34002 [IS_IN (librt)] (CDISABLE): Likewise.
34003 (SINGLE_THREAD_P): Likewise.
34004 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
34006 (PSEUDO_END): Likewise.
34007 [IS_IN (libpthread)] (CENABLE): Likewise.
34008 [IS_IN (libpthread)] (CDISABLE): Likewise.
34009 [IS_IN (libc)] (CENABLE): Likewise.
34010 [IS_IN (libc)] (CENABLE): Likewise.
34011 [IS_IN (librt)] (CDISABLE): Likewise.
34012 [IS_IN (librt)] (CDISABLE): Likewise.
34013 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34014 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
34016 (PSEUDO_END): Likewise.
34017 [IS_IN (libpthread)] (CENABLE): Likewise.
34018 [IS_IN (libpthread)] (CDISABLE): Likewise.
34019 [IS_IN (libc)] (CENABLE): Likewise.
34020 [IS_IN (libc)] (CENABLE): Likewise.
34021 [IS_IN (librt)] (CDISABLE): Likewise.
34022 [IS_IN (librt)] (CDISABLE): Likewise.
34023 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34024 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
34025 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34026 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
34027 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
34029 (PSEUDO_END): Likewise.
34030 [IS_IN (libpthread)] (CENABLE): Likewise.
34031 [IS_IN (libpthread)] (CDISABLE): Likewise.
34032 [IS_IN (libc)] (CENABLE): Likewise.
34033 [IS_IN (libc)] (CENABLE): Likewise.
34034 [IS_IN (librt)] (CDISABLE): Likewise.
34035 [IS_IN (librt)] (CDISABLE): Likewise.
34036 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34037 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
34039 (PSEUDO_END): Likewise.
34040 [IS_IN (libpthread)] (CENABLE): Likewise.
34041 [IS_IN (libpthread)] (CDISABLE): Likewise.
34042 [IS_IN (libc)] (CENABLE): Likewise.
34043 [IS_IN (libc)] (CENABLE): Likewise.
34044 [IS_IN (librt)] (CDISABLE): Likewise.
34045 [IS_IN (librt)] (CDISABLE): Likewise.
34046 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34047 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
34049 (PSEUDO_END): Likewise.
34050 [IS_IN (libpthread)] (CENABLE): Likewise.
34051 [IS_IN (libpthread)] (CDISABLE): Likewise.
34052 [IS_IN (libc)] (CENABLE): Likewise.
34053 [IS_IN (libc)] (CENABLE): Likewise.
34054 [IS_IN (librt)] (CDISABLE): Likewise.
34055 [IS_IN (librt)] (CDISABLE): Likewise.
34056 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34057 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
34058 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34059 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
34060 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
34062 (PSEUDO_END): Likewise.
34063 [IS_IN (libpthread)] (CENABLE): Likewise.
34064 [IS_IN (libpthread)] (CDISABLE): Likewise.
34065 [IS_IN (libc)] (CENABLE): Likewise.
34066 [IS_IN (libc)] (CENABLE): Likewise.
34067 [IS_IN (librt)] (CDISABLE): Likewise.
34068 [IS_IN (librt)] (CDISABLE): Likewise.
34069 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34070 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
34072 (PSEUDO_END): Likewise.
34073 [IS_IN (libpthread)] (CENABLE): Likewise.
34074 [IS_IN (libpthread)] (CDISABLE): Likewise.
34075 [IS_IN (libc)] (CENABLE): Likewise.
34076 [IS_IN (libc)] (CENABLE): Likewise.
34077 [IS_IN (librt)] (CDISABLE): Likewise.
34078 [IS_IN (librt)] (CDISABLE): Likewise.
34079 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34081 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
34083 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
34085 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34087 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34089 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34092 * string/stratcliff.c (do_test): Declare size, nchars, inner,
34093 middle and outer with size_t instead of int. Repleace %d and
34094 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
34095 "MAX (outer, nchars - 64)" to support unsigned outer and
34096 nchars. Also exit loop when outer == 0.
34098 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34100 * include/fcntl.h (__fcntl_nocancel): Remove definition.
34101 * include/signal.h (__sigsuspend_nocancel): Likewise.
34102 * include/time.h (__nanosleep_nocancel): Likewise.
34103 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
34104 * login/utmp_file.c: Include non cancellable syscall header.
34105 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
34108 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34110 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
34111 .byte sequences with AVX512F instructions.
34112 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
34113 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
34114 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
34115 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
34117 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
34120 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
34121 Steve Ellcey <sellcey@cavium.com>
34123 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
34124 Use PTR_REG macro in cmp instruction.
34126 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34128 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
34129 Change the return type of the ifunc resolver to match the return
34130 type of the target function.
34132 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34134 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
34135 (preadv64): Likewise.
34136 (pwrite64(: Likewise.
34137 (pwritev64): Likewise.
34139 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34140 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
34141 (LOAD_ARGS_0): Likewise.
34142 (LOAD_ARGS_1): Likewise.
34143 (LOAD_ARGS_2): Likewise.
34144 (LOAD_ARGS_3): Likewise.
34145 (LOAD_ARGS_4): Likewise.
34146 (LOAD_ARGS_5): Likewise.
34147 (LOAD_ARGS_6): Likewise.
34148 (LOAD_REGS_0): Likewise.
34149 (LOAD_REGS_1): Likewise.
34150 (LOAD_REGS_2): Likewise.
34151 (LOAD_REGS_3): Likewise.
34152 (LOAD_REGS_4): Likewise.
34153 (LOAD_REGS_5): Likewise.
34154 (LOAD_REGS_6): Likewise.
34155 (ASM_ARGS_0): Likewise.
34156 (ASM_ARGS_1): Likewise.
34157 (ASM_ARGS_2): Likewise.
34158 (ASM_ARGS_3): Likewise.
34159 (ASM_ARGS_4): Likewise.
34160 (ASM_ARGS_5): Likewise.
34161 (ASM_ARGS_6): Likewise.
34162 (LOAD_ARGS_TYPES_1): Likewise.
34163 (LOAD_ARGS_TYPES_2): Likewise.
34164 (LOAD_ARGS_TYPES_3): Likewise.
34165 (LOAD_ARGS_TYPES_4): Likewise.
34166 (LOAD_ARGS_TYPES_5): Likewise.
34167 (LOAD_ARGS_TYPES_6): Likewise.
34168 (LOAD_REGS_TYPES_1): Likewise.
34169 (LOAD_REGS_TYPES_2): Likewise.
34170 (LOAD_REGS_TYPES_3): Likewise.
34171 (LOAD_REGS_TYPES_4): Likewise.
34172 (LOAD_REGS_TYPES_5): Likewise.
34173 (LOAD_REGS_TYPES_6): Likewise.
34174 (TYPEFY): New define.
34175 (ARGIFY): Likewise.
34176 (internal_syscall0): Likewise.
34177 (internal_syscall1): Likewise.
34178 (internal_syscall2): Likewise.
34179 (internal_syscall3): Likewise.
34180 (internal_syscall4): Likewise.
34181 (internal_syscall5): Likewise.
34182 (internal_syscall6): Likewise.
34183 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
34184 (INTERNAL_SYSCALL_NCS): Remove define.
34185 (internal_syscall1): Add define.
34187 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34189 * math/w_remainder_compat.c: Remove duplicate inclusion of
34190 math-svid-compat.h.
34191 * math/w_remainderf_compat.c: Likewise.
34192 * math/w_remainderl_compat.c: Likewise.
34194 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34198 2017-08-22 Joseph Myers <joseph@codesourcery.com>
34201 * math/tgmath.h (__floating_type): Simplify definitions.
34202 (__real_integer_type): New macro.
34203 (__complex_integer_type): Likewise.
34204 (__expr_is_real): Likewise.
34205 (__tgmath_real_type_sub): Update comment to describe handling of
34207 (__tgmath_complex_type_sub): New macro.
34208 (__tgmath_complex_type): Likewise.
34209 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34210 (__TGMATH_CF128): Use __expr_is_real.
34211 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
34213 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34214 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
34215 * math/gen-tgmath-tests.py (Type.create_type): Create complex
34218 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34220 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
34222 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
34224 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
34227 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
34228 nanosleep_not_cancel with __nanosleep_nocancel.
34229 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
34230 (__nanosleep_nocancel): New macro.
34231 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
34233 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
34235 (__nanosleep_nocancel): New prototype.
34237 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
34238 pause_not_cancel with __pause_nocancel.
34239 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
34240 (__pause_nocancel): New macro.
34241 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
34243 (__pause_nocancel): New prototype.
34244 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
34246 2017-08-22 Martin Sebor <msebor@redhat.com>
34248 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
34249 to return a pointer to the same type as the target function.
34251 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34255 * include/printf.h (__printf_fphex): Add attribute_hidden.
34256 (__guess_grouping): New prototype.
34257 * stdio-common/printf_fp.c (__guess_grouping): Removed.
34258 * stdio-common/reg-printf.c (__register_printf_specifier): Add
34259 libc_hidden_proto and libc_hidden_def.
34260 * stdlib/strfmon_l.c (__guess_grouping): Removed.
34261 (__vstrfmon_l): Remove the third argument passed to
34264 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34266 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
34267 definition for issignaling that does not rely on __MATH_TG,
34268 since __MATH_TG uses __builtin_types_compatible_p, which is only
34269 available in C mode.
34270 (CFLAGS-test-math-issignaling.cc): New variable.
34271 * math/Makefile [CXX] (tests): Add test-math-issignaling.
34272 * math/test-math-issignaling.cc: New test for C++ implementation
34273 of type-generic issignaling.
34274 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34275 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
34276 options of test-math-issignaling on powerpc64le.
34278 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34280 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34282 (hidden_proto): Likewise.
34283 (hidden_tls_proto): Likewise.
34284 (__hidden_proto): Likewise.
34286 2017-08-22 Florian Weimer <fweimer@redhat.com>
34288 math: Statically link tests of internal functionality.
34289 * math/Makefile (tests): Remove atest-exp, atest-sincos,
34291 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
34292 (gmp-objs): Remove assignment.
34293 (atest-exp, atest-sincos, atest-exp2): Remove targets.
34295 2017-08-22 Joseph Myers <joseph@codesourcery.com>
34298 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
34300 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
34302 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
34305 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
34306 variable definitions above inclusion of ../Rules.
34308 2017-08-21 Joseph Myers <joseph@codesourcery.com>
34310 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
34311 case calling __builtin_unreachable.
34313 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34315 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
34316 __waitpid_nocancel.
34317 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
34318 (__waitpid_nocancel): New macro.
34319 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
34321 (__waitpid_nocancel): Replace macro with a function.
34322 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
34325 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
34327 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
34328 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
34330 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
34331 __writev_nocancel_nostatus.
34332 (write_call_graph): Likewise.
34333 (write_bb_counts): Likewise.
34334 * resolv/herror.c (herror): Likewise.
34335 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
34337 (__writev_nocancel_nostatus): New macro.
34338 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
34340 (__writev_nocancel_nostatus): New function.
34342 2017-08-21 Joseph Myers <joseph@codesourcery.com>
34345 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34347 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34349 (hidden_proto): Likewise.
34350 (hidden_tls_proto): Likewise.
34351 (__hidden_proto): Likewise.
34354 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
34355 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
34360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
34364 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
34365 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34366 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34367 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34368 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
34369 GLIBC_2.0 sqrtl symbol.
34371 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
34372 [__USE_MISC] (_LIB_VERSION): Likewise.
34373 [__USE_MISC] (struct exception): Likewise.
34374 [__USE_MISC] (matherr): Likewise.
34375 [__USE_MISC] (DOMAIN): Likewise.
34376 [__USE_MISC] (SING): Likewise.
34377 [__USE_MISC] (OVERFLOW): Likewise.
34378 [__USE_MISC] (UNDERFLOW): Likewise.
34379 [__USE_MISC] (TLOSS): Likewise.
34380 [__USE_MISC] (PLOSS): Likewise.
34381 [__USE_MISC] (HUGE): Likewise.
34382 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
34383 * math/math-svid-compat.h: New file.
34384 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
34386 * include/math.h [!_ISOMAC] (__matherr): Remove.
34387 * manual/arith.texi (FP Exceptions): Do not document matherr.
34388 * math/Makefile (tests): Change test-matherr to test-matherr-3.
34389 (tests-internal): New variable.
34390 (install-lib): Do not add libieee.a.
34391 (non-lib.a): Likewise.
34392 (extra-objs): Do not add libieee.a and ieee-math.o.
34393 (CPPFLAGS-s_lib_version.c): Remove variable.
34394 ($(objpfx)libieee.a): Remove rule.
34395 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
34396 * math/ieee-math.c: Remove.
34397 * math/libm-test-support.c (matherr): Remove.
34398 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
34399 and license notices. Include <math-svid-compat.h> and
34401 (matherr): Undefine as macro. Use compat_symbol_reference.
34402 (_LIB_VERSION): Likewise.
34403 * math/test-matherr-2.c: New file.
34404 * math/test-matherr-3.c: Likewise.
34405 * sysdeps/generic/math_private.h (__kernel_standard): Remove
34407 (__kernel_standard_f): Likewise.
34408 (__kernel_standard_l): Likewise.
34409 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
34410 <math_private.h>. Include <math-svid-compat.h>.
34411 (_LIB_VERSION): Undefine as macro.
34412 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
34413 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
34414 [LIBM_SVID_COMPAT], use compat_symbol.
34415 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
34416 <math_private.h>. Include <math-svid-compat.h>.
34417 (matherr): Undefine as macro.
34418 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
34420 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
34421 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
34422 compat_symbol_reference.
34423 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
34424 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
34425 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
34426 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
34427 (MATHERR_D): Remove declaration.
34428 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
34429 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
34430 [LIBM_BUILD] (pmatherrf): Likewise.
34431 [LIBM_BUILD] (pmatherr): Likewise.
34432 [LIBM_BUILD] (pmatherrl): Likewise.
34433 (DOMAIN): Likewise.
34435 (OVERFLOW): Likewise.
34436 (UNDERFLOW): Likewise.
34439 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
34440 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
34442 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
34443 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
34445 * math/lgamma-compat.h: Include <math-svid-compat.h>.
34446 * math/w_acos_compat.c: Likewise.
34447 * math/w_acosf_compat.c: Likewise.
34448 * math/w_acosh_compat.c: Likewise.
34449 * math/w_acoshf_compat.c: Likewise.
34450 * math/w_acoshl_compat.c: Likewise.
34451 * math/w_acosl_compat.c: Likewise.
34452 * math/w_asin_compat.c: Likewise.
34453 * math/w_asinf_compat.c: Likewise.
34454 * math/w_asinl_compat.c: Likewise.
34455 * math/w_atan2_compat.c: Likewise.
34456 * math/w_atan2f_compat.c: Likewise.
34457 * math/w_atan2l_compat.c: Likewise.
34458 * math/w_atanh_compat.c: Likewise.
34459 * math/w_atanhf_compat.c: Likewise.
34460 * math/w_atanhl_compat.c: Likewise.
34461 * math/w_cosh_compat.c: Likewise.
34462 * math/w_coshf_compat.c: Likewise.
34463 * math/w_coshl_compat.c: Likewise.
34464 * math/w_exp10_compat.c: Likewise.
34465 * math/w_exp10f_compat.c: Likewise.
34466 * math/w_exp10l_compat.c: Likewise.
34467 * math/w_exp2_compat.c: Likewise.
34468 * math/w_exp2f_compat.c: Likewise.
34469 * math/w_exp2l_compat.c: Likewise.
34470 * math/w_fmod_compat.c: Likewise.
34471 * math/w_fmodf_compat.c: Likewise.
34472 * math/w_fmodl_compat.c: Likewise.
34473 * math/w_hypot_compat.c: Likewise.
34474 * math/w_hypotf_compat.c: Likewise.
34475 * math/w_hypotl_compat.c: Likewise.
34476 * math/w_j0_compat.c: Likewise.
34477 * math/w_j0f_compat.c: Likewise.
34478 * math/w_j0l_compat.c: Likewise.
34479 * math/w_j1_compat.c: Likewise.
34480 * math/w_j1f_compat.c: Likewise.
34481 * math/w_j1l_compat.c: Likewise.
34482 * math/w_jn_compat.c: Likewise.
34483 * math/w_jnf_compat.c: Likewise.
34484 * math/w_jnl_compat.c: Likewise.
34485 * math/w_lgamma_main.c: Likewise.
34486 * math/w_lgamma_r_compat.c: Likewise.
34487 * math/w_lgammaf_main.c: Likewise.
34488 * math/w_lgammaf_r_compat.c: Likewise.
34489 * math/w_lgammal_main.c: Likewise.
34490 * math/w_lgammal_r_compat.c: Likewise.
34491 * math/w_log10_compat.c: Likewise.
34492 * math/w_log10f_compat.c: Likewise.
34493 * math/w_log10l_compat.c: Likewise.
34494 * math/w_log2_compat.c: Likewise.
34495 * math/w_log2f_compat.c: Likewise.
34496 * math/w_log2l_compat.c: Likewise.
34497 * math/w_log_compat.c: Likewise.
34498 * math/w_logf_compat.c: Likewise.
34499 * math/w_logl_compat.c: Likewise.
34500 * math/w_pow_compat.c: Likewise.
34501 * math/w_powf_compat.c: Likewise.
34502 * math/w_powl_compat.c: Likewise.
34503 * math/w_remainder_compat.c: Likewise.
34504 * math/w_remainderf_compat.c: Likewise.
34505 * math/w_remainderl_compat.c: Likewise.
34506 * math/w_scalb_compat.c: Likewise.
34507 * math/w_scalbf_compat.c: Likewise.
34508 * math/w_scalbl_compat.c: Likewise.
34509 * math/w_sinh_compat.c: Likewise.
34510 * math/w_sinhf_compat.c: Likewise.
34511 * math/w_sinhl_compat.c: Likewise.
34512 * math/w_sqrt_compat.c: Likewise.
34513 * math/w_sqrtf_compat.c: Likewise.
34514 * math/w_sqrtl_compat.c: Likewise.
34515 * math/w_tgamma_compat.c: Likewise.
34516 * math/w_tgammaf_compat.c: Likewise.
34517 * math/w_tgammal_compat.c: Likewise.
34518 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
34519 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34520 * sysdeps/ieee754/k_standard.c: Likewise.
34521 * sysdeps/ieee754/k_standardf.c: Likewise.
34522 * sysdeps/ieee754/k_standardl.c: Likewise.
34523 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34524 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34525 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34526 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34527 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34528 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34529 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34530 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
34531 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34536 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
34537 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34538 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34539 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34541 2017-08-21 Florian Weimer <fweimer@redhat.com>
34544 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
34545 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
34546 Move before inclusion of ../Rules.
34548 2017-08-21 Florian Weimer <fweimer@redhat.com>
34551 * assert/assert.h (assert): Use static_cast (bool) for C++.
34552 Use the ternary operator in the warning branch for GNU C.
34553 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
34554 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
34555 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
34556 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
34557 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
34559 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34562 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34563 (__syscall_clock_gettime): Add attribute_hidden.
34564 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
34565 (__start_context): Likewise.
34567 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34569 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34571 (hidden_proto): Likewise.
34572 (hidden_tls_proto): Likewise.
34573 (__hidden_proto): Likewise.
34575 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34577 * include/libc-symbols.h (attribute_hidden): Enable hidden
34578 visibility in libc.a compiled with PIE.
34580 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34583 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
34584 Add attribute_hidden.
34586 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34589 * Makerules (all-nonlib): Add $(others-extras).
34590 * catgets/Makefile (others-extras): New.
34591 * elf/Makefile (others-extras): Likewise.
34592 * nss/Makefile (others-extras): Likewise.
34594 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34597 * csu/libc-start.c (__libc_multiple_libcs): Removed.
34598 * elf/dl-open.c: Include <libc-internal.h>.
34599 (__libc_multiple_libcs): Removed.
34600 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
34602 * include/libc-internal.h (__libc_multiple_libcs): New.
34603 * misc/sbrk.c: Include <libc-internal.h>.
34604 (__libc_multiple_libcs): Removed.
34606 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34609 * grp/initgroups.c (__nss_group_database): Removed.
34610 (__nss_initgroups_database): Likewise.
34611 * nscd/gai.c (__nss_hosts_database): Likewise.
34612 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
34613 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
34614 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
34615 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
34616 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
34617 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
34619 * nss/nsswitch.c (__nss_database_custom): Define only if
34620 USE_NSCD is defined.
34621 (__nss_configure_lookup): Use __nss_database_custom only if
34622 USE_NSCD is defined.
34623 * nss/nsswitch.h (__nss_database_custom): Declare only if
34624 USE_NSCD is defined. Add attribute_hidden.
34625 (__nss_setent): Add attribute_hidden.
34626 (__nss_endent): Likewise.
34627 (__nss_getent_r): Likewise.
34628 (__nss_getent): Likewise.
34629 (DEFINE_DATABASE): Declare __nss_##arg##_database.
34631 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34634 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
34635 libc_hidden_proto and libc_hidden_def.
34637 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34640 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
34641 Add libc_hidden_proto.
34642 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
34643 Add libc_hidden_def.
34645 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34648 * gmon/Makefile (routines): Remove bb_init_func and
34650 (elide-routines.os): Removed.
34651 * gmon/bb_exit_func.c: Likewise.
34652 * gmon/bb_init_func.c: Likewise.
34653 * include/sys/gmon.h (__bb): Likewise.
34654 (__bb_init_func): Likewise.
34655 (__bb_exit_func): Likewise.
34656 * sysdeps/alpha/bb_init_func.S: Likewise.
34658 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34660 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
34661 * include/setjmp.h (____longjmp_chk): Here. Add
34664 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
34667 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
34669 (__strspn_sse2): Likewise.
34671 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34673 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
34674 (close_not_cancel_no_status): Likewise.
34675 (__close_nocancel): New macro.
34676 (__close_nocancel_nostatus): Likewise.
34677 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
34679 (close_not_cancel): Likewise.
34680 (close_not_cancel_no_status): Likewise.
34681 (__close_nocancel): New prototype.
34682 (__close_nocancel_nostatus): New function.
34683 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
34684 * catgets/open_catalog.c (__open_catalog): Replace
34685 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
34686 * gmon/gmon.c (write_gmon): Likewise.
34687 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34688 * intl/loadmsgcat.c (close): Likewise.
34689 * io/ftw.c (open_dir_stream): Likewise.
34690 (ftw_startup): Likewise.
34691 * libio/fileops.c (_IO_file_open): Likewise.
34692 (_IO_file_close_mmap): Likewise.
34693 (_IO_file_close): Likewise.
34694 * libio/iopopen.c (_IO_dup2): Likewise.
34695 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34696 * locale/loadlocale.c (_nl_load_locale): Likewise.
34697 * login/utmp_file.c (pututline_file): Likewise.
34698 (endutent_file): Likewise.
34699 * misc/daemon.c (daemon): Likewise.
34700 * nscd/nscd_getai.c (__nscd_getai): Likewise.
34701 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34702 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34703 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34704 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34705 * nscd/nscd_helper.c (open_socket): Likewise.
34706 (__nscd_open_socket): Likewise.
34707 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34708 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
34709 (__nscd_innetgr): Likewise.
34710 * nss/nss_db/db-open.c (internal_setent): Likewise.
34711 * resolv/res-close.c (__res_iclose): Likewise.
34712 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
34713 * sysdeps/posix/closedir.c (__closedir): Likewise.
34714 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
34715 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34716 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34717 (opendir_tail): Likewise.
34718 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34719 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
34720 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34721 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34722 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34723 (gethostid): Likewise.
34724 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34725 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34727 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34728 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
34729 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34730 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34732 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
34733 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
34734 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34736 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
34737 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34739 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34741 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34742 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34743 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34746 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
34747 (openat_not_cancel_3): Likewise.
34748 (openat64_not_cancel_3): Likewise).
34749 (openat_not_cancel_3): Likewise).
34750 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
34752 (openat_not_cancel_3): Likewise.
34753 (openat64_not_cancel): Likewise.
34754 (openat64_not_cancel_3): Likewise.
34755 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
34756 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
34757 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
34758 __open{64}_nocancel.
34759 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34760 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34761 * sysdeps/posix/opendir.c (__opendirat): Likewise.
34763 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34766 * include/argz.h (__argz_create_sep): New function prototype.
34767 (__argz_append): Likewise.
34768 (__argz_add): Likewise.
34769 (__argz_add_sep): Likewise.
34770 (__argz_delete): Likewise.
34771 (__argz_insert): Likewise.
34772 (__argz_replace): Likewise.
34773 * string/argz.h (__argz_create_sep): Removed.
34774 (__argz_append): Likewise.
34775 (__argz_add): Likewise.
34776 (__argz_add_sep): Likewise.
34777 (__argz_delete): Likewise.
34778 (__argz_insert): Likewise.
34779 (__argz_replace): Likewise.
34781 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34783 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
34784 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
34785 (GNU_PROPERTY_STACK_SIZE): Likewie.
34786 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
34787 (GNU_PROPERTY_LOPROC): Likewise.
34788 (GNU_PROPERTY_HIPROC): Likewise.
34789 (GNU_PROPERTY_LOUSER): Likewise.
34790 (GNU_PROPERTY_HIUSER): Likewise.
34791 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
34792 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
34793 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
34794 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
34795 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
34796 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
34797 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
34798 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
34799 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
34800 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
34801 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
34802 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
34803 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
34804 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
34805 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
34806 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
34807 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
34808 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
34809 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
34810 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
34811 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
34812 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
34813 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
34815 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34817 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
34820 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34823 * math/math.h (isinf): Check if in C or C++ mode before using
34824 __builtin_types_compatible_p, since this is a C mode feature.
34826 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34828 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
34829 (__write_nocancel): New macro.
34830 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
34831 Rewrite as a function prototype.
34832 (write_not_cancel): Remove macro.
34833 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
34834 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
34835 (write_gmon): Likewise.
34836 * libio/fileops.c (_IO_new_file_write): Likewise.
34837 * login/utmp_file.c (pututline_file): Likewise.
34838 (updwtmp_file): Likewise.
34839 * stdio-common/psiginfo.c (psiginfo): Likewise.
34840 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34841 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34842 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34844 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34847 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
34848 (__read_nocancel): New macro.
34849 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34851 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
34853 (__read_nocancel): New prototype.
34854 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
34855 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
34856 with __read_nocancel.
34857 * intl/loadmsgcat.c (read): Likewise.
34858 * libio/fileops.c (_IO_file_read): Likewise.
34859 * locale/loadlocale.c (_nl_load_locale): Likewise.
34860 * login/utmp_file.c (getutent_r_file): Likewise.
34861 (internal_getut_r): Likewise.
34862 (getutline_r_file): Likewise.
34863 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34864 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34865 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34866 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34868 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
34869 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34870 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34872 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34874 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34876 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34878 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34880 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34883 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
34884 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
34887 2017-08-17 DJ Delorie <dj@redhat.com>
34889 * bug17079.c: Update to new test harness.
34890 * test-digits-dots.c: Likewise.
34891 * test-netdb.c: Likewise.
34892 * tst-field.c: Likewise.
34893 * tst-nss-getpwent.c: Likewise.
34894 * tst-nss-static.c: Likewise.
34895 * tst-nss-test1.c: Likewise.
34896 * tst-nss-test2.c: Likewise.
34897 * tst-nss-test3.c: Likewise.
34898 * tst-nss-test4.c: Likewise.
34899 * tst-nss-test5.c: Likewise.
34901 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34903 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
34904 (open_not_cancel_2): Likewise.
34905 (open_nocancel): New macro.
34906 (open64_nocancel): Likewise.
34907 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
34908 (open_not_cancel_2): Likewise.
34909 (__open_nocancel): New prototype.
34910 (__open64_nocancel): Likewise.
34911 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34913 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
34914 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
34915 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
34916 with __open_nocancel.
34917 * csu/check_fds.c (check_one_fd): Likewise.
34918 * gmon/gmon.c (write_gmon): Likewise.
34919 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
34920 * intl/loadmsgcat.c (open): Likewise.
34921 * libio/fileops.c (_IO_file_open): Likewise.
34922 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34923 * locale/loadlocale.c (_nl_load_locale): Likewise.
34924 * login/utmp_file.c (setutent_file): Likewise.
34925 * misc/daemon.c (daemon): Likewise.
34926 * nss/nss_db/db-open.c (internal_setent): Likewise.
34927 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34928 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
34929 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34930 (__opendir): Likewise.
34931 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34932 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34933 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34934 (gethostid): Likewise.
34935 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34936 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34938 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34939 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
34940 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34941 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34943 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34945 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34947 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34949 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34951 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34953 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34954 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34956 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
34958 * benchtests/bench-skeleton.c (main): Add support for
34959 latency benchmarking.
34960 * benchtests/scripts/bench.py: Add support for latency benchmarking.
34962 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
34964 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
34965 the startup object.
34967 2017-08-17 Florian Weimer <fweimer@redhat.com>
34969 * include/sys/socket.h (__opensock): Remove internal_function.
34970 * socket/opensock.c (__opensock): Likewise.
34971 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
34973 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34976 * signal/bits/types/__sigval_t.h: New file.
34977 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
34978 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
34979 and define sigval_t using __sigval_t.
34980 * include/bits/types/__sigval_t.h: New file.
34981 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
34982 instead of <bits/types/__sigval_t.h>.
34983 (struct sigevent): Use __sigval_t instead of sigval_t.
34984 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
34985 instead of <bits/types/__sigval_t.h>.
34986 (siginfo_t): Use __sigval_t instead of sigval_t.
34987 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
34988 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34989 (struct sigevent): Use __sigval_t instead of sigval_t.
34990 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
34991 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34992 (siginfo_t): Use __sigval_t instead of sigval_t.
34993 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
34995 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34997 * NEWS: Remove "[Add new features here]" for 2.27.
34999 2017-08-16 Joseph Myers <joseph@codesourcery.com>
35001 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
35004 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35006 * NEWS: Mention x86-64 FMA optimization.
35008 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35011 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35013 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
35014 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
35015 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
35017 2017-08-16 Andreas Schwab <schwab@suse.de>
35021 * elf/ldd.bash.in: Never run file directly.
35023 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
35026 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
35027 (L(SP_INF_0)): Likewise.
35029 2017-08-15 Florian Weimer <fweimer@redhat.com>
35031 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
35034 2017-08-15 Florian Weimer <fweimer@redhat.com>
35036 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
35037 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
35038 BROKEN_THREAD_SIGNALS code.
35039 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
35040 request_list): Remove caller_pid member used for
35041 BROKEN_THREAD_SIGNALS.
35042 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
35043 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35044 Remove BROKEN_THREAD_SIGNALS support.
35045 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
35046 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
35048 2017-08-15 Florian Weimer <fweimer@redhat.com>
35050 * gmon/Makefile (tests): Add tst-gmon.
35051 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
35053 (tests-special): Add tst-gmon-prof.out.
35054 (tst-gmon.out): Depend on clean-tst-gmon-data.
35055 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
35056 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
35057 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
35059 * aclocal.m4 (GPROF): Set and substitute.
35060 * config.amke.in (GPROF): Set.
35061 * configure: Regenerate.
35063 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
35065 * elf/elf.h A (NT_PPC_TAR): New macro.
35066 (NT_PPC_PPR): Likewise.
35067 (NT_PPC_DSCR): Likewise.
35068 (NT_PPC_EBB): Likewise.
35069 (NT_PPC_PMU): Likewise.
35070 (NT_PPC_TM_CGPR): Likewise.
35071 (NT_PPC_TM_CFPR): Likewise.
35072 (NT_PPC_TM_CVMX): Likewise.
35073 (NT_PPC_TM_CVSX): Likewise.
35074 (NT_PPC_TM_SPR): Likewise.
35075 (NT_PPC_TM_CTAR): Likewise.
35076 (NT_PPC_TM_CPPR): Likewise.
35077 (NT_PPC_TM_CDSCR): Likewise.
35079 2017-08-15 Florian Weimer <fweimer@redhat.com>
35081 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
35082 regparm (2) instead of internal_function.
35083 (_MCOUNT_DECL): Adjust.
35085 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
35087 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
35088 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
35090 2017-08-14 Joseph Myers <joseph@codesourcery.com>
35092 * conform/data/sys/wait.h-data (si_value): Do not expect for
35095 2017-08-14 Florian Weimer <fweimer@redhat.com>
35098 NSS: Create stubs for accidentally exported lookup functions.
35099 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
35100 Remove declaration.
35101 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
35102 (ether_hostton): Call __nss_ethers_lookup2 instead.
35103 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
35104 (ether_ntohost): Call __nss_ethers_lookup2 instead.
35105 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
35106 (setup): Call __nss_netgroup_lookup2 instead.
35107 * nss/Makefile (routines): Add compat-lookup.
35108 * nss/Versions (GLIBC_2.27): Add symbol version.
35109 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
35110 (DB_COMPAT_FCT): Remove.
35111 * nss/compat-lookup.c: New file.
35112 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
35113 from databases.def.
35114 * nss/service-lookup.c (NO_COMPAT): Remove definition.
35115 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
35116 (netname2user): Call __nss_publickey_lookup2 instead.
35117 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
35118 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
35121 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35122 Sergei Trofimovich <slyfox@inbox.ru>
35125 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
35126 Rename to MMAP2_PAGE_UNIT.
35127 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
35128 __OFF_T_MATCHES_OFF64_T is not defined.
35129 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
35131 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
35132 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
35134 2017-08-14 Florian Weimer <fweimer@redhat.com>
35136 i386: Do not set internal_function.
35137 * config.h.in (USE_REGPARMS, internal_function): Remove.
35138 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
35139 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
35141 2017-08-14 Florian Weimer <fweimer@redhat.com>
35143 * elf/dl-init.c (_dl_init): Remove internal_function.
35144 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
35145 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
35147 2017-08-14 Florian Weimer <fweimer@redhat.com>
35149 * elf/rtld.c (_dl_start): Remove internal_function.
35150 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
35153 2017-08-14 Florian Weimer <fweimer@redhat.com>
35155 * elf/dl-fini.c (_dl_fini): Remove internal_function
35156 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
35158 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
35160 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
35161 (bit_cpu_SHSTK): Likewise.
35162 (index_cpu_IBT): Likewise.
35163 (index_cpu_SHSTK): Likewise.
35164 (reg_IBT): Likewise.
35165 (reg_SHSTK): Likewise.
35166 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
35167 Handle index_cpu_IBT and index_cpu_SHSTK.
35169 2017-08-14 Mike FABIAN <mfabian@redhat.com>
35172 * po/fr.po: Fix spelling mistake.
35174 2017-08-13 Florian Weimer <fweimer@redhat.com>
35176 * elf/dl-addr.c (_dl_addr): Remove internal_function.
35177 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
35178 (_dl_catch_error, _dl_receive_error): Likewise.
35179 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
35180 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
35181 (_dl_deallocate_tls): Likewise.
35182 * include/dlfcn.h (_dl_addr): Likewise.
35183 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
35184 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
35185 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
35188 2017-08-13 Florian Weimer <fweimer@redhat.com>
35190 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
35191 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
35193 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
35195 2017-08-13 Florian Weimer <fweimer@redhat.com>
35197 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
35199 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
35200 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
35201 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
35202 internal_function from _dl_make_stack_executable_hook member.
35203 (_dl_make_stack_executable): Remove internal_function.
35204 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
35206 * sysdeps/unix/sysv/linux/dl-execstack.c
35207 (_dl_make_stack_executable): Likewise.
35209 2017-08-13 Florian Weimer <fweimer@redhat.com>
35211 * sysdeps/unix/sysv/linux/netlinkaccess.h
35212 (__netlink_assert_response): Remove internal_function.
35213 * sysdeps/unix/sysv/linux/netlink_assert_response.c
35214 (__netlink_assert_response): Likewise.
35216 2017-08-13 Florian Weimer <fweimer@redhat.com>
35218 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
35220 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
35222 2017-08-13 Florian Weimer <fweimer@redhat.com>
35224 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
35226 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
35227 * inet/netgroup.h (__internal_setnetgrent)
35228 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35229 * inet/getnetgrent_r.c (__internal_setnetgrent)
35230 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35231 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
35232 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
35233 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
35234 * nss/nsswitch.h (db_lookup_function): Likewise.
35236 2017-08-13 Florian Weimer <fweimer@redhat.com>
35238 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
35239 Remove internal_function.
35240 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
35241 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
35242 message argument on the stack.
35243 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
35246 2017-08-12 Mike FABIAN <mfabian@redhat.com>
35248 Adapt test case data to the changes in the thousands
35252 * localedata/tst-langinfo.sh: Adapt test case data.
35253 * stdlib/tst-strfmon_l.c: Likewise.
35254 * stdlib/tst-strtod4.c: Likewise.
35255 * stdlib/tst-strtod5i.c: Likewise.
35257 2017-08-11 Florian Weimer <fweimer@redhat.com>
35260 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
35261 Suppress pedantic warning resulting from statement expression.
35262 (__ASSERT_FUNCTION): Add missing __extension__.
35264 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
35266 * benchtests/bench-memmove-large.c: Print output in JSON
35268 * benchtests/bench-memmove.c: Likewise.
35270 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
35271 * benchtests/bench-memchr.c (do_one_test): Likewise.
35272 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
35273 * benchtests/bench-memcpy.c (do_one_test): Likewise.
35274 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
35275 * benchtests/bench-memmove.c (do_one_test): Likewise.
35276 * benchtests/bench-memset-large.c (do_one_test): Likewise.
35277 * benchtests/bench-memset.c (do_one_test): Likewise.
35278 * benchtests/bench-string.h (test_init): Remove memsets.
35280 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
35283 (Computing the Width of an Integer Data Type): Rename section to
35284 "Width of an Integer Type". Remove inaccurate statement regarding
35285 lack of C language facilities for determining width of integer
35286 types, and reorder content to improve flow and context of
35289 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
35291 * lang.texi (va_copy): Change standard from ISO to C99.
35292 (__va_copy): Add standard and header annotation.
35293 Update description for clarity of origins and current use.
35295 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35298 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
35299 xssqrtqp requires operands to be in Vector Registers
35300 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
35301 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
35302 (__ieee754_sqrtf128): Likewise.
35304 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
35306 * sysdeps/aarch64/memcmp.S (memcmp):
35307 Rewrite of optimized memcmp.
35309 2017-08-10 Florian Weimer <fweimer@redhat.com>
35311 Introduce ld.so exceptions.
35312 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
35313 (_dl_exception_create, _dl_exception_create_format)
35314 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
35315 (_dl_catch_exception): Declare.
35316 (_dl_catch_error): Update comment.
35317 * elf/dl-error-skeleton.c (struct catch): Replace objname,
35318 errstring, malloced members with exception member.
35319 (_dl_out_of_memory): Remove.
35320 (fatal_error): New function, extracted from _dl_signal_error.
35321 (_dl_signal_exception, _dl_signal_cexception): New functions.
35322 (_dl_signal_error): Call _dl_exception_create to allocate an
35324 (_dl_catch_exception): New function, based on _dl_catch_error.
35325 (_dl_catch_error): Implement using _dl_catch_exception.
35326 * elf/dl-exception.c: New file.
35327 * elf/Makefile (dl-routines): Add dl-exception.
35328 (elide-routines.os): Likewise.
35329 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
35330 _dl_exception_create_format, _dl_exception_free.
35331 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
35332 _dl_signal_exception.
35333 * elf/dl-lookup.c (make_string): Remove.
35334 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
35335 _dl_signal_cexception, _dl_exception_free.
35336 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
35337 _dl_signal_exception.
35338 * elf/dl-sym.c (do_sym): Likewise.
35339 * elf/dl-version.c (make_string): Remove.
35340 (match_symbol): Use _dl_exception_create_format,
35341 _dl_signal_cexception, _dl_exception_free.
35342 (_dl_check_map_versions): Likewise.
35343 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
35344 _dl_catch_exception.
35345 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
35346 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
35347 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
35348 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
35349 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
35350 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
35351 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
35352 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
35354 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
35355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
35357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
35359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
35361 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
35362 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
35363 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
35365 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
35367 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
35369 2017-08-10 Florian Weimer <fweimer@redhat.com>
35371 * inet/net-internal.h (__inet6_scopeid_pton): Remove
35372 attribute_hidden, internal_function.
35373 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
35376 2017-08-10 Florian Weimer <fweimer@redhat.com>
35378 * malloc/malloc.c (get_max_fast): Reimplement as an inline
35379 function which calls __builtin_unreachable.
35381 2017-08-10 Mike FABIAN <mfabian@redhat.com>
35383 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
35384 Indian monetary formatting
35385 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
35388 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
35390 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
35391 Fix typo in comment.
35394 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
35395 PTRACE_SEIZE_DEVEL): Remove.
35396 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
35397 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35398 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35399 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35400 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35402 2017-08-09 Joseph Myers <joseph@codesourcery.com>
35404 * posix/bits/types.h (__qaddr_t): Remove.
35407 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
35408 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35410 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
35411 (ucontext_t): Use __ctx with uc_flags.
35412 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
35413 (__ctxt): Likewise.
35414 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35416 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
35417 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35419 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
35420 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35422 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
35424 (ucontext_t): Use __ctx with uc_flags.
35425 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
35426 (ucontext_t): Use __ctx with uc_flags.
35427 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
35428 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
35429 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
35430 (ucontext_t): Use __ctx with uc_flags.
35431 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
35432 undefine further down.
35433 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35435 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
35436 undefine further down.
35437 (ucontext_t): Use __ctx with uc_flags.
35438 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
35439 undefine further down.
35440 (ucontext_t): Use __ctx with uc_flags.
35441 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
35442 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
35443 Rename uc_pad to __glibc_reserved1.
35444 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
35445 undefine further down.
35446 (ucontext_t): Use __ctx with uc_flags.
35447 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
35449 (ucontext_t): Use __ctx with uc_flags.
35450 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
35451 __ctx with uc_flags.
35452 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
35453 (ucontext_t): Use __ctx with uc_flags.
35454 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
35455 __ctx with uc_flags.
35457 2017-08-09 Florian Weimer <fweimer@redhat.com>
35460 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
35461 before early return.
35463 2017-08-09 Andreas Schwab <schwab@suse.de>
35466 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
35470 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
35471 tst-compat-forwarder.
35472 (modules-names): Add tst-compat-forwarder-mod.
35473 ($(objpfx)tst-compat-forwarder): Depend on
35474 $(objpfx)tst-compat-forwarder-mod.so.
35475 * nptl/tst-compat-forwarder.c: New file.
35476 * nptl/tst-compat-forwarder-mod.c: New file.
35478 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
35480 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
35483 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
35484 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
35486 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
35488 (__libc_ifunc_impl_list): Add __memcpy_falkor.
35489 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
35490 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
35491 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
35493 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
35496 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35499 * manual/setjmp.texi (getcontex): Document uc_stack value
35500 compatibility differences.
35502 2017-08-08 Joseph Myers <joseph@codesourcery.com>
35504 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
35505 (old_malloc_hook): Likewise.
35506 (old_memalign_hook): Likewise.
35507 (old_realloc_hook): Likewise.
35508 (struct hdr): Likewise.
35510 (freehook): Likewise.
35511 (mallochook): Likewise.
35512 (memalignhook): Likewise.
35513 (reallochook): Likewise.
35514 (mprobe): Likewise.
35515 * malloc/mtrace.c (mallwatch): Likewise.
35516 (tr_old_free_hook): Likewise.
35517 (tr_old_malloc_hook): Likewise.
35518 (tr_old_realloc_hook): Likewise.
35519 (tr_old_memalign_hook): Likewise.
35520 (tr_where): Likewise.
35521 (lock_and_info): Likewise.
35522 (tr_freehook): Likewise.
35523 (tr_mallochook): Likewise.
35524 (tr_reallochook): Likewise.
35525 (tr_memalignhook): Likewise.
35526 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
35527 * misc/mmap.c (__mmap): Likewise.
35528 * misc/mmap64.c (__mmap64): Likewise.
35529 * misc/mprotect.c (__mprotect): Likewise.
35530 * misc/msync.c (msync): Likewise.
35531 * misc/munmap.c (__munmap): Likewise.
35532 * posix/posix_madvise.c (posix_madvise): Likewise.
35533 * socket/send.c (__send): Likewise.
35534 * socket/sendto.c (__sendto): Likewise.
35535 * socket/setsockopt.c (__setsockopt): Likewise.
35536 * string/memcmp.c (__ptr_t): Remove macro.
35537 (MEMCMP): Use void * instead of ptr_t.
35538 * string/memrchr.c (__ptr_t): Remove macro.
35539 (__memrchr): Use void * instead of ptr_t.
35540 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
35541 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
35542 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
35543 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
35544 * sysdeps/mach/msync.c (msync): Likewise.
35545 * sysdeps/mach/munmap.c (__munmap): Likewise.
35546 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
35548 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35549 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
35550 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
35551 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
35552 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
35553 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35554 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
35555 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
35557 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35558 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
35559 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
35560 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
35561 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
35562 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
35563 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
35564 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
35565 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
35567 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
35568 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
35569 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
35570 (MEMCMP): Use void * instead of ptr_t.
35571 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
35572 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
35574 2017-08-08 Florian Weimer <fweimer@redhat.com>
35576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
35579 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
35582 * csu/libc-tls.c: Include <startup.h> first.
35583 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
35584 * elf/dl-tunables.c: Include <startup.h> first.
35585 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
35586 * sysdeps/generic/startup.h: New file.
35587 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
35588 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
35589 (I386_USE_SYSENTER): New. Defined to 0.
35591 2017-08-08 Andreas Schwab <schwab@suse.de>
35594 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
35595 * nptl/pt-system.c (system): Likewise.
35597 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35600 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
35602 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
35603 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
35604 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
35605 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
35606 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
35607 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
35608 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
35610 2017-08-07 Joseph Myers <joseph@codesourcery.com>
35613 * bits/sigaction.h (struct sigaction): Define sa_handler and
35614 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
35615 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35616 [__USE_XOPEN_EXTENDED].
35617 (SA_RESTART): Likewise.
35618 (SA_NODEFER): Likewise.
35619 (SA_RESETHAND): Likewise.
35620 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
35621 (struct sigaction): Define sa_handler and sa_sigaction using union
35622 also for [__USE_XOPEN_EXTENDED].
35623 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35624 [__USE_XOPEN_EXTENDED].
35625 (SA_RESTART): Likewise.
35626 (SA_NODEFER): Likewise.
35627 (SA_RESETHAND): Likewise.
35628 * sysdeps/unix/sysv/linux/bits/sigaction.h
35629 (struct sigaction): Define sa_handler and sa_sigaction using union
35630 also for [__USE_XOPEN_EXTENDED].
35631 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35632 [__USE_XOPEN_EXTENDED].
35633 (SA_RESTART): Likewise.
35634 (SA_NODEFER): Likewise.
35635 (SA_RESETHAND): Likewise.
35636 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
35637 (struct sigaction): Define sa_handler and sa_sigaction using union
35638 also for [__USE_XOPEN_EXTENDED].
35639 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35640 [__USE_XOPEN_EXTENDED].
35641 (SA_RESTART): Likewise.
35642 (SA_NODEFER): Likewise.
35643 (SA_RESETHAND): Likewise.
35644 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
35645 (struct sigaction): Define sa_handler and sa_sigaction using union
35646 also for [__USE_XOPEN_EXTENDED].
35647 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35648 [__USE_XOPEN_EXTENDED].
35649 (SA_RESTART): Likewise.
35650 (SA_NODEFER): Likewise.
35651 (SA_RESETHAND): Likewise.
35652 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35653 (struct sigaction): Define sa_handler and sa_sigaction using union
35654 also for [__USE_XOPEN_EXTENDED].
35655 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35656 [__USE_XOPEN_EXTENDED].
35657 (SA_RESTART): Likewise.
35658 (SA_NODEFER): Likewise.
35659 (SA_RESETHAND): Likewise.
35660 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35661 (struct sigaction): Define sa_handler and sa_sigaction using union
35662 also for [__USE_XOPEN_EXTENDED].
35663 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35664 [__USE_XOPEN_EXTENDED].
35665 (SA_RESTART): Likewise.
35666 (SA_NODEFER): Likewise.
35667 (SA_RESETHAND): Likewise.
35668 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35669 (struct sigaction): Define sa_handler and sa_sigaction using union
35670 also for [__USE_XOPEN_EXTENDED].
35671 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35672 [__USE_XOPEN_EXTENDED].
35673 (SA_RESTART): Likewise.
35674 (SA_NODEFER): Likewise. Define directly rather than as alias.
35675 (SA_RESETHAND): Likewise.
35676 (SA_INTERRUPT): Define only for [__USE_MISC].
35677 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
35678 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
35680 (SA_STACK): Define only for [__USE_MISC].
35681 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
35682 (struct sigaction): Define sa_handler and sa_sigaction using union
35683 also for [__USE_XOPEN_EXTENDED].
35684 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35685 [__USE_XOPEN_EXTENDED].
35686 (SA_RESTART): Likewise.
35687 (SA_NODEFER): Likewise.
35688 (SA_RESETHAND): Likewise.
35689 (SA_NOPTRACE): Define only for [__USE_MISC].
35691 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
35692 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
35693 (struct catalog_info): Likewise.
35694 * inet/htontest.c (lo): Likewise.
35696 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35697 * inet/inet_net.c (inet_network): Likewise.
35698 * inet/inet_netof.c (inet_netof): Likewise.
35699 * inet/rcmd.c (__ivaliduser): Likewise.
35700 (iruserok): Likewise.
35701 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
35702 * locale/programs/locale-spec.c (locale_special): Likewise.
35703 * nis/nis_findserv.c (struct findserv_req): Likewise.
35704 (__nis_findfastest_with_timeout): Likewise.
35705 * nss/test-netdb.c (test_network): Likewise.
35706 * resolv/inet_neta.c (inet_neta): Likewise.
35707 * resolv/ns_date.c (ns_datetosecs): Likewise.
35708 (SECS_PER_DAY): Likewise.
35709 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
35711 * resolv/res_comp.c (__putlong): Likewise.
35712 (__putshort): Likewise.
35713 (_getlong): Likewise.
35714 (_getshort): Likewise.
35715 * resolv/res_debug.c (p_time): Likewise.
35716 (precsize_ntoa): Likewise.
35717 (precsize_aton): Likewise.
35718 (latlon2ul): Likewise.
35719 (loc_aton): Likewise.
35720 (loc_ntoa): Likewise.
35721 * resolv/res_hconf.c (struct netaddr): Likewise.
35722 (_res_hconf_reorder_addrs): Likewise.
35723 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
35724 (clnttcp_control): Likewise.
35725 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35726 (clntudp_control): Likewise.
35727 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
35728 (clntunix_control): Likewise.
35729 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
35730 * sunrpc/rpc/auth.h (union des_block): Likewise.
35731 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
35732 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
35733 (xdrrec_create): Likewise.
35734 (xdrrec_endofrecord): Likewise.
35735 (flush_out): Likewise.
35736 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
35737 (xdrstdio_putlong): Likewise.
35738 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
35741 * misc/sys/cdefs.h (__long_double_t): Remove.
35742 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
35743 instead of __long_double_t,
35744 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
35746 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
35748 * benchtests/scripts/compare_strings.py: Avoid display error when
35749 running on a text terminal.
35751 * benchtests/scripts/compare_strings.py (main): Add an
35752 optional -base option.
35753 (process_results): New argument base_func.
35755 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
35757 * benchtests/bench-memcpy-large.c (test_name): Likewise.
35758 * benchtests/bench-memcpy-random.c (test_name): Likewise.
35760 2017-08-07 Andreas Schwab <schwab@suse.de>
35762 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
35763 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35764 * intl/Makefile ($(objpfx)tst-gettext.out)
35765 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
35766 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
35767 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35768 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35769 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
35770 * posix/Makefile ($(objpfx)globtest.out)
35771 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
35772 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
35773 ($(objpfx)tst-printf.out): Likewise.
35774 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
35775 ($(objpfx)tst-setcontext3.out): Likewise.
35777 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
35779 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35780 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
35781 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
35782 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
35783 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
35785 (CFLAGS-doasin-fma.c): New.
35786 (CFLAGS-dosincos-fma.c): Likewise.
35787 (CFLAGS-e_asin-fma.c): Likewise.
35788 (CFLAGS-e_atan2-fma.c): Likewise.
35789 (CFLAGS-e_exp-fma.c): Likewise.
35790 (CFLAGS-e_log-fma.c): Likewise.
35791 (CFLAGS-e_pow-fma.c): Likewise.
35792 (CFLAGS-halfulp-fma.c): Likewise.
35793 (CFLAGS-mpa-fma.c): Likewise.
35794 (CFLAGS-mpatan-fma.c): Likewise.
35795 (CFLAGS-mpatan2-fma.c): Likewise.
35796 (CFLAGS-mpexp-fma.c): Likewise.
35797 (CFLAGS-mplog-fma.c): Likewise.
35798 (CFLAGS-mpsqrt-fma.c): Likewise.
35799 (CFLAGS-mptan-fma.c): Likewise.
35800 (CFLAGS-s_atan-fma.c): Likewise.
35801 (CFLAGS-sincos32-fma.c): Likewise.
35802 (CFLAGS-slowexp-fma.c): Likewise.
35803 (CFLAGS-slowpow-fma.c): Likewise.
35804 (CFLAGS-s_sin-fma.c): Likewise.
35805 (CFLAGS-s_tan-fma.c): Likewise.
35806 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
35807 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
35808 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
35809 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
35810 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
35811 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
35812 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
35813 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
35814 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
35815 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
35816 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
35817 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
35818 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
35819 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
35820 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
35821 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
35822 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
35823 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
35824 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
35825 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
35826 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
35827 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
35828 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
35829 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
35830 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35831 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35832 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35833 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
35834 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35835 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35836 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35838 2017-08-04 Joseph Myers <joseph@codesourcery.com>
35840 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
35841 (min_of_type_f): New macro.
35842 (min_of_type_): Likewise.
35843 (min_of_type_l): Likewise.
35844 (min_of_type_f128): Likewise.
35845 (min_of_type): Define using __MATH_TG and taking an expression
35847 (math_check_force_underflow): Pass expression instead of type to
35849 (math_check_force_underflow_nonneg): Likewise.
35851 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35853 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35854 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
35855 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
35857 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35859 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35860 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
35861 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
35862 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
35863 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
35864 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
35865 memcpy_chk-nonshared, mempcpy_chk-nonshared,
35866 memmove_chk-nonshared and memset_chk-nonshared
35867 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
35868 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
35869 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
35870 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
35871 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
35872 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
35873 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
35874 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
35875 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
35876 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
35877 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
35878 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
35879 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
35880 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
35881 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
35882 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
35883 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
35884 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
35885 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
35886 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
35887 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
35888 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
35889 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
35890 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
35891 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
35892 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
35893 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
35894 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
35895 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
35896 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
35897 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
35898 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
35899 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
35900 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35901 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35902 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
35903 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
35904 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
35905 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
35906 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
35907 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
35908 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
35909 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
35910 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
35911 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
35912 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
35913 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
35914 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
35915 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
35916 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
35917 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
35918 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
35919 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
35920 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
35921 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
35922 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
35923 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
35924 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
35925 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
35926 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
35927 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
35928 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
35929 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
35930 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
35931 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
35932 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
35933 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
35934 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
35935 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
35936 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
35937 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
35938 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35939 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35940 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35941 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35942 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35943 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35944 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35945 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35946 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35947 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35948 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35949 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35950 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35951 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35952 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35953 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35954 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35955 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35956 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35957 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35958 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35959 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35960 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35961 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35962 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35963 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35964 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35965 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35966 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35967 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35968 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35969 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35970 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35971 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35972 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35973 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35974 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35976 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35978 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
35979 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
35980 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
35981 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
35982 svml_d_log2_core-sse2, svml_d_log4_core-sse,
35983 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
35984 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
35985 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
35986 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
35987 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
35988 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
35989 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
35990 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
35991 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
35992 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
35993 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
35994 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
35995 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
35996 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
35997 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
35998 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
35999 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
36000 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
36001 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
36002 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
36003 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
36004 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
36005 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
36006 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
36007 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
36008 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
36009 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
36010 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
36011 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
36012 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
36013 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
36014 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
36015 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
36016 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
36017 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
36018 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
36019 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
36020 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
36021 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
36022 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
36023 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
36024 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
36025 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
36026 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
36027 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
36028 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
36029 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
36030 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
36031 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
36032 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
36033 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
36034 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
36035 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
36036 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
36038 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
36039 Don't include <sysdep.h> nor <init-arch.h>.
36040 (_ZGVbN2v_cos): Removed.
36041 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
36043 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
36044 Don't include <sysdep.h> nor <init-arch.h>.
36045 (_ZGVdN4v_cos): Removed.
36046 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
36048 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
36049 Don't include <sysdep.h> nor <init-arch.h>.
36050 (_ZGVeN8v_cos): Removed.
36051 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
36053 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
36054 Don't include <sysdep.h> nor <init-arch.h>.
36055 (_ZGVbN2v_exp): Removed.
36056 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
36058 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
36059 Don't include <sysdep.h> nor <init-arch.h>.
36060 (_ZGVdN4v_exp): Removed.
36061 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
36063 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
36064 Don't include <sysdep.h> nor <init-arch.h>.
36065 (_ZGVeN8v_exp): Removed.
36066 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
36068 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
36069 Don't include <sysdep.h> nor <init-arch.h>.
36070 (_ZGVbN2v_log): Removed.
36071 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
36073 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
36074 Don't include <sysdep.h> nor <init-arch.h>.
36075 (_ZGVdN4v_log): Removed.
36076 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
36078 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
36079 Don't include <sysdep.h> nor <init-arch.h>.
36080 (_ZGVeN8v_log): Removed.
36081 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
36083 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
36084 Don't include <sysdep.h> nor <init-arch.h>.
36085 (_ZGVbN2vv_pow): Removed.
36086 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
36088 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
36089 Don't include <sysdep.h> nor <init-arch.h>.
36090 (_ZGVdN4vv_pow): Removed.
36091 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
36093 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
36094 Don't include <sysdep.h> nor <init-arch.h>.
36095 (_ZGVeN8vv_pow): Removed.
36096 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
36098 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
36099 Don't include <sysdep.h> nor <init-arch.h>.
36100 (_ZGVbN2v_sin): Removed.
36101 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
36103 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
36104 Don't include <sysdep.h> nor <init-arch.h>.
36105 (_ZGVbN4v_sin): Removed.
36106 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
36108 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
36109 Don't include <sysdep.h> nor <init-arch.h>.
36110 (_ZGVbN8v_sin): Removed.
36111 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
36113 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
36114 Don't include <sysdep.h> nor <init-arch.h>.
36115 (_ZGVbN2vvv_sincos): Removed.
36116 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
36118 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
36119 Don't include <sysdep.h> nor <init-arch.h>.
36120 (_ZGVdN4vvv_sincos): Removed.
36121 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
36123 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
36124 Don't include <sysdep.h> nor <init-arch.h>.
36125 (_ZGVeN8vvv_sincos): Removed.
36126 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
36128 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
36129 Don't include <sysdep.h> nor <init-arch.h>.
36130 (_ZGVeN16v_cosf): Removed.
36131 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
36133 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
36134 Don't include <sysdep.h> nor <init-arch.h>.
36135 (_ZGVbN4v_cosf): Removed.
36136 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
36138 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
36139 Don't include <sysdep.h> nor <init-arch.h>.
36140 (_ZGVdN8v_cosf): Removed.
36141 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
36143 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
36144 Don't include <sysdep.h> nor <init-arch.h>.
36145 (_ZGVeN16v_expf): Removed.
36146 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
36148 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
36149 Don't include <sysdep.h> nor <init-arch.h>.
36150 (_ZGVbN4v_expf): Removed.
36151 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
36153 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
36154 Don't include <sysdep.h> nor <init-arch.h>.
36155 (_ZGVdN8v_expf): Removed.
36156 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
36158 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
36159 Don't include <sysdep.h> nor <init-arch.h>.
36160 (_ZGVeN16v_logf): Removed.
36161 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
36163 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
36164 Don't include <sysdep.h> nor <init-arch.h>.
36165 (_ZGVbN4v_logf): Removed.
36166 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
36168 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
36169 Don't include <sysdep.h> nor <init-arch.h>.
36170 (_ZGVdN8v_logf): Removed.
36171 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
36173 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
36174 Don't include <sysdep.h> nor <init-arch.h>.
36175 (_ZGVeN16vv_powf): Removed.
36176 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
36178 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
36179 Don't include <sysdep.h> nor <init-arch.h>.
36180 (_ZGVbN4vv_powf): Removed.
36181 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
36183 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
36184 Don't include <sysdep.h> nor <init-arch.h>.
36185 (_ZGVdN8vv_powf): Removed.
36186 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
36188 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
36189 Don't include <sysdep.h> nor <init-arch.h>.
36190 (_ZGVeN16vvv_sincosf): Removed.
36191 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
36193 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
36194 Don't include <sysdep.h> nor <init-arch.h>.
36195 (_ZGVbN4vvv_sincosf): Removed.
36196 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
36198 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
36199 Don't include <sysdep.h> nor <init-arch.h>.
36200 (_ZGVdN8vvv_sincosf): Removed.
36201 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
36203 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
36204 Don't include <sysdep.h> nor <init-arch.h>.
36205 (_ZGVeN16v_sinf): Removed.
36206 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
36208 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
36209 Don't include <sysdep.h> nor <init-arch.h>.
36210 (_ZGVbN4v_sinf): Removed.
36211 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
36213 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
36214 Don't include <sysdep.h> nor <init-arch.h>.
36215 (_ZGVdN8v_sinf): Removed.
36217 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36219 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36220 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
36221 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
36222 s_rint-sse4_1 and s_rintf-sse4_1.
36223 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
36224 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
36225 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
36226 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
36227 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
36228 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
36229 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
36230 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
36231 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
36232 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
36233 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
36234 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36236 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
36237 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
36238 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36239 (__ceilf): Removed.
36240 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
36241 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
36242 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36243 (__floor): Removed.
36244 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
36245 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
36246 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36247 (__floorf): Removed.
36248 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
36249 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
36250 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36251 (__nearbyint): Removed.
36252 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
36253 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
36254 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36255 (__nearbyintf): Removed.
36256 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
36257 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
36258 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36260 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
36261 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
36262 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36263 (__rintf): Removed.
36265 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36267 * sysdeps/i386/start.S (_start): Check Check PIC instead of
36268 SHARED. Avoid dynamic relocation against main in static PIE.
36270 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36273 * elf/Makefile (CFLAGS-tst-prelink.c): New.
36274 (LDFLAGS-tst-prelink): Likewise.
36276 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36278 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
36279 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
36280 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
36281 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
36282 (INTERNAL_SYSCALL_NCS): Likewise.
36283 (LOADARGS_1): Likewise.
36284 (LOADARGS_5): Likewise.
36285 (RESTOREARGS_1): Likewise.
36286 (RESTOREARGS_5): Likewise.
36288 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36290 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
36291 (MEMPCPY_SYMBOL): Likewise.
36292 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36293 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
36294 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
36296 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36297 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
36299 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
36300 (__hidden_ver1): Don't use in libc.a.
36301 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
36302 (__mempcpy): Don't create a weak alias in libc.a.
36303 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
36305 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
36306 (__hidden_ver1): Don't use in libc.a.
36308 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36310 * config.make.in (have-insert): New.
36311 * configure.ac (libc_cv_insert): New. Set to yes if linker
36312 supports INSERT in linker script.
36313 (AC_SUBST(libc_cv_insert): New.
36314 * configure: Regenerated.
36315 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
36316 if $(have-insert) == yes.
36318 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36320 * elf/Makefile (tests): Add vismain only if
36321 $(have-protected-data) == yes.
36322 (tests-pie): Likewise.
36324 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36327 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
36328 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
36330 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36333 * sysdeps/i386/i586/memset.S
36334 (__memset_zero_constant_len_parameter): Removed.
36335 * sysdeps/i386/i686/memset.S
36336 (__memset_zero_constant_len_parameter): Likewise.
36337 * sysdeps/i386/i686/multiarch/memset_chk.S
36338 (__memset_zero_constant_len_parameter): Likewise.
36339 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
36342 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36344 * stdlib/getentropy.c (getentropy): Change return type to int.
36346 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36348 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
36350 2017-08-03 Joseph Myers <joseph@codesourcery.com>
36352 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
36354 * math/s_nexttowardf.c (__nexttowardf): Likewise.
36355 * sysdeps/generic/math_private.h (ieee_double_shape_type):
36357 (ieee_float_shape_type): Likewise.
36358 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
36359 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
36360 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36361 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36362 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
36363 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
36364 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
36365 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36366 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
36368 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36369 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
36370 (__ieee754_yn): Likewise.
36371 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36372 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36373 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
36375 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36376 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
36377 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
36378 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
36379 (__erfc): Likewise.
36380 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
36381 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
36382 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
36383 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
36384 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
36385 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
36387 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
36388 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
36389 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
36390 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
36391 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36392 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
36393 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
36394 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
36395 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
36396 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
36397 (__issignaling): Likewise.
36398 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
36399 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
36400 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
36402 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36403 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
36404 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
36405 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
36407 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
36409 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
36410 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
36411 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
36412 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
36413 (__erfcf): Likewise.
36414 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
36415 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
36416 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
36417 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
36419 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
36420 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
36422 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
36423 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
36424 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
36425 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
36426 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
36427 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36428 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
36429 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
36431 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
36433 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
36435 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
36436 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
36438 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36440 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
36441 (__ieee754_ynl): Likewise.
36442 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
36443 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
36445 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
36447 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
36448 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
36449 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36451 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
36452 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
36453 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
36454 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
36455 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
36456 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
36457 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
36458 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
36460 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
36461 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
36462 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
36464 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
36465 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
36466 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
36467 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
36468 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
36469 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36471 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36473 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36475 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36477 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
36478 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36479 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36480 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
36481 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
36482 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
36483 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
36485 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36487 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36488 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36490 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
36491 (__ieee754_remainderl): Likewise.
36492 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36493 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36494 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
36495 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
36497 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
36498 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36500 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36501 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
36502 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
36503 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
36504 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36505 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36507 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
36508 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
36509 (__ieee754_y0l): Likewise.
36512 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36513 (__ieee754_y1l): Likewise.
36516 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
36517 (__ieee754_ynl): Likewise.
36518 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
36519 (__ieee754_lgammal_r): Likewise.
36520 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
36522 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
36523 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
36524 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
36525 (__erfcl): Likewise.
36526 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
36527 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
36529 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
36530 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
36531 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
36532 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
36533 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
36534 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36535 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36537 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
36538 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36539 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
36540 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
36541 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36543 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
36544 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
36546 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
36547 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
36548 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
36549 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36550 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
36552 2017-08-03 Florian Weimer <fweimer@redhat.com>
36555 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
36556 on memory allocation failure.
36558 2017-08-03 Alan Modra <amodra@gmail.com>
36560 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
36561 tst-tlsopt-powerpc.c with function name change and no test harness.
36562 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
36563 Call tls_get_addr_opt_test.
36564 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
36565 (modules-names): Add mod-tlsopt-powerpc.
36566 (mod-tlsopt-powerpc.so-no-z-defs): Define.
36567 (tst-tlsopt-powerpc): Depend on .so.
36568 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
36569 define. Expand use in TLS_GD and TLS_LD.
36571 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36573 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
36575 * sysdeps/posix/shm_open.c: Include <pthread.h>.
36577 2017-08-02 Joseph Myers <joseph@codesourcery.com>
36580 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
36581 comparing size with that of double.
36582 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36583 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36584 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36585 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36586 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36587 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
36588 unsigned __int128 types.
36590 2017-08-02 Steve Ellcey <sellcey@cavium.com>
36592 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
36593 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
36594 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
36595 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
36596 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
36598 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36600 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
36602 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36604 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
36606 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36607 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36608 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36609 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36610 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36611 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36612 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36614 2017-08-02 Joseph Myers <joseph@codesourcery.com>
36617 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
36618 bit-field expressions passed to sizeof or typeof.
36619 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36620 (__TGMATH_F128): Likewise.
36621 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36622 (__TGMATH_CF128): Likewise.
36623 (__TGMATH_UNARY_REAL_ONLY): Likewise.
36624 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
36625 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
36626 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
36627 (__TGMATH_BINARY_REAL_ONLY): Likewise.
36628 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36629 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36630 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36631 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36632 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
36633 (__TGMATH_UNARY_REAL_IMAG): Likewise.
36634 (__TGMATH_UNARY_IMAG): Likewise.
36635 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
36636 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36637 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
36639 (define_vars_for_type): Handle bit_field type specially.
36640 (Tests.__init__): Declare structure with bit-field element.
36642 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36645 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
36646 (MEMCPY_CHK): Define only if SHARED is defined.
36647 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
36649 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
36652 See ChangeLog.18 for earlier changes.