1 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
4 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
6 * sysdeps/x86_64/configure: Regenerated.
7 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
8 to -mprefer-vector-width=128 if supported.
10 2019-07-24 Florian Weimer <fweimer@redhat.com>
12 * scripts/build-many-glibcs.py (Context.checkout): Default to
15 2019-07-24 Florian Weimer <fweimer@redhat.com>
18 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
19 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
20 (sysdep_headers): Add bits/socket-constants.h.
21 (tests-special): Add tst-socket-consts.out.
22 (tst-socket-consts.out): New target.
23 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
24 around <asm/unistd.h>.
25 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
26 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
28 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
29 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
30 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
31 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
32 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
33 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
35 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
37 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
40 * Makefile (testroot.pristine/install.stamp): Pass
41 subdirs='$(all-subdirs)' to make install.
43 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
44 the same arguments used in all tests.
46 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
48 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
50 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
53 * locale/C-translit.h.in: Add Cyrillic transliteration.
55 2019-07-19 Florian Weimer <fweimer@redhat.com>
57 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
59 (fsconfig): Add system call name.
63 (move_mount): Likewise.
64 (open_tree): Likewise.
66 2019-07-18 Carlos O'Donell <carlos@redhat.com>
68 * po/libc.pot: Regenerate.
70 2019-07-18 Mike Crowe <mac@mcrowe.com>
72 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
73 functions recently added to sysdeps/nptl/pthread.h:
74 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
75 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
77 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
78 pthread_cond_clockwait forwarding functions. There are no internal
79 users, so it is unnecessary to expose these functions in libc.so.
80 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
81 unnecessary ptr___pthread_cond_clockwait member.
82 * nptl/nptl-init.c (pthread_functions): Remove assignment of
85 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
88 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
89 begin with an uppercase letter now.
91 (mon): Update from CLDR, reword February from "Kudo" to
92 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
93 and August from "Liiqen" to "Leqeeni".
94 * localedata/locales/aa_ER (mon): Update from CLDR, reword
95 April from "Agda Baxisso" to "Agda Baxis" and August from
96 "Leqeeni" to "Liiqen".
97 * localedata/locales/aa_ER@saaho (mon): Likewise.
98 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
99 abbreviated February from "Kud" to "Nah".
100 (mon): Update from CLDR, reword February from "Kudo" to
101 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
103 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
106 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
108 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
111 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
112 name_mrs, name_miss, and name_ms.
113 * localedata/locales/nl_NL (LC_NAME): Likewise.
115 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
118 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
119 * localedata/locales/en_IE (first_weekday): Likewise.
121 2019-07-12 Mike Crowe <mac@mcrowe.com>
123 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
124 that is only useful if futex_supports_exact_relative_timeouts ()
126 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
128 * sysdeps/nptl/futex-internal.h: Remove comment about relative
129 timeouts potentially being imprecise since it's no longer true.
130 Remove declaration of futex_supports_exact_relative_timeouts.
131 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
132 of futex_supports_exact_relative_timeouts.
134 * NEWS: Mention recently-added pthread_cond_clockwait,
135 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
136 sem_clockwait functions.
138 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
139 works like pthread_mutex_timedlock but takes a clockid parameter to
140 measure the abstime parameter against.
141 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
142 * nptl/DESIGN-systemtap-probes.txt: Likewise.
143 * nptl/pthread_mutex_timedlock.c
144 (__pthread_mutex_clocklock_common): Rename from
145 __pthread_mutex_timedlock and add clockid parameter. Pass this
146 parameter to lll_clocklock and lll_clocklock_elision in place of
147 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
148 LIBC_PROBE and validate clockid parameter before calling
149 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
150 implementation to add LIBC_PROBE and calls
151 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
153 * nptl/Makefile: Add tst-mutex11.c.
154 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
155 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
156 clockid parameters to pthread_mutex_clocklock.
157 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
158 clockid parameter to indicate which clock to be used. Call
159 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
160 (do_test): Call do_test_clock to separately test
161 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
162 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
163 * nptl/tst-mutex9.c: Likewise.
164 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
165 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
167 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
169 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
171 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
173 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
175 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
177 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
179 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
180 (GLIBC_2.30): Likewise.
181 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
182 (GLIBC_2.30): Likewise.
183 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
184 (GLIBC_2.30): Likewise.
185 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
186 (GLIBC_2.30): Likewise.
187 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
188 (GLIBC_2.30): Likewise.
189 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
192 (GLIBC_2.30): Likewise.
193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
194 (GLIBC_2.30): Likewise.
195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
196 (GLIBC_2.30): Likewise.
197 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
198 (GLIBC_2.30): Likewise.
199 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
200 (GLIBC_2.30): Likewise.
201 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
202 (GLIBC_2.30): Likewise.
203 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
205 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
206 (GLIBC_2.30): Likewise.
207 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
208 (GLIBC_2.30): Likewise.
209 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
210 (GLIBC_2.30): Likewise.
211 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
212 (GLIBC_2.30): Likewise.
214 nptl: Rename lll_timedlock to lll_clocklock and add clockid
215 parameter to indicate the clock that the abstime parameter should
216 be measured against in preparation for adding
217 pthread_mutex_clocklock.
218 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
219 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
220 from __lll_timedlock and add clockid parameter.
221 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
223 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
224 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
225 rather than __gettimeofday so that clockid can be used. This means
226 that conversion from struct timeval is no longer required.
227 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
229 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
230 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
231 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
232 from lll_timedlock_elision, add clockid parameter and use
233 meaningful names for other parameters. (__pthread_mutex_timedlock):
234 Pass CLOCK_REALTIME where necessary to lll_clocklock and
235 lll_clocklock_elision.
236 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
237 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
238 clockid parameter. (__lll_clocklock_elision): Rename from
239 __lll_timedlock_elision and add clockid parameter.
240 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
241 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
242 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
243 (__lll_lock_elision): Call __lll_clocklock_elision rather than
244 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
245 (LLL_LOCK): Likewise.
246 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
247 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
249 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
250 pthread_rwlock_clockwrlock which behave like
251 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
252 respectively, except they always measure abstime against the
253 supplied clockid. The functions currently support CLOCK_REALTIME
254 and CLOCK_MONOTONIC and return EINVAL if any other clock is
256 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
257 pthread_wrlock_clockwrlock.
258 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
259 pthread_rwlock_clockwrlock.c.
260 * nptl/pthread_rwlock_clockrdlock.c: Implement
261 pthread_rwlock_clockrdlock.
262 * nptl/pthread_rwlock_clockwrlock.c: Implement
263 pthread_rwlock_clockwrlock.
264 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
265 clockid parameter and verify that it indicates a supported clock on
266 entry so that we fail even if it doesn't end up being used. Pass
267 that clock on to futex_abstimed_wait when necessary.
268 (__pthread_rwlock_wrlock_full): Likewise.
269 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
270 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
271 be used because there's no timeout.
272 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
273 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
274 be used because there is no timeout.
275 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
276 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
278 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
279 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
281 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
282 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
283 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
284 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
285 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
286 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
287 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
288 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
289 (GLIBC_2.30): Likewise.
290 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
291 (GLIBC_2.30): Likewise.
292 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
293 (GLIBC_2.30): Likewise.
294 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
295 (GLIBC_2.30): Likewise.
296 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
297 (GLIBC_2.30): Likewise.
298 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
300 (GLIBC_2.30): Likewise.
301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
302 (GLIBC_2.30): Likewise.
303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
304 (GLIBC_2.30): Likewise.
305 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
306 (GLIBC_2.30): Likewise.
307 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
308 (GLIBC_2.30): Likewise.
309 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
310 (GLIBC_2.30): Likewise.
311 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
312 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
313 (GLIBC_2.30): Likewise.
314 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
315 (GLIBC_2.30): Likewise.
316 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
317 (GLIBC_2.30): Likewise.
318 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
319 (GLIBC_2.30): Likewise.
320 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
321 pthread_rwlock_clockwrlock timeout tests to match the existing
322 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
323 * nptl/tst-rwlock14.c (do_test): Likewise.
324 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
325 ancillary output throughout. (tf): Accept thread_args structure so
326 that rwlock, a clockid and function name can be passed to the
327 thread. (do_test_clock): Rename from do_test. Accept clockid
328 parameter to specify test clock. Use the magic clockid value of
329 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
330 pthread_rwlock_timedwrlock should be tested, otherwise pass the
331 specified clockid to pthread_rwlock_clockrdlock and
332 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
333 (do_test): Call do_test_clock to test each clockid in turn.
334 * nptl/tst-rwlock7.c: Likewise.
335 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
336 thread_args structure so that the (now int) thread number, the
337 clockid and the function name can be passed to the thread.
338 (do_test_clock): Renamed from do_test. Pass the necessary
339 thread_args when creating the reader and writer threads. Use
340 xpthread_create and xpthread_join.
341 (do_test): Call do_test_clock to test each clockid in turn.
342 * manual/threads.texi: Add documentation for
343 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
345 nptl: pthread_rwlock: Move timeout validation into _full functions
346 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
347 Check validity of abstime parameter.
348 (__pthread_rwlock_rwlock_full): Likewise.
349 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
350 Remove check for validity of abstime parameter.
351 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
354 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
355 like pthread_cond_timedwait except it always measures abstime
356 against the supplied clockid.
357 * nptl/Makefile: Add tst-cond26 and tst-cond27
358 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
359 * sysdeps/nptl/pthread.h: Likewise
360 * nptl/forward.c: Add __pthread_cond_clockwait
361 * nptl/forward.c: Likewise
362 * nptl/pthreadP.h: Likewise
363 * sysdeps/nptl/pthread-functions.h: Likewise
364 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
365 clockid parameter and comment describing why we don't need to check
366 its value. Use that value when calling
367 futex_abstimed_wait_cancelable rather than reading the clock from
368 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
369 (__pthread_cond_timedwait): Read clock from flags and pass it to
370 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
371 function with weak alias from pthread_cond_clockwait.
372 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
373 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
374 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
375 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
376 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
377 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
378 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
379 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
380 (GLIBC_2.30): Likewise.
381 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
382 (GLIBC_2.30): Likewise.
383 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
384 (GLIBC_2.30): Likewise.
385 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
386 (GLIBC_2.30): Likewise.
387 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
388 (GLIBC_2.30): Likewise.
389 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
391 (GLIBC_2.30): Likewise.
392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
393 (GLIBC_2.30): Likewise.
394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
395 (GLIBC_2.30): Likewise.
396 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
397 (GLIBC_2.30): Likewise.
398 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
399 (GLIBC_2.30): Likewise.
400 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
401 (GLIBC_2.30): Likewise.
402 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
403 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
404 (GLIBC_2.30): Likewise.
405 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
406 (GLIBC_2.30): Likewise.
407 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
408 (GLIBC_2.30): Likewise.
409 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
410 (GLIBC_2.30): Likewise.
411 * nptl/tst-cond11.c (run_test): Support testing
412 pthread_cond_clockwait too by using a special magic
413 CLOCK_USE_ATTR_CLOCK value to determine whether to call
414 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
415 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
416 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
417 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
418 clocks to pthread_cond_clockwait.
419 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
420 struct timespec and pthread_cond_clockwait.
421 * manual/threads.texi: Document pthread_cond_clockwait.
423 nptl: Add POSIX-proposed sem_clockwait which behaves just like
424 sem_timedwait, but measures abstime against the specified clock.
425 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
426 clockid parameters to indicate the clock which abstime should be
428 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
429 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
431 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
433 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
434 sem_clockwait.c to match those used for sem_timedwait.c.
435 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
436 * nptl/Versions (GLIBC_2.30): Likewise.
437 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
438 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
439 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
440 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
441 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
442 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
443 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
444 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
445 (GLIBC_2.30): Likewise.
446 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
447 (GLIBC_2.30): Likewise.
448 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
449 (GLIBC_2.30): Likewise.
450 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
451 (GLIBC_2.30): Likewise.
452 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
453 (GLIBC_2.30): Likewise.
454 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
456 (GLIBC_2.30): Likewise.
457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
458 (GLIBC_2.30): Likewise.
459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
460 (GLIBC_2.30): Likewise.
461 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
462 (GLIBC_2.30): Likewise.
463 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
464 (GLIBC_2.30): Likewise.
465 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
466 (GLIBC_2.30): Likewise.
467 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
468 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
469 (GLIBC_2.30): Likewise.
470 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
471 (GLIBC_2.30): Likewise.
472 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
473 (GLIBC_2.30): Likewise.
474 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
475 (GLIBC_2.30): Likewise.
476 * nptl/tst-sem17.c: Add new test for passing invalid clock to
478 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
479 tests to also test sem_clockwait.
480 * manual/threads.texi: Document sem_clockwait.
482 nptl: Add clockid parameter to futex timed wait calls
483 * sysdeps/nptl/lowlevellock-futex.h,
484 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
485 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
486 takes a clockid rather than a special clockbit.
487 * sysdeps/nptl/lowlevellock-futex.h: Add
488 lll_futex_supported_clockid so that client functions can check
489 whether their clockid parameter is valid even if they don't
490 ultimately end up calling lll_futex_clock_wait_bitset.
491 * sysdeps/nptl/futex-internal.h,
492 sysdeps/unix/sysv/linux/futex-internal.h
493 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
494 clockid_t parameter to indicate which clock the absolute time
495 passed should be measured against. Pass that clockid onto
496 lll_futex_clock_wait_bitset. Add invalid clock as reason for
498 * sysdeps/nptl/futex-internal.h,
499 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
500 futex_abstimed_supported_clockid so that client functions can check
501 whether their clockid parameter is valid even if they don't
502 ultimately end up calling futex_abstimed_wait.
503 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
504 code to calculate relative timeout for
505 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
506 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
507 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
508 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
509 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
510 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
511 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
513 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
516 * posix/tst-mmap-offset.c: Mention BZ #24699.
517 (do_test_bz21270): Rename to do_test_large_offset and use
518 mmap64_maximum_offset to check for maximum expected offset value.
519 * sysdeps/generic/mmap_info.h: New file.
520 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
521 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
524 2019-07-10 DJ Delorie <dj@redhat.com>
525 Sergei Trofimovich <slyfox@inbox.ru>
529 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
531 * nss/tst-nss-db-endgrent.c: New.
532 * nss/tst-nss-db-endgrent.root: New.
533 * nss/tst-nss-db-endpwent.c: New.
534 * nss/tst-nss-db-endpwent.root: New.
535 * nss/Makefile: Add new tests.
536 * support/links-dso-program-c.c: Add selinux dependency.
537 * support/links-dso-program.cc: Add selinux dependency.
538 * support/Makefile: Build those with -lselinux if enabled.
540 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
542 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
543 DT_AARCH64_VARIANT_PCS check.
544 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
545 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
548 2019-07-10 Andreas Schwab <schwab@suse.de>
551 * malloc/malloc.h (__malloc_check_init): Don't declare.
552 * include/malloc.h (__malloc_check_init): Likewise.
553 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
554 * manual/memory.texi (__malloc_check_init): Don't mention it.
556 2019-07-10 Mao Han <han_mao@c-sky.com>
558 * locale/Makefile: Fix tst-locale-locpath arguments passing.
560 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
562 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
563 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
565 2019-07-08 DJ Delorie <dj@redhat.com>
568 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
569 * io/tst-ftw-lnk.c: New test.
570 * io/Makefile: Run it.
572 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
574 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
575 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
576 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
577 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
578 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
579 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
581 Adjust implementation path.
582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
583 Adjust implementation path.
584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
585 Adjust implementation path.
586 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
587 (libm-sysdep_routines): Add s_log* objects.
588 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
589 CFLAGS-s_logb-power7.c): New fule.
590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
592 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
596 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
599 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
602 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
606 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
609 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
612 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
616 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
619 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
620 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
621 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
622 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
623 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
625 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
626 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
627 powerpc32 integer 0 converting to -0.
629 * benchtests/Makefile (bench-math): Add logb.
630 * benchtests/logb-inputs: New file.
631 * benchtests/logbf-inputs: New file.
633 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
634 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
635 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
636 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
641 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
642 sysdep_routines): Add s_modf* objects.
643 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
644 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
647 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
651 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
654 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
657 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
660 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
663 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
665 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
666 twoM500, twoM600, two60factor, pdnum): Remove.
667 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
668 (__ieee754_hypot): Replace static variables with inline definition,
669 remove ununsed branches.
670 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
671 (libm-sysdep_routines): Remove e_hypot-* objects.
672 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
673 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
675 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
676 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
677 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
678 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
679 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
681 * benchtests/Makefile (bench-math): Add hypot.
682 * benchtests/hypot-inputs: New file.
684 2019-07-08 Vincent Chen <vincentc@andestech.com>
686 * sysdeps/unix/sysv/linux/dl-vdso.h
687 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
689 2019-07-04 Andreas Schwab <schwab@suse.de>
692 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
694 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
696 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
697 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
698 * sysdeps/aarch64/sys/ifunc.h: New file.
699 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
700 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
702 2019-07-01 Florian Weimer <fweimer@redhat.com>
705 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
706 Replace __vfork with __libpthread_version_placeholder for
708 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
709 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
711 * nptl/pt-vfork.c: Remove file.
712 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
713 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
714 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
715 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
716 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
717 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
718 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
719 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
720 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
721 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
722 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
723 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
724 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
725 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
726 Remove vfork, __vfork.
727 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
729 (GLIBC_2.1.2): Replace __vfork with
730 __libpthread_version_placeholder.
731 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
732 Remove vfork, __vfork.
733 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
735 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
737 (GLIBC_2.1.2): Replace __vfork with
738 __libpthread_version_placeholder.
739 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
741 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
742 (GLIBC_2.4): Remove vfork, __vfork.
743 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
744 (GLIBC_2.0): Remove vfork.
745 (GLIBC_2.1.2): Replace __vfork with
746 __libpthread_version_placeholder.
747 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
748 (GLIBC_2.18): Remove vfork, __vfork.
749 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
750 (GLIBC_2.0): Remove vfork.
751 (GLIBC_2.2): Remove __vfork.
752 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
753 (GLIBC_2.2): Remove vfork, __vfork.
754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
755 (GLIBC_2.0): Remove vfork.
756 (GLIBC_2.1.2): Replace __vfork with
757 __libpthread_version_placeholder.
758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
759 (GLIBC_2.3): Remove vfork, __vfork.
760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
761 (GLIBC_2.17): Likewise.
762 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
763 (GLIBC_2.0): Remove vfork.
764 (GLIBC_2.1.2): Replace __vfork with
765 __libpthread_version_placeholder.
766 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
767 (GLIBC_2.2): Remove vfork, __vfork.
768 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
770 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
771 (GLIBC_2.0): Remove vfork.
772 (GLIBC_2.1.2): Replace __vfork with
773 __libpthread_version_placeholder.
774 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
775 (GLIBC_2.2): Remove vfork, __vfork.
776 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
777 (GLIBC_2.2.5): Likewise.
778 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
779 (GLIBC_2.16): Likewise.
780 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
781 Remove __errno_location.
783 2019-07-02 Florian Weimer <fweimer@redhat.com>
786 * malloc/Depend: Add nptl and htl, due to potential indirect
787 libpthread dependency of memusagestat.
789 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
791 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
794 2019-07-01 Florian Weimer <fweimer@redhat.com>
796 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
797 variant for arm-linux-gnueabi.
799 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
802 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
804 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
805 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
806 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
807 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
808 and tst-cet-legacy-mod-6c.
809 (CFLAGS-tst-cet-legacy-5a.c): New.
810 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
811 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
812 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
813 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
814 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
815 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
816 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
817 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
818 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
819 ($(objpfx)tst-cet-legacy-5a): Likewise.
820 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
821 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
822 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
823 ($(objpfx)tst-cet-legacy-5b): Likewise.
824 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
825 (tst-cet-legacy-5b-ENV): Likewise.
826 ($(objpfx)tst-cet-legacy-6a): Likewise.
827 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
828 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
829 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
830 ($(objpfx)tst-cet-legacy-6b): Likewise.
831 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
832 (tst-cet-legacy-6b-ENV): Likewise.
833 * sysdeps/x86/tst-cet-legacy-5.c: New file.
834 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
835 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
836 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
837 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
838 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
839 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
840 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
841 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
842 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
843 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
844 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
845 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
846 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
848 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
850 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
851 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
852 (__fegetround_ISA300) New.
853 (__fegetround_ISA2) New.
854 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
855 (_FPU_MFFS): Move implementation...
857 (_FPU_MFFSL): Move implementation....
858 (_FPU_GET_RC_ISA300): Here. New.
859 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
860 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
861 (fegetenv_status): New.
862 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
863 instead of fegetenv_register().
864 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
866 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
868 * benchtests/bench-math-inlines.c: Increase iterations.
869 * benchtests/bench-memcmp.c: Likewise.
870 * benchtests/bench-rawmemchr.c: Likewise.
871 * benchtests/bench-strcmp.c: Likewise.
872 * benchtests/bench-strcpy_chk.c: Likewise.
873 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
874 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
875 (INNER_LOOP_ITERS_SMALL): Likewise.
876 * benchtests/bench-strncat.c: Increase iterations.
877 * benchtests/bench-strncmp.c: Increase iterations.
878 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
879 * benchtests/bench-strrchr.c: Increase iterations.
880 * benchtests/bench-strstr.c: Keep iterations unchanged.
881 * benchtests/bench-strtod.c: Increase iterations.
883 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
885 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
886 with INNER_LOOP_ITERS_LARGE.
887 * benchtests/bench-memchr.c: Likewise.
888 * benchtests/bench-rawmemchr.c: Likewise.
889 * benchtests/bench-strcat.c: Likewise.
890 * benchtests/bench-strchr.c: Likewise.
891 * benchtests/bench-string.h: Likewise.
892 * benchtests/bench-strlen.c: Likewise.
893 * benchtests/bench-strncpy.c: Likewise.
894 * benchtests/bench-strnlen.c: Likewise.
896 2019-06-28 Florian Weimer <fweimer@redhat.com>
898 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
899 Use mmap instead of malloc. malloc with M_PERTURB writes to the
900 entire allocated memory range.
902 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
904 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
905 (prepare_version_base): New helper inline function.
906 (prepare_version): New macro replacing PREPARE_VERSION.
907 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
909 2019-06-28 Florian Weimer <fweimer@redhat.com>
912 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
913 mismatch in a versioned symbol reference.
914 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
915 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
916 tst-sonamemove-dlopen.
917 (module-names): Add tst-sonamemove-linkmod1,
918 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
919 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
920 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
921 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
922 (tst-sonamemove-runmod1.so): Link against
923 tst-sonamemove-runmod2.so.
924 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
925 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
926 tst-sonamemove-runmod2.so.
927 (tst-sonamemove-dlopen): Link with -ldl.
928 (tst-sonamemove-dlopen.out): Likewise.
929 * elf/tst-sonamemove-link.c: New file.
930 * elf/tst-sonamemove-dlopen.c: Likewise.
931 * elf/tst-sonamemove-linkmod1.c: Likewise.
932 * elf/tst-sonamemove-linkmod1.map: Likewise.
933 * elf/tst-sonamemove-runmod1.c: Likewise.
934 * elf/tst-sonamemove-runmod1.map: Likewise.
935 * elf/tst-sonamemove-runmod2.c: Likewise.
936 * elf/tst-sonamemove-runmod2.map: Likewise.
938 2019-06-28 Florian Weimer <fweimer@redhat.com>
940 * support/xdlfcn.h (xdlvsym): Declare function.
941 * support/xdlfcn.c (xdlvsym): Define funciton.
943 2019-06-28 Florian Weimer <fweimer@redhat.com>
946 io: Remove the copy_file_range emulation.
947 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
948 not define and call copy_file_range_compat.
949 * io/Makefile (tests-static, tests-internal): Do not add
950 tst-copy_file_range-compat.
951 * io/copy_file_range-compat.c: Remove file.
952 * io/copy_file_range.c (copy_file_range): Define as stub.
953 * io/tst-copy_file_range-compat.c: Remove file.
954 * io/tst-copy_file_range.c (xdevfile): Remove variable.
955 (typical_sizes): Update comment. Remove 16K sizes.
956 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
958 (find_maximum_offset, pipe_as_source, pipe_as_destination)
959 (delayed_write_failure_beginning, delayed_write_failure_end)
960 (cross_device_failure, enospc_failure_1, enospc_failure)
961 (oappend_failure): Remove functions.
962 (tests): Adjust test case list.
963 (do_test): Remove file system search code. Check for ENOSYS from
964 copy_file_range. Do not free xdevfile.
965 * manual/llio.texi (Copying File Data): Document ENOSYS error from
966 copy_file_range. Do not document the EXDEV error, which future
967 kernels may not report. Update the wording to reflect that
968 further errors are possible.
969 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
970 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
972 * sysdeps/unix/sysv/linux/arm/kernel-features.h
973 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
975 * sysdeps/unix/sysv/linux/kernel-features.h
976 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
978 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
979 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
981 * sysdeps/unix/sysv/linux/sh/kernel-features.h
982 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
985 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
987 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
988 used as a mask for the mode argument of __vfprintf_internal.
989 * stdio-common/printf-parse.h (printf_arg): New union member:
991 * stdio-common/vfprintf-internal.c
992 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
993 (PARSE_FLOAT_VA_ARG): Likewise.
994 (SETUP_FLOAT128_INFO): Likewise.
995 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
997 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
998 floating-point value to the new union member, pa_float128.
999 (printf_positional): Zero-initialize args_value[cnt] with memset.
1001 2019-06-27 Florian Weimer <fweimer@redhat.com>
1004 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
1005 buffer size if necessary.
1006 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1008 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
1010 (large_buffer_checks): Likewise.
1011 (do_test): Call large_buffer_checks.
1013 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
1015 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
1016 * sysdeps/x86/dl-lookupcfg.h: Here.
1017 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
1019 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1021 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1022 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
1023 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
1025 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1026 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1027 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
1028 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1029 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
1031 * sysdeps/powerpc/powerpc32/fpu/Makefile
1032 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
1033 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
1034 and fctidz optimization.
1035 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
1036 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
1037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1038 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
1039 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
1040 CFLAGS-s_lround-power5+.c): New rule.
1041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
1043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
1045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
1047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
1049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
1051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1061 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1062 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
1063 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1064 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
1065 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1066 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1067 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
1069 2019-06-26 Vincent Chen <vincentc@andestech.com>
1071 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
1072 specific system calls, fp_udfiex_crtl and udftrap.
1074 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
1076 * nptl/tst-eintr1.c (tf1): Add return statement.
1077 (do_test): Remove unused th variable.
1079 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
1081 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
1082 Return error if get_character fails.
1084 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
1086 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1088 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
1091 * localedata/locales/szl_PL (day): Use the correct Unicode
1092 sequences instead of non-ASCII characters.
1094 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
1097 * localedata/locales/szl_PL (abday): Spelling corrections.
1101 (alt_mon): This, then apply spelling corrections.
1102 (mon): New entry, month names in the genitive case.
1104 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
1107 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
1108 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
1109 (thousands_sep): Likewise.
1110 (grouping): Set to 3;3.
1112 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
1114 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
1115 PREPARE_VERSION_KNOWN.
1116 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1117 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
1119 (VDSO_HASH_LINUX_2_6_39): Likewise.
1120 (VDSO_NAME_LINUX_4_9): Likewise.
1121 (VDSO_HASH_LINUX_4_9): Likewise.
1122 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
1123 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1124 (_libc_vdso_platform_setup): Likewise.
1125 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
1126 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
1128 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
1131 2019-06-20 Mike Crowe <mac@mcrowe.com>
1133 * nptl/eintr.c: Use libsupport.
1134 * nptl/tst-eintr1.c: Likewise.
1135 * nptl/tst-eintr2.c: Likewise.
1136 * nptl/tst-eintr3.c: Likewise.
1137 * nptl/tst-eintr4.c: Likewise.
1138 * nptl/tst-eintr5.c: Likewise.
1139 * nptl/tst-mutex-errorcheck.c: Likewise.
1140 * nptl/tst-mutex5.c: Likewise.
1142 * support/test-driver.h: Add verbose_printf macro.
1144 * support/xtime.h: Add xclock_now() helper function.
1146 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
1147 Florian Weimer <fweimer@redhat.com>
1150 * libio/genops.c (_IO_unbuffer_all)
1151 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
1152 buffers and access _IO_FILE_complete members of legacy libio streams.
1153 * libio/tst-bz24228.c: New file.
1154 * libio/tst-bz24228.map: Likewise.
1155 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
1156 [build-shared] (generated): Add tst-bz24228.mtrace and
1158 [run-built-tests && build-shared] (tests-special): Add
1159 $(objpfx)tst-bz24228-mem.out.
1160 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
1161 ($(objpfx)tst-bz24228-mem.out): New rule.
1163 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
1165 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
1166 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
1167 (__FPU_MFFSL): Likewise.
1168 (_FPU_SETCW): Likewise.
1170 2019-06-19 Stan Shebs <stanshebs@google.com>
1171 Raoni Fassina Firmino <raoni@linux.ibm.com>
1174 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
1175 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
1176 static-linking version.
1177 * sysdeps/unix/sysv/linux/powerpc/Makefile
1178 (tests-static): Add test-gettimebasefreq-static.
1180 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
1183 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
1186 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
1187 between the currency symbol and the minus sign).
1188 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1190 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
1193 * string/test-strcasestr.c (check_result): Add NULL check.
1194 * nss/tst-field.c (check_rewrite): Likewise.
1195 * benchtests/bench-strstr.c (do_one_test): Likewise.
1196 * string/test-strstr.c (check_result): Likewise.
1197 * argp/argp-test.c (popt): Increase size of buf to 12.
1198 * benchtests/bench-malloc-simple.c (bench):
1199 Do not initialize tests array out of bounds.
1201 2019-06-19 Florian Weimer <fweimer@redhat.com>
1204 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
1207 2019-06-18 Florian Weimer <fweimer@redhat.com>
1210 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
1211 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
1212 fail when called from dlopen.
1213 * elf/Makefile [have-fpie && build-shared] (tests): Add
1215 (tst-dlopen-pie): Link with -ldl.
1216 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
1217 * elf/tst-dlopen-pie.c (do_test): New file.
1219 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1222 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
1223 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
1224 between the currency symbol and the minus sign).
1225 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1226 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
1228 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1230 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
1231 sysdep-rtld-routines): Remove rules.
1232 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
1233 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
1234 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
1235 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
1236 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
1237 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
1238 vDSO path for SHARED.
1239 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
1240 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
1241 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1242 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1243 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
1244 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
1246 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1247 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
1248 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
1249 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
1250 CFLAGS-s_llround-power5+.c): New rule.
1251 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
1253 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
1255 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
1257 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
1259 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
1261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
1262 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
1263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
1264 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
1265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
1266 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
1267 * sysdeps/powerpc/powerpc64/fpu/Makefile
1268 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
1269 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1270 (libm-sysdep_routines): Remove s_llround-* objects.
1271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
1273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
1275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
1277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
1279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
1281 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1282 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1283 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
1284 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
1285 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
1286 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
1287 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
1288 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
1289 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1290 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1291 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1292 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1293 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1294 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1296 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
1297 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
1298 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
1299 * sysdeps/powerpc/powerpc32/fpu/Makefile
1300 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
1301 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
1303 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
1304 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
1305 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
1306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1307 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
1308 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
1309 CFLAGS-s_lrint-ppc32.c): New rule.
1310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1320 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1321 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1322 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1323 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
1326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
1328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
1330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
1332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
1335 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1336 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
1338 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
1339 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
1341 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
1343 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
1345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
1346 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
1347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
1348 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
1349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
1350 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
1351 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
1352 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
1353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1354 (libm-sysdep_routines): Remove s_llrint-* objects.
1355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
1357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
1359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1360 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
1361 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
1362 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
1363 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
1364 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
1365 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1366 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
1367 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1368 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1370 2019-06-14 Florian Weimer <fweimer@redhat.com>
1372 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
1373 argument to __glibc_has_include to inhibit macro expansion.
1375 2019-06-14 Florian Weimer <fweimer@redhat.com>
1377 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
1378 function-like macro, so that __has_include can inhibit expansion
1381 2019-06-13 Joseph Myers <joseph@codesourcery.com>
1383 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1387 Allow memset in libc.so.
1389 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1391 * sysdeps/aarch64/dl-dtprocnum.h: New file.
1392 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
1393 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
1394 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
1395 symbols at load time.
1396 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
1398 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1400 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
1401 (DT_AARCH64_VARIANT_PCS): Define.
1403 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1406 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
1408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
1412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
1413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1416 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1417 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
1418 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1419 Remove s_finite* objects.
1420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
1421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
1422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
1423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
1425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1426 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1427 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
1428 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1429 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
1431 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
1432 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
1434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1435 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
1437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
1439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
1441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1445 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1446 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
1447 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1448 Remove s_isinf* and s_isinf* objects.
1449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
1450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
1451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
1452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
1454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1455 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1456 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
1457 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1458 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
1460 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
1461 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
1463 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
1464 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
1465 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1467 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
1469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
1471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
1473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
1475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
1477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
1480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
1483 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1484 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
1485 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1486 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
1487 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1488 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
1489 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
1490 Remove s_isnan-* and s_isnanf-* objects.
1491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
1492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
1493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
1495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
1496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
1497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
1498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1500 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1501 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1502 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1503 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1504 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1505 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
1506 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1507 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
1509 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
1510 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
1512 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
1513 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
1514 CFLAGS-bench-isfinite.c): New rule.
1515 * benchtests/isnan-input: New file.
1516 * benchtests/isinf-input: New file.
1517 * benchtests/isfinite-input: New file.
1519 * sysdeps/powerpc/fpu/s_copysign.c: New file.
1520 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
1521 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
1522 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
1523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1524 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
1526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
1534 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1535 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
1536 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
1537 Remove s_copysign-power6 s_copysign-ppc64.
1538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
1540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
1542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
1544 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1545 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
1546 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1547 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
1549 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
1550 round_to_integer_float, round_mode): Add RINT handling.
1551 (reset_fenv_mode): New symbol.
1552 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
1553 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
1554 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
1555 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1556 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1557 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1559 2019-06-12 Florian Weimer <fweimer@redhat.com>
1562 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
1563 * libio/freopen.c (freopen): Use it.
1565 2019-06-12 Florian Weimer <fweimer@redhat.com>
1567 Linux: Deprecate sysctl.
1568 * include/sysctl.h (__sysctl): Remove declaration.
1569 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
1571 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
1572 (sysctl): Add deprecation attribute.
1573 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
1574 directly, to avoid the deprecation warning. Do not include
1576 (__sysctl): Remove hidden alias.
1578 2019-06-12 Florian Weimer <fweimer@redhat.com>
1580 Linux: Use kernel headers for statx definitions if available.
1581 * include/bits/statx-generic.h: New file.
1582 * include/bits/types/struct_statx.h: Likewise.
1583 * include/bits/types/struct_statx_timestamp.h: Likewise.
1584 * io/Makefile (headers): Add bits/statx-generic.h.
1585 * io/bits/statx-generic.h: New file. Partly copied from
1587 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
1588 define original_statx.
1589 * io/bits/types/struct_statx.h: Likewise.
1590 * io/bits/types/struct_statx_timestamp.h: Likewise.
1591 (statx_generic): Use original_statx.
1592 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
1593 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
1595 2019-06-12 Florian Weimer <fweimer@redhat.com>
1597 * misc/sys/cdefs.h (__glibc_has_include): Define.
1599 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1601 * string/memmem.c (__memmem): Rewrite to improve performance.
1603 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1605 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
1607 (two_way_long_needle): Block inlining.
1608 * string/strstr.c (strstr2): Add new function.
1609 (strstr3): Likewise.
1610 (STRSTR): Completely rewrite strstr to improve performance.
1612 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
1614 * benchtests/bench-strstr.c (test_hard_needle): New function.
1616 2019-06-10 Joseph Myers <joseph@codesourcery.com>
1618 * malloc/tst-calloc.c: Include <libc-diag.h>.
1619 (null_test): Ignore -Wunused-result around calls to calloc.
1620 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
1621 (do_test): Ignore -Wunused-result around call to malloc.
1623 2019-06-07 Florian Weimer <fweimer@redhat.com>
1625 Linux: Add getdents64 system call.
1626 * include/dirnent.h (getdents): Add comment and change buffer
1627 argument type to void *.
1628 (getdents64): Likewise. Add hidden prototype.
1629 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
1631 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
1633 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
1634 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
1635 argument type to void *.
1636 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
1637 Add hidden definition and getdents64 alias.
1638 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1640 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
1641 * manual/filesys.texi (Accessing Directories): Add Low-level
1642 Directory Access node reference.
1643 (Opening a Directory): Cross-reference it.
1644 (Low-level Directory Access): New node.
1645 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1647 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1649 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1650 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1652 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1654 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1656 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1658 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1660 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1662 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1664 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1665 (GLIBC_2.30): Likewise.
1666 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1667 (GLIBC_2.30): Likewise.
1668 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1669 (GLIBC_2.30): Likewise.
1670 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1671 (GLIBC_2.30): Likewise.
1672 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1675 (GLIBC_2.30): Likewise.
1676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1677 (GLIBC_2.30): Likewise.
1678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1679 (GLIBC_2.30): Likewise.
1680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1681 (GLIBC_2.30): Likewise.
1682 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1684 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1686 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1688 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1689 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1691 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1693 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1695 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1698 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
1700 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
1704 (_FPU_GETCW): Use __FPU_MFFS().
1705 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
1707 2019-06-06 Florian Weimer <fweimer@redhat.com>
1709 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
1710 internal GCC preprocessor identifier __has_include__.
1712 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
1714 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
1715 with call to equivalent function.
1717 2019-06-04 Florian Weimer <fweimer@redhat.com>
1719 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
1720 (do_release_shlib): Adjust for __twalk_r.
1721 (__gconv_release_shlib): Call __twalk_r.
1723 2019-06-04 Andreas Schwab <schwab@suse.de>
1726 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
1727 no irreversible characters occurred.
1728 * iconv/gconv_simple.c (internal_ucs4_loop)
1729 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
1730 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
1731 (ucs4_internal_loop_single, internal_ucs4le_loop)
1732 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
1733 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
1734 (ucs4le_internal_loop_single): Add const to outend.
1735 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
1736 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
1737 * iconv/Makefile (tests): Add tst-iconv7.
1738 * iconv/tst-iconv7.c: New file.
1740 2019-06-03 Joseph Myers <joseph@codesourcery.com>
1742 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
1744 2019-06-01 Florian Weimer <fweimer@redhat.com>
1746 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
1747 * sysdeps/unix/sysv/linux/arm/Makefile
1748 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
1749 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
1750 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
1751 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
1752 compatibility symbols.
1754 2019-05-31 Florian Weimer <fweimer@redhat.com>
1756 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
1757 system calls for the arm architecture: breakpoint, get_tls,
1758 set_tls, usr26, usr32.
1760 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1762 * sysdeps/powerpc/Makefile
1763 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
1764 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
1765 Declare '.machine power7' to get support for ldbrx.
1766 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
1767 directive based on the directory of the file.
1768 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1769 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1770 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
1771 '.machine' directive.
1772 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
1773 (VADDUQM_V7_V8): Remove.
1774 (__STRCASECMP): Replace macros with actual instructions.
1775 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
1776 '.machine' directive.
1777 (VCLZD_V8_v7): Remove.
1778 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
1780 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1782 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
1784 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
1786 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1788 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1790 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
1791 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
1792 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
1793 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
1794 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1795 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1797 2019-05-28 mansayk <6688000@gmail.com>
1800 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
1802 2019-05-28 mansayk <6688000@gmail.com>
1805 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
1806 (abmon): Likewise, but remove the trailing dots.
1808 2019-05-28 Joseph Myers <joseph@codesourcery.com>
1810 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
1812 2019-05-27 Florian Weimer <fweimer@redhat.com>
1814 * nptl/nptl-init.c: Add comment.
1816 2019-05-24 Florian Weimer <fweimer@redhat.com>
1818 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
1819 struct in_addr/struct in6_addr alignment.
1821 2019-05-23 Joseph Myers <joseph@codesourcery.com>
1823 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1824 (F_SEAL_FUTURE_WRITE): New macro.
1826 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
1828 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
1829 * elf/tst-ldconfig-bad-aux-cache.c: New file.
1830 * elf/tst-ldconfig_aux-cache.root: New directory.
1831 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
1832 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
1833 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
1835 2019-05-22 Zack Weinberg <zackw@panix.com>
1837 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
1839 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
1840 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
1842 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
1843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
1847 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
1848 Issue an #error if used with a compiler in SPE-float mode.
1849 * sysdeps/powerpc/powerpc32/__longjmp_common.S
1850 * sysdeps/powerpc/powerpc32/setjmp_common.S
1851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
1853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
1854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
1855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1857 Remove code to preserve SPE register state.
1859 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1860 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1861 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
1862 Remove __SPE__ ifndefs.
1864 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
1866 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
1867 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
1868 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
1869 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
1870 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
1871 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
1872 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
1873 (INNER_LOOP_ITERS_MEDIUM): New define.
1874 (INNER_LOOP_ITERS_SMALL): New define.
1875 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
1876 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
1877 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
1878 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
1879 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
1881 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
1883 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
1885 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
1886 (SEMTIMEDOP_IPC_ARGS): Likewise.
1888 2019-05-21 Florian Weimer <fweimer@redhat.com>
1891 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
1892 before updating __counter field and release it afterwards. Add
1894 * iconv/gconv.h (struct __gconv_step): Mention synchronization
1895 requirement for __counter member.
1897 2019-05-21 Florian Weimer <fweimer@redhat.com>
1900 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
1901 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
1902 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
1903 instead of __gconv_release_step.
1904 * libio/Makefile (tests): Add tst-wfile-gconv.
1905 (tests-container): Add tst-wfile-ascii.
1906 (tst-wfile-gconv-ENV): Enable mtrace.
1907 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
1908 (tests-special): Add tst-wfile-gconv-mem.out.
1909 (tst-wfile-gconv.out): Depend on locales.
1910 (tst-wfile-gconv-mem.out): Add mtrace rule.
1911 * libio/tst-wfile-ascii.c: New file.
1912 * libio/tst-wfile-gconv.c: Likewise.
1914 2019-05-20 Florian Weimer <fweimer@redhat.com>
1917 libio: Remove codecvt vtable.
1918 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
1920 * libio/iofgetpos.c (_IO_new_fgetpos): Call
1921 __libio_codecvt_encoding.
1922 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
1923 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1924 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
1925 * libio/iofwide.c (__libio_codecvt): Remove variable.
1926 (_IO_fwide): Do not copy __libio_codecvt.
1927 (__libio_codecvt_out): Rename from do_out and export.
1928 (do_unshift): Remove function.
1929 (__libio_codecvt_in): Rename from do_in and export.
1930 (__libio_codecvt_encoding): Rename from do_encoding and export.
1931 (do_always_noconv): Remove function.
1932 (__libio_codecvt_length): Rename from do_length and export.
1933 (do_max_length): Remove function.
1934 * libio/libio.h (enum __codecvt_result): Remove definition; moved
1936 (struct _IO_codecvt): Remove fields __codecvt_destr,
1937 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
1938 __codecvt_do_encoding, __codecvt_do_always_noconv,
1939 __codecvt_do_length, __codecvt_do_max_length.
1940 * libio/libioP.h (enum __codecvt_result): Define; moved from
1942 (__libio_codecvt_out, __libio_codecvt_in)
1943 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
1945 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
1946 (_IO_wfile_underflow): Call __libio_codecvt_in.
1947 (_IO_wfile_underflow): Likewise.
1948 (_IO_wfile_underflow_mmap): Likewise.
1949 (_IO_wfile_sync): Call __libio_codecvt_encoding,
1950 __libio_codecvt_length.
1951 (adjust_wide_data): Call __libio_codecvt_encoding,
1953 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
1954 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
1955 __libio_codecvt_length.
1957 2019-05-20 Florian Weimer <fweimer@redhat.com>
1959 * support/support.h (support_sbindir_prefix): Declare.
1960 (support_install_rootsbindir): Update comment.
1961 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
1962 * support/support_paths.c (support_sbindir_prefix): Define.
1964 2019-05-20 Mike Crowe <mac@mcrowe.com>
1966 * support/timespec.c: Add backslash to correct newline in failure
1969 * support/timespec.h: Correct confusing comment.
1971 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1973 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
1975 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
1976 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
1977 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
1978 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
1981 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
1984 2019-05-20 Joseph Myers <joseph@codesourcery.com>
1986 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
1987 (NT_ARM_PACG_KEYS): Likewise.
1989 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
1991 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
1992 (tcache_put): Remove redundant assert.
1993 (tcache_get): Remove redundant asserts.
1994 (__libc_malloc): Check tcache count is not zero.
1995 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
1997 2019-05-17 Florian Weimer <fweimer@redhat.com>
1999 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
2001 2019-05-16 Joseph Myers <joseph@codesourcery.com>
2003 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2004 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
2006 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
2008 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2009 (__ASSUME_STATX): Likewise.
2011 2019-05-16 Florian Weimer <fweimer@redhat.com>
2013 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
2015 (LINE_PARSER): Do not map IPv4 addresses.
2016 (internal_nis_gethostent_r): Remove flags argument. Adjust call
2018 (_nss_nis_gethostent_r): Always pass AF_INET to
2019 internal_nis_gethostent_r.
2020 (internal_gethostbyname2_r): Remove flags argument. Adjust call
2022 (_nss_nis_gethostbyname2_r): Adjust call to
2023 internal_nis_gethostent_r.
2024 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
2025 call to internal_nis_gethostent_r.
2026 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
2028 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
2029 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
2030 Remove flags argument. Do not map IPv4 addresses.
2031 (internal_nisplus_gethostent_r): Adjust call to
2032 _nss_nisplus_parse_hostent.
2033 (internal_gethostbyname2_r): Remove flags argument. Adjust call
2034 to _nss_nisplus_parse_hostent.
2035 (_nss_nisplus_gethostbyname2_r): Adjust call to
2036 internal_gethostbyname2_r.
2037 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
2038 Adjust call to internal_gethostbyname2_r.
2039 (_nss_nisplus_gethostbyaddr_r): Adjust call to
2040 _nss_nisplus_parse_hostent.
2041 (_nss_nisplus_gethostbyname4_r): Adjust call to
2042 internal_gethostbyname2_r.
2044 2019-05-16 Florian Weimer <fweimer@redhat.com>
2046 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
2048 (LINE_PARSER): Remove address mapping.
2049 (EXTRA_ARGS_VALUE): Remove flags argument.
2050 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
2051 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
2052 gethostbyname3_multi.
2053 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
2054 _nss_files_gethostbyname3_r.
2055 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
2057 2019-05-16 Florian Weimer <fweimer@redhat.com>
2059 * support/support_test_compare_blob.c (report_blob): Report
2060 incorrect NULL blobs.
2062 2019-05-15 Mark Wielaard <mark@klomp.org>
2065 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
2066 __libc_once_get (once) and static_buf == NULL.
2067 (__dlerror): Check we have a valid key, set result to static_buf
2070 2019-05-15 Andreas Schwab <schwab@suse.de>
2073 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
2074 __codecvt_do_length.
2075 * libio/Makefile (tests): Add tst-wfile-sync.
2076 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
2077 * libio/tst-wfile-sync.c: New file.
2078 * libio/tst-wfile-sync.input: New file.
2080 2019-05-15 Florian Weimer <fweimer@redhat.com>
2082 nss: Turn __nss_database_lookup into a compatibility symbol.
2083 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
2084 __nss_database_lookup.
2085 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
2086 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
2087 __nss_database_lookup.
2088 (__nss_next): Move to …
2089 * nss/compat-lookup.c (nss_next): … here. Change it to fail
2091 (__nss_database_lookup): New function.
2092 * nss/Versions (GLIBC_2.0): Update comment.
2093 (GLIBC_PRIVATE): Export __nss_database_lookup2.
2094 * grp/initgroups.c (internal_getgrouplist): Call
2095 __nss_database_lookup2 instead of __nss_database_lookup.
2096 * nscd/aicache.c (addhstaiX): Likewise.
2097 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2098 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2099 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
2100 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
2101 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
2103 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
2104 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
2105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2107 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
2109 * support/support.h (support_install_rootsbindir): New variable.
2110 * support/support_paths.c: Likewise.
2111 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
2113 2019-05-15 Florian Weimer <fweimer@redhat.com>
2115 * iconv/gconv.h (__gconv_transliterate): Move declaration …
2116 * iconv/gconv_int.h (__gconv_transliterate): … here.
2117 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
2118 * iconv/skeleton.c: Likewise.
2120 2019-05-14 Florian Weimer <fweimer@redhat.com>
2122 Linux: Add the tgkill function.
2123 * bits/signal_ext.h: New file.
2124 * manual/signal.texi (Signaling Another Process): Document tgkill.
2125 * signal/Makefile (headers): Add bits/signal_ext.h.
2126 * signal/signal.h: Include <bits/signal_ext.h>.
2127 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
2128 (tst-tgkill): Link with libpthread.
2129 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
2130 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
2131 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
2132 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2134 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2135 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2136 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2137 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2138 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2139 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2140 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2141 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2142 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2143 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2144 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2146 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2147 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2148 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
2155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
2157 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2158 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2159 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2160 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2161 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2162 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2163 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2164 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2166 2019-05-14 Carlos O'Donell <carlos@redhat.com>
2168 * manual/search.texi (Tree Search Function): Adjust twalk_r
2171 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2174 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
2177 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
2178 * support/support.h (support_bindir_prefix): New variable.
2179 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
2181 * config.make.in (bindir): New variable.
2183 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
2184 (lll_trylock): Call __lll_trylock.
2185 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
2186 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
2187 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2188 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2189 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
2190 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
2191 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2192 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2193 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
2194 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
2195 lowlevellock-futex.h.
2197 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2198 initialization for LLL_LOCK_INITIALIZER different than 0.
2199 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
2200 Assume LLL_LOCK_INITIALIZER being 0.
2201 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
2202 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
2204 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
2205 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
2207 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
2208 Optimize futex call and add systemtap probe.
2210 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
2211 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
2212 __libc_disable_asynccancel, __librt_enable_asynccancel,
2213 __libc_disable_asynccancel, __librt_enable_asynccancel,
2214 __librt_disable_asynccancel): Move to ...
2215 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
2216 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
2217 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
2218 * sysdeps/generic/single-thread.h: New file.
2219 * sysdeps/unix/sysdep.h: Include single-thread.h.
2220 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
2221 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2223 2019-05-08 Mike FABIAN <mfabian@redhat.com>
2226 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
2227 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2229 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2230 * localedata/unicode-gen/PropList.txt: Likewise.
2231 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2232 * localedata/charmaps/UTF-8: Regenerate.
2233 * localedata/locales/i18n_ctype: Likewise.
2234 * localedata/locales/tr_TR: Likewise.
2235 * localedata/locales/translit_circle: Likewise.
2236 * localedata/locales/translit_cjk_compat: Likewise.
2237 * localedata/locales/translit_combining: Likewise.
2238 * localedata/locales/translit_compat: Likewise.
2239 * localedata/locales/translit_font: Likewise.
2240 * localedata/locales/translit_fraction: Likewise.
2242 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
2245 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
2246 (do_set_tcache_count): Only update if count is small enough.
2247 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
2249 2019-05-10 Florian Weimer <fweimer@redhat.com>
2251 * nptl/sem_close.c (struct walk_closure): Define.
2252 (walker): Adjust for __twalk_r.
2253 (sem_close): Call __twalk_r.
2255 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2257 * support/timespec.c (test_timespec_before_impl,
2258 test_timespec_equal_or_after_impl): print timespec member as intmax_t
2261 2019-05-09 Mike Crowe <mac@mcrowe.com>
2263 * nptl/tst-abstime.c: Use libsupport.
2265 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
2266 small bug where only tv.tv_usec was checked which could cause an
2267 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
2270 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
2273 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
2274 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
2276 * nptl/tst-cond11.c: Use libsupport.
2278 * support/timespec.h: New file. Provide timespec helper functions
2279 along with macros in the style of those in check.h.
2280 * support/timespec.c: New file. Implement check functions declared
2281 in support/timespec.h.
2282 * support/timespec-add.c: New file from gnulib containing
2283 timespec_add implementation that handles overflow.
2284 * support/timespec-sub.c: New file from gnulib containing
2285 timespec_sub implementation that handles overflow.
2286 * support/README: Mention timespec.h.
2288 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2291 * nptl/Makefile: Move tst-eintr1 to xtests.
2293 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2295 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
2297 (round_mode): Add definition for TRUNC.
2298 * sysdeps/powerpc/fpu/s_trunc.c: New file.
2299 * sysdeps/powerpc/fpu/s_truncf.c: New file.
2300 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
2301 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2302 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
2304 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
2306 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
2308 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2310 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
2312 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
2314 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
2316 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
2318 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
2319 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
2320 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2321 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
2322 s_truncf-power5+, and s_truncf-ppc64.
2323 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
2324 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
2326 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
2327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
2328 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
2329 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
2331 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
2333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
2334 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
2335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2336 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
2337 s_truncf-power5+, and s_truncf-ppc64.
2338 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
2340 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
2341 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
2343 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
2344 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2345 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2346 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2347 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2349 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2351 (round_mode): Add definition for ROUND.
2352 (round_to_integer_float): Likewise.
2353 * sysdeps/powerpc/fpu/s_round.c: New file.
2354 * sysdeps/powerpc/fpu/s_roundf.c: New file.
2355 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
2356 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2357 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
2359 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
2361 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
2363 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2365 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
2367 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
2369 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
2371 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
2373 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
2374 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
2375 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2376 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
2377 s_roundf-power5+, and s_roundf-ppc64.
2378 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
2379 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
2381 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
2382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
2383 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
2384 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
2386 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
2388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
2389 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
2390 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2391 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
2392 s_roundf-power5+, and s_roundf-ppc64.
2393 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
2395 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
2396 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
2398 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
2399 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2400 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2401 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2402 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2404 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
2406 (round_mode): Add definition for FLOOR.
2407 * sysdeps/powerpc/fpu/s_floor.c: New file.
2408 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
2409 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
2410 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
2415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
2421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
2423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
2425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
2427 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
2428 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
2429 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2430 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
2431 s_floorf-power5+, and s_floorf-ppc64.
2432 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
2433 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
2435 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
2436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
2437 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
2438 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
2440 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
2442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
2443 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
2444 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2445 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
2446 s_floorf-power5+, and s_floorf-ppc64.
2447 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
2449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
2451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
2453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
2455 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2456 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2457 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2458 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2460 2019-05-08 Mike Crowe <mac@mcrowe.com>
2462 * support/xclock_gettime.c (xclock_gettime): New file. Provide
2463 clock_gettime wrapper for use in tests that fails the test rather
2464 than returning failure.
2466 * support/xtime.h: New file to declare xclock_gettime.
2468 * support/Makefile: Add xclock_gettime.c.
2470 * support/README: Mention xtime.h.
2472 2019-05-08 Florian Weimer <fweimer@redhat.com>
2474 malloc/tst-mallocfork2: Use process-shared barriers.
2475 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
2476 (signal_count, sigusr1_sender_pid): Remove.
2477 (iterations): Define constant.
2478 (shared): New variable.
2479 (sigusr1_received): Update comment.
2480 (sigusr1_handler): Do not send SIGSTOP to the sender process.
2481 (signal_sender): Optional use barriers to avoid sending signals
2482 during irrelevant times.
2483 (do_it): Initialize variable shared. Use xfork for error
2484 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
2485 the iteration count, independent of signal delivery. Check for
2486 deadlocks in fork. Introduce barriers for reducing signal
2487 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
2488 replaced by the barriers. Count signals during fork/free/malloc
2490 * malloc/Makefile (tst-mallocfork): Link with libpthread.
2492 2019-05-07 Joseph Myers <joseph@codesourcery.com>
2494 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2496 (clock_adjtime64) New syscall.
2497 (clock_getres_time64) Likewise.
2498 (clock_gettime64) Likewise.
2499 (clock_nanosleep_time64) Likewise.
2500 (clock_settime64) Likewise.
2501 (futex_time64) Likewise.
2502 (io_pgetevents_time64) Likewise.
2503 (io_uring_enter) Likewise.
2504 (io_uring_register) Likewise.
2505 (io_uring_setup) Likewise.
2506 (mq_timedreceive_time64) Likewise.
2507 (mq_timedsend_time64) Likewise.
2508 (pidfd_send_signal) Likewise.
2509 (ppoll_time64) Likewise.
2510 (pselect6_time64) Likewise.
2511 (recvmmsg_time64) Likewise.
2512 (rt_sigtimedwait_time64) Likewise.
2513 (sched_rr_get_interval_time64) Likewise.
2514 (semtimedop_time64) Likewise.
2515 (timer_gettime64) Likewise.
2516 (timer_settime64) Likewise.
2517 (timerfd_gettime64) Likewise.
2518 (timerfd_settime64) Likewise.
2519 (utimensat_time64) Likewise.
2521 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
2522 version to 9 branch.
2524 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2526 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
2527 __memmove_thunderx2 to the list of implementations
2528 * sysdeps/aarch64/multiarch/memmove.c: Likewise
2529 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
2530 (__memmove_thunderx2): Rewritten using SIMD ld/st
2531 (__memcpy_thunderx2): Fixed handling overlapping cases.
2532 Used ldp/stp instead of ldr/str if possible. Made loops
2535 2019-05-03 Florian Weimer <fweimer@redhat.com>
2537 * misc/tst-tsearch.c (walk_tree): Add more error checking.
2539 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2542 * elf/tst-pldd.c (in_str_list): New function.
2543 (do_test): Add default names for ld and libc as one option.
2545 2019-05-02 Florian Weimer <fweimer@redhat.com>
2547 misc: Add twalk_r function.
2548 * include/search.h (__twalk_r): Declare.
2549 * manual/examples/twalk.c: New file.
2550 * manual/search.texi (Tree Search Function): Document twalk_r.
2551 * misc/Versions (2.30): Export twalk_r.
2552 (GLIBC_PRIVATE): Export __twalk_r.
2553 * misc/search.h [__USE_GNU] (twalk_r): Declare.
2554 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
2555 (twalk_r): Add weak alias.
2556 * misc/tst-tsearch.c (struct walk_trace_element): Define.
2557 (walk_trace): New variable.
2558 (struct twalk_with_twalk_r_closure): Define.
2559 (twalk_with_twalk_r_action): New function.
2560 (twalk_with_twalk_r): Likewise.
2561 (walk_action): Call walk_trace_add.
2562 (walk_tree_with): Rename from walk_tree. Add walk argument.
2563 (walk_tree): New function.
2564 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
2565 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2567 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2569 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2570 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
2571 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
2572 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
2573 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
2574 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2576 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2578 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2580 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2581 (GLIBC_2.30): Likewise.
2582 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2583 (GLIBC_2.30): Likewise.
2584 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2585 (GLIBC_2.30): Likewise.
2586 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2587 (GLIBC_2.30): Likewise.
2588 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2591 (GLIBC_2.30): Likewise.
2592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2593 (GLIBC_2.30): Likewise.
2594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2595 (GLIBC_2.30): Likewise.
2596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2597 (GLIBC_2.30): Likewise.
2598 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2600 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2602 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2604 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2605 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2607 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2609 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2611 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2614 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
2616 Make mktime etc. compatible with __time64_t
2617 Keep these functions compatible with Gnulib while adding
2618 __time64_t support. The basic idea is to move private API
2619 declarations from include/time.h to time/mktime-internal.h, since
2620 the former file cannot easily be shared with Gnulib whereas the
2622 Also, do some other minor cleanup while in the neighborhood.
2623 * include/time.h: Include stdbool.h, time/mktime-internal.h.
2624 (__mktime_internal): Move this prototype to time/mktime-internal.h,
2625 since Gnulib needs it.
2626 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
2627 Move these macros to time/mktime-internal.h, since Gnulib needs them.
2628 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
2629 (in_time_t_range): New static function.
2630 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
2631 so that glibc users are not tempted to use __time64_t.
2632 * time/mktime-internal.h: Rewrite so that it does both glibc
2633 and Gnulib work. Include time.h if not _LIBC.
2634 (mktime_offset_t) [!_LIBC]: Define for gnulib.
2635 (__time64_t): New type or macro, moved here from
2637 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
2638 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
2639 from include/time.h.
2640 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
2641 New macros, taken from GNulib.
2642 (__mktime_internal): New prototype, moved here from include/time.h.
2643 * time/mktime.c (mktime_min, mktime_max, convert_time)
2644 (ranged_convert, __mktime_internal, __mktime64):
2645 * time/timegm.c (__timegm64):
2646 Use __time64_t, not time_t.
2647 * time/mktime.c: Stop worrying about whether time_t is floating-point.
2648 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
2650 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
2651 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
2652 for libc_hidden_def.
2654 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
2656 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
2658 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
2661 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
2662 from `-Wmaybe-uninitialized'.
2663 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
2665 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2667 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
2669 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
2670 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
2671 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
2672 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
2673 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2675 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
2676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
2680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
2684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
2686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
2688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
2690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
2692 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
2693 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
2694 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
2695 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
2697 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
2699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
2700 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
2701 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
2703 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
2705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
2706 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
2708 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2709 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
2710 s_ceilf-power5+, and s_ceilf-ppc64.
2711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
2713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
2714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
2715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
2716 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2717 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2718 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2719 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2721 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
2722 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
2723 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
2725 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
2727 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
2728 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
2729 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
2730 (sem_getvalue): Likewise.
2732 2019-04-26 Florian Weimer <fweimer@redhat.com>
2734 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
2735 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
2737 2019-04-26 Florian Weimer <fweimer@redhat.com>
2739 Makeconfig: Move -Wl,-rpath-link options before library references.
2740 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
2741 (link-libc): Remove $(link-libc-rpath-link).
2743 2019-04-25 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-26 Florian Weimer <fweimer@redhat.com>
2754 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2755 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2756 (+link-static-before-libc): Remove $(CC).
2757 (+link-static, +link-static-tests): Add $(CC).
2758 (+link-before-libc): Remove $(CC).
2759 (+link, +link-pie, +link-pie-printers): Add $(CC).
2761 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
2764 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
2766 2019-04-25 Florian Weimer <fweimer@redhat.com>
2768 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
2769 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
2770 (bench-link-targets): New variable.
2771 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
2773 2019-04-25 Florian Weimer <fweimer@redhat.com>
2775 Also enable BIND_NOW for programs if --enable-bind-now.
2776 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
2777 (+link-pie): Use $(link-extra-flags).
2778 (+link-static): Likewise.
2779 [! $(build-pie-default)] (+link): Likewise.
2780 * manual/install.texi (Configuring and compiling): Update
2781 --enable-bind-now description.
2782 * INSTALL: Regenerated.
2784 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
2786 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
2787 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
2789 2019-04-24 Mike Frysinger <vapier@gentoo.org>
2792 * malloc/Makefile (others): Add memusagestat.
2793 ($(objpfx)memusagestat): Delete rule.
2794 (LDLIBS-memusagestat): New variable.
2796 2019-04-24 Florian Weimer <fweimer@redhat.com>
2798 * locale/Makefile (tests-special): Guard setting by
2799 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
2800 to run while cross-compiling.
2802 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2805 * elf/Makefile (tests-container): Add tst-pldd.
2806 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
2807 (E(find_maps)): Avoid use alloca, use default read file operations
2808 instead of explicit LFS names, and fix infinite loop.
2809 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
2810 (get_process_info): Use _Static_assert instead of assert, use default
2811 directory operations instead of explicit LFS names, and free some
2813 * elf/tst-pldd.c: New file.
2815 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
2817 * malloc/arena.c (do_set_mallopt_check): Removed.
2819 2019-04-23 Florian Weimer <fweimer@redhat.com>
2821 locale: Add LOCPATH diagnostics to the locale program.
2822 * locale/programs/locale.c (setlocale_failed): New variable.
2823 (try_setlocale): New function.
2824 (quote_string): Likewise.
2825 (setlocale_diagnostics): Likewise.
2826 (main): Call try_setlocale instead of setlocale. Call
2827 setlocale_diagnostics.
2828 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
2829 (tst-locale-locpath.out): New target.
2830 * locale/tst-locale-locpath.sh: New file.
2832 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2834 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
2837 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2840 * malloc/hooks.c (malloc_check, realloc_check): Use
2841 __builtin_add_overflow on overflow check and adapt to
2842 checked_request2size change.
2843 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
2844 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
2845 allocation size to PTRDIFF_MAX.
2846 (REQUEST_OUT_OF_RANGE): Remove macro.
2847 (checked_request2size): Change to inline function and limit maximum
2848 requested size to PTRDIFF_MAX.
2849 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
2850 maximum allocation size to PTRDIFF_MAX.
2851 (_mid_memalign): Use _int_memalign call for overflow check.
2852 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
2853 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
2854 limit maximum requested size to PTRDIFF_MAX.
2855 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
2856 valloc, pvalloc): Add __attribute_alloc_size__.
2857 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
2858 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
2859 larger than PTRDIFF_MAX.
2860 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
2861 around tests of malloc with negative sizes.
2862 * malloc/tst-posix_memalign.c (do_test): Likewise.
2863 * malloc/tst-pvalloc.c (do_test): Likewise.
2864 * malloc/tst-valloc.c (do_test): Likewise.
2865 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
2866 with resulting size allocation larger than PTRDIFF_MAX with
2867 reallocarray_nowarn.
2868 (reallocarray_nowarn): New function.
2869 * NEWS: Mention the malloc function semantic change.
2871 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2873 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
2874 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2876 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
2877 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2878 * sysdeps/powerpc/fpu/s_fma.c: New file.
2879 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2881 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
2882 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
2884 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
2885 the magic flag store.
2886 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2888 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
2890 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
2891 Remove rt_sigreturn call.
2893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2894 Remove rt_sigreturn call.
2895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
2898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2900 * support/Makefile (libsupport-routines): Add support_subprocess,
2901 xposix_spawn, xposix_spawn_file_actions_addclose, and
2902 xposix_spawn_file_actions_adddup2.
2903 (tst-support_capture_subprocess-ARGS): New rule.
2904 * support/capture_subprocess.h (support_capture_subprogram): New
2906 * support/support_capture_subprocess.c (support_capture_subprocess):
2907 Refactor to use support_subprocess and support_capture_poll.
2908 (support_capture_subprogram): New function.
2909 * support/tst-support_capture_subprocess.c (write_mode_to_str,
2910 str_to_write_mode, test_common, parse_int, handle_restart,
2911 do_subprocess, do_subprogram, do_multiple_tests): New functions.
2912 (do_test): Add support_capture_subprogram tests.
2913 * support/subprocess.h: New file.
2914 * support/support_subprocess.c: Likewise.
2915 * support/xposix_spawn.c: Likewise.
2916 * support/xposix_spawn_file_actions_addclose.c: Likewise.
2917 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
2918 * support/xspawn.h: Likewise.
2920 2019-04-17 Mike Gerow <gerow@google.com>
2922 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
2925 2019-04-11 Florian Weimer <fweimer@redhat.com>
2927 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
2928 domain with empty string.
2929 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2931 2019-04-11 Florian Weimer <fweimer@redhat.com>
2933 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
2935 (alloc_buffer_next): Change return type to non-const. Update
2938 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
2940 * manual/time.texi (Formatting Calendar Time): Add missing percent
2941 sign to conversion specifier.
2943 2019-04-09 Carlos O'Donell <carlos@redhat.com>
2944 Kwok Cheung Yeung <kcy@codesourcery.com>
2947 * malloc/mtrace.c: Define prototypes for all hooks.
2948 (set_default_hooks): New function.
2949 (set_trace_hooks): Likewise.
2950 (save_default_hooks): Likewise.
2951 (tr_freehook): Use new s*_hooks functions.
2952 (tr_mallochook): Likewise.
2953 (tr_reallochook): Likewise.
2954 (tr_memalignhook): Likewise.
2956 (muntrace): Likewise.
2958 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2960 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
2961 (generic_stpcpy): New function.
2962 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
2963 (generic_stpncpy): New function.
2964 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
2965 (generic_strcat): New function.
2966 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
2967 (generic_strcpy): New function.
2968 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
2969 (STUPID_STRNCAT): Remove function.
2970 (generic_strncat): New function.
2971 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
2972 (STUPID_STRNCPY): Remove function.
2973 (generic_strncpy): New function.
2974 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
2975 (generic_strnlen): New function.
2976 (memchr_strnlen): New function.
2977 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
2978 (memchr_strlen): Likewise.
2980 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2982 * benchtests/bench-strstr.c (input): Add realistic input text.
2983 (stupid_strstr): Remove function.
2984 (basic_strstr): Add function.
2985 (twoway_strstr): Add function.
2986 (do_one_test): Add result checking.
2987 (do_test): Use new input text. Remove accidental early matches.
2988 (test_main): Improve range of tests, reduce unaligned cases.
2990 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2992 * benchtests/bench-memmem.c (simple_memmem): Remove function.
2993 (basic_memmem): Add function.
2994 (twoway_memmem): Add function.
2996 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2998 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
2999 * benchtests/bench-malloc-thread.c: Likewise.
3000 * benchtests/bench-skeleton.c: Likewise.
3001 * benchtests/bench-strtod.c: Likewise.
3002 * benchtests/bench-timing.h: Likewise.
3004 2019-04-08 Florian Weimer <fweimer@redhat.com>
3006 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
3008 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
3009 RES_INSECURE2 security checks.
3010 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
3011 RES_INSECURE2 handling.
3013 2019-04-08 Florian Weimer <fweimer@redhat.com>
3015 resolv: Remove support for RES_USE_INET6 and the inet6 option.
3016 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
3017 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
3019 * resolv/Makefile (tests): Remove tst-res_use_inet6.
3020 (tests-internal): Update justification for tst-resolv-res_init,
3021 tst-resolv-res_init-thread.
3022 (tst-res_use_inet6): Remove target.
3023 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
3024 * resolv/res_debug.c (p_option): Remove "inet6" support.
3025 * resolv/res_init.c (res_setoptions): Likewise.
3026 * resolv/res_use_inet6.h: Remove file.
3027 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
3029 (res_use_inet6): Always return false.
3030 * resolv/resolv.h (RES_USE_INET6): Remove definition.
3031 * resolv/resolv_context.h: Adjust file comment.
3032 (struct resolv_context): Update comment on __next field.
3033 (__resolv_context_put): Update comment.
3034 * resolv/tst-res_use_inet6.c: Remove file.
3035 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
3037 (test_cases): Adjust test case.
3038 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
3039 (thread_byname2_af_inet6): Use old byname_inet6 code.
3040 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
3041 (gai): Remove do_inet6 argument.
3042 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
3043 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
3044 (thread_gai_unspec_inet6): Remove functions.
3045 (do_test): Adjust thread_funcs.
3046 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
3048 (gaih_inet): Do not disable RES_USE_INET6 flag.
3050 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3052 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
3053 and remove redundant code.
3055 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3057 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
3059 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
3060 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
3062 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
3064 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
3066 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3067 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
3068 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
3069 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
3070 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3071 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
3072 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3073 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
3075 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
3076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3077 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3078 Remove wcsrchr optimizations.
3079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3081 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
3084 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
3086 * sysdeps/powerpc/power6/wcschr.c: Remove file.
3087 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
3089 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
3091 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
3093 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3094 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
3095 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
3096 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
3097 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3098 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
3099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3100 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
3102 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
3103 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3104 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3105 Remove wcschr optimizations.
3106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3108 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
3111 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
3113 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
3114 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
3116 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
3118 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
3120 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3121 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
3122 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
3123 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
3124 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3125 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
3126 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3127 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
3129 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
3130 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3131 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3132 Remove wcscpy optimizations.
3133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3135 * include/loop_unroll.h: New file.
3136 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
3137 besides generic implementation.
3139 2019-04-03 DJ Delorie <dj@redhat.com>
3141 * time/tst-strftime3.c (tm_to_printed): Disable warning about
3142 snprintf truncating output.
3144 2019-04-02 DJ Delorie <dj@redhat.com>
3146 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
3149 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3152 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
3154 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
3155 (mkreftable): Add rules for the new Japanese era and the new dates.
3157 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3158 Rafal Luzynski <digitalfreak@lingonborough.com>
3160 * time/tst-strftime2.c (date_t): Explicitly define the type.
3161 (dates): Use natural month and year numbers to express a date.
3162 (is_before): New function to compare dates.
3163 (mkreftable): Minor improvements to simplify maintenance.
3164 (do_test): Reflect the changes in dates array.
3167 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
3168 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
3169 * time/tst-strftime2.c (locales): Likewise.
3170 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
3171 2010-04-01, and 2011-04-01.
3172 (mkreftable): Add rules for the new locales and the new dates.
3174 2019-04-01 Carlos O'Donell <carlos@redhat.com>
3176 * localedata/locales/ja_JP: Add comments to era entries.
3178 2019-04-01 DJ Delorie <dj@redhat.com>
3181 * time/strptime_l.c (%Ey): Fix fencepost error.
3182 * time/tst-strftime3.c: New.
3183 * time/Makefile (tests): Add tst-strftime3.
3185 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
3187 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
3188 conditional branch to DIVBYZERO. Fix unwind info.
3189 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
3190 excb after conditional branch to $powerof2. Add missing unop
3191 instructions and .align directives and reorder instructions to
3194 2019-04-01 Richard Henderson <rth@twiddle.net>
3196 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3198 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
3201 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
3203 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
3204 $libc_cv_riscv_float_abi in `test' invocation.
3205 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
3207 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
3209 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
3211 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
3213 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3214 (_GET_SI_FPSCR): Likewise.
3215 (_SET_SI_FPSCR): Likewise.
3217 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3219 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
3221 (signbit): Use builtin for clang 3.3.
3222 (isinf): Use builtin for clang 3.7.
3224 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3226 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
3228 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
3230 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
3233 2019-03-25 Mike Crowe <mac@mcrowe.com>
3235 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
3236 pthread_rwlock_timedrdlock with calls to
3237 pthread_rwlock_timedwrlock to ensure that the latter is tested
3238 too. Use new function name in diagnostic messages too.
3240 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
3241 (do_test) Use libsupport test macros rather than hand-coded
3242 conditionals and error messages. Ensure that sem_init returns zero
3243 rather than not -1. Use <support/test-driver.c> rather than
3246 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
3247 test macros rather than hand-coded conditionals and error messages.
3248 Use <support/test-driver.c> rather than test-skeleton.c.
3250 2019-03-25 Joseph Myers <joseph@codesourcery.com>
3252 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
3254 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
3255 (NT_MIPS_MSA): Likewise.
3257 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3259 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
3260 * benchtests/README: Update description.
3261 * benchtests/bench-timing.h: Default to hp-timing.
3262 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
3263 HP_TIMING_PRINT): Remove.
3264 (HP_TIMING_NOW): Add generic implementation.
3265 (hp_timing_t): Change to uint64_t.
3267 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
3269 * nptl/descr.h: Likewise.
3270 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
3271 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
3272 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
3273 Abstract hp-timing usage with RTLD_* macros.
3274 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
3275 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
3276 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
3277 HP_TIMING_NONAVAIL): Likewise.
3278 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3280 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
3281 HP_SMALL_TIMING_AVAIL): Likewise.
3282 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
3283 HP_SMALL_TIMING_AVAIL): Likewise.
3284 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
3285 HP_SMALL_TIMING_AVAIL): Likewise.
3286 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
3287 HP_SMALL_TIMING_AVAIL): Likewise.
3288 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3290 * sysdeps/generic/hp-timing-common.h: Update comment with
3291 HP_TIMING_AVAIL removal.
3293 * include/random-bits.h: New file.
3294 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
3295 (__res_context_mkquery): Remove usage hp-timing usage and replace with
3297 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
3298 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
3301 * include/libc-internal.h (__get_clockfreq): Remove prototype.
3302 * rt/Makefile (clock-routines): Remove get_clockfreq.
3303 * rt/get_clockfreq.c: Remove file.
3304 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
3305 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
3306 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
3307 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
3308 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
3310 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
3311 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
3312 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
3313 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
3314 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
3316 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
3317 pthread_clock_settime.
3318 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
3319 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
3320 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
3321 * elf/rtld.c (_dl_start_final): Likewise.
3322 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
3323 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
3325 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
3326 (_dl_cpuclock_offset): Remove.
3327 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
3328 cpuclock_offset_ununsed.
3329 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3330 cpuclock_offset set.
3331 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3332 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3333 * nptl/pthread_clock_gettime.c: Remove file.
3334 * nptl/pthread_clock_settime.c: Likewise.
3335 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
3336 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
3337 and CLOCK_PROCESS_CPUTIME_ID support.
3338 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
3339 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
3340 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
3341 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
3342 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
3344 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
3346 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3348 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
3349 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
3350 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
3352 * sysdeps/s390/memmem-arch13.S: New file.
3353 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
3354 if it is only used as fallback.
3355 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
3356 * sysdeps/s390/multiarch/ifunc-impl-list.c
3357 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
3359 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3361 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
3362 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
3363 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
3365 * sysdeps/s390/multiarch/ifunc-impl-list.c
3366 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
3367 * sysdeps/s390/strstr-arch13.S: New file.
3368 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
3369 if it is only used as fallback.
3370 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
3372 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3374 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
3375 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
3376 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
3377 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
3379 * sysdeps/s390/multiarch/ifunc-impl-list.c
3380 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
3381 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
3382 S390_IS_ARCH13_MIE3): New defines.
3384 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3386 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
3387 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
3388 * sysdeps/s390/configure.ac: Add checks for arch13 support.
3389 * sysdeps/s390/configure: Regenerated.
3391 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3393 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
3394 Add vxe2, vxp, dflt, sort flags.
3395 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
3396 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
3398 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
3399 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
3400 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
3401 HWCAP_S390_DFLT): Define.
3403 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3406 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
3407 of compiler warning.
3408 * locale/programs/ld-collate.c (collate_output): Likewise.
3410 2019-03-21 DJ Delorie <dj@redhat.com>
3413 * iconv/iconvconfig.c (write_output): Replace floating point math
3414 with integer math to avoid imprecise results.
3415 * locale/programs/ld-collate.c (collate_output): Likewise.
3417 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
3419 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
3420 Add HWCAP_S390_VX and HWCAP_S390_VXE.
3422 2019-03-20 mansayk <6688000@gmail.com>
3425 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
3426 (abday): Likewise, but remove the trailing dots.
3428 2019-03-19 Joseph Myers <joseph@codesourcery.com>
3430 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
3432 (HWCAP_PACA): Likewise.
3433 (HWCAP_PACG): Likewise.
3434 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3436 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
3438 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3440 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
3443 2019-03-15 Joseph Myers <joseph@codesourcery.com>
3445 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3447 (old_getpagesize): New syscall.
3449 2019-03-15 Felix Yan <felixonmars@archlinux.org>
3452 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
3453 * localedata/locales/cmn_TW (era): Likewise.
3454 * localedata/locales/hak_TW (era): Likewise.
3455 * localedata/locales/lzh_TW (era): Likewise.
3456 * localedata/locales/nan_TW (era): Likewise.
3458 2019-03-14 Adam Maris <amaris@redhat.com>
3460 * malloc/malloc.c (_int_malloc): Check for large bin list
3461 corruption when inserting unsorted chunk.
3463 2019-03-14 Florian Weimer <fweimer@redhat.com>
3465 Remove obsolete, never-implemented XSI STREAMS declarations.
3466 * manual/terminal.texi (Allocation): Remove portability note and
3468 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
3470 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
3471 * sysdeps/unix/inet/Subdirs (streams): Remove.
3472 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
3473 (conformtest-headers-UNIX98): Likewise.
3474 (conformtest-headers-XOPEN2K): Likewise.
3475 (conformtest-headers-POSIX2008): Likewise.
3476 * posix/compat-streams.c: New file.
3477 * posix/Makefile (routines): Add it.
3478 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
3479 getpmsg, isastream, putmsg, putpmsg.
3480 (GLIBC_2.30): New section.
3481 * bits/stropts.h: Remove file.
3482 * bits/xtitypes.h: Likewise.
3483 * conform/data/stropts.h-data: Likewise.
3484 * include/stropts.h: Likewise.
3485 * include/sys/stropts.h: Likewise.
3486 * include/xtitypes.h: Likewise.
3487 * streams/Makefile: Likewise.
3488 * streams/fattach.c: Likewise.
3489 * streams/fdetach.c: Likewise.
3490 * streams/getmsg.c: Likewise.
3491 * streams/getpmsg.c: Likewise.
3492 * streams/isastream.c: Likewise.
3493 * streams/putmsg.c: Likewise.
3494 * streams/putpmsg.c: Likewise.
3495 * streams/stropts.h: Likewise.
3496 * streams/sys/stropts.h: Likewise.
3497 * sysdeps/ia64/bits/xtitypes.h: Likewise.
3498 * sysdeps/s390/bits/xtitypes.h: Likewise.
3499 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
3500 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
3501 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
3502 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
3503 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
3504 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
3505 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
3506 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
3507 * sysdeps/x86/bits/xtitypes.h: Likewise.
3509 2019-03-14 Florian Weimer <fweimer@redhat.com>
3511 * nss/tst-nss-files-alias-truncated.c (do_test): Load
3513 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
3514 but not with libnss_files.
3515 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
3517 2019-03-14 Zack Weinberg <zackw@panix.com>
3519 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
3520 Specify encoding="utf-8" when opening headers to check.
3522 2019-03-13 Joseph Myers <joseph@codesourcery.com>
3524 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3526 (Context.checkout_tar): Handle variable major version for Linux
3529 2019-03-13 Florian Weimer <fweimer@redhat.com>
3532 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
3534 2019-03-13 Zack Weinberg <zackw@panix.com>
3536 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
3538 * include/inttypes.h: Adjust to match.
3539 * include/stdint.h: New wrapper.
3541 2019-03-13 Zack Weinberg <zackw@panix.com>
3543 * scripts/check-obsolete-constructs.py: New test script.
3544 * scripts/check-installed-headers.sh: Remove tests for
3545 obsolete typedefs, superseded by check-obsolete-constructs.py.
3546 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
3547 as a special test. Update commentary.
3548 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
3549 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
3551 * posix/sys/types.h (__u_intN_t): Remove.
3552 (u_int8_t): Typedef using __uint8_t.
3553 (u_int16_t): Typedef using __uint16_t.
3554 (u_int32_t): Typedef using __uint32_t.
3555 (u_int64_t): Typedef using __uint64_t.
3557 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
3559 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
3561 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
3562 Ignore types other than AT_HWCAP.
3563 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
3564 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
3566 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
3567 in the case of falling back to generic output mechanism.
3568 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
3571 2019-03-12 Florian Weimer <fweimer@redhat.com>
3573 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
3575 2019-03-12 Florian Weimer <fweimer@redhat.com>
3578 resolv: Enable full ICMP errors for UDP DNS sockets
3579 * resolv/res_enable_icmp.c: New file.
3580 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
3581 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
3582 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
3585 2019-03-11 Mao Han <han_mao@c-sky.com>
3587 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
3588 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
3590 2019-03-11 Mao Han <han_mao@c-sky.com>
3592 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
3593 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3594 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3596 2019-03-11 Mao Han <han_mao@c-sky.com>
3598 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
3600 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
3603 2019-03-11 Mao Han <han_mao@c-sky.com>
3605 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
3606 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
3609 2019-03-08 Mike FABIAN <mfabian@redhat.com>
3612 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
3613 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3615 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3616 * localedata/unicode-gen/PropList.txt: Likewise.
3617 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3618 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
3619 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
3620 * localedata/charmaps/UTF-8: Regenerate.
3621 * localedata/locales/i18n_ctype: Likewise.
3622 * localedata/locales/tr_TR: Likewise.
3623 * localedata/locales/translit_circle: Likewise.
3624 * localedata/locales/translit_cjk_compat: Likewise.
3625 * localedata/locales/translit_combining: Likewise.
3626 * localedata/locales/translit_compat: Likewise.
3627 * localedata/locales/translit_font: Likewise.
3628 * localedata/locales/translit_fraction: Likewise.
3630 2019-03-07 Joseph Myers <joseph@codesourcery.com>
3632 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
3633 than after operators.
3634 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
3635 (setitimer_locked): Likewise.
3636 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3637 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3638 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
3639 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
3640 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
3641 (PPC_CPU_SUPPORTED): Likewise.
3642 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
3643 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
3644 (stat_overflow): Likewise.
3645 (statfs_overflow): Likewise.
3646 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
3647 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
3648 (eq_ttyname_r): Likewise.
3649 (run_chroot_tests): Likewise.
3651 2019-03-07 Florian Weimer <fweimer@redhat.com>
3653 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
3656 2019-03-07 Martin Liska <mliska@suse.cz>
3658 * math/Makefile: Change location where math-vector-fortran.h is
3660 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
3661 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
3662 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
3663 * scripts/check-installed-headers.sh: Skip Fortran header files.
3664 * scripts/check-wrapper-headers.py: Likewise.
3666 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3668 * nptl/nptl-init.c (__have_futex_clock_realtime,
3669 __have_futex_clock_realtime): Remove definition.
3670 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
3671 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
3672 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
3673 __ASSUME_FUTEX_CLOCK_REALTIME support.
3674 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3675 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3676 * sysdeps/unix/sysv/linux/kernel-features.h
3677 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
3678 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
3681 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3683 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
3684 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
3685 __GI___wcscpy and wcscpy.
3687 2019-03-04 Florian Weimer <fweimer@redhat.com>
3689 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
3691 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
3694 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
3696 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
3697 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3699 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3702 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
3703 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
3705 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3707 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
3709 (do_test): Likewise.
3710 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3711 (do_test_call_varg): Likewise.
3712 (do_test_call_rarg): Likewise.
3713 * sysdeps/ieee754/ldbl-opt/Makefile
3714 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
3716 ($(objpfx)tst-nldbl-warn.c): New rule.
3717 ($(objpfx)tst-nldbl-error.c): Likewise.
3718 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
3721 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3724 * include/bits/error-ldbl.h: New file.
3725 * include/error.h: Include stdarg.h. Declare internal functions
3726 __error_internal and __error_at_line_internal.
3727 * misc/Makefile (headers): Add bits/error-ldbl.h.
3728 * misc/bits/error-ldbl.h: New file.
3729 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
3730 avoid the inclusion of bits/error.h.
3731 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
3732 and __nldbl_error_at_line.
3733 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
3734 (__nldbl_error, __ndlbl_error_at_line): New functions.
3735 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
3736 Redirect error and error_at_line.
3737 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3746 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3747 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3748 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3750 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3753 * include/bits/err-ldbl.h: New file.
3754 * include/err.h: Add prototypes for the internal functions:
3755 __vwarnx_internal and __vwarn_internal.
3756 * misc/Makefile (headers): Add bits/err-ldbl.h.
3757 * misc/bits/err-ldbl.h: New file.
3758 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
3759 defined, i.e.: when -mlong-double-64 is in use.
3760 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
3761 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
3762 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
3763 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
3764 (VA_CALL): New macro.
3765 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
3766 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
3768 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
3769 declare prototypes for the new functions.
3770 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3779 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3780 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3781 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3783 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3785 * sysdeps/ieee754/ldbl-opt/Makefile
3786 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
3787 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
3788 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
3790 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3793 * argp/Makefile (headers): Add bits/argp-ldbl.h.
3794 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
3795 * argp/bits/argp-ldbl.h: New file.
3796 * include/argp.h: Include stdarg.h. Add prototypes for internal
3797 functions: __argp_error_internal and __argp_failure_internal.
3798 * include/bits/argp-ldbl.h: New file.
3799 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
3800 __nldbl_argp_error and __nldbl_argp_failure.
3801 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
3802 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
3803 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
3804 Redirect argp_error and argp_failure calls.
3805 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3814 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3815 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3816 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3818 2019-03-01 Florian Weimer <fweimer@redhat.com>
3821 * elf/tst-big-note-lib.S: Create a syntactically valid note.
3822 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
3823 code, to avoid creating an ABI tag note.
3824 (modules-names-nobuild): Add tst-big-note-lib.
3826 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
3828 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
3829 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
3831 2019-03-01 Florian Weimer <fweimer@redhat.com>
3834 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3835 (__netlink_assert_response): Add additional missing newlines.
3837 2019-02-28 Joseph Myers <joseph@codesourcery.com>
3839 * sysdeps/powerpc/powerpc32/dl-machine.c
3840 (__elf_machine_fixup_plt): Use space before '('.
3841 (__process_machine_rela): Likewise.
3842 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
3844 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
3846 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
3848 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
3849 (pattern): Likewise.
3851 (check_result): Likewise.
3852 (check_excepts): Likewise.
3853 (check_op): Likewise.
3854 (fail_xr): Likewise.
3855 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
3856 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
3858 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
3861 (__makecontext): Likewise.
3862 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
3865 2019-02-28 Florian Weimer <fweimer@redhat.com>
3868 elf: Add test with a local IFUNC resolver.
3869 * elf/ifuncmain9.c: New file.
3870 * elf/ifuncmain9pic.c: Likewise.
3871 * elf/ifuncmain9picstatic.c: Likewise.
3872 * elf/ifuncmain9pie.c: Likewise.
3873 * elf/ifuncmain9static.c: Likewise.
3874 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
3875 ifuncmain9static, ifuncmain9picstatic.
3876 * elf/Makefile [multi-arch && build-shared] (tests-internal):
3877 Add ifuncmain9, ifuncmain9pic.
3878 * elf/Makefile [multi-arch && build-shared && have-fpie]
3879 (ifunc-pie-tests): Add ifuncmain9pie.
3880 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
3881 (CFLAGS-ifuncmain9picstatic.c): Likewise.
3882 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
3884 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
3886 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
3887 * configure: Regenerated.
3888 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
3890 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3892 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
3893 symbol as __wcspcy instead of wcscpy.
3895 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3897 * include/stdio.h (__renameat2): New hidden prototype.
3898 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
3899 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
3900 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
3901 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
3903 2019-02-27 Joseph Myers <joseph@codesourcery.com>
3905 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
3908 * benchtests/bench-strcpy.c (do_test): Use space before '('.
3909 * benchtests/bench-string.h (cmdline_process_function): Likewise.
3910 * benchtests/bench-strlen.c (do_test): Likewise.
3911 (test_main): Likewise.
3912 * catgets/gencat.c (read_old): Likewise.
3913 * elf/cache.c (load_aux_cache): Likewise.
3914 * iconvdata/bug-iconv8.c (do_test): Likewise.
3915 * math/test-tgmath-ret.c (do_test): Likewise.
3916 * nis/nis_call.c (rec_dirsearch): Likewise.
3917 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3918 * nptl/tst-audit-threads.c (do_test): Likewise.
3919 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
3920 * nss/nss_test1.c (init): Likewise.
3921 * nss/test-netdb.c (test_hosts): Likewise.
3922 * posix/execvpe.c (maybe_script_execute): Likewise.
3923 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
3924 * stdio-common/tst-printf.c (do_test): Likewise.
3925 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
3926 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
3927 * stdlib/qsort.c (STACK_SIZE): Likewise.
3928 * stdlib/test-canon.c (do_test): Likewise.
3929 * stdlib/tst-swapcontext1.c (do_test): Likewise.
3930 * string/memcmp.c (OPSIZ): Likewise.
3931 * string/test-strcpy.c (do_test): Likewise.
3932 (do_random_tests): Likewise.
3933 * string/test-strlen.c (do_test): Likewise.
3934 (test_main): Likewise.
3935 * string/test-strrchr.c (do_test): Likewise.
3936 (do_random_tests): Likewise.
3937 * string/tester.c (test_memrchr): Likewise.
3938 (test_memchr): Likewise.
3939 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
3940 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
3941 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
3942 (read_encoded_value_with_base): Likewise.
3943 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
3944 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
3945 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
3946 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3947 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
3948 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
3950 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
3952 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
3953 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
3954 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
3956 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
3958 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
3960 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3962 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
3963 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3964 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3965 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
3966 * time/test_time.c (main): Likewise.
3968 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3970 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
3972 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
3975 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
3978 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3980 * include/wchar.h (__wcscpy): New prototype.
3981 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
3982 (__wcscpy): Route internal symbol to generic implementation.
3983 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
3984 Add internal __wcscpy alias.
3985 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
3986 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
3987 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
3988 * wcsmbs/wcscpy.c (wcscpy): Add
3989 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
3990 use generic implementation.
3991 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
3993 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
3996 * sysdeps/m68k/wcpcpy.c: Remove file.
3997 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3999 2019-02-26 Joseph Myers <joseph@codesourcery.com>
4001 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
4002 than after operators.
4003 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4004 * sysdeps/mach/hurd/getcwd.c
4005 (__hurd_canonicalize_directory_name_internal): Likewise.
4006 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
4007 (pthread_mutex_consistent): Likewise.
4008 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
4010 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
4011 (__pthread_mutex_transfer_np): Likewise.
4012 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
4013 (__pthread_mutex_unlock): Likewise.
4014 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
4015 (mtx_owned_p): Likewise.
4016 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
4017 (pthread_mutexattr_getrobust): Likewise.
4018 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
4019 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
4021 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4022 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
4023 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
4024 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
4025 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4026 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4027 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
4029 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
4031 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
4032 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
4033 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
4034 (____longjmp_chk): Likewise.
4035 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
4037 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4038 (INTERNAL_SYSCALL): Likewise.
4039 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4040 (INTERNAL_SYSCALL): Likewise.
4041 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4042 (__get_clockfreq_via_cpuinfo): Likewise.
4044 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
4046 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
4047 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
4048 (WORD_COPY_BWD): Likewise.
4049 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4050 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4052 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
4053 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
4055 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
4057 2019-02-25 Joseph Myers <joseph@codesourcery.com>
4059 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
4060 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
4061 rather than after operators.
4062 * elf/cache.c (print_cache): Likewise.
4063 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
4064 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
4065 * hurd/hurdinit.c (_hurd_setproc): Likewise.
4066 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
4067 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
4068 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
4069 (reauth_proc): Likewise.
4070 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
4071 (__file_name_split_at): Likewise.
4072 (__directory_name_split_at): Likewise.
4073 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4074 * hurd/port2fd.c (_hurd_port2fd): Likewise.
4075 * iconv/gconv_dl.c (do_print): Likewise.
4076 * inet/netinet/in.h (struct sockaddr_in): Likewise.
4077 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
4078 * locale/setlocale.c (new_composite_name): Likewise.
4079 * malloc/memusagestat.c (main): Likewise.
4080 * misc/fstab.c (fstab_convert): Likewise.
4081 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4083 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
4084 (getgrent_next_file): Likewise.
4085 (internal_getgrnam_r): Likewise.
4086 (internal_getgrgid_r): Likewise.
4087 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
4089 (internal_getgrent_r): Likewise.
4090 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4091 (getpwent_next_nss): Likewise.
4092 (getpwent_next_file): Likewise.
4093 (internal_getpwnam_r): Likewise.
4094 (internal_getpwuid_r): Likewise.
4095 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
4097 (getspent_next_nss): Likewise.
4098 (internal_getspnam_r): Likewise.
4099 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
4100 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
4101 * string/strchr.c (STRCHR): Likewise.
4102 * string/strchrnul.c (STRCHRNUL): Likewise.
4103 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
4104 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4105 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
4106 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
4107 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
4109 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
4110 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4111 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4112 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
4113 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
4114 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
4115 (open_file): Likewise.
4116 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
4117 (pthread_mutexattr_setprotocol): Likewise.
4118 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4119 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4120 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4121 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
4122 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4124 (elf_machine_rela): Likewise.
4125 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4126 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4127 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
4128 * sysdeps/posix/rename.c (rename): Likewise.
4129 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
4130 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
4131 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
4132 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
4133 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4134 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
4135 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
4137 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
4139 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
4140 * time/tzfile.c (__tzfile_compute): Likewise.
4142 2019-02-22 Joseph Myers <joseph@codesourcery.com>
4144 * benchtests/bench-memmem.c (simple_memmem): Break lines before
4145 rather than after operators.
4146 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
4147 * crypt/md5.c (md5_finish_ctx): Likewise.
4148 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
4149 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
4150 * elf/cache.c (load_aux_cache): Likewise.
4151 * elf/dl-load.c (open_verify): Likewise.
4152 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
4153 * elf/readelflib.c (process_elf_file): Likewise.
4154 * elf/rtld.c (dl_main): Likewise.
4155 * elf/sprof.c (generate_call_graph): Likewise.
4156 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
4157 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
4158 * hurd/dtable.c (reauth_dtable): Likewise.
4159 * hurd/getdport.c (__getdport): Likewise.
4160 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
4161 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
4162 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
4164 * hurd/hurdioctl.c (fioctl): Likewise.
4165 * hurd/hurdselect.c (_hurd_select): Likewise.
4166 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
4167 (STOPSIGS): Likewise.
4168 * hurd/hurdstartup.c (_hurd_startup): Likewise.
4169 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
4170 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4171 * hurd/msgportdemux.c (msgport_server): Likewise.
4172 * hurd/setauth.c (_hurd_setauth): Likewise.
4173 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
4174 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
4175 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4176 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
4177 * login/tst-utmp.c (do_check): Likewise.
4178 (simulate_login): Likewise.
4179 * mach/lowlevellock.h (lll_lock): Likewise.
4180 (lll_trylock): Likewise.
4181 * math/test-fenv.c (ALL_EXC): Likewise.
4182 * math/test-fenvinline.c (ALL_EXC): Likewise.
4183 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
4184 * nis/nis_call.c (__do_niscall3): Likewise.
4185 * nis/nis_callback.c (cb_prog_1): Likewise.
4186 * nis/nis_defaults.c (searchaccess): Likewise.
4187 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4188 * nis/nis_ismember.c (internal_ismember): Likewise.
4189 * nis/nis_local_names.c (nis_local_principal): Likewise.
4190 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
4191 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
4193 * nis/ypclnt.c (yp_match): Likewise.
4194 (yp_first): Likewise.
4195 (yp_next): Likewise.
4196 (yp_master): Likewise.
4197 (yp_order): Likewise.
4198 * nscd/hstcache.c (cache_addhst): Likewise.
4199 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4200 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
4201 (internal_getpwuid_r): Likewise.
4202 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
4203 * posix/glob.h (__GLOB_FLAGS): Likewise.
4204 * posix/regcomp.c (peek_token): Likewise.
4205 (peek_token_bracket): Likewise.
4206 (parse_expression): Likewise.
4207 * posix/regexec.c (sift_states_iter_mb): Likewise.
4208 (check_node_accept_bytes): Likewise.
4209 * posix/tst-spawn3.c (do_test): Likewise.
4210 * posix/wordexp-test.c (testit): Likewise.
4211 * posix/wordexp.c (parse_tilde): Likewise.
4212 (exec_comm): Likewise.
4213 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
4214 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
4215 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
4216 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
4217 * stdio-common/tst-fileno.c (do_test): Likewise.
4218 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
4219 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
4220 * stdlib/strtod_l.c (round_and_return): Likewise.
4221 (____STRTOF_INTERNAL): Likewise.
4222 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
4223 * string/strcspn.c (STRCSPN): Likewise.
4224 * string/test-memmem.c (simple_memmem): Likewise.
4225 * termios/tcsetattr.c (tcsetattr): Likewise.
4226 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
4227 * time/asctime.c (asctime_internal): Likewise.
4228 * time/strptime_l.c (__strptime_internal): Likewise.
4229 * time/sys/time.h (timercmp): Likewise.
4230 * time/tzfile.c (__tzfile_compute): Likewise.
4232 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
4235 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
4237 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4239 * argp/argp-help.c (__argp_error_internal): New function,
4240 renamed from __argp_error, but that takes a 'mode_flags'
4241 parameter to control the format of long double parameters.
4242 (__argp_error): Converted into a call __argp_error_internal.
4243 (__argp_failure_internal): New function, renamed from
4244 __argp_failure, but that takes a 'mode_flags' parameter.
4245 (__argp_failure): Converted into a call __argp_failure_internal.
4246 * misc/err.c (__vwarnx_internal): New function, renamed from
4247 vwarnx, but that takes a 'mode_flags' parameter.
4248 (vwarnx): Converted into a call to __vwarnx_internal.
4249 (__vwarn_internal): New function, renamed from vwarn, but that
4250 takes a 'mode_flags' parameter.
4251 (vwarn): Converted into a call to __vwarn_internal.
4252 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
4253 call to __vfxprintf with 'mode_flags'.
4254 (__error_internal): New function, renamed from error, but that
4255 takes a 'mode_flags' parameter.
4256 (error): Converted into a call to __error_internal.
4257 (__error_at_line_internal): New function, renamed from
4258 error_at_line, but that takes a 'mode_flags' parameter.
4259 (error_at_line): Converted into a call to
4260 __error_at_line_internal.
4261 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
4262 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
4265 2019-02-20 Martin Liska <mliska@suse.cz>
4267 * math/Makefile: Install math-vector-fortran.h.
4268 * bits/math-vector-fortran.h: New file.
4269 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
4271 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4273 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
4274 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
4276 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
4278 * nptl/pthread_mutex_trylock.c: Fix comment.
4280 2019-02-19 Carlos O'Donell <carlos@redhat.com>
4282 * nptl/pthread_tryjoin.c: Fix comment.
4284 2019-02-18 Joseph Myers <joseph@codesourcery.com>
4287 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
4288 after R_SPARC_H34 case.
4290 2019-02-18 Florian Weimer <fweimer@redhat.com>
4292 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
4293 (getanswer): Do not call Dprintf.
4294 (res_gethostbyname2_context): Likewise.
4295 (res_gethostbyaddr_context): Likewise.
4297 2019-02-18 Florian Weimer <fweimer@redhat.com>
4299 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
4301 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
4303 * libio/stdfiles.c: Update comment.
4304 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
4305 set _IO_stdin, _IO_stdout, _IO_stderr.
4306 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
4307 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
4309 (_IO_deallocate_file): New inline function.
4310 * libio/iolibio.h (_IO_vprintf): Remove definition.
4311 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
4312 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4313 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
4315 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
4316 __builtin_expect. Use _IO_legacy_file.
4318 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
4320 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
4321 Initialize ctid with a known value and remove update of ctid
4323 (wait_tid): Adjust arguments and call futex_wait with ctid_val
4324 as assumed current value of ctid_ptr.
4326 2019-02-16 Florian Weimer <fweimer@redhat.com>
4328 Check that non-sysdeps headers have wrapper headers.
4329 * scripts/check-wrapper-headers.py: New file.
4330 * Makefile (tests-special): Add check-wrapper-headers.out.
4331 (check-wrapper-headers.out): New target.
4332 * Rules (tests-special): Add check-wrapper-headers.out.
4333 (check-wrapper-headers.out): New target.
4335 2019-02-16 Florian Weimer <fweimer@redhat.com>
4337 Add missing header wrappers under include/.
4338 * include/ar.h: New file.
4339 * include/bits/mqueue2.h: Likewise.
4340 * include/bits/stdio.h: Likewise.
4341 * include/bits/stdio2.h: Likewise.
4342 * include/fstab.h: Likewise.
4343 * include/fts.h: Likewise.
4344 * include/lastlog.h: Likewise.
4345 * include/netinet/icmp6.h: Likewise.
4346 * include/netinet/igmp.h: Likewise.
4347 * include/netinet/ip6.h: Likewise.
4348 * include/re_comp.h: Likewise.
4349 * include/regexp.h: Likewise.
4350 * include/rpcsvc/bootparam.h: Likewise.
4351 * include/rpcsvc/yp_prot.h: Likewise.
4352 * include/sys/random.h: Likewise.
4353 * include/sys/stropts.h: Likewise.
4354 * include/sys/ttychars.h: Likewise.
4355 * include/sys/vfs.h: Likewise.
4356 * include/wait.h: Likewise.
4358 2019-02-16 Florian Weimer <fweimer@redhat.com>
4360 * nptl_db/proc_service.h: Move to ...
4361 * sysdeps/nptl/proc_service.h: ... here.
4362 * nptl_db/thread_db.h: Move to ...
4363 * sysdeps/nptl/thread_db.h: ... here.
4364 * nptl/descr.h: Include <thread_db.h>.
4366 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4368 * io/Makefile (tests): Add tst-lockf.
4369 * io/lockf.c (lockf): Use __fcntl and only define for
4370 !__OFF_T_MATCHES_OFF64_T.
4371 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
4372 __OFF_T_MATCHES_OFF64_T case.
4373 * io/tst-lockf.c: New file.
4374 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
4375 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
4376 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
4377 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
4378 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
4379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
4380 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
4381 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
4382 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
4384 2019-02-15 Florian Weimer <fweimer@redhat.com>
4387 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
4388 pd->result after the thread descriptor has been freed.
4390 2019-02-15 Joseph Myers <joseph@codesourcery.com>
4392 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
4393 from function return type.
4395 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
4397 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4399 * scripts/test_printers_common.py: Set TERM to a known harmless
4402 2019-02-14 Joseph Myers <joseph@codesourcery.com>
4404 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
4405 (xdr_u_int): Likewise.
4406 (xdr_enum): Likewise.
4407 (xdr_bytes): Reword fall-through comment.
4408 (xdr_string): Likewise.
4410 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4413 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
4414 (tests): Add tst-join8 tst-join9.
4415 * nptl/lll_timedwait_tid.c: Remove file.
4416 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
4417 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
4418 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
4419 * nptl/pthread_join_common.c (timedwait_tid): New function.
4420 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
4422 * nptl/tst-join5.c (thread_join): New function.
4423 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
4425 * nptl/tst-join8.c: New file.
4426 * nptl/tst-join9.c: Likewise.
4427 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
4428 lll_futex_timed_wait_cancel): Add generic macros.
4429 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
4431 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4432 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4433 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4434 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
4436 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
4438 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4439 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4440 (lll_futex_timed_wait_cancel): New macro.
4442 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
4444 * benchtests/Makefile: Add malloc-simple benchmark.
4445 * benchtests/bench-malloc-simple.c: New benchmark.
4447 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
4449 * benchtests/bench-memmove.c (do_one_test): Remove unused
4452 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
4456 2019-01-13 Jim Wilson <jimw@sifive.com>
4459 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
4460 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
4462 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
4464 * nptl/Makefile (tests): Add tst-unwind-thread.
4465 (CFLAGS-tst-unwind-thread.c): Define.
4466 * nptl/tst-unwind-thread.c: New file.
4467 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
4470 2019-02-13 Joseph Myers <joseph@codesourcery.com>
4472 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
4474 * nis/nis_call.c (__do_niscall3): Likewise.
4476 * catgets/gencat.c (normalize_line): Use braces around empty
4478 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4479 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
4480 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
4481 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
4482 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
4483 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
4484 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
4487 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
4490 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
4492 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
4493 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
4494 * benchtests/bench-strchr.c (stupid_strchr): Remove.
4495 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
4496 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
4497 * benchtests/bench-strlen.c (builtin_strlen): Remove.
4498 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
4499 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
4500 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
4501 * benchtests/bench-strspn.c (stupid_strspn): Remove.
4502 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
4503 * benchtests/bench-bcopy.c: Delete file.
4504 * benchtests/bench-bzero.c: Likewise.
4505 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
4506 (simple_memccpy): Remove.
4507 (generic_memccpy): Add function.
4508 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
4509 * benchtests/bench-memmove.c (simple_bcopy): Remove.
4510 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
4511 (generic_mempcpy): Add new function.
4512 * benchtests/bench-memset.c (simple_bzero): Remove.
4513 (builtin_bzero): Remove.
4514 (builtin_memset): Remove.
4515 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
4516 (generic_rawmemchr): Add new function.
4518 2019-02-12 Florian Weimer <fweimer@redhat.com>
4520 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
4522 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4525 * elf/Makefile (tests): Add tst-audit13.
4526 (modules-names): Add tst-audit13mod1.
4527 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4529 * elf/tst-audit13.c: New file.
4530 * elf/tst-audit13mod1.c: Likewise.
4532 2019-02-12 Florian Weimer <fweimer@redhat.com>
4535 * elf/rtld.c (unload_audit_module): New function.
4536 (report_audit_module_load_error): Likewise.
4537 (load_audit_module): Likewise. Extracted from dl_main. Call
4538 _dl_close if the laversion symbol cannot be found. Use early
4539 returns for error handling. Add malloc error check. Check for a
4540 zero return value from la_version. Remove spurious comment about
4541 static TLS initialization. Remove useless casts.
4542 (notify_audit_modules_of_loaded_object): New function. Extracted
4544 (load_audit_module): Likewise.
4545 (dl_main): Call load_audit_modules.
4547 2019-02-12 Joseph Myers <joseph@codesourcery.com>
4549 * elf/dl-exception.c (_dl_exception_create_format): Add
4550 fall-through comments.
4551 * elf/ldconfig.c (parse_conf_include): Likewise.
4552 * elf/rtld.c (print_statistics): Likewise.
4553 * locale/programs/charmap.c (parse_charmap): Likewise.
4554 * misc/mntent_r.c (__getmntent_r): Likewise.
4555 * posix/wordexp.c (parse_arith): Likewise.
4556 (parse_backtick): Likewise.
4557 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
4558 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4559 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4561 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
4563 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
4564 Use float instead of double.
4566 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4568 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
4570 2019-02-08 Joseph Myers <joseph@codesourcery.com>
4572 * sysdeps/powerpc/bits/mathinline.h: Remove.
4574 2019-02-08 Florian Weimer <fweimer@redhat.com>
4576 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
4577 * math/bits/math-finite.h: Move to ...
4578 * bits/math-finite.h: ... here.
4580 2019-02-08 Florian Weimer <fweimer@redhat.com>
4582 * sysdeps/generic/bits/unistd_ext.h: Move to ...
4583 * bits/unistd_ext.h: here.
4585 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
4588 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
4589 * nss/tst-nss-files-hosts-long.c: New file.
4590 * nss/tst-nss-files-hosts-long.root: New directory.
4591 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
4592 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
4594 2019-02-08 Florian Weimer <fweimer@redhat.com>
4596 * include/bits/unistd_ext.h: Remove file.
4597 * posix/bits/unistd_ext.h: Move to ...
4598 * sysdeps/generic/bits/unistd_ext.h: ... here.
4600 2019-02-08 Florian Weimer <fweimer@redhat.com>
4602 * include/bits/unistd_ext.h: New file.
4604 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
4606 * time/tst-strftime2.c: Use array_length macros instead of magic
4609 2019-02-08 Florian Weimer <fweimer@redhat.com>
4612 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
4614 * nptl/register-atfork.c (__run_fork_handlers): Only perform
4615 locking if the new do_locking argument is true.
4616 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
4617 __run_fork_handlers.
4619 2019-02-08 Florian Weimer <fweimer@redhat.com>
4622 Linux: Add gettid system call wrapper.
4623 * posix/Makefile (headers): Add bits/unistd_ext.h.
4624 * posix/bits/unistd_ext.h: New file.
4625 * posix/unistd.h: Include it.
4626 * manual/process.texi (Process Identification): Document gettid.
4627 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
4628 tst-gettid, tst-gettid-kill.
4629 (tst-gettid): Link with $(shared-thread-library).
4630 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
4631 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
4632 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
4633 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
4634 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
4635 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4637 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4639 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4640 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
4642 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
4644 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
4646 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
4648 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4650 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4652 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4654 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4655 (GLIBC_2.30): Likewise.
4656 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4657 (GLIBC_2.30): Likewise.
4658 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4659 (GLIBC_2.30): Likewise.
4660 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4661 (GLIBC_2.30): Likewise.
4662 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4665 (GLIBC_2.30): Likewise.
4666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4667 (GLIBC_2.30): Likewise.
4668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4669 (GLIBC_2.30): Likewise.
4670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4671 (GLIBC_2.30): Likewise.
4672 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4674 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4676 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4678 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4679 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4681 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4683 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4685 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4687 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
4689 2019-02-08 Florian Weimer <fweimer@redhat.com>
4691 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
4692 compatibility symbols.
4694 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
4697 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4698 Add compiler barriers and comments.
4700 2019-02-07 Florian Weimer <fweimer@redhat.com>
4702 * include/array_length.h (array_length): Do not use a statement
4703 expression and _Static_assert, so that array_length can be used at
4704 file scope and as a constant expression.
4706 2019-02-07 Florian Weimer <fweimer@redhat.com>
4708 * support/xdlfcn.h (xdlmopen): Declare.
4709 * support/xdlmopen.c: New file.
4710 * support/Makefile (libsupport-routines): Add xdlmopen.
4712 2019-02-06 Joseph Myers <joseph@codesourcery.com>
4714 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
4715 before return type, without separate inline.
4716 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
4717 * elf/dl-tunables.h (tunable_is_name): Likewise.
4718 * malloc/malloc.c (do_set_trim_threshold): Likewise.
4719 (do_set_top_pad): Likewise.
4720 (do_set_mmap_threshold): Likewise.
4721 (do_set_mmaps_max): Likewise.
4722 (do_set_mallopt_check): Likewise.
4723 (do_set_perturb_byte): Likewise.
4724 (do_set_arena_test): Likewise.
4725 (do_set_arena_max): Likewise.
4726 (do_set_tcache_max): Likewise.
4727 (do_set_tcache_count): Likewise.
4728 (do_set_tcache_unsorted_limit): Likewise.
4729 * nis/nis_subr.c (count_dots): Likewise.
4730 * nptl/allocatestack.c (advise_stack_range): Likewise.
4731 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
4733 (reduce_sincos): Likewise.
4734 (do_sincos): Likewise.
4735 * sysdeps/unix/sysv/linux/x86/elision-conf.c
4736 (do_set_elision_enable): Likewise.
4737 (TUNABLE_CALLBACK_FNDECL): Likewise.
4739 2019-02-06 Florian Weimer <fweimer@redhat.com>
4741 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
4742 (xdlsym): Use dlerror to detect a NULL symbol.
4744 2019-02-06 Florian Weimer <fweimer@redhat.com>
4746 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
4748 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4750 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4752 * libio/tst-bz24153.c (wide): Use wide char format specifier.
4754 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4756 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
4757 __wmemcmp and weak alias to wmemcmp.
4759 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4762 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
4763 TLS_TCB_AT_TP tls variant.
4764 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
4765 Add alignment checks.
4766 * support/Makefile (libsupport-routines): Add xposix_memalign and
4768 * support/support.h: Add xposix_memalign.
4769 * support/xthread.h: Add xpthread_attr_setstack.
4770 * support/xposix_memalign.c: New File.
4771 * support/xpthread_attr_setstack.c: Likewise.
4773 2019-02-05 Florian Weimer <fweimer@redhat.com>
4776 arm: Use "nr" constraint for Systemtap probes, to avoid the
4777 compiler using memory operands for constants, due to the "o"
4778 alternative in the default "nor" constraint.
4779 * include/stap-probe.h [USE_STAP_PROBE]: Include
4780 <stap-probe-machine.h>
4781 * sysdeps/generic/stap-probe-machine.h: New file.
4782 * sysdeps/arm/stap-probe-machine.h: Likewise.
4784 2019-02-04 Joseph Myers <joseph@codesourcery.com>
4786 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
4787 with 0, not tcache->entries[tc_idx].
4789 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
4792 2019-02-04 Andreas Schwab <schwab@suse.de>
4796 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
4797 looking up collating elements match against (wide) character
4798 sequence instead of name. Correct alignment adjustment.
4799 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
4800 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
4801 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
4802 (LOCALES): Add cs_CZ.ISO-8859-2.
4803 * posix/tst-fnmatch4.c: New file.
4804 * posix/tst-fnmatch5.c: New file.
4805 * include/wchar.h (__wmemcmp): Declare.
4806 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
4807 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4808 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
4809 * sysdeps/s390/wmemcmp.c: Likewise.
4811 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
4815 * NEWS: Updated for CVE-2019-7309.
4816 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
4817 upper 32 bits of RDX register for x32. Use unsigned Jcc
4818 instructions, instead of signed.
4819 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
4820 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
4822 2019-02-04 Florian Weimer <fweimer@redhat.com>
4824 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
4825 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
4826 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
4828 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
4829 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
4830 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
4831 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
4833 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
4835 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
4837 (posix_spawn_file_actions_addopen): Likewise.
4838 (posix_spawn_file_actions_addclose): Likewise.
4839 (posix_spawn_file_actions_adddup2): Likewise.
4840 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
4842 (posix_spawn_file_actions_addfchdir_np): Likewise.
4844 2019-02-04 David Newall <glibc@davidnewall.com>
4846 elf: Implement --preload option for the dynamic linker.
4847 * elf/rtld.c (preloadarg): New variable.
4848 (handle_preload_list): Pass through “where” argument to
4850 (dl_main): Handle "--preload" and add second call to
4851 handle_preload_list.
4852 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
4853 (tst-rtld-preload-OBJS): Set variable.
4854 (tst-rtld-preload.out): New target.
4855 * elf/tst-rtld-preload.sh: New file.
4857 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
4859 * Makefile (testrun.sh): Exit in case of incorrect argument.
4861 2019-02-04 Florian Weimer <fweimer@redhat.com>
4863 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
4866 2019-02-03 Florian Weimer <fweimer@redhat.com>
4868 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
4869 implicit overflow checks.
4871 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
4873 * stdlib/isomac.c: Include <unistd.h>.
4875 2019-02-03 Florian Weimer <fweimer@redhat.com>
4877 * include/time.h (__tzfile_default): Use int, not long int, for
4879 * time/tzfile.c (struct ttinfo): Change type of the offset member
4881 (__tzfile_read): Remove useless cast.
4882 (__tzfile_default): Adjust prototype.
4883 * time/tzset.c (tz_rule): Change type of the offset member to int.
4884 (parse_offset): Change the type of the sign variable to int.
4886 2019-02-03 Florian Weimer <fweimer@redhat.com>
4889 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
4890 * libio/getchar.c (getchar): Likewise.
4891 * libio/getchar_u.c (getchar_unlocked): Likewise.
4892 * libio/getwchar.c (getwchar): Likewise.
4893 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4894 * libio/iogets.c (_IO_gets): Likewise.
4895 * libio/vscanf.c (_IO_vscanf): Likewise.
4896 * libio/vwscanf.c (__vwscanf): Likewise.
4897 * libio/tst-bz24153.c: New file.
4898 * libio/Makefile (tests): Add it.
4900 2019-02-02 Florian Weimer <fweimer@redhat.com>
4903 * manual/resource.texi (Basic Scheduling Functions): Add
4904 portability note. Change process to task throughout the section.
4905 Remove incorrect comment about sched_yield as it affects
4906 tasks/threads, not entire processes.
4907 * sysdeps/unix/sysv/linux/bits/posix_opt.h
4908 (_POSIX_PRIORITY_SCHEDULING): Update comment.
4910 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4912 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
4913 * configure: Regenerated.
4914 * manual/install.texi (Tools for Compilation): Update minimum GCC
4916 * INSTALL: Regenerated.
4918 2019-02-01 Florian Weimer <fweimer@redhat.com>
4920 * support/support_test_compare_string.c
4921 (support_test_compare_string): Use "string" in error message.
4922 * support/tst-test_compare_string.c (do_test): Adjust.
4924 2019-02-01 Florian Weimer <fweimer@redhat.com>
4926 * support/support_format_address_family.c
4927 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
4929 2019-02-01 Florian Weimer <fweimer@redhat.com>
4931 * manual/socket.texi (Internet Address Formats): Clarify the byte
4932 order of struct sockaddr_in, struct sockaddr_in6. Document
4933 sin6_flowinfo and sin6_scope_id.
4935 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
4937 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
4938 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
4939 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
4940 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
4941 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
4942 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
4944 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4946 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
4947 [!MEMCHR](MEMCHR): Set to __memchr.
4948 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4949 Add memchr_generic and memchr_nosimd.
4950 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4951 (__libc_ifunc_impl_list): Add memchr ifuncs.
4952 * sysdeps/aarch64/multiarch/memchr.c: New file.
4953 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
4954 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
4956 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4958 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4960 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4961 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
4962 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
4963 Add IS_EMAG check for ifunc dispatch.
4964 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
4965 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
4967 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4969 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
4970 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4972 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
4975 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
4977 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
4979 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
4981 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
4982 syscall-template file.
4984 2019-01-31 Carlos O'Donell <carlos@redhat.com>
4985 Torvald Riegel <triegel@redhat.com>
4986 Rik Prohaska <prohaska7@gmail.com>
4989 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
4990 tst-rwlock-trywrlock-stall.
4991 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4992 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
4993 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
4994 Set __wrphase_fute to 1 only if we started the write phase.
4995 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
4996 * nptl/tst-rwlock-trywrlock-stall.c: New file.
4997 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
4998 * support/xpthread_rwlock_destroy.c: New file.
4999 * support/xthread.h: Declare xpthread_rwlock_destroy.
5001 2019-02-01 Joseph Myers <joseph@codesourcery.com>
5003 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
5006 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5009 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
5010 * libio/fileops.c (_IO_new_file_underflow): Likewise
5011 * libio/wfileops.c (_IO_wfile_underflow): Likewise
5012 * libio/putchar.c (putchar): Likewise.
5013 * libio/putchar_u.c (putchar_unlocked): Likewise.
5014 * libio/putwchar.c (putchar): Likewise.
5015 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5016 * libio/tst-bz24051.c: New test.
5017 * libio/Makefile (tests): Add tst-bz24051
5019 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
5022 regex: fix read overrun [BZ #24114]
5023 Problem found by AddressSanitizer, reported by Hongxu Chen in:
5024 https://debbugs.gnu.org/34140
5025 * posix/regexec.c (proceed_next_node):
5026 Do not read past end of input buffer.
5028 2019-01-31 Florian Weimer <fweimer@redhat.com>
5031 * nss/nss_files/files-alias.c (get_next_alias): Handle
5032 continuation line without newline at the end.
5033 * nss/tst-nss-files-alias-truncated.c: New file.
5034 * nss/Makefile [$(build-shared)] (tests): Add
5035 tst-nss-files-alias-truncated.
5036 (tst-nss-files-alias-truncated): Link with libnss_files.so.
5037 * support/namespace.h (struct support_chroot_configuration): Add
5039 (struct support_chroot): Add path_aliases member.
5040 * support/support_chroot.c (support_chroot_create): Handle
5042 (support_chroot_free): Free path_aliases.
5044 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
5046 * version.h (RELEASE): Set to "development".
5047 (VERSION): Set to "2.29.9000".
5048 * NEWS: Add section for 2.30.
5050 * version.h (RELEASE): Set to "stable".
5051 (VERSION): Set to "2.29".
5052 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
5054 * NEWS: Add the list of bugs fixed in 2.29.
5055 * manual/contrib.texi: Update contributors list with some more
5057 * manual/install.texi: Update latest versions of packages
5059 * INSTALL: Regenerated.
5061 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
5063 * po/be.po: Update translations.
5064 * po/bg.po: Likewise.
5065 * po/ca.po: Likewise.
5066 * po/cs.po: Likewise.
5067 * po/da.po: Likewise.
5068 * po/de.po: Likewise.
5069 * po/el.po: Likewise.
5070 * po/eo.po: Likewise.
5071 * po/es.po: Likewise.
5072 * po/fi.po: Likewise.
5073 * po/fr.po: Likewise.
5074 * po/gl.po: Likewise.
5075 * po/hr.po: Likewise.
5076 * po/hu.po: Likewise.
5077 * po/ia.po: Likewise.
5078 * po/id.po: Likewise.
5079 * po/it.po: Likewise.
5080 * po/ja.po: Likewise.
5081 * po/ko.po: Likewise.
5082 * po/lt.po: Likewise.
5083 * po/nb.po: Likewise.
5084 * po/nl.po: Likewise.
5085 * po/pl.po: Likewise.
5086 * po/pt_BR.po: Likewise.
5087 * po/ru.po: Likewise.
5088 * po/rw.po: Likewise.
5089 * po/sk.po: Likewise.
5090 * po/sl.po: Likewise.
5091 * po/sv.po: Likewise.
5092 * po/tr.po: Likewise.
5093 * po/uk.po: Likewise.
5094 * po/vi.po: Likewise.
5095 * po/zh_CN.po: Likewise.
5096 * po/zh_TW.po: Likewise.
5098 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
5101 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
5102 of $f3 register on $y_is_neg path.
5104 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
5107 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
5108 sigaltstack.ss_flags.
5110 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
5113 * manual/time.texi (strftime): Document "%Ey".
5114 * time/strftime_l.c (__strftime_internal): Set the default width
5115 padding with zero of "%Ey" to 2.
5118 * manual/time.texi (strftime): Document "%EC" and "%EY".
5119 * time/Makefile (tests): Add tst-strftime2.
5120 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
5121 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
5122 override padding for "%Ey".
5123 If an optional flag ('_' or '-') is specified to "%EY", interpret the
5124 "%Ey" in the subformat as if decorated with that flag.
5125 * time/tst-strftime2.c: New file.
5127 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5129 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
5133 * elf/Makefile (tests): Add tst-audit13.
5134 (modules-names): Add tst-audit13mod1.
5135 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5137 * elf/rtld.c (dl_main): Handle invalid audit module version.
5138 * elf/tst-audit13.c: New file.
5139 * elf/tst-audit13mod1.c: Likewise.
5141 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5143 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
5144 returned by __hurd_at_flags.
5145 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
5146 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
5147 directly instead of __hurd_file_name_lookup.
5149 2019-01-21 Joseph Myers <joseph@codesourcery.com>
5151 * scripts/build-many-glibcs.py (Context.checkout): Default
5152 binutils version to 2.32 branch.
5154 2019-01-21 Florian Weimer <fweimer@redhat.com>
5158 resolv: Reject trailing characters in host names
5159 * include/arpa/inet.h (__inet_aton_exact): Declare.
5160 (inet_aton): Remove hidden prototype. No longer used internally.
5161 * nscd/gai.c (__inet_aton): Do not define.
5162 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
5163 * nss/digits_dots.c (__inet_aton): Likewise.
5164 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
5165 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
5166 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
5167 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
5168 (tst-resolv-trailing): Likewise.
5169 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
5171 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
5172 Make static. Add endp parameter.
5173 (__inet_aton_exact): New function.
5174 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
5175 (__inet_addr): Call inet_aton_end.
5176 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
5177 not just IPv6. Call __inet_aton_exact.
5178 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
5179 (tests): Make const. Add additional test cases with trailing
5181 (do_test): Use array_length.
5182 * resolv/tst-inet_aton_exact.c: New file.
5183 * resolv/tst-resolv-trailing.c: Likewise.
5184 * resolv/tst-resolv-nondecimal.c: Likewise.
5185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
5187 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5191 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
5192 Clear the upper 32 bits of RSI register.
5193 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
5194 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
5195 and tst-size_t-wcsnlen.
5196 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
5197 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
5199 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5203 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
5204 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5205 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5206 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
5207 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
5209 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5213 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
5214 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5215 * sysdeps/x86_64/strcmp.S: Likewise.
5216 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
5217 tst-size_t-strncmp and tst-size_t-wcsncmp.
5218 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
5219 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
5220 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
5222 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5226 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
5227 RDX_LP for length. Clear the upper 32 bits of RDX register.
5228 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
5229 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
5230 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
5231 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
5233 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5237 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
5238 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
5239 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
5240 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
5242 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5246 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
5247 length. Clear the upper 32 bits of RDX register.
5248 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5249 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5251 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5253 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
5255 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
5257 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5261 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
5262 length. Clear the upper 32 bits of RDX register.
5263 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5264 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5265 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
5267 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
5268 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
5270 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5274 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
5275 upper 32 bits of RDX register.
5276 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
5277 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
5279 * sysdeps/x86_64/x32/test-size_t.h: New file.
5280 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
5281 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
5283 2019-01-18 Florian Weimer <fweimer@redhat.com>
5286 resolv: Do not send queries for non-host-names in nss_dns.
5287 * resolv/nss_dns/dns-host.c (check_name): New function.
5288 (_nss_dns_gethostbyname2_r): Use it.
5289 (_nss_dns_gethostbyname_r): Likewise.
5290 (_nss_dns_gethostbyname4_r): Likewise.
5292 2019-01-21 Florian Weimer <fweimer@redhat.com>
5294 * resolv/inet_addr.c: Reformat to GNU style.
5295 (__inet_addr, __inet_aton): Update comment.
5297 2019-01-18 Florian Weimer <fweimer@redhat.com>
5299 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
5300 ("malloc: Use current (C11-style) atomics for fastbin access").
5301 This commit introduces a substantial performance regression on
5303 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
5304 (REMOVE_FB): Define.
5305 (_int_malloc): Use it and reindent.
5306 (_int_free): Use CAS loop with
5307 catomic_compare_and_exchange_val_rel.
5308 (malloc_consolidate): Use atomic_exchange_acq.
5311 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
5313 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
5315 (LDFLAGS-tst-minsigstksz-2): Likewise.
5316 (LDFLAGS-tst-minsigstksz-3): Likewise.
5317 (LDFLAGS-tst-minsigstksz-3a): Likewise.
5318 (LDFLAGS-tst-minsigstksz-4): Likewise.
5320 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
5322 * manual/time.texi (strftime): Fix the wording to "alternative" rather
5325 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
5327 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
5329 2019-01-16 Zack Weinberg <zackw@panix.com>
5331 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
5332 (xget_sigstack_location): New test support functions.
5333 * support/xsigstack.c: New file, implementing them.
5334 * support/tst-xsigstack.c: New test for them.
5335 * support/Makefile: Update.
5337 * signal/tst-minsigstksz-1.c
5338 * signal/tst-minsigstksz-2.c
5339 * signal/tst-minsigstksz-3.c
5340 * signal/tst-minsigstksz-3a.c
5341 * signal/tst-minsigstksz-4.c: New tests.
5342 * signal/Makefile: Run them.
5344 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5346 * po/libc.pot: Regenerate.
5348 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5350 * math/libm-test-fma.inc (fma_test_data): Set
5351 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
5353 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5355 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
5356 (do_test): Changed __vector __int128_t to __vector unsigned int.
5358 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5361 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
5362 stpcpy-avx2 and stpncpy-avx2.
5363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
5364 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
5365 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
5367 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
5368 ifunc-strcpy.h}: rename header for a more generic name.
5369 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
5370 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
5371 AVX unaligned load is fast and vzeroupper is preferred.
5372 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
5373 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
5374 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
5375 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
5376 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
5377 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
5379 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
5381 * argp/argp-help.c: Fix typo in comment.
5382 * misc/sys/cdefs.h: Likewise.
5383 * posix/regexec.c (sift_states_iter_mb): Likewise.
5384 * socket/sockatmark.c: Likewise.
5385 * socket/sys/socket.h: Likewise.
5386 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
5387 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
5388 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
5389 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5390 * sysdeps/unix/sockatmark.c: Likewise.
5391 * time/strptime_l.c: Likewise.
5393 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5395 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
5396 missing space after the cast of "_NL_CURRENT".
5398 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5400 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
5401 ifdef to fix read of VSCR.
5402 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
5403 tst-ucontext-ppc64-vscr.c to test list.
5404 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
5406 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
5408 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
5411 2019-01-09 Jim Wilson <jimw@sifive.com>
5413 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
5415 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
5417 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
5418 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
5419 __memcpy_falkor for ares.
5420 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
5422 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5425 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
5428 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
5429 4_FP_W_TYPEs are used for IEEE quad precision.
5430 * soft-fp/extendhftf2.c: Likewise.
5431 * soft-fp/extendsftf2.c: Likewise.
5432 * soft-fp/extendxftf2.c: Likewise.
5433 * soft-fp/trunctfdf2.c: Likewise.
5434 * soft-fp/trunctfhf2.c: Likewise.
5435 * soft-fp/trunctfsf2.c: Likewise.
5436 * soft-fp/trunctfxf2.c: Likewise.
5437 * sysdeps/alpha/ots_cvttx.c: Likewise.
5438 * sysdeps/alpha/ots_cvtxt.c: Likewise.
5439 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
5440 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
5441 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
5442 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
5443 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
5444 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
5445 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
5446 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
5447 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
5448 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
5449 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
5450 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
5451 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
5452 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
5453 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
5454 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
5456 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5459 * Makeconfig: Build libm with -fno-math-errno but build the remaining
5460 code with -fmath-errno.
5461 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
5462 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
5463 * string/test-strerror-errno.c: New file.
5465 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5468 * localedata/locales/en_US (date_fmt): Add, set to
5469 "%a %d %b %Y %r %Z".
5471 2019-01-07 Florian Weimer <fweimer@redhat.com>
5474 * manual/arith.texi (Math Error Reporting): Use @code{errno}
5475 instead of @var{errno}.
5476 (Parsing of Integers): Likewise.
5477 (Parsing of Floats): Likewise.
5478 * manual/filesys.texi (Working with Directory Trees): Likewise.
5479 (Temporary Files): Likewise.
5480 * manual/job.texi (Terminal Access Functions): Likewise.
5481 * manual/llio.texi (Synchronizing I/O): Likewise.
5482 * manual/math.texi (SVID Random): Likewise.
5483 * manual/message.texi (The catgets Functions): Likewise.
5484 (Translation with gettext): Likewise.
5485 (Locating gettext catalog): Likewise.
5486 (Charset conversion in gettext): Likewise.
5487 * manual/nss.texi (NSS Module Function Internals): Likewise.
5488 * manual/search.texi (Hash Search Function): Likewise.
5489 * manual/setjmp.texi (System V contexts): Likewise.
5490 * manual/time.texi (Sleeping): Likewise.
5491 * manual/users.texi (Lookup User): Likewise.
5492 (Lookup Group): Likewise.
5494 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5496 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
5499 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
5502 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
5503 __builtin_unreachable for default case in switch.
5504 (__ieee754_yn): Likewise.
5505 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5506 (__ieee754_ynl): Likewise.
5507 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5508 (__ieee754_ynl): Likewise.
5509 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5510 (__ieee754_ynl): Likewise.
5512 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
5514 * manual/maint.texi: Use @{ and @}.
5516 2019-01-04 Florian Weimer <fweimer@redhat.com>
5518 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
5520 (do_in_chroot_1): Call it.
5522 Improve error reporting in case it is not possible to create a
5523 collision for the PTY name required by the test.
5525 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5527 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
5528 lll_wait_tid with timeout.
5529 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
5530 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
5531 futex_reltimed_wait_cancelable for cancelabla mode.
5532 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
5533 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
5535 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
5536 * sysdeps/posix/waitid.c (__sigwait): Likewise.
5537 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
5538 SYSCALL_CANCEL_NCS): New macro.
5539 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
5540 (lll_timedwait_tid): Remove macro.
5541 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
5543 (lll_timedwait_tid): Likewise.
5544 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
5546 (lll_timedwait_tid): Likewise.
5547 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
5549 (lll_timedwait_tid): Likewise.
5550 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
5551 Use INTERNAL_SYSCALL_CANCEL.
5552 * sysdeps/unix/sysv/linux/futex-internal.h
5553 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
5554 instead of __pthread_{enable,disable}_asynccancel.
5555 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5556 (lll_futex_wait_cancel): New macro.
5558 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5559 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5561 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5562 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5564 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
5565 in backtrace analysis.
5566 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
5568 (tf_send): Likewise.
5570 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
5571 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
5572 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
5573 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
5574 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5575 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5576 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
5577 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
5578 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
5579 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
5580 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
5581 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
5583 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
5584 tst-cancel-wrappers.sh.
5585 (generated): Remove tst-cancel-wrappers.out.
5586 (tst-cancel-wrappers.out): Remove rule.
5587 * nptl/tst-cancel-wrappers.sh: Remove file.
5589 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5591 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
5592 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5595 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5598 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
5599 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
5600 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
5601 close-on-exec reset for adddup2 file action.
5602 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5604 2019-01-03 Zack Weinberg <zackw@panix.com>
5606 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
5607 parameter. Only use deprecated scanf when __USE_GNU is defined
5608 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
5609 than 201103L, whichever is relevant for the language being compiled.
5611 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
5612 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
5613 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
5614 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
5615 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
5619 * libio/iovswscanf.c
5624 * stdio-common/fscanf.c
5625 * stdio-common/scanf.c
5626 * stdio-common/vfscanf.c
5627 * stdio-common/vfwscanf.c
5628 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5629 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
5630 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
5631 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
5632 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
5633 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
5634 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
5635 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
5636 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
5637 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
5638 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
5639 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
5640 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
5641 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
5642 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
5644 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
5645 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
5646 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
5648 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
5649 with a preprocessor macro.
5651 * stdio-common/bug21.c, stdio-common/scanf14.c:
5652 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
5653 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5654 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
5655 to xscanf, xfscanf, xsscanf.
5657 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
5658 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5659 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
5660 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
5662 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
5663 override feature selection macros or provide definitions of u_char etc.
5664 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
5665 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
5666 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
5669 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5672 bits/termios-misc.h.
5673 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
5674 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5675 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5676 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5677 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
5678 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
5680 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
5681 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5682 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
5683 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
5684 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
5685 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
5687 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
5688 (sysdep_headers): Add termios-misc.h.
5690 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
5691 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5692 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5694 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5696 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
5697 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
5698 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
5699 TCSAFLUSH): Move to termios-tcflow.h.
5700 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5701 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5702 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5703 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5707 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
5708 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
5709 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
5710 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
5711 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
5712 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
5713 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
5714 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
5716 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5717 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5718 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5719 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5723 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
5724 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
5725 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
5726 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
5727 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
5729 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5730 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5731 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5732 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5737 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
5738 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
5739 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
5740 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
5741 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
5742 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
5743 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
5744 __MAX_BAUD): Move to termios-baud.h.
5745 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
5746 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
5747 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5748 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5749 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5751 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5753 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
5754 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
5755 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
5756 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
5757 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
5758 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
5760 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
5761 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
5763 [USE_MISC] (XTABS): Likewise.
5764 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5765 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5766 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5767 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
5769 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5771 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
5772 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
5773 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
5774 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
5775 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
5776 IUTF8): Move to termios-c_iflag.h.
5777 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5778 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5779 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5780 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5782 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5784 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
5785 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
5786 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
5787 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
5788 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
5789 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
5790 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
5791 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
5792 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5793 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5794 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5795 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5797 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
5798 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
5799 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
5800 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
5801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5803 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
5805 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
5807 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
5809 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
5811 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
5813 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
5814 _HAVE_C_OSPEED): Define.
5815 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
5816 _HAVE_C_OSPEED): Likewise.
5817 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
5818 _HAVE_C_OSPEED): Likewise.
5819 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
5820 (cfsetospeed): Check for define value instead of existence.
5821 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
5822 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5823 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
5824 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5825 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
5828 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
5830 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5831 (TIOCSER_TEMT): Likewise.
5832 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
5833 (TEOCSER_TEMT): Likewise.
5835 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
5838 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
5840 2019-01-02 Joseph Myers <joseph@codesourcery.com>
5842 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
5844 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5846 * sysdeps/htl/pt-barrierattr-setpshared.c
5847 (pthread_barrierattr_setpshared): Add stub warning.
5848 * sysdeps/htl/pt-condattr-setpshared.c
5849 (pthread_condattr_setpshared): Likewise.
5850 * sysdeps/htl/pt-mutexattr-setpshared.c
5851 (pthread_mutexattr_setpshared): Likewise.
5852 * sysdeps/htl/pt-rwlockattr-setpshared.c
5853 (pthread_rwlockattr_setpshared): Likewise.
5854 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
5855 (pthread_mutexattr_setpshared): Likewise.
5857 2019-01-02 Joseph Myers <joseph@codesourcery.com>
5859 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
5860 constants to match with Linux 4.20.
5862 * sysdeps/mips/mips32/libm-test-ulps: Update.
5863 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5865 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
5868 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
5869 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
5870 than __typeof (...) for the a_ptr variable.
5872 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5874 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
5875 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
5876 * libio/Makefile (tests): Add tst-sprintf-ub and
5878 (CFLAGS-tst-sprintf-ub.c): New variable.
5879 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
5880 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
5881 destination buffer and check for overflows in fortified mode.
5882 * libio/libioP.h (PRINTF_CHK): New macro.
5883 * libio/tst-sprintf-chk-ub.c: New file.
5884 * libio/tst-sprintf-ub.c: Likewise.
5886 2019-01-02 Florian Weimer <fweimer@redhat.com>
5889 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
5892 2019-01-02 Florian Weimer <fweimer@redhat.com>
5894 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
5896 2019-01-01 Joseph Myers <joseph@codesourcery.com>
5898 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
5901 * sysdeps/unix/sysv/linux/netpacket/packet.h
5902 (PACKET_IGNORE_OUTGOING): New macro.
5904 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
5907 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5909 (riscv_flush_icache): New syscall.
5911 * manual/texinfo.tex: Update to version 2018-12-28.17 with
5912 trailing whitespace removed.
5913 * scripts/config.guess: Update to version 2019-01-01.
5914 * scripts/config.sub: Update to version 2019-01-01.
5915 * scripts/move-if-change: Update from gnulib.
5917 * NEWS: Update copyright dates.
5918 * catgets/gencat.c (print_version): Likewise.
5919 * csu/version.c (banner): Likewise.
5920 * debug/catchsegv.sh: Likewise.
5921 * debug/pcprofiledump.c (print_version): Likewise.
5922 * debug/xtrace.sh (do_version): Likewise.
5923 * elf/ldconfig.c (print_version): Likewise.
5924 * elf/ldd.bash.in: Likewise.
5925 * elf/pldd.c (print_version): Likewise.
5926 * elf/sotruss.sh: Likewise.
5927 * elf/sprof.c (print_version): Likewise.
5928 * iconv/iconv_prog.c (print_version): Likewise.
5929 * iconv/iconvconfig.c (print_version): Likewise.
5930 * locale/programs/locale.c (print_version): Likewise.
5931 * locale/programs/localedef.c (print_version): Likewise.
5932 * login/programs/pt_chown.c (print_version): Likewise.
5933 * malloc/memusage.sh (do_version): Likewise.
5934 * malloc/memusagestat.c (print_version): Likewise.
5935 * malloc/mtrace.pl: Likewise.
5936 * manual/libc.texinfo: Likewise.
5937 * nptl/version.c (banner): Likewise.
5938 * nscd/nscd.c (print_version): Likewise.
5939 * nss/getent.c (print_version): Likewise.
5940 * nss/makedb.c (print_version): Likewise.
5941 * posix/getconf.c (main): Likewise.
5942 * scripts/test-installation.pl: Likewise.
5943 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5945 * All files with FSF copyright notices: Update copyright dates
5946 using scripts/update-copyrights.
5947 * locale/programs/charmap-kw.h: Regenerated.
5948 * locale/programs/locfile-kw.h: Likewise.
5950 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5952 * timezone/zdump.c: Update from tzcode 2018i.
5953 * timezone/zic.c: Likewise.
5955 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
5957 regex: improve Gnulib port to AIX
5958 From the glibc point of view, this removes duplicate macro
5959 definitions and is obviously safe.
5960 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
5961 * posix/regex_internal.h:
5962 (__attribute__, __attribute_warn_unused_result__):
5963 Remove; already defined elsewhere.
5965 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
5968 * malloc/malloc.c (_int_realloc): Always call memcpy for the
5969 copying operation. (ncopies had the wrong type, resulting in an
5970 integer wraparound and too few elements being copied.)
5972 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
5975 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
5976 <asm/syscalls.h> exists with __has_include__ before including it.
5978 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5980 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5983 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
5985 * hurd/lookup-retry: Include <unistd.h>.
5986 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
5987 Release it on return. Handle "pid" magical lookup retry.
5989 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5992 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
5993 (t_fmt_ampm): Likewise.
5994 * localedata/locales/aa_ER (t_fmt): Likewise.
5995 (t_fmt_ampm): Likewise.
5996 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
5997 (t_fmt_ampm): Likewise.
5998 * localedata/locales/aa_ET (t_fmt): Likewise.
5999 (t_fmt_ampm): Likewise.
6000 * localedata/locales/am_ET (t_fmt): Likewise.
6001 (t_fmt_ampm): Likewise.
6002 * localedata/locales/byn_ER (t_fmt): Likewise.
6003 (t_fmt_ampm): Likewise.
6004 * localedata/locales/om_ET (t_fmt): Likewise.
6005 (t_fmt_ampm): Likewise.
6006 * localedata/locales/sid_ET (t_fmt): Likewise.
6007 (t_fmt_ampm): Likewise.
6008 * localedata/locales/so_DJ (t_fmt): Likewise.
6009 (t_fmt_ampm): Likewise.
6010 * localedata/locales/so_ET (t_fmt): Likewise.
6011 (t_fmt_ampm): Likewise.
6012 * localedata/locales/so_SO (t_fmt): Likewise.
6013 (t_fmt_ampm): Likewise.
6014 * localedata/locales/ti_ER (t_fmt): Likewise.
6015 (t_fmt_ampm): Likewise.
6016 * localedata/locales/ti_ET (t_fmt): Likewise.
6017 (t_fmt_ampm): Likewise.
6018 * localedata/locales/tig_ER (t_fmt): Likewise.
6019 (t_fmt_ampm): Likewise.
6020 * localedata/locales/wal_ET (t_fmt): Likewise.
6021 (t_fmt_ampm): Likewise.
6023 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
6024 * localedata/locales/ar_IN (t_fmt): Likewise.
6025 * localedata/locales/bhb_IN (t_fmt): Likewise.
6026 * localedata/locales/bho_IN (t_fmt): Likewise.
6027 * localedata/locales/bi_VU (t_fmt): Likewise.
6028 * localedata/locales/bn_BD (t_fmt): Likewise.
6029 * localedata/locales/bn_IN (t_fmt): Likewise.
6030 * localedata/locales/brx_IN (t_fmt): Likewise.
6031 * localedata/locales/doi_IN (t_fmt): Likewise.
6032 * localedata/locales/en_HK (t_fmt): Likewise.
6033 (t_fmt_ampm): Likewise.
6034 * localedata/locales/en_IN (t_fmt): Likewise.
6035 * localedata/locales/en_PH (t_fmt): Likewise.
6036 * localedata/locales/gu_IN (t_fmt): Likewise.
6037 * localedata/locales/hi_IN (t_fmt): Likewise.
6038 * localedata/locales/hif_FJ (t_fmt): Likewise.
6039 * localedata/locales/hne_IN (t_fmt): Likewise.
6040 * localedata/locales/kn_IN (t_fmt): Likewise.
6041 * localedata/locales/kok_IN (t_fmt): Likewise.
6042 * localedata/locales/ks_IN (t_fmt): Likewise.
6043 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
6044 * localedata/locales/mag_IN (t_fmt): Likewise.
6045 * localedata/locales/mai_IN (t_fmt): Likewise.
6046 * localedata/locales/mjw_IN (t_fmt): Likewise.
6047 * localedata/locales/ml_IN (t_fmt): Likewise.
6048 * localedata/locales/mni_IN (t_fmt): Likewise.
6049 * localedata/locales/mr_IN (t_fmt): Likewise.
6050 * localedata/locales/ms_MY (t_fmt): Likewise.
6051 * localedata/locales/pa_IN (t_fmt): Likewise.
6052 * localedata/locales/raj_IN (t_fmt): Likewise.
6053 * localedata/locales/sa_IN (t_fmt): Likewise.
6054 * localedata/locales/sat_IN (t_fmt): Likewise.
6055 * localedata/locales/sd_IN (t_fmt): Likewise.
6056 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
6057 * localedata/locales/tcy_IN (t_fmt): Likewise.
6058 * localedata/locales/the_NP (t_fmt): Likewise.
6059 * localedata/locales/to_TO (t_fmt): Likewise.
6060 * localedata/locales/ur_IN (t_fmt): Likewise.
6062 * localedata/locales/hif_FJ (d_t_fmt): Set to
6063 "%A %d %b %Y %I:%M:%S %p".
6064 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
6066 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
6067 * localedata/locales/ar_BH (t_fmt): Likewise.
6068 * localedata/locales/ar_DZ (t_fmt): Likewise.
6069 * localedata/locales/ar_EG (t_fmt): Likewise.
6070 * localedata/locales/ar_IQ (t_fmt): Likewise.
6071 * localedata/locales/ar_JO (t_fmt): Likewise.
6072 * localedata/locales/ar_KW (t_fmt): Likewise.
6073 * localedata/locales/ar_LB (t_fmt): Likewise.
6074 * localedata/locales/ar_LY (t_fmt): Likewise.
6075 * localedata/locales/ar_OM (t_fmt): Likewise.
6076 * localedata/locales/ar_QA (t_fmt): Likewise.
6077 * localedata/locales/ar_SD (t_fmt): Likewise.
6078 * localedata/locales/ar_SS (t_fmt): Likewise.
6079 * localedata/locales/ar_SY (t_fmt): Likewise.
6080 * localedata/locales/ar_TN (t_fmt): Likewise.
6081 * localedata/locales/ar_YE (t_fmt): Likewise.
6083 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
6084 (t_fmt_ampm): Likewise.
6085 * localedata/locales/gez_ET (t_fmt): Likewise.
6086 (t_fmt_ampm): Likewise.
6088 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
6089 (t_fmt_ampm): Likewise.
6090 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
6092 * localedata/locales/zh_HK (t_fmt):
6093 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
6095 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
6096 because this locale does not use the 12-hour clock.
6097 (t_fmt): Set to "%Z %H:%M:%S".
6098 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
6100 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
6101 because this locale does not use the 12-hour clock.
6102 (t_fmt): Set to "%H:%M:%S %Z".
6103 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
6105 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
6106 because this locale does not use the 12-hour clock.
6107 (t_fmt): Set to "%T".
6108 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
6109 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
6111 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
6112 because this locale does not use the 12-hour clock.
6113 (t_fmt): Set to "%H:%M:%S %Z".
6114 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
6116 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
6117 because this locale does not use the 12-hour clock.
6118 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
6119 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
6121 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6125 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
6126 (t_fmt_ampm): Likewise.
6127 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
6128 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
6129 (d_fmt): Set to "%-d.%-m.%y".
6131 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6133 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
6134 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
6135 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
6137 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
6138 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
6139 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
6141 * support/blob_repeat.c (check_mul_overflow_size_t,
6142 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
6144 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
6146 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
6148 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
6150 regex: simplify Gnulib port
6151 This simplifies the code, by removing stuff intended for porting
6152 to Gnulib but no longer needed there.
6153 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
6154 uses of libc_hidden_def, weak_alias.
6155 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
6156 _Restrict_ except for public-facing headers.
6157 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
6158 Remove; already defined elsewhere.
6159 * posix/regex.c, posix/regex_internal.h:
6160 Use __GNUC_PREREQ instead of rolling our own.
6161 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
6163 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
6165 * benchtests/bench-strlen.c (generic_strlen): New function.
6166 (memchr_strlen): New function.
6168 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6170 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
6171 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
6172 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
6174 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6176 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6178 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6180 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
6181 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
6182 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
6183 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
6184 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
6185 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
6186 <sysdeps/ieee754/flt-32/s_sincosf.c>.
6188 2018-12-21 Joseph Myers <joseph@codesourcery.com>
6191 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
6192 PLT reference in libc.so.
6193 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
6194 _Q_lltoq and _Q_qtod PLT references in libc.so.
6196 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
6198 * benchtests/bench-memchr.c: Cleanup defines.
6199 * benchtests/bench-memcmp.c: Likewise.
6200 * benchtests/bench-memset.c: Likewise.
6201 * benchtests/bench-memset-large.c: Likewise.
6202 * benchtests/bench-memset-walk.c: Likewise.
6203 * benchtests/bench-stpcpy.c: Likewise.
6204 * benchtests/bench-stpncpy.c: Likewise.
6205 * benchtests/bench-strcat.c: Likewise.
6206 * benchtests/bench-strchr.c: Likewise.
6207 * benchtests/bench-strcmp.c: Likewise.
6208 * benchtests/bench-strcpy.c: Likewise.
6209 * benchtests/bench-strcspn.c: Likewise.
6210 * benchtests/bench-string.h: Likewise.
6211 * benchtests/bench-strlen.c: Likewise.
6212 * benchtests/bench-strncat.c: Likewise.
6213 * benchtests/bench-strncmp.c: Likewise.
6214 * benchtests/bench-strncpy.c: Likewise.
6215 * benchtests/bench-strnlen.c: Likewise.
6216 * benchtests/bench-strpbrk.c: Likewise.
6217 * benchtests/bench-strrchr.c: Likewise.
6218 * benchtests/bench-strspn.c: Likewise.
6220 2018-12-21 Joseph Myers <joseph@codesourcery.com>
6222 * stdlib/longlong.h: Update from GCC.
6225 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
6226 * configure: Regenerated.
6227 * manual/install.texi (Tools for Compilation): Update minimum GCC
6229 * INSTALL: Regenerated.
6231 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
6233 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
6235 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
6237 * malloc/malloc.c (mremap_chunk): Additional checks.
6239 2018-12-21 Mao Han <han_mao@c-sky.com>
6241 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
6242 * scripts/build-many-glibcs.py: Add C-SKY targets.
6243 * sysdeps/csky/Implies: New file.
6244 * sysdeps/csky/Makefile: Likewise.
6245 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
6246 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
6247 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
6248 * sysdeps/csky/abiv2/memcmp.S: Likewise.
6249 * sysdeps/csky/abiv2/memcpy.S: Likewise.
6250 * sysdeps/csky/abiv2/memmove.S: Likewise.
6251 * sysdeps/csky/abiv2/memset.S: Likewise.
6252 * sysdeps/csky/abiv2/setjmp.S: Likewise.
6253 * sysdeps/csky/abiv2/start.S: Likewise.
6254 * sysdeps/csky/abiv2/strcmp.S: Likewise.
6255 * sysdeps/csky/abiv2/strcpy.S: Likewise.
6256 * sysdeps/csky/abiv2/strlen.S: Likewise.
6257 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
6258 * sysdeps/csky/abort-instr.h: Likewise.
6259 * sysdeps/csky/atomic-machine.h: Likewise.
6260 * sysdeps/csky/bits/endian.h: Likewise.
6261 * sysdeps/csky/bits/fenv.h: Likewise.
6262 * sysdeps/csky/bits/link.h: Likewise.
6263 * sysdeps/csky/bits/setjmp.h: Likewise.
6264 * sysdeps/csky/bsd-_setjmp.S: Likewise.
6265 * sysdeps/csky/bsd-setjmp.S: Likewise.
6266 * sysdeps/csky/configure: Likewise.
6267 * sysdeps/csky/configure.ac: Likewise.
6268 * sysdeps/csky/dl-machine.h: Likewise.
6269 * sysdeps/csky/dl-procinfo.c: Likewise.
6270 * sysdeps/csky/dl-procinfo.h: Likewise.
6271 * sysdeps/csky/dl-sysdep.h: Likewise.
6272 * sysdeps/csky/dl-tls.h: Likewise.
6273 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
6274 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
6275 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
6276 * sysdeps/csky/fpu/fegetenv.c: Likewise.
6277 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
6278 * sysdeps/csky/fpu/fegetmode.c: Likewise.
6279 * sysdeps/csky/fpu/fegetround.c: Likewise.
6280 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
6281 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
6282 * sysdeps/csky/fpu/fenv_private.h: Likewise.
6283 * sysdeps/csky/fpu/fesetenv.c: Likewise.
6284 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
6285 * sysdeps/csky/fpu/fesetmode.c: Likewise.
6286 * sysdeps/csky/fpu/fesetround.c: Likewise.
6287 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
6288 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
6289 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
6290 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
6291 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
6292 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
6293 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
6294 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
6295 * sysdeps/csky/fpu_control.h: Likewise.
6296 * sysdeps/csky/gccframe.h: Likewise.
6297 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
6298 * sysdeps/csky/ldsodefs.h: Likewise.
6299 * sysdeps/csky/libc-tls.c: Likewise.
6300 * sysdeps/csky/linkmap.h: Likewise.
6301 * sysdeps/csky/machine-gmon.h: Likewise.
6302 * sysdeps/csky/memusage.h: Likewise.
6303 * sysdeps/csky/nofpu/Implies: Likewise.
6304 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
6305 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
6306 * sysdeps/csky/nptl/Makefile: Likewise.
6307 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
6308 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
6309 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
6310 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
6311 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
6312 * sysdeps/csky/nptl/tls.h: Likewise.
6313 * sysdeps/csky/preconfigure: Likewise.
6314 * sysdeps/csky/sfp-machine.h: Likewise.
6315 * sysdeps/csky/sotruss-lib.c: Likewise.
6316 * sysdeps/csky/stackinfo.h: Likewise.
6317 * sysdeps/csky/sysdep.h: Likewise.
6318 * sysdeps/csky/tininess.h: Likewise.
6319 * sysdeps/csky/tst-audit.h: Likewise.
6320 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
6321 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
6322 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
6323 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
6324 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
6325 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
6326 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
6327 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
6328 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
6329 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
6330 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
6331 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
6332 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
6333 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
6334 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
6335 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
6336 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
6337 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
6338 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
6339 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
6340 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
6341 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
6342 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
6343 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
6344 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
6345 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
6346 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
6347 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
6348 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
6349 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
6350 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
6351 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
6352 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
6353 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
6354 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
6355 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
6356 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
6357 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
6358 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
6359 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
6360 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
6361 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
6362 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
6363 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
6365 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
6367 * include/time.h (__difftime64): Add.
6368 * time/difftime.c (subtract): convert to 64-bit time.
6369 * time/difftime.c (__difftime64): Add.
6370 * time/difftime.c (__difftime): Wrap around __difftime64.
6372 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
6374 * manual/examples/add.c: Remove redundant "if not".
6375 * manual/examples/argp-ex1.c: Likewise.
6376 * manual/examples/argp-ex2.c: Likewise.
6377 * manual/examples/argp-ex3.c: Likewise.
6378 * manual/examples/argp-ex4.c: Likewise.
6379 * manual/examples/atexit.c: Likewise.
6380 * manual/examples/db.c: Likewise.
6381 * manual/examples/dir.c: Likewise.
6382 * manual/examples/dir2.c: Likewise.
6383 * manual/examples/execinfo.c: Likewise.
6384 * manual/examples/filecli.c: Likewise.
6385 * manual/examples/filesrv.c: Likewise.
6386 * manual/examples/fmtmsgexpl.c: Likewise.
6387 * manual/examples/genpass.c: Likewise.
6388 * manual/examples/inetcli.c: Likewise.
6389 * manual/examples/inetsrv.c: Likewise.
6390 * manual/examples/isockad.c: Likewise.
6391 * manual/examples/longopt.c: Likewise.
6392 * manual/examples/memopen.c: Likewise.
6393 * manual/examples/memstrm.c: Likewise.
6394 * manual/examples/mkdirent.c: Likewise.
6395 * manual/examples/mkfsock.c: Likewise.
6396 * manual/examples/mkisock.c: Likewise.
6397 * manual/examples/mygetpass.c: Likewise.
6398 * manual/examples/pipe.c: Likewise.
6399 * manual/examples/popen.c: Likewise.
6400 * manual/examples/rprintf.c: Likewise.
6401 * manual/examples/search.c: Likewise.
6402 * manual/examples/select.c: Likewise.
6403 * manual/examples/setjmp.c: Likewise.
6404 * manual/examples/sigh1.c: Likewise.
6405 * manual/examples/sigusr.c: Likewise.
6406 * manual/examples/stpcpy.c: Likewise.
6407 * manual/examples/strdupa.c: Likewise.
6408 * manual/examples/strftim.c: Likewise.
6409 * manual/examples/subopt.c: Likewise.
6410 * manual/examples/swapcontext.c: Likewise.
6411 * manual/examples/termios.c: Likewise.
6412 * manual/examples/testopt.c: Likewise.
6413 * manual/examples/testpass.c: Likewise.
6414 * manual/examples/timeval_subtract.c: Likewise.
6416 2018-12-19 Joseph Myers <joseph@codesourcery.com>
6418 * sysdeps/x86/fpu/math_private.h: New file.
6419 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
6421 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
6426 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6428 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
6429 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
6430 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
6431 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
6433 (_dl_show_auxv): Give a special treatment to
6434 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
6435 and AT_L3_CACHEGEOMETRY.
6436 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
6437 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
6438 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
6439 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
6441 2018-12-19 Andreas Schwab <schwab@suse.de>
6443 * nscd/connections.c (check_use): Don't abort on invalid len.
6445 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6447 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
6448 values in the 64bit value cases.
6450 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
6456 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
6462 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
6465 (__gmtime64_r): Add.
6467 (__gmtime64_r): Add.
6468 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6474 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6477 (__localtime64_r): Add.
6479 (__localtime64_r): Add.
6480 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
6482 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6484 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
6485 kernel_sigction definition.
6487 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
6489 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
6491 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
6492 __syscall_rt_sigaction.
6493 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
6494 (kernel_sigaction): Use Linux generic defintion.
6496 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
6497 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
6498 (__syscall_rt_sigaction): Remove implementation.
6499 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
6501 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
6502 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
6503 INTERNAL_SYSCALL): Remove definitions.
6504 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
6505 action and signal set size.
6506 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
6507 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
6509 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6510 James Clarke <jrtc27@jrtc27.com>
6513 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
6514 Define if SA_RESTORER is defined.
6515 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
6516 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
6518 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
6519 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
6521 (HAS_SA_RESTORER): Define.
6522 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
6523 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
6524 (HAS_SA_RESTORER): Define.
6525 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
6526 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
6527 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
6528 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
6529 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6531 2018-12-18 Joseph Myers <joseph@codesourcery.com>
6533 * sysdeps/unix/sysv/linux/kernel-features.h
6534 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
6535 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6536 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
6537 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6538 (__ASSUME_ST_INO_64_BIT): Likewise.
6539 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6540 <kernel-features.h>.
6541 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6542 Remove conditional code.
6543 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6544 <kernel-features.h>.
6545 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6546 Remove conditional code.
6547 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
6548 <kernel-features.h>.
6549 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6550 Remove conditional code.
6551 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
6552 <kernel-features.h>.
6553 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
6554 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
6556 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6558 * sysdeps/s390/multiarch/ifunc-resolve.h
6559 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
6560 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
6561 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
6562 Delete macro definition.
6563 (s390_libc_ifunc_init): Rename to
6564 s390_libc_ifunc_expr_stfle_init.
6565 * sysdeps/s390/bzero: Use
6566 s390_libc_ifunc_expr_stfle_init instead of
6567 s390_libc_ifunc_init.
6568 * sysdeps/s390/memcmp.c: Likewise.
6569 * sysdeps/s390/memcpy.c: Likewise.
6570 * sysdeps/s390/mempcpy.c: Likewise.
6571 * sysdeps/s390/memset.c: Likewise.
6573 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6575 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
6576 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
6578 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6580 * sysdeps/s390/multiarch/Makefile
6581 (sysdep_routines): Remove wmemcmp variants.
6582 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
6583 * sysdeps/s390/multiarch/ifunc-impl-list.c
6584 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
6585 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
6586 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
6587 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
6588 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
6589 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
6590 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
6591 * sysdeps/s390/ifunc-wmemcmp.h: New file.
6593 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6595 * sysdeps/s390/multiarch/Makefile
6596 (sysdep_routines): Remove wmemset variants.
6597 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
6598 * sysdeps/s390/multiarch/ifunc-impl-list.c
6599 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
6600 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
6601 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
6602 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
6603 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
6604 * sysdeps/s390/multiarch/wmemset.c: Move to ...
6605 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
6606 * sysdeps/s390/ifunc-wmemset.h: New file.
6608 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6610 * sysdeps/s390/multiarch/Makefile
6611 (sysdep_routines): Remove wmemchr variants.
6612 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
6613 * sysdeps/s390/multiarch/ifunc-impl-list.c
6614 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
6615 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
6616 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
6617 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
6618 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
6619 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
6620 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
6621 * sysdeps/s390/ifunc-wmemchr.h: New file.
6623 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6625 * sysdeps/s390/multiarch/Makefile
6626 (sysdep_routines): Remove wcscspn variants.
6627 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
6628 * sysdeps/s390/multiarch/ifunc-impl-list.c
6629 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
6630 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
6631 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
6632 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
6633 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
6634 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
6635 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
6636 * sysdeps/s390/ifunc-wcscspn.h: New file.
6638 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6640 * sysdeps/s390/multiarch/Makefile
6641 (sysdep_routines): Remove wcspbrk variants.
6642 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
6643 * sysdeps/s390/multiarch/ifunc-impl-list.c
6644 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
6645 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
6646 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
6647 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
6648 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
6649 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
6650 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
6651 * sysdeps/s390/ifunc-wcspbrk.h: New file.
6653 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6655 * sysdeps/s390/multiarch/Makefile
6656 (sysdep_routines): Remove wcsspn variants.
6657 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
6658 * sysdeps/s390/multiarch/ifunc-impl-list.c
6659 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
6660 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
6661 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
6662 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
6663 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
6664 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
6665 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
6666 * sysdeps/s390/ifunc-wcsspn.h: New file.
6668 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6670 * sysdeps/s390/multiarch/Makefile
6671 (sysdep_routines): Remove wcsrchr variants.
6672 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
6673 * sysdeps/s390/multiarch/ifunc-impl-list.c
6674 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
6675 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
6676 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
6677 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
6678 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
6679 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
6680 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
6681 * sysdeps/s390/ifunc-wcsrchr.h: New file.
6683 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6685 * sysdeps/s390/multiarch/Makefile
6686 (sysdep_routines): Remove wcschrnul variants.
6687 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
6688 * sysdeps/s390/multiarch/ifunc-impl-list.c
6689 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
6690 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
6691 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
6692 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
6693 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
6694 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
6695 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
6696 * sysdeps/s390/ifunc-wcschrnul.h: New file.
6698 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6700 * sysdeps/s390/multiarch/Makefile
6701 (sysdep_routines): Remove wcschr variants.
6702 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
6703 * sysdeps/s390/multiarch/ifunc-impl-list.c
6704 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
6705 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
6706 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
6707 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
6708 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
6709 * sysdeps/s390/multiarch/wcschr.c: Move to ...
6710 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
6711 * sysdeps/s390/ifunc-wcschr.h: New file.
6713 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6715 * sysdeps/s390/multiarch/Makefile
6716 (sysdep_routines): Remove wcsncmp variants.
6717 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
6718 * sysdeps/s390/multiarch/ifunc-impl-list.c
6719 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
6720 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
6721 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
6722 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
6723 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
6724 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
6725 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
6726 * sysdeps/s390/ifunc-wcsncmp.h: New file.
6728 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6730 * sysdeps/s390/multiarch/Makefile
6731 (sysdep_routines): Remove wcscmp variants.
6732 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
6733 * sysdeps/s390/multiarch/ifunc-impl-list.c
6734 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
6735 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
6736 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
6737 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
6738 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
6739 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
6740 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
6741 * sysdeps/s390/ifunc-wcscmp.h: New file.
6743 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6745 * sysdeps/s390/multiarch/Makefile
6746 (sysdep_routines): Remove wcsncat variants.
6747 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
6748 * sysdeps/s390/multiarch/ifunc-impl-list.c
6749 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
6750 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
6751 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
6752 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
6753 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
6754 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
6755 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
6756 * sysdeps/s390/ifunc-wcsncat.h: New file.
6758 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6760 * sysdeps/s390/multiarch/Makefile
6761 (sysdep_routines): Remove wcscat variants.
6762 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
6763 * sysdeps/s390/multiarch/ifunc-impl-list.c
6764 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
6765 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
6766 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
6767 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
6768 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
6769 * sysdeps/s390/multiarch/wcscat.c: Move to ...
6770 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
6771 * sysdeps/s390/ifunc-wcscat.h: New file.
6773 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6775 * sysdeps/s390/multiarch/Makefile
6776 (sysdep_routines): Remove wcpncpy variants.
6777 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
6778 * sysdeps/s390/multiarch/ifunc-impl-list.c
6779 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
6780 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
6781 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
6782 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
6783 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
6784 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
6785 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
6786 * sysdeps/s390/ifunc-wcpncpy.h: New file.
6788 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6790 * sysdeps/s390/multiarch/Makefile
6791 (sysdep_routines): Remove wcsncpy variants.
6792 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
6793 * sysdeps/s390/multiarch/ifunc-impl-list.c
6794 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
6795 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
6796 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
6797 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
6798 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
6799 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
6800 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
6801 * sysdeps/s390/ifunc-wcsncpy.h: New file.
6803 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6805 * sysdeps/s390/multiarch/Makefile
6806 (sysdep_routines): Remove wcpcpy variants.
6807 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
6808 * sysdeps/s390/multiarch/ifunc-impl-list.c
6809 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
6810 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
6811 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
6812 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
6813 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
6814 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
6815 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
6816 * sysdeps/s390/ifunc-wcpcpy.h: New file.
6818 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6820 * sysdeps/s390/multiarch/Makefile
6821 (sysdep_routines): Remove wcscpy variants.
6822 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
6823 * sysdeps/s390/multiarch/ifunc-impl-list.c
6824 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
6825 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
6826 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
6827 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
6828 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
6829 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
6830 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
6831 * sysdeps/s390/ifunc-wcscpy.h: New file.
6833 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6835 * sysdeps/s390/multiarch/Makefile
6836 (sysdep_routines): Remove wcsnlen variants.
6837 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
6838 * sysdeps/s390/multiarch/ifunc-impl-list.c
6839 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
6840 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
6841 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
6842 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
6843 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
6844 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
6845 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
6846 * sysdeps/s390/ifunc-wcsnlen.h: New file.
6848 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6850 * sysdeps/s390/multiarch/Makefile
6851 (sysdep_routines): Remove wcslen variants.
6852 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
6853 * sysdeps/s390/multiarch/ifunc-impl-list.c
6854 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
6855 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
6856 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
6857 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
6858 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
6859 * sysdeps/s390/multiarch/wcslen.c: Move to ...
6860 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
6861 * sysdeps/s390/ifunc-wcslen.h: New file.
6863 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6865 * sysdeps/s390/multiarch/Makefile
6866 (sysdep_routines): Remove memrchr variants.
6867 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
6868 * sysdeps/s390/multiarch/ifunc-impl-list.c
6869 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
6870 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
6871 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
6872 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
6873 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
6874 * sysdeps/s390/multiarch/memrchr.c: Move to ...
6875 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
6876 * sysdeps/s390/ifunc-memrchr.h: New file.
6878 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6880 * sysdeps/s390/multiarch/Makefile
6881 (sysdep_routines): Remove memccpy variants.
6882 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
6883 * sysdeps/s390/multiarch/ifunc-impl-list.c
6884 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
6885 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
6886 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
6887 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
6888 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
6889 * sysdeps/s390/multiarch/memccpy.c: Move to ...
6890 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
6891 * sysdeps/s390/ifunc-memccpy.h: New file.
6893 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6895 * sysdeps/s390/multiarch/Makefile
6896 (sysdep_routines): Remove rawmemchr variants.
6897 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
6898 * sysdeps/s390/multiarch/ifunc-impl-list.c
6899 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
6900 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
6901 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
6902 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
6903 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
6904 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
6905 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
6906 * sysdeps/s390/ifunc-rawmemchr.h: New file.
6908 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6910 * sysdeps/s390/multiarch/Makefile
6911 (sysdep_routines): Remove memchr variants.
6912 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
6913 * sysdeps/s390/multiarch/ifunc-impl-list.c
6914 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
6915 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
6916 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
6917 * sysdeps/s390/multiarch/memchr.c: Move to ...
6918 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
6919 * sysdeps/s390/ifunc-memchr.h: New file.
6920 * sysdeps/s390/s390-64/memchr.S: Move to ...
6921 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
6922 for 31/64bit and ifunc handling.
6923 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
6924 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6925 * sysdeps/s390/s390-32/memchr.S: Likewise.
6927 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6929 * sysdeps/s390/multiarch/Makefile
6930 (sysdep_routines): Remove strcspn variants.
6931 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
6932 * sysdeps/s390/multiarch/ifunc-impl-list.c
6933 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
6934 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
6935 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
6936 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
6937 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
6938 * sysdeps/s390/multiarch/strcspn.c: Move to ...
6939 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
6940 * sysdeps/s390/ifunc-strcspn.h: New file.
6942 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6944 * sysdeps/s390/multiarch/Makefile
6945 (sysdep_routines): Remove strpbrk variants.
6946 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
6947 * sysdeps/s390/multiarch/ifunc-impl-list.c
6948 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
6949 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
6950 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
6951 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
6952 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
6953 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
6954 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
6955 * sysdeps/s390/ifunc-strpbrk.h: New file.
6957 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6959 * sysdeps/s390/multiarch/Makefile
6960 (sysdep_routines): Remove strspn variants.
6961 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
6962 * sysdeps/s390/multiarch/ifunc-impl-list.c
6963 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
6964 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
6965 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
6966 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
6967 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
6968 * sysdeps/s390/multiarch/strspn.c: Move to ...
6969 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
6970 * sysdeps/s390/ifunc-strspn.h: New file.
6972 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6974 * sysdeps/s390/multiarch/Makefile
6975 (sysdep_routines): Remove strrchr variants.
6976 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
6977 * sysdeps/s390/multiarch/ifunc-impl-list.c
6978 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
6979 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
6980 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
6981 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
6982 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
6983 * sysdeps/s390/multiarch/strrchr.c: Move to ...
6984 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
6985 * sysdeps/s390/ifunc-strrchr.h: New file.
6987 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6989 * sysdeps/s390/multiarch/Makefile
6990 (sysdep_routines): Remove strchrnul variants.
6991 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
6992 * sysdeps/s390/multiarch/ifunc-impl-list.c
6993 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
6994 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
6995 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
6996 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
6997 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
6998 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
6999 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
7000 * sysdeps/s390/ifunc-strchrnul.h: New file.
7002 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7004 * sysdeps/s390/multiarch/Makefile
7005 (sysdep_routines): Remove strchr variants.
7006 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
7007 * sysdeps/s390/multiarch/ifunc-impl-list.c
7008 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
7009 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
7010 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
7011 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
7012 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
7013 * sysdeps/s390/multiarch/strchr.c: Move to ...
7014 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
7015 * sysdeps/s390/ifunc-strchr.h: New file.
7017 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7019 * sysdeps/s390/multiarch/Makefile
7020 (sysdep_routines): Remove strncmp variants.
7021 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
7022 * sysdeps/s390/multiarch/ifunc-impl-list.c
7023 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
7024 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
7025 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
7026 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
7027 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
7028 * sysdeps/s390/multiarch/strncmp.c: Move to ...
7029 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
7030 * sysdeps/s390/ifunc-strncmp.h: New file.
7032 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7034 * sysdeps/s390/multiarch/Makefile
7035 (sysdep_routines): Remove strcmp variants.
7036 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
7037 * sysdeps/s390/multiarch/ifunc-impl-list.c
7038 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
7039 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
7040 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
7041 * sysdeps/s390/multiarch/strcmp.c: Move to ...
7042 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
7043 * sysdeps/s390/ifunc-strcmp.h: New file.
7044 * sysdeps/s390/s390-64/strcmp.S: Move to ...
7045 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
7046 for 31/64bit and ifunc handling.
7047 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
7048 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7049 * sysdeps/s390/s390-32/strcmp.S: Likewise.
7051 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7053 * sysdeps/s390/multiarch/Makefile
7054 (sysdep_routines): Remove strncat variants.
7055 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
7056 * sysdeps/s390/multiarch/ifunc-impl-list.c
7057 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
7058 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
7059 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
7060 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
7061 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
7062 * sysdeps/s390/multiarch/strncat.c: Move to ...
7063 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
7064 * sysdeps/s390/ifunc-strncat.h: New file.
7066 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7068 * sysdeps/s390/multiarch/Makefile
7069 (sysdep_routines): Remove strcat variants.
7070 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
7071 * sysdeps/s390/multiarch/ifunc-impl-list.c
7072 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
7073 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
7074 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
7075 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
7076 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
7077 * sysdeps/s390/multiarch/strcat.c: Move to ...
7078 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
7079 * sysdeps/s390/ifunc-strcat.h: New file.
7081 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7083 * sysdeps/s390/multiarch/Makefile
7084 (sysdep_routines): Remove stpncpy variants.
7085 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
7086 * sysdeps/s390/multiarch/ifunc-impl-list.c
7087 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
7088 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
7089 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
7090 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
7091 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
7092 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
7093 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
7094 * sysdeps/s390/ifunc-stpncpy.h: New file.
7096 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7098 * sysdeps/s390/multiarch/Makefile
7099 (sysdep_routines): Remove strncpy variants.
7100 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
7101 * sysdeps/s390/multiarch/ifunc-impl-list.c
7102 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
7103 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
7104 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
7105 * sysdeps/s390/multiarch/strncpy.c: Move to ...
7106 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
7107 * sysdeps/s390/ifunc-strncpy.h: New file.
7108 * sysdeps/s390/s390-64/strncpy.S: Move to ...
7109 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
7110 and adjust ifunc handling.
7111 * sysdeps/s390/s390-32/strncpy.S: Move to ...
7112 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
7113 and adjust ifunc handling.
7114 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
7115 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7117 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7119 * sysdeps/s390/multiarch/Makefile
7120 (sysdep_routines): Remove stpcpy variants.
7121 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
7122 * sysdeps/s390/multiarch/ifunc-impl-list.c
7123 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
7124 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
7125 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
7126 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
7127 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
7128 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
7129 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
7130 * sysdeps/s390/ifunc-stpcpy.h: New file.
7132 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7134 * sysdeps/s390/multiarch/Makefile
7135 (sysdep_routines): Remove strcpy variants.
7136 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
7137 * sysdeps/s390/multiarch/ifunc-impl-list.c
7138 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
7139 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
7140 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
7141 * sysdeps/s390/multiarch/strcpy.c: Move to ...
7142 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
7143 * sysdeps/s390/ifunc-strcpy.h: New file.
7144 * sysdeps/s390/s390-64/strcpy.S: Move to ...
7145 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
7146 for 31/64bit and ifunc handling.
7147 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
7148 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7149 * sysdeps/s390/s390-32/strcpy.S: Likewise.
7151 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7153 * sysdeps/s390/multiarch/Makefile
7154 (sysdep_routines): Remove strnlen variants.
7155 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
7156 * sysdeps/s390/multiarch/ifunc-impl-list.c
7157 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
7158 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
7159 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
7160 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
7161 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
7162 * sysdeps/s390/multiarch/strnlen.c: Move to ...
7163 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
7164 * sysdeps/s390/ifunc-strnlen.h: New file.
7166 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7168 * sysdeps/s390/multiarch/Makefile
7169 (sysdep_routines): Remove strlen variants.
7170 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
7171 * sysdeps/s390/multiarch/ifunc-impl-list.c
7172 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
7173 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
7174 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
7175 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
7176 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
7177 * sysdeps/s390/multiarch/strlen.c: Move to ...
7178 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
7179 * sysdeps/s390/ifunc-strlen.h: New file.
7181 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7183 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
7184 * sysdeps/s390/multiarch/ifunc-impl-list.c
7185 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
7186 * sysdeps/s390/ifunc-memmem.h: New file.
7187 * sysdeps/s390/memmem.c: Likewise.
7188 * sysdeps/s390/memmem-c.c: Likewise.
7189 * sysdeps/s390/memmem-vx.c: Likewise.
7191 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7193 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
7194 * sysdeps/s390/multiarch/ifunc-impl-list.c
7195 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
7196 * sysdeps/s390/ifunc-strstr.h: New file.
7197 * sysdeps/s390/strstr.c: Likewise.
7198 * sysdeps/s390/strstr-c.c: Likewise.
7199 * sysdeps/s390/strstr-vx.c: Likewise.
7201 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7203 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
7204 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
7205 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
7206 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
7208 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
7209 * sysdeps/s390/memmove-c.c: New file.
7210 * sysdeps/s390/memmove.c: Likewise.
7211 * sysdeps/s390/multiarch/ifunc-impl-list.c
7212 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
7214 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7216 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
7217 * sysdeps/s390/configure.ac: Add check for z13 support.
7218 * sysdeps/s390/configure: Regenerated.
7220 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7222 * sysdeps/s390/memcopy.h: New file.
7224 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7226 * sysdeps/s390/s390-32/bcopy.S: Remove.
7227 * sysdeps/s390/s390-64/bcopy.S: Likewise.
7229 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7231 * sysdeps/s390/ifunc-memcpy.h: New File.
7232 * sysdeps/s390/memcpy.S: Move to ...
7233 * sysdeps/s390/memcpy-z900.S ... here.
7234 Move implementations from memcpy-s390x.s to here.
7235 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
7236 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7237 Remove memcpy/mempcpy variants.
7238 * sysdeps/s390/Makefile (sysdep_routines):
7239 Add memcpy/mempcpy variants.
7240 * sysdeps/s390/multiarch/ifunc-impl-list.c
7241 (__libc_ifunc_impl_list): Adjust ifunc variants for
7243 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
7245 * sysdeps/s390/memcpy.c: ... here.
7246 Adjust ifunc variants for memcpy.
7247 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
7248 * sysdeps/s390/mempcpy.c: ... here.
7249 Adjust ifunc variants for mempcpy.
7250 * sysdeps/s390/mempcpy.S: Delete file.
7252 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7254 * sysdeps/s390/s390-64/memcpy.S: Move to ...
7255 * sysdeps/s390/memcpy.S: ... here.
7256 Adjust to be usable for 31/64bit.
7257 * sysdeps/s390/s390-32/memcpy.S: Delete File.
7258 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
7259 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
7260 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7261 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
7262 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
7263 Adjust to be usable for 31/64bit.
7264 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
7265 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
7266 * sysdeps/s390/multiarch/memcpy.c: ... here.
7267 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
7269 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7271 * sysdeps/s390/ifunc-memcmp.h: New File.
7272 * sysdeps/s390/memcmp.S: Move to ...
7273 * sysdeps/s390/memcmp-z900.S ... here.
7274 Move implementations from memcmp-s390x.s to here.
7275 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
7276 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7277 Remove memcmp variants.
7278 * sysdeps/s390/Makefile (sysdep_routines):
7279 Add memcmp variants.
7280 * sysdeps/s390/multiarch/ifunc-impl-list.c
7281 (__libc_ifunc_impl_list): Adjust ifunc variants for
7283 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
7285 * sysdeps/s390/memcmp.c: ... here.
7286 Adjust ifunc variants for memcmp.
7288 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7290 * sysdeps/s390/s390-64/memcmp.S: Move to ...
7291 * sysdeps/s390/memcmp.S: ... here.
7292 Adjust to be usable for 31/64bit.
7293 * sysdeps/s390/s390-32/memcmp.S: Delete File.
7294 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
7295 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7297 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7298 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
7299 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
7300 Adjust to be usable for 31/64bit.
7301 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
7302 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
7303 * sysdeps/s390/multiarch/memcmp.c: ... here.
7304 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
7306 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7308 * sysdeps/s390/s390-32/bzero.S: Delete file.
7309 * sysdeps/s390/s390-64/bzero.S: Likewise.
7310 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
7311 * sysdeps/s390/bzero.c: New file.
7312 * sysdeps/s390/memset-z900.S: Add bzero entry points.
7313 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
7314 * sysdeps/s390/multiarch/ifunc-impl-list.c
7315 (__libc_ifunc_impl_list): Add bzero ifunc variants.
7317 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7319 * sysdeps/s390/ifunc-memset.h: New File.
7320 * sysdeps/s390/memset.S: Move to ...
7321 * sysdeps/s390/memset-z900.S ... here.
7322 Move implementations from memset-s390x.s to here.
7323 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
7324 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7325 Remove memset variants.
7326 * sysdeps/s390/Makefile (sysdep_routines):
7327 Add memset variants.
7328 * sysdeps/s390/multiarch/ifunc-impl-list.c
7329 (__libc_ifunc_impl_list): Adjust ifunc variants for
7331 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
7333 * sysdeps/s390/memset.c: ... here.
7334 Adjust ifunc variants for memset.
7336 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7338 * sysdeps/s390/s390-64/memset.S: Move to ...
7339 * sysdeps/s390/memset.S: ... here.
7340 Adjust to be usable for 31/64bit.
7341 * sysdeps/s390/s390-32/memset.S: Delete File.
7342 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
7343 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7345 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7346 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
7347 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
7348 Adjust to be usable for 31/64bit.
7349 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
7350 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
7351 * sysdeps/s390/multiarch/memset.c: ... here.
7352 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
7354 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7356 * sysdeps/s390/multiarch/ifunc-resolve.h
7357 (s390_libc_ifunc_init, s390_libc_ifunc,
7358 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
7360 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7362 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
7363 * sysdeps/s390/configure.ac: Add check for z10 support.
7364 * sysdeps/s390/configure: Regenerated.
7366 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
7368 * sysdeps/i386/atomic-machine.h: Merged with ...
7369 * sysdeps/x86_64/atomic-machine.h: To ...
7370 * sysdeps/x86/atomic-machine.h: This. New file.
7372 2018-12-18 Florian Weimer <fweimer@redhat.com>
7374 Rewrite locale/gen-translit.pl in Python.
7375 * locale/Makefile (generated): Add C-translit.h.
7376 (before-compile): Add $(objpfx)C-translit.h.
7377 (C-translit.h): Move to $(objpfx). Create target directory.
7378 Build using Python script.
7379 * locale/gen-translit.py: New file.
7380 * locale/gen-translit.pl: Remove file.
7381 * locale/C-translit.h.in: Change comment character to '#' for
7382 easier parsing without a C preprocessor.
7383 * locale/C-translit.h: Remove generated file.
7384 * manual/install.texi (Tools for Compilation): Do not mention
7386 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7387 Remove locale/C-translit.h.
7388 * scripts/update-copyrights: Likewise.
7389 * INSTALL: Regenerate.
7391 2018-12-18 Florian Weimer <fweimer@redhat.com>
7394 * localedata/locales/bi_VU: Remove executable bit from file.
7396 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
7399 (__localtime64): Add.
7400 * manual/maint.texi: Document Y2038 symbol handling.
7402 (__localtime64): Add.
7403 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
7405 2018-12-17 Joseph Myers <joseph@codesourcery.com>
7407 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
7410 * scripts/glibcextract.py (compare_macro_consts): Take parameters
7411 to allow extra macros from first or second sources.
7412 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
7413 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7414 (tests-special): Add $(objpfx)tst-mman-consts.out.
7415 ($(objpfx)tst-mman-consts.out): New makefile target.
7417 2018-12-17 Mao Han <han_mao@c-sky.com>
7419 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
7420 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
7421 without stat64 system call support.
7422 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
7423 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
7424 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7425 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
7426 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
7427 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
7428 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
7429 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
7430 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
7431 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
7432 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
7434 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
7436 regex: fix storage-exhaustion error
7438 * posix/regexec.c (get_subexp):
7439 Do not continue if storage is exhausted.
7441 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
7443 regex: fix heap-use-after-free error
7445 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
7446 https://debbugs.gnu.org/32592
7447 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
7448 call extend_buffers which reallocates the re_string_t internal buffer.
7449 Local variable 'buf' was not updated in such case, resulting in
7451 * posix/regexec.c (get_subexp): Update 'buf' after call to
7454 2018-12-15 Florian Weimer <fweimer@redhat.com>
7456 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
7457 (minimum_stride_size): Use it.
7458 (support_blob_repeat_allocate): Likewise.
7460 2018-12-14 Joseph Myers <joseph@codesourcery.com>
7462 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
7467 2018-12-14 Florian Weimer <fweimer@redhat.com>
7469 * manual/process.texi (Process Creation Concepts): Remove
7470 documentation of process (ID) lifetime. List more process
7471 creation functions. Reference Process Identification section.
7472 (Process Identification): Add information about process ID
7473 lifetime. Describe Linux thread/task IDs.
7474 * manual/signal.texi (Signaling Another Process): Mention that the
7475 signal is always sent to the process.
7477 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7479 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
7480 and tst-ldbl-efgcvt.
7481 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
7482 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
7483 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
7484 (fcvt_tests, output_error, output_r_error, do_test): Use the
7485 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
7486 select the type of floating-point variables and arguments; to
7487 produce extra tests for double and conversion specifiers for
7488 printf; and to set the names of called functions.
7489 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
7490 in tst-efgcvt-template.c.
7491 * misc/tst-ldbl-efgcvt.c: Likewise.
7493 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
7495 * nss/Makefile (tst-nss-test3.out): New rule.
7497 2018-12-13 Joseph Myers <joseph@codesourcery.com>
7499 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
7502 2018-12-13 fanjinke <fanjinke@hygon.cn>
7504 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
7507 2018-12-13 Andreas Schwab <schwab@suse.de>
7510 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
7511 (__pthread_rwlock_rdlock_full): Update expected value for
7512 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
7513 * nptl/tst-rwlock-pwn.c: New file.
7514 * nptl/Makefile (tests): Add tst-rwlock-pwn.
7516 2018-12-12 Joseph Myers <joseph@codesourcery.com>
7518 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
7521 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7523 * benchtests/scripts/compare_bench.py (do_compare): write to
7524 stderr in casestat is not present.
7525 * benchtests/scripts/compare_bench.py (plot_graphs): write to
7526 stderr in case timings field is not present. Also string showing
7527 the output filename goes into the stderr.
7529 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7531 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
7532 and ZeroDivisorError exceptions.
7533 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
7534 argument to loop through user provided statistics.
7535 * benchtests/scripts/compare_bench.py (main): Include the --stats
7538 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7540 * benchtests/scripts/compare_bench.py (compare_runs): Continue
7543 2018-12-12 Florian Weimer <fweimer@redhat.com>
7545 * sysdeps/posix/timespec_get.c: Add missing “any later version”
7546 clause to copyright header.
7548 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7551 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
7552 registers saved in the stack frame.
7553 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
7554 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
7556 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7558 * include/bits/monetary-ldbl.h: New file.
7559 * include/bits/printf-ldbl.h: Likewise.
7560 * include/bits/stdio-ldbl.h: Likewise.
7561 * include/bits/stdlib-ldbl.h: Likewise.
7562 * include/bits/syslog-ldbl.h: Likewise.
7563 * include/bits/wchar-ldbl.h: Likewise.
7565 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7567 * libio/libio.h: Remove redirection for _IO_vfprintf.
7569 2018-12-11 Andreas Schwab <schwab@suse.de>
7571 * Makerules: Remove all references to abilist-pattern.
7572 (update-all-abi): Simplify find expression.
7574 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7577 * math/auto-libm-test-in: Add new test case.
7578 * math/auto-libm-test-out-pow: Regenerated.
7579 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
7581 2018-12-10 DJ Delorie <dj@redhat.com>
7584 * support/test-container.c: Move postclean step to before we
7587 2018-12-10 Joseph Myers <joseph@codesourcery.com>
7589 * scripts/gen-as-const.py (main): Handle --python option.
7590 * scripts/gen-py-const.awk: Remove.
7591 * Makerules (py-const-script): Use gen-as-const.py.
7592 ($(py-const)): Likewise.
7593 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
7594 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
7595 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
7596 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
7597 ~PTHREAD_MUTEX_NO_ELISION_NP.
7598 * manual/README.pretty-printers: Update reference to
7601 * scripts/glibcextract.py: New file.
7602 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
7603 or tempfile. Import glibcexctract.
7604 (compute_c_consts): Remove. Moved to glibcextract.py.
7605 (gen_test): Update reference to compute_c_consts.
7607 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
7608 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
7609 * sysdeps/unix/sysv/linux/Makefile
7610 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
7611 Redirect stderr as well as stdout.
7613 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
7616 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
7617 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
7618 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
7619 ALWAYS_USE_VSYSCALL.
7620 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
7621 ALWAYS_USE_VSYSCALL.
7622 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
7623 ALWAYS_USE_VSYSCALL.
7625 2018-12-10 Florian Weimer <fweimer@redhat.com>
7628 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
7629 offset instead of count for clarity. Fix typo in comment.
7630 (__old_getdents64): Keep track of previous offset. Use it to call
7632 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
7633 that d_off is never zero.
7635 2018-12-10 Andreas Schwab <schwab@suse.de>
7637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
7638 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
7639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
7640 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
7641 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
7643 2018-12-10 Joseph Myers <joseph@codesourcery.com>
7645 * timezone/private.h: Update from tzcode 2018g.
7646 * timezone/tzfile.h: Likewise.
7647 * timezone/tzselect.ksh: Likewise.
7648 * timezone/zdump.c: Likewise.
7649 * timezone/zic.c: Likewise.
7651 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7654 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
7655 (do_test): Adjust buffer size and fix format.
7657 2018-12-07 DJ Delorie <dj@redhat.com>
7660 * malloc/tst-tcfree3.c: New.
7661 * malloc/Makefile: Add it.
7663 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7665 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
7667 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7669 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
7670 used as a mask for the mode argument of __vfscanf_internal and
7671 __vfwscanf_internal.
7672 * stdio-common/vfscanf-internal.c
7673 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
7674 (__strtof128_internal): Define to __wcstof128_internal.
7675 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
7676 __strtof128_internal or __wcstof128_internal when the format of
7677 long double is the same as _Float128.
7679 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
7681 * include/unistd.h (__confstr): Add prototype and hidden prototype.
7682 * posix/confstr.c (confstr): Rename to __confstr.
7683 (__confstr): Add hidden def.
7684 (confstr): Add weak alias for __confstr.
7685 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
7688 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7690 * NEWS: Mention getcpu.
7691 * include/sched.h (__getcpu): New libc_hidden_proto.
7692 * manual/resource.texi: Document getcpu.
7693 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
7694 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
7695 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
7696 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7697 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7698 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7699 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7700 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7701 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7702 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7703 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7704 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7705 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
7707 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7708 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7709 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
7718 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7719 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7720 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7721 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7722 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7723 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7724 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7725 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7726 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
7727 * sysdeps/unix/sysv/linux/getcpu.c: New file.
7728 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
7731 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
7733 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
7735 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
7737 2018-12-07 Florian Weimer <fweimer@redhat.com>
7740 * posix/Makefile (routines): Add spawn_faction_addfchdir.
7741 * posix/Versions (GLIBC_2.29): Export
7742 posix_spawn_file_actions_addfchdir_np.
7743 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
7744 * posix/spawn_faction_destroy.c
7745 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
7746 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
7747 and the field action.fchdir_action.
7748 * posix/tst-spawn-chdir.c (add_chdir): New function.
7749 (do_test): Add do_fchdir loop. Call add_chdir.
7750 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
7751 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7752 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7753 posix_spawn_file_actions_addfchdir_np.
7754 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7756 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7758 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7759 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7761 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7763 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7765 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7767 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7769 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7771 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7772 (GLIBC_2.29): Likewise.
7773 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7774 (GLIBC_2.29): Likewise.
7775 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7776 (GLIBC_2.29): Likewise.
7777 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7778 (GLIBC_2.29): Likewise.
7779 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7782 (GLIBC_2.29): Likewise.
7783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7784 (GLIBC_2.29): Likewise.
7785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7786 (GLIBC_2.29): Likewise.
7787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7788 (GLIBC_2.29): Likewise.
7789 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7791 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7793 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7795 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7796 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7798 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7800 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7802 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7805 2018-12-06 Joseph Myers <joseph@codesourcery.com>
7807 * manual/texinfo.tex: Update to version 2018-09-21.20 with
7808 trailing whitespace removed.
7809 * scripts/config.guess: Update to version 2018-11-28.
7810 * scripts/config.sub: Update to version 2018-11-28.
7811 * scripts/install-sh: Update to version 2018-03-11.20.
7812 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
7813 * scripts/move-if-change: Update to version 2018-03-07 03:47.
7815 2018-12-07 Florian Weimer <fweimer@redhat.com>
7819 * inet/tst-if_index-long.c: New file.
7820 * inet/Makefile (tests): Add tst-if_index-long.
7822 2018-12-07 Florian Weimer <fweimer@redhat.com>
7824 * support/check.h (support_record_failure_is_failed): Declare.
7825 * support/descriptors.h: New file.
7826 * support/support_descriptors.c: Likewise.
7827 * support/tst-support_descriptors.c: Likewise.
7828 * support/support_record_failure.c
7829 (support_record_failure_is_failed): New function.
7830 * support/Makefile (libsupport-routines): Add support_descriptors.
7831 (tests): Add tst-support_descriptors.
7833 2018-12-05 Zack Weinberg <zackw@panix.com>
7834 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7836 * stdio-common/vfprintf-internal.c
7837 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
7838 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
7839 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
7840 and __no_long_double.
7841 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
7842 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
7843 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
7844 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
7845 and __nldbl_*syslog* functions.
7846 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
7847 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
7848 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
7849 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
7850 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
7851 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
7852 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
7853 (__nldbl_vwprintf, __nldbl_wprintf):
7854 Directly call the appropriate __v*printf_internal routine, passing
7855 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
7857 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
7858 (__nldbl___printf_chk, __nldbl___snprintf_chk)
7859 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
7860 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
7861 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
7862 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7863 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
7864 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
7865 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
7866 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
7867 Likewise, and also pass PRINTF_FORTIFY when appropriate.
7868 (__nldbl_syslog, __nldbl_vsyslog):
7869 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
7870 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7872 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7875 2018-12-05 Zack Weinberg <zackw@panix.com>
7876 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7879 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
7880 Moved here from debug/vsprintf_chk.c.
7881 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
7882 and completion logic for the strfile to match exactly what
7883 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
7884 _IO_str_init_static_internal instead of maxlen-1.
7885 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7886 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
7887 __vsprintf_internal.
7889 * debug/vsprintf_chk.c (__vsprintf_chk)
7890 * debug/sprintf_chk.c (__sprintf_chk):
7891 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
7892 'flags' argument is positive, and slen as maxlen. No need to lock
7893 the FILE and/or construct a temporary FILE. Minimize and normalize
7894 header inclusions and variable names. Do not libc_hidden_def anything.
7896 * debug/asprintf_chk.c (__asprintf_chk)
7897 * debug/dprintf_chk.c (__dprintf_chk)
7898 * debug/fprintf_chk.c (__fprintf_chk)
7899 * debug/fwprintf_chk.c (__fwprintf_chk)
7900 * debug/printf_chk.c (__printf_chk)
7901 * debug/snprintf_chk.c (__snprintf_chk)
7902 * debug/swprintf_chk.c (__swprintf_chk)
7903 * debug/vasprintf_chk.c (__vasprintf_chk)
7904 * debug/vdprintf_chk.c (__vdprintf_chk)
7905 * debug/vfprintf_chk.c (__vfprintf_chk)
7906 * debug/vfwprintf_chk.c (__vfwprintf_chk)
7907 * debug/vprintf_chk.c (__vprintf_chk)
7908 * debug/vsnprintf_chk.c (__vsnprintf_chk)
7909 * debug/vswprintf_chk.c (__vswprintf_chk)
7910 * debug/vwprintf_chk.c (__vwprintf_chk)
7911 * debug/wprintf_chk.c (__wprintf_chk):
7912 Directly call the corresponding vxxprintf_internal function, passing
7913 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
7914 the FILE and/or construct a temporary FILE. Minimize and normalize
7915 header inclusions and variable names. Do not libc_hidden_def anything.
7917 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
7918 __obstack_vprintf_internal.
7919 (__obstack_vprintf_chk): Convert into a wrapper that calls
7920 __obstack_vprintf_internal (these two functions already had the
7921 same code) and move to new file...
7922 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
7924 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
7925 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
7926 * debug/Makefile (routines): Add vobprintf_chk.
7928 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7929 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7930 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
7931 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7932 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
7933 (__nldbl___obstack_vfprintf_chk):
7934 Directly call the corresponding vxxprintf_internal function,
7935 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
7936 duplicate comparison of slen with 0 or maxlen from the corresponding
7937 non-__nldbl function.
7939 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
7940 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
7941 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
7942 Remove libc_hidden_proto.
7944 * stdio-common/vfprintf-internal.c
7945 (__vfprintf_internal, __vfwprintf_internal):
7946 Do not check _IO_FLAGS2_FORTIFY.
7947 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
7948 * libio/libioP.h: Update prototype of __vsprintf_internal and add
7949 a comment explaining why it has the maxlen argument.
7950 (_IO_acquire_lock_clear_flags2_fct): Remove.
7951 (_IO_acquire_lock_clear_flags2): Remove.
7952 (_IO_release_lock): Remove conditional statement which will
7954 (_IO_acquire_lock): Remove variable which is now unused.
7955 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7956 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7958 * stdio-common/Makefile (tests): Add tst-bz11319 and
7959 tst-bz11319-fortify2.
7960 (CFLAGS-tst-bz11319-fortify2.c): New macro.
7961 * stdio-common/tst-bz11319-fortify2.c: New file.
7962 * stdio-common/tst-bz11319.c: Likewise.
7964 2018-12-05 Zack Weinberg <zackw@panix.com>
7965 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7967 * misc/syslog.c: Include libioP.h, not iolibio.h.
7968 (__vsyslog_internal): New function with the former body of
7969 __vsyslog_chk; takes mode_flags argument same as
7970 __v*printf_internal. Call __vfprintf_internal directly.
7972 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
7973 Remove libc_hidden_def.
7974 (__syslog, __syslog_chk): Use __vsyslog_internal.
7975 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
7977 * include/sys/syslog.h: Add multiple inclusion guard.
7978 Add prototype for __vsyslog_internal.
7979 Remove declaration and libc_hidden_proto for __vsyslog_chk.
7981 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
7982 Use __vsyslog_internal.
7984 2018-12-05 Zack Weinberg <zackw@panix.com>
7985 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7987 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
7988 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
7989 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
7991 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
7992 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
7994 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
7995 Include wctype.h here if COMPILE_WPRINTF is defined.
7996 Define __vfprintf_internal or __vfwprintf_internal, depending
7998 Temporarily, on entry to this function, update mode_flags
7999 according to the environmental settings corresponding to
8000 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
8001 Throughout, check mode_flags instead of __ldbl_is_dbl and
8002 _IO_FLAGS2_FORTIFY on the destination FILE.
8003 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
8004 Include vfprintf-internal.c. Don't include wctype.h.
8005 * stdio-common/vfprintf.c: New file. Just define __vfprintf
8006 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
8008 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
8009 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
8011 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
8013 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
8014 and add mode_flags argument; use __vfprintf_internal.
8015 (__vdprintf): New function. Alias vdprintf to this.
8016 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
8017 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
8018 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
8019 (__obstack_printf): Use __obstack_printf_internal.
8020 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
8021 public aliases __vsnprintf and vsnprintf.
8022 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
8024 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
8025 public aliases _IO_vsprintf and vsprintf.
8026 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
8027 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
8028 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
8029 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
8030 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
8032 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
8033 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
8034 * stdio-common/fprintf.c, stdio-common/fxprintf.c
8035 * stdio-common/printf.c: Use __vfprintf_internal.
8037 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
8038 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
8039 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
8041 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
8042 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
8043 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
8044 __vfwprintf_internal.
8046 * libio/libio.h: Remove libc_hidden_proto and declaration for
8048 Remove declaration of _IO_vfwprintf.
8049 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
8051 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
8053 * include/stdio.h: Add prototype for __vasprintf.
8054 (__vsnprintf): Remove declaration, because there are no more
8056 * include/wchar.h (__vfwprintf, __vswprintf): Remove
8057 declaration, because there are no more internal calls.
8059 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
8060 __vsnprintf_internal, instead of _IO_vsnprintf.
8061 * argp/argp-help.c (__argp_error, __argp_failure): Use
8062 __vasprintf_internal, instead of _IO_vasprintf.
8063 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
8064 redefine, because there are no more internal calls.
8066 2018-12-05 Zack Weinberg <zackw@panix.com>
8067 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8069 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
8070 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
8071 Include libio/strfile.h instead of libioP.h.
8072 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
8073 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
8074 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
8075 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
8076 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
8077 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
8078 necessary. Do not set __no_long_double. Normalize variable names.
8079 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
8080 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
8081 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
8082 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
8083 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
8084 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
8085 Call __vfscanf_internal / __vfwscanf_internal directly, passing
8086 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
8087 Do not set __no_long_double. Normalize variable names.
8089 2018-12-05 Zack Weinberg <zackw@panix.com>
8090 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8092 * stdio-common/isoc99_scanf.c
8093 * stdio-common/isoc99_fscanf.c
8094 * stdio-common/isoc99_sscanf.c
8095 * stdio-common/isoc99_vscanf.c
8096 * stdio-common/isoc99_vfscanf.c
8097 * stdio-common/isoc99_vsscanf.c
8098 * wcsmbs/isoc99_wscanf.c
8099 * wcsmbs/isoc99_fwscanf.c
8100 * wcsmbs/isoc99_swscanf.c
8101 * wcsmbs/isoc99_vwscanf.c
8102 * wcsmbs/isoc99_vfwscanf.c
8103 * wcsmbs/isoc99_vswscanf.c:
8104 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
8105 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
8106 No need to lock and unlock the FILE passed to that function.
8108 * stdio-common/vfscanf-internal.c
8109 (__vfscanf_internal, __vfwscanf_internal):
8110 Don't look at _IO_FLAGS2_SCANF_STD.
8111 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
8112 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
8113 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
8115 2018-12-05 Zack Weinberg <zackw@panix.com>
8116 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8118 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
8119 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
8120 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
8121 * libio/strfile.h: Add multiple inclusion guard.
8122 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
8124 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
8125 consistency with the other version of this file.
8126 (ldbl_compat_symbol): New macro.
8127 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
8130 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
8131 Define __vfscanf_internal or __vfwscanf_internal, depending on
8132 COMPILE_WSCANF; don't define any other public symbols.
8133 Remove errval and code to set errp.
8134 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
8135 as the mode_flags argument.
8136 (encode_error, conv_error, input_error): Don't set errval.
8137 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
8138 Include vfscanf-internal.c.
8139 * stdio-common/vfscanf.c: New file defining the public entry
8140 point vfscanf, which calls __vfscanf_internal.
8141 * stdio-common/vfwscanf.c: New file defining the public entry
8142 point vfwscanf, which calls __vfwscanf_internal.
8144 * stdio-common/iovfscanf.c: New file.
8145 * stdio-common/iovfwscanf.c: Likewise.
8147 * stdio-common/Makefile (routines): Add vfscanf-internal,
8148 vfwscanf-internal, iovfscanf, iovfwscanf.
8149 * stdio-common/Versions: Mention GLIBC_2.29, so that
8150 it can be used in SHLIB_COMPAT expressions.
8151 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
8152 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
8153 Call __vfscanf_internal, instead of _IO_vfscanf.
8154 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
8156 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
8159 * libio/iovsscanf.c: Clean up includes, when possible. Use
8160 _IO_strfile_read or _IO_strfile_readw, when needed. Call
8161 __vfscanf_internal or __vfwscanf_internal directly.
8162 * libio/iovswscanf.c: Likewise.
8163 * libio/swscanf.c: Likewise.
8164 * libio/vscanf.c: Likewise.
8165 * libio/vwscanf.c: Likewise.
8166 * libio/wscanf.c: Likewise.
8167 * stdio-common/isoc99_fscanf.c: Likewise.
8168 * stdio-common/isoc99_scanf.c: Likewise.
8169 * stdio-common/isoc99_sscanf.c: Likewise.
8170 * stdio-common/isoc99_vfscanf.c: Likewise.
8171 * stdio-common/isoc99_vscanf.c: Likewise.
8172 * stdio-common/isoc99_vsscanf.c: Likewise.
8173 * stdio-common/scanf.c: Likewise.
8174 * stdio-common/sscanf.c: Likewise.
8175 * wcsmbs/isoc99_fwscanf.c: Likewise.
8176 * wcsmbs/isoc99_swscanf.c: Likewise.
8177 * wcsmbs/isoc99_vfwscanf.c: Likewise.
8178 * wcsmbs/isoc99_vswscanf.c: Likewise.
8179 * wcsmbs/isoc99_vwscanf.c: Likewise.
8180 * wcsmbs/isoc99_wscanf.c: Likewise.
8182 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
8185 (__tz_compute): Replace time_t with __time64_t.
8186 (__tz_convert): Replace time_t* with __time64_t.
8187 (__offtime): Replace time_t* with __time64_t.
8189 (__gmtime_r): Adjust call to __tz_convert.
8192 (__localtime_r): Likewise.
8193 (localtime): Likewise.
8194 * time/offtime.c: Replace time_t with __time64_t.
8195 * time/tzset.c: Likewise.
8197 2018-12-04 Joseph Myers <joseph@codesourcery.com>
8199 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
8200 dynamic linker unless [$(run-built-tests) = yes].
8202 2018-12-03 DJ Delorie <dj@delorie.com>
8204 * support/test-container.c (check_for_unshare_hints): New.
8205 (main): Call it if unshare fails. Add support for "su" scriptlet
8208 2018-12-03 Joseph Myers <joseph@codesourcery.com>
8210 * scripts/gen-as-const.py (compute_c_consts): Take an argument
8211 'START' to indicate that start text should be output.
8212 (gen_test): Likewise.
8213 (main): Generate 'START' for first symbol or '--' line, or at end
8214 of input if not previously generated.
8216 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
8219 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
8220 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
8221 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
8222 ALWAYS_USE_VSYSCALL.
8224 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8227 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
8230 2018-12-03 Carlos O'Donell <carlos@redhat.com>
8233 * locale/programs/localedef.c: Declare boolean hard_links default true.
8234 (options): Add --no-hard-links option.
8235 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
8236 * locale/programs/localedef.h: Declare prototype for hard_links.
8237 * locale/programs/locfile.c (write_locale_data): Don't use hard
8238 links if hard_links is false.
8240 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
8242 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
8244 (__cache_sysconf): Likewise.
8245 (init_cacheinfo): Likewise.
8246 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
8247 populate COMMON_CPUID_INDEX_80000007 and
8248 COMMON_CPUID_INDEX_80000008.
8249 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
8250 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
8251 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
8252 (init_cpu_features): Use _Static_assert on
8253 index_arch_Fast_Unaligned_Load.
8254 __get_cpuid_registers and __get_arch_feature. Updated for
8255 cpu_features_basic. Set stepping in cpu_features.
8256 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
8257 (FEATURE_INDEX_2): New.
8258 (FEATURE_INDEX_MAX): Changed to enum.
8259 (COMMON_CPUID_INDEX_D_ECX_1): New.
8260 (COMMON_CPUID_INDEX_80000007): Likewise.
8261 (COMMON_CPUID_INDEX_80000008): Likewise.
8262 (cpuid_registers): Likewise.
8263 (cpu_features_basic): Likewise.
8264 (CPU_FEATURE_USABLE): Likewise.
8265 (bit_arch_XXX_Usable): Likewise.
8266 (cpu_features): Use cpuid_registers and cpu_features_basic.
8267 (bit_arch_XXX): Reweritten.
8268 (bit_cpu_XXX): Likewise.
8269 (index_cpu_XXX): Likewise.
8270 (reg_XXX): Likewise.
8271 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
8273 (CHECK_CPU_FEATURE): New.
8274 (CHECK_CPU_FEATURE_USABLE): Likewise.
8275 (cpu_kinds): Likewise.
8276 (do_test): Print vendor, family, model and stepping. Check
8277 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
8278 (TEST_FUNCTION): Removed.
8279 Include <support/test-driver.c> instead of
8280 "../../test-skeleton.c".
8281 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
8282 Check POPCNT instead of POPCOUNT.
8283 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
8285 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8287 * scripts/gen-as-const.py (main): Avoid emitting empty line when
8288 there is no element in `consts'.
8290 2018-12-01 Florian Weimer <fweimer@redhat.com>
8292 * support/support_capture_subprocess.c
8293 (support_capture_subprocess): Check that pipe descriptors have
8294 expected values. Close original pipe descriptors in subprocess.
8296 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8299 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
8300 attr with __pthread_default_barrierattr.
8301 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
8302 attr with __pthread_default_condattr.
8303 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
8304 attr with __pthread_default_mutexattr.
8305 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
8306 attr with __pthread_default_rwlockattr.
8308 2018-12-01 Kemi Wang <kemi.wang@intel.com>
8310 * manual/tunables.texi (POSIX Thread Tunables): New node.
8311 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
8312 * nptl/nptl-init.c: Include pthread_mutex_conf.h
8313 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
8314 __pthread_tunables_init.
8315 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
8316 (max_adaptive_count): Define.
8317 * nptl/pthread_mutex_conf.c: New file.
8318 * nptl/pthread_mutex_conf.h: New file.
8319 * sysdeps/generic/adaptive_spin_count.h: New file.
8320 * sysdeps/nptl/dl-tunables.list: New file.
8321 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8322 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
8323 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
8326 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8329 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
8330 * stdlib/on_exit.c (__on_exit): Likewise.
8331 * stdlib/Makefile (tests): Add tst-bz20544.
8332 * stdlib/tst-bz20544.c: New test.
8334 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
8337 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
8338 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
8341 2018-11-30 Florian Weimer <fweimer@redhat.com>
8343 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
8344 Extend error logging.
8345 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
8348 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8350 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
8351 __sigismember instead of sigismember.
8352 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
8353 cancel_handler): New definitions.
8354 (do_system): Use posix_spawn instead of fork and execl and remove
8356 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
8357 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
8358 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
8359 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8360 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8361 * sysdeps/unix/sysv/linux/system.c: Likewise.
8365 * NEWS: Add new semantic for atfork with popen and system.
8366 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
8369 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8372 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
8373 modification order when accessing reloc_result->addr.
8374 * include/link.h (reloc_result): Add field init.
8375 * nptl/Makefile (tests): Add tst-audit-threads.
8376 (modules-names): Add tst-audit-threads-mod1 and
8377 tst-audit-threads-mod2.
8378 Add rules to build tst-audit-threads.
8379 * nptl/tst-audit-threads-mod1.c: New file.
8380 * nptl/tst-audit-threads-mod2.c: Likewise.
8381 * nptl/tst-audit-threads.c: Likewise.
8382 * nptl/tst-audit-threads.h: Likewise.
8384 2018-11-30 Joseph Myers <joseph@codesourcery.com>
8386 * scripts/gen-as-const.py: New file.
8387 * scripts/gen-as-const.awk: Remove.
8388 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
8390 ($(objpfx)test-as-const-%.c): Likewise.
8392 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8394 * elf/dl-exception.c: Include <_itoa.h>.
8396 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8398 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
8399 returned by __f_setlk.
8401 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8402 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8404 * elf/Makefile (tests-internal): Add tst-create_format1.
8405 * elf/dl-exception.c (_dl_exception_create_format): Support
8407 * elf/tst-create_format1.c: New file.
8409 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
8411 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
8412 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
8414 * argp/argp-help.c (__argp_failure): Likewise.
8416 2018-11-29 Mao Han <han_mao@c-sky.com>
8418 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
8419 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
8420 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
8421 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
8422 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
8423 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
8424 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
8425 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
8426 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
8427 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
8428 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
8429 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
8430 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
8431 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
8432 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
8433 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
8434 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
8435 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
8436 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
8437 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
8438 (R_CKCORE_TLS_TPOFF32): New defines.
8440 2018-11-29 Florian Weimer <fweimer@redhat.com>
8442 * posix/Makefile (before-compile): Remove testcases.h and
8444 (generated): Add testcases.h and ptestcases.h.
8445 (testcases.h, ptestcases.h): Move to $(objpfx).
8446 (runtests.o): Add dependency on testcases.h.
8447 (runptests.o): Add dependency on ptestcases.h.
8448 * posix/testcases.h, posix/ptestcases.h: Remove files.
8449 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
8450 not touch posix/testcases.h and posix/ptestcases.h.
8452 2018-11-28 Florian Weimer <fweimer@redhat.com>
8454 support: Add signal support to support_capture_subprocess_check.
8455 * support/capture_subprocess.h (support_capture_subprocess_check):
8456 Adjust comment and rename parameter.
8457 * support/support_capture_subprocess_check.c
8458 (print_actual_status): New function.
8459 (support_capture_subprocess_check): Support negative
8460 status_or_signal. Call print_actual_status.
8461 * support/tst-support_capture_subprocess.c (do_test): Call
8462 support_capture_subprocess_check.
8463 * libio/tst-vtables-common.c (termination_status)
8464 (init_termination_status): Remove.
8465 (check_for_termination): Adjust support_capture_subprocess_check
8467 (do_test): Remove call to init_termination_status.
8469 2018-11-28 Joseph Myers <joseph@codesourcery.com>
8471 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
8472 source directory instead of a copy.
8473 (CommandList.create_copy_dir): Remove.
8475 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
8477 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8479 2018-11-28 Florian Weimer <fweimer@redhat.com>
8481 * support/support.h (support_quote_string): Do not use str
8484 2018-11-27 Joseph Myers <joseph@codesourcery.com>
8486 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
8487 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
8489 2018-11-27 Florian Weimer <fweimer@redhat.com>
8491 * support/support.h (support_quote_string): Declare.
8492 * support/support_quote_string.c: New file.
8493 * support/tst-support_quote_string.c: Likewise.
8494 * support/Makefile (libsupport-routines): Add
8495 support_quote_string.
8496 (tests): Add tst-support_quote_string.
8498 2018-11-27 Florian Weimer <fweimer@redhat.com>
8502 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
8503 descriptor leak in case of ENODEV error.
8505 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
8508 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
8509 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
8510 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
8512 2018-11-26 Carlos O'Donell <carlos@redhat.com>
8514 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
8515 Error for unknown lines.
8517 2018-11-26 Joseph Myers <joseph@codesourcery.com>
8519 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8520 Touch additional files.
8522 2018-11-26 Florian Weimer <fweimer@redhat.com>
8525 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
8528 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
8531 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
8532 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
8533 SHARED. Include sysdep.h.
8534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
8535 ALWAYS_USE_VSYSCALL.
8536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
8537 ALWAYS_USE_VSYSCALL.
8539 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
8542 * nptl/Makefile (tests-static): Add tst-cond11-static.
8544 * nptl/tst-cond11-static.c: New File.
8545 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
8546 tst-affinity-static.
8548 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
8550 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
8551 (USE_VSYSCALL): Likewise.
8552 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
8553 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
8555 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
8557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
8560 2018-11-23 Joseph Myers <joseph@codesourcery.com>
8563 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8564 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
8567 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
8569 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
8570 (tst-cet-legacy-1a-ARGS): New.
8571 ($(objpfx)tst-cet-legacy-1a): New target.
8572 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
8574 2018-11-22 Joseph Myers <joseph@codesourcery.com>
8576 * conform/conformtest.py (CompileSubTest.__init__): Set
8577 self.run_early to False.
8578 (ExecuteSubTest.__init__): Likewise.
8579 (HeaderTests.run): Try running all non-optional, non-XFAILed
8580 compilation tests in a single execution of the compiler.
8582 * conform/conformtest.py (CompileSubTest): New class.
8583 (ExecuteSubTest): Likewise.
8584 (ElementTest.run): Rename to gen_subtests. Append tests to
8585 self.subtests instead of running them.
8586 (ConstantTest.run): Likewise.
8587 (SymbolTest.run): Likewise.
8588 (TypeTest.run): Likewise.
8589 (TagTest.run): Likewise.
8590 (FunctionTest.run): Likewise.
8591 (VariableTest.run): Likewise.
8592 (MacroFunctionTest.run): Likewise.
8593 (MacroStrTest.run): Likewise.
8594 (HeaderTests.handle_test_line): Generate subtests for tests.
8595 (HeaderTests.run): Run subtests for tests.
8597 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8599 * math/Versions (GLIBC_2.29): Add pow.
8600 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
8602 * math/w_pow.c: New file.
8603 * sysdeps/i386/fpu/w_pow.c: New file.
8604 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
8605 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
8606 and add necessary aliases.
8607 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
8608 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
8609 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8610 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8611 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8612 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8613 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8614 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8615 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8616 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8617 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8618 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8619 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8620 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8621 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8626 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8627 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8628 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8629 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8630 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8631 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8632 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8633 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
8635 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
8636 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
8637 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
8639 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8641 * math/Versions (GLIBC_2.29): Add log2.
8642 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
8644 * math/w_log2.c: New file.
8645 * sysdeps/i386/fpu/w_log2.c: New file.
8646 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
8647 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
8648 and add necessary aliases.
8649 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
8650 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
8651 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8652 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8653 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8654 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8655 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8656 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8657 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8658 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8659 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8660 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8661 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8662 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8663 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8668 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8669 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8670 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8671 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8672 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8673 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8674 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8676 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8678 * math/Versions (GLIBC_2.29): Add log.
8679 * math/w_log_compat.c (__log_compat): Change to versioned compat
8681 * math/w_log.c: New file.
8682 * sysdeps/i386/fpu/w_log.c: New file.
8683 * sysdeps/ia64/fpu/e_log.S: Update.
8684 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
8685 and add necessary aliases.
8686 * sysdeps/ieee754/dbl-64/w_log.c: New file.
8687 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
8688 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8689 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8690 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8691 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8692 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8693 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8694 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8695 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8696 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8697 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8698 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8699 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8700 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8705 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8706 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8707 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8708 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8709 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8710 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8711 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8712 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
8714 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
8715 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
8716 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
8717 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
8719 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8721 * math/Versions (GLIBC_2.29): Add exp and exp2.
8722 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
8723 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
8724 * math/w_exp_compat.c (__exp_compat): Likewise.
8725 * math/w_exp.c: New file.
8726 * math/w_exp2.c: New file.
8727 * sysdeps/i386/fpu/w_exp.c: New file.
8728 * sysdeps/i386/fpu/w_exp2.c: New file.
8729 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
8730 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
8731 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
8732 and add necessary aliases.
8733 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
8734 and add necessary aliases.
8735 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
8736 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
8737 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
8738 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
8739 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8740 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8741 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8742 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8743 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8744 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8745 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8746 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8747 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8748 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8749 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8750 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8751 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8756 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8757 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8758 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8759 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8760 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8761 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8762 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8763 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
8764 (__ieee754_exp): Rename to __exp.
8765 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
8766 (__ieee754_exp): Rename to __exp.
8767 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
8768 (__ieee754_exp): Rename to __exp.
8769 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
8771 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
8773 2018-11-20 DJ Delorie <dj@redhat.com>
8775 * malloc/malloc.c (tcache_entry): Add key field.
8776 (tcache_put): Set it.
8777 (tcache_get): Likewise.
8778 (_int_free): Check for double free in tcache.
8779 * malloc/tst-tcfree1.c: New.
8780 * malloc/tst-tcfree2.c: New.
8781 * malloc/Makefile: Run the new tests.
8782 * manual/probes.texi: Document memory_tcache_double_free probe.
8784 * dlfcn/dlerror.c (check_free): Prevent double frees.
8786 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
8788 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
8790 2018-11-20 Joseph Myers <joseph@codesourcery.com>
8792 * conform/conformtest.py (ElementTest.run): Use unique identifiers
8793 in tests. Use names for format arguments.
8794 (ConstantTest.run): Likewise.
8795 (SymbolTest.run): Likewise.
8796 (TypeTest.run): Likewise.
8797 (TagTest.run): Likewise.
8798 (FunctionTest.run): Likewise.
8799 (VariableTest.run): Likewise.
8800 (MacroFunctionTest.run): Likewise.
8801 (MacroStrTest.run): Likewise.
8802 (HeaderTests.__init__): Set self.num_tests.
8803 (HeaderTests.handle_test_line): Set test.num. Increment
8806 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
8808 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
8809 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
8812 2018-11-19 Mao Han <han_mao@c-sky.com>
8814 * scripts/config.guess: Update to version 2018-08-29.
8815 * scripts/config.sub: Update to version 2018-08-29.
8817 2018-11-19 Florian Weimer <fweimer@redhat.com>
8819 support: Print timestamps in timeout handler.
8820 * support/support_test_main.c (print_timestamp): New function.
8821 (signal_handler): Use it to print the termination time and the
8822 time of the last write to standard output.
8824 2018-11-16 Zack Weinberg <zackw@panix.com>
8825 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8827 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
8828 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
8830 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
8831 and add flags argument. Check flags instead of __ldbl_is_dbl when
8832 deciding whether to set is_long_double.
8833 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
8834 passing zero for flags argument.
8835 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
8837 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8838 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
8839 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
8840 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
8841 variable names. Remove libc_hidden_def/libc_hidden_proto from
8842 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
8843 longer called from within the library.
8844 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
8845 for __nldbl___vstrfmon_l, declare it explicitly.
8847 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
8849 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8851 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
8853 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
8854 F_SETLK64, F_SETLKW64, respectively.
8855 * sysdeps/mach/hurd/f_setlk.c: New file.
8856 * sysdeps/mach/hurd/f_setlk.h: New file.
8857 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
8859 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
8860 (__libc_fcntl): Move non-flock operations to...
8861 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
8862 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
8864 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
8866 mktime: DEBUG_MKTIME cleanup
8867 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
8868 And it’s no longer needed now that glibc and Gnulib both have
8869 their own testing mechanisms for mktime.
8870 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
8872 mktime: fix non-EOVERFLOW errno handling
8874 mktime was not properly reporting failures when the underlying
8875 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
8876 them like EOVERFLOW failures, and set errno to EOVERFLOW.
8877 The problem could happen on non-glibc platforms, with Gnulib.
8878 * time/mktime.c (guess_time_tm): Remove, replacing with ...
8879 (tm_diff): ... this simpler function, which does not change errno.
8880 All callers changed to deal with errno themselves.
8881 (ranged_convert, __mktime_internal): Return failure immediately if
8882 the underlying function reports any failure other than EOVERFLOW.
8883 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
8886 mktime: fix bug with Y2038 DST transition
8888 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
8889 mishandle a DST transition that jumps over the Y2038 boundary.
8890 No such DST transitions are known so this is only a theoretical
8891 bug, but we might as well do things right.
8893 mktime: make more room for overflow
8895 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
8896 This is so that we can add tm_diff results to a previous guess,
8897 which will be useful in a later patch.
8899 mktime: simplify offset guess
8901 * time/mktime.c (__mktime_internal): Omit excess precision.
8903 mktime: new test for mktime failure
8905 Based on a test suggested by Albert Aribaud in:
8906 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
8907 * time/Makefile (tests): Add bug-mktime4.
8908 * time/bug-mktime4.c: New file.
8910 mktime: fix EOVERFLOW bug
8912 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
8913 Include libc-config.h, not config.h, for __set_errno.
8914 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
8916 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8918 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
8919 __attribute_copy__ to copy attributes from name. Drop static qualifier
8920 to avoid warnings about leaf attribute not having effect on static
8923 2018-11-13 Florian Weimer <fweimer@redhat.com>
8925 * malloc/malloc.c (fastbin_push_entry): New function.
8926 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
8927 (REMOVE_FB): Remove macro.
8928 (_int_malloc): Use fastbin_pop_entry and reindent.
8929 (_int_free): Use fastbin_push_entry.
8930 (malloc_consolidate): Use atomic_exchange_acquire.
8932 2018-11-13 Joseph Myers <joseph@codesourcery.com>
8934 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
8935 alias attribute, not with strong_alias.
8937 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
8938 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
8939 with additional parameter thread.
8940 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
8941 in terms of __hidden_ver2.
8942 (hidden_tls_def): New macro.
8943 (libc_hidden_tls_def): Likewise.
8944 (rtld_hidden_tls_def): Likewise.
8945 (libm_hidden_tls_def): Likewise.
8946 (libmvec_hidden_tls_def): Likewise.
8947 (libresolv_hidden_tls_def): Likewise.
8948 (librt_hidden_tls_def): Likewise.
8949 (libdl_hidden_tls_def): Likewise.
8950 (libnss_files_hidden_tls_def): Likewise.
8951 (libnsl_hidden_tls_def): Likewise.
8952 (libnss_nisplus_hidden_tls_def): Likewise.
8953 (libutil_hidden_tls_def): Likewise.
8954 (libutil_hidden_tls_def): Likweise.
8955 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
8956 libc_hidden_tls_def.
8957 (__sim_disabled_exceptions_thread): Likewise.
8958 (__sim_round_mode_thread): Likewise.
8960 * sysdeps/sparc/sparc-ifunc.h [SHARED]
8961 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
8962 copy attributes from name.
8964 2018-11-12 Joseph Myers <joseph@codesourcery.com>
8966 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
8967 Use __attribute_copy__ to copy attributes from name.
8969 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
8970 with __hidden_ver1 call.
8971 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
8972 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
8973 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
8974 (__cosf): Do not declare here.
8975 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
8976 (__sincosf): Do not declare here.
8977 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
8978 (__sinf): Do not declare here.
8980 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
8981 (__BIG_ENDIAN): Likewise.
8982 (__BYTE_ORDER): Likewise.
8983 (strong_alias): Likewise.
8984 (_strong_alias): Likewise.
8986 2018-11-12 Florian Weimer <fweimer@redhat.com>
8988 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
8989 function. Move after the definition of in_smallbin_range. Do not
8990 use __builtin_expect for paths that lead to a noreturn function.
8991 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
8992 because it is unclear whether this is in fact an unlikely
8994 (_int_malloc, _int_free): Adjust.
8995 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
8997 * malloc/arena.c (heap_trim): Likewise.
8999 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9001 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
9002 it, free it if needed.
9003 (reauthenticate): Test and use ccwdir.
9004 (child_init_port): In non-resetids case, test and use ccwdir.
9005 (child_chdir): New nested function to set ccwdir.
9006 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
9007 * hurd/hurd/port.h (_hurd_port_move): New function.
9008 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
9009 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
9010 * hurd/Versions (_hurd_port_move): Export function.
9011 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
9013 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
9014 of dtablesize for allocating dtable_cloexec.
9016 2018-11-09 Martin Sebor <msebor@redhat.com>
9018 * include/libc-symbols.h (__attribute_copy__): Define macro unless
9019 it's already defined.
9020 (_strong_alias): Use __attribute_copy__.
9021 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
9022 * misc/sys/cdefs.h (__attribute_copy__): New macro.
9023 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
9024 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
9025 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
9026 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
9027 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
9028 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
9029 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
9030 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
9031 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
9032 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
9033 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
9034 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
9035 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
9036 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
9037 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
9038 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
9039 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
9041 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9043 * misc/tst-efgcvt.c: Include support/check.h and
9044 support/test-driver.c. Do not include test-skeleton.c.
9045 (error_count): Remove.
9046 (output_error): Replace increments to error_count with calls to
9047 support_record_failure.
9048 (output_r_error): Likewise.
9049 (special): Likewise.
9050 (do_test): Unconditionally return zero.
9051 (TEST_FUNCTION): Remove.
9053 2018-11-09 Joseph Myers <joseph@codesourcery.com>
9055 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
9057 ($(linknamespace-header-tests)): Likewise.
9059 * conform/conformtest.py: New file.
9060 * conform/conformtest.pl: Remove.
9061 * conform/GlibcConform.pm: Likewise.
9062 * conform/glibcconform.py (KEYWORDS_C90): New constant.
9063 (KEYWORDS_C99): Likewise.
9064 (KEYWORDS): Likewise.
9065 * conform/Makefile ($(conformtest-header-tests)): Use
9066 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
9067 option. Use --header instead of --headers.
9068 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
9070 * conform/data/spawn.h-data: Likewise.
9071 * conform/data/fcntl.h-data (openat): Add space after function
9073 * conform/data/wchar.h-data (wcscasecmp): Likewise.
9074 (wcscasecmp_l): Likewise.
9075 * conform/data/termios.h-data (c_cc): Add space after element
9078 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9080 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
9081 instead of manually comparing and reporting mismatching strings.
9082 * misc/tst-ldbl-error.c (do_one_test): Likewise.
9083 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
9085 2018-11-08 Joseph Myers <joseph@codesourcery.com>
9087 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
9088 __ASSUME_SOCKETCALL.
9089 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9090 (__ASSUME_SOCKETCALL): Remove.
9091 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9092 (__ASSUME_SOCKETCALL): Likewise.
9093 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9094 (__ASSUME_SOCKETCALL): Likewise.
9095 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9096 (__ASSUME_SOCKETCALL): Likewise.
9097 * sysdeps/unix/sysv/linux/s390/kernel-features.h
9098 (__ASSUME_SOCKETCALL): Likewise.
9099 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9100 (__ASSUME_SOCKETCALL): Likewise.
9101 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9102 (__ASSUME_SOCKETCALL): Likewise.
9104 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
9107 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
9108 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
9109 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
9110 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
9111 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
9114 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
9117 * resolv/tst-resolv-network.c: Add test for getnetbyname.
9119 2018-11-07 Joseph Myers <joseph@codesourcery.com>
9122 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9123 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9124 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9125 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9127 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9129 * support/support_test_compare_string.c
9130 (support_test_compare_string): Fix printf format.
9132 2018-11-07 Florian Weimer <fweimer@redhat.com>
9134 Implement TEST_COMPARE_STRING.
9135 * support/check.h (TEST_COMPARE_STRING): Define.
9136 (support_test_compare_string): Declare.
9137 * support/Makefile (libsupport-routines): Add
9138 support_test_compare_string.
9139 (tests): Add tst-test_compare_string.
9140 * support/support_test_compare_string.c: New file.
9141 * support/tst-test_compare_string.c: Likewise.
9143 2018-11-07 Andreas Schwab <schwab@suse.de>
9146 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
9147 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
9150 2018-11-06 Joseph Myers <joseph@codesourcery.com>
9153 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9154 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
9155 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
9156 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
9159 2018-11-06 Florian Weimer <fweimer@redhat.com>
9162 * posix/Makefile (routines): Add spawn_faction_addchdir.
9163 (tests): Add tst-spawn-chdir.
9164 * posix/Versions (GLIBC_2.29): Add
9165 posix_spawn_file_actions_addchdir_np.
9166 * posix/spawn_faction_addchdir.c: New file.
9167 * posix/spawn_faction_destroy.c
9168 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
9169 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
9170 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
9172 * posix/tst-spawn-chdir.c: New file.
9173 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
9174 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9175 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9176 posix_spawn_file_actions_addchdir_np.
9177 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9179 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9181 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9182 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9184 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9186 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9188 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9190 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9192 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9194 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9195 (GLIBC_2.29): Likewise.
9196 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9197 (GLIBC_2.29): Likewise.
9198 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9199 (GLIBC_2.29): Likewise.
9200 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9201 (GLIBC_2.29): Likewise.
9202 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9205 (GLIBC_2.29): Likewise.
9206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9207 (GLIBC_2.29): Likewise.
9208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9209 (GLIBC_2.29): Likewise.
9210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9211 (GLIBC_2.29): Likewise.
9212 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9214 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9216 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9218 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9219 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9221 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9223 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9225 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9228 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9230 * misc/Makefile (tests): Add tst-ldbl-error.
9231 * misc/tst-ldbl-error.c: New file.
9233 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9235 * misc/Makefile (tests): Add tst-ldbl-warn.
9236 * misc/tst-ldbl-warn.c: New file.
9238 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9240 * argp/Makefile (tests): Add tst-ldbl-argp.
9241 * argp/tst-ldbl-argp.c: New file.
9243 2018-11-05 Arjun Shankar <arjun@redhat.com>
9245 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
9246 __gconv_path_elem and call __gconv_get_path unconditionally.
9248 2018-11-05 Andreas Schwab <schwab@suse.de>
9251 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
9252 creating the first helper thread failed.
9254 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9256 * sysdeps/mach/hurd/msync.c: New file.
9258 2018-11-02 Florian Weimer <fweimer@redhat.com>
9260 * support/shell-container.c (copy_func): Call
9261 support_copy_file_range instead of copy_file_range to support
9262 cross-device copies.
9264 2018-11-02 Florian Weimer <fweimer@redhat.com>
9266 * support/test-container.c: Include <libc-pointer-arith.h> for
9269 2018-11-01 Zong Li <zong@andestech.com>
9271 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
9272 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
9273 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
9274 (__FP_FRAC_SET_8): Add implementation for RV32 use.
9276 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
9277 variable to avoid overlap arguments.
9279 2018-11-01 Joseph Myers <joseph@codesourcery.com>
9281 * posix/bug-regex22.c (main): Use puts with distinct error
9282 messages for unexpected success of re_compile_pattern, not printf
9283 with NULL argument to %s.
9285 * stdio-common/bug22.c: Include <libc-diag.h>.
9286 (do_test): Disable -Wformat-overflow= warnings around fprintf
9287 calls outputting more than INT_MAX characters.
9288 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
9289 around printf call with NULL %s argument.
9292 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
9293 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
9295 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9296 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9297 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9298 (__ASSUME_SENDTO_SYSCALL): Likewise.
9299 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9300 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
9302 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9303 (__ASSUME_CONNECT_SYSCALL): Likewise.
9304 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9305 (__ASSUME_RECVFROM_SYSCALL): Likewise.
9306 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
9308 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
9310 [__LINUX_KERNEL_VERSION >= 0x040400]
9311 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9312 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
9315 (setsockopt): Likewise.
9317 2018-11-01 Fredrik Noring <noring@nocrew.org>
9319 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
9320 with the ISA override.
9322 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
9324 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
9327 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9329 * manual/errno.texi (EIEIO): Document how translators should
9330 translate the error message.
9331 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
9332 printing trailing whitespaces refused by git.
9333 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
9334 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9335 * hurd/Makefile (user-interfaces): Add pci.
9337 2018-10-30 Joseph Myers <joseph@codesourcery.com>
9339 * conform/linknamespace.py: New file.
9340 * conform/linknamespace.pl: Remove file.
9341 * conform/Makefile ($(linknamespace-header-tests)): Use
9342 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
9345 2018-10-30 Florian Weimer <fweimer@redhat.com>
9347 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
9350 2018-10-30 Florian Weimer <fweimer@redhat.com>
9352 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
9354 2018-10-30 Florian Weimer <fweimer@redhat.com>
9356 * stdlib/tst-strtod-overflow.c (do_test): Switch to
9357 support_blob_repeat.
9359 2018-10-30 Florian Weimer <fweimer@redhat.com>
9361 Avoid spurious test failures in stdlib/test-bz22786.
9362 * support/Makefile (libsupport-routines): Add blob_repeat.
9363 (tests): Add tst-support_blob_repeat.
9364 * support/blob_repeat.h: New file.
9365 * support/blob_repeat.c: Likewise.
9366 * support/tst-support_blob_repeat.c: Likewise.
9367 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
9368 support_blob_repeat_allocate.
9370 2018-10-30 Andreas Schwab <schwab@suse.de>
9373 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
9374 Don't use tail call.
9375 * elf/tst-unwind-main.c: New file.
9376 * elf/Makefile (tests): Add tst-unwind-main.
9377 (CFLAGS-tst-unwind-main.c): Define.
9379 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
9382 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
9384 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
9386 2018-10-29 Joseph Myers <joseph@codesourcery.com>
9388 * conform/glibcconform.py: Do not import shutil.
9389 (list_exported_functions): Use tempfile.TemporaryDirectory instead
9392 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
9393 critic_missing for versions before 3.4.
9394 * configure: Regenerated.
9395 * manual/install.texi (Tools for Compilation): Document
9396 requirement for Python to build glibc.
9397 * INSTALL: Regenerated.
9398 * Rules [PYTHON]: Make code unconditional.
9399 * benchtests/Makefile [PYTHON]: Likewise.
9400 * conform/Makefile [PYTHON]: Likewise.
9401 * manual/Makefile [PYTHON]: Likewise.
9402 * math/Makefile [PYTHON]: Likewise.
9404 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9406 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
9407 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
9408 answer to interrupt_operation, return EIEIO instead of EINTR.
9409 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
9410 _hurd_intr_rpc_msg_about_to global point to start of controlled
9411 assembly snippet. Make it check canceled flag.
9412 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
9413 the _hurd_intr_rpc_msg_about_to point.
9414 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
9415 issue, remove cancel flag check.
9417 2018-10-26 Joseph Myers <joseph@codesourcery.com>
9419 * scripts/build-many-glibcs.py: Remove compatibility for missing
9420 os.cpu_count and re.fullmatch.
9422 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
9425 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
9426 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
9427 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
9429 2018-10-25 Joseph Myers <joseph@codesourcery.com>
9431 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
9434 2018-10-25 Florian Weimer <fweimer@redhat.com>
9438 XFAIL siginfo_t si_band conform test on sparc64.
9439 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
9440 (__SI_BAND_TYPE): Only override long int default type on sparc64.
9441 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9442 (conformtest-xfail-conds): Add sparc64-linux.
9443 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
9445 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
9447 2018-10-25 Joseph Myers <joseph@codesourcery.com>
9449 * elf/elf.h (NT_MIPS_DSP): New macro.
9450 (NT_MIPS_FP_MODE): Likewise.
9452 2018-10-25 Zong Li <zong@andestech.com>
9454 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
9455 name by adding the file extension (.so).
9457 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
9459 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
9460 (test-xfail-ISO11/threads.h/linknamespace,
9461 test-xfail-ISO11/threads.h/conform): Add.
9463 2018-10-24 Joseph Myers <joseph@codesourcery.com>
9465 * math/gen-libm-test.py: Import os.
9466 (ALL_FLOATS_MANUAL): New constant.
9467 (ALL_FLOATS_SUFFIX): Likewise.
9468 (Ulps.all_functions): New function.
9469 (real_all_ulps): Likewise.
9470 (generate_err_table_sub): Likewise.
9471 (generate_err_table): Likewise.
9472 (main): Handle -s and -m options.
9473 * manual/libm-err-tab.pl: Remove.
9474 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
9475 instead of libm-err-tab.pl.
9476 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
9478 * manual/install.texi (Tools for Compilation): Document
9479 requirement for Python to build manual.
9480 * INSTALL: Regenerated.
9482 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
9484 * bits/time64.h: New file.
9485 * include/time.h: Replace internal_time_t with __time64_t.
9486 * posix/bits/types (__time64_t): Add.
9487 * stdlib/Makefile: Add bits/time64.h to includes.
9488 * time/tzfile.c: Replace internal_time_t with __time64_t.
9490 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9492 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
9493 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
9494 __posix_spawn_file_actions_init, __posix_spawnattr_init,
9495 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
9496 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
9498 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
9499 * posix/spawn_faction_addclose.c
9500 (__posix_spawn_file_actions_addclose): Add hidden definition.
9501 * posix/spawn_faction_adddup2.c
9502 (__posix_spawn_file_actions_adddup2): Likewise.
9503 * posix/spawn_faction_destroy.c
9504 (__posix_spawn_file_actions_destroy): Likewise.
9505 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
9507 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
9508 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
9509 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
9511 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
9512 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
9515 2018-10-24 Andreas Schwab <schwab@suse.de>
9518 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
9520 * elf/cache.c (print_cache): Likewise.
9522 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
9524 * bits/timesize.h: New file.
9525 * stdlib/Makefile (headers): Add bits/timesize.h.
9526 * sysdeps/unix/sysv/linux/bits/msq-pad.h
9527 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
9528 * sysdeps/unix/sysv/linux/bits/sem-pad.h
9529 (__SEM_PAD_AFTER_TIME): Likewise.
9530 * sysdeps/unix/sysv/linux/bits/shm-pad.h
9531 (__SHM_PAD_AFTER_TIME): Likewise.
9532 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
9533 (__MSQ_PAD_BEFORE_TIME): Likewise.
9534 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
9535 (__SEM_PAD_BEFORE_TIME): Likewise.
9536 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
9537 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9538 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
9539 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
9540 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
9541 (__MSQ_PAD_BEFORE_TIME): Likewise.
9542 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
9543 (__SEM_PAD_BEFORE_TIME): Likewise.
9544 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
9545 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9546 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
9547 (__MSQ_PAD_BEFORE_TIME): Likewise.
9548 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
9549 (__SEM_PAD_BEFORE_TIME): Likewise.
9550 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
9551 (__SHM_PAD_BEFORE_TIME): Likewise.
9552 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
9553 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9554 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
9556 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
9558 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
9559 USE_RDTSCP is defined.
9560 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
9561 USE_RDTSCP is defined.
9563 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9565 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
9569 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
9570 independently of other flags.
9572 2018-10-23 Florian Weimer <fweimer@redhat.com>
9574 * time/tst-mktime2.c (N_STRINGS): Remove.
9575 (set_timezone): New function.
9576 (spring_forward_gap): Call it. Use FAIL_EXIT1.
9577 (mktime_test1): Report localtime failure and check errno value.
9579 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
9580 (do_test): Remove alarm call. Use set_timezone and array_length.
9582 2018-10-23 Andreas Schwab <schwab@suse.de>
9584 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
9585 (__start_context): Use END instead of PSEUDO_END.
9587 2018-10-22 Joseph Myers <joseph@codesourcery.com>
9589 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9592 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9596 * wcsmbs/c32rtomb.c: New file.
9597 * wcsmbs/mbrtoc32.c: Likewise.
9598 * wcsmbs/tst-c32-state.c: Likewise.
9599 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
9600 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
9601 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
9602 (tests): Add tst-c32-state.
9603 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
9606 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
9608 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
9609 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
9611 2018-10-19 Joseph Myers <joseph@codesourcery.com>
9614 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
9615 pair and return 0 in that case, and use saved character to
9616 interpret following character.
9617 * wcsmbs/tst-c16-surrogate.c: New file.
9618 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
9619 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
9620 Depend on $(gen-locales)
9622 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
9625 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
9626 (struct siginfo_t): Use correct type for si_band.
9628 2018-10-19 Florian Weimer <fweimer@redhat.com>
9631 * resource/bits/types/struct_rusage.h (struct rusage): Update
9632 comment on struct. Remove extraneous field comment.
9634 2018-10-18 David S. Miller <davem@davemloft.net>
9636 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
9637 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
9638 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
9639 sysdep_routines in subdir elf.
9640 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
9641 version for __vdso_clock_gettime.
9642 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
9644 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9645 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9647 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9649 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
9651 * sysdeps/i386/init-arch.h: Removed.
9652 * sysdeps/i386/i586/init-arch.h: Likewise.
9653 * sysdeps/i386/i686/init-arch.h: Likewise.
9654 * sysdeps/i386/i686/hp-timing.h: Likewise.
9655 * sysdeps/x86_64/hp-timing.h: Likewise.
9656 * sysdeps/i386/isa.h: New file.
9657 * sysdeps/i386/i586/isa.h: Likewise.
9658 * sysdeps/i386/i686/isa.h: Likewise.
9659 * sysdeps/x86_64/isa.h: Likewise.
9660 * sysdeps/x86/hp-timing.h: New file.
9661 * sysdeps/x86/init-arch.h: Include <isa.h>.
9663 2018-10-17 Joseph Myers <joseph@codesourcery.com>
9665 * math/libm-test-pow.inc (pow_test_data): Do not allow
9666 divide-by-zero exception for pow(+/- 0, -Inf).
9668 2018-10-17 Zack Weinberg <zackw@panix.com>
9670 * manual/job.texi (Job Control is Optional): Remove node, as
9671 job control has not been optional in quite some time.
9672 (Job Control): Mention briefly that systems older than
9673 POSIX.1-2001 might not support job control.
9674 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
9675 defined on systems conforming to POSIX.1-2001.
9677 2018-10-17 Arjun Shankar <arjun@redhat.com>
9680 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
9682 * (__gconv_read_conf): Mark function static.
9683 * (once): New static variable.
9684 * (__gconv_load_conf): New function.
9685 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
9686 * iconv/gconv_db.c (once): Remove static variable.
9687 * (__gconv_compare_alias): Use __gconv_load_conf instead of
9689 * (__gconv_find_transform): Likewise.
9690 * iconv/tst-iconv-mt.c: New test.
9691 * iconv/Makefile: Add tst-iconv_mt.
9693 2018-10-17 Joseph Myers <joseph@codesourcery.com>
9695 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9697 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
9698 (shmatt_t): Define as __syscall_ulong_t.
9699 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
9700 and [__SHM_PAD_AFTER_TIME].
9701 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
9702 Define shm_segsz and associated padding based on
9703 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
9704 Use __syscall_ulong_t instead of unsigned long int.
9705 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
9707 [__USE_MISC] (struct shm_info): Likewise.
9708 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
9709 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
9710 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
9711 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
9712 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
9713 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9714 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
9715 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
9716 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9717 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9718 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9720 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9722 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
9723 (SHMLBA): Remove macro.
9724 (__getpagesize): Remove function declaration.
9725 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
9727 (SHMLBA): Remove macro.
9728 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
9730 (SHMLBA): Remove macro.
9731 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
9733 (SHMLBA): Remove macro.
9734 (__getpagesize): Remove function declaration.
9735 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
9737 (SHMLBA): Remove macro.
9738 (__getshmlba): Remove function declaration.
9739 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
9740 (SHMLBA): Remove macro.
9741 (__getpagesize): Remove function declaration.
9742 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
9743 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
9744 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9745 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
9746 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
9747 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
9748 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
9749 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
9750 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
9751 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
9753 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
9756 * nptl/tst-mutex10.c: New File.
9757 * nptl/Makefile (tests): Add tst-mutex10.
9758 (tst-mutex10-ENV): New variable.
9759 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
9760 Ensure that elision path is used if elision is available.
9761 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
9763 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
9765 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
9766 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
9767 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
9768 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
9770 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
9771 (__pthread_mutex_cond_lock_adjust): Likewise.
9772 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9774 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
9775 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9776 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9777 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
9779 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9780 Use atomic_load_relaxed and atomic_store_relaxed.
9781 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
9782 Use atomic_store_relaxed.
9784 2018-10-17 Andreas Schwab <schwab@suse.de>
9786 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
9787 * crypt/badsalttest.c (TIMEOUT): Likewise.
9788 * crypt/sha256c-test.c (TIMEOUT): Likewise.
9789 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
9790 * io/test-lfs.c (TIMEOUT): Likewise.
9791 * libio/tst-atime.c (TIMEOUT): Likewise.
9792 * localedata/tst-leaks.c (TIMEOUT): Likewise.
9793 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
9794 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
9795 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
9796 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
9797 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
9798 * nptl/tst-cond11.c (TIMEOUT): Likewise.
9799 * nptl/tst-cond14.c (TIMEOUT): Likewise.
9800 * nptl/tst-cond15.c (TIMEOUT): Likewise.
9801 * nptl/tst-cond24.c (TIMEOUT): Likewise.
9802 * nptl/tst-cond25.c (TIMEOUT): Likewise.
9803 * nptl/tst-kill2.c (TIMEOUT): Likewise.
9804 * nptl/tst-kill3.c (TIMEOUT): Likewise.
9805 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
9806 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
9807 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
9808 * nptl/tst-once2.c (TIMEOUT): Likewise.
9809 * nptl/tst-once3.c (TIMEOUT): Likewise.
9810 * nptl/tst-once4.c (TIMEOUT): Likewise.
9811 * nptl/tst-robust8.c (TIMEOUT): Likewise.
9812 * nptl/tst-robust9.c (TIMEOUT): Likewise.
9813 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
9814 * nptl/tst-sem14.c (TIMEOUT): Likewise.
9815 * nptl/tst-sem6.c (TIMEOUT): Likewise.
9816 * nptl/tst-signal3.c (TIMEOUT): Likewise.
9817 * nptl/tst-spin4.c (TIMEOUT): Likewise.
9818 * nptl/tst-tls3.c (TIMEOUT): Likewise.
9819 * nptl/tst-tls4.c (TIMEOUT): Likewise.
9820 * posix/tst-chmod.c (TIMEOUT): Likewise.
9821 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
9822 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
9823 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
9824 * posix/tst-regex2.c (TIMEOUT): Likewise.
9825 * posix/tst-waitid.c (TIMEOUT): Likewise.
9826 * rt/tst-aio.c (TIMEOUT): Likewise.
9827 * rt/tst-aio10.c (TIMEOUT): Likewise.
9828 * rt/tst-aio4.c (TIMEOUT): Likewise.
9829 * rt/tst-aio5.c (TIMEOUT): Likewise.
9830 * rt/tst-aio6.c (TIMEOUT): Likewise.
9831 * rt/tst-aio64.c (TIMEOUT): Likewise.
9832 * rt/tst-aio7.c (TIMEOUT): Likewise.
9833 * rt/tst-aio9.c (TIMEOUT): Likewise.
9834 * rt/tst-clock.c (TIMEOUT): Likewise.
9835 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
9836 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
9837 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
9838 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
9839 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
9840 * rt/tst-timer4.c (TIMEOUT): Likewise.
9841 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
9842 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
9843 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
9844 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
9845 * time/tst-ftime.c (TIMEOUT): Likewise.
9846 * timezone/tst-tzset.c (TIMEOUT): Likewise.
9848 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
9850 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
9851 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
9854 2018-10-15 Joseph Myers <joseph@codesourcery.com>
9856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9858 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
9859 instead of <bits/wordsize.h>.
9860 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
9861 and [__SEM_PAD_AFTER_TIME].
9862 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
9863 __syscall_ulong_t instead of unsigned long int.
9864 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
9865 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
9866 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
9867 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
9868 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
9869 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
9870 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
9871 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
9872 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9873 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9874 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9876 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
9878 regex: simplify by using intprops.h
9880 * posix/regex_internal.h [_LIBC]: Include intprops.h.
9881 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
9882 intprops.h defines them.
9884 regex: __builtin_expect → __glibc_unlikely
9886 This refactoring was prompted by a problem when the regex code is
9887 used as part of Gnulib and when the builder’s compiler does not grok
9888 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
9889 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
9890 Although this refactoring does not fix the problem directly,
9891 we might as well have Gawk use the now-preferred glibc style for when
9892 __builtin_expect is unavailable.
9893 * posix/regex_internal.h (BE): Remove.
9894 All uses replaced by __glibc_unlikely or __glibc_likely.
9896 2018-10-11 Joseph Myers <joseph@codesourcery.com>
9898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9900 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
9901 instead of <bits/wordsize.h>.
9902 (msgqnum_t): Define as __syscall_ulong_t.
9903 (msglen_t): Likewise.
9904 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
9905 and [__MSQ_PAD_AFTER_TIME].
9906 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
9907 __syscall_ulong_t instead of unsigned long int.
9908 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
9909 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
9910 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
9911 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
9912 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
9913 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
9914 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
9915 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
9916 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9917 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9918 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9920 2018-10-10 Joseph Myers <joseph@codesourcery.com>
9922 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
9923 (struct shmid_ds): Condition padding after time fields on
9925 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
9926 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
9927 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9929 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
9930 (struct semid_ds): Condition padding after time fields on
9932 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
9933 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
9934 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
9935 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9937 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
9938 (struct msqid_ds): Condition padding after time fields on
9940 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
9941 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
9942 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
9943 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9945 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9947 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
9949 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9951 * libio/tst-readline.c (TIMEOUT): Define.
9953 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
9955 mktime fix for Gnulib + coreutils
9957 This fix affects only Gnulib. Problem discovered when
9958 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
9960 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
9961 Do not define since it is not used. Defining an unused static
9962 function prompts a warning from GCC when Coreutils is configured
9963 with --enable-gcc-warnings.
9965 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9967 * benchtests/scripts/compare_bench.py (main): set float type on
9970 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
9973 * localedata/locales/kl_GL (mon): Update, the relative case.
9974 (alt_mon): Add, fill with month names in the nominative case.
9975 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
9976 (d_fmt): Set to "%b %d %Y".
9978 2018-10-04 Joseph Myers <joseph@codesourcery.com>
9980 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
9981 <bits/mman-linux.h>.
9982 (PROT_READ): Don't define here.
9983 (PROT_WRITE): Likewise.
9984 (PROT_EXEC): Likewise.
9985 (PROT_NONE): Likewise.
9986 (PROT_GROWSDOWN): Likewise.
9987 (PROT_GROWSUP): Likewise.
9988 (MAP_SHARED): Likewise.
9989 (MAP_PRIVATE): Likewise.
9990 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
9991 [__USE_MISC] (MAP_FILE): Likewise.
9992 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
9993 [__USE_MISC] (MAP_ANON): Likewise.
9994 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
9995 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
9996 (MCL_CURRENT): Likewise.
9997 (MCL_FUTURE): Likewise.
9998 (MCL_ONFAULT): Likewise.
9999 [__USE_MISC] (MADV_NORMAL): Likewise.
10000 [__USE_MISC] (MADV_RANDOM): Likewise.
10001 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
10002 [__USE_MISC] (MADV_WILLNEED): Likewise.
10003 [__USE_MISC] (MADV_DONTNEED): Likewise.
10004 [__USE_MISC] (MADV_FREE): Likewise.
10005 [__USE_MISC] (MADV_REMOVE): Likewise.
10006 [__USE_MISC] (MADV_DONTFORK): Likewise.
10007 [__USE_MISC] (MADV_DOFORK): Likewise.
10008 [__USE_MISC] (MADV_HWPOISON): Likewise.
10009 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
10010 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
10011 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
10012 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
10013 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
10014 (__MAP_ANONYMOUS): New macro.
10015 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
10016 <bits/mman-linux.h> inclusion.
10017 (MAP_FIXED): Likewise.
10018 (MS_SYNC): Likewise.
10019 (MS_ASYNC): Likewise.
10020 (MS_INVALIDATE): Likewise.
10021 [__USE_MISC] (MADV_MERGEABLE): Likewise.
10022 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
10023 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
10024 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
10025 [__USE_MISC] (MADV_DONTDUMP): Likewise.
10026 [__USE_MISC] (MADV_DODUMP): Likewise.
10027 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
10028 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
10031 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
10033 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
10034 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
10035 Add test-nldbl-redirect.
10036 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
10037 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
10038 $(objpfx)libnldbl_nonshared.a.
10040 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
10042 * support/support.h (support_objdir_elf_ldso): New variable.
10043 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
10044 * support/Makefile (CFLAGS-support_paths.c): Add definition
10045 for OBJDIR_ELF_LDSO_PATH.
10046 * support/test-container.c (main): Search for the ld.so
10047 which is also used by the testsuite.
10049 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
10052 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
10053 should be "sap" rather than "sab".
10054 (day): Fix spelling of Sunday, should be "sapaat" rather than
10057 2018-10-02 Joseph Myers <joseph@codesourcery.com>
10059 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10061 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
10064 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
10065 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
10066 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
10068 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10070 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
10072 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
10074 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
10076 (CFLAGS-elision-unlock.c): Likewise.
10077 (CFLAGS-elision-timed.c): Likewise.
10078 (CFLAGS-elision-trylock.c): Likewise.
10079 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
10081 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10084 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
10085 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
10086 new fd_to_filename interface.
10087 * libio/freopen64.c (freopen64): Likewise.
10088 * libio/tst-memstream.h: New file.
10089 * libio/tst-memstream4.c: Likewise.
10090 * libio/tst-wmemstream4.c: Likewise.
10091 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
10092 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
10093 and remove internal dynamic allocation.
10095 2018-10-01 Joseph Myers <joseph@codesourcery.com>
10097 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
10098 (MREMAP_MAYMOVE): Do not define here.
10099 [__USE_GNU] (MREMAP_FIXED): Likewise.
10100 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
10101 (MREMAP_MAYMOVE): Define here instead.
10102 [__USE_GNU] (MREMAP_FIXED): Likewise.
10103 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
10104 (MREMAP_MAYMOVE): Remove.
10105 [__USE_GNU] (MREMAP_FIXED): Likewise.
10107 2018-09-28 Joseph Myers <joseph@codesourcery.com>
10109 * math/fromfp.h: Do not include <math_private.h>.
10110 * math/s_cacosh_template.c: Likewise.
10111 * math/s_casin_template.c: Likewise.
10112 * math/s_casinh_template.c: Likewise.
10113 * math/s_ccos_template.c: Likewise.
10114 * math/s_cproj_template.c: Likewise.
10115 * math/s_fdim_template.c: Likewise.
10116 * math/s_fmaxmag_template.c: Likewise.
10117 * math/s_fminmag_template.c: Likewise.
10118 * math/s_iseqsig_template.c: Likewise.
10119 * math/s_ldexp_template.c: Likewise.
10120 * math/s_nextdown_template.c: Likewise.
10121 * math/w_log1p_template.c: Likewise.
10122 * math/w_scalbln_template.c: Likewise.
10123 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10124 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10125 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10126 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10127 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10128 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10129 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10130 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10131 * sysdeps/i386/fpu/s_atanl.c: Likewise.
10132 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10133 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10134 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10135 * sysdeps/i386/fpu/s_logbl.c: Likewise.
10136 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10137 * sysdeps/i386/fpu/s_significandl.c: Likewise.
10138 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
10139 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
10140 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10141 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10142 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10143 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10144 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10145 * sysdeps/ieee754/k_standardf.c: Likewise.
10146 * sysdeps/ieee754/k_standardl.c: Likewise.
10147 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10148 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10149 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
10150 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10151 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10152 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10153 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10154 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10155 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10156 * sysdeps/ieee754/s_signgam.c: Likewise.
10157 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10158 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
10159 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
10160 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10161 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10162 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10163 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10164 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10165 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10166 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10167 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10168 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10169 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10170 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10171 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10172 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10173 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10174 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10175 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10176 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10177 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10178 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10179 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10180 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10181 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10182 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10183 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10184 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10185 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10186 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10187 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10188 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10189 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10190 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10191 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10192 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10193 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
10195 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10197 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
10200 * sysdeps/i386/dl-cet.c: Removed.
10201 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
10203 (_dl_runtime_profile_shstk): Likewise.
10204 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
10205 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
10207 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10210 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
10211 do_test_with_invalid_iov): New tests.
10212 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
10213 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
10214 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
10216 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
10217 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
10218 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
10220 2018-09-27 Joseph Myers <joseph@codesourcery.com>
10222 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10223 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
10224 (MATH_REDIRECT_BINARY_ARGS): New macro.
10225 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10226 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
10227 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
10229 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
10230 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10231 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
10232 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10233 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10234 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
10240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
10242 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
10243 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
10244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
10246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
10248 * sysdeps/generic/math_private_calls.h
10249 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
10250 Do not declare and define as an inline function.
10251 * math/divtc3.c (__divtc3): Use copysign functions instead of
10252 __copysign variants.
10253 * math/multc3.c (__multc3): Likewise.
10254 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
10255 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
10256 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10257 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10259 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10260 (__ieee754_yn): Likewise.
10261 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10262 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
10263 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10264 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10265 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
10267 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10268 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10270 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10272 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10274 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10275 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10277 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10278 (__ieee754_ynf): Likewise.
10279 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10280 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10281 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10282 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10284 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10285 (__ieee754_ynl): Likewise.
10286 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10287 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10288 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10290 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10291 (__ieee754_ynl): Likewise.
10292 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
10293 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10294 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10295 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10297 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10299 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
10300 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10301 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
10302 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10303 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10305 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10306 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
10307 using MATH_REDIRECT.
10308 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
10310 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
10311 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10312 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10313 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
10314 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10315 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10316 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
10318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
10319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
10320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
10321 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10322 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10323 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10324 (round): Redirect to __round.
10325 (__roundl): Call round instead of __round.
10326 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
10328 [_ARCH_PWR5X] (__roundf): Likewise.
10329 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
10330 functions instead of __round variants.
10331 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10332 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10334 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10336 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10338 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
10339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
10341 (__ieee754_expl): Call roundl instead of __roundl.
10343 2018-09-27 Andreas Schwab <schwab@suse.de>
10346 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
10347 (do_test): Make st1 static.
10349 2018-09-26 Andreas Schwab <schwab@suse.de>
10352 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
10353 * elf/Makefile (tests): Add tst-unwind-ctor.
10354 (modules-names): Add tst-unwind-ctor-lib.
10355 ($(objpfx)tst-unwind-ctor): Depend on
10356 $(objpfx)tst-unwind-ctor-lib.so.
10358 2018-09-26 Joseph Myers <joseph@codesourcery.com>
10360 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
10361 file. Most contents moved from ....
10362 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
10363 and include <bits/mman-map-flags-generic.h>.
10364 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10365 (sysdep_headers): Add bits/mman-map-flags-generic.h.
10366 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
10367 <bits/mman-map-flags-generic.h>.
10368 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
10369 macros defined in <bits/mman-map-flags-generic.h>.
10370 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
10371 <bits/mman-map-flags-generic.h>.
10372 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
10373 defined in <bits/mman-map-flags-generic.h>.
10375 2018-09-26 Andreas Schwab <schwab@suse.de>
10377 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
10380 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
10381 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10382 Fangrui Song <maskray@google.com>
10385 * config.make.in (have-textrel_ifunc): New define.
10386 * configure.ac: Add check if linker supports textrel relocation with
10388 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
10390 (CFLAGS-tst-ifunc-textrel.c): New rule.
10391 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
10392 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
10393 * elf/tst-ifunc-textrel.c: New file.
10395 2018-09-25 Joseph Myers <joseph@codesourcery.com>
10397 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10398 <bits/procfs-prregset.h>.
10399 (prgregset_t): Define using __prgregset_t.
10400 (prfpregset_t): Define using __prfpregset_t.
10401 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10402 (sysdep_headers): Add bits/procfs-prregset.h.
10403 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
10404 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
10405 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
10406 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
10408 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10409 <bits/procfs-id.h> and <bits/procfs-extra.h>.
10410 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
10412 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10413 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
10414 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
10415 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
10416 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
10417 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
10418 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
10419 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
10420 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
10421 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
10422 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
10423 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
10424 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
10425 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
10426 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
10427 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
10428 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
10429 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
10430 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
10431 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
10432 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
10433 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
10434 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10435 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
10437 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
10438 AArch64 version. Include <bits/procfs.h>.
10439 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10440 (sysdep_headers): Add bits/procfs.h.
10441 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
10442 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
10443 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
10444 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
10445 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
10446 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
10447 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
10448 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
10449 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
10450 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
10451 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
10452 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
10453 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
10454 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
10455 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
10456 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
10457 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
10459 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10461 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
10464 2018-09-25 Arjun Shankar <arjun@redhat.com>
10466 * iconv/gconv_int.h (__gconv_path_elem): Remove.
10467 (__gconv_max_path_elem_len): Likewise.
10468 (__gconv_nmodules): Likewise.
10469 (__gconv_get_path): Likewise.
10470 (path_elem): Move to ...
10471 * iconv/gconv_conf.c: ... here.
10472 (__gconv_get_path): Mark function static.
10473 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
10474 * iconv/gconv_open.c: ... here.
10476 2018-09-24 Andreas Schwab <schwab@suse.de>
10478 * scripts/haveversions.awk: New file.
10479 * Makerules ($(common-objpfx)Versions.def)
10480 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10481 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10483 * Makeconfig ($(common-objpfx)Versions.def)
10484 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10485 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10487 ($(common-objpfx)Versions.mk): New rule. Include it.
10488 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
10489 Emit error if build-obsolete-nsl = yes.
10490 * manual/install.texi (Configuring and compiling): Describe
10491 --enable-obsolete-nsl as unavaiable after version 2.28.
10492 * INSTALL: Regenerate.
10494 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10496 * NEWS: Add note about new TLE support on powerpc64le.
10497 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
10498 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
10500 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
10501 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
10502 * sysdeps/powerpc/powerpc32/sysdep.h,
10503 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
10504 ABORT_TRANSACTION): Remove macros.
10505 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
10506 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
10507 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
10508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
10509 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10510 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
10512 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
10514 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
10517 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
10518 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
10519 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
10520 which is the same as in it_IT.
10521 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
10522 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
10524 2018-09-20 Joseph Myers <joseph@codesourcery.com>
10526 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10527 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
10528 using MATH_REDIRECT.
10529 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
10531 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
10532 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10533 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
10534 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10535 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10536 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
10538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
10539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
10540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
10541 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10542 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10543 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10544 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10545 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
10546 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
10547 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
10548 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10549 (ceil): Redirect to __ceil.
10550 (floor): Redirect to __floor.
10551 (trunc): Redirect to __trunc.
10552 (__truncl): Call trunc instead of __trunc.
10553 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
10555 [_ARCH_PWR5X] (__truncf): Likewise.
10556 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
10557 trunc functions instead of __trunc variants.
10558 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10560 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10562 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10564 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10567 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
10568 [__i586__ || __pentium__].
10569 [__i486__]: Handle explicitly.
10570 (HAS_CPUID): Define to 1 if above macros are undefined.
10571 (HAS_I586): Likewise.
10572 (HAS_I686): Likewise.
10574 2018-09-20 Florian Weimer <fweimer@redhat.com>
10576 * misc/tst-gethostid.c: New file.
10577 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
10578 (tst-gethostid): Link with -ldl.
10580 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
10582 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
10583 value from gethostbyname_r.
10585 2018-09-19 Carlos O'Donell <carlos@redhat.com>
10587 * stdlib/tst-setcontext9.c (f1): Rename to...
10589 (f1b): New function implementing lower half of f1 in alternate stack.
10591 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
10593 Fix mktime localtime offset confusion
10595 * include/time.h (__mktime_internal): The localtime offset is now
10596 of type long int instead of time_t. This is the longstanding type
10597 in glibc, and it is more than enough to represent difference
10598 between localtime and gmtime even if it is 32 bits and time_t is
10599 64. Changing it now will let us avoid an unnecessary change when
10600 time_t is widened to 64 bits on 32-bit platforms.
10601 * time/mktime-internal.h (mktime_offset_t): Now long int.
10603 Merge mktime, timegm from upstream Gnulib
10604 [BZ #23603][BZ #16346]
10605 This fixes some obscure problems with integer overflow.
10606 Although it looks scary, it is almost all a byte-for-byte copy
10607 from Gnulib, and the Gnulib code has been tested reasonably well.
10608 * include/intprops.h: New file, copied from Gnulib.
10609 * include/verify.h, time/mktime-internal.h:
10610 New tiny files, simplified from Gnulib.
10611 * time/mktime.c: Copy from Gnulib. This has the following changes:
10612 Do not include config.h if DEBUG_MKTIME is nonzero.
10613 Include stdbool.h, intprops.h, verify.h.
10614 Include string.h only if needed.
10615 Include stdlib.h on MS-Windows.
10616 Include mktime-internal.h.
10617 (DEBUG_MKTIME): Default to 0, and simplify later uses.
10618 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
10619 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
10620 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
10621 simplify later conditionals; default the others to zero. Use
10622 these conditionals to express only the code needed on the current
10623 platform. In uses of these conditionals, explicitly spell out how
10624 _LIBC affects things, so it’s easier to review from a glibc
10626 (WRAPV): Remove; no longer needed now that we have
10627 systematic overflow checking.
10628 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
10629 compartmentalize tzset issues. Move system-dependent tzsettish
10630 code here from mktime.
10631 (verify): Remove; now done by verify.h. All uses changed.
10632 (long_int): Use a more-conservative definition, to avoid
10634 (SHR): Remove, replacing with ...
10635 (shr): New function, which means we needn’t worry about side
10636 effects in args, and conversion analysis is simpler.
10637 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
10638 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
10639 (time_t_avg, time_t_add_ok): Remove.
10640 (mktime_min, mktime_max): New constants.
10641 (leapyear, isdst_differ): Use bool for booleans.
10642 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
10643 Use long_int, not time_t, for mktime differences.
10644 (long_int_avg): New function, replacing time_t_avg.
10645 INT_ADD_WRAPV replaces time_t_add_ok.
10646 (guess_time_tm): 6th arg is now long_int, not time_t const *.
10648 (convert_time): New function.
10649 (ranged_convert): Use it.
10650 (__mktime_internal): Last arg now points to mktime_offset_t, not
10651 time_t. All uses changed. This is a no-op on glibc, where
10652 mktime_offset_t is always time_t. Use int, not time_t, for UTC
10653 offset guess. Directly check for integer overflow instead of
10654 using a heuristic that works only 99.9...% of the time.
10655 Access *OFFSET only once, to avoid an unlikely race if the
10656 compiler delays a load and if this cascades into a signed integer
10658 (mktime): Move tzsettish code to my_tzset, and move
10659 localtime_offset to within mktime so that it doesn’t
10660 need a separate ifdef.
10661 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
10662 instead of localtime.
10663 * time/timegm.c: Copy from Gnulib. This has the following changes:
10664 Include mktime-internal.h.
10665 [!_LIBC]: Include config.h and time.h. Do not include
10666 timegm.h or time_r.h. Make __mktime_internal a macro,
10667 and include mktime-internal.h to get its declaration.
10668 (timegm): Temporary is now mktime_offset_t, not time_t.
10669 This affects only Gnulib.
10671 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10674 * string/test-strstr.c (pr23637): New function.
10675 (test_main): Add tests with longer needles.
10676 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
10677 * string/strstr.c (AVAILABLE): Likewise.
10679 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10681 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
10683 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10685 * NEWS: Mention pow improvements.
10686 * math/Makefile (type-double-routines): Add e_pow_log_data.
10687 * sysdeps/generic/math_private.h (__exp1): Remove.
10688 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
10689 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
10690 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
10692 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
10693 (exp_inline): Remove.
10694 (__ieee754_exp): Only single double input is handled.
10695 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
10696 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
10697 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
10698 (__pow_log_data): Define.
10699 * sysdeps/ieee754/dbl-64/upow.h: Remove.
10700 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
10701 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
10702 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
10704 (CFLAGS-e_pow-fma4.c): Likewise.
10706 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
10708 Simplify tzfile fstat failure code
10710 * time/tzfile.c (__tzfile_read): Simplify slightly.
10712 Fix tzfile low-memory assertion failure
10714 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
10715 when registering time zone abbreviations.
10717 2018-09-18 Joseph Myers <joseph@codesourcery.com>
10719 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
10720 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
10721 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10722 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10723 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
10724 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
10725 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
10726 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10727 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10729 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
10731 (__ceill): Call ceil instead of __ceil.
10732 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
10734 (__floorl): Call floor instead of __floor.
10736 2018-09-17 Joseph Myers <joseph@codesourcery.com>
10738 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10739 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
10740 using MATH_REDIRECT.
10741 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
10743 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
10744 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10745 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10746 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
10747 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10748 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10749 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10750 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
10751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
10752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
10753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
10754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
10755 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10756 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10759 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
10760 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
10761 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
10763 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
10764 functions instead of __ceil variants.
10765 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10766 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10768 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10770 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10771 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10773 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10774 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10777 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
10779 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
10780 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
10781 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
10782 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
10783 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
10784 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
10785 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
10786 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
10787 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
10788 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
10789 (ILL_BADIADDR): Remove constant.
10790 (TRAP_BRANCH): Likewise.
10791 (TRAP_HWBKPT): Likewise.
10793 2018-09-14 Joseph Myers <joseph@codesourcery.com>
10796 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
10797 Remove [_MIPS_SIM = _ABIN32] conditional case.
10798 (struct elf_prpsinfo): Likewise.
10801 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
10802 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
10803 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
10805 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
10806 elf_prpsinfo): Likewise.
10807 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
10808 elf_prpsinfo): Likewise.
10809 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
10812 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10813 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
10814 using MATH_REDIRECT.
10815 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
10817 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
10818 * sysdeps/alpha/fpu/s_rint.c: Likewise.
10819 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
10820 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10821 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10822 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10823 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
10824 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10825 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10826 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10827 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
10828 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
10829 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
10830 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
10831 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
10832 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10833 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10834 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
10835 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
10837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
10838 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
10839 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
10840 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10841 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10842 * sysdeps/x86_64/fpu/math_private.h: Remove file.
10843 * math/e_scalb.c (invalid_fn): Use rint functions instead of
10845 * math/e_scalbf.c (invalid_fn): Likewise.
10846 * math/e_scalbl.c (invalid_fn): Likewise.
10847 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10849 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10851 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10852 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
10853 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10855 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10857 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10859 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
10860 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
10862 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10863 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
10865 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10866 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
10867 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10868 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
10869 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10870 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
10871 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10872 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
10873 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10874 && !NO_MATH_REDIRECT] (floor): Likewise.
10875 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
10877 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
10878 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10879 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10880 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
10881 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10882 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10883 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10884 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
10885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
10886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
10887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
10888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
10889 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10890 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10891 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10892 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10893 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10894 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10895 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
10897 [_ARCH_PWR5X] (__floorf): Likewise.
10898 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
10900 [__SSE4_1__] (__floorf): Likewise.
10901 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
10902 instead of __floor variants.
10903 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
10904 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
10905 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
10906 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
10907 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
10908 * math/w_tgamma_compat.c (__tgamma): Likewise.
10909 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
10910 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
10911 * math/w_tgammal_compat.c (__tgammal): Likewise.
10912 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
10913 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10915 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10916 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
10917 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10918 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10920 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10921 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
10923 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10924 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
10926 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10927 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
10929 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10930 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10931 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10932 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
10933 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10934 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10936 2018-09-12 Joseph Myers <joseph@codesourcery.com>
10938 * elf/Makefile (modules-names-tests): New variable.
10940 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10942 * NEWS: Mention log2 improvements.
10943 * math/Makefile (type-double-routines): Add e_log2_data.
10944 * sysdeps/i386/fpu/e_log2_data.c: New file.
10945 * sysdeps/ia64/fpu/e_log2_data.c: New file.
10946 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
10947 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
10948 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
10949 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
10950 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
10952 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10954 * NEWS: Mention log improvement.
10955 * math/Makefile (type-double-routines): Add e_log_data.
10956 * sysdeps/i386/fpu/e_log_data.c: New file.
10957 * sysdeps/ia64/fpu/e_log_data.c: New file.
10958 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
10959 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
10960 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
10961 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
10962 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
10963 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
10965 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
10966 Xuepeng Guo <xuepeng.guo@intel.com>
10969 * sysdeps/i386/start.S: Include <sysdep.h>
10970 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
10971 enabled. Add cfi_undefined (eip).
10973 2018-09-11 Joseph Myers <joseph@codesourcery.com>
10975 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
10977 (EXTRACT_WORDS64): Likewise.
10978 (INSERT_WORDS64): Likewise.
10979 (GET_FLOAT_WORD): Likewise.
10980 (SET_FLOAT_WORD): Likewise.
10982 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
10984 (Config.build_gcc): Use --disable-libsanitizer for first GCC
10985 build, but not for second build if --full-gcc. Use
10986 --enable-languages=all for second build if --full-gcc.
10987 (get_parser): Add --full-gcc option.
10988 (main): Update call to Context.
10990 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
10993 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
10994 Single Quotation Mark).
10995 (thousands_sep): Likewise.
10996 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
10997 * localedata/locales/it_IT (thousands_sep): Use ".".
10998 (grouping): Use "3;3".
11000 2018-09-10 Joseph Myers <joseph@codesourcery.com>
11002 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11003 x86_64 and i686 configs using --enable-obsolete-rpc
11004 --enable-obsolete-nsl.
11006 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
11008 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11010 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
11012 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
11013 Increment size of new_argv by one.
11015 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
11018 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
11019 * localedata/locales/ar_IN (d_fmt): Likewise.
11020 * localedata/locales/bhb_IN (d_fmt): Likewise.
11021 * localedata/locales/bho_IN (d_fmt): Likewise.
11022 * localedata/locales/bn_BD (d_fmt): Likewise.
11023 * localedata/locales/bn_IN (d_fmt): Likewise.
11024 * localedata/locales/doi_IN (d_fmt): Likewise.
11025 * localedata/locales/gu_IN (d_fmt): Likewise.
11026 * localedata/locales/hi_IN (d_fmt): Likewise.
11027 * localedata/locales/hne_IN (d_fmt): Likewise.
11028 * localedata/locales/kn_IN (d_fmt): Likewise.
11029 * localedata/locales/mag_IN (d_fmt): Likewise.
11030 * localedata/locales/mai_IN (d_fmt): Likewise.
11031 * localedata/locales/mjw_IN (d_fmt): Likewise.
11032 * localedata/locales/ml_IN (d_fmt): Likewise.
11033 * localedata/locales/mni_IN (d_fmt): Likewise.
11034 * localedata/locales/mr_IN (d_fmt): Likewise.
11035 * localedata/locales/pa_IN (d_fmt): Likewise.
11036 * localedata/locales/raj_IN (d_fmt): Likewise.
11037 * localedata/locales/sat_IN (d_fmt): Likewise.
11038 * localedata/locales/sd_IN (d_fmt): Likewise.
11039 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
11040 * localedata/locales/ta_IN (d_fmt): Likewise.
11041 * localedata/locales/ta_LK (d_fmt): Likewise.
11042 * localedata/locales/tcy_IN (d_fmt): Likewise.
11043 * localedata/locales/ur_IN (d_fmt): Likewise.
11045 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
11046 * localedata/locales/ks_IN (d_fmt): Likewise.
11047 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
11049 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
11050 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
11051 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
11052 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
11054 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
11056 * NEWS: Mention exp and exp2 improvements.
11057 * math/Makefile (libm-support): Remove t_exp.
11058 (type-double-routines): Add math_err and e_exp_data.
11059 * sysdeps/aarch64/libm-test-ulps: Update.
11060 * sysdeps/arm/libm-test-ulps: Update.
11061 * sysdeps/i386/fpu/e_exp_data.c: New file.
11062 * sysdeps/i386/fpu/math_err.c: New file.
11063 * sysdeps/i386/fpu/t_exp.c: Remove.
11064 * sysdeps/ia64/fpu/e_exp_data.c: New file.
11065 * sysdeps/ia64/fpu/math_err.c: New file.
11066 * sysdeps/ia64/fpu/t_exp.c: Remove.
11067 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
11068 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
11069 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
11070 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
11071 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
11072 * sysdeps/ieee754/dbl-64/math_config.h: New file.
11073 * sysdeps/ieee754/dbl-64/math_err.c: New file.
11074 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
11075 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
11076 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
11077 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
11078 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
11079 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
11080 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
11081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11084 2018-09-05 Joseph Myers <joseph@codesourcery.com>
11086 * sysdeps/alpha/fpu/math_private.h: Remove.
11088 * sysdeps/generic/math_private.h
11089 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
11090 Move this inline function ....
11091 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
11092 * include/math.h [!_ISOMAC]: To here....
11094 2018-09-04 Joseph Myers <joseph@codesourcery.com>
11096 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
11098 [!FE_HAVE_ROUNDING_MODES]: And this code ....
11099 * include/fenv.h [!_ISOMAC]: ... to here.
11100 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
11101 (feraiseexcept): Likewise.
11102 * math/fromfp.h: Do not include <fenv_private.h>.
11103 * math/s_cexp_template.c: Likewise.
11104 * math/s_csin_template.c: Likewise.
11105 * math/s_csinh_template.c: Likewise.
11106 * math/s_ctan_template.c: Likewise.
11107 * math/s_ctanh_template.c: Likewise.
11108 * math/s_iseqsig_template.c: Likewise.
11109 * math/w_acos_compat.c: Likewise.
11110 * math/w_acosf_compat.c: Likewise.
11111 * math/w_acosl_compat.c: Likewise.
11112 * math/w_asin_compat.c: Likewise.
11113 * math/w_asinf_compat.c: Likewise.
11114 * math/w_asinl_compat.c: Likewise.
11115 * math/w_j0_compat.c: Likewise.
11116 * math/w_j0f_compat.c: Likewise.
11117 * math/w_j0l_compat.c: Likewise.
11118 * math/w_j1_compat.c: Likewise.
11119 * math/w_j1f_compat.c: Likewise.
11120 * math/w_j1l_compat.c: Likewise.
11121 * math/w_jn_compat.c: Likewise.
11122 * math/w_jnf_compat.c: Likewise.
11123 * math/w_log10_compat.c: Likewise.
11124 * math/w_log10f_compat.c: Likewise.
11125 * math/w_log10l_compat.c: Likewise.
11126 * math/w_log2_compat.c: Likewise.
11127 * math/w_log2f_compat.c: Likewise.
11128 * math/w_log2l_compat.c: Likewise.
11129 * math/w_log_compat.c: Likewise.
11130 * math/w_logf_compat.c: Likewise.
11131 * math/w_logl_compat.c: Likewise.
11132 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11133 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11134 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11135 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11136 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11137 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11138 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11139 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11140 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11141 * sysdeps/ieee754/k_standardl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11144 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11145 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11146 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11147 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11151 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11152 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11154 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11155 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11158 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11159 * math/w_ilogb_template.c: Include <fenv.h> instead of
11161 * math/w_llogb_template.c: Likewise.
11162 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11163 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11165 2018-09-03 Joseph Myers <joseph@codesourcery.com>
11167 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
11168 * math/fromfp.h: Include <fenv_private.h>.
11169 * math/math-narrow.h: Likewise.
11170 * math/s_cexp_template.c: Likewise.
11171 * math/s_csin_template.c: Likewise.
11172 * math/s_csinh_template.c: Likewise.
11173 * math/s_ctan_template.c: Likewise.
11174 * math/s_ctanh_template.c: Likewise.
11175 * math/s_iseqsig_template.c: Likewise.
11176 * math/w_acos_compat.c: Likewise.
11177 * math/w_acosf_compat.c: Likewise.
11178 * math/w_acosl_compat.c: Likewise.
11179 * math/w_asin_compat.c: Likewise.
11180 * math/w_asinf_compat.c: Likewise.
11181 * math/w_asinl_compat.c: Likewise.
11182 * math/w_ilogb_template.c: Likewise.
11183 * math/w_j0_compat.c: Likewise.
11184 * math/w_j0f_compat.c: Likewise.
11185 * math/w_j0l_compat.c: Likewise.
11186 * math/w_j1_compat.c: Likewise.
11187 * math/w_j1f_compat.c: Likewise.
11188 * math/w_j1l_compat.c: Likewise.
11189 * math/w_jn_compat.c: Likewise.
11190 * math/w_jnf_compat.c: Likewise.
11191 * math/w_llogb_template.c: Likewise.
11192 * math/w_log10_compat.c: Likewise.
11193 * math/w_log10f_compat.c: Likewise.
11194 * math/w_log10l_compat.c: Likewise.
11195 * math/w_log2_compat.c: Likewise.
11196 * math/w_log2f_compat.c: Likewise.
11197 * math/w_log2l_compat.c: Likewise.
11198 * math/w_log_compat.c: Likewise.
11199 * math/w_logf_compat.c: Likewise.
11200 * math/w_logl_compat.c: Likewise.
11201 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11202 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11203 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11204 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11206 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11207 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11208 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11209 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11210 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11211 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11212 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11213 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
11214 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11215 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11216 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11217 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11218 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11219 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11220 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11221 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11222 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11223 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11224 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11225 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11226 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11227 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11228 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11229 * sysdeps/ieee754/float128/float128_private.h: Likewise.
11230 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11231 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11232 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11233 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11234 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11235 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11236 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11237 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11238 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11239 * sysdeps/ieee754/k_standardl.c: Likewise.
11240 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11241 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11242 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11243 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11244 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11245 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11246 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11247 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11248 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11249 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11250 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11251 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11252 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11253 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11255 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11256 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11257 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11258 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11259 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11260 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11261 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11262 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11263 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11264 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11265 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11266 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11267 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11268 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11269 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11270 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11271 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11272 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11273 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11274 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11275 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11276 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11277 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11278 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11279 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11280 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11281 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11282 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11283 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11284 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11285 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11286 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11287 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11288 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11289 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11290 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11291 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11292 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11293 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11294 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11295 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11296 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11297 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11298 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11299 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11300 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11301 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11302 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11303 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11304 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11305 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11306 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11307 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11308 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11309 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11310 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11312 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11315 * include/stdio.h (__libc_fatal): Mention newline in comment.
11316 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
11317 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
11318 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11319 * nss/nsswitch.c (__nss_next2): Likewise.
11320 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
11321 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
11322 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
11323 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11324 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
11325 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
11326 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
11327 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
11328 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
11329 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
11330 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
11331 * sysdeps/unix/sysv/linux/netlink_assert_response.c
11332 (__netlink_assert_response): Likewise.
11334 2018-08-31 Joseph Myers <joseph@codesourcery.com>
11336 * conform/glibcconform.py: New file.
11337 * conform/list-header-symbols.py: Likewise.
11338 * conform/list-header-symbols.pl: Remove.
11339 * conform/Makefile (tests-special): Only add linknamespace tests
11341 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
11343 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
11346 * support/Makefile (libsupport-routines): Add
11347 support_copy_file_range and xcopy_file_range.
11348 * support/support.h: Include <sys/types.h>.
11349 (support_copy_file_range): New prototype.
11350 * support/support_copy_file_range.c: New file. Copied and
11351 modified from io/copy_file_range-compat.c.
11352 * support/test-container.c (copy_one_file): Call xcopy_file_rang
11353 instead of copy_file_range.
11354 * support/xcopy_file_range.c: New file.
11355 * support/xunistd.h (xcopy_file_range): New prototype.
11357 2018-08-30 Carlos O'Donell <carlos@redhat.com>
11359 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
11360 xpthread_create and xpthread_join.
11362 2018-08-30 Florian Weimer <fweimer@redhat.com>
11364 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
11366 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
11368 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
11371 2018-08-29 Joseph Myers <joseph@codesourcery.com>
11373 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
11374 and minus_oflow as non-finite.
11376 2018-08-28 Joseph Myers <joseph@codesourcery.com>
11378 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
11379 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
11380 moved to fenv_private.h except for ...
11381 (TOINT_INTRINSICS): Kept in math_private.h.
11382 (roundtoint): Likewise.
11383 (converttoint): Likewise.
11384 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
11385 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11386 * sysdeps/arm/math_private.h: Remove.
11387 * sysdeps/generic/fenv_private.h: New file. Contents moved from
11389 * sysdeps/generic/math_private.h: ... this file. Include
11390 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
11391 Include <fenv_private.h>. Remove functions and macros moved to
11393 * sysdeps/i386/fpu/math_private.h: Remove.
11394 * sysdeps/mips/math_private.h: Move to ....
11395 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
11396 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
11397 [__mips_hard_float] conditional. Include next <fenv_private.h>.
11398 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
11399 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11400 * sysdeps/powerpc/fpu/math_private.h: Do not include
11402 * sysdeps/riscv/rvf/math_private.h: Move to ....
11403 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
11404 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
11406 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
11407 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11408 * sysdeps/sparc/fpu/math_private.h: Remove.
11409 * sysdeps/i386/fpu/fenv_private.h: Move to ....
11410 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
11411 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
11413 * sysdeps/x86_64/fpu/math_private.h: Do not include
11414 <sysdeps/i386/fpu/fenv_private.h>.
11416 2018-08-28 Florian Weimer <fweimer@redhat.com>
11419 * posix/tst-regcomp-truncated.c: New file.
11420 * posix/Makefile (tests): Add it.
11421 (tst-regcomp-truncated.out): Depend on generated locales.
11423 2018-08-28 Florian Weimer <fweimer@redhat.com>
11425 * support/test-container.c (main): Treat unshare failure with
11426 EPERM as an unsupported test.
11428 2018-08-28 Florian Weimer <fweimer@redhat.com>
11431 nscd: Fix use-after-free in addgetnetgrentX and its callers.
11432 * nscd/netgroupcache.c
11433 (addgetnetgrentX): Add tofreep parameter. Do not free
11434 heap-allocated buffer.
11435 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
11436 (addgetnetgrentX_ignore): New function.
11437 (addgetnetgrent): Call it.
11438 (readdgetnetgrent): Likewise.
11440 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11442 * string/memmem.c: Use memcmp for first match.
11444 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
11447 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
11449 2018-08-27 DJ Delorie <dj@redhat.com>
11451 * support/Makefile (others): Don't list programs explicitly as a
11452 dependency of "others".
11454 2018-08-27 Joseph Myers <joseph@codesourcery.com>
11456 * sysdeps/generic/math-tests-trap-force.h: New file.
11457 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
11458 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
11459 * sysdeps/powerpc/math-tests.h: Remove file.
11460 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
11462 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
11463 Torvald Riegel <triegel@redhat.com>
11466 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
11467 Update r to include the set wake-request flag if waiters are
11468 remaining after spinning.
11470 2018-08-27 Joseph Myers <joseph@codesourcery.com>
11472 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
11474 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
11477 regex: fix uninitialized memory access
11478 I introduced this bug into gnulib in commit
11479 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
11480 eventually it was merged into glibc. The bug was found by
11481 project-repo <bugs@feusi.co> and reported here:
11482 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
11483 Diagnosis and draft fix reported by Assaf Gordon here:
11484 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
11485 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
11486 * posix/regex_internal.c (build_wcs_upper_buffer):
11487 Fix bug when mbrtowc returns 0.
11489 2018-08-24 Carlos O'Donell <carlos@redhat.com>
11491 * po/be.po: Update translation.
11493 2018-08-24 DJ Delorie <dj@delorie.com>
11495 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
11498 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11501 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
11502 create temporary files in source tree.
11504 2018-08-24 Joseph Myers <joseph@codesourcery.com>
11506 * sysdeps/generic/math-tests-trap.h: New file.
11507 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
11508 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
11509 * sysdeps/aarch64/math-tests.h: Remove file.
11510 * sysdeps/arm/math-tests.h: Likewise.
11511 * sysdeps/riscv/math-tests.h: Likewise.
11512 * sysdeps/aarch64/math-tests-trap.h: New file.
11513 * sysdeps/arm/math-tests-trap.h: Likewise.
11514 * sysdeps/riscv/math-tests-trap.h: Likewise.
11516 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
11518 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
11519 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
11520 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
11521 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
11522 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
11523 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
11524 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11525 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
11526 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
11527 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11528 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11529 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11530 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11531 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
11532 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
11533 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
11534 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11535 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11537 2018-08-23 Joseph Myers <joseph@codesourcery.com>
11539 * sysdeps/generic/math-tests-exceptions.h: New file.
11540 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
11541 (EXCEPTION_TESTS_float): Do not define here.
11542 (EXCEPTION_TESTS_double): Likewise.
11543 (EXCEPTION_TESTS_long_double): Likewise.
11544 (EXCEPTION_TESTS_float128): Likewise.
11545 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
11547 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
11548 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
11549 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
11550 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
11551 * sysdeps/mips/math-tests.h: Likewise.
11552 * sysdeps/nios2/math-tests.h: Likewise.
11553 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11554 (EXCEPTION_TESTS_float): Do not define here.
11555 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
11556 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
11557 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
11559 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11561 * NEWS: Move optimized sinf entry to 2.29.
11563 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11565 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
11567 2018-08-22 DJ Delorie <dj@redhat.com>
11569 * Makefile (testroot.pristine): New rules to initialize the
11570 test-in-container "testroot".
11571 * Makerules (all-testsuite): Add tests-container.
11572 * Rules (tests-expected): Add tests-container.
11573 (binaries-all-tests): Likewise.
11574 (tests-container): New, run these tests in the testroot container.
11575 * support/Makefile (others): Add *-container, support_paths.c,
11576 xmkdirp, and links-dso-program.
11577 * support/links-dso-program-c.c: New.
11578 * support/links-dso-program.cc: New.
11579 * support/test-container.c: New.
11580 * support/shell-container.c: New.
11581 * support/echo-container.c: New.
11582 * support/true-container.c: New.
11583 * support/xmkdirp.c: New.
11584 * support/xsymlink.c: New.
11585 * support/support_paths.c: New.
11586 * support/support.h: Add support paths prototypes.
11587 * support/xunistd.h: Add xmkdirp () and xsymlink ().
11589 * nss/tst-nss-test3.c: Convert to test-in-container.
11590 * nss/tst-nss-test3.root/: New.
11592 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
11594 regex: port Gnulib code to z/OS POSIX environment
11595 Problem reported by Arnold Robbins in:
11596 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
11597 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
11600 2018-08-22 Joseph Myers <joseph@codesourcery.com>
11602 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
11603 (ROUNDING_TESTS_double): Remove.
11604 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
11605 (ROUNDING_TESTS_double): Remove.
11606 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
11607 (ROUNDING_TESTS_double): Remove.
11608 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
11609 (ROUNDING_TESTS_float): Remove.
11610 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
11611 (ROUNDING_TESTS_float): Remove.
11612 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
11613 (ROUNDING_TESTS_float): Remove.
11614 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
11615 !TEST_MATHVEC here.
11616 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11617 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11619 * sysdeps/generic/math-tests-rounding.h: New file.
11620 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
11621 (ROUNDING_TESTS_float): Do not define here.
11622 (ROUNDING_TESTS_double): Likewise.
11623 (ROUNDING_TESTS_long_double): Likewise.
11624 (ROUNDING_TESTS_float128): Likewise.
11625 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
11626 (ROUNDING_TESTS_double): Undefine before defining.
11627 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
11628 (ROUNDING_TESTS_double): Undefine before defining.
11629 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
11630 (ROUNDING_TESTS_double): Undefine before defining.
11631 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
11632 (ROUNDING_TESTS_float): Undefine before defining.
11633 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
11634 (ROUNDING_TESTS_float): Undefine before defining.
11635 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
11636 (ROUNDING_TESTS_float): Undefine before defining.
11637 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
11638 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
11640 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
11641 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
11642 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
11643 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11644 (ROUNDING_TESTS_float): Do not define here.
11645 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
11646 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
11647 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
11648 (ROUNDING_TESTS_float): Likewise.
11649 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
11650 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
11651 * sysdeps/mips/math-tests.h [__mips_soft_float]
11652 (ROUNDING_TESTS_float): Likewise.
11653 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
11654 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
11655 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
11656 (ROUNDING_TESTS_double): Likewise.
11657 (ROUNDING_TESTS_long_double): Likewise.
11659 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
11661 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
11662 (PF_XDP): New macro.
11663 (AF_XDP): New macro.
11664 (SOL_XDP): New macro.
11666 2018-08-21 Joseph Myers <joseph@codesourcery.com>
11668 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
11669 (TCP_INQ): Likewise.
11670 (TCP_CM_INQ): Likewise.
11671 (TCP_REPAIR_ON): Likewise.
11672 (TCP_REPAIR_OFF): Likewise.
11673 (TCP_REPAIR_OFF_NO_WP): Likewise.
11674 (struct tcp_zerocopy_receive): New type.
11676 2018-08-21 Florian Weimer <fweimer@redhat.com>
11678 * support/support.h (support_descriptor_supports_holes): Declare.
11679 * support/Makefile (libsupport-routines): Add
11680 support_descriptor_supports_holes.
11681 * support/support_descriptor_supports_holes.c: New file.
11682 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
11683 and stop testing if holes are not supported.
11684 * io/test-lfs.c (do_prepare): Likewise.
11685 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
11687 * timezone/tst-tzset.c (create_tz_file): Likewise.
11688 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
11690 (do_prepare): Set it.
11691 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
11693 2018-08-21 Florian Weimer <fweimer@redhat.com>
11696 * Makeconfig (+cflags): Do not sort (and deduplicate).
11698 2018-08-21 Florian Weimer <fweimer@redhat.com>
11700 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
11701 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
11703 2018-08-20 Florian Weimer <fweimer@redhat.com>
11705 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
11706 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
11708 2018-08-20 Joseph Myers <joseph@codesourcery.com>
11710 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
11711 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
11712 and ssi_arch members.
11714 * elf/elf.c (NT_VMCOREDD): New macro.
11715 (AT_MINSIGSTKSZ): Likewise.
11717 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11719 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11720 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
11721 s_cosf-ppc64 and s_cosf-power8.
11722 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
11723 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11724 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11725 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
11727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
11728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
11729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
11730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11732 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
11733 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11735 2018-08-17 Florian Weimer <fweimer@redhat.com>
11737 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11739 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
11741 * malloc/malloc.c (_int_malloc): Additional binning code checks.
11743 2018-08-16 Florian Weimer <fweimer@redhat.com>
11745 * configure.ac: Add --with-nonshared-cflags option.
11746 * config.make.in (extra-nonshared-cflags): Set variable.
11747 * Makeconfig (CFLAGS-.oS): Use it.
11748 * manual/install.texi (Configuring and compiling): Document
11749 --with-nonshared-cflags.
11750 * configure: Regenerate.
11751 * INSTALL: Likewise.
11753 2018-08-16 Florian Weimer <fweimer@redhat.com>
11755 * Makeconfig (ASFLAGS): Always append required assembler flags.
11757 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
11759 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
11760 (malloc_consolidate): Likewise.
11762 2018-08-16 Pochang Chen <johnchen902@gmail.com>
11764 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
11766 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
11768 * benchtests/bench-strlen.c (do_test): Allocate buffers before
11771 * benchtests/bench-strlen.c: Print performance numbers in json.
11773 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11775 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11776 (sysdep_routines): Build strcmp-power9 and strncmp-power9
11777 only for little endian.
11778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11779 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
11780 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
11781 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
11782 Add check for little endian.
11783 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11784 (__strcmp_power9): Add check for little endian.
11785 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
11786 Add check for little endian.
11787 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11788 (__strncmp_power9): Add check for little endian.
11789 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
11790 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
11791 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
11792 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
11793 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
11795 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
11797 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
11798 [!STRLEN](STRLEN): Set to __strlen.
11799 * sysdeps/aarch64/multiarch/strlen.c: New file.
11800 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
11801 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
11802 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
11803 (__libc_ifunc_impl_list): Add strlen.
11804 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
11805 strlen_generic and strlen_asimd.
11807 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11809 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
11810 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
11811 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11813 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11815 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
11817 2018-08-14 Florian Weimer <fweimer@redhat.com>
11820 * include/stdio.h (__vfxprintf): Declare.
11821 * stdio-common/fxprintf.c (__vfxprintf): New function.
11822 (__fxprintf): Call it.
11823 * misc/err.c (convert_and_print): Remove function.
11824 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
11825 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
11826 * misc/Makefile (tests): Add tst-warn-wide.
11827 * misc/tst-warn-wide.c: New file.
11829 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
11830 Szabolcs Nagy <szabolcs.nagy@arm.com>
11832 * NEWS: Mention sinf, cosf, sincosf.
11833 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
11834 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
11835 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
11836 constants rather than including generic sincosf.h.
11837 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
11838 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
11839 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
11840 (reduced_cos): Remove.
11841 (sinf_poly): New function.
11842 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
11844 2018-08-14 Florian Weimer <fweimer@redhat.com>
11848 * nss/nss_files/files-alias.c (get_next_alias): During :include:
11849 processing, bail out if no room, and close the stream before
11851 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
11852 (tst-nss-files-alias-leak): Link with libdl.
11853 (tst-nss-files-alias-leak.out): Depend on nss_files.
11855 * nss/tst-nss-files-alias-leak.c: New file.
11857 2018-08-14 Florian Weimer <fweimer@redhat.com>
11859 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
11860 server_user, stat_user.
11862 2018-08-13 Joseph Myers <joseph@codesourcery.com>
11864 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11866 (io_pgetevents): New syscall.
11869 * manual/install.texi (Configuring and compiling): Do not list
11870 tools used for testing pretty printers here.
11871 (Tools for Compilation): List Python, PExpect and GDB here.
11872 Update descriptions of uses of Perl and Python.
11873 * INSTALL: Regenerate.
11875 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11878 2018-08-13 Florian Weimer <fweimer@redhat.com>
11880 * misc/error.c (error): Add missing va_end call.
11881 (error_at_line): Likewise.
11883 2018-08-13 Florian Weimer <fweimer@redhat.com>
11885 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
11887 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11889 * benchtests/scripts/benchout.schema.json (properties): Add
11892 * benchtests/bench-skeleton.c (main): Add duration and
11893 iterations attributes.
11895 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
11897 regex: Gnulib unibyte RRI uses bytes not chars
11898 Adjust the non-glibc code to agree with what Gawk needs for
11899 rational range interpretation (RRI) for regular expression ranges.
11900 In unibyte locales, Gawk wants ranges to use the underlying byte
11901 rather than the character code point. This change does not affect
11903 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
11904 In unibyte locales, use the byte value rather than
11905 running it through btowc.
11907 2018-08-10 Joseph Myers <joseph@codesourcery.com>
11909 * sysdeps/generic/math-tests-snan.h: New file.
11910 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
11911 (SNAN_TESTS_float): Do not define here.
11912 (SNAN_TESTS_double): Likewise.
11913 (SNAN_TESTS_long_double): Likewise.
11914 (SNAN_TESTS_float128): Likewise.
11915 * sysdeps/i386/fpu/math-tests-snan.h: New file.
11916 * sysdeps/i386/fpu/math-tests.h: Remove file.
11917 * sysdeps/ia64/math-tests-snan.h: New file.
11918 * sysdeps/ia64/math-tests.h: Remove file.
11919 * sysdeps/x86/math-tests.h: Likewise.
11920 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
11922 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11923 Szabolcs Nagy <szabolcs.nagy@arm.com>
11925 * math/Makefile: Add s_sincosf_data.c.
11926 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
11927 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
11928 (sincosf_poly): Likewise.
11929 (reduce_small): Likewise.
11930 (reduce_large): Likewise.
11931 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
11932 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
11933 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
11934 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
11936 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11937 Szabolcs Nagy <szabolcs.nagy@arm.com>
11939 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
11940 (converttoint): Use lround.
11941 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
11942 document the semantics when TOINT_INTRINSICS is set.
11943 (converttoint): Likewise.
11944 (TOINT_RINT): Remove.
11945 (TOINT_SHIFT): Remove.
11946 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
11949 2018-08-10 Florian Weimer <fweimer@redhat.com>
11952 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
11954 (__old_getdents64): Use getdents64. Convert entries without
11956 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
11957 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
11958 tst-readdir64-compat.
11960 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11962 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
11965 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11967 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
11968 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
11969 code to s390x-mcount.h and #include it.
11970 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
11971 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11974 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11976 * stdlib/Versions: Remove __fentry__.
11977 * sysdeps/i386/Versions: Add __fentry__.
11978 * sysdeps/x86_64/Versions: Add __fentry__.
11980 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11982 * sysdeps/s390/Makefile: Register the new tests.
11983 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
11984 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
11985 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
11986 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
11987 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
11988 * sysdeps/s390/tst-dl-runtime.c: New file.
11990 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11992 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11995 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11997 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
12000 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12002 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12005 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12007 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12010 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12012 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12013 Use symbolic offsets for stack variables.
12015 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12017 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
12018 Use symbolic offsets for stack variables.
12020 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12022 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12023 Use symbolic offsets for stack variables.
12025 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12027 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12028 Use symbolic offsets for stack variables.
12030 2018-08-09 Joseph Myers <joseph@codesourcery.com>
12032 * math/gen-libm-test.py: New file.
12033 * math/gen-libm-test.pl: Remove.
12034 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
12035 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
12037 ($(libm-test-c-noauto-obj)): Likewise.
12038 ($(libm-test-c-auto-obj)): Likewise.
12039 ($(libm-test-c-narrow-obj)): Likewise.
12040 (regen-ulps): Likewise.
12041 * math/README.libm-test: Update references to gen-libm-test.pl.
12042 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
12043 referencing gen-libm-test.pl.
12044 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
12045 * math/libm-test-support.c: Likewise.
12046 * math/libm-test-support.h: Likewise.
12047 * sysdeps/generic/libm-test-ulps: Likewise.
12049 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
12051 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
12054 2018-08-08 Joseph Myers <joseph@codesourcery.com>
12056 * math/libm-test-nextdown.inc (do_test): Move comment to ....
12057 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
12059 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
12061 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
12063 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
12064 __pthread_setspecific): Add hidden proto.
12065 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
12066 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
12068 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12070 * benchtests/bench-string.h (buf1_size, buf2_size): New
12072 (init_sizes): New function.
12073 (test_init): Use it.
12074 (alloc_buf, exit_error): New functions.
12075 (alloc_bufs): Use ALLOC_BUF.
12076 (realloc_bufs): Remove.
12077 * benchtests/bench-memcmp.c (do_test): Adjust.
12078 * benchtests/bench-memset-large.c (do_test): Likewise.
12079 * benchtests/bench-memset-walk.c (do_test): Likewise.
12080 * benchtests/bench-memset.c (do_test): Likewise.
12081 * benchtests/bench-strncmp.c (do_test): Likewise.
12083 2018-08-06 Andreas Schwab <schwab@suse.de>
12085 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
12086 of CONST_THREAD_AREA.
12088 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
12090 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
12091 (STATE_SAVE_MASK): Likewise.
12092 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
12093 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
12094 (STATE_SAVE_MASK): Likewise.
12095 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
12096 instead of <cpu-features.h>.
12098 2018-08-03 DJ Delorie <dj@redhat.com>
12100 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
12101 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
12103 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
12105 2018-08-03 Joseph Myers <joseph@codesourcery.com>
12107 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
12108 after TEST_* calls.
12109 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
12110 * math/libm-test-logb.inc (logb_test_data): Likewise.
12112 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
12114 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
12115 * string/strstr.c (AVAILABLE): Likewise.
12117 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12119 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
12121 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
12122 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
12123 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
12125 2018-08-03 Carlos O'Donell <carlos@redhat.com>
12127 * po/be.po: Update translation.
12129 * po/be.po: Update translation.
12131 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12133 * sysdeps/x86/cpu-features-offsets.sym
12134 (rtld_global_ro_offsetof): Removed.
12135 (CPU_FEATURES_SIZE): Likewise.
12136 (CPUID_OFFSET): Likewise.
12137 (CPUID_SIZE): Likewise.
12138 (CPUID_EAX_OFFSET): Likewise.
12139 (CPUID_EBX_OFFSET): Likewise.
12140 (CPUID_ECX_OFFSET): Likewise.
12141 (CPUID_EDX_OFFSET): Likewise.
12142 (FAMILY_OFFSET): Likewise.
12143 (MODEL_OFFSET): Likewise.
12144 (FEATURE_OFFSET): Likewise.
12145 (FEATURE_SIZ): Likewise.
12146 (COMMON_CPUID_INDEX_1): Likewise.
12147 (COMMON_CPUID_INDEX_7): Likewise.
12148 (FEATURE_INDEX_1): Likewise.
12149 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
12151 2018-08-02 Carlos O'Donell <carlos@redhat.com>
12153 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
12154 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
12155 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
12156 (install-locales): Depend on install-locale-archive.
12157 (install-locale-archive): Define.
12158 (install-locale-files): Define.
12159 (build-one-locale): Define macro.
12160 * manual/install.texi (Running make install): Document.
12161 * manual/INSTALL: Regenerate.
12163 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
12165 * benchtests/scripts/compare_strings.py: Import traceback.
12166 (parse_file): Pretty-print error.
12168 * NEWS: Mention the change.
12169 * elf/dl-tunables.list: Rename tune namespace to cpu.
12170 * sysdeps/powerpc/dl-tunables.list: Likewise.
12171 * sysdeps/x86/dl-tunables.list: Likewise.
12172 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
12174 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
12175 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
12176 * manual/README.tunables: Likewise.
12177 * manual/tunables.texi: Likewise.
12178 * sysdeps/powerpc/cpu-features.c: Likewise.
12179 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
12180 (init_cpu_features): Likewise.
12181 * sysdeps/x86/cpu-features.c: Likewise.
12182 * sysdeps/x86/cpu-features.h: Likewise.
12183 * sysdeps/x86/cpu-tunables.c: Likewise.
12184 * sysdeps/x86_64/Makefile: Likewise.
12185 * sysdeps/x86/dl-cet.c: Likewise.
12187 2018-08-02 Joseph Myers <joseph@codesourcery.com>
12190 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
12191 [__mips_hard_float].
12192 (FE_UNDERFLOW): Likewise.
12193 (FE_OVERFLOW): Likewise.
12194 (FE_DIVBYZERO): Likewise.
12195 (FE_INVALID): Likewise.
12196 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
12197 (FE_TOWARDZERO): Define only if [__mips_hard_float].
12198 (FE_UPWARD): Likewise.
12199 (FE_DOWNWARD): Likewise.
12200 (__FE_UNDEFINED): Define if [!__mips_hard_float]
12201 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
12202 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
12203 [__mips_hard_float].
12204 (FP_ROUNDMODE): Likewise.
12205 (FP_RND_NEAREST): Likewise.
12206 (FP_RND_ZERO): Likewise.
12207 (FP_RND_PINF): Likewise.
12208 (FP_RND_MINF): Likewise.
12209 (FP_EX_INVALID): Likewise.
12210 (FP_EX_OVERFLOW): Likewise.
12211 (FP_EX_UNDERFLOW): Likewise.
12212 (FP_EX_DIVZERO): Likewise.
12213 (FP_EX_INEXACT): Likewise.
12214 (FP_INIT_ROUNDMODE): Likewise.
12215 * sysdeps/mips/nofpu/fesetenv.c: New file.
12216 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
12218 2018-08-01 Joseph Myers <joseph@codesourcery.com>
12220 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
12221 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
12222 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
12223 conditional on [FE_UPWARD].
12225 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
12227 regex: fix memory leak in Gnulib
12228 Problem and fix reported by Assaf Gordon in:
12229 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
12230 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
12231 range_ends members too, as they are defined in 'struct
12232 re_charset_t' even if not _LIBC. This affects only Gnulib.
12234 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
12236 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
12238 (get_common_indices): This.
12239 (init_cpu_features): Updated.
12241 2018-08-01 Joseph Myers <joseph@codesourcery.com>
12243 * sysdeps/generic/math-tests-snan-payload.h: New file.
12244 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
12245 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
12246 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
12247 * sysdeps/generic/math-tests.h: Include
12248 <math-tests-snan-payload.h>.
12249 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12250 * sysdeps/hppa/math-tests.h: Remove file.
12251 * sysdeps/mips/math-tests.h [!__mips_nan2008]
12252 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12253 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
12256 * sysdeps/generic/math-tests-snan-cast.h: New file.
12257 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
12258 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
12259 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
12260 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
12262 2018-08-01 Carlos O'Donel <carlos@redhat.com>
12264 * version.h (RELEASE): Set to "development".
12265 (VERSION): Set to "2.28.9000".
12266 * NEWS (2.29): New section.
12268 * version.h (RELEASE): Set to "stable".
12269 (VERSION): Set to "2.28".
12270 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
12271 * NEWS: Add the list of bugs fixed in 2.28.
12273 * po/ca.po: Update to latest version.
12274 * po/cs.po: Likewise
12275 * po/da.po: Likewise
12276 * po/el.po: Likewise
12277 * po/eo.po: Likewise
12278 * po/es.po: Likewise
12279 * po/fi.po: Likewise
12280 * po/fr.po: Likewise
12281 * po/gl.po: Likewise
12282 * po/hu.po: Likewise
12283 * po/ia.po: Likewise
12284 * po/id.po: Likewise
12285 * po/it.po: Likewise
12286 * po/ja.po: Likewise
12287 * po/ko.po: Likewise
12288 * po/lt.po: Likewise
12289 * po/nb.po: Likewise
12290 * po/nl.po: Likewise
12291 * po/pt_BR.po: Likewise
12292 * po/ru.po: Likewise
12293 * po/rw.po: Likewise
12294 * po/sk.po: Likewise
12295 * po/sl.po: Likewise
12296 * po/tr.po: Likewise
12297 * po/zh_CN.po: Likewise
12298 * po/zh_TW.po: Likewise
12300 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12302 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
12304 (init): ... before initializing libpthread.
12306 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
12307 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
12308 (__mach_setup_tls): ... new function.
12309 (mach_setup_tls): New alias.
12310 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
12311 __mach_setup_thread.
12312 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
12313 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
12314 * mach/Versions [libc] (mach_setup_tls): Add symbol.
12315 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
12317 2018-07-31 Carlos O'Donell <carlos@redhat.com>
12319 * manual/install.texi: Update versions.
12320 * INSTALL: Regenerate.
12322 * manual/contrib.texi (Contributors): Update contributions.
12324 2018-07-31 Carlos O'Donell <carlos@redhat.com>
12326 * po/be.po: Update translations.
12328 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12330 * sysdeps/sh/libm-test-ulps: Update.
12332 2018-07-30 Carlos O'Donell <carlos@redhat.com>
12334 * po/bg.po: Update translations.
12335 * po/de.po: Likewise.
12336 * po/hr.po: Likewise.
12337 * po/pt_BR.po: Likewise.
12338 * po/sv.po: Likewise.
12339 * po/vi.po: Likewise.
12341 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12344 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12345 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
12346 (CFLAGS-tst-cet-property-1.o): New.
12347 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
12348 ($(objpfx)tst-cet-property-2): Likewise.
12349 ($(objpfx)tst-cet-property-2.out): Likewise.
12350 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
12351 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
12352 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
12353 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
12354 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
12356 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12359 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
12361 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12363 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
12364 __sbrk): Do not set attribute_hidden.
12365 * sysdeps/mach/hurd/not-errno.h: New file.
12366 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12367 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
12369 2018-07-27 Carlos O'Donell <carlos@redhat.com>
12371 * po/uk.po: Update translations.
12372 * po/cs.po: Likewise.
12373 * po/pl.po: Likewise.
12375 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
12377 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
12378 parse beyond the note end.
12380 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12382 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
12383 kernel does not support OFD locks.
12384 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
12386 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12388 * sysdeps/mach/hurd/Versions (libc): Make __access and
12389 __access_noerrno external so they can override the ld symbols.
12390 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
12391 __writev, __open64, __access_noerrno extern so they can be overrided.
12392 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
12393 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12395 2018-07-26 Carlos O'Donell <carlos@redhat.com>
12397 * po/libc.pot: Regenerate.
12399 2018-07-26 Joseph Myers <joseph@codesourcery.com>
12401 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
12403 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12406 * sysdeps/x86/cpu-features.c (get_extended_indices): New
12408 (init_cpu_features): Call get_extended_indices for both Intel
12410 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
12411 Remove "for AMD" comment.
12413 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12416 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
12417 COMMON_CPUID_INDEX_80000001.
12419 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
12421 * string/tst-xbzero-opt.c (use_test_buffer): New function.
12422 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
12424 2018-07-26 Florian Weimer <fweimer@redhat.com>
12426 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
12427 aliases for symbols not in the implementation namespace.
12429 2018-07-25 Carlos O'Donell <carlos@redhat.com>
12432 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
12433 lowercase in LATIN script.
12434 * localedata/Makefile (test-input): Add en_US.UTF-8.
12435 * localedata/en_US.UTF-8.in: New file.
12436 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
12437 and restore old tests.
12438 * posix/tst-regexloc.c (do_test): Add back range expression test.
12440 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12442 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
12444 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12446 * nptl/threads.h: Move to ...
12447 * sysdeps/nptl/threads.h: ... here.
12448 * sysdeps/hurd/stdc-predef.h: New file.
12450 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12452 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12453 tst-cet-setcontext-1 if CET is enabled.
12454 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
12455 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
12457 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12459 * include/threads.h: Move to ...
12460 * sysdeps/nptl/threads.h: ... here.
12461 * sysdeps/htl/threads.h: New file.
12462 * conform/Makefile (linknamespace-libs-ISO11): Use
12463 static-thread-library instead of linking libpthread.
12464 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
12466 2018-07-25 Florian Weimer <fweimer@redhat.com>
12468 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
12469 nanoseconds into seconds.
12470 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
12471 (do_test): Likewise.
12472 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
12473 (do_test): Likewise. Avoid nanosecond overflow and spurious
12474 timeouts due to system load.
12475 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
12476 (child_wait): Increment it.
12477 (do_test): Wait as long as necessary until all expected threads
12480 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
12481 H.J. Lu <hongjiu.lu@intel.com>
12483 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
12485 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
12486 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
12487 (__push___start_context): New.
12488 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
12490 (__getcontext): Record the current shadow stack base. Save the
12491 caller's shadow stack pointer and base.
12492 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
12493 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
12494 (__push___start_context): New prototype.
12495 (__makecontext): Call __push___start_context to allocate a new
12496 shadow stack, push __start_context onto the new stack as well
12497 as the new shadow stack.
12498 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
12500 (__setcontext): Restore the target shadow stack.
12501 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
12503 (__swapcontext): Record the current shadow stack base. Save
12504 the caller's shadow stack pointer and base. Restore the target
12506 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12507 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
12508 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
12510 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12512 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
12513 tst-setcontext8 and tst-setcontext9.
12514 * stdlib/tst-setcontext6.c: New file.
12515 * stdlib/tst-setcontext7.c: Likewise.
12516 * stdlib/tst-setcontext8.c: Likewise.
12517 * stdlib/tst-setcontext9.c: Likewise.
12519 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12521 * stdlib/Makefile ((tests): Add tst-setcontext5.
12522 * stdlib/tst-setcontext5.c: New file.
12524 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12526 * stdlib/Makefile (tests): Add tst-setcontext4.
12527 * stdlib/tst-setcontext4.c: New file.
12529 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12531 * stdlib/Makefile (tests): Add tst-swapcontext1.
12532 * stdlib/tst-swapcontext1.c: New test.
12534 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12536 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
12537 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
12538 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
12539 and tst-cet-legacy-4c.
12540 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
12541 and tst-cet-legacy-mod-4.
12542 (CFLAGS-tst-cet-legacy-2.c): New.
12543 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
12544 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
12545 (CFLAGS-tst-cet-legacy-3.c): Likewise.
12546 (CFLAGS-tst-cet-legacy-4.c): Likewise.
12547 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
12548 ($(objpfx)tst-cet-legacy-1): Likewise.
12549 ($(objpfx)tst-cet-legacy-2): Likewise.
12550 ($(objpfx)tst-cet-legacy-2.out): Likewise.
12551 ($(objpfx)tst-cet-legacy-2a): Likewise.
12552 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
12553 ($(objpfx)tst-cet-legacy-4): Likewise.
12554 ($(objpfx)tst-cet-legacy-4.out): Likewise.
12555 ($(objpfx)tst-cet-legacy-4a): Likewise.
12556 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
12557 (tst-cet-legacy-4a-ENV): Likewise.
12558 ($(objpfx)tst-cet-legacy-4b): Likewise.
12559 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
12560 (tst-cet-legacy-4b-ENV): Likewise.
12561 ($(objpfx)tst-cet-legacy-4c): Likewise.
12562 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
12563 (tst-cet-legacy-4c-ENV): Likewise.
12564 * sysdeps/x86/tst-cet-legacy-1.c: New file.
12565 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
12566 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
12567 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
12568 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
12569 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
12570 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
12571 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
12572 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
12573 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
12574 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
12576 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12578 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12579 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12581 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12582 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12585 2018-07-25 Andreas Schwab <schwab@suse.de>
12588 * locale/weightwc.h (findidx): Handle the case where usrc is a
12589 prefix of cp but one character too short.
12591 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12593 * NEWS: Add ISO C threads addition.
12595 2018-07-24 Florian Weimer <fweimer@redhat.com>
12597 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12598 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
12599 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
12602 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12604 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
12605 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
12606 <sys/prctl.h> and <asm/prctl.h>.
12607 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
12608 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
12610 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
12611 ARCH_CET_LEGACY_BITMAP.
12612 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
12613 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
12614 * sysdeps/x86/libc-start.c: Include <startup.h>.
12616 2018-07-24 Florian Weimer <fweimer@redhat.com>
12618 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
12619 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
12621 2018-07-24 Rical Jasan <rj@2c3t.io>
12622 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12623 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12626 * manual/debug.texi: Update adjacent chapter name.
12627 * manual/probes.texi: Likewise.
12628 * manual/threads.texi (ISO C Threads): New section.
12629 (POSIX Threads): Convert to a section.
12631 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12632 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12635 * nptl/Makefile (tests): Add new test files.
12636 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
12637 * nptl/tst-cnd-basic.c: Likewise.
12638 * nptl/tst-cnd-broadcast.c: Likewise.
12639 * nptl/tst-cnd-timedwait.c: Likewise.
12640 * nptl/tst-mtx-basic.c: Likewise.
12641 * nptl/tst-mtx-recursive.c: Likewise.
12642 * nptl/tst-mtx-timedlock.c: Likewise.
12643 * nptl/tst-mtx-trylock.c: Likewise.
12644 * nptl/tst-thrd-basic.c: Likewise.
12645 * nptl/tst-thrd-detach.c: Likewise.
12646 * nptl/tst-thrd-sleep.c: Likewise.
12647 * nptl/tst-tss-basic.c: Likewise.
12649 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12652 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12653 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
12655 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12656 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12657 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12658 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12659 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12660 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12661 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12662 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12663 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12664 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12665 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12666 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
12673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12674 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12675 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12676 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12677 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12678 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12679 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12680 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12681 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12682 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
12683 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
12684 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
12685 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
12686 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
12688 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12689 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12690 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12691 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12692 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12693 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12694 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12695 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12696 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12697 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12698 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12699 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12706 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12707 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12708 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12709 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12710 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12711 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12712 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12713 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12716 * conform/data/threads.h-data (thread_local): New macro.
12717 (TSS_DTOR_ITERATIONS): Likewise.
12719 (tss_dtor_t): Likewise.
12720 (tss_create): New function.
12721 (tss_get): Likewise.
12722 (tss_set): Likewise.
12723 (tss_delete): Likewise.
12724 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
12725 tss_get, and tss_set objects.
12726 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12727 * nptl/tss_create.c: New file.
12728 * nptl/tss_delete.c: Likewise.
12729 * nptl/tss_get.c: Likewise.
12730 * nptl/tss_set.c: Likewise.
12731 * sysdeps/nptl/threads.h (thread_local): New define.
12732 (TSS_DTOR_ITERATIONS): Likewise.
12733 (tss_t): New typedef.
12734 (tss_dtor_t): Likewise.
12735 (tss_create): New prototype.
12736 (tss_get): Likewise.
12737 (tss_set): Likewise.
12738 (tss_delete): Likewise.
12741 * conform/data/threads.h-data (cnd_t): New type.
12742 (cnd_init): New function.
12743 (cnd_signal): Likewise.
12744 (cnd_broadcast): Likewise.
12745 (cnd_wait): Likewise.
12746 (cnd_timedwait): Likewise.
12747 (cnd_destroy): Likewise.
12748 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
12749 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
12751 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12752 * nptl/cnd_broadcast.c: New file.
12753 * nptl/cnd_destroy.c: Likewise.
12754 * nptl/cnd_init.c: Likewise.
12755 * nptl/cnd_signal.c: Likewise.
12756 * nptl/cnd_timedwait.c: Likewise.
12757 * nptl/cnd_wait.c: Likewise.
12758 * sysdeps/nptl/threads.h (cnd_t): New type.
12759 (cnd_init): New prototype.
12760 (cnd_signa): Likewise.
12761 (cnd_broadcast): Likewise.
12762 (cnd_wait): Likewise.
12763 (cnd_timedwait): Likewise.
12764 (cnd_destroy): Likewise.
12767 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
12768 (once_flag): New type.
12769 (call_once): New function.
12770 * nptl/Makefile (libpthread-routines): Add call_once object.
12771 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
12772 * nptl/call_once.c: New file.
12773 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
12774 (once_flag): New type.
12775 (call_once): New prototype.
12778 * conform/data/threads.h-data (mtx_plain): New constant.
12779 (mtx_recursive): Likewise.
12780 (mtx_timed): Likewise.
12782 (mtx_init): New function.
12783 (mtx_lock): Likewise.
12784 (mtx_timedlock): Likewise.
12785 (mtx_trylock): Likewise.
12786 (mtx_unlock): Likewise.
12787 (mtx_destroy): Likewise.
12788 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
12789 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
12790 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
12791 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
12792 * nptl/mtx_destroy.c: New file.
12793 * nptl/mtx_init.c: Likewise.
12794 * nptl/mtx_lock.c: Likewise.
12795 * nptl/mtx_timedlock.c: Likewise.
12796 * nptl/mtx_trylock.c: Likewise.
12797 * nptl/mtx_unlock.c: Likewise.
12798 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
12799 (mtx_recursive): Likewise.
12800 (mtx_timed): Likewise.
12802 (mtx_init): New prototype.
12803 (mtx_lock): Likewise.
12804 (mtx_timedlock): Likewise.
12805 (mtx_trylock): Likewise.
12806 (mtx_unlock): Likewise.
12807 (mtx_destroy): Likewise.
12810 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
12811 (linknamespace-libs-ISO11): Add libpthread.a.
12812 * conform/data/threads.h-data: New file: add C11 thrd_* types and
12814 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
12815 * nptl/Makefile (headers): Add threads.h.
12816 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
12817 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
12819 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
12820 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
12821 thrd_join, thrd_sleep, and thrd_yield symbols.
12822 * nptl/descr.h (struct pthread): Add c11 field.
12823 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
12824 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
12825 routine with expected function prototype.
12826 (__pthread_create_2_1): Add C11 threads check based on attribute
12828 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
12829 * nptl/thrd_create.c: New file.
12830 * nptl/thrd_current.c: Likewise.
12831 * nptl/thrd_detach.c: Likewise.
12832 * nptl/thrd_equal.c: Likewise.
12833 * nptl/thrd_exit.c: Likewise.
12834 * nptl/thrd_join.c: Likewise.
12835 * nptl/thrd_priv.h: Likewise.
12836 * nptl/thrd_sleep.c: Likewise.
12837 * nptl/thrd_yield.c: Likewise.
12838 * include/threads.h: Likewise.
12840 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12842 * bits/indirect-return.h: New file.
12843 * misc/sys/cdefs.h (__glibc_has_attribute): New.
12844 * sysdeps/x86/bits/indirect-return.h: Likewise.
12845 * stdlib/Makefile (headers): Add bits/indirect-return.h.
12846 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
12847 (swapcontext): Add __INDIRECT_RETURN.
12848 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
12849 (prepare_test_buffer): Use it.
12851 2018-07-24 Andreas Schwab <schwab@suse.de>
12854 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
12855 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
12857 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12859 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
12860 Redefine if shadow stack is enabled.
12861 (SYSCALL_ERROR_LABEL): Likewise.
12862 (__vfork): Pop shadow stack and jump back to to caller directly
12863 when shadow stack is in use.
12864 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
12865 Redefine if shadow stack is enabled.
12866 (SYSCALL_ERROR_LABEL): Likewise.
12867 (__vfork): Pop shadow stack and jump back to to caller directly
12868 when shadow stack is in use.
12870 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12872 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
12875 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
12878 2018-07-20 Joseph Myers <joseph@codesourcery.com>
12880 * scripts/build-many-glibcs.py (Context.checkout): Default
12881 binutils version to 2.31 branch.
12883 2018-07-20 Zong Li <zong@andestech.com>
12885 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
12886 URL of gcc's tarball.
12888 2018-07-20 Florian Weimer <fweimer@redhat.com>
12891 * posix/regcomp.c (build_equiv_class): When comparing weights, do
12892 not compare an extra byte after the end of the weights.
12894 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12896 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
12898 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
12900 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
12901 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
12902 * scripts/check-execstack.awk: Consider `xfail' variable containing a
12903 list of libraries whose stack executability is expected.
12904 * elf/Makefile ($(objpfx)check-execstack.out): Pass
12905 $(check-execstack-xfail) to check-execstack.awk through `xfail'
12907 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
12908 libc.so libpthread.so.
12910 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
12912 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
12914 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
12916 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
12918 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
12920 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12922 * benchtests/scripts/compare_bench.py (__main__): use the argparse
12923 library to improve command line parsing.
12924 (__main__): make schema file as optional parameter (--schema),
12925 defaulting to benchtests/scripts/benchout.schema.json.
12926 (main): move out of the parsing stuff to __main_ and leave it
12927 only as caller of main comparison functions.
12929 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
12931 * NEWS: Add a note for Intel CET status.
12932 * manual/install.texi: Likewise.
12933 * INSTALL: Regenerated.
12935 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
12938 * localedata/locales/oc_FR (mon): Rename to...
12939 (alt_mon): This, then update October (typo fix).
12940 (mon): New content (genitive case, month names preceded by
12944 * localedata/locales/oc_FR (abday): Update all items.
12945 (day): Update Wednesday and Saturday (typo fixes).
12946 (abmon): Update all items, except May.
12947 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
12948 (LC_IDENTIFICATION): Bump the revision number and date.
12949 Keep the "category" entries in alphabetic order.
12950 (LC_ADDRESS): Remove no longer needed comment.
12951 (LC_COLLATE): Use “copy "ca_ES"”.
12952 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
12955 2018-07-18 Joseph Myers <joseph@codesourcery.com>
12957 * grp/tst_fgetgrent.c: Include <unistd.h>.
12958 (main): Use mkstemp instead of tmpnam.
12959 * io/test-utime.c (main): Likewise.
12960 * posix/annexc.c (macrofile): Change to modifiable array.
12961 (main): Remove macrofile here.
12962 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12964 (check_header): Do not remove macrofile here.
12965 * posix/bug-getopt1.c: Include <stdlib.h>.
12966 (do_test): Use mkstemp instead of tmpnam.
12967 * posix/bug-getopt2.c: Include <stdlib.h>.
12968 (do_test): Use mkstemp instead of tmpnam.
12969 * posix/bug-getopt3.c: Include <stdlib.h>.
12970 (do_test): Use mkstemp instead of tmpnam.
12971 * posix/bug-getopt4.c: Include <stdlib.h>.
12972 (do_test): Use mkstemp instead of tmpnam.
12973 * posix/bug-getopt5.c: Include <stdlib.h>.
12974 (do_test): Use mkstemp instead of tmpnam.
12975 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
12976 (main): Use mkstemp instead of tmpnam.
12977 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
12978 (main): Use mkstemp instead of tmpnam.
12979 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
12980 (main): use mkstemp instead of tmpnam.
12981 * stdlib/isomac.c (macrofile): Change to modifiable array.
12982 (main): Remove macrofile here.
12983 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12985 (check_header): Do not remove macrofile here.
12987 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12989 * manual/tunables.texi: Document glibc.tune.x86_ibt and
12990 glibc.tune.x86_shstk.
12992 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12994 * NEWS: Mention --enable-cet.
12995 * manual/install.texi: Document --enable-cet.
12996 * INSTALL: Regenerated.
12998 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13000 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
13001 Add _CET_NOTRACK before indirect jump to jump table.
13003 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13005 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
13006 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13009 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13011 * sysdeps/i386/i686/multiarch/strcat-sse2.S
13012 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13015 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13017 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
13018 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13021 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13023 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
13024 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13027 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13029 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
13030 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13032 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
13034 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13036 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
13037 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13040 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13042 * sysdeps/i386/i686/multiarch/memset-sse2.S
13043 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13046 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13048 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
13049 indirect jump to jump table.
13051 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13053 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
13054 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13056 (MEMCPY): Likewise.
13058 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13060 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
13061 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13063 (MEMCPY): Likewise.
13065 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13067 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13068 _CET_NOTRACK before indirect jump to jump table.
13070 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13072 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
13073 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13076 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13078 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
13079 indirect jump to jump table.
13081 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
13084 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
13085 (LOCALES): Likewise.
13086 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
13087 * localedata/locales/sah_RU: New file.
13088 * localedata/sah_RU.UTF-8.in: New file.
13090 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13092 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
13094 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13095 _CET_ENDBR to indirect jump targets and adjust jump destination
13097 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
13099 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13100 _CET_ENDBR to indirect jump targets and adjust jump destination
13102 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
13104 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
13105 _CET_ENDBR to indirect jump targets and adjust jump destination
13108 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13110 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13113 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13115 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
13117 (_dl_tlsdesc_undefweak): Likewise.
13118 (_dl_tlsdesc_dynamic): Likewise.
13119 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
13120 (_dl_tlsdesc_resolve_rel): Likewise.
13121 (_dl_tlsdesc_resolve_rela): Likewise.
13122 (_dl_tlsdesc_resolve_hold): Likewise.
13123 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
13124 (_dl_tlsdesc_undefweak): Likewise.
13125 (_dl_tlsdesc_dynamic): Likewise.
13126 (_dl_tlsdesc_resolve_rela): Likewise.
13127 (_dl_tlsdesc_resolve_hold): Likewise.
13129 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13131 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
13133 * sysdeps/x86_64/crti.S (_init): Likewise.
13136 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
13139 * localedata/locales/os_RU (mon): Rename to...
13141 (mon): Import from CLDR (genitive case).
13143 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13145 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
13146 cet-tunables.h> when CET is enabled.
13148 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
13151 * configure.ac: Add --enable-cet.
13152 * configure: Regenerated.
13153 * elf/Makefille (all-built-dso): Add a comment.
13154 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
13155 Include <dl-prop.h>.
13156 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
13158 * elf/dl-open.c: Include <dl-prop.h>.
13159 (dl_open_worker): Call _dl_open_check.
13160 * elf/rtld.c: Include <dl-prop.h>.
13161 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
13163 * sysdeps/generic/dl-prop.h: New file.
13164 * sysdeps/i386/dl-cet.c: Likewise.
13165 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
13166 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
13167 * sysdeps/x86/cet-tunables.h: Likewise.
13168 * sysdeps/x86/check-cet.awk: Likewise.
13169 * sysdeps/x86/configure: Likewise.
13170 * sysdeps/x86/configure.ac: Likewise.
13171 * sysdeps/x86/dl-cet.c: Likewise.
13172 * sysdeps/x86/dl-procruntime.c: Likewise.
13173 * sysdeps/x86/dl-prop.h: Likewise.
13174 * sysdeps/x86/libc-start.h: Likewise.
13175 * sysdeps/x86/link_map.h: Likewise.
13176 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
13178 (_dl_runtime_profile): Likewise.
13179 (_dl_runtime_resolve_shstk): New.
13180 (_dl_runtime_profile_shstk): Likewise.
13181 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
13183 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
13184 (CFLAGS-.os): Likewise.
13185 (CFLAGS-.op): Likewise.
13186 (CFLAGS-.oS): Likewise.
13187 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
13189 (tests-special): Add $(objpfx)check-cet.out.
13190 (cet-built-dso): New.
13191 (+$(cet-built-dso:=.note)): Likewise.
13192 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
13193 ($(objpfx)check-cet.out): New.
13194 (generated): Add check-cet.out.
13195 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
13197 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
13198 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13199 (init_cpu_features): Call get_cet_status to check CET status
13200 and update dl_x86_feature_1 with CET status. Call
13201 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
13202 (set_x86_shstk). Disable and lock CET in libc.a.
13203 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
13204 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
13205 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13206 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
13207 (_CET_ENDBR): Define if not defined.
13208 (ENTRY): Add _CET_ENDBR.
13209 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
13211 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
13213 (_dl_runtime_profile): Likewise.
13215 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
13218 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
13219 restore r2 on longjmp.
13220 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
13222 Added rules to build test tst-setjmp-bug21895-static.
13223 Added module setjmp-bug21895 and rules to build a shared object from it.
13224 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
13225 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
13227 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
13229 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
13230 * benchtests/bench-strstr.c: Likewise.
13231 * string/memmem.c (FASTSEARCH): Define.
13232 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
13233 Add support for FASTSEARCH.
13234 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
13235 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
13236 (FASTSEARCH): Define.
13237 * string/test-strcasestr.c: Rename __strnlen to strnlen.
13238 * string/test-strstr.c: Likewise.
13240 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
13242 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
13243 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
13245 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
13246 H.J. Lu <hongjiu.lu@intel.com>
13248 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
13249 (__longjmp): Restore shadow stack pointer if shadow stack is
13250 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13251 isn't defined for __longjmp_cancel.
13252 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
13253 (_setjmp): Save shadow stack pointer if shadow stack is enabled
13254 and SHADOW_STACK_POINTER_OFFSET is defined.
13255 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
13256 (setjmp): Save shadow stack pointer if shadow stack is enabled
13257 and SHADOW_STACK_POINTER_OFFSET is defined.
13258 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
13259 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13260 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13261 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
13263 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13264 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13265 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
13266 Remove jmp_buf-ssp.sym.
13267 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13269 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13270 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13271 * sysdeps/x86/Makefile (gen-as-const-headers): Add
13273 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
13274 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
13275 (__longjmp): Restore shadow stack pointer if shadow stack is
13276 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13277 isn't defined for __longjmp_cancel.
13278 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
13279 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13280 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13282 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
13285 * nptl/pthread_create.c: Include <tls-setup.h>.
13286 (__pthread_create_2_1): Call tls_setup_tcbhead.
13287 * sysdeps/generic/tls-setup.h: New file.
13288 * sysdeps/x86/nptl/tls-setup.h: Likewise.
13289 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13290 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
13292 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
13294 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13295 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
13296 (X86_FEATURE_1_SHSTK): Likewise.
13297 (CET_ENABLED): Likewise.
13298 (IBT_ENABLED): Likewise.
13299 (SHSTK_ENABLED): Likewise.
13301 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
13304 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
13305 (LOCALES): Likewise.
13306 * localedata/dsb_DE.UTF-8.in: New file.
13307 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
13309 2018-07-12 Florian Weimer <fweimer@redhat.com>
13311 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
13312 __mprotect, not mprotect.
13314 2018-07-11 Florian Weimer <fweimer@redhat.com>
13316 * io/Makefile (headers): Add bits/statx.h.
13318 2018-07-10 Mike FABIAN <mfabian@redhat.com>
13320 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
13321 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
13323 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
13324 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
13327 2018-07-10 Florian Weimer <fweimer@redhat.com>
13329 * io/Makefile (routines): Add statx.
13330 (tests-internal): Add tst-statx.
13331 * io/Versions (GLIBC_2.28): Export statx.
13332 * io/bits/statx.h: New file.
13333 * io/sys/stat.h [__USE_GNU]: Include it.
13334 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
13335 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
13337 * io/statx.c: New file.
13338 * io/statx_generic.: Likewise.
13339 * io/tst-statx.: Likewise.
13340 * include/bits/statx.h: Likewise.
13341 * sysdeps/unix/sysv/linux/kernel-features.h
13342 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
13343 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13344 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
13345 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
13347 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13348 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
13349 * sysdeps/unix/sysv/linux/statx.c: New file.
13350 * manual/filesys.texi: Note that statx is undocumented.
13351 * sysdeps/**/libc*.abilist: Update.
13353 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13355 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
13356 a kernel issue which lead to test failure in some cases.
13358 2018-07-10 Florian Weimer <fweimer@redhat.com>
13361 * posix/regexec.c (check_node_accept_bytes): When comparing
13362 weights, do not compare an extra byte after the end of the
13365 2018-07-10 Florian Weimer <fweimer@redhat.com>
13367 * libio/readline.c: Fix copyright year.
13368 * libio/tst-readline.c Likewise.
13369 * nss/tst-nss-files-hosts-getent.c: Likewise.
13371 2018-07-06 Florian Weimer <fweimer@redhat.com>
13374 * nss/nss_files/files-XXX.c (internal_getent): Use
13375 __libc_readline_unlocked. Seek back to the start of the line if
13376 parsing failes with ERANGE.
13377 (get_contents_ret, get_contents): Remove.
13378 * nss/tst-nss-files-hosts-getent.c: New file.
13379 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
13380 (tst-nss-files-hosts-getent): Link with -ldl.
13382 2018-07-06 Florian Weimer <fweimer@redhat.com>
13384 * include/stdio.h (__libc_readline_unlocked): Declare.
13385 (__ftello64, __fseeko64): Declare aliases.
13386 * libio/readline.c: New file.
13387 * libio/tst-readline.c: Likewise.
13388 (routines): Add readline.
13389 (tests-internal): Add tst-readlime.
13390 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
13391 __libc_readline_unlocked.
13392 * libio/fseeko.c (__fseeko): Rename from fseeko.
13393 (fseeko): Add alias.
13394 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
13395 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
13396 (fseeko64): Add alias.
13397 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
13398 * libio/ftello64.c (__ftello64): Rename from ftello64.
13399 (ftello64): Add alias.
13401 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13403 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
13406 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13408 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
13409 Use dl_hwcap without masking.
13410 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
13411 Remove HWCAP_CPUID.
13413 2018-07-06 Florian Weimer <fweimer@redhat.com>
13415 * conform/conformtest.pl (checknamespace): Escape literal braces
13416 in regular expressions.
13418 2018-07-06 Amit Pawar <amit.pawar@amd.com>
13420 * sysdeps/x86/cpu-features.c (get_common_indeces):
13421 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
13422 * sysdeps/x86/cpu-features.c (init_cpu_features):
13423 AVX_Fast_Unaligned_Load is disabled for Excavator core.
13425 2018-07-05 Florian Weimer <fweimer@redhat.com>
13427 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
13429 (CFLAGS-elf-init.oS): Likewise.
13431 2018-07-05 Florian Weimer <fweimer@redhat.com>
13432 Carlos O'Donell <carlos@redhat.com>
13434 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
13435 $(no-stack-protector). stack_chk_fail_local.c can be compiled
13436 with stack protector enabled because there is no risk of infinite
13439 2018-07-05 Maciej W. Rozycki <macro@mips.com>
13443 * libc-abis (ABSOLUTE): New ABI.
13444 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
13445 * NEWS: Mention the new ABI.
13447 2018-07-05 Florian Weimer <fweimer@redhat.com>
13450 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
13451 (RENAME_WHITEOUT): Define.
13452 [__USE_GNU] (renameat2): Declare.
13453 * stdio-common/Makefile (routines): Add renameat2.
13454 (tests): Add tst-renameat2.
13455 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
13456 * stdio-common/renameat2.c: New file.
13457 * stdio-common/tst-renameat2.c: Likewise.
13458 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
13459 * manual/filesys.texi (Temporary Files): Note that renameat2 is
13461 * sysdeps/unix/sysv/linux/kernel-features.h
13462 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
13463 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13464 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13465 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13466 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13467 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13468 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
13469 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13470 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
13471 * include/stdio.h (__renameat): Add alias for renameat.
13472 * stdio-common/renameat.c (__renameat): Rename from renameat.
13473 Add hidden definition and alias.
13474 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13475 * sysdeps/mach/hurd/renameat.c: Likewise.
13476 * sysdeps/**/libc*.abilist: Add renameat2.
13478 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13480 * posix/bug-regex33.c: Fix build after regex sync.
13482 2018-07-04 Carlos O'Donell <carlos@redhat.com>
13485 * localedata/tst-langinfo-setlocale.c: New file.
13486 * localedata/tst-langinfo-setlocale-static.c: New file.
13487 * localedata/tst-langinfo-newlocale.c: New file.
13488 * localedata/tst-langinfo-newlocale-static.c: New file.
13489 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
13490 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
13491 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
13492 (tests-static): Remove tst-langinfo-static. Add
13493 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
13494 (tests-special): Remove $(objpfx)tst-langinfo.out,
13495 $(objpfx)tst-langinfo-static.out. Add
13496 $(objpfx)tst-langinfo-setlocale.out,
13497 $(objpfx)tst-langinfo-newlocale.out,
13498 $(objpfx)tst-langinfo-setlocale-static.out,
13499 $(objpfx)tst-langinfo-newlocale-static.out.
13500 ($(objpfx)tst-langinfo.out): Remove.
13501 ($(objpfx)tst-langinfo-static.out): Remove.
13502 ($(objpfx)tst-langinfo-newlocale.out): New target.
13503 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
13504 (test-xfail-tst-langinfo-newlocale-static): Add.
13505 ($(objpfx)tst-langinfo-setlocale.out): New target.
13506 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
13507 * localedata/tst-langinfo.c: Call test_locale.
13508 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
13511 2018-07-04 Florian Weimer <fweimer@redhat.com>
13513 testrun.sh: Implement --tool=strace, --tool=valgrind
13514 * Makefile (testrun-script): Define variable.
13515 (testrun.sh): Use variable.
13516 * manual/install.texi (Tools for Compilation): make 4.0 or later
13518 * configure.ac: Check for make 4.0 or later.
13519 * INSTALL: Regenerate.
13520 * configure: Likewise.
13522 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13528 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
13529 * posix/PCRE.tests: Remove invalid test.
13530 * posix/bug-regex28.c: Fix expected values for used syntax.
13531 * posix/bug-regex37.c: New file.
13532 * posix/bug-regex38.c: Likewise.
13533 * posix/regcomp.c: Sync with gnulib.
13534 * posix/regex.c: Likewise.
13535 * posix/regex.h: Likewise.
13536 * posix/regex_internal.c: Likewise.
13537 * posix/regex_internal.h: Likewise.
13538 * posix/regexec.c: Likewise.
13540 2018-06-26 Mike FABIAN <mfabian@redhat.com>
13543 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
13544 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
13545 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
13546 * localedata/unicode-gen/PropList.txt: likewise.
13547 * localedata/unicode-gen/UnicodeData.txt: likewise.
13548 * localedata/charmaps/UTF-8: Regenerate.
13549 * localedata/locales/i18n_ctype: likewise.
13550 * localedata/locales/tr_TR: likewise.
13551 * localedata/locales/translit_circle: likewise.
13552 * localedata/locales/translit_cjk_compat: likewise.
13553 * localedata/locales/translit_combining: likewise.
13554 * localedata/locales/translit_compat: likewise.
13555 * localedata/locales/translit_font: likewise.
13556 * localedata/locales/translit_fraction: likewise.
13558 2018-07-03 Florian Weimer <fweimer@redhat.com>
13561 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
13562 * stdio-common/tst-printf.sh: Adjust expected output.
13563 * LICENSES: Update.
13565 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13567 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
13570 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13572 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
13573 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
13574 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
13575 * stdio-common/tst-printfsz-islongdouble.c: New file.
13576 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
13577 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
13578 [subdir == stdio-common] (routines): Add ieee128-printf_size.
13579 [subdir == stdio-common] (tests-internal): Add
13580 test-printf-size-ieee128, and test-printf-size-ibm128.
13581 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
13582 (CFLAGS-test-printf-size-ibm128.c): New variables.
13583 [subdir == stdio-common] (tests-special): Add
13584 $(objpfx)test-printf-size-ieee128.out and
13585 $(objpfx)test-printf-size-ibm128.out.
13586 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
13587 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
13588 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
13589 __printf_sizeieee128.
13590 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
13592 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
13594 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
13597 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13599 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
13600 (exp2f_inline): Likewise.
13601 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
13602 (__math_uflowf): Likewise.
13603 (__math_may_uflowf): Likewise.
13604 (__math_divzerof): Likewise.
13605 (__math_invalidf): Likewise.
13606 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
13607 (__math_oflowf): Likewise.
13608 (__math_uflowf): Likewise.
13609 (__math_may_uflowf): Likewise.
13610 (__math_divzerof): Likewise.
13611 (__math_invalidf): Likewise.
13613 2018-06-29 DJ Delorie <dj@redhat.com>
13614 Carlos O'Donell <carlos@redhat.com>
13617 * include/libc-symbols.h: Comment the freeres framework.
13618 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
13619 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
13620 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
13621 * dlfcn/dlerror.c: Include libc-symbols.h
13622 (__dlerror_main_freeres): New function.
13623 * dlfcn/dlfreeres.c: New file.
13624 * dlfcn/sdlfreeres.c: New file.
13625 * include/dlfcn.h: Declare __dlerror_main_freeres.
13626 * malloc/set-freeres.c: Declare __libdl_freeres, and
13627 __libpthread_freeres.
13628 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
13629 the releavant libraries are loaded.
13630 * malloc/thread-freeres.c: Add comments.
13631 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
13632 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
13633 * nptl/allocatestack.c (__nptl_free_stacks): New function.
13634 (__free_stacks): Rename to...
13635 (free_stacks): ...this. Mark static.
13636 (queue_stack): Call free_stacks.
13637 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
13638 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
13639 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
13640 ptr_freeres element from struct.
13641 (pthread_functions): Remove .ptr_freeres from struct initializer.
13642 [SHARED] (nptl_freeres): Remove.
13643 * nptl/nptlfreeres.c: New file.
13645 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
13646 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
13648 (__free_stacks): Rename to...
13649 (__nptl_stacks_freeres): ...this.
13650 (__shm_directory_freeres): Declare.
13651 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
13652 (__nptl_unwind_freeres): ...this.
13653 * resolv/res-close.c: Add comment.
13654 * resolv/resolv_conf.c: Include libc-symbols.h.
13655 * string/strerror_l.c: Include libc-symbols.h.
13656 * sunrpc/rpc_thread.c: Include libc-symbols.h.
13657 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
13658 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
13659 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
13661 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13663 * stdlib/tst-strfmon_l.c: Add tests for long double.
13665 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
13668 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
13669 * localedata/locales/dsb_DE: New file.
13671 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13674 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
13676 (alt_mon): New entry, import from CLDR (nominative case).
13678 2018-06-29 Sylvain Lesage <severo@rednegra.net>
13681 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
13683 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
13685 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13686 Use vector registers.
13688 * sysdeps/aarch64/multiarch/memmove_falkor.S
13689 (__memcpy_falkor): Use vector registers.
13691 2018-06-29 Martin Sebor <msebor@redhat.com>
13693 * manual/stdio.texi (Customizing Printf): Mention interaction
13694 with GCC built-ins.
13696 2018-06-29 Maciej W. Rozycki <macro@mips.com>
13699 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
13700 `st_value' is 0 if `st_shndx' is SHN_ABS.
13701 * elf/tst-absolute-zero.c: New file.
13702 * elf/tst-absolute-zero-lib.c: New file.
13703 * elf/tst-absolute-zero-lib.lds: New file.
13704 * elf/Makefile (tests): Add `tst-absolute-zero'.
13705 (modules-names): Add `tst-absolute-zero-lib'.
13706 (LDLIBS-tst-absolute-zero-lib.so): New variable.
13707 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
13708 ($(objpfx)tst-absolute-zero: New dependency.
13710 2018-06-29 Zack Weinberg <zackw@panix.com>
13712 * configure.ac: New command-line option --disable-crypt.
13713 Force --disable-nss-crypt when --disable-crypt is given, with a
13714 warning if it was explicitly enabled.
13715 * configure: Regenerate.
13716 * config.make.in: New boolean substitution variable $(build-crypt).
13717 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
13718 when $(build-crypt).
13719 * manual/install.texi: Document --disable-crypt.
13720 * INSTALL: Regenerate.
13722 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
13723 which is never set.
13724 * conform/Makefile: Only include libcrypt.a in
13725 linknamespace-libs-xsi and linknamespace-libs-XPG4
13726 when $(build-crypt).
13727 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
13728 USE_CRYPT to 1 when $(build-crypt).
13729 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
13730 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
13731 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
13733 2018-06-29 Zack Weinberg <zackw@panix.com>
13735 * crypt/crypt.h, posix/unistd.h: Update comments and
13736 prototypes for crypt and crypt_r.
13738 * manual/crypt.texi (Cryptographic Functions): New initial
13740 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
13741 (Unpredictable Bytes): Improve initial exposition. Clarify error
13742 behavior of getentropy and getrandom.
13743 * manual/examples/genpass.c: Generate a salt using getentropy
13744 instead of the current time. Use hash $5$ (SHA-2-256).
13745 * manual/examples/testpass.c: Demonstrate validation against
13746 hashes generated with three different one-way functions.
13748 * manual/intro.texi: crypt.texi does not need an overview
13751 * manual/nss.texi, manual/memory.texi, manual/socket.texi
13752 * manual/terminal.texi: Consistently refer to "passphrases"
13753 * instead of "passwords", and to the "user database" instead
13754 * of the "password database".
13755 * manual/users.texi: Similarly. Add notes about how actual
13756 passphrase hashes are now stored in the shadow database.
13757 Remove 20-year-old junk todo note.
13759 2018-06-29 Zack Weinberg <zackw@panix.com>
13761 * manual/crypt.texi: Use a normal top-level @node declaration.
13762 Move most of the introductory text to the 'crypt' section.
13763 Move the example programs below the @deftypefun for 'crypt_r'.
13764 Move the 'getpass' section...
13765 * manual/terminal.texi: ...here.
13767 2018-06-29 Zack Weinberg <zackw@panix.com>
13768 Florian Weimer <fweimer@redhat.com>
13770 * posix/unistd.h: Do not declare encrypt.
13771 (_XOPEN_CRYPT): Remove macro definition.
13772 (crypt): Declare only for _USE_MISC.
13773 * stdlib/stdlib.h: Do not declare setkey.
13774 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
13775 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
13777 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
13778 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
13779 into compat symbols. Don't define initial_perm if it's not
13781 * crypt/cert.c: Link explicitly with the expected versions for
13782 setkey and encrypt. If they are not available at all, mark
13783 the test as unsupported.
13785 * sunrpc/des_crypt.c: Unconditionally block linkage with
13786 cbc_crypt and ecb_crypt for new binaries.
13787 * sunrpc/des_soft.c: Unconditionally block linkage with
13788 des_setparity for new binaries.
13790 * manual/crypt.texi: Remove the entire "DES Encryption"
13791 section. Also remove the paragraph talking about FIPS 140-2
13792 from the introduction.
13793 * manual/string.texi (strfry, memfrob): Revise. Recommend use
13794 of libgcrypt for "real" encryption, not DES.
13795 * manual/conf.texi (Constants for Sysconf): Mention that
13796 _XOPEN_CRYPT is no longer impelemented.
13798 * conform/data/unistd.h-data: Remove crypt function declaration.
13800 2018-06-29 Florian Weimer <fweimer@redhat.com>
13803 * malloc/hooks.c: Update comments on restoring of dumped heaps.
13804 (disallow_malloc_check): Remove variable.
13805 (__malloc_check_init): Adjust.
13806 (malloc_set_state): Update comment.
13807 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
13810 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13813 * localedata/locales/ast_ES (mon): Rename to...
13815 (mon): Import from CLDR (genitive case).
13817 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
13818 Jakub Sitnicki <jkbs@redhat.com>
13821 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
13822 on NLM_F_DUMP_INTR.
13824 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
13826 * manual/llio.texi: Remove spurious space.
13828 2018-06-28 Florian Weimer <fweimer@redhat.com>
13831 * time/bits/types/struct_timespec.h: Change header inclusion guard to
13834 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13836 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
13837 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
13838 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
13839 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
13840 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
13841 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
13842 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
13844 2018-06-27 Maciej W. Rozycki <macro@mips.com>
13847 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
13848 Copy and null-terminate entries that are not terminated, in
13849 addition to empty ones.
13851 2018-06-27 Florian Weimer <fweimer@redhat.com>
13854 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
13855 (extend_alloca_account): Remove.
13856 * manual/stdio.texi (Variable Arguments Output): Update comment.
13858 2018-06-27 Joseph Myers <joseph@codesourcery.com>
13860 * nptl/sockperf.c: Remove file.
13862 2018-06-27 Florian Weimer <fweimer@redhat.com>
13865 * elf/dl-deps.c (_dl_map_object_deps): Use struct
13866 scratch_buffer instead of extend_alloca.
13868 2018-06-27 Florian Weimer <fweimer@redhat.com>
13871 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
13872 scratch_buffer instead of extend_alloca. Update comments.
13874 2018-06-27 Florian Weimer <fweimer@redhat.com>
13877 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
13878 instead of extend_alloca.
13880 2018-06-26 Joseph Myers <joseph@codesourcery.com>
13883 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
13884 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
13886 * scripts/test-installation.pl: Put temporary files in build
13887 directory, not /tmp.
13888 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
13889 (CFLAGS-bug4.c): Likewise.
13890 (CFLAGS-bug5.c): Likewise.
13891 (CFLAGS-test-fseek.c): Likewise.
13892 (CFLAGS-test-popen.c): Likewise.
13893 (CFLAGS-test_rdwr.c): Likewise.
13894 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
13896 * stdio-common/bug4.c (main): Likewise.
13897 * stdio-common/bug5.c (main): Likewise.
13898 * stdio-common/test-fseek.c (TESTFILE): Likewise.
13899 * stdio-common/test-popen.c (do_test): Likewise.
13900 * stdio-common/test_rdwr.c (main): Likewise.
13902 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
13904 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
13905 (sem_open): Set sem.newsem.pad to zero for valgrind.
13907 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13910 * NEWS: Mention fcntl64 addition.
13911 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
13912 * login/utmp_file.c: Likewise.
13913 * sysdeps/posix/fdopendir.c: Likewise.
13914 * sysdeps/posix/opendir.c: Likewise.
13915 * sysdeps/unix/pt-fcntl.c: Likewise.
13916 * include/fcntl.h (__libc_fcntl64, __fcntl64,
13917 __fcntl64_nocancel_adjusted): New prototype.
13918 (__fcntl_nocancel_adjusted): Remove prototype.
13919 * io/Makefile (routines): Add fcntl64.
13920 (CFLAGS-fcntl64.c): New rule.
13921 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
13922 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
13923 * io/fcntl.h (fcntl64): Add prototype and redirect if
13924 __USE_FILE_OFFSET64 is defined.
13925 * io/fcntl64.c: New file.
13926 * manual/llio.text: Add a note for which commands fcntl acts a
13927 cancellation point.
13928 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
13929 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
13930 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
13932 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
13933 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
13935 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
13936 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
13937 to __fcntl64_nocancel.
13938 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
13939 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
13940 to __fcntl64_nocancel.
13941 * sysdeps/generic/not-cancel.h: Likewise.
13942 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
13943 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
13944 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13945 (fcntl64): New symbol.
13946 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13947 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13948 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13951 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13952 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13953 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13954 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13955 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13956 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
13957 fcntl64): Likewise.
13958 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13959 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
13960 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13961 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13962 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13963 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13964 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13965 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13966 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13971 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13972 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13973 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13975 2018-06-26 Florian Weimer <fweimer@redhat.com>
13977 Run thread shutdown functions in an explicit order.
13978 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
13980 (__libc_thread_freeres): Call thread shutdown functions
13982 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
13983 * include/string.h (__strerror_thread_freeres): Declare.
13984 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
13985 arena_thread_freeres. No longer static. Remove thread shutdown
13987 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
13989 * resolv/res-close.c (__res_thread_freeres): Renamed from
13990 res_thread_freeres. No longer static. Remove thread shutdown
13992 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
13993 * resolv/resolv_conf.c (freeres): Remove incorrect section
13994 attribute and use libc_freeres_fn.
13995 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
13996 strerror_thread_freeres. No longer static. Remove thread
13997 shutdown hook registration.
13998 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
13999 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
14000 shutdown hook registration.
14001 * Makerules (shlib.lds): Do not provide section boundary symbols
14002 for __libc_thread_subfreeres.
14003 * manual/memory.texi (Basic Allocation): Update comment.
14005 2018-06-26 Florian Weimer <fweimer@redhat.com>
14007 Remove always-defined _RPC_THREAD_SAFE_ macro.
14008 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
14009 Do not define _RPC_THREAD_SAFE_.
14010 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
14012 * sunrpc/clnt_perr.c: Likewise.
14013 * sunrpc/clnt_raw.c: Likewise.
14014 * sunrpc/clnt_simp.c: Likewise.
14015 * sunrpc/key_call.c: Likewise.
14016 * sunrpc/rpc_common.c: Likewise.
14017 * sunrpc/rpc_main.c: Likewise.
14018 * sunrpc/rpc_thread.c: Likewise.
14019 * sunrpc/svc.c: Likewise.
14020 * sunrpc/svc_raw.c: Likewise.
14021 * sunrpc/svc_simple.c: Likewise.
14022 * sumrpc/svcauth_des.c: Likewise.
14024 2018-06-26 Florian Weimer <fweimer@redhat.com>
14026 * libio/Makefile (tests-internal): Add tst-vtables,
14027 tst-vtables-interposed.
14028 * libio/tst-vtables.c: New file.
14029 * libio/tst-vtables-common.c: Likewise.
14030 * libio/tst-vtables-interposed.c: Likewise.
14032 2018-06-26 Florian Weimer <fweimer@redhat.com>
14034 * support/support_test_main.c (support_test_main): Only call
14035 setvbuf if not disables.
14036 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
14037 * support/test-driver.h (struct test_config): Add no_setvbuf member.
14039 2018-06-26 Florian Weimer <fweimer@redhat.com>
14042 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
14044 2018-06-25 Florian Weimer <fweimer@redhat.com>
14047 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14048 Use struct scratch_buffer instead of extend_alloca.
14050 2018-06-25 Florian Weimer <fweimer@redhat.com>
14053 * nss/getent.c (initgroups_keys): Use dynarray instead of
14056 2018-06-25 Florian Weimer <fweimer@redhat.com>
14059 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
14060 Use struct scratch_buffer instead of extend_alloca.
14062 2018-06-25 Florian Weimer <fweimer@redhat.com>
14065 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
14066 back to malloc directly, without stack allocations.
14068 2018-06-25 Florian Weimer <fweimer@redhat.com>
14071 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
14074 2018-06-25 Florian Weimer <fweimer@redhat.com>
14077 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
14079 * nscd/hstcache.c (addhstbyX): Likewise.
14080 * nscd/pwdcache.c (addpwbyX): Likewise.
14081 * nscd/servicescache.c (addservbyX): Likewise.
14083 2018-06-25 Florian Weimer <fweimer@redhat.com>
14086 * nscd/connections.c (read_cmdline): New function.
14087 (restart): Use it. Update comment.
14089 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14092 * localedata/locales/csb_PL (mon): Rename to...
14094 (abmon): Rename to...
14095 (ab_alt_mon): This.
14096 (mon): Add with proper genitive forms, copy from Wikipedia.
14099 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14102 * localedata/locales/csb_PL (mon): Fix typos:
14103 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
14104 (yesstr): Add, value is "jo".
14105 (nostr): Add, value is "nié".
14107 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14109 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
14110 all log1p and significand functions on m680x0.
14111 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
14112 of s_significand.c..
14113 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14114 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
14115 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
14116 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
14117 s_log1p.c and include it..
14119 2018-06-21 Vincent Chen <vincentc@andestech.com>
14121 * elf/elf.h (R_NDS32_NONE): New define.
14122 (R_NDS32_32_RELA): Likewise.
14123 (R_NDS32_COPY): Likewise.
14124 (R_NDS32_GLOB_DAT): Likewise.
14125 (R_NDS32_JUMP_SLOT): Likewise.
14126 (R_NDS32_RELATIVE): Likewise.
14127 (R_NDS32_TLS_TPOFF): Likewise.
14128 (R_NDS32_TLS_DESC): Likewise.
14130 2018-06-21 Mark Wielaard <mark@klomp.org>
14132 * elf/elf.h (R_BPF_MAP_FD): Removed.
14133 (R_BPF_64_64, R_BPF_64_32): New.
14135 2018-06-21 Florian Weimer <fweimer@redhat.com>
14138 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
14139 Renamed from libc_feholdsetround_ctx.
14140 (default_libc_feresetround_ctx): Renamed from
14141 libc_feresetround_ctx.
14142 (default_libc_feholdsetround_noex_ctx): Renamed from
14143 libc_feholdsetround_noex_ctx.
14144 (default_libc_feresetround_noex_ctx): Renamed from
14145 libc_feresetround_noex_ctx.
14146 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
14147 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
14148 forwardning to the old implementations under the new names.
14149 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
14150 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
14151 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
14152 (libc_feresetround_ctx): Forward to default implements for i386
14153 and MATH_SET_BOTH_ROUNDING_MODES.
14154 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
14155 Add -DMATH_SET_BOTH_ROUNDING_MODES.
14157 2018-06-20 Joseph Myers <joseph@codesourcery.com>
14159 * string/tst-cmp.c: Include <libc-diag.h>.
14160 (strncmp_max): Disable -Wstringop-overflow= around call to
14162 (strncasecmp_max): Disable -Wstringop-overflow= around call to
14165 * string/bug-strpbrk1.c: Include <libc-diag.h>.
14166 (main): Disable -Wunused-value around call to strpbrk.
14167 * string/bug-strspn1.c: Include <libc-diag.h>.
14168 (main): Disable -Wunused-value around call to strspn.
14170 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14171 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14173 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
14174 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
14176 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14178 * math/Makefile (libm-calls): Move s_significandF to...
14179 (gen-libm-calls): ... here.
14180 * math/s_significand_template.c: New file.
14181 * math/s_significand.c: Removed.
14182 * math/s_significandf.c: Removed.
14183 * math/s_significandl.c: Removed.
14184 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
14185 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
14187 * math/e_exp2_template.c (declare_mgen_finite_alias,
14188 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
14189 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
14190 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
14192 2018-06-20 Florian Weimer <fweimer@redhat.com>
14194 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
14196 2018-06-19 Joseph Myers <joseph@codesourcery.com>
14199 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
14200 floating-point number to strtod functions rather than possibly
14201 negating result of those functions.
14202 * stdio-common/tst-scanf-round.c: New file.
14203 * stdio-common/Makefile (tests): Add tst-scanf-round.
14204 ($(objpfx)tst-scanf-round): Depend on $(libm).
14206 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14208 * sysdeps/mach/hurd/localplt.data: Move to...
14209 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
14210 R_386_GLOB_DAT like on Linux i386.
14212 2018-06-18 Joseph Myers <joseph@codesourcery.com>
14214 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
14215 (SHM_STAT_ANY): New macro.
14216 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
14217 (SHM_STAT_ANY): Likewise.
14218 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
14219 (SHM_STAT_ANY): Likewise.
14220 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
14221 (SHM_STAT_ANY): Likewise.
14222 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
14223 (SHM_STAT_ANY): Likewise.
14224 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
14225 (SHM_STAT_ANY): Likewise.
14226 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
14227 (SHM_STAT_ANY): Likewise.
14228 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
14229 (SHM_STAT_ANY): Likewise.
14230 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
14231 (SHM_STAT_ANY): Likewise.
14232 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
14233 (SHM_STAT_ANY): Likewise.
14234 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
14235 (SHM_STAT_ANY): Likewise.
14236 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
14237 (SHM_STAT_ANY): Likewise.
14239 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
14240 (SEM_STAT_ANY): New macro.
14241 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
14242 (SEM_STAT_ANY): Likewise.
14243 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
14244 (SEM_STAT_ANY): Likewise.
14245 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
14246 (SEM_STAT_ANY): Likewise.
14247 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
14248 (SEM_STAT_ANY): Likewise.
14249 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
14250 (SEM_STAT_ANY): Likewise.
14251 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
14252 (SEM_STAT_ANY): Likewise.
14253 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
14254 (SEM_STAT_ANY): Likewise.
14255 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
14256 (SEM_STAT_ANY): Likewise.
14257 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
14258 (SEM_STAT_ANY): Likewise.
14260 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
14261 (MSG_STAT_ANY): New macro.
14262 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
14263 (MSG_STAT_ANY): Likewise.
14264 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
14265 (MSG_STAT_ANY): Likewise.
14266 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
14267 (MSG_STAT_ANY): Likewise.
14268 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
14269 (MSG_STAT_ANY): Likewise.
14270 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
14271 (MSG_STAT_ANY): Likewise.
14272 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
14273 (MSG_STAT_ANY): Likewise.
14274 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
14275 (MSG_STAT_ANY): Likewise.
14276 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
14277 (MSG_STAT_ANY): Likewise.
14278 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
14279 (MSG_STAT_ANY): Likewise.
14281 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14282 (MAP_TYPE): Change value to 0x2b.
14284 2018-06-18 Florian Weimer <fweimer@redhat.com>
14287 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
14288 socket with SOCK_CLOEXEC.
14290 2018-06-18 Joseph Myers <joseph@codesourcery.com>
14293 * sysdeps/powerpc/powerpc64/le/Makefile
14294 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
14295 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
14296 (gnulib-tests): Also add $(f128-loader-link) for
14297 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
14299 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
14301 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
14302 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
14304 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
14305 (sendfile64): New strong alias.
14306 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
14307 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
14308 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
14309 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
14311 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
14312 ___pthread_get_cleanup_stack.
14313 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
14314 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
14315 * mach/shortcut.awk: Make syscall stubs include
14316 <mach-shortcuts-hidden.h> and add hidden definition.
14317 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
14318 (__mach_msg): Add hidden prototype.
14319 * mach/msg.c: Include <mach.h>.
14320 (__mach_msg): Add hidden definition.
14321 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
14322 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
14323 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
14324 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
14325 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
14326 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
14327 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
14328 prototype and definition.
14329 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
14330 hidden target for _hurd_self_sigstate.
14332 2018-06-15 Joseph Myers <joseph@codesourcery.com>
14335 * stdlib/tst-strtod-nan-sign-main.c: New file.
14336 * stdlib/tst-strtod-nan-sign.c: Likewise.
14337 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
14338 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
14339 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
14340 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
14341 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
14343 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
14346 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
14349 2018-06-14 Florian Weimer <fweimer@redhat.com>
14352 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
14353 that the result stays within the ISO-8859-1 range.
14354 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
14355 characters are defined in IBM273.
14357 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
14359 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
14360 __mach_task_self): Remove attribute_hidden.
14362 2018-06-14 Joseph Myers <joseph@codesourcery.com>
14364 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
14365 ignore -Wrestrict for one test.
14367 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
14368 Szabolcs Nagy <szabolcs.nagy@arm.com>
14370 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
14372 2018-06-14 Florian Weimer <fweimer@redhat.com>
14374 * scripts/update-abilist.sh: Accept empty list of files to patch.
14376 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
14378 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
14379 test-xfail-check-abi-libmachuser): Add.
14380 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
14381 __libc_read and __libc_write to __read and __write.
14382 * sysdeps/hurd/include/hurd/port.h: New file.
14383 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
14384 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
14385 __thread_switch, __evc_wait): Move declarations to...
14386 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
14388 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
14389 use PLT to call _hurd_self_sigstate.
14391 2018-06-13 Joseph Myers <joseph@codesourcery.com>
14394 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
14395 MAX_EXP as overflowing.
14396 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
14398 (round_str): Output also whether result overflows in each rounding
14400 * stdlib/tst-strtod-round-data: Add more tests.
14401 * stdlib/tst-strtod-round-data.h: Regenerated.
14402 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
14403 (TEST): Handle extra arguments for overflow flags.
14404 (struct test_overflow): New type.
14405 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
14406 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
14407 (test_in_one_mode): Take argument with overflow information.
14408 (do_test): Update calls to test_in_one_mode.
14410 2018-06-12 Carlos O'Donell <carlos@redhat.com>
14412 * elf/dl-load (_dl_dst_substitute): Correct comment.
14413 (_dl_dst_count): Likewise.
14415 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
14416 lll_futex_timed_wait.
14418 2018-06-12 Joseph Myers <joseph@codesourcery.com>
14421 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
14423 * math/test-nan-const.c: New file.
14424 * math/Makefile (tests): Add test-nan-const.
14425 (CFLAGS-test-nan-const.c): New variable.
14427 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14429 * benchtests/scripts/compare_strings.py (process_results): Add
14430 funcs argument. Compare only functions which are selected.
14431 (main): Check if base function is among selected functions.
14432 Pass selected functions to process_results.
14433 (__main__): Add -f/--functions argument.
14435 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
14436 Hongbo Zhang <hongbo.zhang@linaro.org>
14438 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
14439 __memcpy_falkor for phecda core.
14440 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
14441 __memmove_falkor for phecda core.
14442 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
14443 __memset_falkor for phecda core.
14444 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
14446 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
14447 macro to identify phecda core.
14449 2018-06-12 Carlos O'Donell <carlos@redhat.com>
14450 Andreas Schwab <schwab@suse.de>
14451 Dmitry V. Levin <ldv@altlinux.org>
14452 Florian Weimer <fweimer@redhat.com>
14459 * elf/dl-dst.h: Remove DL_DST_COUNT.
14460 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
14461 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
14462 (is_dst): Comment. Support ELF gABI.
14463 (_dl_dst_count): Comment. Simplify and count DSTs.
14464 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
14465 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
14468 2018-06-12 Zack Weinberg <zackw@panix.com>
14470 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
14471 * sysdeps/unix/sysv/linux/dl-sysdep.c
14472 Include not-cancel.h. Use __close_nocancel instead of __close,
14473 __open64_nocancel instead of __open, __read_nocancel instead of
14474 __libc_read, and __write_nocancel instead of __libc_write.
14476 * csu/check_fds.c (check_one_fd)
14477 * sysdeps/posix/fdopendir.c (__fdopendir)
14478 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
14479 instead of __fcntl and/or __libc_fcntl.
14481 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
14482 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
14483 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
14484 Use __open64_nocancel instead of __open_nocancel.
14486 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
14487 hidden_proto declarations to the end and issue them if either
14488 IS_IN(libc) or IS_IN(rtld).
14489 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
14490 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
14491 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
14492 read_nocancel, waitpid_nocancel, write_nocancel.
14494 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
14495 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
14496 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
14498 * nptl/pt-fcntl.c: New file.
14499 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
14500 (libpthread-routines): Add pt-fcntl.
14501 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
14502 (__libc_fcntl): Remove attribute_hidden.
14503 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
14504 __fcntl_nocancel_adjusted, not fcntl_common.
14505 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
14506 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
14507 to fcntl_nocancel.c.
14508 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
14509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
14510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14511 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
14513 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
14514 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
14515 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
14516 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
14517 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
14518 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
14519 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
14520 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
14521 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
14522 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
14523 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
14524 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
14525 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
14526 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
14527 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
14528 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
14529 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
14530 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
14531 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
14532 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
14534 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
14535 libpthread-routines.
14536 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
14539 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
14540 __libc_read, and __write instead of __libc_write. Define
14541 __open64 in addition to __open.
14543 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14547 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
14548 to _private_tm[3] and add __glibc_reserved2.
14549 Add _Static_assert of offset of __private_ss == 0x30.
14550 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
14551 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
14553 2018-06-12 Florian Weimer <fweimer@redhat.com>
14555 x86: Make strncmp usable from rtld.
14556 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
14557 __strncmp_ia32 if in libc (and not in rtld).
14558 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
14559 strncmp if not in libc (and not to __strncmp_sse2).
14561 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
14564 * localedata/locales/gd_GB (mon): Rename to...
14566 (mon): Import from CLDR (genitive case).
14567 * localedata/locales/hsb_DE (mon): Rename to...
14569 (mon): Import from CLDR (genitive case).
14570 * localedata/locales/wa_BE (mon): Rename to...
14572 (mon): Add, fill with the proper genitive forms, but CLDR data
14573 is incomplete; completed according to the comments in this file.
14574 (d_t_fmt): Do not use "di" before the month name, no longer needed.
14576 * localedata/locales/wa_BE (country_name): Reword
14577 "Beljike" -> "Beldjike".
14579 2018-06-11 Joseph Myers <joseph@codesourcery.com>
14582 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
14583 cases of non-finite arguments.
14584 * math/libm-test-fma.inc (fma_test_data): Add more tests.
14586 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
14589 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
14591 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14594 * include/unistd.h (__execvpex): New prototype.
14595 * posix/Makefile (tests): Add tst-spawn4.
14596 (tests-internal): Add tst-spawn4-compat.
14597 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
14598 * posix/tst-spawn4-compat.c: New file.
14599 * posix/tst-spawn4.c: Likewise.
14600 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
14601 binaries as shell scripts.
14602 * sysdeps/posix/spawni.c (__spawni): Likewise.
14604 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
14607 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
14608 ($(all-built-dso:=.dynsym): New target.
14609 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
14610 ($(objpfx)check-initfini.out): New target.
14611 (generated): Add check-initfini.out.
14612 * scripts/check-initfini.awk: New file.
14613 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
14615 * sysdeps/alpha/crti.S (_init): Mark as hidden.
14617 * sysdeps/arm/crti.S (_init): Mark as hidden.
14619 * sysdeps/hppa/crti.S (_init): Mark as hidden.
14621 * sysdeps/i386/crti.S (_init): Mark as hidden.
14623 * sysdeps/ia64/crti.S (_init): Mark as hidden.
14625 * sysdeps/m68k/crti.S (_init): Mark as hidden.
14627 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
14629 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
14631 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
14633 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
14635 * sysdeps/nios2/crti.S (_init): Mark as hidden.
14637 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
14639 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
14641 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
14643 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
14645 * sysdeps/sh/crti.S (_init): Mark as hidden.
14647 * sysdeps/sparc/crti.S (_init): Mark as hidden.
14649 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
14652 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14654 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
14655 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
14656 and TF redirection to KFtype and KF only when the default
14657 long double type is not the IEEE 128-bit floating point type.
14659 2018-06-05 Joseph Myers <joseph@codesourcery.com>
14661 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
14663 (HWCAP_USCAT): Likewise.
14664 (HWCAP_ILRCPC): Likewise.
14665 (HWCAP_FLAGM): Likewise.
14666 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14668 (_dl_aarch64_cap_flags): Add new flag names.
14670 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14671 (MAP_FIXED_NOREPLACE): New macro.
14672 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
14673 (MAP_FIXED_NOREPLACE): Likewise.
14674 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
14675 (MAP_FIXED_NOREPLACE): Likewise.
14676 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14677 (MAP_FIXED_NOREPLACE): Likewise.
14678 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14679 (MAP_FIXED_NOREPLACE): Likewise.
14680 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14681 (MAP_FIXED_NOREPLACE): Likewise.
14682 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14683 (MAP_FIXED_NOREPLACE): Likewise.
14684 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
14685 (MAP_FIXED_NOREPLACE): Likewise.
14686 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14687 (MAP_FIXED_NOREPLACE): Likewise.
14688 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
14689 (MAP_FIXED_NOREPLACE): Likewise.
14690 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14691 (MAP_FIXED_NOREPLACE): Likewise.
14692 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14693 (MAP_FIXED_NOREPLACE): Likewise.
14694 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
14695 (MAP_FIXED_NOREPLACE): Likewise.
14696 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
14697 (MAP_FIXED_NOREPLACE): Likewise.
14698 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
14699 (MAP_FIXED_NOREPLACE): Likewise.
14701 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14704 2018-06-04 Joseph Myers <joseph@codesourcery.com>
14706 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14709 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14711 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
14713 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
14715 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14717 * benchtests/scripts/compare_string.py: (process_results) Catch
14718 exception in non-existent base_func and catch exception in
14719 non-existent attribute.
14720 (parse_file) Catch exception if input file does not exist.
14722 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14724 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
14725 options to avoid diff calculation and omit header, respectively.
14726 (main): process --no-diff and --no-header
14728 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14729 H.J. Lu <hongjiu.lu@intel.com>
14731 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14732 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
14734 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14735 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
14736 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
14737 and __wcsncmp_sse2.
14738 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
14739 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
14740 AVX unaligned load is fast and vzeroupper is preferred.
14741 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
14742 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
14743 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
14744 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
14745 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
14746 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
14747 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
14748 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
14749 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
14750 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
14753 2018-06-01 Florian Weimer <fweimer@redhat.com>
14755 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
14756 configuring with --disable-multi-arch, building with
14757 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
14760 2018-06-01 Florian Weimer <fweimer@redhat.com>
14762 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
14763 results from building with “-march=x86-64 -mtune=generic
14764 -mfpmath=sse” and running on a Haswell-era CPU.
14766 2018-06-01 Joseph Myers <joseph@codesourcery.com>
14769 * soft-fp/sqrttf2.c: Remove file.
14770 * soft-fp/sqrtdf2.c: Move to ....
14771 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
14773 (__sqrtdf2): Make conditional on
14774 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14776 * soft-fp/sqrtsf2.c: Move to ....
14777 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
14779 (__sqrtsf2): Make conditional on
14780 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14782 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
14783 (gcc-double-routines): Remove sqrtdf2.
14784 (gcc-quad-routines): Remove sqrttf2.
14785 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14786 Do not filter out sqrtsf2 and sqrtdf2.
14787 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14788 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
14790 2018-06-01 Florian Weimer <fweimer@redhat.com>
14792 * sysdeps/generic/libcidn.abilist: Remove file.
14794 2018-06-01 Florian Weimer <fweimer@redhat.com>
14797 * libio/strfile.h (struct _IO_str_fields): Rename members to
14798 discourage their use and add comment.
14799 (_IO_STR_DYNAMIC): Remove unused macro.
14800 * libio/strops.c (_IO_str_init_static_internal): Do not use
14801 callback pointers. Call malloc and free.
14802 (_IO_str_overflow): Do not use callback pointers. Call malloc
14804 (enlarge_userbuf): Likewise.
14805 (_IO_str_finish): Call free.
14806 * libio/wstrops.c (_IO_wstr_init_static): Initialize
14807 _allocate_buffer_unused.
14808 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
14810 (enlarge_userbuf): Likewise.
14811 (_IO_wstr_finish): Call free.
14812 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
14813 _allocate_buffer_unused, _free_buffer_unused.
14814 * libio/memstream.c (__open_memstream): Likewise.
14815 * libio/vasprintf.c (_IO_vasprintf): Likewise.
14816 * libio/wmemstream.c (open_wmemstream): Likewise.
14818 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14820 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
14823 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14825 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
14826 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
14827 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
14829 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
14831 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
14833 2018-05-29 Florian Weimer <fweimer@redhat.com>
14835 * support/Makefile (libsupport-routines): Add
14836 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
14837 xpthread_barrierattr_setpshared.
14838 * support/xpthread_barrierattr_destroy.c: New file.
14839 * support/xpthread_barrierattr_init.c: Likewise.
14840 * support/xpthread_barrierattr_setpshared.c: Likewise.
14842 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
14845 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
14846 _r_debug and update DT_DEBUG for debugger.
14848 2018-05-29 Florian Weimer <fweimer@redhat.com>
14850 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
14851 (tst-strtod5i.out): Likewise.
14853 2018-05-25 Joseph Myers <joseph@codesourcery.com>
14855 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
14856 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
14857 (sparc64-quad-routines): New variable. Moved from ....
14858 [$(subdir) = soft-fp] (sysdep_routines): Add
14859 $(sparc64-quad-routines). Moved from ....
14860 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
14861 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
14862 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
14864 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
14865 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
14866 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
14867 * sysdeps/sparc/sparc64/qp_add.c: ... here.
14868 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
14869 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
14870 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
14871 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
14872 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
14873 * sysdeps/sparc/sparc64/qp_div.c: ... here.
14874 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
14875 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
14876 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
14877 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
14878 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
14879 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
14880 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
14881 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
14882 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
14883 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
14884 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
14885 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
14886 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
14887 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
14888 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
14889 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
14890 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
14891 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
14892 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
14893 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
14894 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
14895 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
14896 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
14897 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
14898 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
14899 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
14900 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
14901 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
14902 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
14903 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
14904 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
14905 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
14906 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
14907 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
14908 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
14909 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
14910 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
14911 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
14912 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
14913 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
14914 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
14915 * sysdeps/sparc/sparc64/qp_util.c: ... here.
14916 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
14917 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
14918 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
14919 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
14920 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
14921 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
14923 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
14924 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
14925 (sparc32-quad-routines): New variable. Moved from ....
14926 [$(subdir) = soft-fp] (sysdep_routines): Add
14927 $(sparc32-quad-routines). Moved from ....
14928 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
14929 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
14931 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
14932 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
14933 * sysdeps/sparc/sparc32/q_add.c: ... here.
14934 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
14935 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
14936 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
14937 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
14938 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
14939 * sysdeps/sparc/sparc32/q_div.c: ... here.
14940 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
14941 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
14942 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
14943 * sysdeps/sparc/sparc32/q_feq.c: ... here.
14944 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
14945 * sysdeps/sparc/sparc32/q_fge.c: ... here.
14946 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
14947 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
14948 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
14949 * sysdeps/sparc/sparc32/q_fle.c: ... here.
14950 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
14951 * sysdeps/sparc/sparc32/q_flt.c: ... here.
14952 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
14953 * sysdeps/sparc/sparc32/q_fne.c: ... here.
14954 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
14955 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
14956 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
14957 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
14958 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
14959 * sysdeps/sparc/sparc32/q_mul.c: ... here.
14960 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
14961 * sysdeps/sparc/sparc32/q_neg.c: ... here.
14962 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
14963 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
14964 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
14965 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
14966 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
14967 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
14968 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
14969 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
14970 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
14971 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
14972 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
14973 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
14974 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
14975 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
14976 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
14977 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
14978 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
14979 * sysdeps/sparc/sparc32/q_sub.c: ... here.
14980 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
14981 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
14982 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
14983 * sysdeps/sparc/sparc32/q_util.c: ... here.
14984 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
14985 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
14986 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
14987 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
14989 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14990 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14992 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
14993 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
14994 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
14995 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
14997 2018-05-24 Joseph Myers <joseph@codesourcery.com>
14999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
15001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15003 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
15004 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
15006 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15009 * math/math.h [C++] (iseqsig): Fix parameter type for the long
15012 2018-05-23 Joseph Myers <joseph@codesourcery.com>
15014 * sysdeps/sh/Implies: Remove sh/soft-fp.
15015 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
15016 * sysdeps/sh/sfp-machine.h: ... here.
15018 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15020 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15021 (__mempcpy_erms): Skip zero length.
15022 (__memmove_erms): Likewise.
15023 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15024 (__memset_erms): Likewise.
15026 2018-05-23 Joseph Myers <joseph@codesourcery.com>
15028 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
15029 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
15030 Add functions moved from ....
15031 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
15032 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
15033 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
15035 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
15036 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
15037 * sysdeps/alpha/e_sqrtl.c: ... here.
15038 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
15039 * sysdeps/alpha/local-soft-fp.h: ... here.
15040 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
15041 * sysdeps/alpha/ots_add.c: ... here.
15042 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
15043 * sysdeps/alpha/ots_cmp.c: ... here.
15044 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
15045 * sysdeps/alpha/ots_cmpe.c: ... here.
15046 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
15047 * sysdeps/alpha/ots_cvtqux.c: ... here.
15048 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
15049 * sysdeps/alpha/ots_cvtqx.c: ... here.
15050 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
15051 * sysdeps/alpha/ots_cvttx.c: ... here.
15052 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
15053 * sysdeps/alpha/ots_cvtxq.c: ... here.
15054 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
15055 * sysdeps/alpha/ots_cvtxt.c: ... here.
15056 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
15057 * sysdeps/alpha/ots_div.c: ... here.
15058 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
15059 * sysdeps/alpha/ots_mul.c: ... here.
15060 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
15061 * sysdeps/alpha/ots_nintxq.c: ... here.
15062 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
15063 * sysdeps/alpha/ots_sub.c: ... here.
15064 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
15065 * sysdeps/alpha/sfp-machine.h: ... here.
15067 2018-05-23 Florian Weimer <fweimer@redhat.com>
15075 Switch to extern IDNA implementation (libidn2).
15076 * libidn: Remove subdirectory.
15077 * LICENSES: Do not mention licensing conditions for the removed
15079 * config.h.in (HAVE_LIBIDN): Remove.
15080 * include/dlfcn.h (__libc_dlopen): Update comment.
15081 * include/idna.h: Remove file.
15082 * inet/Makefile (routines): Add idna.
15083 (tests-static, tests-internal): Add tst-idna_name_classify.
15084 (LOCALES): Generate locales for tests.
15085 (tst-idna_name_classify.out): Depend on generated locales.
15086 * inet/idna_name_classify.c: New file.
15087 * inet/tst-idna_name_classify.c: Likewise.
15088 * inet/net-internal.h (__idna_to_dns_encoding)
15089 (__idna_from_dns_encoding): Declare.
15090 * inet/net-internal.h (enum idna_name_classification): Define.
15091 (__idna_name_classify): Declare.
15092 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
15093 __idna_from_dns_encoding.
15094 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
15095 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
15096 name as a fallback in case of encoding errors.
15097 (getnameinfo): Use DEPRECATED_NI_IDN.
15098 * inet/idna.c: New file.
15099 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
15100 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
15101 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
15102 (modules-names): Add tst-no-libidn2.
15103 (extra-test-objs): Add tst-no-libidn2.os.
15104 (LDFLAGS-tst-no-libidn2.so): Set soname.
15105 (LOCALES): Set, and generate locales.
15106 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
15107 (tst-resolv-ai_idn-latin1): Likewise.
15108 (tst-resolv-ai_idn-nolibidn2): Likewise.
15109 (tst-resolv-ai_idn.out): Depend on locales.
15110 (tst-resolv-ai_idn-latin1.out): Depend on locales.
15111 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
15113 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
15114 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
15115 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
15116 * resolv/tst-resolv-ai_idn.c: New file.
15117 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
15118 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
15119 * resolv/tst-no-libidn2.c: Likewise.
15120 * support/support_format_addrinfo.c (format_ai_flags): Do not
15121 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
15122 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
15123 (gaih_inet): Call __idna_to_dns_encoding and
15124 __idna_from_dns_encoding, and use the original (punycode) name if
15125 __idna_from_dns_encoding fails due to an encoding error.
15126 (getaddrinfo): Use DEPRECATED_AI_IDN.
15127 * sysdeps/unix/inet/Subdirs (libidn): Remove.
15128 * sysdeps/unix/inet/configure: Remove file.
15129 * sysdeps/unix/inet/configure.ac: Likewise.
15131 2018-05-23 Florian Weimer <fweimer@redhat.com>
15133 Implement allocate_once.
15134 * include/allocate_once.h: New file.
15135 * misc/allocate_once.c: Likewise.
15136 * misc/tst-allocate_once.c: Likewise.
15137 * misc/Makefile (routines): Add allocate_once.
15138 (tests-internal): Add tst-allocate_once.
15139 (generated): Add tst-allocate_once.mtrace,
15140 tst-allocate_once-mem.out.
15141 (tests-special): Add tst-allocate_once-mem.out.
15142 (tst-allocate_once-ENV): Set MALLOC_TRACE.
15143 (tst-allocate_once-mem.out): Call mtrace.
15144 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
15146 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15149 * string/test-memcpy.c (do_test1): New function.
15150 (test_main): Call it.
15152 2018-05-23 Andreas Schwab <schwab@suse.de>
15156 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
15157 (L(preloop_large)): Save initial destination pointer in %r11 and
15158 use it instead of %rax after the loop.
15159 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
15161 2018-05-22 Joseph Myers <joseph@codesourcery.com>
15163 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
15164 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
15165 -I../soft-fp. Moved from ....
15166 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
15167 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
15168 * sysdeps/aarch64/e_sqrtl.c: ... here.
15169 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
15170 * sysdeps/aarch64/sfp-machine.h: ... here.
15172 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
15173 -Wmaybe-uninitialized around access to fq[0].
15174 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15178 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
15179 aliases for non-libc case of versioned symbols.
15180 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
15181 (llseek): Define as compat symbol if
15182 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
15184 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
15185 Make into a compat symbol, disabled for minimum symbol version
15186 GLIBC_2.28 and later.
15187 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
15189 2018-05-22 Florian Weimer <fweimer@redhat.com>
15191 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
15192 not add -mpreferred-stack-boundary=4.
15193 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
15194 (stack-align-test-flags): Likewise.
15195 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
15197 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
15198 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
15199 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
15200 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
15201 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
15202 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
15203 (CFLAGS-tst-align2.c): Likewise.
15205 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15207 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
15208 (index_arch_Prefer_FSRM): Likewise.
15209 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
15210 Also check Prefer_FSRM.
15211 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
15212 Also return OPTIMIZE (erms) for Prefer_FSRM.
15214 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15216 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
15217 (index_cpu_FSRM): Likewise.
15218 (reg_FSRM): Likewise.
15220 2018-05-18 Joseph Myers <joseph@codesourcery.com>
15222 * math/gen-tgmath-tests.py: Import sys.
15223 (Tests.__init__): Initialize macros_seen.
15224 (Tests.add_tests): Add macro to macros_seen. Only generate tests
15225 if requested to do so for this macro.
15226 (Tests.add_all_tests): Take argument for macro for which to
15228 (Tests.check_macro_list): New function.
15229 (main): Handle check-list argument and argument specifying macro
15230 for which to generate tests.
15231 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
15232 [PYTHON] (tgmath3-macro-tests): Likewise.
15233 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
15234 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
15235 not test-tgmath3.c.
15236 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
15237 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
15239 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
15240 [PYTHON] ($(foreach
15241 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
15243 [PYTHON] (tests-special): Add
15244 $(objpfx)test-tgmath3-macro-list.out.
15245 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
15247 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
15248 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
15252 * time/tzset.c (SECSPERDAY): Cast to time_t.
15253 * time/tst-y2039.c: New file.
15254 * time/Makefile (tests): Add tst-y2039.
15256 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15258 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15259 (PREFETCH_ONE_SET): Remove duplicate line.
15261 2018-05-17 Florian Weimer <fweimer@redhat.com>
15263 * sysdeps/generic/math-type-macros-double.h: Include
15264 <math-nan-payload-double.h> after <libm-alias-double.h>.
15265 * sysdeps/generic/math-type-macros-float.h: Include
15266 <math-nan-payload-float.h> after <libm-alias-float.h>.
15267 * sysdeps/generic/math-type-macros-float128.h: Include
15268 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
15269 * sysdeps/generic/math-type-macros-ldouble.h: Include
15270 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
15272 2018-05-17 Andreas Schwab <schwab@suse.de>
15274 * resolv/res_send.c (__res_context_send): Don't set errno when
15275 returing error after malloc failure.
15277 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
15279 * nptl/allocatestack.c (allocate_stack): Remove the
15280 !__ASSUME_PRIVATE_FUTEX paths.
15281 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
15282 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15284 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
15285 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15286 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15287 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15288 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
15289 !__ASSUME_PRIVATE_FUTEX path.
15290 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
15291 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
15292 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15293 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
15294 !__ASSUME_PRIVATE_FUTEX macros.
15295 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15296 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
15297 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15298 * sysdeps/unix/sysv/linux/kernel-features.h
15299 (__ASSUME_PRIVATE_FUTEX): Removed.
15301 2018-05-17 Joseph Myers <joseph@codesourcery.com>
15303 * math/Makefile (libm-narrow-fns): Add div.
15304 (libm-test-funcs-narrow): Likewise.
15305 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
15306 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
15307 * math/gen-auto-libm-tests.c (test_functions): Add div.
15308 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
15309 (NARROW_DIV_ROUND_TO_ODD): Likewise.
15310 (NARROW_DIV_TRIVIAL): Likewise.
15311 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
15313 (__ddivl): Likewise.
15314 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
15316 (CFLAGS-nldbl-ddiv.c): New variable.
15317 (CFLAGS-nldbl-fdiv.c): Likewise.
15318 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15320 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
15322 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
15323 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
15324 * math/auto-libm-test-in: Add tests of div.
15325 * math/auto-libm-test-out-narrow-div: New generated file.
15326 * math/libm-test-narrow-div.inc: New file.
15327 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
15328 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
15329 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
15330 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
15331 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
15332 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
15333 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
15334 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
15335 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
15336 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
15337 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
15338 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
15339 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
15340 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
15341 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
15342 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
15343 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
15344 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
15345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15346 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15347 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15348 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15349 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15350 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15351 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15352 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15353 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15354 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15355 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15356 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15357 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15358 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15363 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15364 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15365 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15366 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15367 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15368 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15369 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15370 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15372 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15375 * nscd/nscd-client.h (sendfileall): Remove prototype.
15376 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
15377 (handle_request): Use writeall instead of sendfileall.
15378 * nscd/aicache.c (addhstaiX): Likewise.
15379 * nscd/grpcache.c (cache_addgr): Likewise.
15380 * nscd/hstcache.c (cache_addhst): Likewise.
15381 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15382 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
15383 * nscd/pwdcache.c (cache_addpw): Likewise.
15384 * nscd/servicescache.c (cache_addserv): Likewise.
15385 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
15386 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
15387 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
15390 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
15392 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
15393 Include <string/strncat.c>.
15394 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
15396 (__GI___strncat): New hidden alias.
15398 2018-05-16 Joseph Myers <joseph@codesourcery.com>
15400 * sysdeps/mips/mips32/libm-test-ulps: Update.
15401 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15403 2018-05-16 Florian Weimer <fweimer@redhat.com>
15405 * support/Makefile (libsupport-routines): Add support_quote_blob,
15406 support_test_compare_blob.
15407 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
15408 * support/check.h (TEST_COMPARE_BLOB): Define.
15409 (support_test_compare_blob): Declare.
15410 * support/support.h (support_quote_blob): Declare.
15411 * support/support_quote_blob.c: New file.
15412 * support/support_test_compare_blob.c: Likewise.
15413 * support/tst-support_quote_blob.c: Likewise.
15414 * support/tst-test_compare_blob.c: Likewise.
15416 2018-05-16 Florian Weimer <fweimer@redhat.com>
15418 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
15419 of <strtod_nan_double.h>.
15420 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
15421 instead of SET_MANTISSA.
15422 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
15423 of include <strtod_nan_float.h>.
15424 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
15425 instead of <strtod_nan_ldouble.h>.
15426 * stdlib/strtod_nan_double.h: Move to ...
15427 * sysdeps/generic/math-nan-payload-double.h: ... here.
15428 (FLOAT): Remove definition.
15429 (SET_MANTISSA): Rename to ...
15430 (SET_NAN_PAYLOAD): ... this.
15431 * stdlib/strtod_nan_float.h: Move to ...
15432 * sysdeps/generic/math-nan-payload-float.h: ... here.
15433 (FLOAT): Remove definition.
15434 (SET_MANTISSA): Rename to ...
15435 (SET_NAN_PAYLOAD): ... this.
15436 * sysdeps/generic/math-type-macros-double.h: Include
15437 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
15438 instead of <math-svid-compat.h>.
15439 * sysdeps/generic/math-type-macros-float.h: Include
15440 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
15441 instead of <math-svid-compat.h>.
15442 * sysdeps/generic/math-type-macros-float128.h: Include
15443 <math-nan-payload-float128.h>.
15444 * sysdeps/generic/math-type-macros-ldouble.h: Include
15445 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
15446 instead of <math-svid-compat.h>.
15447 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
15448 check for definition.
15449 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
15450 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
15451 Include <ieee754_float128.h>.
15452 (FLOAT): Remove definition.
15453 (SET_MANTISSA): Rename to ...
15454 (SET_NAN_PAYLOAD): ... this.
15455 * sysdeps/ieee754/float128/strtof128_nan.c: Include
15456 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
15457 Do not include <float128_private.h>.
15458 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
15459 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
15460 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
15461 (FLOAT): Remove definition.
15462 (SET_MANTISSA): Rename to ...
15463 (SET_NAN_PAYLOAD): ... this.
15464 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
15465 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
15466 (FLOAT): Remove definition.
15467 (SET_MANTISSA): Rename to ...
15468 (SET_NAN_PAYLOAD): ... this.
15469 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
15470 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
15471 (FLOAT): Remove definition.
15472 (SET_MANTISSA): Rename to ...
15473 (SET_NAN_PAYLOAD): ... this.
15474 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
15475 of "../stdlib/strtod_nan_double.h".
15476 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
15477 of "../stdlib/strtod_nan_float.h".
15478 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
15479 instead of "../stdlib/strtod_nan_ldouble.h".
15480 * manual/arith.texi (Parsing of Floats): Adjust comment.
15482 2018-05-16 Joseph Myers <joseph@codesourcery.com>
15484 * math/Makefile (libm-narrow-fns): Add mul.
15485 (libm-test-funcs-narrow): Likewise.
15486 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
15487 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
15488 * math/gen-auto-libm-tests.c (test_functions): Add mul.
15489 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
15490 (NARROW_MUL_ROUND_TO_ODD): Likewise.
15491 (NARROW_MUL_TRIVIAL): Likewise.
15492 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
15493 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
15495 (__dmull): Likewise.
15496 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
15498 (CFLAGS-nldbl-dmul.c): New variable.
15499 (CFLAGS-nldbl-fmul.c): Likewise.
15500 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15502 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
15504 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
15505 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
15506 * math/auto-libm-test-in: Add tests of mul.
15507 * math/auto-libm-test-out-narrow-mul: New generated file.
15508 * math/libm-test-narrow-mul.inc: New file.
15509 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
15510 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
15511 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
15512 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
15513 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
15514 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
15515 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
15516 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
15517 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
15518 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
15519 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
15520 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
15521 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
15522 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
15523 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
15524 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
15525 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
15526 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
15527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15528 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15529 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15530 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15531 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15532 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15533 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15534 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15535 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15536 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15537 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15538 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15539 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15540 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15545 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15546 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15547 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15548 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15549 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15550 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15551 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15552 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15554 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15556 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15557 with *%eax in call.
15559 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15561 * sysdeps/i386/ldsodefs.h: Removed.
15562 * sysdeps/x86_64/ldsodefs.h: Moved to ...
15563 * sysdeps/x86/ldsodefs.h: This.
15564 (La_i86_regs): New.
15565 (La_i86_retval): Likewise.
15566 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
15567 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
15569 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15571 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
15574 2018-05-13 Alan Modra <amodra@gmail.com>
15576 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
15577 R_PARISC_TLS_DTPOFF32 reloc addend.
15579 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15581 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
15582 * math/math.h: Restrict the prototype definition for the functions
15583 issignaling(_Float128) and iszero(_Float128); and template
15584 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
15585 __HAVE_FLOAT128_UNLIKE_LDBL.
15586 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
15587 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15588 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
15589 __f128() constants; define the type _Float128 as long double;
15590 and reuse long double in __CFLOAT128.
15592 2018-05-11 Joseph Myers <joseph@codesourcery.com>
15594 * sysdeps/generic/math_private.h: Do not include
15596 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
15598 * math/fromfp.h: Include <math-barriers.h>.
15599 * math/math-narrow.h: Likewise.
15600 * math/s_nextafter.c: Likewise.
15601 * math/s_nexttowardf.c: Likewise.
15602 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
15603 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
15604 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
15605 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
15606 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15607 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15608 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15609 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15610 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15611 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15612 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15613 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15614 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15615 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15616 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
15617 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15618 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15619 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15620 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15621 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15622 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15623 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15624 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15625 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15626 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15627 * sysdeps/ieee754/k_standardl.c: Likewise.
15628 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15629 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15630 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15631 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15632 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15633 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15634 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15635 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15636 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15637 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15638 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15639 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15640 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15641 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15642 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15643 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15644 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
15645 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
15646 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15647 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15648 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
15649 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
15651 2018-05-11 Florian Weimer <fweimer@redhat.com>
15653 Use 64-bit epoch values in the time zone file parser.
15654 * include/time.h (internal_time_t): Define.
15655 (__tzfile_compute): Use it.
15656 * time/tzfile.c (struct leap): Use internal_time_t for epoch
15658 (transitions): Switch to internal_time_t.
15659 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
15661 (__tzfile_compute): Use internal_time_t for timer argument. Check
15662 for truncation before calling __offtime.
15664 2018-05-11 Florian Weimer <fweimer@redhat.com>
15667 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
15668 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
15670 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
15671 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
15672 export without --enable-obsolete-rpc.
15673 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
15674 symbol. This should not have been exported, ever.
15676 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
15679 * localedata/locales/gd_GB (abmon): Fix typo in May:
15680 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
15682 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
15684 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15685 Use multiple registers to copy data in loop tail.
15687 * sysdeps/aarch64/multiarch/memmove_falkor.S
15688 (__memmove_falkor): Use multiple registers to move data in
15691 2018-05-10 Joseph Myers <joseph@codesourcery.com>
15693 * math/math-underflow.h: New file.
15694 * sysdeps/generic/math_private.h: Do not include <float.h>.
15695 (fabs_tg): Remove macro. Moved to math-underflow.h.
15696 (min_of_type_f): Likewise.
15697 (min_of_type_): Likewise.
15698 (min_of_type_l): Likewise.
15699 (min_of_type_f128): Likewise.
15700 (min_of_type): Likewise.
15701 (math_check_force_underflow): Likewise.
15702 (math_check_force_underflow_nonneg): Likewise.
15703 (math_check_force_underflow_complex): Likewise.
15704 * math/e_exp2_template.c: Include <math-underflow.h>.
15705 * math/k_casinh_template.c: Likewise.
15706 * math/s_catan_template.c: Likewise.
15707 * math/s_catanh_template.c: Likewise.
15708 * math/s_ccosh_template.c: Likewise.
15709 * math/s_cexp_template.c: Likewise.
15710 * math/s_clog10_template.c: Likewise.
15711 * math/s_clog_template.c: Likewise.
15712 * math/s_csin_template.c: Likewise.
15713 * math/s_csinh_template.c: Likewise.
15714 * math/s_csqrt_template.c: Likewise.
15715 * math/s_ctan_template.c: Likewise.
15716 * math/s_ctanh_template.c: Likewise.
15717 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15718 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15719 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15720 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15721 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15722 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15723 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15724 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15725 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15726 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15727 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15728 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15729 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15730 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15731 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15732 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15733 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15734 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15735 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15736 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15737 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15738 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15739 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15740 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15741 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15742 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15743 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15744 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15745 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15746 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15747 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15748 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15749 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15750 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15751 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15752 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15753 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15754 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15755 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15756 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15757 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15758 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15759 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15760 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15761 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15762 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15763 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15764 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15765 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15766 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15767 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15768 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15769 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15770 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15771 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15772 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15773 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15774 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15775 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15776 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15777 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15778 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15779 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15780 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15781 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15782 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15783 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15784 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15785 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15786 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15787 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15788 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15789 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15790 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
15791 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15792 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15793 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15794 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15795 * sysdeps/x86/fpu/powl_helper.c: Likewise.
15796 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
15797 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
15798 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15799 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15800 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15802 2018-05-09 Joseph Myers <joseph@codesourcery.com>
15804 * sysdeps/generic/math-barriers.h: New file.
15805 * sysdeps/generic/math_private.h [!math_opt_barrier]
15806 (math_opt_barrier): Move to math-barriers.h.
15807 [!math_opt_barrier] (math_force_eval): Likewise.
15808 * sysdeps/aarch64/fpu/math-barriers.h: New file.
15809 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
15811 (math_force_eval): Likewise.
15812 * sysdeps/alpha/fpu/math-barriers.h: New file.
15813 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
15815 (math_force_eval): Likewise.
15816 * sysdeps/x86/fpu/math-barriers.h: New file.
15817 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
15819 (math_force_eval): Likewise.
15820 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
15821 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
15822 multiple-include guard for rename.
15823 * sysdeps/powerpc/fpu/math-barriers.h: New file.
15824 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
15826 (math_force_eval): Likewise.
15828 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15832 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
15834 * stdlib/Makefile (test-bz22786): New test.
15835 * stdlib/test-bz22786.c: New test.
15837 2018-05-09 Joseph Myers <joseph@codesourcery.com>
15839 * include/math-narrow-eval.h: New file. Contents moved from ....
15840 * sysdeps/generic/math_private.h: ... here.
15841 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
15842 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15843 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
15844 * stdlib/strtod_l.c: Likewise.
15845 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15846 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15847 * sysdeps/i386/fpu/s_fdim.c: Likewise.
15848 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15849 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15850 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15851 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15852 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15853 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15854 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15855 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15856 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
15857 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15858 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15859 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15860 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15861 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15862 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15863 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15864 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15865 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15866 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15867 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15868 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15869 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15870 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15871 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15872 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15873 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15875 2018-05-08 Andreas Schwab <schwab@suse.de>
15877 * sysdeps/nptl/internaltypes.h: Fix comment.
15879 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
15881 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15882 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
15885 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15887 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
15888 of I into loop header.
15889 * benchtests/bench-memmove-walk.c
15890 (test_main): Likewise.
15892 2018-05-07 Alexandre Oliva <oliva@gnu.org>
15895 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15896 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15898 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15901 * elf/dl-load.c (open_verify): Fix stack overflow.
15902 * elf/Makefile (tst-big-note): New test.
15903 * elf/tst-big-note-lib.S: New.
15904 * elf/tst-big-note.c: New.
15906 2018-05-04 Joseph Myers <joseph@codesourcery.com>
15908 * scripts/abilist.awk: Ignore absolute symbols.
15909 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
15910 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
15911 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
15912 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
15913 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
15914 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
15915 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15916 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
15917 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
15918 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
15919 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
15920 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
15921 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
15922 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
15923 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
15924 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15925 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
15926 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
15927 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15928 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
15929 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15930 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
15931 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
15932 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
15933 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
15934 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
15935 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
15936 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
15937 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15938 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
15939 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
15940 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15941 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
15942 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15943 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
15944 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
15945 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
15946 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
15947 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
15948 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
15949 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
15950 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15951 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
15952 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
15953 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15954 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
15955 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15956 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
15957 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
15958 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
15959 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
15960 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
15961 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
15962 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
15963 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15964 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
15965 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
15966 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15967 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
15968 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15969 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
15970 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
15971 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
15972 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
15973 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
15974 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
15975 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
15976 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15977 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
15978 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
15979 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15980 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
15981 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15982 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
15983 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
15984 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
15985 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
15986 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
15987 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
15988 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
15989 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15990 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
15991 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
15992 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15993 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
15994 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15995 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
15996 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
15997 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
15998 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
15999 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
16000 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16002 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
16003 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16004 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
16005 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
16006 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16007 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
16008 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
16009 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
16010 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
16011 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
16012 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
16013 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
16014 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16016 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
16017 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16018 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
16019 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
16020 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16021 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
16022 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
16023 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
16024 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
16025 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
16026 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
16027 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
16028 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
16029 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
16030 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16031 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
16032 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
16033 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16034 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
16035 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
16036 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
16037 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
16038 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
16039 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
16040 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16041 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
16042 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16044 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
16045 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
16046 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
16047 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
16048 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16049 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
16050 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
16051 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
16052 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
16053 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
16054 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
16055 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
16056 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
16057 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
16058 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
16059 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
16060 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
16061 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
16062 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16063 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16065 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
16066 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
16067 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
16068 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16069 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
16070 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
16071 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
16072 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
16073 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
16074 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
16075 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16076 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
16077 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
16078 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16079 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
16080 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
16081 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
16082 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
16083 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16084 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
16085 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
16086 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16087 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
16088 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
16089 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
16090 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
16091 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
16092 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
16093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
16094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
16096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
16099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
16100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
16101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
16102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
16104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
16106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
16107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
16110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
16115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
16116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
16122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
16123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
16128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
16129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
16130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
16134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
16135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
16143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
16144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
16145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
16152 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16153 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
16155 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16156 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16157 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
16158 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16159 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16160 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16161 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
16162 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
16163 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16164 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
16165 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16166 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
16167 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
16168 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16170 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16171 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
16172 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
16173 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16174 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
16175 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
16176 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
16177 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
16178 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
16179 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
16180 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
16181 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16183 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16184 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
16185 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
16186 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16187 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
16188 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
16189 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
16190 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
16191 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
16192 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
16193 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
16194 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
16195 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
16196 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16197 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
16198 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
16199 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16200 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
16201 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
16202 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
16203 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
16204 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
16205 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
16206 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
16207 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16209 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
16210 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16211 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
16212 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
16213 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16214 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
16215 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
16216 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
16217 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
16218 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
16219 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
16220 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
16221 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16223 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
16224 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16225 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
16226 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
16227 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16228 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
16229 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
16230 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
16231 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
16232 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
16233 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
16234 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
16235 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
16236 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
16237 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16238 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
16239 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
16240 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16241 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
16242 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
16243 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
16244 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
16245 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
16246 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
16247 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16248 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
16249 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
16250 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
16251 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16252 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
16253 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
16254 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16255 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
16256 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
16257 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
16258 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
16259 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
16260 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
16262 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16265 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
16266 Use atomic_load_acquire to load __tid.
16268 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16270 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
16271 Restore the pointer into %rdx, after syscall and use %rdx,
16272 instead of %rsi, to restore context.
16274 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16276 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
16277 Pop the pointer into %rdx after syscall and use %rdx, instead
16278 of %rsi, to restore context.
16280 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16282 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
16283 handlers after setjmp.
16284 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
16286 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
16287 <libc-pointer-arith.h>.
16288 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
16289 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
16290 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
16291 _JUMP_BUF_SIGSET_BITS_PER_WORD.
16292 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
16293 * sysdeps/x86/__longjmp_cancel.S: New file.
16294 * sysdeps/x86/longjmp.c: Likewise.
16295 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
16297 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16299 * NEWS: Add ustat.h deprecation entry.
16300 * bits/ustat.h: Remove file.
16301 * misc/sys/ustat.h: Likewise.
16302 * misc/ustat.h: Likewise.
16303 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
16304 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
16305 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
16306 compatibility mode.
16307 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
16308 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
16309 generic Linux implementation.
16311 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16313 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
16314 * math/w_expl_compat.c: Likewise.
16315 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
16317 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
16319 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16321 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16323 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
16324 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
16325 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
16327 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
16328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16329 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16330 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
16331 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
16334 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16336 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
16338 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
16339 * math/w_asin_template.c: Likewise.
16340 * math/w_atanh_template.c: Likewise.
16342 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16344 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
16345 to powerpc/powerpc64/be for big-endian.
16346 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
16349 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
16350 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
16351 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
16352 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
16353 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16354 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
16355 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
16356 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
16357 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
16358 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16359 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
16360 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
16361 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
16362 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
16363 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
16364 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
16365 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
16366 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
16367 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
16368 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
16369 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
16370 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16371 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
16372 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
16373 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
16374 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16375 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
16376 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
16377 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
16378 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16379 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16380 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16382 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
16383 adjusted to imply powerpc64 and older processors on powerpc64/be.
16384 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
16385 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
16386 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
16387 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
16388 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
16389 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
16390 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
16391 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
16392 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
16393 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
16394 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
16395 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
16396 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
16397 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
16398 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
16399 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
16400 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
16401 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
16402 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
16403 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
16404 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
16405 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
16406 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
16407 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
16408 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
16409 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
16410 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
16411 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
16412 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
16413 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
16414 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
16416 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
16417 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
16418 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
16419 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
16421 * sysdeps/powerpc/powerpc64/be/Implies: New file.
16422 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
16423 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
16424 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
16426 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
16427 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
16428 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
16429 * sysdeps/powerpc/powerpc64le/configure: Likewise.
16430 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
16431 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
16432 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
16433 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
16434 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
16435 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
16436 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
16438 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
16439 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
16440 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
16441 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
16442 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
16443 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
16444 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
16445 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
16446 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
16447 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
16448 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
16450 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
16451 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
16452 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
16453 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
16454 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
16455 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
16456 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
16457 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
16458 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
16459 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
16460 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
16461 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
16463 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
16464 and adjusted to imply olders processors.
16465 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
16466 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
16467 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
16468 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
16469 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
16470 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
16471 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
16472 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
16473 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
16474 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
16475 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
16477 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
16479 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
16480 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
16482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
16484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
16485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
16487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
16489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
16491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
16493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
16494 powerpc64 and adjusted.
16495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
16496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
16497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
16500 2018-04-27 Joseph Myers <joseph@codesourcery.com>
16502 * sysdeps/tile: Remove.
16503 * sysdeps/unix/sysv/linux/tile: Likewise.
16504 * README (tilegx-*-linux-gnu): Remove from list of supported
16506 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
16507 contribution of support for generic Linux kernel syscall
16509 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
16510 tilegx configurations.
16511 (Config.install_linux_headers): Do not handle tile.
16512 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
16514 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
16515 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
16516 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16517 conditional undefine and redefine.
16518 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
16520 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16521 conditional undefine and redefine.
16523 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
16525 * signal/tst-sigaction.c: New file to test BZ #23069.
16526 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
16528 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16531 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
16532 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
16533 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
16534 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16536 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16538 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
16539 _DIRENT_MATCHES_DIRENT64 is not defined.
16540 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
16541 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
16543 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
16544 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
16546 2018-04-25 Joseph Myers <joseph@codesourcery.com>
16548 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
16549 version to GCC 8 branch.
16551 2018-04-24 Joseph Myers <joseph@codesourcery.com>
16553 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
16554 (check_no_hidden): Use type of original function when declaring
16557 * sysdeps/unix/sysv/linux/sys/ptrace.h
16558 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
16559 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
16560 (struct __ptrace_seccomp_metadata): New type.
16561 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16562 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16563 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
16564 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16565 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
16566 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16567 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16568 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16569 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
16570 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16571 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
16572 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16573 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
16574 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16575 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
16576 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16578 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16580 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
16582 * dirent/versionsort.c (versionsort): Likewise.
16583 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
16584 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
16585 * dirent/versionsort64.c (versionsort64): Likewise.
16586 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
16587 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
16588 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
16589 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
16590 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
16591 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
16592 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
16593 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
16594 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
16595 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
16596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
16597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
16598 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
16599 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
16601 2018-04-23 Joseph Myers <joseph@codesourcery.com>
16603 * elf/elf.h (NT_PPC_PKEY): New macro.
16605 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
16608 * localedata/locales/hr_HR: fix thousands_sep and
16611 2018-04-20 Joseph Myers <joseph@codesourcery.com>
16613 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
16614 (XTABS): Define to TAB3.
16616 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16618 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16620 * dirent/scandir-tail-common.c: New file.
16621 * dirent/scandir-tail.c: Use scandir-tail-common.c.
16622 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
16623 * dirent/scandir.c: Use scandir-tail-common.c.
16624 * dirent/scandirat.c: Likewise.
16625 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
16626 * dirent/scandir64.c (scandir64): Always build and alias to scandir
16627 if _DIRENT_MATCHES_DIRENT64 is defined.
16628 * dirent/scandirat64.c (scandirat64): Likewise.
16629 * include/dirent.h (__scandir_tail): Only define iff
16630 _DIRENT_MATCHES_DIRENT64 is not defined.
16631 (__scandir64_tail): Define regardless.
16632 (__scandirat, scandirat64): Remove libc_hidden_proto.
16633 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
16634 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
16635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
16636 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
16637 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16638 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
16639 * sysdeps/unix/sysv/linux/scandir64.c: New file.
16641 2018-04-20 Joseph Myers <joseph@codesourcery.com>
16643 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
16645 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16647 (_dl_aarch64_cap_flags): Add asimdfhm.
16649 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
16651 * sysdeps/nios2/libm-test-ulps: Update.
16653 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16655 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
16656 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
16658 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
16660 (_DIRENT_MATCHES_DIRENT64): Undef
16661 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
16662 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
16663 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
16664 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
16665 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
16666 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
16667 use getdents64 syscalls as base.
16668 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
16669 symbol if required.
16670 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
16671 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
16672 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
16673 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
16674 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
16675 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
16676 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
16677 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
16678 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16679 (__get_clockfreq_via_proc_openprom): Use __getdents64.
16680 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
16682 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16684 * scripts/test_printers_common.py (init_test): Disable lock elision.
16686 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16688 * math/test-tgmath.c (count_double, count_float,
16689 count_ldouble, count_cdouble, count_cfloat,
16690 count_cldouble): Use volatile int.
16692 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16694 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
16695 (conformtest-xfail-conds): Add i386-gnu.
16696 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
16698 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
16699 ipc_perm.cuid, ipc_perm.cgid): Likewise.
16700 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
16701 msqid_ds.msg_lrpid): Likewise.
16702 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
16704 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
16705 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
16706 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
16707 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
16709 (struct statvfs64): Likewise.
16710 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
16712 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
16713 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
16714 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
16715 instead of wait_queue.
16716 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
16717 instead of vm_area_struct.
16718 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
16719 struct sched_param definition to it.
16720 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16721 * bits/types/struct_sched_param.h: New file.
16722 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
16723 <bits/types/struct_sched_param.h> instead of <sched.h>.
16724 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
16725 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
16726 generic version but include <bits/pthreadtypes.h> to make struct
16727 sigevent's sigev_notify_attributes field a pthread_attr_t*.
16728 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
16730 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
16731 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
16732 [__USE_XOPEN] (OFDEL): New macro.
16733 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
16734 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
16735 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
16737 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
16738 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
16739 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
16741 * sysdeps/i386/sys/ucontext.h: Likewise.
16742 * sysdeps/m68k/sys/ucontext.h: Likewise.
16743 * sysdeps/mips/sys/ucontext.h: Likewise.
16744 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
16745 * sysdeps/mach/hurd/i386/Makefile
16746 (test-xfail-POSIX/fcntl.h/conform): Add.
16747 (test-xfail-POSIX/signal.h/conform): Add.
16748 (test-xfail-POSIX/semaphore.h/conform): Add.
16749 (test-xfail-POSIX/regex.h/conform): Add.
16750 (test-xfail-POSIX/aio.h/conform): Add.
16751 (test-xfail-POSIX/mqueue.h/conform): Add.
16752 (test-xfail-POSIX/sys/types.h/conform): Add.
16753 (test-xfail-UNIX98/fcntl.h/conform): Add.
16754 (test-xfail-UNIX98/netdb.h/conform): Add.
16755 (test-xfail-UNIX98/signal.h/conform): Add.
16756 (test-xfail-UNIX98/semaphore.h/conform): Add.
16757 (test-xfail-UNIX98/regex.h/conform): Add.
16758 (test-xfail-UNIX98/aio.h/conform): Add.
16759 (test-xfail-UNIX98/ftw.h/conform): Add.
16760 (test-xfail-UNIX98/mqueue.h/conform): Add.
16761 (test-xfail-UNIX98/netinet/in.h/conform): Add.
16762 (test-xfail-UNIX98/sys/wait.h/conform): Add.
16763 (test-xfail-UNIX98/sys/sem.h/conform): Add.
16764 (test-xfail-UNIX98/sys/uio.h/conform): Add.
16765 (test-xfail-UNIX98/sys/socket.h/conform): Add.
16766 (test-xfail-UNIX98/sys/types.h/conform): Add.
16767 (test-xfail-UNIX98/stdlib.h/conform): Add.
16768 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
16769 (test-xfail-POSIX2008/fcntl.h/conform): Add.
16770 (test-xfail-POSIX2008/netdb.h/conform): Add.
16771 (test-xfail-POSIX2008/signal.h/conform): Add.
16772 (test-xfail-POSIX2008/semaphore.h/conform): Add.
16773 (test-xfail-POSIX2008/regex.h/conform): Add.
16774 (test-xfail-POSIX2008/aio.h/conform): Add.
16775 (test-xfail-POSIX2008/mqueue.h/conform): Add.
16776 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
16777 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
16778 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
16779 (test-xfail-POSIX2008/sys/types.h/conform): Add.
16780 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
16781 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
16782 (test-xfail-XOPEN2K/netdb.h/conform): Add.
16783 (test-xfail-XOPEN2K/signal.h/conform): Add.
16784 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
16785 (test-xfail-XOPEN2K/regex.h/conform): Add.
16786 (test-xfail-XOPEN2K/aio.h/conform): Add.
16787 (test-xfail-XOPEN2K/ftw.h/conform): Add.
16788 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
16789 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
16790 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
16791 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
16792 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
16793 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
16794 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
16795 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
16796 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
16797 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
16798 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
16799 (test-xfail-XOPEN2K8/signal.h/conform): Add.
16800 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
16801 (test-xfail-XOPEN2K8/regex.h/conform): Add.
16802 (test-xfail-XOPEN2K8/aio.h/conform): Add.
16803 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
16804 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
16805 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
16806 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
16807 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
16808 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
16809 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
16810 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
16811 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
16812 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
16813 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
16815 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
16816 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
16818 2018-04-18 Joseph Myers <joseph@codesourcery.com>
16820 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16821 --enable-obsolete for powerpc-linux-gnuspe.
16823 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16825 * conform/data/sys/un.h-data: Allow sun_ prefix.
16826 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
16828 * sysdeps/mach/include/mach.h: Likewise.
16829 * sysdeps/mach/include/mach/mig_support.h: Likewise.
16830 * sysdeps/mach/include/mach_error.h: Likewise.
16832 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16834 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
16835 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
16836 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
16837 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
16839 2018-04-16 Andreas Schwab <schwab@suse.de>
16842 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
16844 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16846 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
16847 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
16849 2018-04-12 DJ Delorie <dj@redhat.com>
16851 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16854 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16856 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
16857 (struct kernel_sigaction): Use the same definition on 31bit as is used
16860 2018-04-09 Florian Weimer <fweimer@redhat.com>
16863 * resolv/res_send.c (send_dg): Use designated initializers instead
16864 of assignment to zero-initialize other fields of struct mmsghdr.
16866 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16868 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
16869 __READDIR_ALIAS): Undefine after usage.
16870 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
16871 __READDIR_R_ALIAS): Likewise.
16872 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
16873 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
16874 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
16875 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
16876 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
16877 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
16878 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16879 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16880 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
16881 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
16882 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
16883 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
16884 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16885 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
16886 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
16887 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
16888 * sysdeps/unix/sysv/linux/readdir.c: New file.
16889 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
16890 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
16891 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
16893 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16895 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
16897 * manual/charset.texi (Converting a Character): Fix typo.
16899 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16903 * sysdeps/arm/libm-test-ulps: Update.
16905 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
16906 as base implementation.
16907 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16908 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16909 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16910 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16911 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16912 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
16913 remove unrequired definitions and update comments.
16914 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
16915 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
16916 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
16917 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
16918 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
16919 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
16920 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
16921 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
16922 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
16923 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
16924 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
16925 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16926 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16927 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
16928 and RESET_SA_RESTORER hooks.
16930 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
16932 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16934 2018-04-05 Florian Weimer <fweimer@redhat.com>
16936 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
16937 integer overflow, memory leak on error, and indeterminate errno
16938 value. Add a null wide character to terminate the result string.
16939 * manual/charset.texi (Converting a Character): Mention embedded
16940 null bytes in the mbrtowc input string. Explain what happens in
16941 the -2 result case. Do not claim that mbrtowc is simple or
16942 obvious to use. Adjust the description of the code example. Use
16943 @code, not @var, for concrete variables.
16945 2018-04-05 Florian Weimer <fweimer@redhat.com>
16947 * manual/examples/mbstouwcs.c: New file.
16948 * manual/charset.texi (Converting a Character): Include it.
16950 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16952 * include/dirent.h (dirfd): Add hidden proto.
16953 * dirent/dirfd.c (dirfd): Add hidden def.
16954 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
16955 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
16957 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16959 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
16960 sin, cos and sincos to 1 ULP.
16962 2018-04-04 Maciej W. Rozycki <macro@mips.com>
16965 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
16967 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
16968 * elf/tst-absolute-sym.c: New file.
16969 * elf/tst-absolute-sym-lib.c: New file.
16970 * elf/tst-absolute-sym-lib.lds: New file.
16971 * elf/Makefile (tests): Add `tst-absolute-sym'.
16972 (modules-names): Add `tst-absolute-sym-lib'.
16973 (LDLIBS-tst-absolute-sym-lib.so): New variable.
16974 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
16975 ($(objpfx)tst-absolute-sym): New dependency.
16978 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
16980 (SYMBOL_ADDRESS): New macro.
16981 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
16982 SYMBOL_ADDRESS for symbol address calculation.
16983 * elf/dl-runtime.c (_dl_fixup): Likewise.
16984 (_dl_profile_fixup): Likewise.
16985 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
16986 * elf/rtld.c (dl_main): Likewise.
16987 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
16988 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
16989 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
16990 (elf_machine_rela): Likewise.
16991 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
16992 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
16993 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16994 (elf_machine_rela): Likewise.
16995 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16996 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
16997 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
16998 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
17000 (elf_machine_reloc): Likewise.
17001 (elf_machine_got_rel): Likewise.
17002 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
17003 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
17004 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17006 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17008 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
17009 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17011 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17013 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17014 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17016 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17018 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
17019 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17021 2018-04-04 Zack Weinberg <zackw@panix.com>
17023 * sysdeps/generic/internal-signals.h: Include signal.h,
17024 sigsetops.h, and stdbool.h.
17025 (__libc_signal_block_all): Actually block all signals.
17026 (__libc_signal_block_app): Likewise.
17027 (__libc_signal_restore_set): Actually restore the signal mask.
17029 2018-04-04 Florian Weimer <fweimer@redhat.com>
17031 inet: Actually build and run tst-deadline.
17032 * inet/Makefile (tests-internal): Add tst-deadline and do not
17033 overwrite the variable.
17034 (tests-static-internal): Remove variable.
17036 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
17039 * bits/uio-ext.h (RWF_APPEND): New.
17040 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
17041 * manual/llio.texi: Document RWF_APPEND.
17042 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
17043 (RWF_SUPPORTED): Add RWF_APPEND.
17045 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17048 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
17049 check for internal nptl signals.
17050 * nptl/sigaction.c (__sigaction): Likewise.
17051 * signal/sigaddset.c (sigaddset): Likewise.
17052 * signal/sigdelset.c (sigdelset): Likewise.
17053 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17054 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
17056 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
17057 to filter out internal nptl signals.
17058 * signal/tst-sigset.c (do_test): Check ech signal indidually and
17059 also check realtime signals using standard macros.
17060 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
17061 __is_internal_signal, __libc_signal_block_all,
17062 __libc_signal_block_app, __libc_signal_restore_set): New functions.
17063 * sysdeps/nptl/sigfillset.c: Remove file.
17064 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
17065 Change return to bool.
17066 (__clear_internal_signals): Remove SIGTIMER clean since it is
17067 equal to SIGCANEL on Linux.
17068 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
17069 signal set was constructed using standard functions.
17071 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17073 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
17074 ifname is too long.
17075 * hurd/hurdsig.c (interrupted_reply_port_location): Use
17076 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
17077 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
17079 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
17080 * signal/sigaddset.c: Include <sigsetopts.h>.
17081 * signal/sigdelset.c: Likewise.
17083 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17085 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
17087 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
17088 logic as sin and cos.
17090 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17092 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
17093 inputs. Return correct sign.
17094 (do_sincos): Remove small input check before do_sin, let do_sin set
17099 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17101 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
17102 (do_cos_slow): Likewise.
17103 (do_sin_slow): Likewise.
17104 (reduce_and_compute): Likewise.
17109 (sloww1): Likewise.
17110 (sloww2): Likewise.
17112 (bslow1): Likewise.
17113 (bslow2): Likewise.
17114 (cslow2): Likewise.
17116 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17118 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
17119 (do_cos): Remove corp parameter and calculations.
17120 (do_sin): Likewise.
17121 (do_sincos): Remove cor variable.
17122 (__sin): Use do_sincos for huge inputs.
17124 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17125 (reduce_and_compute_sincos): Remove unused function.
17127 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17129 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
17130 reduce_sincos, improve accuracy to 136 bits.
17131 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
17132 (__sin): Use improved reduction and simplified do_sincos calculation.
17134 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17136 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17138 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
17139 (do_sincos_2): Likewise.
17140 (__sin): Remove middle range reduction case.
17142 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
17145 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17147 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
17148 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
17151 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
17153 2018-04-03 Joseph Myers <joseph@codesourcery.com>
17155 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17158 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17160 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
17161 Remove definitions.
17162 (opendir_oflags): Use O_DIRECTORY regardless.
17163 (__opendir, __opendirat): Remove need_isdir_precheck usage.
17164 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
17166 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17168 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
17169 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
17171 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
17172 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
17173 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
17174 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
17175 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
17176 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
17178 * htl/Makefile: Bump licence to LGPL 2.1+.
17179 * htl/alloca_cutoff.c: Likewise.
17180 * htl/cthreads-compat.c: Likewise.
17181 * htl/lockfile.c: Likewise.
17182 * htl/pt-alloc.c: Likewise.
17183 * htl/pt-cancel.c: Likewise.
17184 * htl/pt-cleanup.c: Likewise.
17185 * htl/pt-create.c: Likewise.
17186 * htl/pt-dealloc.c: Likewise.
17187 * htl/pt-detach.c: Likewise.
17188 * htl/pt-exit.c: Likewise.
17189 * htl/pt-getattr.c: Likewise.
17190 * htl/pt-initialize.c: Likewise.
17191 * htl/pt-internal.h: Likewise.
17192 * htl/pt-join.c: Likewise.
17193 * htl/pt-self.c: Likewise.
17194 * htl/pt-setcancelstate.c: Likewise.
17195 * htl/pt-setcanceltype.c: Likewise.
17196 * htl/pt-sigmask.c: Likewise.
17197 * htl/pt-spin-inlines.c: Likewise.
17198 * htl/pt-testcancel.c: Likewise.
17199 * htl/pt-yield.c: Likewise.
17200 * htl/tests/test-1.c: Likewise.
17201 * htl/tests/test-10.c: Likewise.
17202 * htl/tests/test-11.c: Likewise.
17203 * htl/tests/test-12.c: Likewise.
17204 * htl/tests/test-13.c: Likewise.
17205 * htl/tests/test-14.c: Likewise.
17206 * htl/tests/test-15.c: Likewise.
17207 * htl/tests/test-16.c: Likewise.
17208 * htl/tests/test-17.c: Likewise.
17209 * htl/tests/test-2.c: Likewise.
17210 * htl/tests/test-3.c: Likewise.
17211 * htl/tests/test-4.c: Likewise.
17212 * htl/tests/test-5.c: Likewise.
17213 * htl/tests/test-6.c: Likewise.
17214 * htl/tests/test-7.c: Likewise.
17215 * htl/tests/test-8.c: Likewise.
17216 * htl/tests/test-9.c: Likewise.
17217 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
17218 * sysdeps/htl/bits/cancelation.h: Likewise.
17219 * sysdeps/htl/bits/pthread-np.h: Likewise.
17220 * sysdeps/htl/bits/pthread.h: Likewise.
17221 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
17222 * sysdeps/htl/bits/semaphore.h: Likewise.
17223 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
17224 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
17225 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
17226 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
17227 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
17228 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
17229 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
17230 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
17231 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
17232 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
17233 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
17234 * sysdeps/htl/old_pt-atfork.c: Likewise.
17235 * sysdeps/htl/pt-atfork.c: Likewise.
17236 * sysdeps/htl/pt-attr-destroy.c: Likewise.
17237 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
17238 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
17239 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
17240 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
17241 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
17242 * sysdeps/htl/pt-attr-getscope.c: Likewise.
17243 * sysdeps/htl/pt-attr-getstack.c: Likewise.
17244 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
17245 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
17246 * sysdeps/htl/pt-attr-init.c: Likewise.
17247 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
17248 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
17249 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
17250 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
17251 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
17252 * sysdeps/htl/pt-attr-setscope.c: Likewise.
17253 * sysdeps/htl/pt-attr-setstack.c: Likewise.
17254 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
17255 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
17256 * sysdeps/htl/pt-attr.c: Likewise.
17257 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
17258 * sysdeps/htl/pt-barrier-init.c: Likewise.
17259 * sysdeps/htl/pt-barrier-wait.c: Likewise.
17260 * sysdeps/htl/pt-barrier.c: Likewise.
17261 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
17262 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
17263 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
17264 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
17265 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
17266 * sysdeps/htl/pt-cond-destroy.c: Likewise.
17267 * sysdeps/htl/pt-cond-init.c: Likewise.
17268 * sysdeps/htl/pt-cond-signal.c: Likewise.
17269 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
17270 * sysdeps/htl/pt-cond-wait.c: Likewise.
17271 * sysdeps/htl/pt-cond.c: Likewise.
17272 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
17273 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
17274 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
17275 * sysdeps/htl/pt-condattr-init.c: Likewise.
17276 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
17277 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
17278 * sysdeps/htl/pt-destroy-specific.c: Likewise.
17279 * sysdeps/htl/pt-equal.c: Likewise.
17280 * sysdeps/htl/pt-getconcurrency.c: Likewise.
17281 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
17282 * sysdeps/htl/pt-getschedparam.c: Likewise.
17283 * sysdeps/htl/pt-getspecific.c: Likewise.
17284 * sysdeps/htl/pt-init-specific.c: Likewise.
17285 * sysdeps/htl/pt-key-create.c: Likewise.
17286 * sysdeps/htl/pt-key-delete.c: Likewise.
17287 * sysdeps/htl/pt-key.h: Likewise.
17288 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
17289 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
17290 * sysdeps/htl/pt-mutex-init.c: Likewise.
17291 * sysdeps/htl/pt-mutex-lock.c: Likewise.
17292 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
17293 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
17294 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
17295 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
17296 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
17297 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
17298 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
17299 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
17300 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
17301 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
17302 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
17303 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
17304 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
17305 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
17306 * sysdeps/htl/pt-mutexattr.c: Likewise.
17307 * sysdeps/htl/pt-once.c: Likewise.
17308 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
17309 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
17310 * sysdeps/htl/pt-rwlock-init.c: Likewise.
17311 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
17312 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
17313 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
17314 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
17315 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
17316 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
17317 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
17318 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
17319 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
17320 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
17321 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
17322 * sysdeps/htl/pt-setconcurrency.c: Likewise.
17323 * sysdeps/htl/pt-setschedparam.c: Likewise.
17324 * sysdeps/htl/pt-setschedprio.c: Likewise.
17325 * sysdeps/htl/pt-setspecific.c: Likewise.
17326 * sysdeps/htl/pt-spin.c: Likewise.
17327 * sysdeps/htl/pt-startup.c: Likewise.
17328 * sysdeps/htl/pthread.h: Likewise.
17329 * sysdeps/htl/sem-close.c: Likewise.
17330 * sysdeps/htl/sem-destroy.c: Likewise.
17331 * sysdeps/htl/sem-getvalue.c: Likewise.
17332 * sysdeps/htl/sem-init.c: Likewise.
17333 * sysdeps/htl/sem-open.c: Likewise.
17334 * sysdeps/htl/sem-post.c: Likewise.
17335 * sysdeps/htl/sem-timedwait.c: Likewise.
17336 * sysdeps/htl/sem-trywait.c: Likewise.
17337 * sysdeps/htl/sem-unlink.c: Likewise.
17338 * sysdeps/htl/sem-wait.c: Likewise.
17339 * sysdeps/hurd/htl/pt-kill.c: Likewise.
17340 * sysdeps/i386/htl/pt-machdep.h: Likewise.
17341 * sysdeps/mach/htl/pt-block.c: Likewise.
17342 * sysdeps/mach/htl/pt-spin.c: Likewise.
17343 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
17344 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
17345 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
17346 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
17347 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
17348 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
17349 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
17350 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
17351 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
17352 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
17353 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
17354 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
17355 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
17356 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
17357 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
17358 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
17359 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
17360 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
17361 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
17362 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
17363 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
17364 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
17365 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
17366 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
17367 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
17368 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
17369 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
17370 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
17371 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
17372 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
17373 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
17374 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
17375 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
17376 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
17377 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
17378 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
17379 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
17380 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
17381 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
17382 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
17383 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
17384 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
17385 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
17387 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
17388 * README: Remove the mention of out-of-tree patches needed for
17391 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
17392 (UTIME_NOW, UTIME_OMIT): Define macros.
17394 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
17395 instead of pthread_detach.
17396 (__cthread_fork): Call __pthread_create instead of pthread_create.
17397 (__cthread_keycreate): Call __pthread_key_create instead of
17398 pthread_key_create.
17399 (__cthread_getspecific): Call __pthread_getspecific instead of
17400 pthread_getspecific.
17401 (__cthread_setspecific): Call __pthread_setspecific instead of
17402 pthread_setspecific.
17403 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
17404 __pthread_mutex_unlock instead of pthread_mutex_lock and
17405 pthread_mutex_unlock.
17406 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
17407 ___pthread_get_cleanup_stack.
17408 (__pthread_get_cleanup_stack): New strong alias.
17409 * htl/pt-create.c: Include <pthreadP.h>.
17410 (entry_point): Call __pthread_exit instead of pthread_exit.
17411 (pthread_create): Rename to __pthread_create.
17412 (pthread_create): New strong alias.
17413 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
17414 (pthread_detach): New strong alias.
17415 (__pthread_detach): Call __pthread_cond_broadcast instead of
17416 pthread_cond_broadcast.
17417 * htl/pt-exit.c: Include <pthreadP.h>.
17418 (__pthread_exit): Call __pthread_setcancelstate and
17419 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
17420 __pthread_get_cleanup_stack.
17421 * htl/pt-testcancel.c: Include <pthreadP.h>.
17422 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
17423 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
17424 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
17425 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
17426 pthread_attr_getstacksize.
17427 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
17428 Rename to __pthread_attr_getstackaddr.
17429 (pthread_attr_getstackaddr): New strong alias.
17430 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
17431 Rename to __pthread_attr_getstacksize.
17432 (pthread_attr_getstacksize): New strong alias.
17433 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
17434 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
17435 (pthread_attr_setstack): New strong alias.
17436 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
17437 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
17438 pthread_attr_getstacksize, pthread_attr_setstacksize and
17439 pthread_attr_setstackaddr.
17440 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
17441 Rename to __pthread_attr_setstackaddr.
17442 (pthread_attr_setstackaddr): New strong alias.
17443 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
17444 Rename to __pthread_attr_setstacksize.
17445 (pthread_attr_setstacksize): New strong alias.
17446 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
17447 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
17449 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
17450 (__pthread_key_create): New hidden def.
17451 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
17452 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
17453 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
17454 __pthread_exit, __pthread_key_create, __pthread_getspecific,
17455 __pthread_setspecific, __pthread_setcancelstate,
17456 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
17457 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
17458 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
17460 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
17461 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
17462 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
17463 (pthread_attr_setstackaddr): New strong alias.
17464 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
17465 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
17466 (pthread_attr_setstacksize): New strong alias.
17467 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
17468 (call_exit): Call __pthread_exit instead of pthread_exit.
17469 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
17470 (_pthread_mutex_init): New hidden definition.
17471 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
17472 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
17473 instead of pthread_attr_init and pthread_attr_setstack.
17475 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
17476 __vm_deallocate instead of vm_allocate and vm_deallocate.
17477 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
17479 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
17481 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
17483 * hurd/siginfo.c: Include <libioP.h>.
17484 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
17485 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
17487 * mach/devstream.c: Include <libioP.h>.
17488 (dealloc_ref): Call __mach_port_deallocate instead of
17489 mach_port_deallocate.
17490 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
17491 Call __mach_port_deallocate instead of mach_port_deallocate.
17492 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
17494 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
17496 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
17497 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
17498 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
17500 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
17502 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
17503 instead of sysconf.
17504 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
17505 __clock_gettime instead of clock_gettime.
17506 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
17507 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17508 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
17509 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17510 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
17512 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
17513 __clock_gettime and __nanosleep instead of clock_gettime and
17515 * hurd/catch-signal.c (hurd_catch_signal): Rename to
17516 __hurd_catch_signal.
17517 (hurd_catch_signal): New strong alias.
17518 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
17519 __hurd_catch_signal instead of hurd_catch_signal.
17520 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
17521 * hurd/hurdexec.c (_hurd_init): Add hidden def.
17522 * hurd/hurdinit.c (_hurd_init): Add hidden def.
17523 * hurd/hurdsig.c: Include <mach/mig_support.h>.
17524 (_hurd_thread_sigstate): Add hidden def.
17525 (_hurd_internal_post_signal): Use __mutex_unlock instead of
17527 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
17528 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
17529 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
17530 __hurd_file_name_path_lookup.
17531 (hurd_file_name_path_lookup): New strong alias.
17532 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
17533 hurd_file_name_path_lookup.
17534 * mach/errstring.c (mach_error_type): Add hidden def.
17535 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
17536 * mach/mutex-init.c (__mutex_init): Add hidden def.
17537 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
17538 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
17539 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
17540 * sysdeps/mach/hurd/getcwd.c
17541 (_hurd_canonicalize_directory_name_internal): Rename to
17542 __hurd_canonicalize_directory_name_internal.
17543 (_hurd_canonicalize_directory_name_internal): New strong alias.
17544 (__canonicalize_directory_name_internal, __getcwd): Call
17545 __hurd_canonicalize_directory_name_internal instead of
17546 _hurd_canonicalize_directory_name_internal.
17547 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
17548 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
17550 * sysdeps/hurd/include/hurd.h: New file.
17551 * sysdeps/hurd/include/hurd/fd.h: New file.
17552 * sysdeps/hurd/include/hurd/signal.h: New file.
17553 * sysdeps/mach/include/lock-intern.h: New file.
17554 * sysdeps/mach/include/mach.h: New file.
17555 * sysdeps/mach/include/mach/mig_support.h: New file.
17556 * sysdeps/mach/include/mach_error.h: New file.
17557 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
17559 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
17560 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
17561 _HEADER_H_HIDDEN_DEF macro.
17562 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
17563 _hurd_fd_error_signal): Add hidden prototype.
17564 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
17566 * libio/iolibio.h (_IO_puts): New hidden prototype.
17567 * libio/ioputs.c (_IO_puts): New hidden def.
17568 * sysdeps/mach/hurd/localplt.data: New file.
17570 2018-04-02 Agustina Arzille <avarzille@riseup.net>
17571 Amos Jeffries <squid3@treenet.co.nz>
17572 David Michael <fedora.dm0@gmail.com>
17573 Marco Gerards <marco@gnu.org>
17574 Marcus Brinkmann <marcus@gnu.org>
17575 Neal H. Walfield <neal@gnu.org>
17576 Pino Toscano <toscano.pino@tiscali.it>
17577 Richard Braun <rbraun@sceen.net>
17578 Roland McGrath <roland@gnu.org>
17579 Samuel Thibault <samuel.thibault@ens-lyon.org>
17580 Thomas DiModica <ricinwich@yahoo.com>
17581 Thomas Schwinge <tschwinge@gnu.org>
17583 * htl: New directory.
17584 * sysdeps/htl: New directory.
17585 * sysdeps/hurd/htl: New directory.
17586 * sysdeps/i386/htl: New directory.
17587 * sysdeps/mach/htl: New directory.
17588 * sysdeps/mach/hurd/htl: New directory.
17589 * sysdeps/mach/hurd/i386/htl: New directory.
17590 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
17591 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
17592 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
17594 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17596 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
17597 signals in thread created for runing timers.
17599 2018-04-01 Florian Weimer <fweimer@redhat.com>
17601 * support/support_format_addrinfo.c (support_format_addrinfo):
17602 Include unknown error number in formatted result.
17604 2018-03-29 Florian Weimer <fweimer@redhat.com>
17606 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
17609 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17611 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
17612 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
17613 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17614 (__ASSUME_CLONE_BACKWARDS): Define.
17616 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
17619 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
17620 early when linux sentinel value is set.
17622 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17624 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
17626 2018-03-27 Andreas Schwab <schwab@suse.de>
17629 * resolv/res_send.c (__res_context_send): Return ENOMEM if
17630 allocation of private copy of nsaddr_list fails.
17632 2018-03-26 Joseph Myers <joseph@codesourcery.com>
17635 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
17636 * sysdeps/unix/sysv/linux/umount.c: ... here.
17637 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
17638 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
17639 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
17640 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
17641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
17642 * sysdeps/unix/sysv/linux/umount.S: Likewise.
17643 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
17645 2018-03-26 Andreas Schwab <schwab@suse.de>
17647 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
17648 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
17649 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
17650 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
17651 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
17652 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
17653 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
17654 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
17655 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
17656 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
17657 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
17658 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
17659 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
17660 (R_RISCV_NUM): Define.
17662 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17664 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
17665 TLS declaration of errno.
17666 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
17668 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
17669 (ARCH_SETUP_TLS): Likewise.
17670 * sysdeps/mach/hurd/libc-start.h: New file copied from
17671 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
17672 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
17673 instead of __libc_setup_tls.
17674 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
17675 __libc_setup_tls before initializing libpthread and running _hurd_init
17676 which starts the signal thread.
17677 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
17679 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17681 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
17684 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
17685 after it is defined.
17687 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
17688 Max Horn <max@quendi.de>
17692 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
17694 * string/test-memmove.c (do_test2): New testcase.
17696 2018-03-22 Joseph Myers <joseph@codesourcery.com>
17698 * sysdeps/generic/frame.h: Remove file.
17699 * sysdeps/arm/frame.h: Likewise.
17700 * sysdeps/hppa/frame.h: Likewise.
17701 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
17703 (GET_FRAME): Likewise.
17704 (GET_STACK): Likewise.
17705 (CALL_SIGHANDLER): Likewise.
17706 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
17708 (GET_FRAME): Likewise.
17709 (GET_STACK): Likewise.
17710 (CALL_SIGHANDLER): Likewise.
17711 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
17712 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17713 (GET_FRAME): Likewise.
17714 (GET_STACK): Likewise.
17715 (CALL_SIGHANDLER): Likewise.
17716 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
17717 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17718 (GET_FRAME): Likewise.
17719 (GET_STACK): Likewise.
17720 (ADVANCE_STACK_FRAME): Likewise.
17721 (CALL_SIGHANDLER): Likewise.
17722 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
17723 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17724 (GET_FRAME): Likewise.
17725 (GET_STACK): Likewise.
17726 (CALL_SIGHANDLER): Likewise.
17727 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
17728 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17729 (GET_FRAME): Likewise.
17730 (GET_STACK): Likewise.
17731 (CALL_SIGHANDLER): Likewise.
17732 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
17733 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17734 (GET_FRAME): Likewise.
17735 (GET_STACK): Likewise.
17736 (CALL_SIGHANDLER): Likewise.
17737 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
17738 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17739 (GET_FRAME): Likewise.
17740 (GET_STACK): Likewise.
17741 (CALL_SIGHANDLER): Likewise.
17742 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
17743 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17744 (GET_FRAME): Likewise.
17745 (GET_STACK): Likewise.
17746 (CALL_SIGHANDLER): Likewise.
17747 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
17748 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17749 (GET_FRAME): Likewise.
17750 (GET_STACK): Likewise.
17751 (CALL_SIGHANDLER): Likewise.
17752 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
17753 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17754 (GET_FRAME): Likewise.
17755 (GET_STACK): Likewise.
17756 (CALL_SIGHANDLER): Likewise.
17757 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
17758 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17759 (GET_FRAME): Likewise.
17760 (GET_STACK): Likewise.
17761 (CALL_SIGHANDLER): Likewise.
17762 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
17763 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17764 (GET_FRAME): Likewise.
17765 (GET_STACK): Likewise.
17766 (CALL_SIGHANDLER): Likewise.
17767 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
17768 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17769 (FIRST_FRAME_POINTER): Likewise.
17770 (ADVANCE_STACK_FRAME): Likewise.
17771 (GET_STACK): Likewise.
17772 (GET_FRAME): Likewise.
17773 (CALL_SIGHANDLER): Likewise.
17774 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
17775 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17776 (ADVANCE_STACK_FRAME): Likewise.
17777 (GET_STACK): Likewise.
17778 (GET_FRAME): Likewise.
17779 (CALL_SIGHANDLER): Likewise.
17780 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
17781 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17782 (GET_FRAME): Likewise.
17783 (GET_STACK): Likewise.
17784 (CALL_SIGHANDLER): Likewise.
17785 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
17786 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17787 (GET_FRAME): Likewise.
17788 (GET_STACK): Likewise.
17789 (CALL_SIGHANDLER): Likewise.
17791 2018-03-21 Joseph Myers <joseph@codesourcery.com>
17793 * sysdeps/x86_64/backtrace.c: Move to ....
17794 * debug/backtrace.c: ... here.
17795 * sysdeps/aarch64/backtrace.c: Remove file.
17796 * sysdeps/alpha/backtrace.c: Likewise.
17797 * sysdeps/hppa/backtrace.c: Likewise.
17798 * sysdeps/ia64/backtrace.c: Likewise.
17799 * sysdeps/mips/backtrace.c: Likewise.
17800 * sysdeps/nios2/backtrace.c: Likewise.
17801 * sysdeps/riscv/backtrace.c: Likewise.
17802 * sysdeps/sh/backtrace.c: Likewise.
17803 * sysdeps/tile/backtrace.c: Likewise.
17805 2018-03-20 Joseph Myers <joseph@codesourcery.com>
17808 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
17811 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
17814 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
17815 possibly overflowing computations.
17817 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
17819 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
17820 values from Linux-specific section now that it is in the GNU section.
17821 * sysdeps/gnu/errlist.c: Regenerate.
17823 2018-03-20 Joseph Myers <joseph@codesourcery.com>
17825 * math/Makefile (libm-narrow-fns): Add sub.
17826 (libm-test-funcs-narrow): Likewise.
17827 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
17828 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
17829 * math/gen-auto-libm-tests.c (test_functions): Add sub.
17830 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
17831 (NARROW_SUB_ROUND_TO_ODD): Likewise.
17832 (NARROW_SUB_TRIVIAL): Likewise.
17833 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
17835 (__dsubl): Likewise.
17836 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
17838 (CFLAGS-nldbl-dsub.c): New variable.
17839 (CFLAGS-nldbl-fsub.c): Likewise.
17840 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17842 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
17844 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
17845 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
17846 * math/auto-libm-test-in: Add tests of sub.
17847 * math/auto-libm-test-out-narrow-sub: New generated file.
17848 * math/libm-test-narrow-sub.inc: New file.
17849 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17850 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
17851 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
17852 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
17853 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
17854 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
17855 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
17856 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
17857 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
17858 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
17859 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
17860 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
17861 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
17862 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
17863 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
17864 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
17865 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
17866 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
17867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17868 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17869 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17870 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17871 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17872 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17873 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17874 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17875 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17876 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17877 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17878 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17879 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17880 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17885 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17886 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17887 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17888 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17889 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17890 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17891 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17892 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17893 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17894 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17896 2018-03-19 Joseph Myers <joseph@codesourcery.com>
17899 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
17901 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
17903 * benchtests/bench-timing.h (attribute_hidden): Undefine.
17905 2018-03-18 Richard Braun <rbraun@sceen.net>
17907 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
17910 2018-03-18 Agustina Arzille <avarzille@riseup.net>
17912 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
17913 (__libc_cleanup_fct): Define function.
17914 (__libc_cleanup_region_start, __libc_cleanup_region_end,
17915 __libc_cleanup_end): Rewrite implementation using
17916 __attribute__ ((__cleanup__)).
17917 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
17918 * hurd/Makefile (routines): Add hurdlock.
17919 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
17921 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
17922 * hurd/hurdpid.c: Include <lowlevellock.h>
17923 (_S_msg_proc_newids): Use lll_wait to synchronize.
17924 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
17925 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
17926 * mach/Makefile (lock-headers): Remove machine-lock.h.
17927 * mach/lock-intern.h: Include <lowlevellock.h> instead of
17929 (__spin_lock_t): New type.
17930 (__SPIN_LOCK_INITIALIZER): New macro.
17931 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
17932 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
17933 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
17934 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
17935 (__mutex_init): Initialize with lll.
17936 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
17937 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
17939 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17940 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
17941 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
17942 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
17943 (__setpgid): Use lll for synchronization.
17944 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
17945 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
17946 instead of <cthreads.h>.
17947 (_IO_lock_inexpensive): New macro
17948 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
17949 (__libc_lock_self0): New declaration.
17950 (__libc_lock_owner_self): New macro.
17951 (__libc_key_t): Remove type.
17952 (_LIBC_LOCK_INITIALIZER): New macro.
17953 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
17954 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
17955 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
17956 __libc_lock_define_initialized_recursive,
17957 __rtld_lock_define_initialized_recursive,
17958 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
17959 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
17960 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
17961 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
17962 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
17963 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
17964 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
17966 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
17967 * hurd/hurdlock.c: New file.
17968 * hurd/hurdlock.h: New file.
17969 * mach/lowlevellock.h: New file
17971 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17973 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
17974 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
17975 when opening a symlink with O_NOFOLLOW.
17976 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
17977 path when flags contains O_NOFOLLOW.
17978 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
17979 if flags contains O_DIRECTORY and the result is a directory.
17980 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
17981 oneself when the pointer given in D is nul (as set by ext2fs).
17982 * sysdeps/mach/hurd/mlockall.c: New file.
17983 * sysdeps/mach/hurd/munlockall.c: New file.
17985 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17987 * hurd/hurdsig.c: Include <pthread.h>.
17988 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
17989 get the signal thread stack layout.
17990 * hurd/Makefile (headers): Remove threadvar.h.
17991 (inline-headers): Remove threadvar.h.
17992 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
17993 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
17994 __hurd_threadvar_max, __hurd_errno_location.
17995 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
17996 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
17997 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
17998 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
17999 unless TLS is not initialized yet, in which case we do not need a
18000 critical section yet anyway.
18001 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
18003 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
18005 (__hurd_threadvar_index): Remove enum.
18006 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
18007 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
18009 (__hurd_reply_port0): New variable declaration.
18010 (__hurd_local_reply_port): New macro.
18011 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
18012 (interrupted_reply_port_location): Add thread_t parameter. Use it
18013 with THREAD_TCB to access thread-local variables.
18014 (_hurdsig_abort_rpcs): Pass ss->thread to
18015 interrupted_reply_port_location.
18016 (_hurd_internal_post_signal): Likewise.
18017 (_hurdsig_init): Use presence of cthread_fork instead of
18018 __hurd_threadvar_stack_mask to start signal thread by hand.
18019 Remove signal thread threadvar initialization.
18020 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
18021 * hurd/sigunwind.c: Include <hurd/threadvar.h>
18022 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
18024 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
18026 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
18027 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
18028 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
18029 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
18030 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
18031 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
18032 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
18034 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
18035 <hurd/threadvar.h>.
18036 [IS_IN(rtld)] (rtld_errno): New variable.
18037 [IS_IN(rtld)] (__errno_location): New weak function.
18038 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
18039 * sysdeps/mach/hurd/errno.c: Remove file.
18040 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
18041 (__fork): Remove THREADVAR_SPACE macro and its use.
18042 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
18044 (init): Do not initialize threadvar.
18045 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
18047 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
18048 __hurd_local_reply_port instead of threadvar.
18049 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
18050 _hurd_sigstate fields.
18051 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
18052 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
18053 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
18054 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
18055 instead of threadvar.
18056 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
18057 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
18058 (use_threadvar, global_reply_port): Remove variables.
18059 (__hurd_reply_port0): New variable.
18060 (__mig_get_reply_port): Use __hurd_local_reply_port and
18061 __hurd_reply_port0 instead of threadvar.
18062 (__mig_dealloc_reply_port): Likewise.
18063 (__mig_init): Do not initialize threadvar.
18064 * sysdeps/mach/hurd/profil.c: Fix comment.
18065 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
18066 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
18067 cthread_keycreate, cthread_getspecific, cthread_setspecific to
18068 __cthread_fork, __cthread_detach, __pthread_getattr_np,
18069 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
18070 __cthread_setspecific.
18071 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
18072 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
18073 __cthread_t instead of cthread_fork, cthread_detach,
18074 pthread_getattr_np, pthread_attr_getstack.
18075 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
18076 __cthread_keycreate.
18077 (cthread_getspecific): Rename to __cthread_getspecific.
18078 (cthread_setspecific): Rename to __cthread_setspecific.
18079 (__libc_getspecific): Use __cthread_getspecific instead of
18080 cthread_getspecific.
18081 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
18082 __cthread_keycreate instead of cthread_keycreate.
18083 (__libc_setspecific): Use __cthread_setspecific instead of
18084 cthread_setspecific.
18085 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
18087 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
18088 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
18089 testing whether it is defined.
18091 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18093 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
18095 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
18096 * sysdeps/mach/i386/thread_state.h
18097 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
18099 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
18101 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
18103 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
18104 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
18106 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
18108 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
18109 descriptor instead of creating a new one.
18110 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
18112 * mach/setup-thread.c: Include <ldsodefs.h>.
18113 (__mach_setup_thread): Call _dl_allocate_tls, pass
18114 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
18115 MACHINE_THREAD_STATE_FLAVOR, before getting
18116 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
18117 MACHINE_THREAD_STATE_FLAVOR with the result.
18118 * hurd/hurdfault.c (_hurdsig_fault_init): Call
18119 MACHINE_THREAD_STATE_FIX_NEW.
18120 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
18121 too. Add original thread parameter.
18123 2018-03-16 Joseph Myers <joseph@codesourcery.com>
18125 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
18126 Remove inline function.
18128 * sysdeps/i386/fpu/libm-test-ulps: Update.
18129 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18131 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
18133 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
18136 2018-03-15 Joseph Myers <joseph@codesourcery.com>
18138 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
18139 (__sincos_code): Remove define and undefine.
18140 [__FAST_MATH__] (__sincos): Remove inline function.
18141 [__FAST_MATH__] (__sincosf): Remove inline function.
18142 [__FAST_MATH__] (__sincosl): Remove inline function.
18143 (__atan2l): Remove inline functions.
18144 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
18145 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
18147 (floor): Remove inline function.
18149 [__FAST_MATH__] (__ldexp_code): Remove macro.
18150 [__FAST_MATH__] (ldexp): Remove inline function.
18151 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
18152 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
18153 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
18154 [__USE_ISOC99] (__lrint_code): Remove macro.
18155 [__USE_ISOC99] (__llrint_code): Likewise.
18156 [__USE_ISOC99] (lrintf): Remove inline function.
18157 [__USE_ISOC99] (lrint): Likewise.
18158 [__USE_ISOC99] (lrintl): Likewise.
18159 [__USE_ISOC99] (llrint): Likewise.
18160 [__USE_ISOC99] (llrintf): Likewise.
18161 [__USE_ISOC99] (llrintl): Likewise.
18163 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18165 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
18166 (__ieee754_sqrtf): Remove.
18167 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
18168 (__ieee754_sqrtf): Remove.
18169 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
18170 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18171 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
18172 (__ieee754_sqrtf): Remove.
18173 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
18174 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
18177 (__ieee754_sqrt): Remove.
18178 (__ieee754_sqrtf): Remove.
18179 (__ieee754_sqrtl): Remove.
18180 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18181 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
18182 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
18183 (__ieee754_sqrtf): Remove.
18184 (__ieee754_sqrtl): Remove.
18186 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18188 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
18189 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
18190 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18191 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
18192 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
18193 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18194 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18195 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18197 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
18198 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
18199 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
18200 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
18201 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
18202 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
18203 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18204 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
18205 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
18206 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18207 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
18208 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
18209 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
18210 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
18211 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
18212 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18213 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18214 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18215 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
18216 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
18217 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18218 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18219 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
18220 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
18221 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
18222 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
18223 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18224 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18225 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
18226 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18227 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18228 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
18229 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18230 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
18231 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18232 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18233 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
18234 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
18235 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
18236 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
18238 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18240 * include/math.h (sqrt): Declare with asm redirect.
18243 (sqrtf128): Likewise.
18244 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
18245 nonlib and libnldbl with -fmath-errno.
18246 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
18247 * math/w_sqrt_template.c: Likewise.
18248 * math/w_sqrtf_compat.c: Likewise.
18249 * math/w_sqrtl_compat.c: Likewise.
18250 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
18251 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
18252 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
18255 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18257 * benchtests/Makefile: Define _ISOMAC.
18258 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
18259 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
18260 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
18261 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
18262 * benchtests/bench-timing.h: Define attribute_hidden.
18264 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
18266 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
18269 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18272 * localedata/locales/cs_CZ (mon): Rename to...
18274 (mon): Import from CLDR (genitive case).
18276 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18279 * localedata/locales/el_CY (abmon): Rename to...
18280 (ab_alt_mon): This.
18281 (abmon): Import from CLDR (abbreviated genitive case).
18282 * localedata/locales/el_GR (abmon): Rename to...
18283 (ab_alt_mon): This.
18284 (abmon): Import from CLDR (abbreviated genitive case).
18286 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18289 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
18291 2018-03-15 Robert Buj <robert.buj@gmail.com>
18294 * localedata/locales/ca_ES (abmon): Rename to...
18295 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18296 (mon): Rename to...
18298 (abmon): Import from CLDR (genitive case, month names preceded by
18301 (abday): Synchronize with CLDR.
18302 (d_t_fmt): Likewise.
18306 (LC_TIME): Improve indentation.
18307 (LC_TELEPHONE): Likewise.
18308 (LC_NAME): Likewise.
18309 (LC_ADDRESS): Likewise.
18311 2018-03-14 Joseph Myers <joseph@codesourcery.com>
18313 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
18314 (lrintf): Remove definitions used only with old GCC.
18315 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
18316 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
18317 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
18318 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
18319 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
18320 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
18321 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
18322 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
18323 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
18324 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
18325 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
18326 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
18327 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
18328 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
18329 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
18330 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
18331 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
18332 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
18333 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
18334 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
18335 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
18336 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
18337 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
18338 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
18339 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
18340 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
18341 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
18342 [__FAST_MATH__] (__M_SQRT2): Remove macro.
18344 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18346 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
18347 instruction to unbreak builds with binutils 2.26 and older.
18349 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18351 * sysdeps/aarch64/strncmp.S (count): New macro.
18352 (strncmp): Store misaligned length in SRC1 in COUNT.
18353 (mutual_align): Adjust.
18354 (misaligned8): Load dword at a time when it is safe.
18356 2018-03-12 Zack Weinberg <zackw@panix.com>
18360 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
18361 if the _IO_EOF_SEEN bit is already set; update commentary.
18362 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
18363 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18365 * support/support_openpty.c, support/tty.h: New files.
18366 * support/Makefile (libsupport-routines): Add support_openpty.
18368 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
18370 * libio/Makefile (tests): Add tst-fgetc-after-eof.
18371 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
18373 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
18375 * po/pt_BR.po: Update translations.
18377 2018-03-12 David Michael <fedora.dm0@gmail.com>
18379 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
18380 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
18381 get a port to the startup server.
18383 2018-03-11 Zack Weinberg <zackw@panix.com>
18385 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
18386 before nldbl-compat.h.
18388 2018-03-10 Zack Weinberg <zackw@panix.com>
18390 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
18391 math.h or math_private.h.
18393 * sysdeps/alpha/fpu/s_isnan.c
18394 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
18395 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
18396 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
18397 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
18398 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
18399 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
18400 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
18401 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
18402 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
18403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
18404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
18405 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
18406 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
18407 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
18408 Include math_private.h.
18410 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
18411 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
18412 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
18413 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
18414 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
18415 * sysdeps/powerpc/power7/fpu/s_logb.c:
18416 Include math.h and math_private.h.
18418 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
18419 uses of $at in .set noat / .set at.
18421 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
18423 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
18424 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
18425 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
18426 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
18429 2018-03-09 Florian Weimer <fweimer@redhat.com>
18431 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
18434 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
18437 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
18438 Add nop before __startcontext, add explaining comments.
18440 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18443 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
18445 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
18446 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
18447 Do not build hardware transactional code for __SPE__.
18448 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18449 (__lll_trylock_elision): Likewise.
18450 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18451 (__lll_unlock_elision): Likewise.
18453 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
18454 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
18455 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18456 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
18457 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
18458 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
18459 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
18460 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
18461 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
18462 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
18463 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
18464 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
18465 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
18466 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
18467 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
18468 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
18469 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
18470 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
18471 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
18472 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
18473 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
18474 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18475 (__ASSUME_CLONE_BACKWARDS): Define.
18476 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
18477 __clone2 if __NR_clone2 is defined.
18478 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18479 (__ASSUME_CLONE_BACKWARDS): Likewise.
18480 * sysdeps/unix/sysv/linux/i386/kernel-features.h
18481 (__ASSUME_CLONE_BACKWARDS): Likewise.
18482 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18483 (__ASSUME_CLONE2): Likewise.
18484 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18485 (__ASSUME_CLONE_BACKWARDS3): Likewise.
18486 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
18487 variants and the define architecture can use.
18488 (__ASSUME_CLONE_DEFAULT): Define as default.
18489 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18490 (__ASSUME_CLONE_BACKWARDS): Likewise.
18491 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18492 (__ASSUME_CLONE_BACKWARDS): Likewise.
18493 * sysdeps/unix/sysv/linux/s390/kernel-features.h
18494 (__ASSUME_CLONE_BACKWARDS2): Likewise.
18496 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
18498 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
18500 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
18503 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
18504 (do_test_limit): Likewise.
18506 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
18507 for every implementation.
18508 (do_test): Likewise.
18510 * benchtests/bench-strncmp.c: Convert output to json.
18512 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18514 * io/futimens.c: Add missing start-of-file descriptive comment.
18515 * io/utime.c: Likewise.
18516 * misc/futimesat.c: Likewise.
18517 * misc/utimes.c: Likewise.
18518 * sysdeps/mach/hurd/futimesat.c: Likewise.
18519 * sysdeps/mach/hurd/utimes.c: Likewise.
18520 * sysdeps/posix/utime.c: Likewise.
18521 * sysdeps/posix/utimes.c: Likewise.
18522 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
18523 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18524 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
18525 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
18527 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18529 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
18531 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
18532 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
18533 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
18534 (__futimens): Move implementation to...
18535 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
18536 utime_tvalue_from_tspec): ... new helper functions.
18537 (hurd_futimens): New function.
18538 * sysdeps/mach/hurd/futimesat.c: New file.
18539 * sysdeps/mach/hurd/utimensat.c: New file.
18541 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
18543 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
18544 UTIME_OMIT): New macros.
18545 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
18546 before reverting to converting time spec to time value and calling
18548 * sysdeps/mach/hurd/utime-helper.c: New file.
18549 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
18550 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
18551 reverting to utime_tvalue_from_tval and __file_utimes.
18552 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
18553 (__lutimes): Just call hurd_futimens after lookup.
18554 * sysdeps/mach/hurd/utimes.c: Likewise.
18556 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18558 * bits/sigaction.h: Add include guard.
18559 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
18560 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
18561 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
18562 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
18563 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
18564 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
18565 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
18566 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
18567 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
18569 2018-03-05 Joseph Myers <joseph@codesourcery.com>
18571 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
18572 -Wmaybe-uninitialized for -Os.
18573 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
18576 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18578 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
18579 __INO_T_MATCHES_INO64_T is defined.
18580 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
18581 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
18583 * dirent/alphasort64.c: Likewise.
18584 * dirent/scandir.c: Likewise.
18585 * dirent/scandir64-tail.c: Likewise.
18586 * dirent/scandir64.c: Likewise.
18587 * dirent/scandirat.c: Likewise.
18588 * dirent/scandirat64.c: Likewise.
18589 * dirent/versionsort.c: Likewise.
18590 * dirent/versionsort64.c: Likewise.
18591 * include/dirent.h: Likewise.
18593 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
18594 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
18595 for socketpair endpoint.
18596 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
18597 WRITE_BUFFER_SIZE as buffer size for sending socket.
18598 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
18599 issue on system where send is implemented with sendto syscall.
18600 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
18601 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
18602 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
18603 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
18606 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
18607 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
18608 sa_restorer for vDSO case.
18609 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
18611 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18613 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
18614 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
18615 * hurd/hurd/ioctl.h: Include <mach/port.h>
18616 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
18617 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
18618 <mach/mach_types.h> and <mach/message.h>.
18619 (headers): Move mach/param.h to bits/mach/param.h.
18620 * sysdeps/mach/i386/mach/param.h: Move file to ...
18621 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
18622 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
18624 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
18625 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
18626 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
18627 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
18628 trivial, for C++ conformity.
18629 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
18630 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
18631 Process mig output through $(migheadersed).
18632 * hurd/Makefile (migheadersed): Define variable.
18633 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
18634 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
18636 * hurd/hurd.h: Include <bits/types/sigset_t.h>
18637 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
18638 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
18639 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
18640 <bits/types/sigset_t.h>.
18641 [!defined __USE_GNU]: Do not #error out.
18642 (struct hurd_sigstate): Use _NSIG instead of NSIG.
18643 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
18644 Include <stddef.h> and <bits/types/sigset_t.h>
18645 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
18646 instead of sighandler_t.
18647 * stdlib/errno.h (error_t): Move definition to...
18648 * bits/types/error_t.h: ... new header.
18649 * stdlib/Makefile (headers): Add bits/types/error_t.h.
18650 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
18651 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
18652 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
18653 * hurd/hurd.h: Include <bits/types/error_t.h>
18654 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
18655 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
18656 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
18657 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
18658 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
18659 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
18660 * sysdeps/mach/hurd/futimens.c: New file.
18662 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
18665 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
18666 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
18667 * nscd/gai.c (__nss_hosts_database): Readd definition.
18668 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
18669 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
18670 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
18672 2018-03-02 Joseph Myers <joseph@codesourcery.com>
18674 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
18675 (ifunc_one): Likewise.
18677 2018-03-01 DJ Delorie <dj@delorie.com>
18680 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
18683 2018-03-01 Maciej W. Rozycki <macro@mips.com>
18685 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
18686 `match_pid' parameter.
18687 (td_ta_thr_iter): Update accordingly.
18689 2018-03-01 Florian Weimer <fweimer@redhat.com>
18691 * nptl/Makefile (install-lib-ldscripts): Remove.
18692 (install): Remove rule.
18693 ($(inst_libdir)/libpthread.so): Likewise.
18695 2018-03-01 Mike FABIAN <mfabian@redhat.com>
18698 * localedata/locales/an_ES: update month and day names,
18699 improve d_fmt, improve postal_fmt, add country_post,
18702 2018-03-01 Mike FABIAN <mfabian@redhat.com>
18704 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
18705 Ukrainian instead of Bulgarian.
18707 2018-03-01 Florian Weimer <fweimer@redhat.com>
18709 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
18712 2018-03-01 Florian Weimer <fweimer@redhat.com>
18714 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
18715 * nptl/Makefile (routines): Add pthread_atfork.
18716 (static-only-routines): Set to pthread_atfork.
18717 (libpthread-routines): Remove pthread_atfork.
18718 (libpthread-static-only-routines): Remove.
18719 (install): Update comment.
18720 (libpthread.so): Do not install libpthread_nonshared.a.
18721 (tests): Do not link with libpthread_nonshared.a.
18722 (generated): Remove libpthread_nonshared.a.
18723 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
18724 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
18725 with libpthread_nonshared.a.
18727 2018-02-28 Joseph Myers <joseph@codesourcery.com>
18730 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
18731 (libc_feholdexcept_setroundf128): New macro.
18732 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
18735 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
18737 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
18738 * include/inttypes.h: New file.
18740 2018-02-27 Joseph Myers <joseph@codesourcery.com>
18742 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
18743 -Os in two more places.
18745 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18747 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
18748 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
18749 be sorted correctly at the moment because of a bug.
18751 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18753 [BZ #22550] - es_ES locale (and other es_* locales): collation should
18754 treat ñ as a primary different character, sync the collation
18755 for Spanish with CLDR.
18756 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
18757 * localedata/Makefile: Add new test files.
18758 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
18759 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
18761 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
18762 * localedata/am_ET.UTF-8.in: New test file.
18763 * localedata/az_AZ.UTF-8.in: Likewise.
18764 * localedata/be_BY.UTF-8.in: Likewise.
18765 * localedata/ber_DZ.UTF-8.in: Likewise.
18766 * localedata/ber_MA.UTF-8.in: Likewise.
18767 * localedata/bg_BG.UTF-8.in: Likewise.
18768 * localedata/br_FR.UTF-8.in: Likewise.
18769 * localedata/cmn_TW.UTF-8.in: Likewise.
18770 * localedata/crh_UA.UTF-8.in: Likewise.
18771 * localedata/csb_PL.UTF-8.in: Likewise.
18772 * localedata/cv_RU.UTF-8.in: Likewise.
18773 * localedata/cy_GB.UTF-8.in: Likewise.
18774 * localedata/dz_BT.UTF-8.in: Likewise.
18775 * localedata/eo.UTF-8.in: Likewise.
18776 * localedata/es_ES.UTF-8.in: Likewise.
18777 * localedata/fa_IR.UTF-8.in: Likewise.
18778 * localedata/fi_FI.UTF-8.in: Likewise.
18779 * localedata/fil_PH.UTF-8.in: Likewise.
18780 * localedata/fur_IT.UTF-8.in: Likewise.
18781 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
18782 * localedata/ha_NG.UTF-8.in: Likewise.
18783 * localedata/ig_NG.UTF-8.in: Likewise.
18784 * localedata/ik_CA.UTF-8.in: Likewise.
18785 * localedata/kk_KZ.UTF-8.in: Likewise.
18786 * localedata/ku_TR.UTF-8.in: Likewise.
18787 * localedata/ky_KG.UTF-8.in: Likewise.
18788 * localedata/ln_CD.UTF-8.in: Likewise.
18789 * localedata/mi_NZ.UTF-8.in: Likewise.
18790 * localedata/ml_IN.UTF-8.in: Likewise.
18791 * localedata/mn_MN.UTF-8.in: Likewise.
18792 * localedata/mr_IN.UTF-8.in: Likewise.
18793 * localedata/mt_MT.UTF-8.in: Likewise.
18794 * localedata/nb_NO.UTF-8.in: Likewise.
18795 * localedata/om_KE.UTF-8.in: Likewise.
18796 * localedata/os_RU.UTF-8.in: Likewise.
18797 * localedata/ps_AF.UTF-8.in: Likewise.
18798 * localedata/ro_RO.UTF-8.in: Likewise.
18799 * localedata/ru_RU.UTF-8.in: Likewise.
18800 * localedata/sc_IT.UTF-8.in: Likewise.
18801 * localedata/se_NO.UTF-8.in: Likewise.
18802 * localedata/sq_AL.UTF-8.in: Likewise.
18803 * localedata/sv_SE.UTF-8.in: Likewise.
18804 * localedata/szl_PL.UTF-8.in: Likewise.
18805 * localedata/tg_TJ.UTF-8.in: Likewise.
18806 * localedata/tk_TM.UTF-8.in: Likewise.
18807 * localedata/tt_RU.UTF-8.in: Likewise.
18808 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
18809 * localedata/ug_CN.UTF-8.in: Likewise.
18810 * localedata/uz_UZ.UTF-8.in: Likewise.
18811 * localedata/vi_VN.UTF-8.in: Likewise.
18812 * localedata/yi_US.UTF-8.in: Likewise.
18813 * localedata/yo_NG.UTF-8.in: Likewise.
18814 * localedata/zh_CN.UTF-8.in: Likewise.
18815 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
18816 file and fix bugs in the collation.
18817 * localedata/locales/az_AZ: Likewise.
18818 * localedata/locales/be_BY: Likewise.
18819 * localedata/locales/ber_DZ: Likewise.
18820 * localedata/locales/ber_MA: Likewise.
18821 * localedata/locales/bg_BG: Likewise.
18822 * localedata/locales/br_FR: Likewise.
18823 * localedata/locales/br_FR@euro: Likewise.
18824 * localedata/locales/ca_ES: Likewise.
18825 * localedata/locales/cns11643_stroke: Likewise.
18826 * localedata/locales/crh_UA: Likewise.
18827 * localedata/locales/cs_CZ: Likewise.
18828 * localedata/locales/csb_PL: Likewise.
18829 * localedata/locales/cv_RU: Likewise.
18830 * localedata/locales/cy_GB: Likewise.
18831 * localedata/locales/da_DK: Likewise.
18832 * localedata/locales/dz_BT: Likewise.
18833 * localedata/locales/en_CA: Likewise.
18834 * localedata/locales/eo: Likewise.
18835 * localedata/locales/es_CU: Likewise.
18836 * localedata/locales/es_EC: Likewise.
18837 * localedata/locales/es_ES: Likewise.
18838 * localedata/locales/es_US: Likewise.
18839 * localedata/locales/et_EE: Likewise.
18840 * localedata/locales/fa_IR: Likewise.
18841 * localedata/locales/fi_FI: Likewise.
18842 * localedata/locales/fil_PH: Likewise.
18843 * localedata/locales/fur_IT: Likewise.
18844 * localedata/locales/gez_ER@abegede: Likewise.
18845 * localedata/locales/ha_NG: Likewise.
18846 * localedata/locales/hr_HR: Likewise.
18847 * localedata/locales/hsb_DE: Likewise.
18848 * localedata/locales/hu_HU: Likewise.
18849 * localedata/locales/ig_NG: Likewise.
18850 * localedata/locales/ik_CA: Likewise.
18851 * localedata/locales/is_IS: Likewise.
18852 * localedata/locales/iso14651_t1_pinyin: Likewise.
18853 * localedata/locales/kk_KZ: Likewise.
18854 * localedata/locales/ku_TR: Likewise.
18855 * localedata/locales/ky_KG: Likewise.
18856 * localedata/locales/ln_CD: Likewise.
18857 * localedata/locales/lt_LT: Likewise.
18858 * localedata/locales/lv_LV: Likewise.
18859 * localedata/locales/mi_NZ: Likewise.
18860 * localedata/locales/ml_IN: Likewise.
18861 * localedata/locales/mn_MN: Likewise.
18862 * localedata/locales/mr_IN: Likewise.
18863 * localedata/locales/mt_MT: Likewise.
18864 * localedata/locales/nb_NO: Likewise.
18865 * localedata/locales/om_KE: Likewise.
18866 * localedata/locales/os_RU: Likewise.
18867 * localedata/locales/pl_PL: Likewise.
18868 * localedata/locales/ps_AF: Likewise.
18869 * localedata/locales/ro_RO: Likewise.
18870 * localedata/locales/ru_RU: Likewise.
18871 * localedata/locales/ru_UA: Likewise.
18872 * localedata/locales/sc_IT: Likewise.
18873 * localedata/locales/se_NO: Likewise.
18874 * localedata/locales/si_LK: Likewise.
18875 * localedata/locales/sq_AL: Likewise.
18876 * localedata/locales/sv_FI: Likewise.
18877 * localedata/locales/sv_FI@euro: Likewise.
18878 * localedata/locales/sv_SE: Likewise.
18879 * localedata/locales/szl_PL: Likewise.
18880 * localedata/locales/tg_TJ: Likewise.
18881 * localedata/locales/ti_ER: Likewise.
18882 * localedata/locales/tk_TM: Likewise.
18883 * localedata/locales/tl_PH: Likewise.
18884 * localedata/locales/tr_TR: Likewise.
18885 * localedata/locales/tt_RU: Likewise.
18886 * localedata/locales/tt_RU@iqtelif: Likewise.
18887 * localedata/locales/ug_CN: Likewise.
18888 * localedata/locales/uk_UA: Likewise.
18889 * localedata/locales/uz_UZ: Likewise.
18890 * localedata/locales/uz_UZ@cyrillic: Likewise.
18891 * localedata/locales/vi_VN: Likewise.
18892 * localedata/locales/yi_US: Likewise.
18893 * localedata/locales/yo_NG: Likewise.
18895 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18897 * gen-locales.mk: Make test files which contain @ modifiers in their
18899 * localedata/gen-locale.sh: Likewise.
18901 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18903 * posix/tst-fnmatch.input: Fix results for range expressions
18905 * posix/tst-regexloc.c: Do not use a range expression for
18906 de_DE.ISO-8859-1 locale.
18908 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18910 * posix/bug-regex5.c: Fix test case because with the new
18911 iso14651_t1_common file, the da_DK locale now has 6 collating elements
18912 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
18915 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18917 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
18918 downloaded from ISO, the collation order of @-. and space has changed.
18919 Therefore, this test file needed to be adapted.
18920 * localedata/fr_CA.UTF-8.in: Likewise.
18921 * localedata/fr_FR.UTF-8.in: Likewise.
18922 * localedata/uk_UA.UTF-8.in: Likewise.
18924 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18926 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
18927 order of ȥ in the new iso14651_t1_common file.
18928 * localedata/pl_PL.UTF-8.in: Likewise.
18930 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18932 * localedata/locales/iso14651_t1_common: Add sections for various
18933 scripts to the iso14651_t1_common file.
18935 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18937 * localedata/locales/iso14651_t1_common: Use the code point of a
18938 character in the fourth collation level instead of IGNORE for all
18939 entries which have IGNORE on all 4 levels.
18941 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18943 * localedata/locales/iso14651_t1_common: Add some convenient collation
18944 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
18945 rules similar to those in CLDR.
18947 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18949 * localedata/locales/iso14651_t1_common: The new version of this
18950 file downloaded from ISO contained several syntax errors which
18951 are fixed by this patch.
18953 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18955 * localedata/locales/iso14651_t1_common: replace all <U.....>
18956 with <U000.....> because glibc understands only 4 digit or 8 digit
18958 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18960 * localedata/locales/iso14651_t1_common: Necessary changes
18961 to make the file downloaded from ISO usable by glibc.
18963 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18966 * localedata/locales/iso14651_t1_common: Update file to
18967 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
18969 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18971 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
18972 of <nptl/pthreadP.h>
18973 (thread_attr_compare): Move function to...
18974 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
18975 * sysdeps/nptl/timer_routines.h: ... new header.
18976 * sysdeps/mach/hurd/gai_misc.h: New file.
18978 2018-02-26 Joseph Myers <joseph@codesourcery.com>
18980 * string/strcoll_l.c: Include <libc-diag.h>.
18981 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
18982 declarations of seq1 and seq2.
18985 * stdlib/atoi.c (atoi): Use libc_hidden_def.
18986 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
18988 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
18992 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
18993 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
18994 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
18995 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
18996 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
18997 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
18999 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19001 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
19002 macros used in __ptrace_request.
19004 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
19007 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
19009 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
19010 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
19011 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
19014 2018-02-23 Joseph Myers <joseph@codesourcery.com>
19017 * ctype/ctype.c (tolower): Use libc_hidden_def.
19018 (toupper): Likewise.
19019 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
19020 [!_ISOMAC] (toupper): Likewise.
19022 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19024 * localedata/Makefile: Remove --quiet argument when
19027 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19030 * localedata/locales/pt_BR (LC_TIME): use / instead of -
19032 * localedata/locales/pt_PT (LC_TIME): likewise
19034 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19037 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
19038 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
19039 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
19041 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19045 * nptl/Makefile (routines): Remove unregister-atfork.
19046 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
19047 (fork_handler_alloc): Remove function.
19048 (fork_handlers, fork_handler_init): New variables.
19049 (__fork_lock): Rename to atfork_lock.
19050 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
19051 to use a dynamic array to add/remove atfork handlers.
19052 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19053 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
19054 Remove declaration.
19055 (fork_handler): Remove next, refcntr, and need_signal member.
19056 (__run_fork_handler_type): New enum.
19057 (__run_fork_handlers): New prototype.
19058 * nptl/register-atfork.c: Remove file.
19059 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
19061 * sysdeps/nptl/nptl-signals.h: Move to ...
19062 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
19064 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
19065 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
19066 unnecessary check for SIGTIMER.
19067 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
19068 remove unnecessary removal of SIGTIMER.
19069 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
19070 include-signals.h rename.
19071 * nptl/pthreadP.h: Likewise.
19072 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
19073 __is_internal_signal instead of __nptl_is_internal_signal.
19075 2018-02-22 Andrew Waterman <andrew@sifive.com>
19078 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
19079 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
19080 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
19081 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
19083 2018-02-22 DJ Delorie <dj@delorie.com>
19085 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
19087 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
19089 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
19090 do_misaligned, not misaligned8.
19092 2018-02-22 Steve Ellcey <sellcey@cavium.com>
19094 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
19095 Add memcpy_thunderx2.
19096 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
19098 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
19099 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
19100 and IS_THUNDERX2PA checks.
19101 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
19102 Use macro to set name appropriately.
19103 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
19104 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
19105 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
19107 (IS_THUNDERX2): New macro.
19109 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
19111 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19113 2018-02-21 Zack Weinberg <zackw@panix.com>
19115 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
19116 Define here, unconditionally.
19117 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
19118 * libio/libioP.h: Remove #if 0 blocks.
19119 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
19120 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
19121 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
19123 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
19124 Assume weak_alias is always defined.
19126 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
19127 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
19128 Remove #if 0 and #ifdef TODO blocks.
19129 Assume text_set_element is always defined.
19131 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
19132 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
19133 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
19135 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
19136 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
19137 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
19138 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
19139 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
19140 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
19141 Reformat bit flags for _flags field to make occupancy clearer.
19143 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
19144 Keep definitions consistent with those in libio/libio.h.
19146 * libio/libio.h (_IO_file_flags): Remove macro.
19147 All uses changed to _flags.
19149 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
19150 (__HAVE_COLUMN, _IO_BE): Don't define.
19151 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
19152 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
19153 * libio/libioP.h (EOF): Don't define.
19154 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
19155 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
19156 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
19157 testing _IO_UNIFIED_JUMPTABLES.
19159 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
19160 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
19161 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
19162 (_IO_size_t): Delete; all uses changed to size_t.
19163 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
19164 (_IO_off_t): Delete; all uses changed to off_t.
19165 (_IO_off64_t): Delete; all uses changed to off64_t.
19166 (_IO_pid_t): Delete; all uses changed to pid_t.
19167 (_IO_uid_t): Delete; all uses changed to uid_t.
19168 (_IO_wint_t): Delete; all uses changed to wint_t.
19169 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
19170 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
19171 (_IO_cookie_io_functions_t): Delete; all uses changed to
19172 cookie_io_functions_t.
19173 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
19174 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
19175 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
19176 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
19178 * libio/iofopncook.c: Remove unnecessary forward declarations.
19179 * libio/iolibio.h: Correct outdated commentary.
19180 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
19181 * stdio-common/fxprintf.c (__fxprintf_nocancel):
19182 Remove unnecessary casts.
19183 * stdio-common/getline.c: Use _IO_getdelim directly.
19184 Don't redefine ssize_t.
19185 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
19186 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
19187 Remove outdated comments.
19188 * stdio-common/vfscanf.c: Don't redefine va_list.
19190 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
19191 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
19192 Remove preprocessor conditionals on _LIBC and __USE_GNU,
19193 which are always true, and __cplusplus, which is always false.
19195 2018-02-21 Joseph Myers <joseph@codesourcery.com>
19199 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
19200 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
19201 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
19202 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
19204 [!_ISOMAC] (putc_unlocked): Likewise.
19205 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
19206 define inline if [__USE_EXTERN_INLINES].
19207 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
19212 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
19213 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
19214 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
19215 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
19216 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
19218 * time/tzfile.c (__tzfile_read): Likewise.
19220 2018-02-21 Mike FABIAN <mfabian@redhat.com>
19223 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
19225 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
19227 * io/fcntl.h: Fix a typo in a comment.
19229 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
19232 * include/features.h: Add _ISOC11_SOURCE to test for whether to
19233 define _DEFAULT_SOURCE.
19234 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
19236 2018-02-21 Florian Weimer <fweimer@redhat.com>
19239 * elf/cache.c (save_cache): Call fsync on temporary file before
19241 (save_aux_cache): Call fdatasync on temporary file before renaming
19244 2018-02-21 Florian Weimer <fweimer@redhat.com>
19247 * include/caller.h: Remove file.
19248 * elf/dl-caller.c: Likewise.
19249 * elf/Makefile (dl-routines): Remove dl-caller.
19250 (shared-only-routines): Do not add dl-caller.
19251 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
19253 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
19255 (dl_open_worker): Do not call __check_caller.
19256 (_dl_open): Do not set caller_dl_open member.
19257 * elf/rtld.c (_rtld_global_ro): Do not initialize
19258 _dl_check_caller member.
19259 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
19260 _dl_check_caller member.
19261 (_dl_check_caller): Remove declaration.
19262 * sysdeps/unix/sysv/linux/dl-execstack.c
19263 (_dl_make_stack_executable): Do not call __check_caller.
19265 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19267 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
19268 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
19270 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
19272 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
19275 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
19278 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
19279 of 199606L, 200112L, and 200809L.
19280 (_XOPEN_SOURCE): Document special values of 600 and 700.
19281 (_ISOC11_SOURCE): Document macro.
19282 (_ATFILE_SOURCE): Likewise.
19283 (_FORTIFY_SOURCE): Likewise.
19285 2018-02-19 Joseph Myers <joseph@codesourcery.com>
19289 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
19290 and define as weak alias of __ferror_unlocked. Use
19292 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
19294 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
19295 function if [__USE_EXTERN_INLINES].
19296 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
19299 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
19302 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
19304 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19307 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
19308 the GLIBC_2.1 version.
19310 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19313 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
19314 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
19315 intl/tst-gettext-de.po from po/de.po by removing the
19316 POT-Creation-Date line.
19317 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
19319 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
19322 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19324 * mach/Makefile (headers): Add mach/param.h.
19325 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
19326 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
19327 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
19328 (__ptsname_r): Move implementation to...
19329 (__ptsname_internal): ... new function. Add filling the STP
19332 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
19334 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
19337 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
19339 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
19342 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19344 * nptl/Makefile (tst-mutex8-ENV): Delete.
19345 * nptl/tst-mutex8.c (check_type):
19346 Add runtime check if mutex will be elided.
19348 2018-02-15 Joseph Myers <joseph@codesourcery.com>
19352 * manual/install.texi (Configuring and compiling): Describe
19353 passing CC and CFLAGS on configure command line, not as
19354 environment variables. Use @code markup on those variables.
19355 Specify what options go in CC and what go in CFLAGS. Note the
19356 requirement to compile with optimization.
19357 * INSTALL: Regenerated.
19360 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
19361 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
19362 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
19363 __sigprocmask instead of sigprocmask.
19364 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
19366 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
19367 __sigsetjmp and sigprocmask.
19370 * include/argz.h (argz_next): Use libc_hidden_proto.
19371 (__argz_next): Likewise.
19372 * string-argz-next.c (__argz_next): Use libc_hidden_def.
19373 (argz_next): Use libc_hidden_weak.
19376 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
19378 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
19382 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
19384 * libio/iofputs.c (fputs): Use libc_hidden_weak.
19388 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
19389 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
19390 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
19391 (__feof_unlocked): New declaration, and inline function if
19392 [__USE_EXTERN_INLINES].
19393 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
19394 instead of feof_unlocked.
19395 * intl/localealias.c [_LIBC] (FEOF): Likewise.
19396 * nss/nsswitch.c (nss_parse_file): Likewise.
19397 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
19399 * time/getdate.c (__getdate_r): Likewise.
19400 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
19401 Define as macro to call __feof_unlocked.
19403 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19405 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
19407 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19409 * math/Makefile: Remove mpexp.c and mplog.c
19410 * sysdeps/i386/fpu/mpexp.c: Delete file.
19411 * sysdeps/i386/fpu/mplog.c: Likewise.
19412 * sysdeps/ia64/fpu/mpexp.c: Likewise.
19413 * sysdeps/ia64/fpu/mplog.c: Likewise.
19414 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
19415 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
19416 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
19417 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19418 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
19419 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
19420 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
19421 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
19422 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
19423 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19424 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
19425 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
19426 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19427 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
19428 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
19429 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19431 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
19433 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19435 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19437 * sysdeps/sh/libm-test-ulps: Update.
19439 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19441 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
19444 2018-02-12 Zack Weinberg <zackw@panix.com>
19447 * posix/sys/types.h: Don't include sys/sysmacros.h.
19448 * misc/sys/sysmacros.h: Remove the conditional deprecation
19449 warnings for the macros defined by this header.
19451 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19453 * manual/probes.texi: Remove slowexp probes.
19454 * math/Makefile: Remove slowexp.
19455 * sysdeps/generic/math_private.h (__slowexp): Remove.
19456 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
19457 document error bounds.
19458 * sysdeps/i386/fpu/slowexp.c: Remove.
19459 * sysdeps/ia64/fpu/slowexp.c: Remove.
19460 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
19461 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
19462 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
19463 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
19464 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
19465 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
19466 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
19467 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
19468 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
19469 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
19470 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
19472 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
19475 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
19476 * benchtests/pow-inputs: Update comment for slow path cases.
19477 * manual/probes.texi (slowpow_p10): Delete removed probe.
19478 (slowpow_p10): Likewise.
19479 * math/Makefile: Remove halfulp.c and slowpow.c.
19480 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
19481 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
19482 (__halfulp): Remove.
19483 (__slowpow): Remove.
19484 * sysdeps/i386/fpu/halfulp.c: Delete file.
19485 * sysdeps/i386/fpu/slowpow.c: Likewise.
19486 * sysdeps/ia64/fpu/halfulp.c: Likewise.
19487 * sysdeps/ia64/fpu/slowpow.c: Likewise.
19488 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
19489 improve comments and add error analysis.
19490 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
19491 (power1): Remove function:
19492 (log1): Remove error argument, add error analysis.
19493 (my_log2): Remove function.
19494 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
19495 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19496 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
19497 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
19498 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
19499 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
19500 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
19501 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
19502 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
19503 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
19504 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
19505 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19506 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
19507 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19509 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
19511 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
19512 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
19514 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
19517 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
19518 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
19519 and PTRACE_SETHBPREGS.
19521 2018-02-10 Zack Weinberg <zackw@panix.com>
19524 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
19526 * malloc/tst-malloc-stats-cancellation.c: New test case.
19527 * malloc/Makefile: Add new test case.
19529 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
19531 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
19533 2018-02-10 Joseph Myers <joseph@codesourcery.com>
19535 * math/Makefile (libm-narrow-fns): Add add.
19536 (libm-test-funcs-narrow): Likewise.
19537 * math/Versions (GLIBC_2.28): Add narrowing add functions.
19538 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
19539 * math/gen-auto-libm-tests.c (test_functions): Add add.
19540 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
19541 (NARROW_ADD_ROUND_TO_ODD): Likewise.
19542 (NARROW_ADD_TRIVIAL): Likewise.
19543 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
19545 (__daddl): Likewise.
19546 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
19548 (CFLAGS-nldbl-dadd.c): New variable.
19549 (CFLAGS-nldbl-fadd.c): Likewise.
19550 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19552 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
19554 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
19555 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
19556 * math/auto-libm-test-in: Add tests of add.
19557 * math/auto-libm-test-out-narrow-add: New generated file.
19558 * math/libm-test-narrow-add.inc: New file.
19559 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
19560 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
19561 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
19562 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
19563 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
19564 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
19565 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
19566 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
19567 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
19568 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
19569 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
19570 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
19571 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
19572 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
19573 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
19574 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
19575 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
19576 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
19577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19578 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19579 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19580 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19581 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19582 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19583 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19584 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19585 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19586 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19587 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19588 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19589 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19590 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19595 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19596 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19597 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19598 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19599 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19600 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19601 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19602 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19603 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19604 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19606 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
19607 (f128-pairs): New variable.
19608 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
19609 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
19611 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
19612 Also make tests add $(f128-loader-link) to gnulib-tests.
19614 2018-02-09 DJ Delorie <dj@redhat.com>
19617 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
19618 64-bit ELF type for 64-bit ELF objects.
19620 2018-02-09 Joseph Myers <joseph@codesourcery.com>
19622 * math/libm-test-driver.c (snan_tests_arg): New variable.
19623 * math/libm-test-support.h (snan_tests_arg): New declaration.
19624 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
19626 * math/Makefile (test-type-pairs): New variable.
19627 (test-type-pairs-f64xf128-yes): Likewise.
19628 (tests): Add test-narrow-macros.
19629 (libm-test-funcs-narrow): New variable.
19630 (libm-test-c-narrow): Likewise.
19631 (generated): Add $(libm-test-c-narrow).
19632 (libm-tests-base-narrow): New variable.
19633 (libm-tests-narrow): Likewise.
19634 (libm-tests): Add $(libm-tests-narrow).
19635 (libm-tests-for-type): Handle $(libm-tests-narrow).
19636 (libm-test-c-narrow-obj): New variable.
19637 ($(libm-test-c-narrow-obj)): New rule.
19638 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
19639 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
19640 $(o-iterator) to set dependencies and CFLAGS.
19641 * math/gen-auto-libm-tests.c: Document use for narrowing
19643 (output_for_one_input_case): Take argument NARROW.
19644 (generate_output): Likewise. Update call to
19645 output_for_one_input_case.
19646 (main): Take --narrow option. Update call to generate_output.
19647 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
19648 (apply_lit): Update call to _apply_lit.
19649 (apply_arglit): New function.
19650 (parse_args): Handle "a" arguments.
19651 (parse_auto_input): Handle format names using ":".
19652 * math/README.libm-test: Document "a" parameter type.
19653 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
19654 (ARG_TYPE_TRUE_MIN): Likewise.
19655 (ARG_TYPE_MAX): Likwise.
19656 (ARG_MIN_EXP): Likewise.
19657 (ARG_MAX_EXP): Likewise.
19658 (ARG_MANT_DIG): Likewise.
19659 (TEST_COND_arg_ibm128): Likewise.
19660 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
19661 (TEST_COND_arg_fmt): New macro.
19662 (init_max_error): Update prototype.
19663 * math/libm-test-support.c (test_ibm128): New variable.
19664 (init_max_error): Take argument testing_ibm128 and set test_ibm128
19665 instead of using [TEST_COND_ibm128] conditional.
19666 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
19667 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
19668 [TEST_NARROW] (TEST_MSG): New definition.
19669 (arg_plus_zero): New macro.
19670 (arg_minus_zero): Likewise.
19671 (arg_plus_infty): Likewise.
19672 (arg_minus_infty): Likewise.
19673 (arg_qnan_value_pl): Likewise.
19674 (arg_qnan_value): Likewise.
19675 (arg_snan_value_pl): Likewise.
19676 (arg_snan_value): Likewise.
19677 (arg_max_value): Likewise.
19678 (arg_min_value): Likewise.
19679 (arg_min_subnorm_value): Likewise.
19680 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
19681 (RUN_TEST_LOOP_aa_f): New macro.
19682 (TEST_SUFF): New macro.
19683 (TEST_SUFF_STR): Likewise.
19684 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
19685 (TEST_COND_any_ibm128): New macro.
19686 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
19687 this_func. Update call to init_max_error.
19688 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
19689 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
19690 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
19691 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
19692 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
19693 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
19694 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
19695 * math/test-math-scalar.h (TEST_NARROW): Likewise.
19696 * math/test-math-vector.h (TEST_NARROW): Likewise.
19697 * math/test-arg-double.h: New file.
19698 * math/test-arg-float128.h: Likewise.
19699 * math/test-arg-float32x.h: Likewise.
19700 * math/test-arg-float64.h: Likewise.
19701 * math/test-arg-float64x.h: Likewise.
19702 * math/test-arg-ldouble.h: Likewise.
19703 * math/test-math-narrow.h: Likewise.
19704 * math/test-narrow-macros.c: Likewise.
19705 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
19706 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
19707 test-narrow-macros-ldbl-64.
19708 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
19710 * math/bits/mathcalls-narrow.h: New file.
19711 * include/bits/mathcalls-narrow.h: Likewise.
19712 * math/math-narrow.h: Likewise.
19713 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
19714 (__MATHCALL_NARROW_ARGS_2): Likewise.
19715 (__MATHCALL_NARROW_ARGS_3): Likewise.
19716 (__MATHCALL_NARROW_NORMAL): Likewise.
19717 (__MATHCALL_NARROW_REDIR): Likewise.
19718 (__MATHCALL_NARROW): Likewise.
19719 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
19720 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
19722 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19723 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
19724 (libm-narrow-fns): New variable.
19725 (libm-narrow-types-basic): Likewise.
19726 (libm-narrow-types-ldouble-yes): Likewise.
19727 (libm-narrow-types-float128-yes): Likewise.
19728 (libm-narrow-types-float128-alias-yes): Likewise.
19729 (libm-narrow-types): Likewise.
19730 (libm-routines): Add narrowing functions.
19731 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
19732 (libc_feholdexcept_setroundf128): New macro.
19733 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
19734 * sysdeps/ieee754/float128/float128_private.h: Include
19735 <math/math-narrow.h>.
19736 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
19737 Undefine and redefine.
19738 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
19739 (libm_alias_float_ldouble): Undefine and redefine.
19740 (libm_alias_double_ldouble): Likewise.
19742 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
19744 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
19746 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
19749 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
19751 * manual/creature.texi: Convert references to gcc.info to gcc.
19752 * manual/stdio.texi: Likewise.
19753 * manual/string.texi: Likewise.
19755 2018-02-07 Joseph Myers <joseph@codesourcery.com>
19758 * posix/bits/types.h (__int_least8_t): New typedef.
19759 (__uint_least8_t): Likewise.
19760 (__int_least16_t): Likewise.
19761 (__uint_least16_t): Likewise.
19762 (__int_least32_t): Likewise.
19763 (__uint_least32_t): Likewise.
19764 (__int_least64_t): Likewise.
19765 (__uint_least64_t): Likewise.
19766 * sysdeps/generic/stdint.h (int_least8_t): Define using
19768 (int_least16_t): Define using __int_least16_t.
19769 (int_least32_t): Define using __int_least32_t.
19770 (int_least64_t): Define using __int_least64_t.
19771 (uint_least8_t): Define using __uint_least8_t.
19772 (uint_least16_t): Define using __uint_least16_t.
19773 (uint_least32_t): Define using __uint_least32_t.
19774 (uint_least64_t): Define using __uint_least64_t.
19775 * wcsmbs/uchar.h: Include <bits/types.h>.
19776 (char16_t): Define using __uint_least16_t conditional only on
19778 (char32_t): Define using __uint_least32_t conditional only on
19780 * wcsmbs/test-char-types.c: New file.
19781 * wcsmbs/Makefile (tests): Add test-char-types.
19783 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
19786 2018-02-07 Zack Weinberg <zackw@panix.com>
19788 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
19789 Delete all contents except for definitions of _G_HAVE_MMAP and
19790 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
19791 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
19792 sysdeps/unix/sysv/linux/_G_config.h. Make same content
19795 * libio/libio.h: Don't include bits/_G_config.h here.
19796 Include stddef.h with __need_wchar_t defined. Include
19797 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
19798 Define _IO_iconv_t here, directly.
19799 Don't define _IO_HAVE_ST_BLKSIZE.
19800 * libio/libioP.h: Include _G_config.h here. Move include of
19801 shlib-compat.h up with rest of includes. Simplify conditionals
19802 controlling definition of _IO_JUMPS_OFFSET.
19804 * csu/init.c: Remove always-true #if around entire file.
19805 Don't include stdio.h. Set _IO_stdin_used to hardwired
19806 constant 0x20001, and update commentary.
19807 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
19808 Replace all uses of _G_va_list with __gnuc_va_list.
19809 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
19810 instead of #if _IO_HAVE_ST_BLKSIZE.
19811 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
19812 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
19815 * libio/bits/libio.h: Move back to libio/libio.h and adjust
19816 multiple-include guard to match.
19817 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
19819 Remove preprocessor conditionals that are always true and/or
19820 redundant to other preprocessor conditionals in the same nest.
19821 Include shlib-compat.h unconditionally.
19822 Error out if _LIBC is not defined, or if _ISOMAC is defined,
19823 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
19824 defined after including stdio.h.
19825 Use __BEGIN_DECLS/__END_DECLS.
19827 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
19828 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
19829 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
19831 2018-02-07 Zack Weinberg <zackw@panix.com>
19833 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
19834 New single-type headers split from _G_config.h.
19835 * libio/bits/types/cookie_io_functions_t.h
19836 * libio/bits/types/struct_FILE.h
19837 New single-type headers split from libio.h.
19839 * libio/Makefile: Install the above new headers. Don't install
19840 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
19842 * libio/_G_config.h, libio/libio.h: Delete file.
19844 * libio/bits/libio.h: Remove improper-inclusion guard.
19845 Include stdio.h and don't repeat anything that it does.
19846 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
19847 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
19848 __io_read_fn as cookie_read_function_t,
19849 __io_write_fn as cookie_write_function_t,
19850 __io_seek_fn as cookie_seek_function_t,
19851 __io_close_fn as cookie_close_function_t,
19852 and _IO_cookie_io_functions_t as cookie_io_functions_t.
19853 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
19854 here, in the "compatibility defines" section. Remove an #if 0
19855 block. Use the "body" macros from bits/types/struct_FILE.h to
19856 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
19857 and _IO_ferror_unlocked.
19858 Move prototypes of __uflow and __overflow...
19860 * libio/stdio.h: ...here. Don't include bits/libio.h.
19861 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
19862 directly from stdarg.h. Include bits/types/__fpos_t.h,
19863 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
19864 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
19865 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
19866 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
19867 cookie_io_functions_t, not _IO_cookie_io_functions_t;
19868 __ssize_t, not _IO_ssize_t. Unconditionally define
19869 BUFSIZ as 8192 and EOF as (-1).
19871 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
19872 macros from bits/types/struct_FILE.h instead of _IO_* macros
19873 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
19874 instead of _IO_ssize_t.
19875 * libio/bits/stdio2.h: Similarly.
19877 * libio/iolibio.h: Add multiple-include guard.
19878 Include bits/libio.h after stdio.h.
19879 * libio/libioP.h: Add multiple-include guard.
19880 Include stdio.h and bits/libio.h before iolibio.h.
19882 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
19883 * include/bits/types/cookie_io_functions_t.h
19884 * include/bits/types/struct_FILE.h: New wrappers.
19886 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
19887 Get definitions of _G_fpos_t and _G_fpos64_t from
19888 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
19889 respectively. Remove improper-inclusion guards.
19891 * conform/data/stdio.h-data: Update expectations of va_list.
19892 * scripts/check-installed-headers.sh: Remove special case for
19893 libio.h and _G_config.h.
19895 2018-02-07 Joseph Myers <joseph@codesourcery.com>
19899 * include/sys/sysmacros.h [!_ISOMAC]
19900 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
19901 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
19902 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
19903 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
19905 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
19906 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
19908 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
19909 Undefine and redefine to add use __gnu_dev_ prefix.
19910 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
19912 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
19913 and define as hidden inline function.
19914 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
19916 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
19918 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
19919 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
19920 (gnu_dev_minor): Likewise.
19921 (gnu_dev_makedev): Likewise.
19922 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
19924 * posix/wordexp.c (exec_comm_child): Likewise.
19925 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
19926 instead of minor and __gnu_dev_major instead of major.
19927 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
19928 __gnu_dev_major instead of major.
19929 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
19930 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
19931 instead of gnu_dev_minor.
19932 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
19933 (SLAVE_P): Likewise.
19934 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
19935 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
19939 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
19941 * locale/weightwc.h (findidx): Likewise.
19943 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
19945 * manual/probes.texi (slowlog): Delete documentation of removed probe.
19946 (slowlog_inexact): Likewise
19947 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
19948 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
19950 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
19953 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
19954 missing second underscore to parameter name.
19956 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19962 * bits/byteswap.h: Update file comment. Do not include
19963 <bits/byteswap-16.h>.
19964 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
19966 (__bswap_16): Define as inline function.
19967 (__bswap_constant_32): Reformat definition.
19968 (__bswap_32): Always define as inline function, not macro, using
19969 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
19970 otherwise __bswap_constant_32.
19971 (__bswap_constant_64): Reformat definition. Do not use
19972 __extension__ here.
19973 (__bswap_64): Always define as inline function, not macro. Use
19974 __extension__ on function definition. Use __builtin_bswap64 if
19975 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
19976 * string/test-endian-file-scope.c: New file.
19977 * string/test-endian-sign-conversion.c: Likewise.
19978 * string/Makefile (headers): Remove bits/byteswap-16.h.
19979 (tests): Add test-endian-file-scope and
19980 test-endian-sign-conversion.
19981 (CFLAGS-test-endian-sign-conversion.c): New variable.
19982 * bits/byteswap-16.h: Remove file.
19983 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
19984 * sysdeps/ia64/bits/byteswap.h: Likewise.
19985 * sysdeps/m68k/bits/byteswap.h: Likewise.
19986 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19987 * sysdeps/s390/bits/byteswap.h: Likewise.
19988 * sysdeps/tile/bits/byteswap.h: Likewise.
19989 * sysdeps/x86/bits/byteswap-16.h: Likewise.
19990 * sysdeps/x86/bits/byteswap.h: Likewise.
19993 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
19994 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
19995 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
19996 199901L] (__restrict): Define to restrict.
19999 * string/testcopy.c: Include <support/support.h>. Do not include
20000 <malloc.h>. Use <support/test-driver.c>.
20001 (main): Rename to do_test. Make static. Use xmalloc instead of
20005 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
20006 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
20007 (SSIZE_MAX): Define to INT_MAX.
20008 * posix/test-ssize-max.c: New file.
20009 * posix/Makefile (tests): Add test-ssize-max.
20012 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
20013 <support/support.h>. Do not include <malloc.h>.
20014 (query_auxv): Use xmalloc instead of malloc.
20017 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
20018 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
20021 2018-02-06 Florian Weimer <fweimer@redhat.com>
20024 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20025 Use scratch_buffer instead of extend_alloca.
20027 2018-02-06 Zack Weinberg <zackw@panix.com>
20029 * libio/stdio.h: Don't define getc or putc as macros.
20030 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
20031 not _IO_getc and _IO_putc.
20033 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
20034 * stdio-common/tstgetln.c: Don't redefine ssize_t.
20036 2018-02-06 Joseph Myers <joseph@codesourcery.com>
20038 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
20039 (TCP_FASTOPEN_NO_COOKIE): Likewise.
20041 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
20044 * elf/elf.h (NT_PRFPREG): New macro.
20045 (NT_S390_VXRS_LOW): Likewise.
20046 (NT_S390_VXRS_HIGH): Likewise.
20047 (NT_S390_GS_CB): Likewise.
20048 (NT_S390_GS_BC): Likewise.
20049 (NT_S390_RI_CB): Likewise.
20051 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
20052 (MAP_SYNC): New macro.
20053 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
20055 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
20056 (MAP_SYNC): Likewise.
20057 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
20058 (MAP_SYNC): Likewise.
20059 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
20060 (MAP_SYNC): Likewise.
20061 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
20062 (MAP_SYNC): Likewise.
20063 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
20064 (MAP_SYNC): Likewise.
20065 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
20066 (MAP_SYNC): Likewise.
20067 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
20069 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
20072 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
20073 (MAP_SHARED_VALIDATE): New macro.
20074 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20075 (MAP_SHARED_VALIDATE): Likewise.
20077 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20079 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
20080 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
20081 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20083 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20085 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
20086 (DT_NUM): Updated to 35.
20088 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20090 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
20091 __builtin_expect with __glibc_likely and __glibc_unlikely.
20092 (elf_machine_rela): Likewise.
20093 (elf_machine_lazy_rel): Likewise.
20095 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20097 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
20098 __builtin_expect with __glibc_likely and __glibc_unlikely.
20099 (elf_machine_lazy_rel): Likewise.
20101 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20104 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
20106 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
20108 2018-02-05 Andreas Schwab <schwab@suse.de>
20111 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
20114 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20116 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
20117 not check against PTHREAD_STACK_MIN.
20119 2018-02-02 Sean McKean <smckean83@gmail.com>
20122 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
20124 2018-02-02 Florian Weimer <fweimer@redhat.com>
20127 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
20128 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
20129 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
20130 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
20131 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
20132 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
20133 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
20134 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
20135 * manual/llio.texi (Scatter-Gather): Mention offset -1.
20136 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
20137 * misc/tst-preadvwritev2.c (do_test): Call it.
20138 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
20140 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
20142 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
20144 * benchtests/bench-memcmp.c: Print json instead of plain text.
20146 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
20149 2018-02-01 Joseph Myers <joseph@codesourcery.com>
20151 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20153 (s390_sthyi): New syscall.
20155 * sysdeps/generic/ldbl-classify-compat.h: New file.
20156 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
20157 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
20158 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
20159 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
20160 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
20161 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
20162 * sysdeps/ieee754/dbl-64/s_finite.c: Include
20163 <ldbl-classify-compat.h>.
20164 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20165 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
20166 <ldbl-classify-compat.h>.
20167 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20168 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
20169 <ldbl-classify-compat.h>.
20170 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20171 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
20172 <ldbl-classify-compat.h>.
20173 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20174 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
20175 <ldbl-classify-compat.h>.
20176 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20177 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
20178 <ldbl-classify-compat.h>.
20179 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20180 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
20181 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20182 * sysdeps/m68k/coldfire/math_private.h: Remove file.
20183 * sysdeps/microblaze/math_private.h: Likewise.
20184 * sysdeps/nios2/math_private.h: Likewise.
20185 * sysdeps/sh/math_private.h: Likewise.
20187 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
20188 * sysdeps/m68k/coldfire/math_private.h: ... here.
20189 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
20190 * sysdeps/tile/math_private.h: Likewise.
20191 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
20193 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
20196 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
20198 (libc_fetestexcept): Likewise.
20199 (libc_feupdateenv_test): Likewise.
20200 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
20201 (libc_fetestexcept): Likewise.
20202 (libc_feupdateenv_test): Likewise.
20203 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
20204 (libc_fetestexcept): Likewise.
20205 (libc_feupdateenv_test): Likewise.
20206 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
20207 (libc_fetestexcept): Likewise.
20208 (libc_feupdateenv_test): Likewise.
20210 * sysdeps/generic/math_private.h
20211 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
20212 New inline function.
20213 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
20216 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
20217 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
20218 * sysdeps/generic/math_private.h
20219 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
20221 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
20223 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
20225 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
20227 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
20229 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
20231 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
20232 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
20233 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
20234 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
20235 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
20236 (__fegetenv): Likewise.
20237 (fesetenv): Likewise.
20238 (__fesetenv): Likewise.
20239 (feupdateenv): Likewise.
20240 (__feupdateenv): Likewise.
20241 (fegetround): Likewise.
20242 (__fegetround): Likewise.
20243 (fesetround): Likewise.
20244 (__fesetround): Likewise.
20246 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
20247 (feraiseexcept): New macro.
20248 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
20249 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
20251 (__feraiseexcept): Likewise.
20252 (feclearexcept): Likewise.
20253 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
20254 (__feraiseexcept): Likewise.
20255 (feclearexcept): Likewise.
20256 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
20257 (__feraiseexcept): Likewise.
20258 (feclearexcept): Likewise.
20259 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
20260 (__feraiseexcept): Likewise.
20261 (feclearexcept): Likewise.
20262 (fetestexcept): Likewise.
20264 * sysdeps/m68k/coldfire/math-tests.h: New file.
20266 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
20267 * sysdeps/m68k/bits/fenv.h: ... here.
20268 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
20270 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
20272 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
20274 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
20276 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
20278 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
20280 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
20281 (__FE_UNDEFINED): New enum constant.
20282 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
20284 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
20286 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
20288 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
20289 to match generic bits/fenv.h.
20290 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
20293 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
20295 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
20296 * soft-fp/half.h (union _FP_UNION_H): Likewise.
20297 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
20298 * soft-fp/single.h (union _FP_UNION_S): Likewise.
20300 2018-02-01 Carlos O'Donell <carlos@redhat.com>
20301 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
20302 Joseph Myers <joseph@codesourcery.com>
20305 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
20306 (__log1p): Disable -Wmaybe-uninitialized for -Os around
20307 computation using c.
20308 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
20309 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
20310 computation using c.
20312 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20314 * version.h (RELEASE): Set to "development".
20315 (VERSION): Set to "2.27.9000".
20316 * NEWS (2.28): New section.
20318 * version.h (RELEASE): Set to "stable".
20319 (VERSION): Set to "2.27".
20320 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
20322 * NEWS: Add the list of bugs fixed in 2.27.
20324 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20326 * stdlib/test-atexit-race-common.c (do_test): Check stack size
20327 against PTHREAD_STACK_MIN.
20329 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20331 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
20333 (Rafal Luzynski, Andreas Schwab): Update.
20335 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
20338 * NEWS: List the languages which actually use the alternative
20339 months feature in this release. Also explain that "alt_mon" and
20340 "ab_alt_mon" are optional.
20342 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
20345 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
20347 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
20349 * manual/install.texi (Tools for Compilation): Update the newest
20350 versions of gcc, binutils, texinfo, gawk, bison, and sed.
20351 * INSTALL: Regenerated.
20353 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20355 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
20356 instead of __builtin_expect.
20358 2018-01-30 Florian Weimer <fweimer@redhat.com>
20360 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
20362 * nss/tst-nss-getpwent.c (do_test): Likewise.
20364 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
20367 * localedata/locales/hr_HR (mon): Rename to...
20369 (mon): Import from CLDR (genitive case).
20370 (d_t_fmt): Update the comment.
20372 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
20374 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
20375 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
20376 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
20378 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20380 * mach/Versions: Fix version when __mach_host_self_ was added.
20381 * hurd/Versions: Fix version when _hurd_exec_paths was added.
20382 * sysdeps/mach/hurd/i386/ld.abilist: New file.
20383 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
20384 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
20385 * sysdeps/mach/hurd/i386/libc.abilist: New file.
20386 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
20387 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
20388 * sysdeps/mach/hurd/i386/libm.abilist: New file.
20389 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
20390 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
20391 * sysdeps/mach/hurd/i386/librt.abilist: New file.
20392 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
20393 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
20394 || to respect codestyle.
20395 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
20396 (do_test_bz20181): Rename accordingly.
20397 * malloc/malloc.c: Include <assert.h>.
20398 (assert): Do not define.
20399 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
20400 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
20401 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
20402 * sysdeps/mach/hurd/hp-timing.h: New file.
20403 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
20405 2018-01-29 Darius Rad <darius@bluespec.com>
20407 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
20409 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
20411 * sysdeps/init_array/crti.S (.section .init_array): Add
20412 PREINIT_FUNCTION when defined.
20413 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
20414 * config.h.in: Regenerate.
20415 * manual/platform.texi: Add RISC-V documenation for
20416 __riscv_flush_icache.
20417 * sysdeps/riscv/__longjmp.S: New file.
20418 * sysdeps/riscv/backtrace.c: Likewise.
20419 * sysdeps/riscv/bits/endian.h: Likewise.
20420 * sysdeps/riscv/bits/setjmp.h: Likewise.
20421 * sysdeps/riscv/bits/wordsize.h: Likewise.
20422 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
20423 * sysdeps/riscv/bsd-setjmp.c: Likewise.
20424 * sysdeps/riscv/dl-trampoline.S: Likewise.
20425 * sysdeps/riscv/gccframe.h: Likewise.
20426 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
20427 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
20428 * sysdeps/riscv/machine-gmon.h: Likewise.
20429 * sysdeps/riscv/memusage.h: Likewise.
20430 * sysdeps/riscv/setjmp.S: Likewise.
20431 * sysdeps/riscv/sys/asm.h: Likewise.
20432 * sysdeps/riscv/tls-macros.h: Likewise.
20433 * sysdeps/riscv/dl-tls.h: New file.
20434 * sysdeps/riscv/libc-tls.c: Likewise.
20435 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
20436 * sysdeps/riscv/nptl/tls.h: Likewise.
20437 * sysdeps/riscv/stackinfo.h: Likewise.
20438 * sysdeps/riscv/bits/fenv.h: New file.
20439 * sysdeps/riscv/e_sqrtl.c: Likewise.
20440 * sysdeps/riscv/fpu_control.h: Likewise.
20441 * sysdeps/riscv/math-tests.h: Likewise.
20442 * sysdeps/riscv/nofpu/Implies: Likewise.
20443 * sysdeps/riscv/sfp-machine.h: Likewise.
20444 * sysdeps/riscv/tininess.h: Likewise.
20445 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
20446 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
20447 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
20448 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
20449 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
20450 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
20451 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
20452 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
20453 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
20454 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
20455 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
20456 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
20457 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
20458 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
20459 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
20460 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
20461 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
20462 * sysdeps/riscv/rvd/s_finite.c: Likewise.
20463 * sysdeps/riscv/rvd/s_fma.c: Likewise.
20464 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
20465 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
20466 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
20467 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
20468 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
20469 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
20470 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
20471 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
20472 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
20473 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
20474 * sysdeps/riscv/rvf/fegetround.c: Likewise.
20475 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
20476 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
20477 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
20478 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
20479 * sysdeps/riscv/rvf/fesetround.c: Likewise.
20480 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
20481 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
20482 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
20483 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
20484 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
20485 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
20486 * sysdeps/riscv/rvf/math_private.h: Likewise.
20487 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
20488 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
20489 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
20490 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
20491 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
20492 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
20493 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
20494 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
20495 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
20496 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
20497 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
20498 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
20499 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
20500 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
20501 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
20502 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
20503 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
20504 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
20505 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
20506 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
20507 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
20508 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20509 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
20510 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
20511 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
20512 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
20513 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
20514 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
20515 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
20516 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
20517 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
20518 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
20519 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
20520 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
20521 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
20522 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
20523 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
20524 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
20525 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
20526 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
20527 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
20528 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
20529 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
20530 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
20531 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
20532 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
20533 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
20534 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
20535 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
20536 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
20537 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
20538 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
20539 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
20540 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
20541 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
20542 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
20543 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
20544 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
20545 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
20546 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
20547 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
20548 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
20549 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
20550 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
20551 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20552 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
20553 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
20554 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
20555 * sysdeps/riscv/Implies: New file.
20556 * sysdeps/riscv/Makefile: Likewise.
20557 * sysdeps/riscv/configure: Likewise.
20558 * sysdeps/riscv/configure.ac: Likewise.
20559 * sysdeps/riscv/nptl/Makefile: Likewise.
20560 * sysdeps/riscv/preconfigure: Likewise.
20561 * sysdeps/riscv/rv64/Implies-after: Likewise.
20562 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
20563 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
20564 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
20565 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
20566 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
20567 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
20568 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
20569 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
20570 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
20571 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
20572 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
20573 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
20574 (Config): Likewise.
20576 2018-01-29 Florian Weimer <fweimer@redhat.com>
20579 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
20580 libnsl_hidden_proto.
20581 * include/rpcsvc/yp.h (yp_xdrall): Declare with
20582 libnsl_hidden_proto.
20583 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
20584 * nis/Makefile (libnsl-routines): Add nss-default only for
20585 build-obsolete-nsl.
20586 * nis/nis_defaults.c (__nis_default_ttl): Add
20587 libnsl_hidden_nolink_def.
20588 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
20590 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
20591 * nis/ypclnt.c (yp_maplist): Likewise.
20593 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
20595 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20596 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
20598 2018-01-29 Joseph Myers <joseph@codesourcery.com>
20600 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
20601 clean -dxfq for git updates when replacing sources.
20603 * scripts/build-many-glibcs.py (Config.build_gcc): Use
20604 --disable-libcilkrts unconditionally, not just for the final GCC
20607 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20610 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20613 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
20616 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20619 * localedata/locales/be_BY (mon): Rename to...
20620 (alt_mon): This, then synchronize with CLDR (nominative case).
20621 (abmon): Rename to...
20622 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20623 (mon): Import from CLDR (genitive case).
20625 * localedata/locales/be_BY@latin (mon): Rename to...
20627 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
20629 * localedata/locales/be_BY@latin (lang_name): Reworded to
20630 "biełaruskaja mova".
20632 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20635 * localedata/locales/el_CY (mon): Renamed to...
20637 (mon): Import from CLDR (genitive case).
20638 * localedata/locales/el_GR: Likewise.
20640 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20643 * localedata/locales/ru_RU (mon): Rename to...
20645 (abmon): Rename to...
20646 (ab_alt_mon): This.
20647 (mon): Import from CLDR (genitive case).
20648 (abmon): Copy from the old content except the 5th month which is
20649 now in the genitive case, even when abbreviated.
20650 * localedata/locales/ru_UA: Likewise.
20651 * time/tst-strptime.c (day_tests): Add an actual example of
20652 a difference between %b and %Ob in Russian.
20654 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20656 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
20657 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
20659 * resolv/res-close.c: Include <stdlib.h>.
20660 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
20661 <sys/wait.h>, <time.h>, <sys/uio.h>.
20662 (NOT_CANCEL_H): Add inclusion guard.
20663 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
20664 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
20665 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
20667 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
20668 vm_address_t * to ElfW(Addr) * for dl_main parameter.
20669 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
20671 * sysdeps/pthread/timer_create.c (timer_create): Do not use
20672 timer_ptr2id to cast struct timer_node * to void *.
20673 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
20674 --disable-libcilkrts to gcc configure.
20675 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
20676 and make them the default for now.
20677 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
20678 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
20679 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
20680 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
20681 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
20683 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
20684 __task_terminate would ever return successfully.
20685 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
20687 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
20688 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
20689 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
20690 critical section to make code simpler and avoid warning.
20691 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
20692 critical section to make code simpler and avoid warning.
20693 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
20694 const char * instead of char *.
20695 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
20696 __hurd_file_name_split, hurd_file_name_split,
20697 __hurd_directory_name_split, hurd_directory_name_split,
20698 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
20699 hurd_file_name_path_lookup): Make lookup function parameter take a
20700 const char *name instead of char *name.
20701 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
20702 __hurd_directory_name_split): Likewise.
20703 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
20704 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
20705 * sysdeps/mach/hurd/check_native.c: New file.
20706 * sysdeps/mach/hurd/check_pf.c: New file.
20707 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
20708 (__freeifaddrs): Define macro to freeifaddrs.
20709 * sysdeps/mach/hurd/libhurduser.abilist: New file.
20710 * sysdeps/mach/libmachuser.abilist: New file.
20711 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
20712 (do_test_bz20181): Rename accordingly.
20713 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
20714 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
20716 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
20717 version only if __USE_EXTERN_INLINES is defined.
20718 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
20719 __hurd_sockfail): Likewise.
20720 (_hurd_fd_get): Always declare functions, and provide inline versions
20721 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
20722 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
20723 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
20724 _hurd_port_set): Always declare functions, and provide inline versions
20725 only if __USE_EXTERN_INLINES and _LIBC are defined and
20727 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
20728 _hurd_critical_section_unlock): Likewise.
20729 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
20730 * __hurd_threadvar_location): Likewise.
20731 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
20732 _hurd_userlink_clear): Likewise.
20733 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
20734 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
20735 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
20736 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
20737 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
20738 __spin_lock_locked): Likewise.
20739 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
20740 __spin_lock_locked): Likewise.
20741 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
20742 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
20743 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
20744 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
20745 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
20746 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
20747 _POSIX_NO_TRUNC): Define to 0.
20748 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
20749 check size against PTHREAD_STACK_MIN.
20750 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
20751 IS_IN(libpthread)]: Include <sigsetops.h>.
20752 * mach/Makefile (user-interfaces): Add mach/gnumach.
20753 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
20754 * sysdeps/mach/configure (mach_interface_list): Regenerate.
20755 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
20756 instead of invalid -1.
20757 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
20758 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
20759 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
20762 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
20764 * hurd/fcntl-internal.h: New file.
20766 2018-01-27 James Clarke <jrtc27@jrtc27.com>
20768 * sysdeps/hppa/fpu/libm-test-ulps: Update.
20770 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20772 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
20775 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
20776 Build only shared objects.
20778 2018-01-26 Carlos O'Donell <carlos@redhat.com>
20780 * README: Update for hppa.
20782 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20784 * sysdeps/sparc/fpu/libm-test-ulps: Update
20785 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
20787 2018-01-26 Carlos O'Donell <carlos@redhat.com>
20791 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20794 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20795 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20796 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20797 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20800 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20803 * bits/types/__cancel_jmp_buf_tag.h: New file.
20804 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20805 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20806 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20807 * nptl/Makefile (headers): Add
20808 bits/types/__cancel_jmp_buf_tag.h.
20809 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20810 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20811 * sysdeps/nptl/pthread.h: Include
20812 <bits/types/__cancel_jmp_buf_tag.h>.
20813 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20815 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20817 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
20820 * localedata/locales/uk_UA (mon): Renamed to...
20822 (alt_digits): "0" removed and then renamed to...
20824 (date_fmt): Definition changed not to use the alternative
20827 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
20829 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
20830 FLAG_RISCV_FLOAT_ABI_DOUBLE.
20831 * elf/elf.h (EF_RISCV_RVC): New define.
20832 (EF_RISCV_FLOAT_ABI): Likewise.
20833 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
20834 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
20835 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20836 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
20837 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
20839 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20841 2018-01-25 Andreas Schwab <schwab@suse.de>
20843 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
20845 * sysdeps/gnu/configure: Regenerate.
20846 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20847 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20849 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20850 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20851 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
20852 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20853 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20855 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20857 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
20858 URL, and run autoconf, make it the default for now.
20860 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20862 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20863 soft-float ColdFire configuration.
20865 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
20866 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
20867 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
20869 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
20872 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
20874 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
20876 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
20879 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
20880 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
20881 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
20884 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20887 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
20888 Rename to __reserved and add comment.
20889 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
20890 Rename to __reserved.
20892 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20894 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20895 i686-gnu configurations.
20896 (Context.run_builds): Include mig, gnumach and hurd in components
20898 (Context.checkout): Add mig, gnumach and hurd to components.
20899 (Context.checkout_tar): Add URL mappings for mig, gnumach and
20901 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
20902 (Config.build): Install gnumach headers, build mig and install
20903 hurd headers for 'gnu' OS.
20904 (Config.install_gnumach_headers): New function.
20905 (Config.install_hurd_headers): Likewise.
20906 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
20907 when building for 'gnu' OS.
20909 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
20911 * manual/tunables.texi (Hardware Capability Tunables): Fix
20914 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
20916 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
20917 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
20918 (ALTMON_11, ALTMON_12): Improve documentation.
20919 * manual/time.texi (strftime): Likewise.
20921 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20924 * localedata/locales/pl_PL: Alternative month names added,
20925 primary month names are genitive now.
20926 * time/tst-strptime.c (day_tests): Actually use a genitive case
20927 of a month name in Polish language.
20929 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20932 * manual/locale.texi: Document ALTMON_1..12 constants for
20933 nl_langinfo. Specify when to use ALTMON instead of MON.
20934 * manual/time.texi (strftime, strptime): Document GNU extension
20935 permitting O modifier with %B and %b. Specify when to use
20938 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20941 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
20942 names, define them as the same as abbreviated month names explicitly.
20943 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
20944 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
20945 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
20946 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
20947 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
20948 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
20949 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
20950 _NL_WABALTMON_12): New enum constants.
20951 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
20952 wab_alt_mon, and ab_alt_mon_defined members.
20953 (time_output): Output ab_alt_mon and wab_alt_mon members.
20954 (time_read): Read them, initialize them as copies of abmon and wabmon
20955 respectively if they are missing, initialize ab_alt_mon_defined.
20956 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
20957 * locale/programs/locfile-kw.h: Regenerate.
20958 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
20959 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
20961 * time/strftime_l.c (a_altmonth, aam_len): New macros.
20962 [!COMPILE_WIDE] (ABALTMON_1): New macro.
20963 (__strftime_internal): Handle %Ob and %Oh formats.
20964 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
20965 (__strptime_internal): Handle %Ob and %Oh formats.
20966 * time/tst-strptime.c (day_tests): Add more tests to parse different
20967 forms of month names including the new %Ob format specifier.
20969 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20972 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
20973 define them as the same as primary full month names explicitly.
20974 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
20975 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
20976 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
20977 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
20978 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
20979 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
20980 _NL_WALTMON_12): New enum constants.
20981 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
20982 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
20984 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
20985 walt_mon, and alt_mon_defined members.
20986 (time_output): Output alt_mon and walt_mon members.
20987 (time_read): Read them, initialize them as copies of mon and wmon
20988 respectively if they are missing, initialize alt_mon_defined.
20989 * locale/programs/locfile-kw.gperf (alt_mon): Define.
20990 * locale/programs/locfile-kw.h: Regenerate.
20991 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
20992 * localedata/tst-langinfo.c (map): Add tests for the new constants
20993 ALTMON_1 .. ALTMON_12.
20994 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
20996 * time/strftime_l.c (f_altmonth): New macro.
20997 (__strftime_internal): Handle %OB format.
20998 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
20999 (__strptime_internal): Handle %OB format.
21000 * time/tst-strptime.c (day_tests): Add tests to parse different forms
21001 of month names including the new %OB format specifier.
21003 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21006 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
21007 from ABORT_TRANSACTION.
21008 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
21009 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
21010 ABORT_TRANSACTION_IMPL): Likewise.
21011 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
21012 Linux code, but remove the code that aborts transactions.
21014 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
21016 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
21018 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
21020 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
21021 in date: "2004-14-09" should be "2004-09-14".
21022 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
21023 "2003-15-09" should be "2003-09-15".
21025 2018-01-18 Arjun Shankar <arjun@redhat.com>
21031 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
21033 (_int_memalign): check for integer overflow before calling
21035 * malloc/tst-malloc-too-large.c: New test.
21036 * malloc/Makefile: Add tst-malloc-too-large.
21038 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
21040 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
21041 in date: "2017-24-07" should be "2017-07-24".
21042 * localedata/locales/mai_IN: Likewise.
21043 * localedata/locales/mai_NP: Likewise.
21045 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
21047 * po/ru.po: Update translations.
21049 2018-01-17 Joseph Myers <joseph@codesourcery.com>
21052 * sysdeps/hppa/backtrace.c: New file.
21054 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
21057 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
21058 align La_x86_64_retval to VEC_SIZE.
21060 2018-01-16 Joseph Myers <joseph@codesourcery.com>
21062 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
21063 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
21065 2018-01-16 Florian Weimer <fweimer@redhat.com>
21067 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
21068 Move tst-thread-exit-clobber ...
21069 [$(CXX)] (tests-unsupported): ... to here.
21071 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21073 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
21074 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
21075 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21076 (_dl_aarch64_cap_flags): Update.
21077 (_DL_HWCAP_COUNT): Update.
21079 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21081 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
21082 (_DL_HWCAP_LAST): Remove.
21083 (_DL_HWCAP_COUNT): Move to ...
21084 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21085 (_DL_HWCAP_COUNT): ... here.
21087 2018-01-16 Florian Weimer <fweimer@redhat.com>
21089 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
21090 mode with GNU extensions.
21092 2018-01-15 Alan Hayward <alan.hayward@arm.com>
21094 * elf/elf.h (NT_ARM_SVE): Define.
21096 2018-01-15 Florian Weimer <fweimer@redhat.com>
21099 * nptl/tst-minstack-throw.cc: New file.
21100 * nptl/Makefile (tests): Add tst-minstack-throw.
21101 (LDLIBS-tst-minstack-throw): Link with libstdc++.
21102 [!CXX] (tests-unsupported): Add tst-minstack-throw.
21104 2018-01-15 Joseph Myers <joseph@codesourcery.com>
21106 * scripts/build-many-glibcs.py (Context.checkout): Default
21107 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
21110 2018-01-13 Carlos O'Donell <carlos@redhat.com>
21113 * elf/elf.h (DF_1_STUB): Define.
21114 (DF_1_PIE): Define.
21116 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21119 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
21120 Do not add 0.5 to integer or out-of-range arguments.
21122 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21124 * po/bg.po: Update translations.
21125 * po/cs.po: Likewise.
21126 * po/de.po: Likewise.
21127 * po/ko.po: Likewise.
21128 * po/pl.po: Likewise.
21129 * po/sv.po: Likewise.
21130 * po/uk.po: Likewise.
21131 * po/vi.po: Likewise.
21133 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21135 * aarch64/start.S (_start): Use __wrap_main.
21136 (__wrap_main): New local symbol.
21138 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21142 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
21143 generic_getcwd if the path returned by getcwd syscall is not absolute.
21144 * io/tst-getcwd-abspath.c: New test.
21145 * io/Makefile (tests): Add tst-getcwd-abspath.
21147 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
21149 * malloc/malloc.c (malloc_consolidate): Add size check.
21151 2018-01-12 Florian Weimer <fweimer@redhat.com>
21153 * support/write_message.c (write_message): Preserve errno.
21154 * support/check.c (print_failure): Likewise.
21155 * support/support_test_verify_impl.c (support_test_verify_impl):
21157 * support/support_test_compare_failure.c
21158 (support_test_compare_failure): Likewise.
21160 2018-01-12 Florian Weimer <fweimer@redhat.com>
21163 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
21164 Prevent installation of libnsl.so.
21165 (libnsl-inhibit-o): Do not build (or install) static libraries.
21167 2018-01-12 Egmont Koblinger <egmont@gmail.com>
21170 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
21171 before the day number which may produce a double space.
21172 (date_fmt): Likewise.
21174 2018-01-12 Joseph Myers <joseph@codesourcery.com>
21176 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
21177 instead of fegetenv.
21179 2018-01-11 Joseph Myers <joseph@codesourcery.com>
21182 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
21183 comment to say exceptions are discarded.
21184 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
21186 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
21189 2018-01-11 Florian Weimer <fweimer@redhat.com>
21191 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
21194 2018-01-11 Florian Weimer <fweimer@redhat.com>
21197 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
21198 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
21200 2018-01-10 Joseph Myers <joseph@codesourcery.com>
21203 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
21204 negative arguments in test for NaN or infinity argument.
21206 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
21208 * po/libc.pot: Regenerate.
21210 2018-01-10 Florian Weimer <fweimer@redhat.com>
21213 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
21214 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
21216 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21218 * hurd/hurd/fd.h: Include <fcntl.h>
21219 (__hurd_at_flags): New function.
21220 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
21221 with call to __hurd_at_flags.
21222 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
21223 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
21225 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
21226 (__access_noerrno): Use __faccessat_common instead of access_common.
21227 (__access): Likewise.
21228 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
21229 with a call to __faccessat.
21230 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
21231 (__faccessat_common): ... this. Move implementation of __access into it when
21232 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
21233 reauthenticate_cwdir_at helper to implement AT mechanism.
21234 (__faccessat_noerrno): New function, just calls __faccessat_common.
21235 (__faccessat): New function, just calls __faccessat_common.
21236 (faccessat): Define weak alias.
21238 2018-01-10 Joseph Myers <joseph@codesourcery.com>
21241 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21242 (CFLAGS-s_fmaxmagl.c): New variable.
21243 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
21246 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
21247 long int for arguments of possibly overflowing addition or
21249 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21251 2018-01-09 Joseph Myers <joseph@codesourcery.com>
21254 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21255 (CFLAGS-e_remainderl.c): New variable.
21258 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
21260 (CFLAGS-s_cacoshl.c): Likewise.
21261 (CFLAGS-s_casinhl.c): Likewise.
21262 (CFLAGS-s_catanl.c): Likewise.
21263 (CFLAGS-s_catanhl.c): Likewise.
21264 (CFLAGS-s_cexpl.c): Likewise.
21265 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
21266 (CFLAGS-s_csinhl.c): Likewise.
21267 (CFLAGS-s_clogl.c): Likewise.
21268 (CFLAGS-s_clog10l.c): Likewise.
21269 (CFLAGS-s_csinl.c): Likewise.
21270 (CFLAGS-s_csqrtl.c): Likewise.
21272 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
21273 2017-01-09 Svante Signell <svante.signell@gmail.com>
21275 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
21276 (_hurd_exec_paths): New function.
21277 * hurd/hurd.h (_hurd_exec): Deprecate function.
21278 (_hurd_exec_paths): Declare function.
21279 * hurd/Versions: Export _hurd_exec_paths.
21280 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
21281 (__execve): Use __getcwd to build absolute path, and use
21282 _hurd_exec_paths instead of _hurd_exec.
21283 * sysdeps/mach/hurd/spawni.c: Likewise.
21284 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
21287 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
21289 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
21290 test instead of failing in case of ENOENT returned by posix_openpt.
21292 2018-01-08 Florian Weimer <fweimer@redhat.com>
21294 resolv: Support binary labels in test framework.
21295 * support/resolv_test.c (struct to_be_freed): Remove.
21296 (struct compressed_name): New.
21297 (allocate_compressed_name, ascii_tolower)
21298 (compare_compressed_name): New functions.
21299 (struct resolv_response_builder): Update type of
21300 compression_offsets for use with tsearch. Rempve to_be_freed.
21301 (response_push_pointer_to_free): Remove function.
21302 (resolv_response_add_name): Rewrite using struct compressed_name
21303 and tsearch instead of hsearch_r.
21304 (response_builder_allocate): Remove initialization of
21305 compression_offsets.
21306 (response_builder_free): Update for removal of to_be_freed. Use
21307 tdestroy instead of hdestroy_r.
21308 * resolv/Makefile (tests): Add tst-resolv-binary.
21309 (tst-resolv-binary): Link with -lresolv -lpthread.
21311 2018-01-08 Florian Weimer <fweimer@redhat.com>
21313 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
21314 time. Pass positive flag instead of negative flag to
21315 support_test_compare_failure.
21316 (support_test_compare_failure): Change negative parameter to
21318 * support/support_test_compare_failure.c (report)
21319 (support_test_compare_failure): Likewise.
21320 * support/tst-test_compare.c (return_ssize_t, return_int): New.
21321 (do_test): Check int/size_t, ssize_t/size_t comparisons.
21323 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
21326 * nptl/descr.h (stackblock, stackblock_size): Update comments.
21327 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
21328 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
21330 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21332 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
21334 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21335 Add s_sincosf-sse2 and s_sincosf-fma.
21336 (CFLAGS-s_sincosf-fma.c): New.
21337 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
21338 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
21339 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
21340 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
21341 __sincosf is defined.
21343 2018-01-08 Florian Weimer <fweimer@redhat.com>
21345 * nptl/tst-thread-exit-clobber.cc: New file.
21346 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
21348 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
21349 (tests): Add tst-thread-exit-clobber.
21350 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
21352 2018-01-08 Florian Weimer <fweimer@redhat.com>
21354 * support/check.h (support_static_assert): Define.
21355 (TEST_COMPARE): Use it.
21357 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
21359 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
21360 [!__RLIM_T_MATCHES_RLIM64_T]
21361 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
21362 __getrlimit64. Add libc_hidden_weak.
21364 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
21366 * elf/elf.h (R_RISCV_NONE): New define.
21367 (R_RISCV_32): Likewise.
21368 (R_RISCV_64): Likewise.
21369 (R_RISCV_RELATIVE): Likewise.
21370 (R_RISCV_COPY): Likewise.
21371 (R_RISCV_JUMP_SLOT): Likewise.
21372 (R_RISCV_TLS_DTPMOD32): Likewise.
21373 (R_RISCV_TLS_DTPMOD64): Likewise.
21374 (R_RISCV_TLS_DTPREL32): Likewise.
21375 (R_RISCV_TLS_DTPREL64): Likewise.
21376 (R_RISCV_TLS_TPREL32): Likewise.
21377 (R_RISCV_TLS_TPREL64): Likewise.
21378 * Makerules (make-link-multidir): Make directories before linking into
21380 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
21382 (VDSO_HASH_LINUX_4_15): Likewise.
21383 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
21384 in subdirectories of lib.
21385 * nptl/Makefile (/librt.so): Always depend on
21386 "$(shared-thread-library)".
21388 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21390 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
21391 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
21392 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
21394 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
21395 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
21397 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
21398 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
21399 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
21400 * sysdeps/gnu/glob-lstat-compat.c: New file.
21401 * sysdeps/gnu/glob64-lstat-compat.c: New file.
21402 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
21404 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21406 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
21407 Reserve 16 chars to reloc_addr before calling _itoa_word.
21409 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21412 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
21413 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
21415 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
21416 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
21418 * resource/tst-getrlimit.c: Add copyright header.
21420 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21421 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21423 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21424 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
21425 Define __GI_getrlimit64 as weak alias of __getrlimit64.
21426 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
21428 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21429 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
21430 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
21431 RLIM64_INFINITY): Fix values to match the kernel ones.
21432 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
21433 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
21434 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
21435 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
21436 getrlimit64@@GLIBC_2_27.
21437 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
21439 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
21440 getrlimit, setrlimit, getrlimit64 and setrlimit64.
21441 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
21442 setrlimit, getrlimit64 and setrlimit64.
21444 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21447 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
21448 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
21450 2018-01-04 Joseph Myers <joseph@codesourcery.com>
21452 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
21453 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
21454 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
21456 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21460 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
21461 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
21465 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
21466 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
21467 * sysdeps/alpha/fpu/s_floor.c: Likewise.
21468 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
21470 2018-01-04 Florian Weimer <fweimer@redhat.com>
21473 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21474 Align the stack before calling exit.
21475 * stdlib/tst-makecontext-align.c: New file.
21476 * stdlib/Makefile (tests): Add tst-makecontext-align.
21478 2018-01-04 Florian Weimer <fweimer@redhat.com>
21480 Add support for calling dlvsym from libc.so.
21481 * include/dlfcn.h (__libc_dlvsym): Declare.
21482 * elf/Makefile (tests-static-internal): Add
21483 tst-libc_dlvsym-static.
21484 (tests-internal): Add tst-libc_dlvsym.
21485 (modules-names): Add tst-libc_dlvsym-dso.
21486 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
21487 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
21488 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
21489 object tst-libc_dlvsym-dso.so needs to be built before running
21491 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
21492 * elf/Versions: Export __libc_dlvsym.
21493 * elf/dl-libc.c (struct do_dlvsym_args): New.
21494 (do_dlvsym, __libc_dlvsym): New functions.
21495 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
21496 (_dl_open_hook2): New variable.
21497 (__libc_register_dl_open_hook): Set it.
21498 * elf/tst-libc_dlvsym-dso.c: New file.
21499 * elf/tst-libc_dlvsym-static.c: Likewise.
21500 * elf/tst-libc_dlvsym.c: Likewise.
21501 * elf/tst-libc_dlvsym.h: Likewise.
21503 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
21505 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
21506 include <sys/mount.h>.
21508 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
21510 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
21511 Add __NO_MATH_ERRNO__ check.
21513 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21515 * sysdeps/mips/mips32/libm-test-ulps: Update.
21516 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21518 2018-01-02 Florian Weimer <fweimer@redhat.com>
21520 * misc/tst-pselect.c: Add copyright header.
21522 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21524 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
21526 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
21528 (settrlimit): Rename into setrlimit.
21529 (__sttrlimit): Rename into __setrlimit.
21531 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
21532 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
21533 never defined in that case.
21535 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21537 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
21539 * sysdeps/arm/libm-test-ulps: Update.
21541 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
21542 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
21544 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21546 * NEWS: Add cosf and sincosf to list of optimized functions.
21548 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21551 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
21552 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
21553 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
21554 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
21556 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
21559 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
21561 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
21562 making a copy of it.
21564 2018-01-01 Joseph Myers <joseph@codesourcery.com>
21566 * manual/texinfo.tex: Update to version 2017-12-26.21 with
21567 trailing whitespace removed.
21568 * scripts/config.guess: Update to version 2018-01-01.
21569 * scripts/config.sub: Update to version 2018-01-01.
21570 * scripts/move-if-change: Update from gnulib.
21572 * NEWS: Update copyright dates.
21573 * catgets/gencat.c (print_version): Likewise.
21574 * csu/version.c (banner): Likewise.
21575 * debug/catchsegv.sh: Likewise.
21576 * debug/pcprofiledump.c (print_version): Likewise.
21577 * debug/xtrace.sh (do_version): Likewise.
21578 * elf/ldconfig.c (print_version): Likewise.
21579 * elf/ldd.bash.in: Likewise.
21580 * elf/pldd.c (print_version): Likewise.
21581 * elf/sotruss.sh: Likewise.
21582 * elf/sprof.c (print_version): Likewise.
21583 * iconv/iconv_prog.c (print_version): Likewise.
21584 * iconv/iconvconfig.c (print_version): Likewise.
21585 * locale/programs/locale.c (print_version): Likewise.
21586 * locale/programs/localedef.c (print_version): Likewise.
21587 * login/programs/pt_chown.c (print_version): Likewise.
21588 * malloc/memusage.sh (do_version): Likewise.
21589 * malloc/memusagestat.c (print_version): Likewise.
21590 * malloc/mtrace.pl: Likewise.
21591 * manual/libc.texinfo: Likewise.
21592 * nptl/version.c (banner): Likewise.
21593 * nscd/nscd.c (print_version): Likewise.
21594 * nss/getent.c (print_version): Likewise.
21595 * nss/makedb.c (print_version): Likewise.
21596 * posix/getconf.c (main): Likewise.
21597 * scripts/test-installation.pl: Likewise.
21598 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21600 * All files with FSF copyright notices: Update copyright dates
21601 using scripts/update-copyrights.
21602 * locale/programs/charmap-kw.h: Regenerated.
21603 * locale/programs/locfile-kw.h: Likewise.
21605 2017-12-31 Zack Weinberg <zackw@panix.com>
21607 * libio/bits/libio-ldbl.h: Correct check for improper
21608 inclusion. Add own multiple include guard.
21610 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
21611 Dmitry V. Levin <ldv@altlinux.org>
21615 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
21616 string token expansion. Check for NULL pointer or empty string possibly
21617 returned by expand_dynamic_string_token.
21618 (decompose_rpath): Check for empty path after dynamic string
21621 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
21624 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
21626 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
21627 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
21628 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
21629 and PTRACE_SYSCALL.
21630 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
21631 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21632 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21633 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21634 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21635 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21637 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
21638 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21639 __ptrace_peeksiginfo_flags, ptrace): Move to ...
21640 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
21641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21642 bits/ptrace-shared.h.
21643 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
21644 <bits/ptrace-shared.h>.
21645 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21646 __ptrace_peeksiginfo_flags, ptrace): Remove.
21647 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21648 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21649 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21650 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21651 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21653 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21656 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
21657 end of the loop. Improve comments.
21659 2017-12-29 Zack Weinberg <zackw@panix.com>
21662 * manual/errno.texi (Checking for Errors): Explicitly say that errno
21663 might be set on success.
21665 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21668 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
21669 is unchanged on success.
21671 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
21673 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
21675 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
21676 expand_dynamic_string_token): Likewise.
21677 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
21680 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
21683 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
21684 is set and name contains ':', and all code depending on these checks.
21686 2017-12-24 Zack Weinberg <zackw@panix.com>
21688 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
21689 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
21691 * libio/libio.h: Rename the original version of this file to
21692 libio/bits/libio.h. Error out if not included by stdio.h or the
21694 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
21695 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
21696 if not included by bits/libio.h or the stub _G_config.h.
21697 * sysdeps/unix/sysv/linux/_G_config.h: Move to
21698 sysdeps/unix/sysv/linux/bits. Error out if not included by
21699 bits/libio.h or the stub _G_config.h.
21700 * libio/stdio.h: Include bits/libio.h, not libio.h.
21701 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
21702 well as libio.h and _G_config.h.
21704 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
21705 * libio/strfile.h, stdio-common/vfscanf.c
21706 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
21707 Include stdio.h, not _G_config.h nor libio.h.
21708 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
21709 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
21711 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
21713 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
21716 * stdlib/getrandom.c (getrandom): Fix comment.
21717 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
21719 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
21722 * manual/arith.texi (strtoul): Fix a typo.
21725 * manual/arith.texi (finite): Fix the description of the return
21728 2017-12-22 Eric Blake <ebb9@byu.net>
21730 Avoid gcc warnings on cygwin
21731 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
21732 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
21733 Avoid unused variable.
21735 2017-12-22 Florian Weimer <fweimer@redhat.com>
21737 * io/Makefile (routines): Add copy_file_range.
21738 (tests): Add tst-copy_file_range.
21739 (tests-static, tests-internal): Add tst-copy_file_range-compat.
21740 * io/Versions (GLIBC_2.27): Export copy_file_range.
21741 * io/copy_file_range-compat.c: New file.
21742 * io/copy_file_range.c: Likewise.
21743 * io/tst-copy_file_range-compat.c: Likewise.
21744 * io/tst-copy_file_range.c: Likewise.
21745 * manual/llio.texi (Copying File Data): New section.
21746 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
21747 * support/Makefile (libsupport-routines): Add support-xfstat,
21748 xftruncate, xlseek.
21749 * support/support-xfstat.c: New file.
21750 * support/xftruncate.c: Likewise.
21751 * support/xlseek.c: Likewise.
21752 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
21753 * sysdeps/unix/sysv/linux/**.abilist: Update.
21754 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
21756 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
21758 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21759 disable-multi-arch variant to aarch64-linux-gnu.
21761 2017-12-20 Joseph Myers <joseph@codesourcery.com>
21763 * manual/texinfo.tex: Update to version 2017-12-18.20 with
21764 trailing whitespace removed.
21765 * scripts/config.guess: Update to version 2017-12-17.
21766 * scripts/config.sub: Update to version 2017-11-23.
21767 * scripts/install-sh: Update to version 2017-09-23.17.
21768 * scripts/move-if-change: Update to version 2017-09-13 06:45.
21770 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21772 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
21773 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21774 * sysdeps/tile/_mcount.S (__mcount): Likewise.
21775 * sysdeps/tile/crti.S (_init, _fini): Likewise.
21776 * sysdeps/tile/crtn.S: Likewise.
21777 * sysdeps/tile/dl-start.S (_start): Likewise.
21778 * sysdeps/tile/dl-trampoline.S: Likewise.
21779 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
21780 * sysdeps/tile/start.S (_start): Likewise.
21781 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
21782 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
21783 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
21784 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
21785 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
21786 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
21787 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
21789 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
21791 * sysdeps/tile/preconfigure: Remove tilegx folder.
21792 * sysdeps/tile/tilegx/Implies: Move definitions to ...
21793 * sysdeps/tile/Implies: ... here.
21794 * sysdeps/tile/tilegx/Makefile: Move rules to ...
21795 * sysdeps/tile/Makefile: ... here.
21796 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
21797 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
21798 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
21799 * sysdeps/tile/bits/wordsize.h: ... here.
21800 * sysdeps/tile/tilegx/*: Move to ...
21801 * sysdeps/tile/*: ... here.
21802 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
21803 * sysdeps/tile/tilegx32/Implies: ... here.
21804 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
21805 * sysdeps/tile/tilegx64/Implies: ... here.
21806 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
21808 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
21809 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
21810 * sysdeps/unix/sysv/linux/tile/*: ... here.
21811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
21812 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
21813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
21814 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
21816 * README: Remove tilepro-*-linux-gnu from supported architecture.
21817 * scripts/build-many-glibcs.py: Likewise.
21818 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21819 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
21820 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
21821 elf_machine_matches_host, elf_machine_dynamic,
21822 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
21823 howto, elf_machine_rela): Likewise.
21824 * sysdeps/tile/dl-start.S (_start): Likewise.
21825 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
21826 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
21827 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
21828 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
21829 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
21830 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21832 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
21833 * sysdeps/tile/preconfigure: Likewise.
21834 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
21835 POINTER_CHK_GUARD): Likewise.
21836 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
21837 * sysdeps/tile/start.S (_start): Likewise.
21838 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
21840 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
21841 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
21843 * sysdeps/unix/sysv/linux/tile/bits/environments.h
21844 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
21845 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
21847 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
21848 * sysdeps/tile/tilepro/Implies: Remove file.
21849 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
21850 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
21851 * sysdeps/tile/tilepro/memchr.c: Likewise.
21852 * sysdeps/tile/tilepro/memcpy.S: Likewise.
21853 * sysdeps/tile/tilepro/memset.c: Likewise.
21854 * sysdeps/tile/tilepro/memusage.h: Likewise.
21855 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
21856 * sysdeps/tile/tilepro/strchr.c: Likewise.
21857 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
21858 * sysdeps/tile/tilepro/strlen.c: Likewise.
21859 * sysdeps/tile/tilepro/strrchr.c: Likewise.
21860 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
21861 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
21862 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21863 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
21864 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
21865 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21867 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
21868 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21869 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
21870 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
21871 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21872 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
21873 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
21874 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
21875 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
21876 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
21877 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
21878 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
21879 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
21880 tilepro mention in comment.
21882 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
21883 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
21884 * nptl/pthread_join_common.c: New file: common function used on
21885 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
21886 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
21887 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
21888 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21889 (cleanup): Move definition to pthread_join_common.c.
21890 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
21891 Remove superflous checks.
21892 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
21895 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
21897 * sysdeps/aarch64/libm-test-ulps: Update.
21899 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21901 * sysdeps/aarch64/memset.S (MEMSET): Define.
21903 2017-12-20 Florian Weimer <fweimer@redhat.com>
21906 nptl: Provide full implementation of pthread_self in libc.so.
21907 * nptl/Makefile (routines): Add pthread_self.
21908 (libpthread-routines): Replace pthread_self with
21909 compat-pthread_self.
21910 * nptl/forward.c (pthread_self): Remove.
21911 * nptl/nptl-init.c (pthread_functions): Do not initialize
21913 * nptl/pthread_self.c (pthread_self): Remove weak alias.
21914 * nptl/compat-pthread_self.c: New file.
21915 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
21916 Remove ptr_pthread_self.
21918 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
21920 * posix/regcomp.c: Fix spelling in comments.
21921 * posix/regex.h: Likewise.
21922 * posix/regex_internal.c: Likewise.
21923 * posix/regexec.c: Likewise.
21925 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
21928 * math/Makefile [C++] (tests): Add test for iseqsig.
21929 * math/math.h [C++] (iseqsig): New implementation, which does
21930 not rely on __MATH_TG/__builtin_types_compatible_p.
21931 * math/test-math-iseqsig.cc: New file.
21932 * sysdeps/powerpc/powerpc64le/Makefile
21933 (CFLAGS-test-math-iseqsig.cc): New variable.
21935 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
21937 * elf/dl-load.c (is_trusted_path): Remove.
21938 (fillin_rpath): Remove check_trusted argument and its use,
21939 all callers changed.
21941 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21944 * Makeconfig (link-pie-before-libc): Replace -pie with
21945 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
21946 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
21947 (tst-dlopen-aout-no-pie): New.
21948 (LDFLAGS-tst-prelink): Removed.
21949 (tst-prelink-no-pie): New.
21950 (LDFLAGS-tst-main1): Removed.
21951 (tst-main1-no-pie): New.
21952 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
21953 (tst-gmon-no-pie): New.
21955 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21957 * manual/install.texi: Document that --enable-static-pie
21959 * INSTALL: Regenerated.
21961 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
21964 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
21967 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21971 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21975 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21977 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21978 <errno.h>. Include "eexp.tbl".
21979 (half): New constant.
21981 (__ieee754_exp): Rewrite.
21982 (__slowexp): Remove prototype.
21983 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21984 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21985 * sysdeps/i386/fpu/slowexp.c: Likewise.
21986 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21987 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21988 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21989 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21990 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21991 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21992 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21994 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21995 (CPPFLAGS-slowexp.c): Remove variable.
21996 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21997 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21998 (CFLAGS-slowexp-fma.c): Remove variable.
21999 (CFLAGS-slowexp-fma4.c): Likewise.
22000 (CFLAGS-slowexp-avx.c): Likewise.
22001 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
22003 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
22004 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
22005 * math/Makefile (type-double-routines): Remove slowexp.
22006 * manual/probes.texi (slowexp_p6): Remove.
22007 (slowexp_p32): Likewise.
22009 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22011 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
22014 * lib/glob.c (glob): Do not pass NULL to mempcpy.
22016 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22020 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22022 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
22023 <errno.h>. Include "eexp.tbl".
22024 (half): New constant.
22026 (__ieee754_exp): Rewrite.
22027 (__slowexp): Remove prototype.
22028 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
22029 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
22030 * sysdeps/i386/fpu/slowexp.c: Likewise.
22031 * sysdeps/ia64/fpu/slowexp.c: Likewise.
22032 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
22033 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
22034 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
22035 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22036 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
22037 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
22039 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
22040 (CPPFLAGS-slowexp.c): Remove variable.
22041 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22042 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
22043 (CFLAGS-slowexp-fma.c): Remove variable.
22044 (CFLAGS-slowexp-fma4.c): Likewise.
22045 (CFLAGS-slowexp-avx.c): Likewise.
22046 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
22048 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
22049 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
22050 * math/Makefile (type-double-routines): Remove slowexp.
22051 * manual/probes.texi (slowexp_p6): Remove.
22052 (slowexp_p32): Likewise.
22054 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22055 James Clarke <jrtc27@jrtc27.com>
22058 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
22061 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22064 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
22067 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22070 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22071 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22072 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22073 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22076 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22079 * bits/types/__cancel_jmp_buf_tag.h: New file.
22080 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22081 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22082 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22083 * nptl/Makefile (headers): Add
22084 bits/types/__cancel_jmp_buf_tag.h.
22085 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22086 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22087 * sysdeps/nptl/pthread.h: Include
22088 <bits/types/__cancel_jmp_buf_tag.h>.
22089 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22091 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22093 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22095 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22096 --enable-static-pie variants to x86_64, x32 and i686.
22098 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22101 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
22102 argument for attrubutes. All callers changed.
22103 (__inline_mathop1): Likewise. All callers changed.
22104 (__inline_mathop): Likewise. All callers changed.
22105 [__USE_MISC] (scalbn): Use __inline_forward instead of
22106 __inline_forward_c.
22107 [__USE_ISOC99] (scalbln): Likewise.
22108 [__USE_ISOC99] (nearbyint): Likewise.
22109 [__USE_ISOC99] (lrint): Likewise.
22110 [__USE_MISC] (scalbnf): Likewise.
22111 [__USE_ISOC99] (scalblnf): Likewise.
22112 [__USE_ISOC99] (nearbyintf): Likewise.
22113 [__USE_ISOC99] (lrintf): Likewise.
22114 [__USE_MISC] (scalbnl): Likewise.
22115 [__USE_ISOC99] (scalblnl): Likewise.
22116 [__USE_ISOC99] (nearbyintl): Likewise.
22117 [__USE_ISOC99] (lrintl): Likewise.
22118 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
22119 __inline_mathop and __m81_defun changed.
22121 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
22122 CPU or FPU for ARM hard-float configurations.
22124 2017-12-18 Joseph Myers <joseph@codesourcery.com>
22126 * nptl/tst-attr3.c: Include <libc-diag.h>.
22127 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
22129 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
22131 * string/tester.c (test_strncat): Also disable -Warray-bounds
22132 warnings for two tests.
22134 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22137 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
22138 $(cc-pie-default) == yes.
22139 * config.make.in (cc-pie-default): New.
22140 * configure.ac (libc_cv_pie_default): Renamed to ...
22141 (libc_cv_cc_pie_default): This.
22142 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
22143 * configure: Regenerated.
22145 2017-12-18 Florian Weimer <fweimer@redhat.com>
22148 ld.so: Harden dl-libc/libdl hooks.
22149 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
22150 (rtld_active): New function.
22151 * dlfcn/dladdr.c (__dladdr): Call it.
22152 * dlfcn/dladdr1.c (__dladdr1): Likewise.
22153 * dlfcn/dlclose.c (__dlcose): Likewise.
22154 * dlfcn/dlerror.c (__dlerror): Likewise.
22155 * dlfcn/dlinfo.c (__dlinfo): Likewise.
22156 * dlfcn/dlmopen.c (__dlmopen): Likewise.
22157 * dlfcn/dlopen.c (__dlopen): Likewise.
22158 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22159 * dlfcn/dlsym.c (__dlsym): Likewise.
22160 * dlfcn/dlvsym.c (__dlvsym): Likewise.
22161 * libio/vtables.c (_IO_vtable_check): Likewise.
22162 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
22163 (__libc_dlclose): Likewise.
22164 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
22167 2017-12-18 Joseph Myers <joseph@codesourcery.com>
22170 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
22171 buffers for readlink input and output.
22173 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
22176 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
22177 inhibit_stack_protector.
22180 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
22181 inhibit_stack_protector.
22183 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
22186 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
22187 code and invocation.
22189 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
22191 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
22193 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
22196 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
22198 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22200 * sysdeps/s390/fpu/libm-test-ulps: Update.
22202 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22206 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22208 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
22209 constants to s_sincosf.h file.
22210 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22211 * sysdeps/ieee754/flt-32/s_sincosf.c: New
22213 * sysdeps/ieee754/flt-32/s_sincosf.h:
22216 2017-12-12 Carlos O'Donell <carlos@redhat.com>
22219 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
22222 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
22225 * INSTALL: Regenerated.
22226 * Makeconfig (real-static-start-installed-name): New.
22227 (pic-default): Updated for --enable-static-pie.
22228 (pie-default): New for --enable-static-pie.
22229 (default-pie-ldflag): Likewise.
22230 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
22231 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
22232 Replace $(static-start-installed-name) with
22233 $(real-static-start-installed-name).
22234 (+prectorT): Updated for --enable-static-pie.
22235 (+postctorT): Likewise.
22236 (CFLAGS-.o): Add $(pie-default).
22237 (CFLAGS-.op): Likewise.
22238 * NEWS: Mention --enable-static-pie.
22239 * config.h.in (ENABLE_STATIC_PIE): New.
22240 * configure.ac (--enable-static-pie): New configure option.
22241 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
22242 (have-static-pie): Likewise.
22243 Enable static PIE if linker supports --no-dynamic-linker.
22244 (ENABLE_STATIC_PIE): New AC_DEFINE.
22245 (enable-static-pie): New LIBC_CONFIG_VAR.
22246 * configure: Regenerated.
22247 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
22248 gr$(start-installed-name) for --enable-static-pie.
22249 (extra-objs): Likewise.
22250 (install-lib): Likewise.
22251 (extra-objs): Add static-reloc.o and static-reloc.os
22252 ($(objpfx)$(start-installed-name)): Also depend on
22253 $(objpfx)static-reloc.o.
22254 ($(objpfx)r$(start-installed-name)): New.
22255 ($(objpfx)g$(start-installed-name)): Also depend on
22256 $(objpfx)static-reloc.os.
22257 ($(objpfx)gr$(start-installed-name)): New.
22258 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
22260 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
22262 * csu/static-reloc.c: New file.
22263 * elf/Makefile (routines): Add dl-reloc-static-pie.
22264 (elide-routines.os): Likewise.
22265 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
22266 (tst-tls1-static-non-pie-no-pie): New.
22267 * elf/dl-reloc-static-pie.c: New file.
22268 * elf/dl-support.c (_dl_get_dl_main_map): New function.
22269 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
22270 STATIC_PIE_BOOTSTRAP.
22271 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22272 * gmon/Makefile (tests): Add tst-gmon-static-pie.
22273 (tests-static): Likewise.
22274 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
22275 (tst-gmon-static-no-pie): New.
22276 (CFLAGS-tst-gmon-static-pie.c): Likewise.
22277 (CRT-tst-gmon-static-pie): Likewise.
22278 (tst-gmon-static-pie-ENV): Likewise.
22279 (tests-special): Likewise.
22280 ($(objpfx)tst-gmon-static-pie.out): Likewise.
22281 (clean-tst-gmon-static-pie-data): Likewise.
22282 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
22283 * gmon/tst-gmon-static-pie.c: New file.
22284 * manual/install.texi: Document --enable-static-pie.
22285 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
22286 (_dl_get_dl_main_map): Likewise.
22287 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
22288 * sysdeps/x86_64/configure.ac: Likewise.
22289 * sysdeps/i386/configure: Regenerated.
22290 * sysdeps/x86_64/configure: Likewise.
22291 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
22292 (ASFLAGS-.op): Likewise.
22294 2017-12-15 Joseph Myers <joseph@codesourcery.com>
22296 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
22297 * posix/tst-mmap-offset.c (fname): Use /tmp.
22298 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
22300 2017-12-15 Steve Ellcey <sellcey@cavium.com>
22302 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
22304 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
22306 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
22309 2017-12-15 Joseph Myers <joseph@codesourcery.com>
22311 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
22312 --with-float=hard for arm-linux-gnueabihf configurations.
22315 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
22316 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
22317 ($(mo-installed)): Use $(objpfx)%.mo.
22318 (realclean): Remove rule.
22320 * po/Makefile (linguas): Remove rule and dependencies.
22321 (linguas.mo): Likewise.
22322 (.PHONY): Do not depend on linguas and linguas.mo.
22323 (podir): Remove variable.
22324 (pofiles): Likewise.
22325 [$(pofiles)] (%.po): Remove rule.
22327 * sysdeps/sparc/sparc32/Makefile
22328 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
22329 start-of-line whitespace in argument of echo.
22330 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
22331 with whitespace. Generate __wrap_.udiv alias.
22332 * sysdeps/sparc/sparc32/rem.S: Regenerated.
22333 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22334 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22335 * sysdeps/sparc/sparc32/urem.S: Likewise.
22337 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22339 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
22340 for aligned inputs.
22342 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
22344 * benchtests/bench-strcmp.c: Print output in JSON format.
22346 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
22348 2017-12-14 Florian Weimer <fweimer@redhat.com>
22352 * elf/dl-load.c (_dl_init_paths): Compute number of components in
22353 the expanded path string.
22355 2017-12-14 Florian Weimer <fweimer@redhat.com>
22359 * elf/dl-load.c (system_dirs): Update comment.
22360 (nsystem_dirs_len): Use array_length.
22361 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
22363 2017-12-14 Florian Weimer <fweimer@redhat.com>
22365 Simplify compiling most of support/ outside of glibc.
22366 * support/check_addrinfo.c: Include <string.h>.
22367 * support/check_dns_packet.c: Likewise.
22368 * support/check_hostent.c: Likewise.
22369 * support/support_can_chroot.c: Include <support/xunistd.h>.
22370 * support/support_format_addrinfo.c: Include <stdlib.h>
22371 * support/support_format_dns_packet.c: Include <stdbool.h>.
22372 * support/support_format_hostent.c: Include <stdlib.h>.
22373 * support/support_format_netent.c: Likewise.
22374 * support/support_write_string.c: Include <support/xunistd.h>.
22375 * support/xdlfcn.c: Include <stddef.h>.
22377 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
22379 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
22381 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22382 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22384 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22385 (sysdeps_routines): Add memset-niagara7.
22386 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
22388 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
22390 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
22391 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22392 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
22393 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
22394 Add niagara7 option.
22395 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
22398 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22399 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
22400 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
22402 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
22404 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
22405 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
22406 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22407 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
22408 and __memmove_niagara7.
22409 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
22410 Add niagara7 option.
22411 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
22412 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
22413 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
22414 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
22415 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
22417 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
22419 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
22420 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
22421 * sysdeps/sparc/sparc64/memmove.S: Likewise.
22422 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
22424 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
22425 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
22426 _dl_sparc_cap_flags array.
22427 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
22429 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
22431 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
22432 time whenever possible.
22434 2017-12-12 Carlos O'Donell <carlos@redhat.com>
22436 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
22437 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
22439 2017-12-12 Joseph Myers <joseph@codesourcery.com>
22441 * soft-fp/fmadf4.c: Move to ....
22442 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
22443 * soft-fp/fmasf4.c: Move to ....
22444 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
22445 * soft-fp/fmatf4.c: Move to ....
22446 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
22447 * sysdeps/ieee754/soft-fp/Makefile: New file.
22448 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
22449 * sysdeps/arm/preconfigure: Regenerated.
22450 * sysdeps/arm/nofpu/Implies: New file.
22451 * sysdeps/arm/s_fma.c: Remove file.
22452 * sysdeps/arm/s_fmaf.c: Likewise.
22453 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
22454 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
22455 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
22456 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
22457 * sysdeps/microblaze/s_fma.c: Remove file.
22458 * sysdeps/microblaze/s_fmaf.c: Likewise.
22459 * sysdeps/mips/mips32/nofpu/Implies: New file.
22460 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
22461 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
22462 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
22463 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
22464 * sysdeps/mips/ieee754/s_fma.c: Remove file.
22465 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
22466 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
22468 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
22469 * sysdeps/nios2/s_fma.c: Remove file.
22470 * sysdeps/nios2/s_fmaf.c: Likewise.
22471 * sysdeps/sh/nofpu/Implies: New file.
22472 * sysdeps/sh/s_fma.c: Remove file.
22473 * sysdeps/sh/s_fmaf.c: Likewise.
22474 * sysdeps/tile/Implies: Add ieee754/soft-fp.
22475 * sysdeps/tile/s_fma.c: Remove file.
22476 * sysdeps/tile/s_fmaf.c: Likewise.
22478 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
22480 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22481 Add s_cosf-sse2 and s_cosf-fma.
22482 (CFLAGS-s_cosf-fma.c): New.
22483 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
22484 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
22485 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
22487 2017-12-12 Steve Ellcey <sellcey@cavium.com>
22489 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
22491 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22493 * libio/Makefile (tests): Add tst-bz22415.
22494 (tst-bz22415-ENV): New rule.
22495 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
22496 (tests-special): Add tst-bz22415-mem.out.
22497 ($(objpfx)tst-bz22415-mem.out): New rule.
22498 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
22499 in case of a successful seek operation.
22500 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22501 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
22502 buffer is required.
22503 * libio/tst-bz22415.c: New test.
22505 * sysdeps/ia64/fpu/libm-test-ulps: Update.
22507 2017-12-12 James Clarke <jrtc27@jrtc27.com>
22509 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
22510 __IPC_64 to 0 to avoid IPC_64 being set.
22512 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22515 * math/bits/mathcalls.h (nextafter): Remove const.
22516 (nexttoward): Likewise.
22518 2017-12-12 Joseph Myers <joseph@codesourcery.com>
22520 * configure.ac (--with-fp): Remove configure option.
22521 (with_fp_cond): New variable.
22522 (libc_cv_with_fp): New configure test. Use this variable instead
22524 * configure: Regenerated.
22525 * config.make.in (with-fp): Use @libc_cv_with_fp@.
22526 * manual/install.texi (Configuring and compiling): Remove
22528 * INSTALL: Regenerated.
22529 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
22530 * sysdeps/mips/preconfigure (with_fp_cond): Define.
22531 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
22532 * sysdeps/sh/preconfigure (with_fp_cond): Define.
22533 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
22534 use --without-fp to configure glibc.
22536 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
22538 * manual/locale.texi (nl_langinfo): Fix a typo.
22540 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
22543 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
22545 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22547 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
22548 (CFLAGS-argp-parse.c): Likewise.
22549 (CFLAGS-argp-fmtstream.c): Likewise.
22550 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
22551 (CPPFLAGS-sha512-crypt.c): Likewise.
22552 (CPPFLAGS-md5-crypt.c): Likewise.
22553 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
22554 (CFLAGS-stack_chk_fail_local.c): Likewise.
22555 (CFLAGS-backtrace.c): Likewise.
22556 (CFLAGS-sprintf_chk.c): Likewise.
22557 (CFLAGS-snprintf_chk.c): Likewise.
22558 (CFLAGS-vsprintf_chk.c): Likewise.
22559 (CFLAGS-vsnprintf_chk.c): Likewise.
22560 (CFLAGS-asprintf_chk.c): Likewise.
22561 (CFLAGS-vasprintf_chk.c): Likewise.
22562 (CFLAGS-obprintf_chk.c): Likewise.
22563 (CFLAGS-dprintf_chk.c): Likewise.
22564 (CFLAGS-vdprintf_chk.c): Likewise.
22565 (CFLAGS-printf_chk.c): Likewise.
22566 (CFLAGS-fprintf_chk.c): Likewise.
22567 (CFLAGS-vprintf_chk.c): Likewise.
22568 (CFLAGS-vfprintf_chk.c): Likewise.
22569 (CFLAGS-gets_chk.c): Likewise.
22570 (CFLAGS-fgets_chk.c): Likewise.
22571 (CFLAGS-fgets_u_chk.c): Likewise.
22572 (CFLAGS-fread_chk.c): Likewise.
22573 (CFLAGS-fread_u_chk.c): Likewise.
22574 (CFLAGS-swprintf_chk.c): Likewise.
22575 (CFLAGS-vswprintf_chk.c): Likewise.
22576 (CFLAGS-wprintf_chk.c): Likewise.
22577 (CFLAGS-fwprintf_chk.c): Likewise.
22578 (CFLAGS-vwprintf_chk.c): Likewise.
22579 (CFLAGS-vfwprintf_chk.c): Likewise.
22580 (CFLAGS-fgetws_chk.c): Likewise.
22581 (CFLAGS-fgetws_u_chk.c): Likewise.
22582 (CFLAGS-read_chk.c): Likewise.
22583 (CFLAGS-pread_chk.c): Likewise.
22584 (CFLAGS-pread64_chk.c): Likewise.
22585 (CFLAGS-recv_chk.c): Likewise.
22586 (CFLAGS-recvfrom_chk.c): Likewise.
22587 (CFLAGS-tst-longjmp_chk.c): Likewise.
22588 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
22589 (CFLAGS-tst-longjmp_chk2.c): Likewise.
22590 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
22591 (CFLAGS-tst-longjmp_chk3.c): Likewise.
22592 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22593 (CFLAGS-tst-chk1.c): Likewise.
22594 (CFLAGS-tst-chk2.c): Likewise.
22595 (CFLAGS-tst-chk3.c): Likewise.
22596 (CFLAGS-tst-chk4.cc): Likewise.
22597 (CFLAGS-tst-chk5.cc): Likewise.
22598 (CFLAGS-tst-chk6.cc): Likewise.
22599 (CFLAGS-tst-lfschk1.c): Likewise.
22600 (CFLAGS-tst-lfschk2.c): Likewise.
22601 (CFLAGS-tst-lfschk3.c): Likewise.
22602 (CFLAGS-tst-lfschk4.cc): Likewise.
22603 (CFLAGS-tst-lfschk5.cc): Likewise.
22604 (CFLAGS-tst-lfschk6.cc): Likewise.
22605 (CFLAGS-tst-ssp-1.c): Likewise.
22606 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
22607 (CFLAGS-scandir64.c): Likewise.
22608 (CFLAGS-scandir-tail.c): Likewise.
22609 (CFLAGS-scandir64-tail.c): Likewise.
22610 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
22611 (CFLAGS-dl-tunables.c): Likewise.
22612 (CFLAGS-dl-runtime.c): Likewise.
22613 (CFLAGS-dl-lookup.c): Likewise.
22614 (CFLAGS-dl-iterate-phdr.c): Likewise.
22615 (CFLAGS-vismain.c): Likewise.
22616 (CFLAGS-tst-linkall-static.c): Likewise.
22617 (CFLAGS-tst-linkall-static.c): Likewise.
22618 (CPPFLAGS-dl-load.c): Likewise.
22619 (CFLAGS-ldconfig.c): Likewise.
22620 (CFLAGS-dl-cache.c): Likewise.
22621 (CFLAGS-cache.c): Likewise.
22622 (CFLAGS-rtld.c): Likewise.
22623 (CFLAGS-multiload.c): Likewise.
22624 (CFLAGS-filtmod1.c): Likewise.
22625 (CFLAGS-tst-align.c): Likewise.
22626 (CFLAGS-tst-align2.c): Likewise.
22627 (CFLAGS-tst-alignmod.c): Likewise.
22628 (CFLAGS-tst-alignmod2.c): Likewise.
22629 (CPPFLAGS-tst-execstack.c): Likewise.
22630 (CFLAGS-tst-ptrguard1-static.c): Likewise.
22631 (CFLAGS-tst-latepthreadmod.c): Likewise.
22632 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
22633 (CFLAGS-getgrnam_r.c): Likewise.
22634 (CFLAGS-getgrent_r.c): Likewise.
22635 (CFLAGS-getgrent.c): Likewise.
22636 (CFLAGS-fgetgrent.c): Likewise.
22637 (CFLAGS-fgetgrent_r.c): Likewise.
22638 (CFLAGS-putgrent.c): Likewise.
22639 (CFLAGS-initgroups.c): Likewise.
22640 (CFLAGS-getgrgid.c): Likewise.
22641 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
22642 (CFLAGS-getsgent.c): Likewise.
22643 (CFLAGS-fgetsgent.c): Likewise.
22644 (CFLAGS-fgetsgent_r.c): Likewise.
22645 (CFLAGS-putsgent.c): Likewise.
22646 (CFLAGS-getsgnam.c): Likewise.
22647 (CFLAGS-getsgnam_r.c): Likewise.
22648 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
22649 (CFLAGS-iconv_charmap.c): Likewise.
22650 (CFLAGS-dummy-repertoire.c): Likewise.
22651 (CFLAGS-charmap.c): Likewise.
22652 (CFLAGS-linereader.c): Likewise.
22653 (CFLAGS-simple-hash.c): Likewise.
22654 (CFLAGS-gconv_conf.c): Likewise.
22655 (CFLAGS-iconvconfig.c): Likewise.
22656 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
22657 (CFLAGS-gethstbyad.c): Likewise.
22658 (CFLAGS-gethstbynm_r.c): Likewise.
22659 (CFLAGS-gethstbynm.c): Likewise.
22660 (CFLAGS-gethstbynm2_r.c): Likewise.
22661 (CFLAGS-gethstbynm2.c): Likewise.
22662 (CFLAGS-gethstent_r.c): Likewise.
22663 (CFLAGS-gethstent.c): Likewise.
22664 (CFLAGS-rcmd.c): Likewise.
22665 (CFLAGS-getnetbynm_r.c): Likewise.
22666 (CFLAGS-getnetbynm.c): Likewise.
22667 (CFLAGS-getnetbyad_r.c): Likewise.
22668 (CFLAGS-getnetbyad.c): Likewise.
22669 (CFLAGS-getnetent_r.c): Likewise.
22670 (CFLAGS-getnetent.c): Likewise.
22671 (CFLAGS-getaliasent_r.c): Likewise.
22672 (CFLAGS-getaliasent.c): Likewise.
22673 (CFLAGS-getrpcent_r.c): Likewise.
22674 (CFLAGS-getrpcent.c): Likewise.
22675 (CFLAGS-getservent_r.c): Likewise.
22676 (CFLAGS-getservent.c): Likewise.
22677 (CFLAGS-getprtent_r.c): Likewise.
22678 (CFLAGS-getprtent.c): Likewise.
22679 (CFLAGS-either_ntoh.c): Likewise.
22680 (CFLAGS-either_hton.c): Likewise.
22681 (CFLAGS-getnetgrent.c): Likewise.
22682 (CFLAGS-getnetgrent_r.c): Likewise.
22683 (CFLAGS-tst-checks-posix.c): Likewise.
22684 (CFLAGS-tst-sockaddr.c): Likewise.
22685 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
22686 (CFLAGS-tst-translit.c): Likewise.
22687 (CFLAGS-tst-gettext2.c): Likewise.
22688 (CFLAGS-tst-codeset.c): Likewise.
22689 (CFLAGS-tst-gettext3.c): Likewise.
22690 (CFLAGS-tst-gettext4.c): Likewise.
22691 (CFLAGS-tst-gettext5.c): Likewise.
22692 (CFLAGS-tst-gettext6.c): Likewise.
22693 * io/Makefile (CFLAGS-open.c): Likewise.
22694 (CFLAGS-open64.c): Likewise.
22695 (CFLAGS-creat.c): Likewise.
22696 (CFLAGS-creat64.c): Likewise.
22697 (CFLAGS-fcntl.c): Likewise.
22698 (CFLAGS-poll.c): Likewise.
22699 (CFLAGS-ppoll.c): Likewise.
22700 (CFLAGS-lockf.c): Likewise.
22701 (CFLAGS-statfs.c): Likewise.
22702 (CFLAGS-fstatfs.c): Likewise.
22703 (CFLAGS-statvfs.c): Likewise.
22704 (CFLAGS-fstatvfs.c): Likewise.
22705 (CFLAGS-fts.c): Likewise.
22706 (CFLAGS-fts64.c): Likewise.
22707 (CFLAGS-ftw.c): Likewise.
22708 (CFLAGS-ftw64.c): Likewise.
22709 (CFLAGS-lockf.c): Likewise.
22710 (CFLAGS-posix_fallocate.c): Likewise.
22711 (CFLAGS-posix_fallocate64.c): Likewise.
22712 (CFLAGS-fallocate.c): Likewise.
22713 (CFLAGS-fallocate64.c): Likewise.
22714 (CFLAGS-read.c): Likewise.
22715 (CFLAGS-write.c): Likewise.
22716 (CFLAGS-test-stat.c): Likewise.
22717 (CFLAGS-test-lfs.c): Likewise.
22718 * libio/Makefile (CFLAGS-fileops.c): Likewise.
22719 (CFLAGS-fputc.c): Likewise.
22720 (CFLAGS-fputwc.c): Likewise.
22721 (CFLAGS-freopen64.c): Likewise.
22722 (CFLAGS-freopen.c): Likewise.
22723 (CFLAGS-fseek.c): Likewise.
22724 (CFLAGS-fseeko64.c): Likewise.
22725 (CFLAGS-fseeko.c): Likewise.
22726 (CFLAGS-ftello64.c): Likewise.
22727 (CFLAGS-ftello.c): Likewise.
22728 (CFLAGS-fwide.c): Likewise.
22729 (CFLAGS-genops.c): Likewise.
22730 (CFLAGS-getc.c): Likewise.
22731 (CFLAGS-getchar.c): Likewise.
22732 (CFLAGS-getwc.c): Likewise.
22733 (CFLAGS-getwchar.c): Likewise.
22734 (CFLAGS-iofclose.c): Likewise.
22735 (CFLAGS-iofflush.c): Likewise.
22736 (CFLAGS-iofgetpos64.c): Likewise.
22737 (CFLAGS-iofgetpos.c): Likewise.
22738 (CFLAGS-iofgets.c): Likewise.
22739 (CFLAGS-iofgetws.c): Likewise.
22740 (CFLAGS-iofputs.c): Likewise.
22741 (CFLAGS-iofputws.c): Likewise.
22742 (CFLAGS-iofread.c): Likewise.
22743 (CFLAGS-iofsetpos64.c): Likewise.
22744 (CFLAGS-iofsetpos.c): Likewise.
22745 (CFLAGS-ioftell.c): Likewise.
22746 (CFLAGS-iofwrite.c): Likewise.
22747 (CFLAGS-iogetdelim.c): Likewise.
22748 (CFLAGS-iogetline.c): Likewise.
22749 (CFLAGS-iogets.c): Likewise.
22750 (CFLAGS-iogetwline.c): Likewise.
22751 (CFLAGS-ioputs.c): Likewise.
22752 (CFLAGS-ioseekoff.c): Likewise.
22753 (CFLAGS-ioseekpos.c): Likewise.
22754 (CFLAGS-iosetbuffer.c): Likewise.
22755 (CFLAGS-iosetvbuf.c): Likewise.
22756 (CFLAGS-ioungetc.c): Likewise.
22757 (CFLAGS-ioungetwc.c): Likewise.
22758 (CFLAGS-oldfileops.c): Likewise.
22759 (CFLAGS-oldiofclose.c): Likewise.
22760 (CFLAGS-oldiofgetpos64.c): Likewise.
22761 (CFLAGS-oldiofgetpos.c): Likewise.
22762 (CFLAGS-oldiofsetpos64.c): Likewise.
22763 (CFLAGS-oldiofsetpos.c): Likewise.
22764 (CFLAGS-peekc.c): Likewise.
22765 (CFLAGS-putc.c): Likewise.
22766 (CFLAGS-putchar.c): Likewise.
22767 (CFLAGS-putwc.c): Likewise.
22768 (CFLAGS-putwchar.c): Likewise.
22769 (CFLAGS-rewind.c): Likewise.
22770 (CFLAGS-wfileops.c): Likewise.
22771 (CFLAGS-wgenops.c): Likewise.
22772 (CFLAGS-oldiofopen.c): Likewise.
22773 (CFLAGS-iofopen.c): Likewise.
22774 (CFLAGS-iofopen64.c): Likewise.
22775 (CFLAGS-oldtmpfile.c): Likewise.
22776 (CFLAGS-tst_putwc.c): Likewise.
22777 * locale/Makefile (CFLAGS-md5.c): Likewise.
22778 (CFLAGS-charmap.c): Likewise.
22779 (CFLAGS-locfile.c): Likewise.
22780 (CFLAGS-charmap-dir.c): Likewise.
22781 * login/Makefile (CFLAGS-grantpt.c): Likewise.
22782 (CFLAGS-getpt.c): Likewise.
22783 (CFLAGS-pt_chown.c): Likewise.
22784 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
22785 (CFLAGS-obstack.c): Likewise.
22786 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
22787 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
22788 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
22789 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
22790 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
22791 (CFLAGS-test-tgmath.c): Likewise.
22792 (CFLAGS-test-tgmath2.c): Likewise.
22793 (CFLAGS-test-tgmath-ret.c): Likewise.
22794 (CFLAGS-test-powl.c): Likewise.
22795 (CFLAGS-test-snan.c): Likewise.
22796 (CFLAGS-test-signgam-finite.c): Likewise.
22797 (CFLAGS-test-signgam-finite-c99.c): Likewise.
22798 (CFLAGS-test-signgam-finite-c11.c): Likewise.
22799 (CFLAGS-test-signgam-uchar.c): Likewise.
22800 (CFLAGS-test-signgam-uchar-init.c): Likewise.
22801 (CFLAGS-test-signgam-uchar-static.c): Likewise.
22802 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22803 (CFLAGS-test-signgam-uint.c): Likewise.
22804 (CFLAGS-test-signgam-uint-init.c): Likewise.
22805 (CFLAGS-test-signgam-uint-static.c): Likewise.
22806 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22807 (CFLAGS-test-signgam-ullong.c): Likewise.
22808 (CFLAGS-test-signgam-ullong-init.c): Likewise.
22809 (CFLAGS-test-signgam-ullong-static.c): Likewise.
22810 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22811 (CFLAGS-test-math-cxx11.cc): Likewise.
22812 (CFLAGS-test-math-isinff.cc): Likewise.
22813 (CFLAGS-test-math-iszero.cc): Likewise.
22814 (CFLAGS-test-math-issignaling.cc): Likewise.
22815 (CFLAGS-test-math-iscanonical.cc): Likewise.
22816 (CFLAGS-test-iszero-excess-precision.c): Likewise.
22817 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
22818 (CFLAGS-test-flt-eval-method.c): Likewise.
22819 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
22820 (CFLAGS-test-finite-macros.c): Likewise.
22821 * misc/Makefile (CFLAGS-select.c): Likewise.
22822 (CFLAGS-tsearch.c): Likewise.
22823 (CFLAGS-lsearch.c): Likewise.
22824 (CFLAGS-pselect.c): Likewise.
22825 (CFLAGS-readv.c): Likewise.
22826 (CFLAGS-writev.c): Likewise.
22827 (CFLAGS-preadv.c): Likewise.
22828 (CFLAGS-preadv64.c): Likewise.
22829 (CFLAGS-pwritev.c): Likewise.
22830 (CFLAGS-pwritev64.c): Likewise.
22831 (CFLAGS-preadv2.c): Likewise.
22832 (CFLAGS-preadv64v2.c): Likewise.
22833 (CFLAGS-pwritev2.c): Likewise.
22834 (CFLAGS-pwritev64v2.c): Likewise.
22835 (CFLAGS-usleep.c): Likewise.
22836 (CFLAGS-syslog.c): Likewise.
22837 (CFLAGS-error.c): Likewise.
22838 (CFLAGS-getpass.c): Likewise.
22839 (CFLAGS-mkstemp.c): Likewise.
22840 (CFLAGS-mkstemp64.c): Likewise.
22841 (CFLAGS-getsysstats.c): Likewise.
22842 (CFLAGS-getusershell.c): Likewise.
22843 (CFLAGS-err.c): Likewise.
22844 (CFLAGS-tst-tsearch.c): Likewise.
22845 (CFLAGS-msync.c): Likewise.
22846 (CFLAGS-fdatasync.c): Likewise.
22847 (CFLAGS-fsync.c): Likewise.
22848 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
22849 (CFLAGS-unwind.c): Likewise.
22850 (CFLAGS-unwind-forcedunwind.c): Likewise.
22851 (CFLAGS-pthread_cancel.c): Likewise.
22852 (CFLAGS-pthread_setcancelstate.c): Likewise.
22853 (CFLAGS-pthread_setcanceltype.c): Likewise.
22854 (CFLAGS-cancellation.c): Likewise.
22855 (CFLAGS-libc-cancellation.c): Likewise.
22856 (CFLAGS-pthread_exit.c): Likewise.
22857 (CFLAGS-forward.c): Likewise.
22858 (CFLAGS-pthread_testcancel.c): Likewise.
22859 (CFLAGS-pthread_join.c): Likewise.
22860 (CFLAGS-pthread_timedjoin.c): Likewise.
22861 (CFLAGS-pthread_once.c): Likewise.
22862 (CFLAGS-pthread_cond_wait.c): Likewise.
22863 (CFLAGS-sem_wait.c): Likewise.
22864 (CFLAGS-sem_timedwait.c): Likewise.
22865 (CFLAGS-fcntl.c): Likewise.
22866 (CFLAGS-lockf.c): Likewise.
22867 (CFLAGS-pread.c): Likewise.
22868 (CFLAGS-pread64.c): Likewise.
22869 (CFLAGS-pwrite.c): Likewise.
22870 (CFLAGS-pwrite64.c): Likewise.
22871 (CFLAGS-wait.c): Likewise.
22872 (CFLAGS-waitpid.c): Likewise.
22873 (CFLAGS-sigwait.c): Likewise.
22874 (CFLAGS-msgrcv.c): Likewise.
22875 (CFLAGS-msgsnd.c): Likewise.
22876 (CFLAGS-tcdrain.c): Likewise.
22877 (CFLAGS-open.c): Likewise.
22878 (CFLAGS-open64.c): Likewise.
22879 (CFLAGS-pause.c): Likewise.
22880 (CFLAGS-recv.c): Likewise.
22881 (CFLAGS-send.c): Likewise.
22882 (CFLAGS-accept.c): Likewise.
22883 (CFLAGS-sendto.c): Likewise.
22884 (CFLAGS-connect.c): Likewise.
22885 (CFLAGS-recvfrom.c): Likewise.
22886 (CFLAGS-recvmsg.c): Likewise.
22887 (CFLAGS-sendmsg.c): Likewise.
22888 (CFLAGS-close.c): Likewise.
22889 (CFLAGS-read.c): Likewise.
22890 (CFLAGS-write.c): Likewise.
22891 (CFLAGS-nanosleep.c): Likewise.
22892 (CFLAGS-sigsuspend.c): Likewise.
22893 (CFLAGS-msync.c): Likewise.
22894 (CFLAGS-fdatasync.c): Likewise.
22895 (CFLAGS-fsync.c): Likewise.
22896 (CFLAGS-pt-system.c): Likewise.
22897 (CFLAGS-tst-cleanup2.c): Likewise.
22898 (CFLAGS-tst-cleanupx2.c): Likewise.
22899 (CFLAGS-flockfile.c): Likewise.
22900 (CFLAGS-ftrylockfile.c): Likewise.
22901 (CFLAGS-funlockfile.c): Likewise.
22902 (CFLAGS-tst-initializers1.c): Likewise.
22903 (CFLAGS-tst-initializers1-c89.c): Likewise.
22904 (CFLAGS-tst-initializers1-c99.c): Likewise.
22905 (CFLAGS-tst-initializers1-c11.c): Likewise.
22906 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
22907 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
22908 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22909 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
22910 (CFLAGS-nscd_getgr_r.c): Likewise.
22911 (CFLAGS-nscd_gethst_r.c): Likewise.
22912 (CFLAGS-nscd_getai.c): Likewise.
22913 (CFLAGS-nscd_initgroups.c): Likewise.
22914 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
22915 (CFLAGS-pause.c): Likewise.
22916 (CFLAGS-pread.c): Likewise.
22917 (CFLAGS-pread64.c): Likewise.
22918 (CFLAGS-pwrite.c): Likewise.
22919 (CFLAGS-pwrite64.c): Likewise.
22920 (CFLAGS-sleep.c): Likewise.
22921 (CFLAGS-wait.c): Likewise.
22922 (CFLAGS-waitid.c): Likewise.
22923 (CFLAGS-waitpid.c): Likewise.
22924 (CFLAGS-getopt.c): Likewise.
22925 (CFLAGS-wordexp.c): Likewise.
22926 (CFLAGS-sysconf.c): Likewise.
22927 (CFLAGS-pathconf.c): Likewise.
22928 (CFLAGS-fpathconf.c): Likewise.
22929 (CFLAGS-spawn.c): Likewise.
22930 (CFLAGS-spawnp.c): Likewise.
22931 (CFLAGS-spawni.c): Likewise.
22932 (CFLAGS-glob.c): Likewise.
22933 (CFLAGS-glob64.c): Likewise.
22934 (CFLAGS-getconf.c): Likewise.
22935 (CFLAGS-nanosleep.c): Likewise.
22936 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
22937 (CFLAGS-getpwent.c): Likewise.
22938 (CFLAGS-getpw.c): Likewise.
22939 (CFLAGS-fgetpwent_r.c): Likewise.
22940 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
22941 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
22942 (CFLAGS-mq_timedreceive.c): Likewise.
22943 (CFLAGS-mq_timedsend.c): Likewise.
22944 (CFLAGS-clock_nanosleep.c): Likewise.
22945 (CFLAGS-librt-cancellation.c): Likewise.
22946 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
22947 (CFLAGS-getspent.c): Likewise.
22948 (CFLAGS-fgetspent.c): Likewise.
22949 (CFLAGS-fgetspent_r.c): Likewise.
22950 (CFLAGS-putspent.c): Likewise.
22951 (CFLAGS-getspnam.c): Likewise.
22952 (CFLAGS-getspnam_r.c): Likewise.
22953 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
22954 (CFLAGS-sigsuspend.c): Likewise.
22955 (CFLAGS-sigtimedwait.c): Likewise.
22956 (CFLAGS-sigwait.c): Likewise.
22957 (CFLAGS-sigwaitinfo.c): Likewise.
22958 (CFLAGS-sigreturn.c): Likewise.
22959 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22960 (CFLAGS-vfwprintf.c): Likewise.
22961 (CFLAGS-tmpfile.c): Likewise.
22962 (CFLAGS-tmpfile64.c): Likewise.
22963 (CFLAGS-tempname.c): Likewise.
22964 (CFLAGS-psignal.c): Likewise.
22965 (CFLAGS-vprintf.c): Likewise.
22966 (CFLAGS-cuserid.c): Likewise.
22967 (CFLAGS-errlist.c): Likewise.
22968 (CFLAGS-siglist.c): Likewise.
22969 (CFLAGS-scanf15.c): Likewise.
22970 (CFLAGS-scanf17.c): Likewise.
22971 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
22972 (CFLAGS-msort.c): Likewise.
22973 (CFLAGS-qsort.c): Likewise.
22974 (CFLAGS-system.c): Likewise.
22975 (CFLAGS-fmtmsg.c): Likewise.
22976 (CFLAGS-strfmon.c): Likewise.
22977 (CFLAGS-strfmon_l.c): Likewise.
22978 (CFLAGS-strfromd.c): Likewise.
22979 (CFLAGS-strfromf.c): Likewise.
22980 (CFLAGS-strfroml.c): Likewise.
22981 (CFLAGS-tst-bsearch.c): Likewise.
22982 (CFLAGS-tst-qsort.c): Likewise.
22983 (CFLAGS-tst-makecontext2.c): Likewise.
22984 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
22985 (CFLAGS-xnlm_prot.c): Likewise.
22986 (CFLAGS-xrstat.c): Likewise.
22987 (CFLAGS-xyppasswd.c): Likewise.
22988 (CFLAGS-xklm_prot.c): Likewise.
22989 (CFLAGS-xrex.c): Likewise.
22990 (CFLAGS-xsm_inter.c): Likewise.
22991 (CFLAGS-xmount.c): Likewise.
22992 (CFLAGS-xrusers.c): Likewise.
22993 (CFLAGS-xspray.c): Likewise.
22994 (CFLAGS-xnfs_prot.c): Likewise.
22995 (CFLAGS-xrquota.c): Likewise.
22996 (CFLAGS-xkey_prot.c): Likewise.
22997 (CFLAGS-auth_unix.c): Likewise.
22998 (CFLAGS-key_call.c): Likewise.
22999 (CFLAGS-pmap_rmt.c): Likewise.
23000 (CFLAGS-clnt_perr.c): Likewise.
23001 (CFLAGS-openchild.c): Likewise.
23002 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
23003 (CFLAGS-msgsnd.c): Likewise.
23004 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
23005 * time/Makefile (CFLAGS-tzfile.c): Likewise.
23006 (CFLAGS-tzset.c): Likewise.
23007 (CFLAGS-getdate.c): Likewise.
23008 (CFLAGS-test_time.c): Likewise.
23009 (CPPFLAGS-tst-tzname.c): Likewise.
23010 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
23011 (CFLAGS-zic.c): Likewise.
23012 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
23013 (CFLAGS-wcswidth.c): Likewise.
23014 (CFLAGS-wcstol.c): Likewise.
23015 (CFLAGS-wcstoul.c): Likewise.
23016 (CFLAGS-wcstoll.c): Likewise.
23017 (CFLAGS-wcstoull.c): Likewise.
23018 (CFLAGS-wcstod.c): Likewise.
23019 (CFLAGS-wcstold.c): Likewise.
23020 (CFLAGS-wcstof128.c): Likewise.
23021 (CFLAGS-wcstof.c): Likewise.
23022 (CFLAGS-wcstol_l.c): Likewise.
23023 (CFLAGS-wcstoul_l.c): Likewise.
23024 (CFLAGS-wcstoll_l.c): Likewise.
23025 (CFLAGS-wcstoull_l.c): Likewise.
23026 (CFLAGS-wcstod_l.c): Likewise.
23027 (CFLAGS-wcstold_l.c): Likewise.
23028 (CFLAGS-wcstof128_l.c): Likewise.
23029 (CFLAGS-wcstof_l.c): Likewise.
23030 (CPPFLAGS-tst-wchar-h.c): Likewise.
23031 (CPPFLAGS-wcstold_l.c): Likewise.
23033 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
23035 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
23037 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23038 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23040 * manual/tunables.texi (Hardware Capability Tunables): Document
23041 glibc.tune.cached_memopt.
23042 * sysdeps/powerpc/cpu-features.c: New file.
23043 * sysdeps/powerpc/cpu-features.h: New file.
23044 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
23045 _dl_powerpc_cpu_features.
23046 * sysdeps/powerpc/dl-tunables.list: New file.
23047 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
23048 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23049 (INIT_ARCH): Initialize use_aligned_memopt.
23050 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
23051 IS_IN(rtld))]: Restrict dl_platform_init availability and
23052 initialize CPU features used by tunables.
23053 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
23054 Add memcpy-power8-cached.
23055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
23056 __memcpy_power8_cached.
23057 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23058 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
23061 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
23063 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
23064 (CFLAGS-noinl-tester.c): Likewise.
23065 (CFLAGS-tst-strlen.c): Likewise.
23066 (CFLAGS-stratcliff.c): Likewise.
23067 (CFLAGS-test-ffs.c): Likewise.
23068 (CFLAGS-tst-inlcall.c): Likewise.
23069 (CFLAGS-tst-xbzero-opt.c): Likewise.
23070 (CFLAGS-memcpy.c): Likewise.
23071 (CFLAGS-wordcopy.c): Likewise.
23073 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23075 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
23076 Store r15 on stack and add cfi rule.
23077 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23080 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
23083 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
23086 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23088 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23089 Add s_sinf-sse2 and s_sinf-fma.
23090 (CFLAGS-s_sinf-fma.c): New.
23091 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
23092 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
23093 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
23095 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23097 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
23099 2017-12-07 Joseph Myers <joseph@codesourcery.com>
23102 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
23103 part of result to imaginary part of argument if it is zero and the
23104 real part of the argument is not finite.
23105 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
23106 of result to real part of argument if it is zero and the imaginary
23107 part of the argument is not finite.
23109 2017-12-07 Mike FABIAN <mfabian@redhat.com>
23112 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
23113 and to the list of locales to be built for testing.
23114 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
23115 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
23116 and build the collation rules upon that.
23118 2017-12-07 Joseph Myers <joseph@codesourcery.com>
23120 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
23121 * manual/math.texi (Mathematics): Document support for _Float32.
23122 * math/Makefile (test-types): Add float32.
23123 * math/Versions (GLIBC_2.27): Add _Float32 functions.
23124 * stdlib/Versions (GLIBC_2.27): Likewise.
23125 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23126 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23127 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23128 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23129 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23130 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23131 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23132 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23133 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23134 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23135 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23136 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23137 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23138 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23139 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23140 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23141 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23142 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23143 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23144 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23145 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23146 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23148 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23149 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23150 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23151 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23152 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23170 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23171 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23172 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23173 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23174 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23175 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23176 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23177 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23178 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23179 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23188 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23189 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23190 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23191 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23192 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23193 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23194 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23195 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23197 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23199 * stdlib/strtof.c: Include <bits/floatn.h>
23200 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
23201 and later undefine as macro. Define as weak alias if
23203 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
23204 and later undefine as macro. Define as weak alias if
23206 * stdlib/strtof_l.c: Include <bits/floatn.h>
23207 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
23208 and later undefine as macro. Define as weak alias if
23210 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
23211 and later undefine as macro. Define as weak alias if
23214 * stdlib/strfromf.c: Include <bits/floatn.h>.
23215 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
23216 and later undefine as macro and define as weak alias.
23218 * math/test-float32.h: New file.
23220 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
23221 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
23222 (libm_alias_float_other_r): Create f32 alias.
23223 (libm_alias_float_r): Use semicolon before call to
23224 libm_alias_float_other_r.
23226 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
23227 second argument to libm_alias_float_other.
23228 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
23229 second argument to libm_alias_float_other.
23230 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
23231 argument to libm_alias_float_other.
23234 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
23235 real part of result for argument 0 + i * NaN.
23236 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
23237 results for tests of 0 + i * NaN.
23239 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23241 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23243 2017-12-06 David S. Miller <davem@davemloft.net>
23245 * sysdeps/sparc/fpu/libm-test-ulps: Update
23246 exp_{downward,towardzero,upward} ulps.
23248 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23250 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
23253 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
23255 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
23257 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
23259 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
23262 2017-12-06 Mike FABIAN <mfabian@redhat.com>
23265 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
23266 and to the list of locales to be built for testing.
23267 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
23268 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
23269 and build the collation rules upon that.
23271 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23273 * NEWS: Add sinf to list of optimized functions.
23275 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23277 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
23278 (__HAVE_FLOAT32X): Likewise.
23279 * manual/math.texi (Mathematics): Document support for _Float64
23281 * math/Makefile (test-types): Add float64 and float32x.
23282 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
23284 * stdlib/Versions (GLIBC_2.27): Likewise.
23285 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23286 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23287 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23288 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23289 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23290 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23291 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23292 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23293 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23294 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23295 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23296 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23297 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23298 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23299 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23300 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23301 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23302 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23303 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23304 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23305 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23306 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23308 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23309 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23310 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23311 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23312 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23329 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23330 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23331 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23332 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23333 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23334 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23335 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23336 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23337 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23338 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23347 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23348 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23349 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23350 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23351 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23352 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23353 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23354 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23356 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23358 * bits/floatn-common.h: Include <bits/long-double.h>.
23359 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23360 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
23361 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23362 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
23363 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23364 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
23365 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23366 (__builtin_huge_valf64): Use __builtin_huge_vall.
23367 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23368 (__builtin_inff64): Use __builtin_infl.
23369 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23370 (__builtin_nanf64): Use __builtin_nanl.
23371 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23372 (__builtin_nansf64): Use __builtin_nansl.
23374 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
23375 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23376 Carlos O'Donnell <carlos@redhat.com>
23378 * elf/dl-tunables.list: Add elision parameters.
23379 * manual/tunables.texi: Add entries about elision tunable.
23380 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
23381 Add callback functions to dynamically enable/disable elision.
23382 Add multiple callbacks functions to set elision parameters.
23383 Deleted __libc_enable_secure check.
23384 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
23385 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
23386 * configure: Regenerated.
23387 * configure.ac: Option enable_lock_elision was deleted.
23388 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
23389 * config.make.in: Remove references to enable_lock_elision.
23390 * manual/install.texi: Elision configure option was removed.
23391 * INSTALL: Regenerated to remove enable_lock_elision.
23393 Disable elision so it can verify error case for destroying a mutex.
23394 * sysdeps/powerpc/nptl/elide.h:
23395 Cleanup ENABLE_LOCK_ELISION check.
23396 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
23397 * sysdeps/s390/configure: Regenerated.
23398 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
23399 * nptl/tst-mutex8.c:
23400 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
23401 * sysdeps/powerpc/powerpc32/sysdep.h:
23402 Deleted all ENABLE_LOCK_ELISION checks.
23403 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23404 * sysdeps/powerpc/sysdep.h: Likewise.
23405 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
23406 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
23407 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23408 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23409 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23410 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
23411 enable-lock-elision.
23413 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23415 * stdlib/strtod.c: Include <bits/floatn.h>.
23416 (BUILD_DOUBLE): New macro.
23417 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23418 (strtof64): Define and later undefine as macro. Define as weak
23419 alias if [!USE_WIDE_CHAR].
23420 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23421 (wcstof64): Define and later undefine as macro. Define as weak
23422 alias if [USE_WIDE_CHAR].
23423 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23424 (strtof32x): Define and later undefine as macro. Define as weak
23425 alias if [!USE_WIDE_CHAR].
23426 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23427 (wcstof32x): Define and later undefine as macro. Define as weak
23428 alias if [USE_WIDE_CHAR].
23429 * stdlib/strtod_l.c: Include <bits/floatn.h>.
23430 (BUILD_DOUBLE): New macro.
23431 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23432 (strtof64_l): Define and later undefine as macro. Define as weak
23433 alias if [!USE_WIDE_CHAR].
23434 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23435 (wcstof64_l): Define and later undefine as macro. Define as weak
23436 alias if [USE_WIDE_CHAR].
23437 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23438 (strtof32x_l): Define and later undefine as macro. Define as weak
23439 alias if [!USE_WIDE_CHAR].
23440 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23441 (wcstof32x_l): Define and later undefine as macro. Define as weak
23442 alias if [USE_WIDE_CHAR].
23444 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23446 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
23447 (reduced): Use ones as double instead of integer.
23449 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
23451 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
23453 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23455 * stdlib/strfromd.c: Include <bits/floatn.h>.
23456 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
23457 and later undefine as macro and define as weak alias.
23458 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
23461 * math/test-float32x.h: New file.
23462 * math/test-float64.h: Likewise.
23464 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
23465 (libm_alias_double_other_r_f64): New macro.
23466 (libm_alias_double_other_r_f32x): Likewise.
23467 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23468 libm_alias_double_other_r_f32x.
23469 (libm_alias_double_r): Use semicolon before call to
23470 libm_alias_double_other_r.
23471 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
23473 (libm_alias_double_other_r_f64): New macro.
23474 (libm_alias_double_other_r_f32x): Likewise.
23475 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23476 libm_alias_double_other_r_f32x.
23478 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
23480 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
23482 (SINF_FUNC): Likewise. Replace floor with simple casts.
23484 2017-12-05 Mike FABIAN <mfabian@redhat.com>
23487 * localedata/Makefile: Add et_EE.UTF-8 to test-input
23488 and to the list of locales to be built for testing.
23489 * localedata/et_EE.UTF-8.in: New file for testing the collation.
23490 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
23491 and build the collation rules upon that.
23493 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
23495 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
23496 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
23497 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
23498 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
23499 instead of __insn__xxx.
23500 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
23501 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
23502 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
23503 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
23504 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
23505 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
23507 2017-12-05 Florian Weimer <fweimer@redhat.com>
23509 Linux: Implement interfaces for memory protection keys
23510 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
23512 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
23513 * support/xunistd.h (xsysconf): Declare.
23514 * support/xraise.c: New file.
23515 * support/xsigaction.c: Likewise.
23516 * support/xsignal.c: Likewise.
23517 * support/xsysconf.c: Likewise.
23518 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
23519 pkey_set, pkey_get, pkey_mprotect.
23520 [misc] (tests): Add tst-pkey.
23521 (tst-pkey): Link with -lpthread.
23522 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
23523 pkey_free, pkey_set, pkey_get, pkey_mprotect.
23524 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
23525 (PKEY_DISABLE_WRITE): Define.
23526 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
23528 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
23529 (SEGV_PKUERR): Add.
23530 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
23531 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
23532 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
23533 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
23535 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
23536 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
23537 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
23538 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
23539 * sysdeps/unix/sysv/linux/**.abilist: Update.
23541 2017-12-05 Florian Weimer <fweimer@redhat.com>
23543 * support/tst-test_compare.c (subprocess): Use long long instead
23544 of long argument for consistent type width across 32-bit and
23545 64-bit architectures.
23546 (do_test): Adjust expected output.
23548 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23550 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
23551 (cosf): Define using libm_alias_float.
23552 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
23553 (fabsf): Define using libm_alias_float.
23554 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
23555 (fmaf): Define using libm_alias_float.
23556 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
23557 (rintf): Define using libm_alias_float.
23558 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
23559 (sinf): Define using libm_alias_float.
23560 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
23561 <libm-alias-float.h>.
23562 (modff): Define using libm_alias_float.
23563 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
23564 <libm-alias-float.h>.
23565 (logbf): Define using libm_alias_float.
23566 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
23567 <libm-alias-float.h>.
23568 (ceilf): Define using libm_alias_float.
23569 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23570 <libm-alias-float.h>.
23571 (copysignf): Define using libm_alias_float.
23572 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
23573 <libm-alias-float.h>.
23574 (floorf): Define using libm_alias_float.
23575 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23576 <libm-alias-float.h>.
23577 (llrintf): Define using libm_alias_float.
23578 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23579 <libm-alias-float.h>.
23580 (llroundf): Define using libm_alias_float.
23581 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23582 <libm-alias-float.h>.
23583 (lrintf): Define using libm_alias_float.
23584 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23585 <libm-alias-float.h>.
23586 (lroundf): Define using libm_alias_float.
23587 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
23588 <libm-alias-float.h>.
23589 (nearbyintf): Define using libm_alias_float.
23590 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
23591 <libm-alias-float.h>.
23592 (rintf): Define using libm_alias_float.
23593 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
23594 <libm-alias-float.h>.
23595 (roundf): Define using libm_alias_float.
23596 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
23597 <libm-alias-float.h>.
23598 (truncf): Define using libm_alias_float.
23599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
23600 Include <libm-alias-float.h>.
23601 (ceilf): Define using libm_alias_float.
23602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
23603 Include <libm-alias-float.h>.
23604 (copysignf): Define using libm_alias_float.
23605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
23606 Include <libm-alias-float.h>.
23607 (floorf): Define using libm_alias_float.
23608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
23609 Include <libm-alias-float.h>.
23610 (llrintf): Define using libm_alias_float.
23611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
23612 Include <libm-alias-float.h>.
23613 (llroundf): Define using libm_alias_float.
23614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
23615 Include <libm-alias-float.h>.
23616 (logbf): Define using libm_alias_float.
23617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
23618 Include <libm-alias-float.h>.
23619 (lrintf): Define using libm_alias_float.
23620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
23621 Include <libm-alias-float.h>.
23622 (lroundf): Define using libm_alias_float.
23623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
23624 Include <libm-alias-float.h>.
23625 (modff): Define using libm_alias_float.
23626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
23627 Include <libm-alias-float.h>.
23628 (roundf): Define using libm_alias_float.
23629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
23630 Include <libm-alias-float.h>.
23631 (truncf): Define using libm_alias_float.
23632 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
23633 <libm-alias-float.h>.
23634 (llrintf): Define using libm_alias_float.
23635 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23636 <libm-alias-float.h>.
23637 (llroundf): Define using libm_alias_float.
23638 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
23639 <libm-alias-float.h>.
23640 (ceilf): Define using libm_alias_float.
23641 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
23642 <libm-alias-float.h>.
23643 (floorf): Define using libm_alias_float.
23644 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23645 <libm-alias-float.h>.
23646 (llroundf): Define using libm_alias_float.
23647 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23648 <libm-alias-float.h>.
23649 (lroundf): Define using libm_alias_float.
23650 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
23651 <libm-alias-float.h>.
23652 (roundf): Define using libm_alias_float.
23653 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
23654 <libm-alias-float.h>.
23655 (truncf): Define using libm_alias_float.
23656 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23657 <libm-alias-float.h>.
23658 (copysignf): Define using libm_alias_float.
23659 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
23660 <libm-alias-float.h>.
23661 (llrintf): Define using libm_alias_float.
23662 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23663 <libm-alias-float.h>.
23664 (llroundf): Define using libm_alias_float.
23665 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23666 <libm-alias-float.h>.
23667 (lrintf): Define using libm_alias_float.
23668 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23669 <libm-alias-float.h>.
23670 (lroundf): Define using libm_alias_float.
23671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
23672 <libm-alias-float.h>.
23673 (ceilf): Define using libm_alias_float.
23674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
23675 <libm-alias-float.h>.
23676 (copysignf): Define using libm_alias_float.
23677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
23678 <libm-alias-float.h>.
23679 (cosf): Define using libm_alias_float.
23680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
23681 <libm-alias-float.h>.
23682 (floorf): Define using libm_alias_float.
23683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
23684 <libm-alias-float.h>.
23685 (llrintf): Define using libm_alias_float.
23686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
23687 <libm-alias-float.h>.
23688 (llroundf): Define using libm_alias_float.
23689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
23690 <libm-alias-float.h>.
23691 (logbf): Define using libm_alias_float.
23692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
23693 <libm-alias-float.h>.
23694 (modff): Define using libm_alias_float.
23695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
23696 <libm-alias-float.h>.
23697 (roundf): Define using libm_alias_float.
23698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
23699 <libm-alias-float.h>.
23700 (sinf): Define using libm_alias_float.
23701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
23702 <libm-alias-float.h>.
23703 (truncf): Define using libm_alias_float.
23704 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
23705 <libm-alias-float.h>.
23706 (ceilf): Define using libm_alias_float.
23707 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23708 <libm-alias-float.h>.
23709 (copysignf): Define using libm_alias_float.
23710 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
23711 <libm-alias-float.h>.
23712 (floorf): Define using libm_alias_float.
23713 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23714 <libm-alias-float.h>.
23715 (llrintf): Define using libm_alias_float.
23716 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
23717 <libm-alias-float.h>.
23718 (llroundf): Define using libm_alias_float.
23719 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
23720 <libm-alias-float.h>.
23721 (nearbyintf): Define using libm_alias_float.
23722 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
23723 <libm-alias-float.h>.
23724 (rintf): Define using libm_alias_float.
23725 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
23726 <libm-alias-float.h>.
23727 (roundf): Define using libm_alias_float.
23728 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
23729 <libm-alias-float.h>.
23730 (truncf): Define using libm_alias_float.
23731 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
23732 <libm-alias-float.h>.
23733 (ceilf): Define using libm_alias_float.
23734 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
23735 <libm-alias-float.h>.
23736 (floorf): Define using libm_alias_float.
23737 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23738 <libm-alias-float.h>.
23739 (llroundf): Define using libm_alias_float.
23740 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
23741 <libm-alias-float.h>.
23742 (roundf): Define using libm_alias_float.
23743 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
23744 <libm-alias-float.h>.
23745 (truncf): Define using libm_alias_float.
23746 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23747 <libm-alias-float.h>.
23748 (copysignf): Define using libm_alias_float.
23749 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23750 <libm-alias-float.h>.
23751 (llrintf): Define using libm_alias_float.
23752 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23753 <libm-alias-float.h>.
23754 (llroundf): Define using libm_alias_float.
23755 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
23756 <libm-alias-float.h>.
23757 (cosf): Define using libm_alias_float.
23758 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23759 <libm-alias-float.h>.
23760 (llrintf): Define using libm_alias_float.
23761 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23762 <libm-alias-float.h>.
23763 (llroundf): Define using libm_alias_float.
23764 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
23765 <libm-alias-float.h>.
23766 (sinf): Define using libm_alias_float.
23768 2017-12-04 Florian Weimer <fweimer@redhat.com>
23770 * support/check.h (TEST_COMPARE): Define.
23771 (support_test_compare_failure): Declare.
23772 * support/Makefile (libsupport-routines): Add
23773 support_test_compare_failure.
23774 (tests): Add tst-test_compare.
23775 * support /support_test_compare_failure.c: New file.
23776 * support/tst-test_compare.c: Likewise.
23778 2017-12-04 Mike FABIAN <mfabian@redhat.com>
23781 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
23782 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
23783 available, this rewrite of the collation rules does reproduce
23784 the test file in the same order.
23786 2017-12-04 Mike FABIAN <mfabian@redhat.com>
23789 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
23790 digraphs in the month and day names. Using single code points for
23791 digraphs is deprecated. While there are dedicated Unicode
23792 codepoints, for the digraphs, these are included for backwards
23793 compatibility and modern texts use a sequence of Basic Latin
23794 characters. See: https://www.unicode.org/faq/ligature_digraph.html
23795 This makes the month and day names agree exactly with CLDR now,
23796 CLDR does not use the single code points for the digraphs either.
23798 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
23800 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
23802 2017-12-04 Joseph Myers <joseph@codesourcery.com>
23804 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
23807 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
23809 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
23810 Define only for libc.so.
23812 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
23814 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23815 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
23816 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
23817 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
23818 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23820 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23823 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
23825 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
23828 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
23829 PREINIT_FUNCTION_WEAK is nonzero.
23830 (gmon_initializer): New function. Put procedure label for it in
23831 .init_array section.
23832 (_init): Don't call PREINIT_FUNCTION.
23833 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
23834 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
23835 value when map argument is null.
23837 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
23838 depi instruction from PIC pc-relative sequence.
23839 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
23840 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
23841 (elf_machine_load_address): Likewise.
23842 (elf_machine_runtime_setup): Likewise.
23844 2017-12-02 Joseph Myers <joseph@codesourcery.com>
23846 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
23847 <libm-alias-double.h>.
23848 (logb): Define using libm_alias_double.
23849 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23850 <libm-alias-double.h>.
23851 (copysign): Define using libm_alias_double.
23852 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
23853 <libm-alias-double.h>.
23854 (llrint): Define using libm_alias_double.
23855 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
23856 <libm-alias-double.h>.
23857 (llround): Define using libm_alias_double.
23858 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23859 <libm-alias-double.h>.
23860 (lrint): Define using libm_alias_double.
23861 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23862 <libm-alias-double.h>.
23863 (lround): Define using libm_alias_double.
23864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23865 Include <libm-alias-double.h>.
23866 (copysign): Define using libm_alias_double.
23867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
23868 Include <libm-alias-double.h>.
23869 (llrint): Define using libm_alias_double.
23870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
23871 Include <libm-alias-double.h>.
23872 (llround): Define using libm_alias_double.
23873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
23874 <libm-alias-double.h>.
23875 (logb): Define using libm_alias_double.
23876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
23877 Include <libm-alias-double.h>.
23878 (lrint): Define using libm_alias_double.
23879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
23880 Include <libm-alias-double.h>.
23881 (lround): Define using libm_alias_double.
23882 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
23883 <libm-alias-double.h>.
23884 (llrint): Define using libm_alias_double.
23885 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23886 <libm-alias-double.h>.
23887 (llround): Define using libm_alias_double.
23888 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23889 <libm-alias-double.h>.
23890 (llround): Define using libm_alias_double.
23891 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23892 <libm-alias-double.h>.
23893 (lround): Define using libm_alias_double.
23894 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23895 <libm-alias-double.h>.
23896 (copysign): Define using libm_alias_double.
23897 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
23898 <libm-alias-double.h>.
23899 (llrint): Define using libm_alias_double.
23900 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23901 <libm-alias-double.h>.
23902 (llround): Define using libm_alias_double.
23903 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23904 <libm-alias-double.h>.
23905 (lrint): Define using libm_alias_double.
23906 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23907 <libm-alias-double.h>.
23908 (lround): Define using libm_alias_double.
23909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
23910 <libm-alias-double.h>.
23911 (copysign): Define using libm_alias_double.
23912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
23913 <libm-alias-double.h>.
23914 (llrint): Define using libm_alias_double.
23916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
23917 <libm-alias-double.h>.
23918 (llround): Define using libm_alias_double.
23919 (lround): Likewise.
23920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
23921 <libm-alias-double.h>.
23922 (logb): Define using libm_alias_double.
23923 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23924 <libm-alias-double.h>.
23925 (copysign): Define using libm_alias_double.
23926 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23927 <libm-alias-double.h>.
23928 (llrint): Define using libm_alias_double.
23930 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
23931 <libm-alias-double.h>.
23932 (llround): Define using libm_alias_double.
23933 (lround): Likewise.
23934 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23935 <libm-alias-double.h>.
23936 (llround): Define using libm_alias_double.
23937 (lround): Likewise.
23938 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23939 <libm-alias-double.h>.
23940 (copysign): Define using libm_alias_double.
23941 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23942 <libm-alias-double.h>.
23943 (llrint): Define using libm_alias_double.
23945 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23946 <libm-alias-double.h>.
23947 (llround): Define using libm_alias_double.
23948 (lround): Likewise.
23949 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23950 <libm-alias-double.h>.
23951 (llrint): Define using libm_alias_double.
23953 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23954 <libm-alias-double.h>.
23955 (llround): Define using libm_alias_double.
23956 (lround): Likewise.
23958 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23961 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
23962 compat symbol based on llround.
23964 * sysdeps/powerpc/power7/fpu/s_logb.c
23965 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
23966 symbol based on __logb, not on logb.
23967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
23968 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
23970 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23972 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
23973 (rint): Define using libm_alias_double.
23974 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
23975 <libm-alias-double.h>.
23976 (modf): Define using libm_alias_double.
23977 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
23978 <libm-alias-double.h>.
23979 (ceil): Define using libm_alias_double.
23980 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
23981 <libm-alias-double.h>.
23982 (floor): Define using libm_alias_double.
23983 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
23984 <libm-alias-double.h>.
23985 (nearbyint): Define using libm_alias_double.
23986 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
23987 <libm-alias-double.h>.
23988 (rint): Define using libm_alias_double.
23989 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
23990 <libm-alias-double.h>.
23991 (round): Define using libm_alias_double.
23992 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
23993 <libm-alias-double.h>.
23994 (trunc): Define using libm_alias_double.
23995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
23996 <libm-alias-double.h>.
23997 (ceil): Define using libm_alias_double.
23998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
23999 Include <libm-alias-double.h>.
24000 (floor): Define using libm_alias_double.
24001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
24002 <libm-alias-double.h>.
24003 (modf): Define using libm_alias_double.
24004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
24005 Include <libm-alias-double.h>.
24006 (round): Define using libm_alias_double.
24007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
24008 Include <libm-alias-double.h>.
24009 (trunc): Define using libm_alias_double.
24010 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
24011 <libm-alias-double.h>.
24012 (ceil): Define using libm_alias_double.
24013 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
24014 <libm-alias-double.h>.
24015 (floor): Define using libm_alias_double.
24016 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
24017 <libm-alias-double.h>.
24018 (round): Define using libm_alias_double.
24019 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
24020 <libm-alias-double.h>.
24021 (trunc): Define using libm_alias_double.
24022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
24023 <libm-alias-double.h>.
24024 (ceil): Define using libm_alias_double.
24025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
24026 <libm-alias-double.h>.
24027 (floor): Define using libm_alias_double.
24028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
24029 <libm-alias-double.h>.
24030 (modf): Define using libm_alias_double.
24031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
24032 <libm-alias-double.h>.
24033 (round): Define using libm_alias_double.
24034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
24035 <libm-alias-double.h>.
24036 (trunc): Define using libm_alias_double.
24037 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
24038 <libm-alias-double.h>.
24039 (ceil): Define using libm_alias_double.
24040 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
24041 <libm-alias-double.h>.
24042 (floor): Define using libm_alias_double.
24043 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
24044 <libm-alias-double.h>.
24045 (nearbyint): Define using libm_alias_double.
24046 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
24047 <libm-alias-double.h>.
24048 (rint): Define using libm_alias_double.
24049 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
24050 <libm-alias-double.h>.
24051 (round): Define using libm_alias_double.
24052 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
24053 <libm-alias-double.h>.
24054 (trunc): Define using libm_alias_double.
24055 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
24056 <libm-alias-double.h>.
24057 (ceil): Define using libm_alias_double.
24058 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
24059 <libm-alias-double.h>.
24060 (floor): Define using libm_alias_double.
24061 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
24062 <libm-alias-double.h>.
24063 (round): Define using libm_alias_double.
24064 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
24065 <libm-alias-double.h>.
24066 (trunc): Define using libm_alias_double.
24068 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
24069 (fabs): Define using libm_alias_double.
24070 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
24071 (fma): Define using libm_alias_double.
24072 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
24073 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
24074 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
24075 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
24077 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24079 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
24081 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
24082 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
24083 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
24086 due redirect macro.
24088 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
24090 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
24092 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24094 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
24095 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
24096 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
24097 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
24099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24100 (libm-sysdep_routines): Add s_nearbyintf-generic and
24101 s_nearbyint-generic.
24102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
24104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
24105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
24107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
24109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
24111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24115 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
24116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
24118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
24119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
24121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
24122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
24123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24126 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
24127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
24129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
24130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
24132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
24133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
24134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
24136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24137 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
24138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
24140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
24141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
24143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
24144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
24145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24148 (sysdep_calls): New rule.
24149 (sysdep_routines): Use sysdep_calls as base.
24150 (libm-sysdep_routines): Add generic rule for symbols shared with
24151 libc. Add s_copysign-generic and s_copysign-generic objects.
24152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
24154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
24155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
24157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
24158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
24159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
24161 2017-12-01 Mike FABIAN <mfabian@redhat.com>
24164 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
24165 the list of locales to be built for testing.
24166 * localedata/is_IS.UTF-8.in: New file.
24167 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
24170 2017-12-01 Joseph Myers <joseph@codesourcery.com>
24172 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
24173 <libm-alias-float.h>.
24174 (fabsf): Define using libm_alias_float.
24176 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24178 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
24180 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24182 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
24183 <libm-alias-float.h>.
24184 (fabsf): Define using libm_alias_float.
24185 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
24186 <libm-alias-float.h>.
24187 (lrintf): Define using libm_alias_float.
24188 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
24189 <libm-alias-float.h>.
24190 (rintf): Define using libm_alias_float.
24192 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
24193 <libm-alias-double.h>.
24194 (fabs): Define using libm_alias_double.
24195 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
24196 <libm-alias-double.h>.
24197 (lrint): Define using libm_alias_double.
24198 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
24199 <libm-alias-double.h>.
24200 (rint): Define using libm_alias_double.
24202 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
24203 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
24204 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
24205 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
24206 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
24207 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
24208 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
24209 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
24210 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
24211 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
24212 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
24213 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
24214 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
24215 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
24216 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
24217 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
24218 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
24219 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
24221 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
24222 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
24223 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
24225 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
24226 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
24227 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
24229 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
24230 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
24231 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
24232 s_expm1_template.c.
24233 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
24234 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
24235 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
24237 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
24238 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
24239 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
24240 s_floor_template.c.
24241 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
24242 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
24243 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
24244 s_frexp_template.c.
24245 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
24246 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
24247 s_lrint_template.c.
24248 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
24249 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
24250 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
24252 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
24253 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
24254 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
24255 s_nearbyint_template.c.
24256 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
24257 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
24258 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
24259 s_remquo_template.c.
24260 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
24261 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
24262 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
24264 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
24265 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
24266 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
24268 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
24269 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
24270 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
24271 s_sincos_template.c.
24272 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
24273 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
24274 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
24276 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
24277 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
24278 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
24280 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
24281 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
24282 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
24283 s_trunc_template.c.
24284 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
24285 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
24286 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
24287 s_atan.c instead of including s_atan.c.
24288 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
24289 s_atanf.c instead of including s_atanf.c.
24290 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
24291 s_atanl.c instead of including s_atanl.c.
24292 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
24293 instead of s_atan.c.
24294 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
24295 instead of s_atanf.c.
24296 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
24297 instead of s_atanl.c.
24299 * scripts/update-copyrights: Do not handle intl/plural.c
24302 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
24305 * configure.ac (BISON): Require to be present.
24306 * configure: Regenerated.
24307 * intl/Makefile (generated): Add plural.c.
24308 [$(BISON) != no]: Make code unconditional.
24309 (plural.c): Change rule to $(objpfx)plural.c.
24310 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
24311 * intl/plural.c: Remove.
24312 * manual/install.texi (Tools for Compilation): Document bison as
24314 * INSTALL: Regenerated.
24316 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24318 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
24319 <libm-alias-double.h>.
24320 (llrint): Define using libm_alias_double.
24321 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
24322 <libm-alias-float.h>.
24323 (llrintf): Define using libm_alias_float.
24324 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
24325 <libm-alias-ldouble.h>.
24326 (llrintl): Define using libm_alias_ldouble.
24328 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
24329 declare_mgen_alias instead of weak_alias.
24330 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
24331 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
24332 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
24334 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24336 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24338 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
24339 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
24340 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
24342 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24343 Add submul_1-generic.
24344 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
24345 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
24346 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
24348 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24349 Add addmul_1-generic.
24350 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
24351 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
24352 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
24354 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24356 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
24357 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
24358 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
24360 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24362 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
24363 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
24364 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
24366 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24368 According to CLDR, collation rules for Serbian and Bosnian
24369 should be the same as for Croatian.
24372 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
24373 and to the list of locales to be built for testing.
24374 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24375 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24376 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
24377 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
24379 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24381 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
24382 to make test case pass.
24383 * localedata/hr_HR.UTF-8.in: Add more test strings.
24385 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24387 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
24389 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
24391 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
24392 the list of locales to built for testing.
24393 * localedata/hr_HR.UTF-8.in: New file.
24395 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
24398 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
24400 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
24401 CLDR (except use ligatures for the digraphs, CLDR does not use
24402 the ligatures), add first_workday, some fixes in the date and time
24404 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
24406 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
24407 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
24408 Add int_p_cs_precedes and int_n_cs_precedes.
24409 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
24410 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
24412 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
24413 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
24415 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
24416 and lang_lib. Change postal_fmt.
24418 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24420 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
24422 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24423 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
24424 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24425 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
24426 * sysdeps/generic/setjmpP.h: New file.
24427 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
24428 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
24429 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
24430 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
24431 Add jmp_buf-ssp.sym.
24432 (tests): Add tst-saved_mask-1.
24434 2017-11-30 Arjun Shankar <arjun@redhat.com>
24438 * malloc/malloc.c (__libc_malloc): Use checked_request2size
24439 instead of request2size.
24441 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
24444 (__lllrint): Remove alias.
24445 (lllrint): Likewise.
24446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
24447 (__lllrintf): Likewise.
24448 (lllrintf): Likewise.
24450 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
24451 <libm-alias-float.h>.
24452 (copysignf): Define using libm_alias_float.
24453 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
24454 <libm-alias-float.h>.
24455 (fabsf): Define using libm_alias_float.
24456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24457 Include <libm-alias-float.h>.
24458 (copysignf): Define using libm_alias_float.
24459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
24460 <libm-alias-float.h>.
24461 (fabsf): Define using libm_alias_float.
24462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
24463 <libm-alias-float.h>.
24464 (fdimf): Define using libm_alias_float.
24465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
24466 <libm-alias-float.h>.
24467 (fmaf): Define using libm_alias_float.
24468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
24469 <libm-alias-float.h>.
24470 (llrintf): Define using libm_alias_float.
24471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24472 Include <libm-alias-float.h>.
24473 (nearbyintf): Define using libm_alias_float.
24474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
24475 <libm-alias-float.h>.
24476 (rintf): Define using libm_alias_float.
24477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
24478 <libm-alias-float.h>.
24479 (llrintf): Define using libm_alias_float.
24480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
24481 <libm-alias-float.h>.
24482 (lrintf): Define using libm_alias_float.
24483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
24484 <libm-alias-float.h>.
24485 (nearbyintf): Define using libm_alias_float.
24486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
24487 <libm-alias-float.h>.
24488 (rintf): Define using libm_alias_float.
24489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
24490 <libm-alias-float.h>.
24491 (ceilf): Define using libm_alias_float.
24492 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
24493 <libm-alias-float.h>.
24494 (floorf): Define using libm_alias_float.
24495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
24496 <libm-alias-float.h>.
24497 (fmaf): Define using libm_alias_float.
24498 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
24499 <libm-alias-float.h>.
24500 (lrintf): Define using libm_alias_float.
24501 (llrintf): Likewise.
24502 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
24503 <libm-alias-float.h>.
24504 (nearbyintf): Define using libm_alias_float.
24505 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
24506 <libm-alias-float.h>.
24507 (rintf): Define using libm_alias_float.
24508 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
24509 <libm-alias-float.h>.
24510 (truncf): Define using libm_alias_float.
24511 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
24512 <libm-alias-float.h>.
24513 (copysignf): Define using libm_alias_float.
24514 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
24515 <libm-alias-float.h>.
24516 (fabsf): Define using libm_alias_float.
24517 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
24518 <libm-alias-float.h>.
24519 (lrintf): Define using libm_alias_float.
24520 (llrintf): Likewise.
24521 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
24522 <libm-alias-float.h>.
24523 (nearbyintf): Define using libm_alias_float.
24524 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
24525 <libm-alias-float.h>.
24526 (rintf): Define using libm_alias_float.
24528 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24530 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24531 <libm-alias-double.h>.
24532 (copysign): Define using libm_alias_double.
24533 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
24534 <libm-alias-double.h>.
24535 (fabs): Define using libm_alias_double.
24536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24537 Include <libm-alias-double.h>.
24538 (copysign): Define using libm_alias_double.
24539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24540 <libm-alias-double.h>.
24541 (fabs): Define using libm_alias_double.
24542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
24543 <libm-alias-double.h>.
24544 (fdim): Define using libm_alias_double.
24545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
24546 <libm-alias-double.h>.
24547 (fma): Define using libm_alias_double.
24548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
24549 <libm-alias-double.h>.
24550 (llrint): Define using libm_alias_double.
24551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
24552 Include <libm-alias-double.h>.
24553 (nearbyint): Define using libm_alias_double.
24554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
24555 <libm-alias-double.h>.
24556 (rint): Define using libm_alias_double.
24557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24558 <libm-alias-double.h>.
24559 (fabs): Define using libm_alias_double.
24560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
24561 <libm-alias-double.h>.
24562 (llrint): Define using libm_alias_double.
24563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
24564 <libm-alias-double.h>.
24565 (nearbyint): Define using libm_alias_double.
24566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
24567 <libm-alias-double.h>.
24568 (rint): Define using libm_alias_double.
24569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
24570 <libm-alias-double.h>.
24571 (ceil): Define using libm_alias_double.
24572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
24573 <libm-alias-double.h>.
24574 (floor): Define using libm_alias_double.
24575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
24576 <libm-alias-double.h>.
24577 (fma): Define using libm_alias_double.
24578 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
24579 <libm-alias-double.h>.
24580 (lrint): Define using libm_alias_double.
24581 (llrint): Likewise.
24582 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
24583 <libm-alias-double.h>.
24584 (nearbyint): Define using libm_alias_double.
24585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
24586 <libm-alias-double.h>.
24587 (rint): Define using libm_alias_double.
24588 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
24589 <libm-alias-double.h>.
24590 (trunc): Define using libm_alias_double.
24591 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
24592 <libm-alias-double.h>.
24593 (copysign): Define using libm_alias_double.
24594 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
24595 <libm-alias-double.h>.
24596 (fabs): Define using libm_alias_double.
24597 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
24598 <libm-alias-double.h>.
24599 (lrint): Define using libm_alias_double.
24600 (llrint): Likewise.
24601 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
24602 <libm-alias-double.h>.
24603 (nearbyint): Define using libm_alias_double.
24604 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
24605 <libm-alias-double.h>.
24606 (rint): Define using libm_alias_double.
24609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24611 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24613 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24614 SPARC --disable-multi-arch glibc variants.
24616 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
24617 <libm-alias-float.h>.
24618 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24620 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
24621 <libm-alias-float.h>.
24622 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24624 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
24625 <libm-alias-float.h>.
24626 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24628 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
24629 <libm-alias-float.h>.
24630 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24632 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
24633 <libm-alias-float.h>.
24634 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24636 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
24637 <libm-alias-float.h>.
24638 (ceilf): Define using libm_alias_float.
24639 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
24640 <libm-alias-float.h>.
24641 (floorf): Define using libm_alias_float.
24642 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
24643 <libm-alias-float.h>.
24644 (fmaf): Define using libm_alias_float.
24645 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
24646 <libm-alias-float.h>.
24647 (nearbyintf): Define using libm_alias_float.
24648 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
24649 <libm-alias-float.h>.
24650 (rintf): Define using libm_alias_float.
24651 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
24652 <libm-alias-float.h>.
24653 (truncf): Define using libm_alias_float.
24654 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24655 (copysignf): Define using libm_alias_float.
24656 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
24657 (cosf): Define using libm_alias_float.
24658 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24659 (fabsf): Define using libm_alias_float.
24660 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24661 (fmaxf): Define using libm_alias_float.
24662 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
24663 (fminf): Define using libm_alias_float.
24664 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24665 (llrintf): Define using libm_alias_float.
24666 [!__ILP32__] (lrintf): Likewise.
24667 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
24668 (sincosf): Define using libm_alias_float.
24669 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
24670 (sinf): Define using libm_alias_float.
24671 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24672 (lrintf): Define using libm_alias_float.
24674 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
24675 <libm-alias-double.h>.
24676 (atan): Define using libm_alias_double.
24677 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
24678 <libm-alias-double.h>.
24679 (ceil): Define using libm_alias_double.
24680 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
24681 <libm-alias-double.h>.
24682 (floor): Define using libm_alias_double.
24683 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
24684 <libm-alias-double.h>.
24685 (fma): Define using libm_alias_double.
24686 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
24687 <libm-alias-double.h>.
24688 (nearbyint): Define using libm_alias_double.
24689 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
24690 <libm-alias-double.h>.
24691 (rint): Define using libm_alias_double.
24692 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
24693 <libm-alias-double.h>.
24694 (sin): Define using libm_alias_double.
24696 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
24697 <libm-alias-double.h>.
24698 (tan): Define using libm_alias_double.
24699 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
24700 <libm-alias-double.h>.
24701 (trunc): Define using libm_alias_double.
24702 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
24703 (copysign): Define using libm_alias_double.
24704 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
24705 (fabs): Define using libm_alias_double.
24706 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
24707 (fmax): Define using libm_alias_double.
24708 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
24709 (fmin): Define using libm_alias_double.
24710 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
24711 (llrint): Define using libm_alias_double.
24712 [!__ILP32__] (lrint): Likewise.
24713 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
24714 (lrint): Define using libm_alias_double.
24716 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24718 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24719 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
24721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
24722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
24723 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
24724 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
24725 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
24726 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24728 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24729 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
24731 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
24732 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
24733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
24734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
24735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
24736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24738 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24739 (libm-sysdep_routines): Add s_nearbyint-generic and
24740 s_nearbyintf-generic objects.
24741 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
24742 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
24743 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
24744 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
24745 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
24746 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
24748 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24749 Add s_finitef-generic and s_finite-generic objects.
24750 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
24751 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
24752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
24753 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
24754 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
24755 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
24757 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24758 Add s_isinff-generic and s_isinf-generic objects.
24759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
24760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
24761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
24762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
24763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
24764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24766 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24767 Add s_isnanf-generic and s_isnan-generic objects.
24768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
24769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
24770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
24771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
24772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
24773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24775 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
24777 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
24779 (sysdep_routines): Use sysdep_calls as base.
24780 (libm-sysdep_routines): Add generic rule for symbols shared with
24781 libc. Add s_signbit-generic and s_signbitf-generic objects.
24782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
24783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
24784 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
24785 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
24786 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
24787 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24789 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24791 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
24792 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
24793 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
24794 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
24795 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
24796 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
24797 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
24798 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
24799 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
24800 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
24801 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
24802 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
24803 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
24804 libm_alias_float_r.
24805 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
24806 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
24808 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
24809 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
24810 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
24811 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
24812 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
24813 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
24814 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
24815 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
24816 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
24817 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
24819 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
24821 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
24822 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
24823 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
24824 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
24825 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
24826 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
24827 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
24828 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
24829 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
24830 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
24831 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
24832 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
24833 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
24834 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
24835 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
24836 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
24837 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
24838 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
24839 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
24841 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
24842 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
24843 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
24844 * sysdeps/ia64/fpu/w_lgammaf_main.c
24845 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
24846 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
24848 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24849 Alexandre Oliva <aoliva@redhat.com>
24852 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
24853 * localedata/fr_CA.UTF-8.in: New file with test data for backward
24855 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
24857 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
24858 * localedata/locales/de_DE (LC_COLLATE): Likewise.
24859 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
24860 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
24861 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
24862 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
24863 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
24864 instead of “ifdef DIACRIT_BACKWARD”.
24866 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24868 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
24869 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
24870 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
24871 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
24872 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
24873 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
24874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
24875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
24876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
24877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
24878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
24879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
24880 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
24881 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
24882 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
24883 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24884 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
24885 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
24886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24887 ($(have-as-vis3) == yes): Remove conditional.
24888 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
24890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
24892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
24894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
24896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
24898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
24899 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
24900 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
24901 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
24902 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
24903 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
24904 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
24905 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
24907 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24909 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
24910 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
24911 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
24912 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
24913 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
24914 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
24915 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
24916 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
24917 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
24918 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
24919 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
24920 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
24921 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
24922 libm_alias_double_r.
24923 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
24925 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
24926 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
24927 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
24928 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
24929 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
24930 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
24931 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
24932 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
24933 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
24934 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
24935 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
24937 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
24939 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
24940 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
24941 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
24942 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
24943 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
24944 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
24945 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
24946 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
24947 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
24948 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
24949 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
24950 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
24951 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
24952 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
24953 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
24954 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
24955 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
24956 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
24958 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
24959 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
24960 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
24961 * sysdeps/ia64/fpu/w_lgamma_main.c
24962 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
24963 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
24965 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
24967 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
24968 address of $global$ into %dp register earlier. Use pc-relative
24969 instruction sequence for PIC case.
24971 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24973 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
24974 (asinhf): Define using libm_alias_float.
24975 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
24976 (atanf): Define using libm_alias_float.
24977 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
24978 (cbrtf): Define using libm_alias_float.
24979 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
24980 (ceilf): Define using libm_alias_float.
24981 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24982 (copysignf): Define using libm_alias_float.
24983 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
24984 (expm1f): Define using libm_alias_float.
24985 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
24986 (fabsf): Define using libm_alias_float.
24987 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
24988 (floorf): Define using libm_alias_float.
24989 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24990 (fmaxf): Define using libm_alias_float.
24991 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
24992 (fminf): Define using libm_alias_float.
24993 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
24994 (frexpf): Define using libm_alias_float.
24995 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24996 (llrintf): Define using libm_alias_float.
24997 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
24998 (logbf): Define using libm_alias_float.
24999 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
25000 (lrintf): Define using libm_alias_float.
25001 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
25002 (nearbyintf): Define using libm_alias_float.
25003 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
25004 (remquof): Define using libm_alias_float.
25005 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
25006 (rintf): Define using libm_alias_float.
25007 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
25008 (truncf): Define using libm_alias_float.
25009 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
25010 <libm-alias-float.h>.
25011 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25013 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
25014 <libm-alias-float.h>.
25015 (expf): Define using libm_alias_float, or libm_alias_float_other
25017 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
25018 <libm-alias-float.h>.
25019 (log2f): Define using libm_alias_float, or libm_alias_float_other
25021 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
25022 <libm-alias-float.h>.
25023 (logf): Define using libm_alias_float, or libm_alias_float_other
25025 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
25026 <libm-alias-float.h>.
25027 (powf): Define using libm_alias_float, or libm_alias_float_other
25029 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
25030 <libm-alias-float.h>.
25031 (cosf): Define using libm_alias_float.
25032 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
25033 <libm-alias-float.h>.
25034 (sincosf): Define using libm_alias_float.
25035 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
25036 <libm-alias-float.h>.
25037 (sinf): Define using libm_alias_float.
25038 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25039 (fmaxf): Define using libm_alias_float.
25040 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
25041 (fminf): Define using libm_alias_float.
25042 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25043 <libm-alias-float.h>.
25044 (fmaf): Define using libm_alias_float.
25046 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
25047 (asinh): Define using libm_alias_double.
25048 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
25049 (atan): Define using libm_alias_double.
25050 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
25051 (cbrt): Define using libm_alias_double.
25052 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
25053 (ceil): Define using libm_alias_double.
25054 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
25055 (copysign): Define using libm_alias_double.
25056 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
25057 (expm1): Define using libm_alias_double.
25058 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
25059 (fabs): Define using libm_alias_double.
25060 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
25061 (fdim): Define using libm_alias_double.
25062 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
25063 (floor): Define using libm_alias_double.
25064 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
25065 (fmax): Define using libm_alias_double.
25066 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
25067 (fmin): Define using libm_alias_double.
25068 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
25069 (frexp): Define using libm_alias_double.
25070 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
25071 (llrint): Define using libm_alias_double.
25072 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
25073 (logb): Define using libm_alias_double.
25074 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
25075 (lrint): Define using libm_alias_double.
25076 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
25077 (nearbyint): Define using libm_alias_double.
25078 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
25079 (remquo): Define using libm_alias_double.
25080 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
25081 (rint): Define using libm_alias_double.
25082 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
25083 (trunc): Define using libm_alias_double.
25084 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
25085 (fmax): Define using libm_alias_double.
25086 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
25087 (fmin): Define using libm_alias_double.
25088 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
25089 (fma): Define using libm_alias_double.
25091 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
25094 * elf/dl-hwcaps.c (ROUND): Removed.
25095 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
25096 and ELF_NOTE_NEXT_OFFSET.
25097 * elf/dl-load.c (ROUND): Removed.
25098 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25099 * elf/readelflib.c (ROUND): Removed.
25100 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25101 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
25102 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
25103 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
25105 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25107 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25108 [!__fmaf] (fmaf): Define using libm_alias_float.
25110 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
25111 [!__fma] (fma): Define using libm_alias_double.
25112 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
25114 2017-11-28 Mike FABIAN <mfabian@redhat.com>
25117 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
25118 and implement the collation rules for cs from CLDR on top of that.
25119 * Makefile: Add cs_CZ.UTF-8 to test-input.
25120 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
25122 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
25124 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
25126 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25127 Icarus Sparry <icarus.w.sparry@intel.com>
25129 * benchtests/Makefile:Add BENCHSET to allow subsets of
25130 benchmarks to be run.
25131 * benchtests/README: Add documentation for: Running subsets of
25134 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25136 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
25137 range of tests names.
25139 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
25140 result from property and remove "max", min" and "mean" from
25141 required properties based on benchtests/bench-skeleton.c.
25143 2017-11-28 Florian Weimer <fweimer@redhat.com>
25146 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
25147 due to Internet requirement.
25148 * posix/Makefile (tests): Remove tst-getaddrinfo4,
25150 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
25152 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25154 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25155 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
25156 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25157 (sysdep_routines): Add memset-ultra1.
25158 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
25160 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
25161 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
25162 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
25163 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
25164 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
25165 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
25166 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
25167 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25169 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
25171 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
25172 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
25173 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
25174 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
25175 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
25176 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
25177 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
25179 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25180 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
25181 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25182 (sysdep_routines): Add memcpy-ultra1.
25183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
25184 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
25186 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25188 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
25189 (cfloat_versions): Take function argument without trailing 'f'.
25190 Call libm_alias_float_other.
25191 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
25192 * sysdeps/alpha/fpu/cargf.c: Likewise.
25193 * sysdeps/alpha/fpu/cimagf.c: Likewise.
25194 * sysdeps/alpha/fpu/conjf.c: Likewise.
25195 * sysdeps/alpha/fpu/crealf.c: Likewise.
25196 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
25197 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
25198 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
25199 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
25200 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
25201 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
25202 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
25203 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
25204 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
25205 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
25206 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
25207 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
25208 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
25209 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
25210 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
25211 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
25212 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
25213 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
25214 (clog10f): Use libm_alias_float_other.
25215 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25216 (ceilf): Define using libm_alias_float.
25217 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
25218 (copysignf): Define using libm_alias_float.
25219 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25220 (fabsf): Define using libm_alias_float.
25221 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
25222 (floorf): Define using libm_alias_float.
25223 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
25224 (fmaxf): Define using libm_alias_float.
25225 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
25226 (fminf): Define using libm_alias_float.
25227 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25228 (lrintf): Define using libm_alias_float.
25229 (llrintf): Likewise.
25230 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25231 (lroundf): Define using libm_alias_float.
25232 (llroundf): Likewise.
25233 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
25234 (rintf): Define using libm_alias_float.
25235 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
25236 (truncf): Define using libm_alias_float.
25238 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25239 (ceilf): Define using libm_alias_float.
25240 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
25241 (floorf): Define using libm_alias_float.
25242 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25243 (fmaf): Define using libm_alias_float.
25244 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
25245 (fmaxf): Define using libm_alias_float.
25246 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
25247 (fminf): Define using libm_alias_float.
25248 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
25249 (llrintf): Define using libm_alias_float.
25250 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
25251 (llroundf): Define using libm_alias_float.
25252 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25253 (lrintf): Define using libm_alias_float.
25254 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25255 (lroundf): Define using libm_alias_float.
25256 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
25257 <libm-alias-float.h>.
25258 (nearbyintf): Define using libm_alias_float.
25259 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
25260 (rintf): Define using libm_alias_float.
25261 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
25262 (roundf): Define using libm_alias_float.
25263 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
25264 (truncf): Define using libm_alias_float.
25266 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
25267 (ceil): Define using libm_alias_double.
25268 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
25269 (copysign): Define using libm_alias_double.
25270 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
25271 (fabs): Define using libm_alias_double.
25272 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
25273 (floor): Define using libm_alias_double.
25274 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
25275 (fmax): Define using libm_alias_double.
25276 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
25277 (fmin): Define using libm_alias_double.
25278 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
25279 (lrint): Define using libm_alias_double.
25280 (llrint): Likewise.
25281 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
25282 (lround): Define using libm_alias_double.
25283 (llround): Likewise.
25284 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
25285 (rint): Define using libm_alias_double.
25286 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
25287 (trunc): Define using libm_alias_double.
25289 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25290 (libm_alias_double_r): Add semicolon after weak_alias call.
25292 2017-11-27 Joseph Myers <joseph@codesourcery.com>
25294 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
25295 (ceil): Define using libm_alias_double.
25296 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
25297 (floor): Define using libm_alias_double.
25298 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
25299 (fma): Define using libm_alias_double.
25300 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
25301 (fmax): Define using libm_alias_double.
25302 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
25303 (fmin): Define using libm_alias_double.
25304 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
25305 (llrint): Define using libm_alias_double.
25306 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
25307 (llround): Define using libm_alias_double.
25308 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
25309 (lrint): Define using libm_alias_double.
25310 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
25311 (lround): Define using libm_alias_double.
25312 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
25313 (nearbyint): Define using libm_alias_double.
25314 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
25315 (rint): Define using libm_alias_double.
25316 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
25317 (round): Define using libm_alias_double.
25318 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
25319 (trunc): Define using libm_alias_double.
25321 2017-11-27 Florian Weimer <fweimer@redhat.com>
25323 * sysdeps/unix/sysv/linux/mlock2.c: New file.
25324 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
25325 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
25326 (tests): Add tst-mlock2.
25327 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
25328 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
25329 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
25330 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
25331 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
25332 for mlock. Document mlock2.
25334 2017-11-27 Joseph Myers <joseph@codesourcery.com>
25336 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
25337 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
25339 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
25341 * sysdeps/x86/Makeconfig: New file.
25342 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
25343 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25344 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
25345 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25346 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25347 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25348 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
25350 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25351 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25352 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25353 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25354 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25355 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25356 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25357 * manual/math.texi (Mathematics): Document support for _Float64x.
25358 * math/Versions (GLIBC_2.27): Add _Float64x functions.
25359 * stdlib/Versions (GLIBC_2.27): Likewise.
25360 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25361 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25362 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25363 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25364 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25365 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25366 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25367 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25368 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25369 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25370 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25371 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25376 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25377 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25378 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25379 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25380 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25381 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25382 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25383 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25384 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25385 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25386 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25387 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25388 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25389 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25391 2017-11-27 Andreas Schwab <schwab@suse.de>
25393 * elf/Makefile (dl-routines): Add dl-sort-maps.
25394 * elf/dl-sort-maps.c: New file.
25395 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
25396 (_dl_sort_maps): Declare.
25397 * elf/dl-fini.c (_dl_sort_fini): Remove.
25398 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
25399 * elf/dl-close.c (_dl_close_worker): Likewise.
25400 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
25402 * elf/dl-open.c (dl_open_worker): Likewise.
25404 2017-11-24 Joseph Myers <joseph@codesourcery.com>
25406 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
25407 using libm_alias_float128.
25408 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
25410 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
25412 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
25413 (setpayloadsigf128): Likewise.
25414 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
25416 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
25419 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
25420 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
25421 -mfloat128 to CFLAGS.
25423 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
25425 (CFLAGS-libm-test-support-float64x.c): New variable.
25426 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
25427 $(f128-loader-link) to gnulib-tests.
25429 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
25430 (libm_alias_float128_other_r): If
25431 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
25433 (libm_alias_float128_r): Add semicolon after weak_alias call.
25434 * sysdeps/generic/libm-alias-ldouble.h
25435 (libm_alias_ldouble_other_r_f128): New macro.
25436 (libm_alias_ldouble_other_r_f64x): Likewise.
25437 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25438 and libm_alias_ldouble_other_r_f64x.
25439 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
25440 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25441 (libm_alias_ldouble_other_r_f128): New macro.
25442 (libm_alias_ldouble_other_r_f64x): Likewise.
25443 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25444 and libm_alias_ldouble_other_r_f64x.
25446 * stdlib/strfroml.c: Always include <stdlib.h>.
25447 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
25448 undefine as macro and define as weak alias.
25449 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
25450 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
25452 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
25453 Define and later undefine as macro and define as weak alias.
25455 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25456 Define and later undefine as macro. Define as weak alias if
25458 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
25459 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25460 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
25461 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25462 Define and later undefine as macro. Define as weak alias if
25464 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
25465 Define and later undefine as macro. Define as weak alias if
25467 * sysdeps/ieee754/float128/strtof128_l.c
25468 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
25469 Define and later undefine as macro. Define as weak alias if
25471 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
25472 Define and later undefine as macro. Define as weak alias if
25474 * sysdeps/ieee754/ldbl-128/strtold_l.c
25475 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25476 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25477 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25478 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25479 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
25480 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25481 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25482 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25483 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25484 * sysdeps/ieee754/ldbl-96/strtold_l.c
25485 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25486 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25487 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25488 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25490 * math/test-float64x.h: New file.
25491 * math/Makefile (type-float64x-yes): New variable.
25492 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
25494 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
25495 function-like macro.
25496 (min_of_type_): Likewise.
25497 (min_of_type_l): Likewise.
25498 (min_of_type_f128): Likewise.
25499 (min_of_type): Pass () as last argument of __MATH_TG.
25501 * stdlib/tst-strtod-round-skeleton.c
25502 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
25505 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
25506 for combinations of long double with _Float64 and _Float64x.
25508 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
25509 (__DECL_SIMD_cosf32): Likewise.
25510 (__DECL_SIMD_cosf64): Likewise.
25511 (__DECL_SIMD_cosf32x): Likewise.
25512 (__DECL_SIMD_cosf64x): Likewise.
25513 (__DECL_SIMD_cosf128x): Likewise.
25514 (__DECL_SIMD_sinf16): Likewise.
25515 (__DECL_SIMD_sinf32): Likewise.
25516 (__DECL_SIMD_sinf64): Likewise.
25517 (__DECL_SIMD_sinf32x): Likewise.
25518 (__DECL_SIMD_sinf64x): Likewise.
25519 (__DECL_SIMD_sinf128x): Likewise.
25520 (__DECL_SIMD_sincosf16): Likewise.
25521 (__DECL_SIMD_sincosf32): Likewise.
25522 (__DECL_SIMD_sincosf64): Likewise.
25523 (__DECL_SIMD_sincosf32x): Likewise.
25524 (__DECL_SIMD_sincosf64x): Likewise.
25525 (__DECL_SIMD_sincosf128x): Likewise.
25526 (__DECL_SIMD_logf16): Likewise.
25527 (__DECL_SIMD_logf32): Likewise.
25528 (__DECL_SIMD_logf64): Likewise.
25529 (__DECL_SIMD_logf32x): Likewise.
25530 (__DECL_SIMD_logf64x): Likewise.
25531 (__DECL_SIMD_logf128x): Likewise.
25532 (__DECL_SIMD_expf16): Likewise.
25533 (__DECL_SIMD_expf32): Likewise.
25534 (__DECL_SIMD_expf64): Likewise.
25535 (__DECL_SIMD_expf32x): Likewise.
25536 (__DECL_SIMD_expf64x): Likewise.
25537 (__DECL_SIMD_expf128x): Likewise.
25538 (__DECL_SIMD_powf16): Likewise.
25539 (__DECL_SIMD_powf32): Likewise.
25540 (__DECL_SIMD_powf64): Likewise.
25541 (__DECL_SIMD_powf32x): Likewise.
25542 (__DECL_SIMD_powf64x): Likewise.
25543 (__DECL_SIMD_powf128x): Likewise.
25545 * stdlib/Versions (libc): Move entries for wcstof128 and
25546 wcstof128_l to ....
25547 * wcsmbs/Versions (libc): ... here.
25548 Include <float128-abi.h>.
25550 2017-11-24 Florian Weimer <fweimer@redhat.com>
25552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25553 bits/mman-shared.h.
25554 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
25555 <bits/mman-shared.h>.
25556 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
25558 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
25559 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
25560 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
25561 <bits/mman-shared.h>.
25563 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25566 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
25567 posix_memalign/free.
25568 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
25570 2017-11-22 Mike FABIAN <mfabian@redhat.com>
25573 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
25574 and implement the collation rules for pl from CLDR on top of that.
25575 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
25576 of locales to be built for testing.
25577 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
25579 2017-11-23 Joseph Myers <joseph@codesourcery.com>
25581 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
25582 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
25583 libm_alias_ldouble_other.
25584 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
25585 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
25586 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
25587 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
25588 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
25589 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
25590 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
25591 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
25592 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
25593 libm_alias_ldouble_r.
25594 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
25595 libm_alias_ldouble_other.
25596 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
25597 (log10l): Likewise.
25598 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
25599 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
25600 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
25601 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
25602 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
25603 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
25604 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
25605 (atan2l): Likewise.
25606 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
25607 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
25608 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
25609 libm_alias_ldouble.
25610 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
25612 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
25613 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
25614 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
25616 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
25617 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
25618 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
25619 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
25620 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
25621 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
25622 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
25623 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
25624 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
25625 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
25626 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
25627 libm_alias_ldouble.
25628 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
25629 libm_alias_ldouble_other.
25630 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
25631 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
25632 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
25633 libm_alias_ldouble.
25634 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
25635 libm_alias_ldouble_other.
25636 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
25637 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
25638 * sysdeps/ia64/fpu/w_lgammal_main.c
25639 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
25640 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
25642 2017-11-23 Florian Weimer <fweimer@redhat.com>
25644 * malloc/malloc.c (tcache_thread_shutdown): Rename from
25645 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
25646 alike. Remove freeres marker.
25647 * malloc/arena.c (arena_thread_freeres): Call
25648 tcache_thread_shutdown.
25650 2017-11-23 Florian Weimer <fweimer@redhat.com>
25653 Export nscd hash function as __nss_hash.
25654 * include/nss.h (__nss_hash): Declare.
25655 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
25657 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
25658 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
25660 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
25661 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
25662 * nss/Makefiles (routines): Add nss_hash.
25663 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
25664 * nss/nss_hash.c: Rename from nis/nis_hash.c.
25665 (__nss_hash): Rename from __nis_hash. Define hidden alias.
25666 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
25668 2017-11-23 Florian Weimer <fweimer@redhat.com>
25671 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
25672 Return error code, not -1.
25673 * signal/tst-sigwait-eintr.c: New file.
25674 * signal/Makefile (tests): Add tst-sigwait-eintr.
25676 2017-11-23 Florian Weimer <fweimer@redhat.com>
25678 Linux: Add memfd_create system call wrapper
25679 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
25681 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
25682 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
25683 [__USE_GNU] (memfd_create): Declare.
25684 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
25685 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
25686 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
25687 * sysdeps/unix/sysv/linux/**.abilist: Update.
25688 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
25690 2017-11-22 Joseph Myers <joseph@codesourcery.com>
25692 * localedata/gen-locale.sh: Fix typo in variable name.
25694 * resolv/res_debug.c (p_secstodate): Condition definition on
25695 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
25696 directly as __p_secstodate, and as a compat symbol. Do not use
25697 libresolv_hidden_def.
25698 * resolv/resolv.h (p_secstodate): Remove macro and function
25700 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
25701 using p_secstodate.
25702 * include/resolv.h (__p_secstodate): Do not use
25703 libresolv_hidden_proto.
25704 * resolv/Makefile (tests): Move tst-p_secstodate to ....
25705 (tests-internal): ... here.
25706 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
25707 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
25708 and declare and use __p_secstodate and use compat_symbol_reference
25710 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
25711 implementation returning 77.
25714 * resolv/res_debug.c: Include <libc-diag.h>.
25715 (p_secstodate): Assert time_t at least as wide as u_long. On
25716 overflow, use integer seconds since the epoch as output, or use
25717 "<overflow>" as output and set errno to EOVERFLOW if integer
25718 seconds since the epoch would be 14 or more characters.
25719 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
25721 * resolv/tst-p_secstodate.c: New file.
25722 * resolv/Makefile (tests): Add tst-p_secstodate.
25723 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
25725 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
25726 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25727 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
25729 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
25731 * posix/regcomp.c (init_word_char): Add comments.
25733 2017-11-22 Joseph Myers <joseph@codesourcery.com>
25736 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
25737 strlen to compute length of ut_user and set trailing NUL byte of
25740 2017-11-21 Mike FABIAN <mfabian@redhat.com>
25743 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
25744 using “copy "iso14651_t1"” and then implementing the
25745 collation rules for lv from CLDR on top of that.
25746 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
25747 of locales to be built for testing.
25748 * lv_LV.UTF-8.in: New file with test data to test the Latvian
25751 2017-11-21 Joseph Myers <joseph@codesourcery.com>
25753 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25754 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
25755 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
25756 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
25757 [__USE_MISC] (MADV_HWPOISON): New macro.
25758 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
25760 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25762 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
25763 -Wmissing-braces on GCC 4.9.
25765 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25767 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
25768 * sysdeps/s390/s390-32/start.S (_start): Likewise
25769 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
25770 (thread_start): Likewise.
25771 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
25772 (thread_start): Likewise.
25773 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
25774 (__makecontext_ret): Likewise.
25775 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
25776 (__makecontext_ret): Likewise.
25778 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25780 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
25781 __wcschrnul): Remove attribute_hidden.
25783 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
25785 regex: don't assume uint64_t or uint32_t
25786 This avoids -Werror=overflow errors for 32-bit systems in
25787 the 64-bit case. Problem reported by Joseph Myers in:
25788 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
25789 Also, when this code is used in Gnulib it ports to platforms
25790 that lack uint64_t and uint32_t. The C standard doesn't guarantee
25791 them, and on some 32-bit compilers there is no uint64_t.
25792 Problem reported by Gianluigi Tiesi in:
25793 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
25794 * posix/regcomp.c (init_word_char): Don't assume that the types
25795 uint64_t and uint32_t exist. Adapted from Gnulib patch
25796 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
25797 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
25799 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
25801 * sysdeps/aarch64/memset-reg.h: New file.
25802 * sysdeps/aarch64/memset.S: Use it.
25803 (__memset): Rename to MEMSET macro.
25804 [ZVA_MACRO]: Use zva_macro.
25805 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
25806 Add memset_generic and memset_falkor.
25807 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25808 (__libc_ifunc_impl_list): Add memset ifuncs.
25809 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
25810 local variable zva_size.
25811 * sysdeps/aarch64/multiarch/memset.c: New file.
25812 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
25813 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
25814 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
25815 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
25816 (DCZID_DZP_MASK): New macro.
25817 (DCZID_BS_MASK): Likewise.
25818 (init_cpu_features): Read and set zva_size.
25819 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
25820 (struct cpu_features): New member zva_size.
25822 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
25823 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
25824 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
25826 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
25827 backwards. Fix timing computation.
25828 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
25829 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
25830 on memset by N at a time. Fix timing computation.
25832 2017-11-20 Florian Weimer <fweimer@redhat.com>
25834 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
25835 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
25837 2017-11-19 Florian Weimer <fweimer@redhat.com>
25839 manual: Document mprotect
25840 * manual/memory.texi (Memory Protection): New section.
25841 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
25842 documentation of PROT_* flags and reference the Memory Protection
25845 2017-11-19 Florian Weimer <fweimer@redhat.com>
25847 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
25848 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
25849 (Scatter-Gather): ... to here. Remove misleading comment.
25851 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
25853 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
25856 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
25857 when /proc/<pid>/setgroups does not exist.
25859 2017-11-18 Florian Weimer <fweimer@redhat.com>
25861 * sysdeps/unix/sysv/linux/tst-ttyname.c
25862 (become_root_in_mount_ns): Remove.
25863 (do_in_chroot_1): Call support_enter_mount_namespace.
25864 (do_in_chroot_2): Likewise.
25865 (do_test): Call support_become_root early.
25867 2017-11-18 Florian Weimer <fweimer@redhat.com>
25869 * support/namespace.h (support_enter_mount_namespace): Declare.
25870 * support/support_enter_mount_namespace.c: New file.
25871 * support/Makefile (libsupport-routines): Add
25872 support_enter_mount_namespace.
25874 2017-11-18 Florian Weimer <fweimer@redhat.com>
25876 * support/temp_file.c (support_create_temp_directory): Use
25877 test_dir and do not rely on the presence of the XXXXXX suffix.
25878 * support/temp_file.h (support_create_temp_directory): Update
25880 * support/tst-xreadlink.c (do_test): Adjust.
25881 * support/support_chroot.c (support_chroot_create): Likewise.
25883 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25885 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
25887 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
25890 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25892 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25893 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25894 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25895 (ceill): Define using libm_alias_ldouble.
25896 * sysdeps/x86_64/fpu/s_copysignl.S: Include
25897 <libm-alias-ldouble.h>.
25898 (copysignl): Define using libm_alias_ldouble.
25899 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25900 (fabsl): Define using libm_alias_ldouble.
25901 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25902 (floorl): Define using libm_alias_ldouble.
25903 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25904 (fmaxl): Define using libm_alias_ldouble.
25905 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25906 (fminl): Define using libm_alias_ldouble.
25907 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25908 (llrintl): Define using libm_alias_ldouble.
25909 (lrintl): Likewise.
25910 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
25911 <libm-alias-ldouble.h>.
25912 (nearbyintl): Define using libm_alias_ldouble.
25913 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25914 (truncl): Define using libm_alias_ldouble.
25915 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
25916 <libm-alias-ldouble.h>.
25917 (lrintl): Define using libm_alias_ldouble.
25919 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25920 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25921 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
25922 (asinhl): Define using libm_alias_ldouble.
25923 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
25924 (atanl): Define using libm_alias_ldouble.
25925 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
25926 (cbrtl): Define using libm_alias_ldouble.
25927 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25928 (ceill): Define using libm_alias_ldouble.
25929 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
25930 (copysignl): Define using libm_alias_ldouble.
25931 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25932 (fabsl): Define using libm_alias_ldouble.
25933 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25934 (floorl): Define using libm_alias_ldouble.
25935 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25936 (fmaxl): Define using libm_alias_ldouble.
25937 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25938 (fminl): Define using libm_alias_ldouble.
25939 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
25940 (frexpl): Define using libm_alias_ldouble.
25941 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25942 (llrintl): Define using libm_alias_ldouble.
25943 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
25944 (logbl): Define using libm_alias_ldouble.
25945 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
25946 (lrintl): Define using libm_alias_ldouble.
25947 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
25948 (nearbyintl): Define using libm_alias_ldouble.
25949 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
25950 (nextafterl): Define using libm_alias_ldouble.
25951 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
25952 (remquol): Define using libm_alias_ldouble.
25953 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
25954 (rintl): Define using libm_alias_ldouble.
25955 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25956 (truncl): Define using libm_alias_ldouble.
25957 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25958 (fmaxl): Define using libm_alias_ldouble.
25959 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25960 (fminl): Define using libm_alias_ldouble.
25962 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
25963 to C syntax instead of availability and properties of types.
25964 * bits/floatn.h [!__ASSEMBLER]: Likewise.
25965 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
25966 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
25967 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
25968 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
25969 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
25971 2017-11-17 Florian Weimer <fweimer@redhat.com>
25973 support_become_root: Enable file creation in namespaces.
25974 * support/support_become_root.c (setup_mapping): New function.
25975 (support_become_root): Call it.
25977 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25979 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
25982 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25984 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
25985 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
25987 2017-11-16 Joseph Myers <joseph@codesourcery.com>
25989 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
25991 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25994 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25996 * INSTALL: Fix botched up regeneration.
25998 * NEWS: Update sourceare link to https.
25999 * configure.ac: Likewise.
26000 * crypt/md5test-giant.c: Likewise.
26001 * dlfcn/bug-atexit1.c: Likewise.
26002 * dlfcn/bug-atexit2.c: Likewise.
26003 * localedata/README: Likewise.
26004 * malloc/tst-mallocfork.c: Likewise.
26005 * manual/install.texi: Likewise.
26006 * nptl/tst-pthread-getattr.c: Likewise.
26007 * stdio-common/tst-fgets.c: Likewise.
26008 * stdio-common/tst-fwrite.c: Likewise.
26009 * sunrpc/Makefile: Likewise.
26010 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
26011 * wcsmbs/tst-mbrtowc2.c: Likewise.
26012 * configure: Regenerate.
26013 * INSTALL: Regenerate.
26015 2017-11-15 Martin Sebor <msebor@redhat.com>
26017 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
26018 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
26019 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
26021 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26024 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
26025 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
26028 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
26029 Defer is_pty check until end of the function.
26030 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26033 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
26034 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
26035 (ttyname): Likewise.
26036 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
26037 (__ttyname_r): Likewise.
26039 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
26042 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
26044 * manual/terminal.texi (Is It a Terminal):
26045 Mention ENODEV for ttyname and ttyname_r.
26047 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26049 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
26050 constant and macro.
26052 * sysdeps/unix/sysv/linux/bits/mman-linux.h
26053 [__USE_MISC] (MADV_WIPEONFORK): New macro.
26054 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26055 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26056 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
26057 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26059 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26061 * signal/sigrelse.c (sigrelse): Optimize implementation.
26063 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
26064 (__sigpause): Rely on __sigsuspend to implement single thread
26065 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
26067 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26069 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
26070 kernel version to 4.14.
26072 2017-11-15 Steve Ellcey <sellcey@cavium.com>
26075 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
26076 Check if ifname is too long.
26078 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26080 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
26082 2017-11-15 Mike FABIAN <mfabian@redhat.com>
26084 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
26085 was accidentally lost.
26087 2017-11-15 Mike FABIAN <mfabian@redhat.com>
26089 * localedata/locales/az_IR: Add standard copyright header.
26091 2017-11-15 Florian Weimer <fweimer@redhat.com>
26094 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
26095 not just the top one. Output a new "subheaps" statistic.
26097 2017-11-15 Florian Weimer <fweimer@redhat.com>
26100 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
26101 under the per-arena lock.
26102 * malloc/Makefile (tests): Add tst-malloc_info.
26103 (tst-malloc_info): Link with libpthread.
26104 * malloc/tst-malloc_info.c: New file.
26106 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26109 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
26110 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
26111 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
26112 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
26113 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
26114 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
26115 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
26116 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
26117 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
26118 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
26119 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
26120 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
26121 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
26122 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
26123 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
26124 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
26125 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
26126 (__floating_type): Likewise.
26127 (__real_integer_type): Likewise.
26128 (__complex_integer_type): Likewise.
26129 (__expr_is_real): Likewise.
26130 (__tgmath_real_type_sub): Likewise.
26131 (__tgmath_real_type): Likewise.
26132 (__tgmath_complex_type_sub): Likewise.
26133 (__tgmath_complex_type): Likewise.
26134 (__TGMATH_F128): Likewise.
26135 (__TGMATH_CF128): Likewise.
26136 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
26138 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
26139 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
26141 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
26143 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
26144 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
26145 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
26146 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
26148 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
26149 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
26151 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
26152 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
26153 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
26155 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
26156 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
26157 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
26161 2017-11-14 Joseph Myers <joseph@codesourcery.com>
26163 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
26164 for stpncpy calls for GCC 8.
26165 (test_strncat): Disable -Wstringop-truncation warning for strncat
26166 calls for GCC 8. Disable -Wstringop-overflow= warning for one
26167 strncat call for GCC 7.
26168 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
26170 (test_memcmp): Use memcpy instead of strncpy for calls not copying
26173 * string/bug-strncat1.c: Include <libc-diag.h>.
26174 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
26176 2017-11-13 Claude Paroz <claude@2xlibre.net>
26179 * localedata/locales/aa_DJ: Improved readibility by replacing
26180 <Uxxxx> sequences in the ASCII printable range by their ASCII
26181 character equivalents.
26182 * localedata/locales/aa_ER: Likewise.
26183 * localedata/locales/aa_ER@saaho: Likewise.
26184 * localedata/locales/aa_ET: Likewise.
26185 * localedata/locales/af_ZA: Likewise.
26186 * localedata/locales/agr_PE: Likewise.
26187 * localedata/locales/ak_GH: Likewise.
26188 * localedata/locales/am_ET: Likewise.
26189 * localedata/locales/anp_IN: Likewise.
26190 * localedata/locales/ar_AE: Likewise.
26191 * localedata/locales/ar_BH: Likewise.
26192 * localedata/locales/ar_DZ: Likewise.
26193 * localedata/locales/ar_EG: Likewise.
26194 * localedata/locales/ar_IN: Likewise.
26195 * localedata/locales/ar_IQ: Likewise.
26196 * localedata/locales/ar_JO: Likewise.
26197 * localedata/locales/ar_KW: Likewise.
26198 * localedata/locales/ar_LB: Likewise.
26199 * localedata/locales/ar_LY: Likewise.
26200 * localedata/locales/ar_MA: Likewise.
26201 * localedata/locales/ar_OM: Likewise.
26202 * localedata/locales/ar_QA: Likewise.
26203 * localedata/locales/ar_SA: Likewise.
26204 * localedata/locales/ar_SD: Likewise.
26205 * localedata/locales/ar_SS: Likewise.
26206 * localedata/locales/ar_SY: Likewise.
26207 * localedata/locales/ar_TN: Likewise.
26208 * localedata/locales/ar_YE: Likewise.
26209 * localedata/locales/as_IN: Likewise.
26210 * localedata/locales/ast_ES: Likewise.
26211 * localedata/locales/ayc_PE: Likewise.
26212 * localedata/locales/az_AZ: Likewise.
26213 * localedata/locales/az_IR: Likewise.
26214 * localedata/locales/be_BY: Likewise.
26215 * localedata/locales/be_BY@latin: Likewise.
26216 * localedata/locales/bem_ZM: Likewise.
26217 * localedata/locales/ber_DZ: Likewise.
26218 * localedata/locales/ber_MA: Likewise.
26219 * localedata/locales/bg_BG: Likewise.
26220 * localedata/locales/bhb_IN: Likewise.
26221 * localedata/locales/bho_IN: Likewise.
26222 * localedata/locales/bi_VU: Likewise.
26223 * localedata/locales/bn_BD: Likewise.
26224 * localedata/locales/bn_IN: Likewise.
26225 * localedata/locales/bo_CN: Likewise.
26226 * localedata/locales/bo_IN: Likewise.
26227 * localedata/locales/br_FR: Likewise.
26228 * localedata/locales/brx_IN: Likewise.
26229 * localedata/locales/bs_BA: Likewise.
26230 * localedata/locales/byn_ER: Likewise.
26231 * localedata/locales/ca_AD: Likewise.
26232 * localedata/locales/ca_ES: Likewise.
26233 * localedata/locales/ca_FR: Likewise.
26234 * localedata/locales/ca_IT: Likewise.
26235 * localedata/locales/ce_RU: Likewise.
26236 * localedata/locales/chr_US: Likewise.
26237 * localedata/locales/cmn_TW: Likewise.
26238 * localedata/locales/crh_UA: Likewise.
26239 * localedata/locales/cs_CZ: Likewise.
26240 * localedata/locales/csb_PL: Likewise.
26241 * localedata/locales/cv_RU: Likewise.
26242 * localedata/locales/cy_GB: Likewise.
26243 * localedata/locales/da_DK: Likewise.
26244 * localedata/locales/de_AT: Likewise.
26245 * localedata/locales/de_BE: Likewise.
26246 * localedata/locales/de_CH: Likewise.
26247 * localedata/locales/de_DE: Likewise.
26248 * localedata/locales/de_IT: Likewise.
26249 * localedata/locales/de_LI: Likewise.
26250 * localedata/locales/de_LU: Likewise.
26251 * localedata/locales/doi_IN: Likewise.
26252 * localedata/locales/dv_MV: Likewise.
26253 * localedata/locales/dz_BT: Likewise.
26254 * localedata/locales/el_CY: Likewise.
26255 * localedata/locales/el_GR: Likewise.
26256 * localedata/locales/en_AG: Likewise.
26257 * localedata/locales/en_AU: Likewise.
26258 * localedata/locales/en_BW: Likewise.
26259 * localedata/locales/en_CA: Likewise.
26260 * localedata/locales/en_DK: Likewise.
26261 * localedata/locales/en_GB: Likewise.
26262 * localedata/locales/en_HK: Likewise.
26263 * localedata/locales/en_IE: Likewise.
26264 * localedata/locales/en_IL: Likewise.
26265 * localedata/locales/en_IN: Likewise.
26266 * localedata/locales/en_NG: Likewise.
26267 * localedata/locales/en_NZ: Likewise.
26268 * localedata/locales/en_PH: Likewise.
26269 * localedata/locales/en_SG: Likewise.
26270 * localedata/locales/en_US: Likewise.
26271 * localedata/locales/en_ZA: Likewise.
26272 * localedata/locales/en_ZM: Likewise.
26273 * localedata/locales/en_ZW: Likewise.
26274 * localedata/locales/eo: Likewise.
26275 * localedata/locales/es_AR: Likewise.
26276 * localedata/locales/es_BO: Likewise.
26277 * localedata/locales/es_CL: Likewise.
26278 * localedata/locales/es_CO: Likewise.
26279 * localedata/locales/es_CR: Likewise.
26280 * localedata/locales/es_CU: Likewise.
26281 * localedata/locales/es_DO: Likewise.
26282 * localedata/locales/es_EC: Likewise.
26283 * localedata/locales/es_ES: Likewise.
26284 * localedata/locales/es_GT: Likewise.
26285 * localedata/locales/es_HN: Likewise.
26286 * localedata/locales/es_MX: Likewise.
26287 * localedata/locales/es_NI: Likewise.
26288 * localedata/locales/es_PA: Likewise.
26289 * localedata/locales/es_PE: Likewise.
26290 * localedata/locales/es_PR: Likewise.
26291 * localedata/locales/es_PY: Likewise.
26292 * localedata/locales/es_SV: Likewise.
26293 * localedata/locales/es_US: Likewise.
26294 * localedata/locales/es_UY: Likewise.
26295 * localedata/locales/es_VE: Likewise.
26296 * localedata/locales/et_EE: Likewise.
26297 * localedata/locales/eu_ES: Likewise.
26298 * localedata/locales/eu_ES@euro: Likewise.
26299 * localedata/locales/fa_IR: Likewise.
26300 * localedata/locales/ff_SN: Likewise.
26301 * localedata/locales/fi_FI: Likewise.
26302 * localedata/locales/fil_PH: Likewise.
26303 * localedata/locales/fo_FO: Likewise.
26304 * localedata/locales/fr_BE: Likewise.
26305 * localedata/locales/fr_CA: Likewise.
26306 * localedata/locales/fr_CH: Likewise.
26307 * localedata/locales/fr_FR: Likewise.
26308 * localedata/locales/fr_LU: Likewise.
26309 * localedata/locales/fur_IT: Likewise.
26310 * localedata/locales/fy_DE: Likewise.
26311 * localedata/locales/fy_NL: Likewise.
26312 * localedata/locales/ga_IE: Likewise.
26313 * localedata/locales/gd_GB: Likewise.
26314 * localedata/locales/gez_ER: Likewise.
26315 * localedata/locales/gez_ET: Likewise.
26316 * localedata/locales/gl_ES: Likewise.
26317 * localedata/locales/gu_IN: Likewise.
26318 * localedata/locales/gv_GB: Likewise.
26319 * localedata/locales/ha_NG: Likewise.
26320 * localedata/locales/hak_TW: Likewise.
26321 * localedata/locales/he_IL: Likewise.
26322 * localedata/locales/hi_IN: Likewise.
26323 * localedata/locales/hif_FJ: Likewise.
26324 * localedata/locales/hne_IN: Likewise.
26325 * localedata/locales/hr_HR: Likewise.
26326 * localedata/locales/hsb_DE: Likewise.
26327 * localedata/locales/ht_HT: Likewise.
26328 * localedata/locales/hu_HU: Likewise.
26329 * localedata/locales/hy_AM: Likewise.
26330 * localedata/locales/i18n: Likewise.
26331 * localedata/locales/ia_FR: Likewise.
26332 * localedata/locales/id_ID: Likewise.
26333 * localedata/locales/ig_NG: Likewise.
26334 * localedata/locales/ik_CA: Likewise.
26335 * localedata/locales/is_IS: Likewise.
26336 * localedata/locales/it_CH: Likewise.
26337 * localedata/locales/it_IT: Likewise.
26338 * localedata/locales/iu_CA: Likewise.
26339 * localedata/locales/ja_JP: Likewise.
26340 * localedata/locales/ka_GE: Likewise.
26341 * localedata/locales/kk_KZ: Likewise.
26342 * localedata/locales/kl_GL: Likewise.
26343 * localedata/locales/kn_IN: Likewise.
26344 * localedata/locales/ko_KR: Likewise.
26345 * localedata/locales/kok_IN: Likewise.
26346 * localedata/locales/ks_IN: Likewise.
26347 * localedata/locales/ks_IN@devanagari: Likewise.
26348 * localedata/locales/ku_TR: Likewise.
26349 * localedata/locales/kw_GB: Likewise.
26350 * localedata/locales/ky_KG: Likewise.
26351 * localedata/locales/lb_LU: Likewise.
26352 * localedata/locales/lg_UG: Likewise.
26353 * localedata/locales/li_BE: Likewise.
26354 * localedata/locales/li_NL: Likewise.
26355 * localedata/locales/lij_IT: Likewise.
26356 * localedata/locales/ln_CD: Likewise.
26357 * localedata/locales/lo_LA: Likewise.
26358 * localedata/locales/lt_LT: Likewise.
26359 * localedata/locales/lv_LV: Likewise.
26360 * localedata/locales/lzh_TW: Likewise.
26361 * localedata/locales/mag_IN: Likewise.
26362 * localedata/locales/mai_IN: Likewise.
26363 * localedata/locales/mg_MG: Likewise.
26364 * localedata/locales/mhr_RU: Likewise.
26365 * localedata/locales/mi_NZ: Likewise.
26366 * localedata/locales/mk_MK: Likewise.
26367 * localedata/locales/ml_IN: Likewise.
26368 * localedata/locales/mn_MN: Likewise.
26369 * localedata/locales/mni_IN: Likewise.
26370 * localedata/locales/mr_IN: Likewise.
26371 * localedata/locales/ms_MY: Likewise.
26372 * localedata/locales/mt_MT: Likewise.
26373 * localedata/locales/my_MM: Likewise.
26374 * localedata/locales/nan_TW: Likewise.
26375 * localedata/locales/nan_TW@latin: Likewise.
26376 * localedata/locales/nb_NO: Likewise.
26377 * localedata/locales/nds_DE: Likewise.
26378 * localedata/locales/nds_NL: Likewise.
26379 * localedata/locales/ne_NP: Likewise.
26380 * localedata/locales/nhn_MX: Likewise.
26381 * localedata/locales/niu_NU: Likewise.
26382 * localedata/locales/niu_NZ: Likewise.
26383 * localedata/locales/nl_AW: Likewise.
26384 * localedata/locales/nl_BE: Likewise.
26385 * localedata/locales/nl_NL: Likewise.
26386 * localedata/locales/nn_NO: Likewise.
26387 * localedata/locales/nr_ZA: Likewise.
26388 * localedata/locales/nso_ZA: Likewise.
26389 * localedata/locales/oc_FR: Likewise.
26390 * localedata/locales/om_ET: Likewise.
26391 * localedata/locales/om_KE: Likewise.
26392 * localedata/locales/or_IN: Likewise.
26393 * localedata/locales/os_RU: Likewise.
26394 * localedata/locales/pa_IN: Likewise.
26395 * localedata/locales/pa_PK: Likewise.
26396 * localedata/locales/pap_AW: Likewise.
26397 * localedata/locales/pap_CW: Likewise.
26398 * localedata/locales/pl_PL: Likewise.
26399 * localedata/locales/ps_AF: Likewise.
26400 * localedata/locales/pt_BR: Likewise.
26401 * localedata/locales/pt_PT: Likewise.
26402 * localedata/locales/quz_PE: Likewise.
26403 * localedata/locales/raj_IN: Likewise.
26404 * localedata/locales/ro_RO: Likewise.
26405 * localedata/locales/ru_RU: Likewise.
26406 * localedata/locales/ru_UA: Likewise.
26407 * localedata/locales/rw_RW: Likewise.
26408 * localedata/locales/sa_IN: Likewise.
26409 * localedata/locales/sat_IN: Likewise.
26410 * localedata/locales/sc_IT: Likewise.
26411 * localedata/locales/sd_IN: Likewise.
26412 * localedata/locales/sd_IN@devanagari: Likewise.
26413 * localedata/locales/se_NO: Likewise.
26414 * localedata/locales/sgs_LT: Likewise.
26415 * localedata/locales/shs_CA: Likewise.
26416 * localedata/locales/si_LK: Likewise.
26417 * localedata/locales/sid_ET: Likewise.
26418 * localedata/locales/sk_SK: Likewise.
26419 * localedata/locales/sl_SI: Likewise.
26420 * localedata/locales/sm_WS: Likewise.
26421 * localedata/locales/so_DJ: Likewise.
26422 * localedata/locales/so_ET: Likewise.
26423 * localedata/locales/so_KE: Likewise.
26424 * localedata/locales/so_SO: Likewise.
26425 * localedata/locales/sq_AL: Likewise.
26426 * localedata/locales/sq_MK: Likewise.
26427 * localedata/locales/sr_ME: Likewise.
26428 * localedata/locales/sr_RS: Likewise.
26429 * localedata/locales/sr_RS@latin: Likewise.
26430 * localedata/locales/ss_ZA: Likewise.
26431 * localedata/locales/st_ZA: Likewise.
26432 * localedata/locales/sv_FI: Likewise.
26433 * localedata/locales/sv_SE: Likewise.
26434 * localedata/locales/sw_KE: Likewise.
26435 * localedata/locales/sw_TZ: Likewise.
26436 * localedata/locales/szl_PL: Likewise.
26437 * localedata/locales/ta_IN: Likewise.
26438 * localedata/locales/ta_LK: Likewise.
26439 * localedata/locales/tcy_IN: Likewise.
26440 * localedata/locales/te_IN: Likewise.
26441 * localedata/locales/tg_TJ: Likewise.
26442 * localedata/locales/th_TH: Likewise.
26443 * localedata/locales/the_NP: Likewise.
26444 * localedata/locales/ti_ER: Likewise.
26445 * localedata/locales/ti_ET: Likewise.
26446 * localedata/locales/tig_ER: Likewise.
26447 * localedata/locales/tk_TM: Likewise.
26448 * localedata/locales/tl_PH: Likewise.
26449 * localedata/locales/tn_ZA: Likewise.
26450 * localedata/locales/to_TO: Likewise.
26451 * localedata/locales/tpi_PG: Likewise.
26452 * localedata/locales/tr_CY: Likewise.
26453 * localedata/locales/tr_TR: Likewise.
26454 * localedata/locales/ts_ZA: Likewise.
26455 * localedata/locales/tt_RU: Likewise.
26456 * localedata/locales/tt_RU@iqtelif: Likewise.
26457 * localedata/locales/ug_CN: Likewise.
26458 * localedata/locales/uk_UA: Likewise.
26459 * localedata/locales/unm_US: Likewise.
26460 * localedata/locales/ur_IN: Likewise.
26461 * localedata/locales/ur_PK: Likewise.
26462 * localedata/locales/uz_UZ: Likewise.
26463 * localedata/locales/uz_UZ@cyrillic: Likewise.
26464 * localedata/locales/ve_ZA: Likewise.
26465 * localedata/locales/vi_VN: Likewise.
26466 * localedata/locales/wa_BE: Likewise.
26467 * localedata/locales/wae_CH: Likewise.
26468 * localedata/locales/wal_ET: Likewise.
26469 * localedata/locales/wo_SN: Likewise.
26470 * localedata/locales/xh_ZA: Likewise.
26471 * localedata/locales/yi_US: Likewise.
26472 * localedata/locales/yo_NG: Likewise.
26473 * localedata/locales/yue_HK: Likewise.
26474 * localedata/locales/yuw_PG: Likewise.
26475 * localedata/locales/zh_CN: Likewise.
26476 * localedata/locales/zh_HK: Likewise.
26477 * localedata/locales/zh_SG: Likewise.
26478 * localedata/locales/zh_TW: Likewise.
26479 * localedata/locales/zu_ZA: Likewise.
26481 2017-11-13 Florian Weimer <fweimer@redhat.com>
26483 * support/next_to_fault.h, support/next_to_fault.c: New files.
26484 * support/Makefile (libsupport-routines): Add next_to_fault.
26485 * resolv/tst-inet_pton.c (struct next_to_fault)
26486 (next_to_fault_allocate, next_to_fault_free): Remove.
26487 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
26489 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
26491 * elf/dl-support.c: Include <dl-procruntime.c>.
26492 * include/link.h: Include <link_map.h>.
26493 * sysdeps/generic/dl-procruntime.c: New file.
26494 * sysdeps/generic/link_map.h: Likewise.
26495 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
26496 the writable ld.so namespace.
26498 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
26500 timezone: pacify GCC -Wstringop-truncation
26501 Problem reported by Martin Sebor in:
26502 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
26503 * timezone/zic.c (writezone): Use memcpy, not strncpy.
26505 2017-11-12 Florian Weimer <fweimer@redhat.com>
26507 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
26509 (tests): Add tst-xreadlink.
26510 * support/support.h (xstrndup): Declare.
26511 * support/xunistd.h (xunlink, xreadlink): Declare.
26512 * support/temp_file.h (support_create_temp_directory): Declare.
26513 * support/temp_file.c (support_create_temp_directory): New function.
26514 * support/support_chroot.c (support_chroot_create): Use it.
26515 * support/xreadlink.c: New file.
26516 * support/xstrndup.c: Likewise.
26517 * support/xunlink.c: Likewise.
26518 * support/tst-xreadlink.c: Likewise.
26520 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
26522 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
26524 2017-11-11 Florian Weimer <fweimer@redhat.com>
26528 * resolv/res_comp.c (printable_string, binary_hnok)
26529 (binary_leading_dash): New functions.
26530 (res_hnok): Reimplement using these functions and ns_name_pton.
26531 (res_ownok): Likewise.
26532 (res_mailok): Reimplement using printable_string, ns_name_pton and
26534 (res_dnok): Reimplement using printable_string and ns_name_pton.
26535 * resolv/tst-res_hnok.c (tests): Add additional tests.
26536 (LETTERDIGITS, PRINTABLE): Define.
26537 (do_test): Adjust one_char results.
26539 2017-11-11 Florian Weimer <fweimer@redhat.com>
26542 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
26543 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
26545 2017-11-11 Florian Weimer <fweimer@redhat.com>
26547 * resolv/tst-ns_name_pton.c: New file.
26548 * resolv/Makefile (tests): Add tst-ns_name_pton.
26549 (tst-ns_name_pton): Link against libresolv.
26551 2017-11-11 Florian Weimer <fweimer@redhat.com>
26553 * resolv/tst-res_hnok.c: New file.
26554 * resolv/Makefile (tests): Add tst-res_hnok.
26555 (tst-res_hnok): Link against libresolv.
26557 2017-11-11 Florian Weimer <fweimer@redhat.com>
26559 * resolv/tst-resolv-network.c: Use test framework instead explicit
26562 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
26564 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
26565 <jmp_buf-macros.h>.
26566 [!_ISOMAC] (STR_HELPER): New.
26567 [!_ISOMAC] (STR): Likewise.
26568 [!_ISOMAC] (TEST_SIZE): Likewise.
26569 [!_ISOMAC] (TEST_ALIGN): Likewise.
26570 [!_ISOMAC] (TEST_OFFSET): Likewise.
26571 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
26572 field offsets of jmp_buf as well as sigjmp_buf.
26573 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
26574 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
26575 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
26576 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
26577 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
26578 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
26579 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
26580 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
26581 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
26582 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
26584 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
26586 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
26587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
26589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
26591 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
26592 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
26593 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
26594 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
26595 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
26596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
26598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
26600 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
26601 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
26602 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
26604 2017-11-07 Joseph Myers <joseph@codesourcery.com>
26607 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26608 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
26609 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26610 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
26611 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26612 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
26613 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26614 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
26615 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26616 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
26617 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26618 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
26619 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26620 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
26621 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26622 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
26623 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26624 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
26625 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26626 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
26627 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26628 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
26629 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26630 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
26631 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26632 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
26633 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26634 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
26635 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26636 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
26637 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26638 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
26639 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26640 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
26641 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26642 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
26643 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26644 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
26645 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26646 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
26647 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26648 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
26649 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26650 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
26651 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26652 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
26653 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26654 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
26655 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26656 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
26657 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26658 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
26659 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26660 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
26661 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26662 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
26663 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26664 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
26665 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26666 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
26667 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26668 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
26669 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26670 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
26671 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26672 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
26673 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26674 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
26675 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26676 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
26677 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26678 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
26679 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26680 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
26681 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26682 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
26683 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26684 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
26685 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26686 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
26687 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26688 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
26689 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26690 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
26691 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26692 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
26693 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26694 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
26696 * stdlib/tst-strtod.h (F16): New macro.
26702 (IF_FLOAT16): Likewise.
26703 (IF_FLOAT32): Likewise.
26704 (IF_FLOAT64): Likewise.
26705 (IF_FLOAT32X): Likewise.
26706 (IF_FLOAT64X): Likewise.
26707 (IF_FLOAT128X): Likewise.
26708 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
26709 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
26710 (STRTOD_TEST_FOREACH): Likewise.
26711 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
26712 (CHOOSE_f64): Likewise.
26713 (CHOOSE_f32x): Likewise.
26714 (CHOOSE_f64x): Likewise.
26716 2017-11-07 Andreas Schwab <schwab@suse.de>
26718 * nptl/Makefile (tests-internal): Remove tst-typesizes.
26720 2017-11-07 Mike FABIAN <mfabian@redhat.com>
26723 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
26725 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
26728 2017-11-07 Claude Paroz <claude@2xlibre.net>
26731 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
26733 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
26735 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
26738 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26741 * nptl/allocatestack.c (allocate_stack): Check if
26742 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
26743 __PTHREAD_MUTEX_HAVE_PREV is defined.
26744 * nptl/descr.h (pthread): Likewise.
26745 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26747 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26748 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26749 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
26750 * sysdeps/nptl/bits/thread-shared-types.h
26751 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26753 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
26754 of __WORDSIZE for internal layout.
26755 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
26756 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
26757 instead of __WORDSIZE whether to use an union for __spins and __list
26759 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
26761 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
26762 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26764 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
26765 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26767 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
26768 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26770 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
26771 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26773 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
26774 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26776 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
26777 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26779 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
26780 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26782 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
26783 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26785 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
26786 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26788 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
26789 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26791 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
26792 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26794 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
26795 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26797 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
26798 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26800 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
26801 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26803 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
26804 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26807 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
26809 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
26810 checks for expected input type size.
26811 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26812 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26814 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26815 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
26816 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26817 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
26818 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26819 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
26820 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
26821 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
26822 superflous runtime assert check.
26823 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
26825 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
26827 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26829 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
26831 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
26833 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
26835 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
26836 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
26837 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26839 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26841 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26843 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
26845 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26847 * nptl/pthread_attr_setinheritsched.c
26848 (__pthread_attr_setinheritsched): Likewise.
26849 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
26851 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
26853 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
26854 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
26855 __old_pthread_attr_setstack): Likewise.
26856 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26858 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26860 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
26862 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26863 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26865 * nptl/tst-typesizes.c: Remove file.
26867 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
26868 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
26869 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
26870 checks for internal pthread_mutex_t offsets.
26871 * sysdeps/aarch64/nptl/pthread-offsets.h
26872 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
26873 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
26874 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
26875 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
26876 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
26877 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
26878 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
26879 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
26880 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
26881 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
26882 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
26883 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
26884 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
26885 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
26886 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
26887 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
26888 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
26889 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
26891 2017-11-07 Florian Weimer <fweimer@redhat.com>
26893 * bits/mman-linux.h: Move ...
26894 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
26896 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
26899 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26901 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
26902 Redefine STRNLEN as __strnlen_power8.
26904 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26906 * signal/sighold.c (sighold): Optimize implementation.
26908 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
26909 __NR_rt_sigqueueinfo.
26911 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
26913 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
26914 assume __NR_rt_sigtimedwait.
26915 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
26916 and add LIBC_CANCEL_HANDLED for cancellation marking.
26917 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26919 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26920 (sysdeps_routines): Add memchr_noneon.
26921 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
26922 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
26923 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
26924 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
26925 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
26926 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
26927 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
26929 * sysdeps/arm/arm-ifunc.h: New file.
26930 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
26931 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
26932 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
26933 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
26934 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
26935 (__memcpy_neon): Avoid create hidden alias.
26936 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
26937 (__memcpy_vfp): Likewise.
26938 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26939 (sysdep_routines): Add memcpy_arm.
26940 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
26942 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
26945 * Makerules (make-link-multidir): New.
26946 * config.make.in (multidir): New.
26947 * configure.ac (libc_cv_multidir): New. AC_SUBST.
26948 * configure: Regenerated.
26949 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
26950 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
26951 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
26954 2017-11-06 Joseph Myers <joseph@codesourcery.com>
26957 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
26958 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
26960 2017-11-04 Mike FABIAN <mfabian@redhat.com>
26962 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
26965 2017-11-04 Florian Weimer <fweimer@redhat.com>
26967 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
26969 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26971 * math/math.h [__HAVE_DISTINCT_FLOAT16
26972 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26973 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26974 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26975 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
26976 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
26977 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
26978 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26979 (__MATH_TG_F32): New macro.
26980 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26981 (__MATH_TG_F64X): Likewise.
26982 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26983 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
26985 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
26987 * po/de.po: Update translations.
26988 * po/ru.po: Likewise.
26990 2017-11-03 Florian Weimer <fweimer@redhat.com>
26992 * manual/filesys.texi (Hard Links): Document linkat.
26994 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26996 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
26997 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26998 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26999 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
27000 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
27001 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
27002 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
27003 the same as _Float128.
27004 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
27005 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
27006 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
27009 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
27011 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
27013 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
27015 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27016 (strtof32x): Likewise.
27017 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27018 (strtof64x): Likewise.
27019 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27020 (strtof128x): Likewise.
27021 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27022 (strfromf16): Likewise.
27023 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27024 (strfromf32): Likewise.
27025 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27026 (strfromf64): Likewise.
27027 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27028 (strfromf32x): Likewise.
27029 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27030 (strfromf64x): Likewise.
27031 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27032 (strfromf128x): Likewise.
27033 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
27034 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
27035 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
27036 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
27037 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
27038 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
27040 2017-11-03 Richard Henderson <rth@twiddle.net>
27042 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
27044 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27046 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
27048 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27050 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
27051 DT_TLSDESC_GOT initialization.
27052 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
27053 (_dl_tlsdesc_resolve_hold): Likewise.
27054 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
27055 (_dl_tlsdesc_resolve_hold): Likewise.
27056 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
27057 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27059 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27061 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
27063 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27066 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
27067 non-lazily for R_ARM_TLS_DESC.
27069 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27072 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
27073 R_ARM_TLS_DESC case.
27074 (elf_machine_lazy_rel): Remove the prelink check.
27076 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27078 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
27079 DT_TLSDESC_GOT initialization.
27080 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
27081 (_dl_tlsdesc_resolve_rela): Likewise.
27082 (_dl_tlsdesc_resolve_hold): Likewise.
27083 (_dl_tlsdesc_undefweak): Remove ldar.
27084 (_dl_tlsdesc_dynamic): Likewise.
27085 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
27086 (_dl_tlsdesc_resolve_rela): Likewise.
27087 (_dl_tlsdesc_resolve_hold): Likewise.
27088 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
27089 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27090 (_dl_tlsdesc_resolve_rela): Likewise.
27091 (_dl_tlsdesc_resolve_hold): Likewise.
27093 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27095 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
27096 binding and initialization non-lazily for R_AARCH64_TLSDESC.
27098 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27100 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
27101 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27103 2017-11-02 Joseph Myers <joseph@codesourcery.com>
27105 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
27107 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
27108 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
27109 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
27110 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
27111 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
27112 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
27113 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
27114 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
27115 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
27116 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
27117 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
27119 2017-11-02 Mike FABIAN <mfabian@redhat.com>
27122 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
27123 * localedata/locales/tpi_PG: Add standard header.
27125 2017-11-02 Florian Weimer <fweimer@redhat.com>
27127 test-errno-linux: quotactl can fail with EPERM in containers.
27128 * sysdeps/unix/sysv/linux/test-errno-linux.c
27129 (LIST, LIST_FORWARD): New macros.
27130 (check_error_in_list): New function.
27131 (test_wrp_rv): Accept list of permitted error codes.
27132 (test_wrp_rv2): Remove.
27133 (test_wrp): Call test_wrp_rv with list of error codes.
27134 (test_wrp2): Accept list of error codes.
27135 (do_test): Adjust. Allow EPERM for quotactl.
27137 2017-11-02 Florian Weimer <fweimer@redhat.com>
27139 * stdio-common/bug16.c (do_test): Use array_length.
27140 * stdio-common/errlist.c (_sys_nerr): Likewise.
27141 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
27142 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
27143 * stdio-common/psiginfo.c (psiginfo): Use array_length.
27144 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
27145 (do_test): Use array_length.
27146 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
27147 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
27148 * stdio-common/tst-printf-round.c (do_test): Likewise.
27149 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
27150 (CHECK): Use array_length.
27151 * stdio-common/tstdiomisc.c (t3, F): Likewise.
27152 * stdio-common/tstscanf.c (main): Likewise.
27153 * stdio-common/vfprintf.c (process_string_arg): Likewise.
27155 2017-11-02 Florian Weimer <fweimer@redhat.com>
27157 Add array_length and array_end macros.
27158 * include/array_length.h: New file.
27160 2017-11-02 Florian Weimer <fweimer@redhat.com>
27163 * posix/tst-glob-tilde.c (do_noescape): New variable.
27164 (one_test): Process it.
27165 (do_test): Set do_noescape. Add unescaping test case.
27167 2017-11-01 Joseph Myers <joseph@codesourcery.com>
27170 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
27171 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
27172 with appropriate macros defined and undefined.
27173 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
27174 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27175 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
27176 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27177 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
27178 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27179 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
27180 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27181 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
27182 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27185 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
27186 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
27187 that for long double. Do not condition define and undefine of
27188 _Mdouble_complex_ on [__CFLOAT128].
27190 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
27192 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27193 of <sysdeps/generic/sysdep.h>.
27194 (ALIGNARG): Removed.
27195 (ASM_SIZE_DIRECTIVE): Likewise.
27198 (ENTRY_CHK): Likewise.
27199 (END_CHK): Likewise.
27200 (syscall_error): Likewise.
27201 (mcount): Likewise.
27202 (PSEUDO_END): Likewise.
27204 (atom_text_section): Likewise.
27205 * sysdeps/x86/sysdep.h: New file.
27206 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27207 of <sysdeps/generic/sysdep.h>.
27208 (ALIGNARG): Removed.
27209 (ASM_SIZE_DIRECTIVE): Likewise.
27212 (ENTRY_CHK): Likewise.
27213 (END_CHK): Likewise.
27214 (syscall_error): Likewise.
27215 (mcount): Likewise.
27216 (PSEUDO_END): Likewise.
27218 (atom_text_section): Likewise.
27220 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
27222 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
27223 category of LC_CTYPE set to "i18n:2012".
27224 * localedata/locales/i18n_ctype: Regenerate.
27226 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
27228 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
27229 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
27230 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27231 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27233 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
27234 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
27235 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
27236 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
27238 2017-10-31 Joseph Myers <joseph@codesourcery.com>
27241 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
27243 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
27245 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
27247 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27248 (CMPLXF32X): Likewise.
27249 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27250 (CMPLXF64X): Likewise.
27251 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27252 (CMPLXF128X): Likewise.
27255 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
27256 (__MATH_EVAL_FMT2): Define to add 0.0f.
27258 2017-10-31 Alan Modra <amodra@gmail.com>
27260 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
27262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
27263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
27264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
27265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
27266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
27267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
27268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
27269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
27270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
27271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
27272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
27273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
27274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
27275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
27276 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
27277 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
27278 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
27279 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
27280 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
27281 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
27282 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
27283 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
27284 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
27285 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
27286 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27287 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
27288 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
27289 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
27290 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
27291 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
27292 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27293 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27294 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
27295 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
27296 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
27297 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
27298 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
27299 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
27300 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
27301 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27302 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
27303 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
27304 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
27305 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
27306 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
27307 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
27308 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
27309 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
27310 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27311 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27312 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
27313 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
27314 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
27315 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
27316 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27317 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
27318 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
27319 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
27320 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27321 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27322 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27323 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
27324 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
27325 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27326 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
27327 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
27328 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
27329 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
27330 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
27332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
27333 include sysdep.h and math_ldbl_opt.h.
27335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
27336 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
27337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
27338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
27339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
27340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
27341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
27342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
27343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
27344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
27345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
27346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
27347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
27348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
27349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
27350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
27351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
27352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
27353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
27354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
27355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
27356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
27357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
27358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
27359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
27360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
27362 2017-10-31 Alan Modra <amodra@gmail.com>
27364 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
27365 string/strncase_l.c, not string/strncase.c.
27366 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
27367 (libc_hidden_def): Redefine.
27369 2017-10-31 Alan Modra <amodra@gmail.com>
27371 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
27372 (__STRCMP, STRCMP, __strcasecmp_l): Define.
27373 (__strcasecmp): Don't define.
27375 2017-10-31 Alan Modra <amodra@gmail.com>
27377 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
27379 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27380 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27381 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27383 2017-10-31 Alan Modra <amodra@gmail.com>
27385 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
27388 2017-10-31 Alan Modra <amodra@gmail.com>
27390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
27391 Redefine only when SHARED.
27393 2017-10-30 Joseph Myers <joseph@codesourcery.com>
27395 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27396 Include <bits/math-finite.h> with appropriate macros defined and
27398 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27399 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27400 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27401 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27402 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27404 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
27405 [!_Mlong_double_] (_Mlong_double_): Likewise.
27406 [!_Mfloat16_] (_Mfloat16_): Likewise.
27407 [!_Mfloat32_] (_Mfloat32_): Likewise.
27408 [!_Mfloat64_] (_Mfloat64_): Likewise.
27409 [!_Mfloat128_] (_Mfloat128_): Likewise.
27410 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
27411 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
27412 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
27413 (_Mdouble_): Define without indirection through those macros.
27414 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
27415 [!_Mfloat128_] (_Mfloat128_): Likewise.
27416 [_Mlong_double_] (_Mlong_double_): Likewise.
27417 (_Mdouble_): Define without indirection through those macros.
27418 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
27419 not add -D_Mlong_double_=double.
27420 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
27421 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
27423 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27425 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
27427 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27429 * sysdeps/x86/libc-start.c: Reformat.
27431 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27434 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
27435 (1): Renamed to ...
27438 (L(Src2)): Likewise.
27439 (L(1)): Renamed to ...
27442 2017-10-30 Joseph Myers <joseph@codesourcery.com>
27444 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
27445 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
27446 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
27447 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
27448 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
27449 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
27450 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
27451 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
27452 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
27453 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
27454 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
27455 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
27456 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
27457 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
27458 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
27459 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
27460 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
27461 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
27462 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
27463 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
27464 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
27465 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
27466 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
27467 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
27468 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
27469 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
27470 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
27471 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
27472 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
27473 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
27474 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
27475 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
27476 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
27477 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
27478 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
27479 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
27480 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
27481 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
27482 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
27483 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
27484 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
27485 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
27486 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
27487 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
27488 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
27489 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
27490 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
27491 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
27492 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
27493 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
27494 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
27495 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
27496 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
27497 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
27498 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
27499 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
27500 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
27501 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
27502 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
27503 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
27504 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
27505 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
27506 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
27507 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
27508 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
27509 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
27511 2017-10-30 Florian Weimer <fweimer@redhat.com>
27513 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
27515 * io/tst-mkdirat.c (do_test): Likewise.
27516 * io/tst-mkfifoat.c (do_test): Likewise.
27517 * io/tst-mknodat.c (do_test): Likewise.
27518 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
27519 * locale/programs/locale.c (select_dirs): Likewise.
27520 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
27521 * posix/bug-glob2.c (my_readdir): Likewise.
27522 * posix/tst-dir.c (main): Likewise.
27523 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
27524 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
27526 2017-10-30 Florian Weimer <fweimer@redhat.com>
27528 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
27531 2017-10-30 Florian Weimer <fweimer@redhat.com>
27533 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
27534 Convert to support/test-driver.c.
27535 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
27536 New macro parameters.
27537 (PRINTF): Remove macro. Use test_verbose conditionals instead.
27538 * posix/tst-gnuglob.c: New file.
27539 * posix/tst-gnuglob64.c: Likewise.
27540 * posix/Makefile (tests): Add tst-gnuglob64.
27542 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
27545 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
27546 and use a better translation for March in “mon”.
27547 * localedata/locales/csb_PL: Use more ASCII to improve the
27548 readability of the source.
27550 2017-10-30 Mike FABIAN <mfabian@redhat.com>
27553 * localedata/locales/km_KH: Use ASCII as much
27554 as possible for better readability of the source and
27555 remove useless comments.
27556 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
27557 was commented out and apparently wrong anyway because it was
27558 using Lao characters. If Buddhist era should be used
27559 for km_KH, a native speaker should write the correct formaat
27561 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
27562 (According to CLDR, the first weekday for Cambodia is Sunday).
27563 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
27564 (These were using Lao characters which must be wrong. If we get
27565 the correct data from a native speaker, we could add it back, until
27566 then it is better not to have name_mr and name_mrs at all than
27569 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
27571 * locale/loadlocale.c: Correct size of
27572 _nl_value_type_LC_<category> arrays.
27574 2017-10-27 Joseph Myers <joseph@codesourcery.com>
27576 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27577 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
27578 with appropriate macros defined and undefined.
27579 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27580 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27581 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27582 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27583 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27585 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
27587 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
27590 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27592 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
27593 with lowercase letters to make it agree with CLDR.
27595 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27598 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
27599 first letters of yesstr and nostr in yesexpr and noexpr,
27600 not for the full words.
27601 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27602 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
27603 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
27604 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
27605 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
27606 first letters of yesstr and nostr in yesexpr and noexpr,
27607 until now only English was matched in yesexpr and noexpr.
27608 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
27609 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
27610 fil but not for tl. As tl and fil are very similar, using fil
27611 is probably better than using English.
27613 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
27616 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
27617 in yesstr and nostr.
27619 2017-10-26 Joseph Myers <joseph@codesourcery.com>
27621 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27622 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
27623 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
27625 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
27627 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
27629 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
27631 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27632 (SNANF128X): Likewise.
27634 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27635 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
27636 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27637 (HUGE_VAL_F32): Likewise.
27638 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27639 (HUGE_VAL_F64): Likewise.
27640 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27641 (HUGE_VAL_F32X): Likewise.
27642 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27643 (HUGE_VAL_F64X): Likewise.
27644 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27645 (HUGE_VAL_F128X): Likewise.
27647 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
27649 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
27650 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
27651 for the br_FR locale.
27653 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
27656 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
27658 2017-10-25 Carlos O'Donell <carlos@redhat.com>
27660 * locale/programs/record-status.h: Define globals, and function
27661 prototypes. Move function bodies...
27662 * locale/programs/record-status.c: ... to here. New file.
27663 * iconv/Makefile (iconv_prog-modules): Add record-status.
27664 * locale/Makefile (lib-modules): Likewise.
27665 * iconv/iconv_prog.c: Remove verbose.
27666 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
27667 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
27668 record a warning about ASCII compatibility.
27669 * locale/programs/ld-monetary.c (monetary_finish): If
27670 warn_int_curr_symbol is true then record a warning about the symbol
27671 not being in our ISO 4217 list.
27672 * locale/programs/locale.c: Include record-status.h. Remove verbose.
27673 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
27674 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
27675 (OPT_NO_WARN): Define.
27676 (OPT_WARN): Define.
27677 (options): Add entry for --no-warnings, and --warnings.
27678 (set_warnings): New function to enable/disable warnings.
27679 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
27680 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
27681 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
27682 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
27683 Pass flags to generate_locale.
27684 (generate_locale): Accept new flag argument and pass it to localedef
27686 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
27687 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
27689 * localedata/Makefile (test-input-data): Use full file name.
27690 * localedata/da_DK.in: Rename to...
27691 * localedata/da_DK.ISO-8859-1.in: ...this.
27692 * localedata/de_DE.in: Rename to...
27693 * localedata/de_DE.ISO-8859-1.in: ...this.
27694 * localedata/en_US.in: Rename to...
27695 * localedata/en_US.ISO-8859-1.in: ...this.
27696 * localedata/fr_FR.in: Rename to...
27697 * localedata/fr_FR.UTF-8.in: ... this.
27698 * localedata/hr_HR.in: Rename to...
27699 * localedata/hr_HR.ISO-8859-2.in: ...this.
27700 * localedata/hu_HU.in: Rename to...
27701 * localedata/hu_HU.UTF-8.in: ...this.
27702 * localedata/si_LK.in: Rename to...
27703 * localedata/si_LK.UTF-8.in: ...this.
27704 * localedata/sv_SE.in: Rename to...
27705 * localedata/sv_SE.ISO-8859-1.in: ...this.
27706 * localedata/tr_TR.in: Rename to...
27707 * localedata/tr_TR.UTF-8.in: ...this.
27708 * localedata/uk_UA.in: Rename to...
27709 * localedata/uk_UA.UTF-8.in: ...this.
27710 * localedata/sort-test.sh: Test file is locale name with the
27713 * localedata/unicode-gen/Makefile (check_i18n): Rename to
27714 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
27716 * localedata/locales/i18n_ctype: Regenerate.
27717 * localedata/locales/tr_TR: Likewise.
27718 * localedata/locales/translit_circle: Likewise.
27719 * localedata/locales/translit_cjk_compat: Likewise.
27720 * localedata/locales/translit_combining: Likewise.
27721 * localedata/locales/translit_compat: Likewise.
27722 * localedata/locales/translit_font: Likewise.
27723 * localedata/locales/translit_fraction: Likewise.
27725 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27727 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
27728 lxvd2x/stxvd2x with lvx/stvx.
27729 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
27731 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
27733 * include/alloc_buffer.h: Replace "if if " with "if " in
27735 * sysdeps/mips/memcpy.S: Likkewise.
27736 * sysdeps/mips/memset.S: Likewise.
27737 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
27739 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
27741 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
27744 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27747 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
27748 yesexpr and noexpr.
27749 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27750 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27751 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27752 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27753 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27754 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27755 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27757 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27759 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
27760 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27761 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27762 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27763 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27764 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
27765 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27766 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27767 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27768 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27769 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27770 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27772 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27774 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
27775 as possible for better readability of the source.
27776 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
27777 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
27778 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
27779 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
27780 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
27781 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
27782 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
27783 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
27784 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27785 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
27786 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
27787 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
27788 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
27789 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
27790 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
27791 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
27792 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
27793 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
27794 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
27795 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
27796 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
27797 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
27798 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
27799 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
27800 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
27801 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
27802 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
27803 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
27804 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
27805 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
27806 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
27807 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27808 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
27809 * localedata/locales/en_US (LC_MESSAGES): Likewise.
27810 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
27811 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
27812 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
27813 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
27814 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
27815 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
27816 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
27817 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
27818 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
27819 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
27820 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
27821 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
27822 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
27823 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
27824 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
27825 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
27826 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
27827 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
27828 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
27829 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27830 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27831 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
27832 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
27833 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27834 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
27835 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
27836 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
27837 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
27838 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
27839 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
27840 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
27841 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
27842 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
27843 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
27844 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
27845 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
27846 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
27847 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
27848 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
27849 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
27850 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27851 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
27852 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
27853 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
27854 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
27855 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
27856 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
27857 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
27858 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
27859 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27860 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
27861 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
27862 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
27863 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27864 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
27865 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
27866 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
27867 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
27868 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27869 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
27870 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
27871 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27872 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
27873 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27874 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
27875 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
27876 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
27877 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
27878 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
27879 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
27880 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
27881 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
27882 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
27883 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
27884 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
27885 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
27886 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
27887 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
27888 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27889 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
27890 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
27891 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
27892 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
27893 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
27894 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
27895 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
27896 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
27897 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
27898 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
27899 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
27900 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
27901 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
27902 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
27903 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
27904 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
27905 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
27906 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
27907 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
27908 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
27909 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
27910 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
27911 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
27912 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
27913 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
27914 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
27915 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
27916 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
27917 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
27918 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
27919 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
27920 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
27921 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27922 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
27923 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
27924 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
27925 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
27926 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
27927 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
27928 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
27929 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
27930 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27931 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
27932 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
27933 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
27934 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
27935 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
27936 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
27937 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
27938 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
27939 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
27940 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
27941 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27942 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
27943 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
27944 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
27945 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
27946 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27947 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27948 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27949 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
27951 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27953 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
27954 (Use first letters of yesstr and nostr correctly instead of using
27957 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27959 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
27960 (Use first letters of yesstr and nostr correctly).
27962 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27964 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
27965 also check for the first characters of yesstr and nostr.
27966 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
27967 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
27969 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27971 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
27972 also check for Chinese characters.
27974 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27976 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
27977 match also for the contents of yesstr and nostr. As the first letter
27978 of yesstr and nostr is equal, checking only for the first letter
27981 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27983 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
27984 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
27986 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27988 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
27989 of main contributor.
27991 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27993 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
27994 instead of using English.
27996 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27998 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
27999 by including the first letters of nostr and yesexpr in the regexp.
28000 Also make it more readable by using ASCII where possible.
28002 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28004 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
28005 the first letter of nostr in the regexp. It agrees with CLDR now.
28006 Also make it more readable by using ASCII where possible.
28008 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28010 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
28011 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
28012 these strings contain a U+17D6 (which somewhat looks like a colon)
28013 instead of a real colon to separate the full words for “yes”
28014 and “no” from the single letter responses.
28016 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28018 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
28019 it agree with CLDR (include the first letter of yesstr).
28020 Also make it more readable by using ASCII where possible.
28022 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28024 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
28025 and improve yesexpr and noexpr. The yesstr and nostr apparently
28026 came from CLDR. And CLDR has a bug there: these strings contain
28027 a U+0903 (which looks like a colon) instead of a real colon
28028 to separate the full words for “yes” and “no” from the single
28031 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28033 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
28034 letters of the full yesstr and nostr in yesexpr and noexpr.
28036 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28038 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
28039 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
28040 * localedata/locales/an_ES: Make source more readable by using ASCII
28043 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28046 * localedata/locales/yuw_PG: New file.
28047 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
28048 * locale/iso-639.def: Add Yau (Uruwa).
28050 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28052 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
28054 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28056 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
28057 (__libc_realloc): Likewise.
28058 (_mid_memalign): Likewise.
28059 (__libc_calloc): Likewise.
28061 2017-10-23 Mike FABIAN <mfabian@redhat.com>
28063 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
28064 by adding the generic +1 and -0 as in all other locales.
28065 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
28066 day names and make it more readable by using ASCII where possible.
28068 2017-10-24 Joseph Myers <joseph@codesourcery.com>
28070 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
28071 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
28073 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28075 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
28076 WNOHANG in waitpid call.
28078 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
28080 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
28081 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
28083 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
28084 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
28085 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
28086 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
28087 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
28088 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
28089 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
28090 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
28093 2017-10-23 Michael Collison <michael.collison@arm.com>
28095 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
28096 with __builtin_sqrt.
28097 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
28098 with __builtin_sqrtf.
28099 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
28100 with __builtin_ceil.
28101 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
28102 with __builtin_ceilf.
28103 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
28104 with __builtin_floor.
28105 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
28106 with __builtin_floorf.
28107 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
28108 with __builtin_fma.
28109 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
28110 with __builtin_fmaf.
28111 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
28112 with __builtin_fmax.
28113 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
28114 with __builtin_fmaxf.
28115 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
28116 with __builtin_fmin.
28117 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
28118 with __builtin_fminf.
28119 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
28120 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
28121 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
28122 with builtin_rint and conversion to int.
28123 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
28124 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
28125 with builtin_llround.
28126 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
28127 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
28128 with builtin_rint and conversion to long int.
28129 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
28130 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
28131 with builtin_lround.
28132 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
28133 with builtin_lroundf.
28134 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
28135 statements with __builtin_nearbyint.
28136 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
28137 statements with __builtin_nearbyintf.
28138 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
28139 with __builtin_rint.
28140 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
28141 with __builtin_rintf.
28142 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
28143 with __builtin_round.
28144 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
28145 with __builtin_roundf.
28146 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
28147 with __builtin_trunc.
28148 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
28149 with __builtin_truncf.
28150 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
28151 and s_l[l]round[f].c too.
28153 2017-10-23 Alan Modra <amodra@gmail.com>
28155 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
28156 Adjust stack after restoring regs. Add missing LR cfi_restore.
28158 2017-10-23 Alan Modra <amodra@gmail.com>
28160 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
28161 Move LR save and frame setup/teardown and LR restore to
28162 immediately around memset call. Provide cfi.
28164 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28166 * sysdeps/i386/fpu/e_powf.S: Removed.
28167 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
28168 * sysdeps/i386/fpu/w_powf.c: Likewise.
28169 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
28170 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28171 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28173 (CFLAGS-e_powf-sse2.c): New.
28174 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
28175 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
28177 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28179 * sysdeps/i386/fpu/e_log2f.S: Removed.
28180 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
28181 * sysdeps/i386/fpu/w_log2f.c: Likewise.
28182 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
28183 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28184 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28186 (CFLAGS-e_log2f-sse2.c): New.
28187 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
28188 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
28190 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28192 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28194 (CFLAGS-e_powf-fma.c): New.
28195 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
28196 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
28198 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28200 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28202 (CFLAGS-e_log2f-fma.c): New.
28203 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
28204 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
28206 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28208 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28210 (CFLAGS-e_logf-fma.c): New.
28211 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
28212 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
28214 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28216 * sysdeps/i386/fpu/e_logf.S: Removed.
28217 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
28218 * sysdeps/i386/fpu/w_logf.c: Likewise.
28219 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
28220 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
28221 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28222 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28224 (CFLAGS-e_logf-sse2.c): New.
28225 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
28226 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
28228 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28230 * sysdeps/i386/fpu/e_exp2f.S: Removed.
28231 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
28232 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
28233 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28234 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28236 (CFLAGS-e_exp2f-sse2.c): New.
28237 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
28238 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
28240 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28242 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28244 (CFLAGS-e_exp2f-fma.c): New.
28245 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
28246 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
28248 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28250 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
28251 * sysdeps/i386/fpu/e_expf.S: Likewise.
28252 * sysdeps/i386/fpu/math_errf.c: Likewise.
28253 * sysdeps/i386/fpu/w_expf.c: Likewise.
28254 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
28255 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28256 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
28257 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
28258 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28259 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28260 Remove e_expf-ia32.
28261 (CFLAGS-e_expf-sse2.c): New.
28262 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
28263 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
28265 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28267 * sysdeps/x86_64/fpu/e_expf.S: Removed.
28268 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
28269 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
28270 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
28272 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
28274 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
28275 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28277 (__redirect_expf): This.
28278 (SYMBOL_NAME): Changed to expf.
28279 (__ieee754_expf): Renamed to ...
28281 (__GI___expf): This.
28282 (__ieee754_expf): Add strong_alias.
28283 (__expf_finite): Likewise.
28285 Include <sysdeps/ieee754/flt-32/e_expf.c>.
28287 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
28290 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
28293 2017-10-21 Florian Weimer <fweimer@redhat.com>
28295 * posix/Makefile (tests): Add tst-glob-tilde.
28296 (tests-special): Add tst-glob-tilde-mem.out
28297 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
28298 (tst-glob-tilde-mem.out): Add mtrace check.
28299 * posix/tst-glob-tilde.c: New file.
28301 2017-10-20 Joseph Myers <joseph@codesourcery.com>
28303 * bits/floatn-common.h: New file.
28304 * math/Makefile (headers): Add bits/floatn-common.h.
28305 * bits/floatn.h: Include <bits/floatn-common.h>.
28306 * sysdeps/ia64/bits/floatn.h: Likewise.
28307 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28308 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
28309 * sysdeps/powerpc/bits/floatn.h: Likewise.
28310 * sysdeps/x86/bits/floatn.h: Likewise.
28312 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28314 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
28315 indicates whether compiler emits an warning for alias for
28316 functions with incompatible types.
28319 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
28320 the auxiliary process is terminated by a signal before calling _exit
28323 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28326 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
28328 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
28329 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
28330 and bit_arch_XSAVEC_Usable if needed.
28331 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
28332 and bit_arch_Use_dl_runtime_resolve_opt.
28333 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
28335 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
28336 (bit_arch_Prefer_No_AVX512): Updated.
28337 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
28338 (bit_arch_XSAVEC_Usable): New.
28339 (STATE_SAVE_OFFSET): Likewise.
28340 (STATE_SAVE_MASK): Likewise.
28341 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
28342 (cpu_features): Add xsave_state_size and xsave_state_full_size.
28343 (index_arch_Use_dl_runtime_resolve_opt): Removed.
28344 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
28345 (index_arch_XSAVEC_Usable): New.
28346 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28347 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
28348 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
28350 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
28351 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
28352 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
28353 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
28354 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
28355 _dl_runtime_resolve_xsavec.
28356 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
28358 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
28359 instead of VEC_SIZE.
28360 (REGISTER_SAVE_BND0): Removed.
28361 (REGISTER_SAVE_BND1): Likewise.
28362 (REGISTER_SAVE_BND3): Likewise.
28363 (REGISTER_SAVE_RAX): Always defined to 0.
28365 (_dl_runtime_resolve_avx): Likewise.
28366 (_dl_runtime_resolve_avx_slow): Likewise.
28367 (_dl_runtime_resolve_avx_opt): Likewise.
28368 (_dl_runtime_resolve_avx512): Likewise.
28369 (_dl_runtime_resolve_avx512_opt): Likewise.
28370 (_dl_runtime_resolve_sse): Likewise.
28371 (_dl_runtime_resolve_sse_vex): Likewise.
28373 (_dl_runtime_resolve_fxsave): Likewise.
28374 (USE_XSAVE): Likewise.
28375 (_dl_runtime_resolve_xsave): Likewise.
28376 (USE_XSAVEC): Likewise.
28377 (_dl_runtime_resolve_xsavec): Likewise.
28378 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
28380 (_dl_runtime_resolve_avx512_opt): Likewise.
28381 (_dl_runtime_resolve_avx): Likewise.
28382 (_dl_runtime_resolve_avx_opt): Likewise.
28383 (_dl_runtime_resolve_sse): Likewise.
28384 (_dl_runtime_resolve_sse_vex): Likewise.
28385 (_dl_runtime_resolve_fxsave): New.
28386 (_dl_runtime_resolve_xsave): Likewise.
28387 (_dl_runtime_resolve_xsavec): Likewise.
28389 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
28393 * posix/glob.c (__glob): Fix one-byte overflow.
28395 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28397 * malloc/malloc.c (sysdep-cancel.h): Add include.
28399 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28401 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
28403 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
28405 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
28406 (tests): Remove $(objpfx)ga_test depdendency.
28407 * resolv/ga_test.c: Remove file.
28409 2017-10-20 Mike FABIAN <mfabian@redhat.com>
28412 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
28413 * localedata/locales/kab_DZ: New file.
28415 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28417 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
28418 _dl_relocate_static_pie instead of _dl_start to compute load
28419 address in static PIE.
28421 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28423 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
28425 2017-10-20 Mike FABIAN <mfabian@redhat.com>
28428 * localedata/SUPPORTED: Add shn_MM/UTF-8.
28429 * localedata/locales/shn_MM: New file.
28431 2017-10-20 Florian Weimer <fweimer@redhat.com>
28434 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
28435 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
28436 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
28437 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
28438 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
28439 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
28441 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
28443 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28445 2017-10-19 Joseph Myers <joseph@codesourcery.com>
28447 * sysdeps/mips/ieee754/bits/floatn.h: New file.
28450 * sysdeps/mips/bits/long-double.h: Move to ....
28451 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
28453 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
28455 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
28457 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
28458 H.J. Lu <hongjiu.lu@intel.com>
28461 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
28462 GLRO(dl_platform) to NULL.
28463 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
28464 (modules-names): Add tst-platformmod-1 and
28465 x86_64/tst-platformmod-2.
28466 (CFLAGS-tst-platform-1.c): New.
28467 (CFLAGS-tst-platformmod-1.c): Likewise.
28468 (CFLAGS-tst-platformmod-2.c): Likewise.
28469 (LDFLAGS-tst-platformmod-2.so): Likewise.
28470 ($(objpfx)tst-platform-1): Likewise.
28471 ($(objpfx)tst-platform-1.out): Likewise.
28472 (tst-platform-1-ENV): Likewise.
28473 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
28474 * sysdeps/x86_64/tst-platform-1.c: New file.
28475 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
28476 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
28478 2017-10-19 Mike FABIAN <mfabian@redhat.com>
28481 * locale/iso-639.def: Add Karbi.
28482 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
28483 * localedata/locales/mjw_IN: New file.
28485 2017-10-18 Joseph Myers <joseph@codesourcery.com>
28487 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
28488 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28489 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
28490 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
28491 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28492 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28493 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
28495 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28496 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28497 * manual/math.texi (Mathematics): Document additional architecture
28498 support for _Float128.
28499 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
28500 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
28501 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28502 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28503 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28504 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28505 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28506 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28507 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28508 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28509 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28510 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28511 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28512 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28513 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28515 2017-10-18 Renlin Li <renlin.li@arm.com>
28517 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
28518 _DYNAMIC symbol to calculate load address.
28520 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
28522 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
28523 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
28525 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
28526 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
28528 2017-10-18 Mike FABIAN <mfabian@redhat.com>
28531 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
28532 and improve readability by using more ASCII.
28533 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
28534 and improve readability by using more ASCII.
28536 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
28538 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
28539 not all targets support atomics on bool.
28541 2017-10-17 Joseph Myers <joseph@codesourcery.com>
28543 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
28544 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
28546 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28547 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
28548 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28549 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
28550 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28551 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
28553 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28555 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
28558 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28561 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
28562 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
28563 (do_check_remalloced_chunk): Fix build bug.
28564 (do_check_malloc_state): Add assert that checks arena->top.
28565 (malloc_consolidate): Remove initialization.
28566 (int_mallinfo): Remove call to malloc_consolidate.
28567 (__libc_mallopt): Clarify why malloc_consolidate is needed.
28569 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28571 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
28572 (have_fastchunks): Remove.
28573 (clear_fastchunks): Remove.
28574 (set_fastchunks): Remove.
28575 (malloc_state): Add have_fastchunks.
28576 (malloc_init_state): Use have_fastchunks.
28577 (do_check_malloc_state): Remove incorrect invariant checks.
28578 (_int_malloc): Use have_fastchunks.
28579 (_int_free): Likewise.
28580 (malloc_consolidate): Likewise.
28582 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28584 * malloc/malloc.c (tcache_put): Inline.
28585 (tcache_get): Inline.
28587 2017-10-17 Jordi Mallach <jordi@gnu.org>
28589 Aurelien Jarno <aurelien@aurel32.net>
28591 * localedata/locales/ca_ES@valencia: New file.
28592 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
28594 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
28597 * math/math.h: Let signbit use the builtin in C++ mode with gcc
28600 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28602 * scripts/build-many-glibcs.py (Context.add_all_configs):
28603 Add arm-linux-gnueabihf multiarch extra_glibcs.
28605 * sysdeps/generic/ifunc-init.h: New file.
28606 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
28608 2017-10-17 Mike FABIAN <mfabian@redhat.com>
28611 * localedata/locales/el_GR: Set n_cs_precedes to 0.
28612 * localedata/locales/el_CY: copy "el_GR" because it is identical.
28613 * stdlib/tst-strfmon_l.c: adapt test case.
28615 2017-10-16 Joseph Myers <joseph@codesourcery.com>
28617 * sysdeps/generic/float128-abi.h: New file.
28618 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
28619 non-__prefixed symbols to ....
28620 * math/Versions: ... here. Include <float128-abi.h>.
28621 * stdlib/Versions ... and here. Include <float128-abi.h>
28623 2017-10-16 Florian Weimer <fweimer@redhat.com>
28625 * version.h (VERSION): Switch to ".9000" as the development
28628 2017-10-16 Florian Weimer <fweimer@redhat.com>
28631 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
28632 compat_symbol_reference to access non-default version.
28634 2017-10-16 Florian Weimer <fweimer@redhat.com>
28636 * malloc/Makefile (others-extras): Set to mcheck-init.o.
28638 2017-10-16 Carlos O'Donell <carlos@redhat.com>
28640 * include/shlib-compat.h (compat_symbol_reference): Update
28643 2017-10-16 Joseph Myers <joseph@codesourcery.com>
28645 * math/Makefile (test-types): Add
28646 $(type-float128-$(float128-alias-fcts)).
28647 * math/test-float128.h (TYPE_STR): Define conditional on
28648 [FLT128_MANT_DIG == LDBL_MANT_DIG].
28649 (ULP_IDX): Likewise.
28650 (ULP_I_IDX): Likewise.
28652 * stdlib/strtold.c: Include <bits/floatn.h>
28653 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
28654 and later undefine as macro. Define as weak alias if
28656 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
28657 and later undefine as macro. Define as weak alias if
28659 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
28660 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
28661 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
28662 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28663 Define and later undefine as macro. Define as weak alias if
28665 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
28667 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
28668 Define and later undefine as macro. Define as weak alias if
28670 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28671 Define and later undefine as macro. Define as weak alias if
28674 2017-10-15 Carlos O'Donell <carlos@redhat.com>
28676 * localedata/collate-test.c (allocate_arrays): Don't use \n in
28677 record_verbose messages.
28679 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
28682 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
28683 to silence -O3 -Wall warning with GCC 7.
28685 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
28687 * Makeconfig (+link-static-before-libc): Use the first of
28688 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
28689 * gmon/Makefile (tests): Add tst-gmon-static.
28690 (tests-static): Likewise.
28691 (CFLAGS-tst-gmon-static.c): New.
28692 (CRT-tst-gmon-static): Likewise.
28693 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
28694 (tst-gmon-static-ENV): Likewise.
28695 (tests-special): Likewise.
28696 ($(objpfx)tst-gmon-static.out): Likewise.
28697 (clean-tst-gmon-static-data): Likewise.
28698 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
28699 * gmon/tst-gmon-static-gprof.sh: New file.
28700 * gmon/tst-gmon-static.c: Likewise.
28702 2017-10-13 Carlos O'Donell <carlos@redhat.com>
28705 * locale/programs/linereader.c (get_string): Don't warn on
28706 non-symbolic character.
28709 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
28713 * locale/programs/record-status.h: New file
28714 * locale/programs/locale.c: Add comment.
28715 * locale/programs/charmap-dir.c: Don't include error.h.
28716 (charmap_opendir): Use record_error.
28717 * locale/programs/charmap.c: Don't include error.h.
28718 (charmap_read): Use record_error, and record_warning.
28719 (parse_charmap): Likewise.
28720 * locale/programs/ld-address.c: Don't include error.h.
28721 (address_finish): Use record_error, and record_warning.
28722 * locale/programs/ld-collate.c: Don't include error.h.
28723 (collate_finish): Use record_error, and record_error_at_line.
28724 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
28725 (ctype_class_new): Likewise.
28726 (ctype_map_new): Likewise.
28727 (set_one_default): Likewise.
28728 (set_class_defaults): Likewise.
28729 (translit_flatten): Likewise.
28730 (allocate_arrays): Use record_error, and record_verbose.
28731 * locale/programs/ld-identification.c: Don't include error.h.
28732 (indentation_finish): Use record_error and record_warning.
28733 * locale/programs/ld-measurement.c: Don't include error.h.
28734 (measurement_finish): Use record_error.
28735 * locale/programs/ld-messages.c
28736 (message_finish): Likewise.
28737 * locale/programs/ld-monetary.c
28738 (monetary_finish): Likewise.
28739 * locale/programs/ld-name.c (name_finish): Use record_error
28740 and record_warning.
28741 * locale/programs/ld-numeric.c
28742 (numeric_finish): Use record_error.
28743 * locale/programs/ld-paper.c: Don't include error.h.
28744 (paper_finish): Use record_error.
28745 * locale/programs/ld-telephone.c: Don't include error.h.
28746 (telephone_finish): Use record_error.
28747 * locale/programs/ld-time.c (time_finish): Likewise.
28748 * locale/programs/linereader.h (lr_error): Make inline func.
28749 * locale/programs/localedef.c: Define recorded_warning_count,
28750 and recorded_error_count.
28751 (main): Use record_error. Use recorded_error_count and
28752 recorded_warning_count to issue correct error returns.
28753 (add_to_readlist): Use record_error.
28754 (find_locale): Likewise.
28755 (load_locale): Likewise.
28756 * locale/programs/localedef.h: Remove be_quiet
28757 and WITH_CUR_LOCALE.
28758 * locale/programs/locarchive.c (compare_from_file): Use
28760 * locale/programs/locfile.c (write_locale_data): Use
28762 * locale/programs/repertoire.c: Dont include error.h.
28763 (repertoire_complain): Use record_error.
28764 * localedata/tst-fmon.sh: Expect failures from localedef.
28765 * localedata/tst-locale.sh: Likewise.
28766 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
28768 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
28769 (REPORTS): Likewise.
28771 (i18n): Rename to...
28772 (i18n_ctype): ...this.
28773 (i18n-report): Rename to...
28774 (i18n_ctype-report): ...this.
28775 * localedata/locales/i18n_ctype: Regenerate.
28776 * localedata/locales/i18n: copy i18n_ctype.
28778 2017-10-13 Joseph Myers <joseph@codesourcery.com>
28780 * stdlib/strfroml.c: Include <bits/floatn.h>.
28781 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
28782 Define before include of <stdlib.h> and undefine afterwards, then
28783 define as weak alias.
28785 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
28786 Undefine and restore default definition. Use
28787 libm_alias_ldouble_other.
28789 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
28792 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
28795 2017-10-13 James Clarke <jrtc27@jrtc27.com>
28797 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28798 Assign sym_map to be map for local symbols, as TLS relocations
28799 use sym_map to determine whether the symbol is defined and to
28800 extract the TLS information.
28801 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28802 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28804 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28807 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
28808 (math_force_eval): Add powerpc version.
28811 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
28813 (do_test): Likewise.
28814 * stdio-common/tst-printf.sh: Likewise.
28815 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
28816 ifdef clause in order to set the carry bit right. Replace r0 by
28817 0 without changing the behavior.
28819 2017-10-13 Joseph Myers <joseph@codesourcery.com>
28821 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
28822 <libm-alias-ldouble.h>.
28823 (fabsl): Define using libm_alias_ldouble.
28824 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
28825 <libm-alias-ldouble.h>.
28826 (fabsl): Define using libm_alias_ldouble.
28828 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
28829 Remove conditional code.
28831 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
28832 Rename to __clog10_internal_l.
28833 (__clog10_internal_l): Define aliases using
28834 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
28837 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28839 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
28840 * benchtests/sincosf-inputs: New file.
28841 * benchtests/cosf-inputs: New file.
28842 * benchtests/sinf-inputs: New file.
28844 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
28846 * posix/tst-spawn.c (do_test): Wait for both children.
28848 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
28851 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
28852 tests-pie): Add tst-gmon-pie.
28853 (CFLAGS-tst-gmon-pie.c): New.
28854 (CRT-tst-gmon-pie): Likewise.
28855 (tst-gmon-pie-ENV): Likewise.
28856 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
28857 ($(objpfx)tst-gmon-pie.out): Likewise.
28858 (clean-tst-gmon-pie-data): Likewise.
28859 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
28860 * gmon/gmon.c [PIC]: Include <link.h>.
28861 [PIC] (callback): New function.
28862 (write_hist): Add an argument for load address. Subtract load
28864 (write_call_graph): Likewise.
28865 (write_gmon): Call __dl_iterate_phdr to get load address, pass
28866 it to write_hist and write_call_graph.
28867 * gmon/tst-gmon-pie.c: New file.
28869 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28871 * math/Makefile (test-types-basic): New variable.
28872 (test-types): Likewise.
28873 (libm-test-support): Use $(test-types) instead of $(types).
28874 (libm-tests-base-normal): Likewise.
28875 (libm-tests-base-finite): Likewise.
28876 (libm-tests-base-inline): Likewise.
28877 (generated): Likewise.
28878 ($(objpfx)libm-test-support-$(t).c): Likewise.
28879 (libm-tests-for-type iterator): Likewise.
28880 (libm-test-support iterator): Likewise.
28881 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
28882 (ulp_idx): Use ULP_IDX.
28883 * math/test-ldouble.h: Include <float.h>.
28884 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
28885 (ULP_IDX): New macro.
28886 (ULP_I_IDX): Likewise.
28887 * math/test-double.h (ULP_IDX): Likewise.
28888 (ULP_I_IDX): Likewise.
28889 * math/test-float.h (ULP_IDX): Likewise.
28890 (ULP_I_IDX): Likewise.
28891 * math/test-float128.h (ULP_IDX): Likewise.
28892 (ULP_I_IDX): Likewise.
28894 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28896 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
28897 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28898 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28899 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
28900 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28901 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
28902 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
28903 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28904 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28905 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28906 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
28907 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28908 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28909 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28910 (SINGLE_THREAD_BY_GLOBAL): Define.
28911 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28913 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28915 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28917 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28919 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
28920 (SINGLE_THREAD_BY_GLOBAL): Likewise.
28921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28924 2017-10-11 Andreas Schwab <schwab@suse.de>
28926 * nis/Makefile (aux): Remove.
28927 * nscd/Makefile (aux): Add nscd_hash.
28928 (nscd-modules): Likewise.
28929 ($(objpfx)nscd): Don't depend on libnsl.
28930 * nscd/nscd_hash.c: New file.
28931 * nscd/nscd_hash.h: Likewise.
28932 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
28933 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
28934 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
28935 instead of <nis/rpcsvc/nis.h>.
28936 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
28938 2017-10-11 Florian Weimer <fweimer@redhat.com>
28941 Avoid large NSS buffers with many addresses, aliases.
28942 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
28943 using dynarrays and struct alloc_buffer.
28944 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
28945 (tst-nss-files-hosts-multi): Link with -ldl.
28946 * nss/tst-nss-files-hosts-multi.c: New file.
28948 2017-10-11 Florian Weimer <fweimer@redhat.com>
28951 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
28952 scratch_buffer. Eliminate gotos.
28954 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28956 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
28957 libm_alias_ldouble_other.
28958 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
28959 undefine and redefine.
28960 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28961 (exp10l): Do not define here.
28962 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
28963 (weak_alias): Undefine and redefine.
28964 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
28965 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28966 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
28967 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
28969 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
28970 [!__fma] (fma): Define using libm_alias_double.
28971 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
28972 [!__fmaf] (fmaf): Define using libm_alias_float.
28973 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
28974 (fmal): Define using libm_alias_ldouble.
28976 2017-10-10 Joseph Myers <joseph@codesourcery.com>
28978 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
28980 (libm_alias_double_other): Likewise.
28981 (libm_alias_double_r): Use libm_alias_double_other_r.
28982 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
28984 (libm_alias_float_other): Likewise.
28985 (libm_alias_float_r): Use libm_alias_float_other_r.
28986 * sysdeps/generic/libm-alias-float128.h
28987 (libm_alias_float128_other_r): New macro.
28988 (libm_alias_float128_other): Likewise.
28989 (libm_alias_float128_r): Use libm_alias_float128_other_r.
28990 * sysdeps/generic/libm-alias-ldouble.h
28991 (libm_alias_ldouble_other_r): New macro.
28992 (libm_alias_ldouble_other): Likewise.
28993 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28994 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
28995 (libm_alias_double_other_r): New macro.
28996 (libm_alias_double_other): Likewise.
28997 (libm_alias_double_r): Use libm_alias_double_other_r.
28998 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
28999 (libm_alias_ldouble_other_r): New macro.
29000 (libm_alias_ldouble_other): Likewise.
29001 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
29002 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
29003 [!USE_AS_COMPAT]: Use libm_alias_double_other.
29004 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
29005 [!USE_AS_COMPAT]: Use libm_alias_float_other.
29006 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
29007 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
29008 * math/w_exp2f.c: Use libm_alias_float_other.
29009 * math/w_expf.c: Likewise.
29010 * math/w_log2f.c: Likewise.
29011 * math/w_logf.c: Likewise.
29012 * math/w_powf.c: Likewise.
29013 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
29014 [!__exp2f]: Use libm_alias_float_other.
29015 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
29016 [!__expf]: Use libm_alias_float_other.
29017 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
29018 [!__log2f]: Use libm_alias_float_other.
29019 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
29020 [!__logf]: Use libm_alias_float_other.
29021 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
29022 [!__powf]: Use libm_alias_float_other.
29024 2017-10-10 Florian Weimer <fweimer@redhat.com>
29026 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
29028 (_nss_files_gethostbyname3_r): Call it.
29030 2017-10-09 Joseph Myers <joseph@codesourcery.com>
29032 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
29033 error. Remove default definition of declare_mgen_alias.
29034 [!declare_mgen_alias_r]: Likewise.
29035 * sysdeps/generic/math-type-macros-double.h
29036 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
29037 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
29038 (declare_mgen_alias_r): Likewise.
29039 * sysdeps/generic/math-type-macros-float128.h
29040 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29041 * sysdeps/generic/math-type-macros-ldouble.h
29042 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29043 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
29045 (declare_mgen_alias_r_s): Likewise.
29046 (declare_mgen_alias_r): Likewise.
29047 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
29048 (lgamma_r): Define using libm_alias_double_r.
29049 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
29050 (lgammaf_r): Define using libm_alias_float_r.
29051 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
29052 (lgammal_r): Define using libm_alias_ldouble_r.
29053 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
29054 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29056 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29058 * lib/glob.c (__glob_pattern_type): Remove now-spurious
29059 extern declaration.
29061 2017-10-09 Joseph Myers <joseph@codesourcery.com>
29063 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
29065 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
29068 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
29069 [__cplusplus >= 201103] (__USE_ISOC99): Define.
29070 * math/Makefile (test-math-cxx11): New test.
29071 * math/test-math-cxx11.cc: New file.
29073 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
29075 * login/openpty.c (openpty): Close slave pty file descriptor on error.
29077 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
29078 call to allocate the slave pty file descriptor.
29080 2017-10-06 Joseph Myers <joseph@codesourcery.com>
29082 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
29083 [!__fma] (fma): Define using libm_alias_double.
29084 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
29085 [!__fma] (fma): Define using libm_alias_double.
29087 * sysdeps/ieee754/float128/float128_private.h: Include
29088 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
29089 (libm_alias_ldouble_r): Undefine and redefine.
29090 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
29091 <libm-alias-ldouble.h>.
29092 (asinhl): Define using libm_alias_ldouble.
29093 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
29094 <libm-alias-ldouble.h>.
29095 (atanl): Define using libm_alias_ldouble.
29096 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
29097 <libm-alias-ldouble.h>.
29098 (cbrtl): Define using libm_alias_ldouble.
29099 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
29100 <libm-alias-ldouble.h>.
29101 (ceill): Define using libm_alias_ldouble.
29102 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
29103 <libm-alias-ldouble.h>.
29104 (copysignl): Define using libm_alias_ldouble.
29105 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
29106 <libm-alias-ldouble.h>.
29107 (cosl): Define using libm_alias_ldouble.
29108 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
29109 <libm-alias-ldouble.h>.
29110 (erfl): Define using libm_alias_ldouble.
29112 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
29113 <libm-alias-ldouble.h>.
29114 (expm1l): Define using libm_alias_ldouble.
29115 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
29116 <libm-alias-ldouble.h>.
29117 (fabsl): Define using libm_alias_ldouble.
29118 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
29119 <libm-alias-ldouble.h>.
29120 (floorl): Define using libm_alias_ldouble.
29121 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
29122 <libm-alias-ldouble.h>.
29123 (fmal): Define using libm_alias_ldouble.
29124 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
29125 <libm-alias-ldouble.h>.
29126 (frexpl): Define using libm_alias_ldouble.
29127 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
29128 libm_alias_ldouble.
29129 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
29130 <libm-alias-ldouble.h>.
29131 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
29132 libm_alias_ldouble.
29133 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
29134 <libm-alias-ldouble.h>.
29135 (getpayloadl): Define using libm_alias_ldouble.
29136 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
29137 <libm-alias-ldouble.h>.
29138 (llrintl): Define using libm_alias_ldouble.
29139 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
29140 <libm-alias-ldouble.h>.
29141 (llroundl): Define using libm_alias_ldouble.
29142 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
29143 <libm-alias-ldouble.h>.
29144 (logbl): Define using libm_alias_ldouble.
29145 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
29146 <libm-alias-ldouble.h>.
29147 (lrintl): Define using libm_alias_ldouble.
29148 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
29149 <libm-alias-ldouble.h>.
29150 (lroundl): Define using libm_alias_ldouble.
29151 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
29152 <libm-alias-ldouble.h>.
29153 (modfl): Define using libm_alias_ldouble.
29154 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
29155 <libm-alias-ldouble.h>.
29156 (nearbyintl): Define using libm_alias_ldouble.
29157 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
29158 <libm-alias-ldouble.h>.
29159 (nextafterl): Define using libm_alias_ldouble.
29160 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
29161 <libm-alias-ldouble.h>.
29162 (nextupl): Define using libm_alias_ldouble.
29163 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
29164 <libm-alias-ldouble.h>.
29165 (remquol): Define using libm_alias_ldouble.
29166 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
29167 <libm-alias-ldouble.h>.
29168 (rintl): Define using libm_alias_ldouble.
29169 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
29170 <libm-alias-ldouble.h>.
29171 (roundevenl): Define using libm_alias_ldouble.
29172 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
29173 <libm-alias-ldouble.h>.
29174 (roundl): Define using libm_alias_ldouble.
29175 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
29176 using libm_alias_ldouble.
29177 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
29178 <libm-alias-ldouble.h>.
29179 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
29180 Define using libm_alias_ldouble.
29181 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
29182 <libm-alias-ldouble.h>.
29183 (sincosl): Define using libm_alias_ldouble.
29184 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
29185 <libm-alias-ldouble.h>.
29186 (sinl): Define using libm_alias_ldouble.
29187 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
29188 <libm-alias-ldouble.h>.
29189 (tanhl): Define using libm_alias_ldouble.
29190 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
29191 <libm-alias-ldouble.h>.
29192 (tanl): Define using libm_alias_ldouble.
29193 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
29194 <libm-alias-ldouble.h>.
29195 (totalorderl): Define using libm_alias_ldouble.
29196 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
29197 <libm-alias-ldouble.h>.
29198 (totalordermagl): Define using libm_alias_ldouble.
29199 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
29200 <libm-alias-ldouble.h>.
29201 (truncl): Define using libm_alias_ldouble.
29202 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
29203 libm_alias_ldouble.
29204 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
29205 libm_alias_ldouble.
29206 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
29207 <libm-alias-ldouble.h>.
29208 (weak_alias): Do not undefine and redefine.
29209 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29210 (copysignl): Define with long_double_symbol only if [IS_IN
29212 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
29213 <libm-alias-ldouble.h>.
29214 (weak_alias): Do not undefine and redefine.
29215 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29216 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
29217 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
29218 <libm-alias-ldouble.h>.
29219 (weak_alias): Do not undefine and redefine.
29220 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29221 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
29222 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
29223 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
29224 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
29225 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
29226 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
29227 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
29228 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
29229 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
29230 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
29231 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
29232 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
29233 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
29234 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
29235 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
29236 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
29237 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
29238 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
29239 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
29240 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
29241 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
29242 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
29243 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
29244 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
29245 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
29247 2017-10-06 Carlos O'Donell <carlos@redhat.com>
29250 * malloc/malloc.c (tcache_shutting_down): Use bool type.
29251 (tcache_thread_freeres): Set tcache_shutting_down before
29252 freeing the tcache.
29253 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
29254 * malloc/tst-malloc-tcache-leak.c: New file.
29256 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29258 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
29259 back to powerpc32 file.
29260 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29261 (memrchr): Add __memrchr_power8 to ifunc list.
29262 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
29263 extra bytes for unaligned inputs.
29265 2017-10-06 Joseph Myers <joseph@codesourcery.com>
29267 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
29268 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
29269 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
29270 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29271 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29273 2017-10-05 Joseph Myers <joseph@codesourcery.com>
29275 * sysdeps/arm/libm-test-ulps: Update.
29277 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
29278 <libm-alias-ldouble.h>.
29279 (asinhl): Define using libm_alias_ldouble.
29280 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
29281 <libm-alias-ldouble.h>.
29282 (cbrtl): Define using libm_alias_ldouble.
29283 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
29284 <libm-alias-ldouble.h>.
29285 (copysignl): Define using libm_alias_ldouble.
29286 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
29287 <libm-alias-ldouble.h>.
29288 (cosl): Define using libm_alias_ldouble.
29289 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
29290 <libm-alias-ldouble.h>.
29291 (erfl): Define using libm_alias_ldouble.
29293 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
29294 <libm-alias-ldouble.h>.
29295 (fmal): Define using libm_alias_ldouble.
29296 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
29297 <libm-alias-ldouble.h>.
29298 (frexpl): Define using libm_alias_ldouble.
29299 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
29300 libm_alias_ldouble.
29301 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
29302 <libm-alias-ldouble.h>.
29303 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
29304 libm_alias_ldouble.
29305 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
29306 <libm-alias-ldouble.h>.
29307 (getpayloadl): Define using libm_alias_ldouble.
29308 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
29309 <libm-alias-ldouble.h>.
29310 (llrintl): Define using libm_alias_ldouble.
29311 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
29312 <libm-alias-ldouble.h>.
29313 (llroundl): Define using libm_alias_ldouble.
29314 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
29315 <libm-alias-ldouble.h>.
29316 (lrintl): Define using libm_alias_ldouble.
29317 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
29318 <libm-alias-ldouble.h>.
29319 (lroundl): Define using libm_alias_ldouble.
29320 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
29321 <libm-alias-ldouble.h>.
29322 (modfl): Define using libm_alias_ldouble.
29323 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
29324 <libm-alias-ldouble.h>.
29325 (nextupl): Define using libm_alias_ldouble.
29326 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
29327 <libm-alias-ldouble.h>.
29328 (remquol): Define using libm_alias_ldouble.
29329 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
29330 <libm-alias-ldouble.h>.
29331 (roundevenl): Define using libm_alias_ldouble.
29332 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
29333 <libm-alias-ldouble.h>.
29334 (roundl): Define using libm_alias_ldouble.
29335 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
29336 using libm_alias_ldouble.
29337 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
29338 <libm-alias-ldouble.h>.
29339 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
29340 <libm-alias-ldouble.h>.
29341 (setpayloadsigl): Define using libm_alias_ldouble.
29342 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
29343 <libm-alias-ldouble.h>.
29344 (sincosl): Define using libm_alias_ldouble.
29345 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
29346 <libm-alias-ldouble.h>.
29347 (sinl): Define using libm_alias_ldouble.
29348 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
29349 <libm-alias-ldouble.h>.
29350 (tanhl): Define using libm_alias_ldouble.
29351 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
29352 <libm-alias-ldouble.h>.
29353 (tanl): Define using libm_alias_ldouble.
29354 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
29355 <libm-alias-ldouble.h>.
29356 (totalorderl): Define using libm_alias_ldouble.
29357 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
29358 <libm-alias-ldouble.h>.
29359 (totalordermagl): Define using libm_alias_ldouble.
29360 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
29361 libm_alias_ldouble.
29362 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
29363 libm_alias_ldouble.
29365 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
29367 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
29369 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
29370 (__libc_ifunc_impl_list): Likewise.
29371 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
29372 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
29374 * benchtests/bench-memmove-walk.c: New file.
29375 * benchtests/Makefile (string-benchset): Add it.
29377 * benchtests/bench-memset-walk.c: New file.
29378 * benchtests/Makefile (string-benchset): Add it.
29380 * benchtests/bench-memcpy-walk.c: New file.
29381 * benchtests/Makefile (string-benchset): Add it.
29383 2017-10-05 Florian Weimer <fweimer@redhat.com>
29385 nscd: Eliminate compilation time dependency in the build output.
29386 * nscd/nscd_stat.c (STATDATA_VERSION)
29387 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
29388 (STATDATA_VERSION_FULL): New macro definitions.
29389 (compilation): Remove.
29390 (struct statdata): Adjust version member.
29391 (send_stats): Set version from STATDATA_VERSION_FULL.
29392 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
29394 2017-10-05 Joseph Myers <joseph@codesourcery.com>
29396 * configure.ac (--enable-add-ons): Remove option.
29397 (machine): Do not mention add-ons in comment.
29398 (LIBC_PRECONFIGURE): Likewise.
29399 (add_ons): Remove variable and sanity checks and logic to locate
29401 (add_ons_automatic): Remove variable.
29402 (configured_add_ons): Likewise.
29403 (add_ons_sfx): Likewise.
29404 (add_ons_pfx): Likewise.
29405 (add_on_subdirs): Likewise.
29406 (sysnames_add_ons): Likewise. Remove loop over add-ons and
29407 consideration of add-ons in Implies handling.
29408 (sysdeps_add_ons): Likewise.
29409 * configure: Regenerated.
29410 * libidn/configure.ac: Remove.
29411 * libidn/configure: Likewise.
29412 * sysdeps/unix/inet/configure.ac: New file.
29413 * sysdeps/unix/inet/configure: New generated file.
29414 * sysdeps/unix/inet/Subdirs: Add libidn.
29415 * Makeconfig (sysdeps-srcdirs): Remove variable.
29416 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
29417 ($(common-objpfx)config.status): Do not depend on add-on files.
29418 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
29420 (all-subdirs): Do not include $(add-on-subdirs).
29421 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
29422 * config.make.in (add-ons): Remove variable.
29423 (add-on-subdirs): Likewise.
29424 (sysdeps-add-ons): Likewise.
29425 * manual/Makefile (add-chapters): Remove.
29426 ($(objpfx)texis): Do not depend on $(add-chapters).
29427 (nonexamples): Do not handle $(add-chapters).
29428 (examples): Do not handle $(add-ons).
29429 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
29431 * manual/install.texi (Installation): Do not mention add-ons.
29432 (--enable-add-ons): Do not document configure option.
29433 * INSTALL: Regenerated.
29434 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
29435 * manual/maint.texi (Hierarchy Conventions): Do not mention
29437 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
29439 * scripts/gen-sorted.awk: Do not handle Subdirs files from
29441 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
29442 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
29444 2017-10-05 Andreas Schwab <schwab@suse.de>
29447 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
29448 (_IO_flush_all_lockp): Always lock list_all_lock.
29449 (_IO_flush_all_linebuffered): Likewise.
29450 (_IO_unbuffer_all): Likewise.
29452 2017-10-05 Florian Weimer <fweimer@redhat.com>
29455 Do not flush stdio streams on abort.
29456 * stdlib/abort.c (fflush): Remove macro definition.
29457 (abort): Remove stages related to stdio flushing.
29459 2017-10-05 Florian Weimer <fweimer@redhat.com>
29461 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
29463 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
29465 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29467 2017-10-05 Florian Weimer <fweimer@redhat.com>
29469 * support/support_format_hostent.c (support_format_hostent): Add
29470 more error information for NETDB_INTERNAL.
29472 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29474 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
29475 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
29476 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
29477 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
29478 AC_DEFINE if multi-arch is enabled.
29479 * sysdeps/i386/configure: Regenerated.
29481 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29483 * Makeconfig (+link-static-before-libc): Use
29484 $(DEFAULT-LDFLAGS-$(@F)).
29485 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
29486 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
29487 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
29489 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29491 * elf/Makefile (tests): Add tst-main1.
29492 (modules-names): Add tst-main1mod.
29493 ($(objpfx)tst-main1): New.
29494 (CRT-tst-main1): Likewise.
29495 (LDFLAGS-tst-main1): Likewise.
29496 (LDLIBS-tst-main1): Likewise.
29497 (tst-main1mod.so-no-z-defs): Likewise.
29498 * elf/tst-main1.c: New file.
29499 * elf/tst-main1mod.c: Likewise.
29501 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29503 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
29505 2017-10-04 Joseph Myers <joseph@codesourcery.com>
29507 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
29508 (fma): Define using libm_alias_double.
29509 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
29510 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
29512 (fmal): Do not define as compat symbol here.
29513 * sysdeps/alpha/fpu/s_fma.c: New file.
29515 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29517 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
29519 2017-10-04 Joseph Myers <joseph@codesourcery.com>
29522 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
29524 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29526 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
29527 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29528 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
29529 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
29530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29531 Include <math_ldbl_opt.h>
29532 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29534 (compat_symbol): Undefine and redefine.
29535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
29537 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29538 (compat_symbol): Undefine and redefine.
29539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
29540 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
29541 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
29542 GLIBC_2_1 for libm.
29543 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
29544 GLIBC_2.0 copysignl symbol.
29545 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29546 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
29548 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
29550 2017-10-04 Florian Weimer <fweimer@redhat.com>
29552 * scripts/check-local-headers.sh: Ignore nspr4 header file
29553 directory in addition to nspr.
29555 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
29558 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
29559 * configure: Regenerate.
29560 * crypt/Makefile (nss-cpp-flags): New variable.
29561 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
29562 (CPPFLAGS-md5-crypt.c): Use it.
29563 * scripts/check-local-headers.sh: Ignore nspr header file
29566 2017-10-04 Andreas Schwab <schwab@suse.de>
29568 * nis/Makefile (services): Remove compat.
29569 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
29570 ($(objpfx)libnss_compat.so): Remove rule.
29571 * nis/Versions (libnss_compat): Remove.
29572 * nss/Makefile (services): Add compat.
29573 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
29574 * nss/Versions (libnss_compat): Define.
29575 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
29576 Don't include <rpc/types.h>. Replace bool_t by bool.
29577 * nss/nss_compat/compat-initgroups.c: Likewise.
29578 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
29579 instead of <rpcsrv/ypclnt.h>.
29580 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
29581 yp_get_default_domain.
29582 * nss/nss_compat/compat-pwd.c: Likewise.
29583 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
29584 yp_get_default_domain.
29585 * nss/nss_compat/nisdomain.c: New file.
29586 * nss/nss_compat/nisdomain.h: Likewise.
29588 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29591 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
29592 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29594 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29597 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
29598 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
29600 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29602 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
29603 "movl main@GOTOFF(%ebx), %eax".
29605 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29607 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
29608 allow undefined _DYNAMIC in PIE libc.a.
29609 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29612 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29614 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
29617 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29619 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
29622 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29624 * math/test-math-iscanonical.cc (error): Replace bool with int.
29626 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29628 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
29629 (modf): Define using libm_alias_double, only if [!__modf].
29630 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
29631 <libm-alias-double.h>.
29632 (modf): Define using libm_alias_double, only if [!__modf].
29633 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
29634 compat symbol here.
29635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
29636 (weak_alias): Do not undefine and redefine.
29637 (strong_alias): Likewise.
29638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
29639 (weak_alias): Likewise.
29640 (strong_alias): Likewise.
29642 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
29643 (logb): Define using libm_alias_double, only if [!__logb].
29644 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
29645 <libm-alias-double.h>.
29646 (logb): Define using libm_alias_double, only if [!__logb].
29647 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
29648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
29649 (weak_alias): Do not undefine and redefine.
29650 (strong_alias): Likewise.
29651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
29652 (weak_alias): Likewise.
29653 (strong_alias): Likewise.
29655 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29657 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
29658 Check SHARED instead PIC.
29660 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29662 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
29663 [!__fmaf] (fmaf): Define using libm_alias_float.
29665 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
29666 (frexp): Define using libm_alias_double.
29667 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
29668 <libm-alias-double.h>.
29669 (frexp): Define using libm_alias_double.
29670 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
29671 compat symbol here.
29673 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29676 * math/math.h: Trivial fix for unbalanced parentheses in comment.
29677 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
29678 (CFLAGS-test-math-iscanonical.cc): New variable.
29679 * math/test-math-iscanonical.cc: New file.
29680 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
29681 Provide a C++ implementation based on function overloading,
29682 rather than using __MATH_TG, which uses C-only builtins.
29683 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
29685 * sysdeps/powerpc/powerpc64le/Makefile
29686 (CFLAGS-test-math-iscanonical.cc): New variable.
29688 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29690 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
29691 (ceil): Define using libm_alias_double.
29692 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
29693 (floor): Define using libm_alias_double.
29694 * sysdeps/ieee754/dbl-64/s_llround.c: Include
29695 <libm-alias-double.h>.
29696 (llround): Define using libm_alias_double.
29697 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29698 <libm-alias-double.h>.
29699 (lround): Define using libm_alias_double.
29700 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
29701 <libm-alias-double.h>.
29702 (nearbyint): Define using libm_alias_double.
29703 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
29704 <libm-alias-double.h>.
29705 (remquo): Define using libm_alias_double.
29706 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
29707 (rint): Define using libm_alias_double.
29708 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
29709 (round): Define using libm_alias_double.
29710 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
29711 (trunc): Define using libm_alias_double.
29712 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
29713 <libm-alias-double.h>.
29714 (ceil): Define using libm_alias_double.
29715 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
29716 <libm-alias-double.h>.
29717 (floor): Define using libm_alias_double.
29718 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
29719 <libm-alias-double.h>.
29720 (llround): Define using libm_alias_double.
29721 [_LP64] (lround): Likewise.
29722 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
29723 <libm-alias-double.h>.
29724 [!_LP64] (lround): Define using libm_alias_double.
29725 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
29726 <libm-alias-double.h>.
29727 (nearbyint): Define using libm_alias_double.
29728 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
29729 <libm-alias-double.h>.
29730 (remquo): Define using libm_alias_double.
29731 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
29732 <libm-alias-double.h>.
29733 (rint): Define using libm_alias_double.
29734 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
29735 <libm-alias-double.h>.
29736 (round): Define using libm_alias_double.
29737 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
29738 <libm-alias-double.h>.
29739 (trunc): Define using libm_alias_double.
29740 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
29741 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
29742 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
29743 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
29744 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
29745 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
29746 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
29747 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
29748 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
29750 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29752 * math/w_remainder.c: New file.
29753 * math/w_remainderf.c: New file.
29754 * math/w_remainderl.c: New file.
29756 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29758 * elf/rtld.c (BOOTSTRAP_MAP): New.
29759 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
29760 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29762 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29764 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29767 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29769 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
29770 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
29771 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
29772 rtld_hidden_data_ver): Define to empty.
29773 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
29774 __assert_perror_fail): Likewise.
29775 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29776 (__rewinddir): Likewise.
29777 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29778 (__profile_frequency): Likewise.
29779 * include/setjmp.h (__sigsetjmp): Likewise.
29780 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
29781 __libc_sigaction): Likewise.
29782 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
29783 not set hidden attribute.
29784 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
29785 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
29786 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
29787 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
29788 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
29789 __fxstatat64): Likewise.
29790 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29791 (__uname): Likewise.
29792 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29793 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
29794 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
29795 (NO_RTLD_HIDDEN): Set.
29796 * sysdeps/mach/hurd/configure: Refresh.
29797 * config.h.in: Refresh.
29799 2017-10-02 Joseph Myers <joseph@codesourcery.com>
29801 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
29802 (atan): Define using libm_alias_double.
29803 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
29804 (tan): Define using libm_alias_double.
29805 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
29806 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
29808 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
29809 define as weak alias of __atan. Do not define any aliases if
29811 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
29812 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
29813 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
29814 as weak alias of __tan. Do not define any aliases if [__tan].
29815 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
29816 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
29817 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
29819 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
29820 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
29821 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
29822 and define as weak alias of __atan.
29823 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
29825 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
29826 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
29827 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
29828 define as weak alias of __tan.
29830 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29832 * math/w_lgamma.c: New file.
29833 * math/w_lgammaf.c: New file.
29834 * math/w_lgammal.c: New file.
29836 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29838 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
29839 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
29840 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
29841 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
29842 * sysdeps/ieee754/flt-32/w_logf.c: New file.
29843 * sysdeps/ieee754/flt-32/w_powf.c: New file.
29844 * sysdeps/i386/fpu/w_log2f.c: New file.
29845 * sysdeps/i386/fpu/w_logf.c: New file.
29846 * sysdeps/i386/fpu/w_powf.c: New file.
29847 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
29848 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
29849 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
29851 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29852 H.J. Lu <hongjiu.lu@intel.com>
29854 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
29855 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
29856 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
29857 * sysdeps/ieee754/flt-32/w_expf.c: New file.
29858 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
29860 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
29861 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
29862 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
29863 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
29864 * sysdeps/i386/fpu/w_exp2f.c: New file.
29865 * sysdeps/i386/fpu/w_expf.c: New file.
29866 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
29867 * sysdeps/x86_64/fpu/w_expf.c: New file.
29869 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29871 * math/Versions (logf): New libm symbol at GLIBC_2.27.
29874 * math/w_log2f.c: New file.
29875 * math/w_logf.c: New file.
29876 * math/w_powf.c: New file.
29877 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
29878 * math/w_logf_compat.c (__logf_compat): Likewise.
29879 * math/w_powf_compat.c (__powf_compat): Likewise.
29880 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
29881 * sysdeps/ia64/fpu/e_logf.S: Likewise.
29882 * sysdeps/ia64/fpu/e_powf.S: Likewise.
29883 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29884 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29885 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29886 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29887 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29888 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29889 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29890 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29891 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29892 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29893 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29894 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29903 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29904 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29905 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29906 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29907 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29912 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29913 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29914 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29916 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29918 * sysdeps/powerpc/powerpc64/multiarch/Makefile
29919 (sysdep_routines): Add memrchr_power8.
29920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29921 (memrchr): Add __memrchr_power8 to list of memrchr functions.
29922 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
29924 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29925 (memrchr): Add __memrchr_power8 to ifunc list.
29926 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
29928 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29931 * sysdeps/unix/sysv/linux/posix_fadvise64.c
29932 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
29934 * sysdeps/unix/sysv/linux/posix_fallocate64.c
29935 (__posix_fallocate64_l64): Likewise.
29937 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29940 * sysdeps/unix/sysv/linux/sched_setaffinity.c
29941 (__sched_setaffinity_new): Add libc_hidden_proto and
29944 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29947 * include/glob.h (__glob64): Add libc_hidden_proto.
29948 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
29951 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29954 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
29957 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29960 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
29962 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29965 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
29968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29971 * csu/version.c (__libc_print_version): Add attribute_hidden.
29973 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29976 * include/libc-internal.h (__init_misc): Add attribute_hidden.
29978 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29981 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
29983 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29986 * nscd/nscd_helper.c (__nis_hash): New prototype.
29988 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29991 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
29992 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
29994 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29995 * termios/tcgetattr.c (__tcgetattr): Likewise.
29997 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30000 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
30001 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
30002 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
30003 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
30004 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
30006 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30009 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
30011 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30014 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
30015 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
30017 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30020 * intl/hash-string.h (__hash_string): Add attribute_hidden.
30022 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30025 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
30026 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
30028 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30031 * include/ifreq.h: New file.
30032 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
30033 (__ifreq): Likewise.
30034 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
30035 (__ifreq): Likewise.
30037 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30040 * include/idna.h: New file.
30041 * inet/getnameinfo.c: Include <idna.h> instead of
30043 (__idna_to_unicode_lzlz): Removed.
30044 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
30046 (__idna_to_ascii_lz): Removed.
30047 (__idna_to_unicode_lzlz): Likewise.
30049 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30052 * include/plural-exp.h: New file.
30053 * intl/plural-exp.c: Include <plural-exp.h> instead of
30056 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30059 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
30060 "getsourcefilter.h".
30061 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
30062 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
30063 "getsourcefilter.h".
30064 (__get_sol): Removed.
30066 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30069 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
30071 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
30073 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30076 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
30079 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30082 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
30084 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30087 * include/search.h (__tdestroy): Add libc_hidden_proto.
30088 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
30090 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30093 * include/assert.h (__assert_fail_base): Add attribute_hidden.
30095 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30098 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
30101 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30104 * include/signal.h (__kill): Add libc_hidden_proto.
30105 (__sigblock): Likewise.
30106 (__sigprocmask): Likewise.
30107 (__sigaltstack): Likewise.
30108 * signal/kill.c (__kill): Add libc_hidden_def.
30109 * signal/sigblock.c (__sigblock): Likewise.
30110 * signal/sigprocmask.c (__sigprocmask): Likewise.
30111 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
30112 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
30113 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
30114 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
30115 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
30117 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
30119 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
30120 (__sigprocmask): Likewise.
30121 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
30123 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
30124 (__sigprocmask): Likewise.
30125 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
30128 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30131 * include/string.h (__strsep): Add libc_hidden_proto.
30132 * string/strsep.c (__strsep): Add libc_hidden_def.
30134 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30137 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
30139 (__spawni): Likewise.
30141 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30144 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
30145 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
30148 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30151 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
30153 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30156 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
30157 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
30158 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
30159 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
30160 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
30162 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
30163 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
30165 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30168 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
30169 (__dcigettext): Likewise.
30171 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30174 * include/sys/sysinfo.h (__get_nprocs_conf): Add
30176 (__get_nprocs): Likewise.
30177 (__get_phys_pages): Likewise.
30178 (__get_avphys_pages): Likewise.
30179 (__get_child_max): Add attribute_hidden.
30180 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
30181 (__get_nprocs): Likewise.
30182 (__get_phys_pages): Likewise.
30183 (__get_avphys_pages): Likewise.
30184 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
30186 (__get_nprocs): Likewise.
30187 (__get_phys_pages): Likewise.
30188 (__get_avphys_pages): Likewise.
30189 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
30191 (__get_nprocs_conf): Likewise.
30192 (__get_phys_pages): Likewise.
30193 (__get_avphys_pages): Likewise.
30195 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30198 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
30200 (__netlink_close): Likewise.
30201 (__netlink_free_handle): Likewise.
30202 (__netlink_request): Likewise.
30204 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30207 * include/rpc/rpc.h (__rpc_thread_variables): Add
30209 (__rpc_thread_svc_cleanup): Likewise.
30210 (__rpc_thread_clnt_cleanup): Likewise.
30211 (__rpc_thread_key_cleanup): Likewise.
30213 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30216 * include/sys/uio.h (__readv): Add libc_hidden_proto.
30217 (__writev): Likewise.
30218 * misc/readv.c (__readv): Add libc_hidden_def.
30219 * misc/writev.c (__writev): Likewise.
30220 * sysdeps/posix/readv.c (__readv): Likewise.
30221 * sysdeps/posix/writev.c (__writev): Likewise.
30222 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
30223 (__readv): Likewise.
30224 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
30225 (__writev): Likewise.
30227 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30230 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
30231 (__regcomp): Add libc_hidden_proto.
30232 (__regexec): Likewise.
30233 (__regfree): Likewise.
30234 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
30235 (__regfree): Likewise.
30236 * posix/regexec.c (__regexec): Likewise.
30238 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30241 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
30242 (__getutent): Likewise.
30243 (__getutid): Likewise.
30244 (__getutline): Likewise.
30245 (__pututline): Likewise.
30246 (__getutent_r): Likewise.
30247 (__getutid_r): Likewise.
30248 (__getutline_r): Likewise.
30249 (__utmpname): Add attribute_hidden.
30250 (__setutent): Likewise.
30251 (__endutent): Likewise.
30252 * login/getutent.c (__getutent): Add libc_hidden_def.
30253 * login/getutent_r.c (__getutent_r): Likewise.
30254 (__pututline): Likewise.
30255 * login/getutid.c (__getutid): Likewise.
30256 * login/getutid_r.c (__getutid_r): Likewise.
30257 * login/getutline.c (__getutline): Likewise.
30258 * login/getutline_r.c (__getutline_r): Likewise.
30259 * login/updwtmp.c (__updwtmp): Likewise.
30261 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30264 * include/dirent.h (__opendir): Always add attribute_hidden.
30265 (__fdopendir): Likewise.
30266 (__closedir): Likewise.
30267 (__readdir): Likewise.
30268 (__readdir64): Add libc_hidden_proto.
30269 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
30270 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
30271 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
30272 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
30275 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30278 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
30279 * include/netdb.h (__gethostbyaddr_r): Likewise.
30280 (__gethostbyname_r): Likewise.
30281 (__gethostbyname2_r): Likewise.
30282 (__getnetbyaddr_r): Likewise.
30283 (__getnetbyname_r): Likewise.
30284 (__getservbyname_r): Likewise.
30285 (__getservbyport_r): Likewise.
30286 (__getprotobyname_r): Likewise.
30287 (__getprotobynumber_r): Likewise.
30288 (__getnetgrent_r): Likewise.
30289 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
30290 (__getrpcbynumber_r): Likewise.
30291 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
30293 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30296 * include/stdio.h (__fcloseall): Add attribute_hidden.
30297 (__getline): Likewise.
30298 (__path_search): Likewise.
30299 (__gen_tempname): Likewise.
30300 (__libc_message): Likewise.
30301 (__flockfile): Likewise.
30302 (__funlockfile): Likewise.
30303 (__fxprintf): Likewise.
30304 (__fxprintf_nocancel): Likewise.
30306 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30309 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
30310 (__sgetsgent_r): Likewise.
30312 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30315 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
30316 (__statfs64): Likewise.
30317 (__fstatfs64): Likewise.
30318 * include/sys/statvfs.h (__statvfs64): Likewise.
30319 (__fstatvfs64): Likewise.
30320 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
30321 (__statfs_filesize_max): Likewise.
30322 (__statfs_symlinks): Likewise.
30323 (__statfs_chown_restricted): Likewise.
30325 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30328 * include/time.h (__tzstring): Add attribute_hidden.
30329 (__tzfile_read): Likewise.
30330 (__tzfile_compute): Likewise.
30331 (__tzfile_default): Likewise.
30332 (__tzset_parse_tz): Likewise.
30333 (__offtime): Likewise.
30334 (__asctime_r): Likewise.
30335 (__tzset): Likewise.
30336 (__tz_convert): Likewise.
30337 (__getdate_r): Likewise.
30338 (__getclktck): Likewise.
30340 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30343 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
30344 (__nscd_unmap): Likewise.
30345 (__nscd_cache_search): Likewise.
30346 (__nscd_get_nl_timestamp): Likewise.
30347 (__nscd_getpwnam_r): Likewise.
30348 (__nscd_getpwuid_r): Likewise.
30349 (__nscd_getgrnam_r): Likewise.
30350 (__nscd_getgrgid_r): Likewise.
30351 (__nscd_gethostbyname_r): Likewise.
30352 (__nscd_gethostbyname2_r): Likewise.
30353 (__nscd_gethostbyaddr_r): Likewise.
30354 (__nscd_getai): Likewise.
30355 (__nscd_getgrouplist): Likewise.
30356 (__nscd_getservbyname_r): Likewise.
30357 (__nscd_getservbyport_r): Likewise.
30358 (__nscd_innetgr): Likewise.
30359 (__nscd_setnetgrent): Likewise.
30361 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30364 * include/gmp.h: Declare internal functions only if _ISOMAC is
30366 (__mpn_extract_double): Add attribute_hidden.
30367 (__mpn_extract_long_double): Likewise.
30368 (__mpn_extract_float128): Likewise.
30369 (__mpn_construct_float): Likewise.
30370 (__mpn_construct_double): Likewise.
30371 (__mpn_construct_long_double): Likewise.
30372 (__mpn_construct_float128): Likewise.
30373 (mpn_add_1): Likewise.
30374 (mpn_addmul_1): Likewise.
30375 (mpn_add_n): Likewise.
30376 (mpn_cmp): Likewise.
30377 (mpn_divrem): Likewise.
30378 (mpn_lshift): Likewise.
30379 (mpn_mul): Likewise.
30380 (mpn_mul_1): Likewise.
30381 (mpn_rshift): Likewise.
30382 (mpn_sub_1): Likewise.
30383 (mpn_submul_1): Likewise.
30384 (mpn_sub_n): Likewise.
30386 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30389 * include/wchar.h (__wcsnlen): Add attribute_hidden.
30390 (__wcscat): Likewise.
30391 (__btowc): Likewise.
30392 (__wcrtomb): Likewise.
30393 (__mbsrtowcs): Likewise.
30394 (__wcsrtombs): Likewise.
30395 (__mbsnrtowcs): Likewise.
30396 (__wcsnrtombs): Likewise.
30397 (__wcsncpy): Likewise.
30398 (__wcpncpy): Likewise.
30399 (__wmemcpy): Likewise.
30400 (__wmempcpy): Likewise.
30401 (__wmemmove): Likewise.
30402 (__wcschrnul): Likewise.
30403 (__vfwscanf): Likewise.
30404 (__vswprintf): Likewise.
30405 (__fwprintf): Likewise.
30406 (__vfwprintf): Likewise.
30408 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30411 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
30412 (__getgrgid_r): Likewise.
30413 (__getgrnam_r): Likewise.
30414 * include/pwd.h (__getpwuid_r): Likewise.
30415 (__getpwnam_r): Likewise.
30416 (__fgetpwent_r): Likewise.
30417 * include/shadow.h (__getspnam_r): Likewise.
30418 (__sgetspent_r): Likewise.
30419 (__fgetspent_r): Likewise.
30421 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30424 * include/unistd.h (__access): Add attribute_hidden.
30425 (__lseek64): Likewise.
30426 (__libc_pread64): Likewise.
30427 (__pipe2): Likewise.
30428 (__sleep): Likewise.
30429 (__chdir): Likewise.
30430 (__fchdir): Likewise.
30431 (__getcwd): Likewise.
30432 (__rmdir): Likewise.
30433 (__execvpe): Likewise.
30434 (__execve): Likewise.
30435 (__setsid): Likewise.
30436 (__getuid): Likewise.
30437 (__geteuid): Likewise.
30438 (__getgid): Likewise.
30439 (__getegid): Likewise.
30440 (__getgroups): Likewise.
30441 (__group_member): Likewise.
30442 (__ttyname_r): Likewise.
30443 (__isatty): Likewise.
30444 (__readlink): Likewise.
30445 (__unlink): Likewise.
30446 (__gethostname): Likewise.
30447 (__profil): Likewise.
30448 (__getdtablesize): Likewise.
30450 (__ftruncate): Likewise.
30451 (__ftruncate64): Likewise.
30453 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30456 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
30457 * argp/argp-fs-xinl.c: Likewise.
30458 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
30459 * argp/argp-parse.c: Include <argp.h>.
30460 * argp/argp-xinl.c: Likewise.
30461 * include/argp-fmtstream.h: New file.
30462 * include/argp.h (__argp_error): Add attribute_hidden.
30463 (__argp_failure): Likewise.
30464 (__argp_input): Likewise.
30465 (__argp_state_help): Likewise.
30467 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30470 * include/wchar.h (____wcstof_l_internal): New prototype.
30471 (____wcstod_l_internal): Likewise.
30472 (____wcstold_l_internal): Likewise.
30473 (____wcstol_l_internal): Likewise.
30474 (____wcstoul_l_internal): Likewise.
30475 (____wcstoll_l_internal): Likewise.
30476 (____wcstoull_l_internal): Likewise.
30477 (____wcstof128_l_internal): Likewise.
30478 * sysdeps/ieee754/float128/wcstof128.c
30479 (____wcstof128_l_internal): Removed.
30480 * sysdeps/ieee754/float128/wcstof128_l.c
30481 (____wcstof128_l_internal): Likewise.
30482 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
30483 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
30484 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
30485 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
30486 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
30487 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
30488 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
30489 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
30490 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
30491 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
30493 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30496 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
30497 instead of <sys/statvfs.h>.
30498 (__internal_statvfs): Removed.
30499 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
30500 instead of <sys/statvfs.h>.
30501 (__internal_statvfs64): Removed.
30502 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
30503 "internal_statvfs.h" instead of <sys/statvfs.h>.
30504 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
30505 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
30506 instead of <sys/statvfs.h>.
30507 (__internal_statvfs): Removed.
30508 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
30509 instead of <sys/statvfs.h>.
30510 (__internal_statvfs64): Removed.
30512 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30515 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
30516 (__gconv_close): Likewise.
30517 (__gconv): Likewise.
30518 (__gconv_find_transform): Likewise.
30519 (__gconv_lookup_cache): Likewise.
30520 (__gconv_compare_alias_cache): Likewise.
30521 (__gconv_load_cache): Likewise.
30522 (__gconv_get_path): Likewise.
30523 (__gconv_close_transform): Likewise.
30524 (__gconv_release_cache): Likewise.
30525 (__gconv_find_shlib): Likewise.
30526 (__gconv_release_shlib): Likewise.
30527 (__gconv_get_builtin_trans): Likewise.
30528 (__gconv_compare_alias): Likewise.
30529 * include/dlfcn.h (_dlerror_run): Likewise.
30530 * include/stdio.h (__fortify_fail_abort): Likewise.
30531 * include/time.h (__tz_compute): Likewise.
30532 (__strptime_internal): Likewise.
30533 * intl/gettextP.h (_nl_find_domain): Likewise.
30534 (_nl_load_domain): Likewise.
30535 (_nl_find_msg): Likewise.
30536 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
30537 (EXTRACT_PLURAL_EXPRESSION): Likewise.
30538 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
30539 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
30540 (__gai_find_request): Likewise.
30541 (__gai_remove_request): Likewise.
30542 (__gai_notify): Likewise.
30543 (__gai_notify_only): Likewise.
30544 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30545 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30546 (_dl_non_dynamic_init): Likewise.
30547 (_dl_aux_init): Likewise.
30548 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
30549 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30551 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
30552 (__wcsmbs_clone_conv): Likewise.
30553 (__wcsmbs_named_conv): Likewise.
30555 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30558 * include/stdlib.h (__random): Add attribute_hidden.
30559 (__random_r): Likewise.
30560 (__srandom_r): Likewise.
30561 (__initstate_r): Likewise.
30562 (__setstate_r): Likewise.
30563 (__erand48_r): Likewise.
30564 (__nrand48_r): Likewise.
30565 (__jrand48_r): Likewise.
30566 (__srand48_r): Likewise.
30567 (__seed48_r): Likewise.
30568 (__lcong48_r): Likewise.
30569 (__drand48_iterate): Likewise.
30570 (__setenv): Likewise.
30571 (__unsetenv): Likewise.
30572 (__clearenv): Likewise.
30573 (__ptsname_r): Likewise.
30574 (__posix_openpt): Likewise.
30575 (__add_to_environ): Likewise.
30576 (__realpath): Add libc_hidden_proto.
30577 (__ecvt_r): Likewise.
30578 (__fcvt_r): Likewise.
30579 (__qecvt_r): Likewise.
30580 (__qfcvt_r): Likewise.
30581 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
30582 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
30584 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30587 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
30588 * include/time.h (__mktime_internal): Likewise.
30589 * libio/iolibio.h (__fopen_internal): Likewise.
30591 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
30593 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
30595 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
30596 Correct offset used to restore PIC register.
30598 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
30601 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
30602 code to load address of __getcontext_ret when generating PIC code.
30604 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
30606 * elf/Makefile (tests-static-internal): Add
30607 tst-tls1-static-non-pie.
30608 (LDFLAGS-tst-tls1-static-non-pie): New.
30609 * elf/tst-tls1-static-non-pie.c: New file.
30611 2017-09-29 Joseph Myers <joseph@codesourcery.com>
30613 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
30614 (asinh): Define using libm_alias_double.
30615 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
30616 (cbrt): Define using libm_alias_double.
30617 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
30618 <libm-alias-double.h>.
30619 (copysign): Define using libm_alias_double.
30620 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
30621 (erf): Define using libm_alias_double.
30623 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
30624 (expm1): Define using libm_alias_double.
30625 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
30626 (fabs): Define using libm_alias_double.
30627 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
30629 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
30630 <libm-alias-double.h>.
30631 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
30633 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
30634 <libm-alias-double.h>.
30635 (getpayload): Define using libm_alias_double.
30636 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
30637 <libm-alias-double.h>.
30638 (llrint): Define using libm_alias_double.
30639 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
30640 (lrint): Define using libm_alias_double.
30641 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
30642 <libm-alias-double.h>.
30643 (nextup): Define using libm_alias_double.
30644 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
30645 <libm-alias-double.h>.
30646 (roundeven): Define using libm_alias_double.
30647 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
30649 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
30650 <libm-alias-double.h>.
30651 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
30652 using libm_alias_double.
30653 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
30654 (cos): Define using libm_alias_double.
30656 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
30657 <libm-alias-double.h>.
30658 (sincos): Define using libm_alias_double.
30659 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
30660 (tanh): Define using libm_alias_double.
30661 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
30662 <libm-alias-double.h>.
30663 (totalorder): Define using libm_alias_double.
30664 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
30665 <libm-alias-double.h>.
30666 (totalordermag): Define using libm_alias_double.
30667 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
30669 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
30671 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
30672 <libm-alias-double.h>.
30673 (getpayload): Define using libm_alias_double.
30674 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
30675 <libm-alias-double.h>.
30676 (roundeven): Define using libm_alias_double.
30677 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
30678 <libm-alias-double.h>.
30679 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
30680 <libm-alias-double.h>.
30681 (totalorder): Define using libm_alias_double.
30682 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
30683 <libm-alias-double.h>.
30684 (totalordermag): Define using libm_alias_double.
30685 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
30686 libc compat symbol here.
30687 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
30688 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
30689 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
30690 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
30691 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
30692 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
30693 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
30694 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
30695 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
30696 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
30698 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30700 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
30701 _dl_relocate_static_pie instead of _dl_start to compute load
30702 address in static PIE. Return 0 if _DYNAMIC is undefined for
30705 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30707 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
30708 _DYNAMIC is undefined for static executable.
30710 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30712 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
30714 2017-09-29 Joseph Myers <joseph@codesourcery.com>
30716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30718 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30720 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
30721 (__ieee754_lgamma_r): Use fabs rather than __fabs.
30722 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30723 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30724 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
30725 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
30726 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
30727 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
30728 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
30729 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30730 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
30731 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
30732 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30733 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30734 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30735 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30736 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
30738 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30740 * math/bits/cmathcalls.h (cimag): Remove inline.
30741 (creal): Remove inline.
30742 (conj): Remove inline.
30744 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30746 * math/Makefile (type-float-routines): Add e_powf_log2_data.
30747 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
30748 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
30749 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
30750 (issignalingf_inline): Likewise.
30751 (POWF_LOG2_TABLE_BITS): Likewise.
30752 (POWF_LOG2_POLY_ORDER): Likewise.
30753 (POWF_SCALE_BITS): Likewise.
30754 (POWF_SCALE): Likewise.
30755 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
30756 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
30757 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
30759 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30761 * math/Makefile (type-float-routines): Add e_log2f_data.
30762 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
30763 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
30764 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
30765 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
30766 * sysdeps/i386/fpu/e_log2f_data.c: New file.
30767 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
30768 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
30770 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30772 * math/Makefile (type-float-routines): Add e_logf_data.
30773 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
30774 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
30775 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
30776 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
30777 * sysdeps/i386/fpu/e_logf_data.c: New file.
30778 * sysdeps/ia64/fpu/e_logf_data.c: New file.
30779 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
30781 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
30783 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
30784 undefined _DYNAMIC in PIE libc.a.
30785 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30788 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30790 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
30791 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
30792 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
30793 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
30794 (__signbit): Remove.
30795 (__signbitl): Remove.
30796 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
30797 (__signbit): Remove.
30798 (__signbitl): Remove.
30799 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
30800 (__signbit): Remove.
30801 (__signbitl): Remove.
30802 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
30803 (__signbit): Remove.
30804 (__signbitl): Remove.
30805 * sysdeps/tile/bits/mathinline.h: Delete file.
30806 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
30807 (__signbit): Remove.
30808 (__signbitl): Remove.
30810 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30812 * math/math.h: Improve handling of C99 isgreater macros.
30813 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
30814 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
30815 * sysdeps/powerpc/bits/mathinline.h: Likewise.
30816 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30817 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
30819 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
30821 * sysdeps/aarch64/libm-test-ulps: Update.
30823 2017-09-28 Joseph Myers <joseph@codesourcery.com>
30826 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30827 math_opt_barrier on argument when doing arithmetic on it.
30828 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30829 Likewise. Use math_force_eval not math_opt_barrier after
30831 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
30832 math_opt_barrier on argument when doing arithmetic on it.
30833 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30836 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
30838 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
30840 (__freeifaddrs): Likewise.
30842 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30844 * include/dirent.h (__dirfd): New declaration.
30845 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
30847 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
30848 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
30849 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
30850 * include/unistd.h (__revoke): New declaration.
30851 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
30853 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
30854 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
30856 * include/dirent.h (__seekdir): New declaration.
30857 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
30858 redefine as weak alias.
30859 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
30861 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
30862 and use libc_hidden_def on them.
30863 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
30865 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
30866 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
30867 instead of getifaddrs and freeifaddrs.
30869 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30872 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
30873 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
30874 (__dso_handle): Remove declaration.
30875 * dlfcn/tstatexit.c (__dso_handle): Removed.
30876 (main): Don't check __dso_handle.
30877 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
30878 (main): Don't check __dso_handle.
30879 * include/dso_handle.h: New file.
30880 * malloc/mtrace.c: Include <dso_handle.h>.
30881 (mtrace): Pass __dso_handle directly.
30882 * nptl/pthread_atfork.c: Include <dso_handle.h>.
30883 (__dso_handle): Remove declaration.
30884 (__pthread_atfork): Pass __dso_handle directly.
30885 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
30886 (__dso_handle): Removed.
30887 * posix/wordexp-test.c: Include <dso_handle.h>.
30888 (__dso_handle): Remove declaration.
30889 (__app_register_atfork): Pass __dso_handle directly.
30890 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
30891 (__dso_handle): Remove declaration.
30892 (at_quick_exit): Pass __dso_handle directly.
30893 * stdlib/atexit.c: Include <dso_handle.h>.
30894 (__dso_handle): Remove declaration.
30895 (atexit): Pass __dso_handle directly.
30896 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
30897 (__dso_handle): Removed.
30899 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30901 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
30904 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
30906 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
30907 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
30908 values to correct default value for given type.
30910 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30913 * elf/Makefile (tests): Add tst-debug1.
30914 ($(objpfx)tst-debug1): New.
30915 ($(objpfx)tst-debug1.out): Likewise.
30916 ($(objpfx)tst-debug1mod1.so): Likewise.
30917 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
30918 with p_filesz == 0.
30919 * elf/tst-debug1.c: New file.
30921 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30923 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
30924 Define using __ifunc.
30926 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30928 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
30931 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30934 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
30936 2017-09-26 Florian Weimer <fweimer@redhat.com>
30938 * resolv/Makefile (tests-internal): Fix typo in comment.
30940 2017-09-26 Florian Weimer <fweimer@redhat.com>
30942 * resolv/nss_dns/dns-host.c: Fix typo in comment.
30944 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30946 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
30947 Use an union instead of a max_align_t array for __space,
30948 so that __space is the same size on all platforms.
30949 * malloc/scratch_buffer_grow_preserve.c
30950 (__libc_scratch_buffer_grow_preserve): Likewise.
30953 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
30955 * posix/Makefile (routines): Add glob-lstat-compat and
30956 glob64-lstat-compat.
30957 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
30958 * posix/glob-lstat-compat.c: New file.
30959 * posix/glob64-lstat-compat.c: Likewise.
30960 * posix/tst-glob_lstat_compat.c: Likewise.
30961 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
30962 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
30963 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
30964 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
30966 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
30967 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30968 * posix/glob.c (glob_lstat): New function.
30969 (glob): Rename to __glob and add versioned symbol to 2.27.
30970 (glob_in_dir): Use glob_lstat.
30971 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
30972 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
30973 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
30975 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
30976 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
30977 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
30978 gl_lstat on glob call.
30979 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
30980 and glob64 symbols.
30981 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30982 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
30983 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
30984 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
30985 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
30986 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
30987 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
30988 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
30989 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
30990 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30991 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30992 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
30993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
30995 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
30996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
30997 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30998 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30999 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
31000 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
31001 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
31002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
31003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
31004 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
31005 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
31006 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
31008 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
31010 * configure.ac (AS): Require binutils 2.25 or later.
31011 * configure: Regenerated.
31013 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
31016 * stdlib/test-atexit-race-common.c (do_test): Minimize required
31019 2017-09-25 DJ Delorie <dj@redhat.com>
31022 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
31025 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
31027 * sysdeps/ieee754/dbl-64/sincos32.h
31028 [SINCCOS32_H]: Remove define.
31029 [SINCOS32_H]: Define.
31031 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31033 * math/Versions (expf): New libm symbol at GLIBC_2.27.
31035 * math/w_exp2f.c: New file.
31036 * math/w_expf.c: New file.
31037 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
31038 * math/w_expf_compat.c (__expf_compat): Likewise.
31039 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
31040 * sysdeps/ia64/fpu/e_expf.S: Likewise.
31041 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31042 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31043 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31044 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31045 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31046 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31047 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31048 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31049 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31050 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31051 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31052 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31061 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31062 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31063 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31064 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31065 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31070 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31071 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31072 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31074 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31076 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
31077 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
31078 (roundtoint, converttoint): Likewise.
31079 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
31080 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
31081 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
31082 * sysdeps/ieee754/flt-32/math_config.h: New file.
31083 * sysdeps/ieee754/flt-32/math_errf.c: New file.
31084 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
31085 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
31086 * sysdeps/i386/fpu/math_errf.c: New file.
31087 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
31088 * sysdeps/ia64/fpu/math_errf.c: New file.
31089 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
31090 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
31092 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
31094 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
31095 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
31096 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
31097 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
31098 to make sure that these symbols are defined.
31099 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
31101 (__need_NULL): Do not define.
31102 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
31104 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
31105 CMGROUP_MAX, cmsgcred): Do not define.
31106 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
31108 * bits/socket.h: Likewise.
31109 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
31110 __gettimeofday instead of gettimeofday.
31111 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
31112 instead of settimeofday.
31114 2017-09-22 Joseph Myers <joseph@codesourcery.com>
31116 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
31117 (asinhf): Define using libm_alias_float.
31118 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
31119 (atanf): Define using libm_alias_float.
31120 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
31121 (cbrtf): Define using libm_alias_float.
31122 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
31123 (ceilf): Define using libm_alias_float.
31124 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
31125 <libm-alias-float.h>.
31126 (copysignf): Define using libm_alias_float.
31127 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
31128 (cosf): Define using libm_alias_float.
31129 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
31130 (erff): Define using libm_alias_float.
31132 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
31133 (expm1f): Define using libm_alias_float.
31134 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
31135 (fabsf): Define using libm_alias_float.
31136 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
31137 (floorf): Define using libm_alias_float.
31138 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
31139 (frexpf): Define using libm_alias_float.
31140 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
31142 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
31143 <libm-alias-float.h>.
31144 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
31146 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
31147 <libm-alias-float.h>.
31148 (getpayloadf): Define using libm_alias_float.
31149 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
31150 <libm-alias-float.h>.
31151 (llrintf): Define using libm_alias_float.
31152 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
31153 <libm-alias-float.h>.
31154 (llroundf): Define using libm_alias_float.
31155 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
31156 (logbf): Define using libm_alias_float.
31157 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
31158 (lrintf): Define using libm_alias_float.
31159 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
31160 (lroundf): Define using libm_alias_float.
31161 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
31162 (modff): Define using libm_alias_float.
31163 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
31164 <libm-alias-float.h>.
31165 (nearbyintf): Define using libm_alias_float.
31166 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
31167 <libm-alias-float.h>.
31168 (nextafterf): Define using libm_alias_float.
31169 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
31170 <libm-alias-float.h>.
31171 (nextupf): Define using libm_alias_float.
31172 * sysdeps/ieee754/flt-32/s_remquof.c: Include
31173 <libm-alias-float.h>.
31174 (remquof): Define using libm_alias_float.
31175 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
31176 (rintf): Define using libm_alias_float.
31177 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
31178 <libm-alias-float.h>.
31179 (roundevenf): Define using libm_alias_float.
31180 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
31181 (roundf): Define using libm_alias_float.
31182 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
31183 using libm_alias_float.
31184 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
31185 <libm-alias-float.h>.
31186 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
31187 Define using libm_alias_float.
31188 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
31189 <libm-alias-float.h>.
31190 (sincosf): Define using libm_alias_float.
31191 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
31192 (sinf): Define using libm_alias_float.
31193 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
31194 (tanf): Define using libm_alias_float.
31195 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
31196 (tanhf): Define using libm_alias_float.
31197 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
31198 <libm-alias-float.h>.
31199 (totalorderf): Define using libm_alias_float.
31200 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
31201 <libm-alias-float.h>.
31202 (totalordermagf): Define using libm_alias_float.
31203 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
31204 (truncf): Define using libm_alias_float.
31205 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
31207 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
31210 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31213 math/math.h: Let fpclassify use the builtin in C++ mode, even
31214 when optimazing for size.
31216 2017-09-22 Joseph Myers <joseph@codesourcery.com>
31218 * csu/Makefile (generated): Do not add version-info.h.
31219 (before-compile): Likewise.
31220 (all-Banner-files): Remove variable.
31221 ($(objpfx)version-info.h): Remove rule.
31222 * csu/version.c (banner): Do not include "version-info.h".
31223 * libidn/Banner: Remove.
31224 * manual/contrib.texi (Simon Josefsson): New entry.
31226 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31228 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31229 Remove conditionals on LDBL_MANT_DIG.
31230 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31231 (__ieee754_lgammal_r): Likewise.
31233 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31235 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
31237 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
31238 _Float128 and L(). Replace _Float128 with long double and L(x)
31239 with xL, throughout the file.
31240 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31241 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31242 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31243 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31245 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31247 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
31248 sysdeps/ieee754/ldbl-128ibm.
31249 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
31250 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
31251 of including it. Keep _Float128 and L() intact. These will be
31252 reviewed by a separate patch.
31253 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31254 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31255 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31256 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31258 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
31261 (__finitef128): Define to __redirect___finitef128.
31262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
31263 (__isinff128): Define to __redirect___isinff128.
31264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
31265 (__isnanf128): Define to __redirect___isnanf128.
31267 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31269 * sysdeps/powerpc/powerpc64le/Makefile
31270 (CFLAGS-tst-strtod-nan-locale.c): New variable.
31271 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
31273 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
31274 Carlos O'Donell <carlos@redhat.com>
31277 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
31278 * stdlib/test-dlclose-exit-race.c: New file.
31279 * stdlib/test-dlclose-exit-race-helper.c: New file.
31280 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
31282 2017-09-21 Joseph Myers <joseph@codesourcery.com>
31284 * crypt/Banner: Remove file.
31285 * nptl/Banner: Likewise.
31286 * resolv/Banner: Likewise.
31287 * soft-fp/Banner: Likewise.
31288 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
31289 ($(objpfx)version.d): Remove dependency on banner.h.
31290 ($(objpfx)version.os): Likewise.
31291 * nptl/version.c (banner): Do not include banner.h.
31292 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
31293 Jelinek and BIND code.
31295 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31296 Carlos O'Donell <carlos@redhat.com>
31298 * support/xdlfcn.h: New file.
31299 * support/xdlfcn.c: New file.
31300 * support/Makefile (libsupport-routines): Add xdlfcn.
31301 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
31303 2017-09-20 Joseph Myers <joseph@codesourcery.com>
31306 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31307 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
31308 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
31309 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
31310 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
31311 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
31312 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
31313 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
31315 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31316 Ricky Zhou <rickyz@google.com>
31317 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
31320 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
31322 (__new_exitfn): Fail registration when we finished at_exit processing.
31323 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31324 * stdlib/on_exit.c (__on_exit): Likewise.
31325 * stdlib/exit.c (__exit_funcs_done): New variable.
31326 (__run_exit_handlers): Use __exit_funcs_lock.
31327 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
31329 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
31330 (test-cxa_atexit-race, test-on_exit-race): New tests.
31331 * stdlib/test-atexit-race-common.c: New file.
31332 * stdlib/test-atexit-race.c: New file.
31333 * stdlib/test-at_quick_exit-race.c: New file.
31334 * stdlib/test-cxa_atexit-race.c: New file.
31335 * stdlib/test-on_exit-race.c: New file.
31337 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
31339 * benchtests/Makefile: Add exp2f and log2f benchmarks.
31340 * benchtests/exp2f-inputs: Copy of expf-inputs.
31341 * benchtests/log2f-inputs: Copy of logf-inputs.
31343 2017-09-19 Joseph Myers <joseph@codesourcery.com>
31345 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
31346 Explicitly take address of first element of array arguments in
31347 call to INLINE_SYSCALL.
31349 2017-09-19 Andreas Schwab <schwab@suse.de>
31352 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
31354 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
31356 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
31357 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
31358 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31359 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
31360 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31361 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31362 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31363 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31364 * posix/Makefile (tests): Add tst-fexecve.
31365 * posix/tst-fexecve.c: New file.
31367 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31369 * benchtests/Makefile: Add logf benchmark.
31370 * benchtests/logf-inputs: Add reduced trace from wrf_r.
31372 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31374 * benchtests/Makefile: Add expf benchmark.
31375 * benchtests/expf-inputs: Add reduced trace from wrf_r.
31377 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31379 * csu/Makefile: Add -funwind-tables to libc-start.c.
31380 * debug/Makefile: Add -funwind-tables to backtrace.c.
31381 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
31382 * sysdeps/arm/Makefile: Likewise.
31383 * sysdeps/i386/Makefile: Likewise.
31384 * sysdeps/m68k/Makefile: Likewise.
31385 * sysdeps/mips/Makefile: Likewise.
31386 * sysdeps/nios2/Makefile: Likewise.
31387 * sysdeps/sh/Makefile: Likewise.
31388 * sysdeps/sparc/Makefile: Likewise.
31390 2017-09-19 Joseph Myers <joseph@codesourcery.com>
31392 * benchtests/Makefile (bench-math): Add trunc and truncf.
31393 (CFLAGS-bench-trunc.c): New variable.
31394 (CFLAGS-bench-truncf.c): Likewise.
31395 * benchtests/trunc-inputs: New file.
31396 * benchtests/truncf-inputs: Likewise.
31398 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31400 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
31402 2017-09-18 Joseph Myers <joseph@codesourcery.com>
31404 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
31405 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
31407 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31408 (exp10l): Define as weak alias.
31409 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
31410 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
31412 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
31413 (remainderl): Define as weak alias.
31415 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
31416 (fmal): Define using libm_alias_ldouble.
31417 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
31418 (acoshl): Define using libm_alias_ldouble.
31419 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
31420 (acosl): Define using libm_alias_ldouble.
31421 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
31422 (asinl): Define using libm_alias_ldouble.
31423 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
31424 (atan2l): Define using libm_alias_ldouble.
31425 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
31426 (atanhl): Define using libm_alias_ldouble.
31427 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
31428 (coshl): Define using libm_alias_ldouble.
31429 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
31430 (exp10l): Define using libm_alias_ldouble.
31431 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
31432 (exp2l): Define using libm_alias_ldouble.
31433 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
31434 (expl): Define using libm_alias_ldouble.
31435 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
31436 (fmodl): Define using libm_alias_ldouble.
31437 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
31438 (hypotl): Define using libm_alias_ldouble.
31439 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
31440 (j0l): Define using libm_alias_ldouble.
31442 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
31443 (j1l): Define using libm_alias_ldouble.
31445 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
31446 (jnl): Define using libm_alias_ldouble.
31448 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
31449 (log10l): Define using libm_alias_ldouble.
31450 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
31451 (log2l): Define using libm_alias_ldouble.
31452 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
31453 (logl): Define using libm_alias_ldouble.
31454 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
31455 (powl): Define using libm_alias_ldouble.
31456 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
31457 (remainderl): Define using libm_alias_ldouble.
31458 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
31459 (sinhl): Define using libm_alias_ldouble.
31460 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
31461 (sqrtl): Define using libm_alias_ldouble.
31462 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
31463 (tgammal): Define using libm_alias_ldouble.
31464 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
31465 (exp10l): Do not use long_double_symbol here.
31466 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31467 [LIBM_SVID_COMPAT] (remainderl): Likewise.
31468 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
31469 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31470 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31471 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31472 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31473 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31474 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31475 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31476 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31477 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31478 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31479 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31480 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31481 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31482 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31483 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31484 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31485 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31486 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31487 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31489 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
31491 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
31492 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
31494 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
31496 * io/read.c (read): Add libc_hidden_weak.
31497 * sysdeps/mach/hurd/read.c (read): Likewise.
31498 * io/write.c (write): Likewise.
31499 * sysdeps/mach/hurd/write.c (write): Likewise.
31500 * io/pread64.c (__pread64): Likewise.
31501 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
31502 * posix/pread64.c (__pread64): Add libc_hidden_def.
31504 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
31506 * benchtests/scripts/compare_strings.py: New option -g.
31507 (draw_graph): Print a message that a graph is being generated.
31508 (process_results): Generate graph only if -g is passed.
31509 (main): Process option -g.
31511 * benchtests/scripts/compare_strings.py (process_results):
31512 Better spacing for output.
31514 * benchtests/scripts/compare_strings.py: Use argparse.
31515 * benchtests/README: Document existence of compare_strings.py.
31517 2017-09-15 Joseph Myers <joseph@codesourcery.com>
31519 * math/s_fma.c: Include <libm-alias-double.h>.
31520 (fma): Define using libm_alias_double.
31521 * math/s_nextafter.c: Include <libm-alias-double.h>.
31522 (nextafter): Define using libm_alias_double.
31523 * math/w_acos_compat.c: Include <libm-alias-double.h>.
31524 (acos): Define using libm_alias_double.
31525 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
31526 (aocsh): Define using libm_alias_double.
31527 * math/w_asin_compat.c: Include <libm-alias-double.h>.
31528 (asin): Define using libm_alias_double.
31529 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
31530 (atan2): Define using libm_alias_double.
31531 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
31532 (atanh): Define using libm_alias_double.
31533 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
31534 (cosh): Define using libm_alias_double.
31535 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
31536 (exp10): Define using libm_alias_double.
31537 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
31538 (exp2): Define using libm_alias_double.
31539 * math/w_exp_compat.c: Include <libm-alias-double.h>.
31540 (exp): Define using libm_alias_double.
31541 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
31542 (fmod): Define using libm_alias_double.
31543 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
31544 (hypot): Define using libm_alias_double.
31545 * math/w_j0_compat.c: Include <libm-alias-double.h>.
31546 (j0): Define using libm_alias_double.
31548 * math/w_j1_compat.c: Include <libm-alias-double.h>.
31549 (j1): Define using libm_alias_double.
31551 * math/w_jn_compat.c: Include <libm-alias-double.h>.
31552 (jn): Define using libm_alias_double.
31554 * math/w_log10_compat.c: Include <libm-alias-double.h>.
31555 (log10): Define using libm_alias_double.
31556 * math/w_log2_compat.c: Include <libm-alias-double.h>.
31557 (log2): Define using libm_alias_double.
31558 * math/w_log_compat.c: Include <libm-alias-double.h>.
31559 (log): Define using libm_alias_double.
31560 * math/w_pow_compat.c: Include <libm-alias-double.h>.
31561 (pow): Define using libm_alias_double.
31562 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
31563 (remainder): Define using libm_alias_double.
31564 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
31565 (sinh): Define using libm_alias_double.
31566 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
31567 (sqrt): Define using libm_alias_double.
31568 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
31569 (tgamma): Define using libm_alias_double.
31570 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
31571 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
31572 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
31573 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
31574 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
31575 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
31576 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
31577 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
31578 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
31579 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
31580 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
31581 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
31582 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
31583 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
31584 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
31585 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
31586 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
31587 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
31588 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
31589 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
31590 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
31591 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
31592 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
31593 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
31594 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
31596 * math/e_acoshl.c: Remove.
31597 * math/e_acosl.c: Likewise.
31598 * math/e_asinl.c: Likewise.
31599 * math/e_atan2l.c: Likewise.
31600 * math/e_atanhl.c: Likewise.
31601 * math/e_coshl.c: Likewise.
31602 * math/e_expl.c: Likewise.
31603 * math/e_fmodl.c: Likewise.
31604 * math/e_gammal_r.c: Likewise.
31605 * math/e_hypotl.c: Likewise.
31606 * math/e_j0l.c: Likewise.
31607 * math/e_j1l.c: Likewise.
31608 * math/e_jnl.c: Likewise.
31609 * math/e_lgammal_r.c: Likewise.
31610 * math/e_log10l.c: Likewise.
31611 * math/e_log2l.c: Likewise.
31612 * math/e_logl.c: Likewise.
31613 * math/e_powl.c: Likewise.
31614 * math/e_rem_pio2l.c: Likewise.
31615 * math/e_sinhl.c: Likewise.
31616 * math/e_sqrtf128.c: Likewise.
31617 * math/e_sqrtl.c: Likewise.
31618 * math/k_cosl.c: Likewise.
31619 * math/k_sinl.c: Likewise.
31620 * math/k_tanl.c: Likewise.
31621 * math/s_asinhl.c: Likewise.
31622 * math/s_atanl.c: Likewise.
31623 * math/s_cbrtl.c: Likewise.
31624 * math/s_erfl.c: Likewise.
31625 * math/s_expm1l.c: Likewise.
31626 * math/s_log1pl.c: Likewise.
31627 * math/s_tanhl.c: Likewise.
31629 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31632 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
31633 [$(subdir) = math] (sysdep_calls): New variable. Has the
31634 previous contents of sysdep_routines, but re-sorted..
31635 [$(subdir) = math] (sysdep_routines): Re-use the contents from
31637 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
31638 defined in sysdep_calls and replace by the respective m_* names.
31639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
31640 (compat_symbol): Undefine to avoid duplicated compat symbols in
31643 2017-09-15 Joseph Myers <joseph@codesourcery.com>
31645 * math/s_fmaf.c: Include <libm-alias-float.h>.
31646 (fmaf): Define using libm_alias_float.
31647 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
31648 (acosf): Define using libm_alias_float.
31649 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
31650 (acoshf): Define using libm_alias_float.
31651 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
31652 (asinf): Define using libm_alias_float.
31653 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
31654 (atan2f): Define using libm_alias_float.
31655 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
31656 (atanhf): Define using libm_alias_float.
31657 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
31658 (coshf): Define using libm_alias_float.
31659 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
31660 (exp10f): Define using libm_alias_float.
31661 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
31662 (fmodf): Define using libm_alias_float.
31663 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
31664 (hypotf): Define using libm_alias_float.
31665 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
31666 (j0f): Define using libm_alias_float.
31668 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
31669 (j1f): Define using libm_alias_float.
31671 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
31672 (jnf): Define using libm_alias_float.
31674 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
31675 (log10f): Define using libm_alias_float.
31676 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
31677 (log2f): Define using libm_alias_float.
31678 * math/w_logf_compat.c: Include <libm-alias-float.h>.
31679 (logf): Define using libm_alias_float.
31680 * math/w_powf_compat.c: Include <libm-alias-float.h>.
31681 (powf): Define using libm_alias_float.
31682 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
31683 (remainderf): Define using libm_alias_float.
31684 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
31685 (sinhf): Define using libm_alias_float.
31686 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
31687 (sqrtf): Define using libm_alias_float.
31688 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
31689 (tgammaf): Define using libm_alias_float.
31691 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31693 * include/math.h (roundeven): Change hidden_proto call to
31695 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
31697 [NO_LONG_DOUBLE] (__j0l): New strong alias.
31698 (y0): Rename to __y0 and define as weak alias.
31699 [NO_LONG_DOUBLE] (__y0l): New strong alias.
31700 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
31702 (y0f): Rename to __y0f and define as weak alias.
31703 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
31705 [NO_LONG_DOUBLE] (__j1l): New strong alias.
31706 (y1): Rename to __y1 and define as weak alias.
31707 [NO_LONG_DOUBLE] (__y1l): New strong alias.
31708 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
31710 (y1f): Rename to __y1f and define as weak alias.
31711 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
31713 [NO_LONG_DOUBLE] (__jnl): New strong alias.
31714 (yn): Rename to __yn and define as weak alias.
31715 [NO_LONG_DOUBLE] (__ynl): New strong alias.
31716 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
31718 (ynf): Rename to __ynf and define as weak alias.
31719 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
31720 (fromfp): Define as weak alias.
31721 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
31722 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
31723 (fromfpx): Define as weak alias.
31724 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
31725 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
31726 __getpayload and define as weak alias.
31727 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31728 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
31729 __roundeven and define as weak alias.
31730 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31731 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
31733 (setpayload): Define as weak alias.
31734 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
31735 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
31737 (setpayloadsig): Define as weak alias.
31738 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
31739 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
31740 __totalorder and define as weak alias.
31741 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31742 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
31743 to __totalordermag and define as weak alias.
31744 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31745 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
31746 (ufromfp): Define as weak alias.
31747 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
31748 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
31750 (ufromfpx): Define as weak alias.
31751 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
31752 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
31753 Rename to __getpayload and define as weak alias.
31754 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31755 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
31756 Rename to __roundeven and define as weak alias.
31757 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31758 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
31759 Rename to __totalorder and define as weak alias.
31760 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31761 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
31762 (totalordermag): Rename to __totalordermag and define as weak
31764 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31765 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
31767 (__roundevenl): Likewise.
31768 (__totalorderl): Likewise.
31769 (__totalordermagl): Likewise
31770 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
31772 (fromfpf128): Define as weak alias.
31773 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
31775 (fromfpxf128): Define as weak alias.
31776 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
31778 (setpayloadf128): Define as weak alias.
31779 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
31780 __setpayloadsigf128.
31781 (setpayloadsigf128): Define as weak alias.
31782 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
31784 (ufromfpf128): Define as weak alias.
31785 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
31787 (ufromfpxf128): Define as weak alias.
31788 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
31789 (fromfpf): Define as weak alias.
31790 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
31792 (fromfpxf): Define as weak alias.
31793 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
31794 __getpayloadf and define as weak alias.
31795 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
31796 __roundevenf and define as weak alias.
31797 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
31799 (setpayloadf): Define as weak alias.
31800 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
31802 (setpayloadsigf): Define as weak alias.
31803 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
31804 __totalorderf and define as weak alias.
31805 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
31806 Rename to __totalordermagf and define as weak alias.
31807 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
31809 (ufromfpf): Define as weak alias.
31810 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
31812 (ufromfpxf): Define as weak alias.
31813 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
31815 (fromfpl): Define as weak alias.
31816 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
31818 (fromfpxl): Define as weak alias.
31819 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
31820 to __getpayloadl and define as weak alias.
31821 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
31822 __roundevenl and define as weak alias.
31823 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
31825 (setpayloadl): Define as weak alias.
31826 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
31828 (setpayloadsigl): Define as weak alias.
31829 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
31830 to __totalorderl and define as weak alias.
31831 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
31832 Rename to __totalordermagl and define as weak alias.
31833 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
31835 (ufromfpl): Define as weak alias.
31836 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
31838 (ufromfpxl): Define as weak alias.
31839 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
31841 (fromfpl): Define as weak alias.
31842 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
31844 (fromfpxl): Define as weak alias.
31845 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
31846 Rename to __getpayloadl and define as weak alias.
31847 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
31848 to __roundevenl and define as weak alias. Call __roundeven
31849 instead of roundeven.
31850 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
31852 (setpayloadl): Define as weak alias.
31853 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
31855 (setpayloadsigl): Define as weak alias.
31856 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
31857 Rename to __totalorderl and define as weak alias.
31858 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
31859 Rename to __totalordermagl and define as weak alias.
31860 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
31862 (ufromfpl): Define as weak alias.
31863 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
31865 (ufromfpxl): Define as weak alias.
31866 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
31868 (fromfpl): Define as weak alias.
31869 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
31871 (fromfpxl): Define as weak alias.
31872 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
31873 __getpayloadl and define as weak alias.
31874 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
31875 __roundevenl and define as weak alias.
31876 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
31878 (setpayloadl): Define as weak alias.
31879 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
31881 (setpayloadsigl): Define as weak alias.
31882 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
31883 __totalorderl and define as weak alias.
31884 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
31885 Rename to __totalordermagl and define as weak alias.
31886 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
31888 (ufromfpl): Define as weak alias.
31889 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
31891 (ufromfpxl): Define as weak alias.
31893 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
31895 * benchtests/bench-string.h (realloc_bufs): New function.
31896 (test_init): Call it.
31897 * benchtests/bench-memset-large.c (do_test): Likewise.
31898 * benchtests/bench-memset.c (do_test): Likewise.
31900 * benchtests/bench-memset-large.c: Print output in JSON
31902 * benchtests/bench-memset.c: Likewise.
31904 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31907 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
31908 * iconvdata/Makefile: Add IBM858.
31909 * iconvdata/gconv-modules: Likewise.
31910 * iconvdata/tst-tables.sh: Likewise.
31911 * iconvdata/ibm858.c: New file.
31912 * localedata/charmaps/IBM858: Likewise.
31914 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
31917 * locales/niu_NZ (LC_TIME): copy "niu_NU".
31918 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
31920 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31923 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
31924 and add tel_int_fmt.
31926 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31928 * sysdeps/generic/libm-alias-float128.h: New file.
31929 * sysdeps/generic/math-type-macros-float128.h: Include
31930 <libm-alias-float128.h>.
31931 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31933 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31935 * sysdeps/generic/libm-alias-ldouble.h: New file.
31936 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
31937 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
31938 * sysdeps/generic/math-type-macros-ldouble.h: Include
31939 <libm-alias-ldouble.h>.
31940 [!declare_mgen_alias] (declare_mgen_alias): Define to use
31941 libm_alias_ldouble.
31943 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
31945 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
31946 * math/w_exp_compat.c: ... here.
31947 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
31948 * math/w_expf_compat.c: ... here.
31949 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
31950 * math/w_expl_compat.c: ... here.
31951 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
31952 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
31953 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
31954 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31956 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31958 * math/w_scalbln_template.c (strong_alias): Do not undefine and
31960 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
31962 (ldexpl): Only define as compat symbol for libc, not libm.
31963 (scalbnl): Define as compat symbol for libc here.
31964 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
31965 define for [IS_IN (libc)].
31966 (__ldexpl_2): Remove alias.
31967 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
31968 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
31969 name in long_double_symbol call.
31970 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
31971 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31972 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31973 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
31974 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
31976 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
31977 Define as compat symbol.
31979 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31981 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
31982 * sysdeps/unix/sysv/linux/alpha/Makefile
31983 [$(subdir) = csu] (sysdep_routines): Remove rule.
31985 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31987 * sysdeps/generic/libm-alias-double.h: New file.
31988 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
31989 * sysdeps/generic/math-type-macros-double.h: Include
31990 <libm-alias-double.h>.
31991 [declare_mgen_alias] (declare_mgen_alias): Define to use
31993 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
31994 (M_LIBM_NEED_COMPAT): Remove macro.
31995 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
31996 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
31997 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
31999 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32000 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32001 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32002 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32003 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32004 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32005 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32006 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32007 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32008 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32009 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32010 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32011 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32012 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32013 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32014 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32015 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32016 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32017 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32018 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32019 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32020 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32021 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32022 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32023 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32024 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32025 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32026 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
32027 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
32029 (declare_mgen_alias): New macro.
32030 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
32031 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
32032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
32033 (M_LIBM_NEED_COMPAT): Remove macro.
32034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
32035 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
32036 <first-versions.h>.
32037 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
32038 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
32040 2017-09-12 Joseph Myers <joseph@codesourcery.com>
32042 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
32043 (declare_mgen_alias_2): Remove.
32044 * sysdeps/generic/math-type-macros-double.h
32045 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
32047 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
32049 (ldexp): Define with declare_mgen_alias.
32050 (scalbn): Likewise.
32052 2017-09-12 Steve Ellcey <sellcey@cavium.com>
32054 * grp/initgroups.c: Include config.h.
32055 (DEFAULT_CONFIG): New macro.
32056 (internal_getgrouplist): Use DEFAULT_CONFIG.
32057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32058 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
32059 (DEFAULT_DEFCONFIG): New macro.
32060 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
32061 * nss/grp-lookup.c: Include config.h
32062 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
32063 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
32064 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
32065 * manual/nss.texi: Update default values section.
32067 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
32070 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
32072 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
32073 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32074 Handle MathVec_Prefer_No_AVX512.
32075 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
32076 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
32079 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
32081 * posix/sched_primax.c (__sched_get_priority_max): Add
32083 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
32084 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32085 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32086 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
32087 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
32088 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
32089 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
32090 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
32093 2017-09-11 Joseph Myers <joseph@codesourcery.com>
32095 * sysdeps/generic/libm-alias-float.h: New file.
32096 * sysdeps/generic/math-type-macros-float.h: Include
32097 <libm-alias-float.h>.
32098 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
32100 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
32103 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
32104 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
32105 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
32106 (HWCAP_IMPORTANT): Likewise.
32107 (HWCAP_X86_64): New enum.
32108 (HWCAP_X86_AVX512_1): Updated.
32109 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
32110 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
32111 (modules-names): Add x86_64/tst-x86_64mod-1.
32112 (LDFLAGS-tst-x86_64mod-1.so): New.
32113 ($(objpfx)tst-x86_64-1): Likewise.
32114 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
32115 (tst-x86_64-1-clean): Likewise.
32116 * sysdeps/x86_64/tst-x86_64-1.c: New file.
32117 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
32119 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32121 * po/sv.po: Update translations.
32122 * po/fr.po: Likewise.
32124 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32126 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
32128 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
32130 * elf/rtld-Rules: Fix $(error) use.
32132 2017-09-09 Mike FABIAN <mfabian@redhat.com>
32135 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
32136 * locale/iso-639.def: Change “Bengali” to “Bangla”.
32137 * localedata/locales/bn_BD: “Bengali” was still used in some
32138 comments. Change it to “Bangla”.
32140 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
32142 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
32144 2017-09-08 Steve Ellcey <sellcey@cavium.com>
32146 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
32147 thunderx2t99p1 to list of cpu names.
32148 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32149 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
32151 2017-09-08 Steve Ellcey <sellcey@cavium.com>
32153 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
32154 Use strcmp instead of tunable_is_name.
32156 2017-09-08 Joseph Myers <joseph@codesourcery.com>
32158 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32159 (F_GET_RW_HINT): New macro.
32160 [__USE_GNU] (F_SET_RW_HINT): Likewise.
32161 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
32162 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
32163 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
32164 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
32165 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
32166 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
32167 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
32168 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
32170 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32171 (F_ADD_SEALS): New macro.
32172 [__USE_GNU] (F_GET_SEALS): Likewise.
32173 [__USE_GNU] (F_SEAL_SEAL): Likewise.
32174 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
32175 [__USE_GNU] (F_SEAL_GROW): Likewise.
32176 [__USE_GNU] (F_SEAL_WRITE): Likewise.
32178 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32180 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
32181 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
32182 * posix/glob_internal.h (__glob_pattern_type):
32183 * posix/glob.c (glob):
32184 * posix/glob_pattern_p.c (__glob_pattern_p):
32187 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
32188 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32189 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
32190 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
32191 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
32193 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
32194 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
32195 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32196 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32197 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32198 * sysdeps/wordsize-64/glob.c: Likewise.
32199 * sysdeps/wordsize-64/glob64.c: Likewise.
32200 * sysdeps/wordsize-64/globfree.c: Likewise.
32201 * sysdeps/wordsize-64/globfree64.c: Likewise.
32202 * sysdeps/unix/sysv/linux/glob.c: New file.
32203 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
32204 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
32205 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
32206 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32207 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
32208 adds !GLOB_NO_OLD_VERSION as an extra condition.
32209 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
32210 using relative path instead of absolute one.
32211 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
32212 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32213 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32214 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
32215 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
32216 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
32219 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
32220 (glob): Use the same scratch buffer for both getlogin_r and
32221 getpwnam_r. Don’t require preallocation of the login name. This
32222 simplifies storage allocation, and corrects the handling of
32226 * posix/glob.c (glob): Port recent patches to platforms
32227 lacking getpwnam_r.
32228 (glob): Fix longstanding misuse of errno after getpwnam_r, which
32229 returns an error number rather than setting errno.
32231 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
32232 instead of GCC extension.
32233 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
32234 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
32235 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
32239 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
32240 * posix/bug-glob1.c: Remove file.
32241 * posix/tst-glob_symlinks.c: New file.
32242 * posix/glob.c (__lstat64): New macro.
32243 (is_dir): New function.
32244 (glob, glob_in_dir): Match symlinks even if they are dangling.
32245 (link_stat, link_exists_p): Remove. All uses removed.
32249 * posix/glob.c (struct readdir_result): Remove skip_entry member.
32250 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
32255 * posix/Makefile (routines): Add globfree, globfree64, and
32257 * posix/flexmember.h: New file.
32258 * posix/glob_internal.h: Likewise.
32259 * posix/glob_pattern_p.c: Likewise.
32260 * posix/globfree.c: Likewise.
32261 * posix/globfree64.c: Likewise.
32262 * sysdeps/gnu/globfree64.c: Likewise.
32263 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
32264 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32265 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
32266 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32267 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32268 * sysdeps/wordsize-64/globfree.c: Likewise.
32269 * sysdeps/wordsize-64/globfree64.c: Likewise.
32270 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
32271 [NDEBUG): Remove comments.
32272 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
32273 (dirent_type): New type. Use uint_fast8_t not
32274 uint8_t, as C99 does not require uint8_t.
32275 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
32276 (struct readdir_result): Use dirent_type. Do not define skip_entry
32277 unless it is needed; this saves a byte on platforms lacking d_ino.
32278 (readdir_result_type, readdir_result_skip_entry):
32279 New functions, replacing ...
32280 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
32281 these functions, which were removed. This makes the callers
32282 easier to read. All callers changed.
32283 (D_INO_TO_RESULT): Now empty if there is no d_ino.
32284 (size_add_wrapv, glob_use_alloca): New static functions.
32285 (glob, glob_in_dir): Check for size_t overflow in several places,
32286 and fix some size_t checks that were not quite right.
32287 Remove old code using SHELL since Bash no longer
32289 (glob, prefix_array): Separate MS code better.
32290 (glob_in_dir): Remove old Amiga and VMS code.
32291 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
32293 (glob_in_dir): Do not rely on undefined behavior in accessing
32294 struct members beyond their bounds. Use a flexible array member
32296 (link_stat): Rename from link_exists2_p and return -1/0 instead of
32297 0/1. Caller changed.
32298 (glob): Fix memory leaks.
32299 * posix/glob64 (globfree64): Move to separate file.
32300 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
32301 (globfree64): Remove hidden alias.
32302 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
32304 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
32306 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
32308 Move compat code to separate file.
32309 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
32312 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
32314 * resolv/tst-resolv-qtypes.c (domain): Changed to
32315 "const char domain[] =".
32317 2017-09-07 Joseph Myers <joseph@codesourcery.com>
32319 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
32322 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
32323 (TCP_MD5SIG_EXT): Likewise.
32324 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
32325 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
32326 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
32328 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
32330 2017-09-07 Mike FABIAN <mfabian@redhat.com>
32332 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
32334 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
32337 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
32339 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
32341 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
32342 before assuming that the file is empty. Avoid testing buffer content
32345 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32348 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32350 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
32352 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
32354 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
32356 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32358 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
32360 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
32363 2017-09-06 Florian Weimer <fweimer@redhat.com>
32365 * malloc/dynarray_emplace_enlarge.c
32366 (__libc_dynarray_emplace_enlarge): Add missing else.
32368 2017-09-06 Florian Weimer <fweimer@redhat.com>
32371 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
32372 case of failure to obtain the global conf object.
32374 2017-09-06 Florian Weimer <fweimer@redhat.com>
32377 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
32378 dynarray allocation failure.
32380 2017-09-06 Florian Weimer <fweimer@redhat.com>
32382 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
32383 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
32384 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
32386 (response): Call them. Add 'p', '6' flag processing.
32387 (test_reverse): New function.
32388 (test_get2_any): Call it.
32389 (test_no_inet6): Add 'p' test.
32390 (test_inet6): Likewise.
32392 2017-09-06 Florian Weimer <fweimer@redhat.com>
32394 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
32395 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
32397 (test_gai): Adjust query names. Add additional tests.
32398 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
32399 test_get2. Adjust query names. Add additional tests.
32400 (test_no_inet6): New function, extracted from threadfunc.
32401 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
32402 Add additional tests.
32404 2017-09-06 Mike FABIAN <mfabian@redhat.com>
32407 * localedata/unicode-gen/utf8_gen.py: Set the width for
32408 characters with Prepended_Concatenation_Mark property to 1
32409 * localedata/charmaps/UTF-8: Updated using the improved script.
32411 2017-09-06 Mike FABIAN <mfabian@redhat.com>
32414 * localedata/unicode-gen/utf8_gen.py: Improve the script to
32415 use the range notation for all ranges of neighbouring characters
32416 with the same width.
32418 2017-09-05 Joseph Myers <joseph@codesourcery.com>
32420 * sysdeps/generic/math-type-macros-double.h: Include
32421 <math-svid-compat.h>.
32422 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32423 * sysdeps/generic/math-type-macros-float.h: Include
32424 <math-svid-compat.h>.
32425 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32426 * sysdeps/generic/math-type-macros-ldouble.h: Include
32427 <math-svid-compat.h>.
32428 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32429 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
32431 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
32432 * math/w_acosf_compat.c: Likewise.
32433 * math/w_acosh_compat.c: Likewise.
32434 * math/w_acoshf_compat.c: Likewise.
32435 * math/w_acoshl_compat.c: Likewise.
32436 * math/w_acosl_compat.c: Likewise.
32437 * math/w_asin_compat.c: Likewise.
32438 * math/w_asinf_compat.c: Likewise.
32439 * math/w_asinl_compat.c: Likewise.
32440 * math/w_atan2_compat.c: Likewise.
32441 * math/w_atan2f_compat.c: Likewise.
32442 * math/w_atan2l_compat.c: Likewise.
32443 * math/w_atanh_compat.c: Likewise.
32444 * math/w_atanhf_compat.c: Likewise.
32445 * math/w_atanhl_compat.c: Likewise.
32446 * math/w_cosh_compat.c: Likewise.
32447 * math/w_coshf_compat.c: Likewise.
32448 * math/w_coshl_compat.c: Likewise.
32449 * math/w_exp10_compat.c: Likewise.
32450 * math/w_exp10f_compat.c: Likewise.
32451 * math/w_exp10l_compat.c: Likewise.
32452 * math/w_exp2_compat.c: Likewise.
32453 * math/w_exp2f_compat.c: Likewise.
32454 * math/w_exp2l_compat.c: Likewise.
32455 * math/w_fmod_compat.c: Likewise.
32456 * math/w_fmodf_compat.c: Likewise.
32457 * math/w_fmodl_compat.c: Likewise.
32458 * math/w_hypot_compat.c: Likewise.
32459 * math/w_hypotf_compat.c: Likewise.
32460 * math/w_hypotl_compat.c: Likewise.
32461 * math/w_j0_compat.c: Likewise.
32462 * math/w_j0f_compat.c: Likewise.
32463 * math/w_j0l_compat.c: Likewise.
32464 * math/w_j1_compat.c: Likewise.
32465 * math/w_j1f_compat.c: Likewise.
32466 * math/w_j1l_compat.c: Likewise.
32467 * math/w_jn_compat.c: Likewise.
32468 * math/w_jnf_compat.c: Likewise.
32469 * math/w_jnl_compat.c: Likewise.
32470 * math/w_lgamma_r_compat.c: Likewise.
32471 * math/w_lgammaf_r_compat.c: Likewise.
32472 * math/w_lgammal_r_compat.c: Likewise.
32473 * math/w_log10_compat.c: Likewise.
32474 * math/w_log10f_compat.c: Likewise.
32475 * math/w_log10l_compat.c: Likewise.
32476 * math/w_log2_compat.c: Likewise.
32477 * math/w_log2f_compat.c: Likewise.
32478 * math/w_log2l_compat.c: Likewise.
32479 * math/w_log_compat.c: Likewise.
32480 * math/w_logf_compat.c: Likewise.
32481 * math/w_logl_compat.c: Likewise.
32482 * math/w_pow_compat.c: Likewise.
32483 * math/w_powf_compat.c: Likewise.
32484 * math/w_powl_compat.c: Likewise.
32485 * math/w_remainder_compat.c: Likewise.
32486 * math/w_remainderf_compat.c: Likewise.
32487 * math/w_remainderl_compat.c: Likewise.
32488 * math/w_sinh_compat.c: Likewise.
32489 * math/w_sinhf_compat.c: Likewise.
32490 * math/w_sinhl_compat.c: Likewise.
32491 * math/w_sqrt_compat.c: Likewise.
32492 * math/w_sqrtf_compat.c: Likewise.
32493 * math/w_sqrtl_compat.c: Likewise.
32494 * math/w_tgamma_compat.c: Likewise.
32495 * math/w_tgammaf_compat.c: Likewise.
32496 * math/w_tgammal_compat.c: Likewise.
32497 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
32498 [LIBM_SVID_COMPAT].
32499 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
32500 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
32501 [LIBM_SVID_COMPAT].
32502 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
32503 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
32504 [LIBM_SVID_COMPAT].
32505 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
32506 * sysdeps/i386/fpu/w_sqrt.c: New file.
32507 * sysdeps/ia64/fpu/w_acos.c: Likewise.
32508 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
32509 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
32510 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
32511 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
32512 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
32513 * sysdeps/ia64/fpu/w_asin.c: Likewise.
32514 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
32515 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
32516 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
32517 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
32518 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
32519 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
32520 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
32521 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
32522 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
32523 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
32524 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
32525 * sysdeps/ia64/fpu/w_exp.c: Likewise.
32526 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
32527 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
32528 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
32529 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
32530 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
32531 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
32532 * sysdeps/ia64/fpu/w_expf.c: Likewise.
32533 * sysdeps/ia64/fpu/w_expl.c: Likewise.
32534 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
32535 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
32536 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
32537 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
32538 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
32539 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
32540 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
32541 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
32542 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
32543 * sysdeps/ia64/fpu/w_log.c: Likewise.
32544 * sysdeps/ia64/fpu/w_log10.c: Likewise.
32545 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
32546 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
32547 * sysdeps/ia64/fpu/w_log2.c: Likewise.
32548 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
32549 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
32550 * sysdeps/ia64/fpu/w_logf.c: Likewise.
32551 * sysdeps/ia64/fpu/w_logl.c: Likewise.
32552 * sysdeps/ia64/fpu/w_pow.c: Likewise.
32553 * sysdeps/ia64/fpu/w_powf.c: Likewise.
32554 * sysdeps/ia64/fpu/w_powl.c: Likewise.
32555 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
32556 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
32557 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
32558 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
32559 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
32560 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
32561 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
32562 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
32563 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
32564 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
32565 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
32566 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
32567 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
32568 [LIBM_SVID_COMPAT].
32569 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32570 * sysdeps/ieee754/k_standard.c: Likewise.
32571 * sysdeps/ieee754/k_standardf.c: Likewise.
32572 * sysdeps/ieee754/k_standardl.c: Likewise.
32573 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32574 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32575 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32576 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
32577 long_double_symbol call on [LIBM_SVID_COMPAT].
32578 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32579 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32580 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32581 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32582 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32583 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32584 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32585 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32586 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32587 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32588 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32589 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
32590 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32591 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32592 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32593 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32594 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
32595 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32596 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32597 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32598 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
32599 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
32601 2017-09-05 Steve Ellcey <sellcey@cavium.com>
32603 * include/shlib-compat.h (TEST_COMPAT): New Macro.
32604 * malloc/tst-mallocstate.c: Convert from test-skeleton
32605 to test-driver. Ifdef code using TEST_COMPAT macro.
32606 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
32607 * math/test-matherr.c: Likewise.
32609 2017-09-05 Joseph Myers <joseph@codesourcery.com>
32612 * debug/pcprofiledump.c (main): Use byte-swapped mask when
32613 comparing word with byte-swapped constant.
32615 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
32618 * locale/iso-639.def: add Miskito.
32619 * localedata/SUPPORTED: Add miq_NI/UTF-8.
32620 * localedata/locales/miq_NI: New file.
32622 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
32625 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
32626 (__mkdir): Likewise.
32627 * io/chmod.c (__chmod): Add libc_hidden_def.
32628 * io/mkdir.c (__mkdir): Likewise.
32629 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
32630 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
32631 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
32632 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
32634 2017-09-04 Joseph Myers <joseph@codesourcery.com>
32636 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
32640 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
32641 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
32643 2017-09-04 Florian Weimer <fweimer@redhat.com>
32645 * math/math.h: Issue warning if log is defined.
32647 2017-09-04 Joseph Myers <joseph@codesourcery.com>
32649 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
32650 kernel version to 4.13.
32652 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
32654 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
32655 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
32657 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
32658 just <bits/types.h>.
32659 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
32660 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
32661 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
32662 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
32663 * misc/preadv2.c: Include <errno.h>.
32664 * misc/preadv64v2.c: Include <errno.h>.
32665 * misc/pwritev2.c: Include <errno.h>.
32666 * misc/pwritev64v2.c: Include <errno.h>.
32667 * sysdeps/posix/preadv2.c: Include <errno.h>.
32668 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
32669 Fix <unistd.h> inclusion.
32670 * sysdeps/posix/pwritev2.c: Include <errno.h>.
32671 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
32672 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
32673 __strtoul_internal): New functions.
32674 * sysdeps/posix/pause.c: Include <sigsetops.h>.
32675 * sysdeps/posix/system.c: Include <sigsetops.h>.
32676 * sysdeps/mach/hurd/i386/Makefile
32677 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
32678 [$(subdir) = csu] (sysdep-only-routines): Likewise.
32679 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
32680 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
32681 __feraiseexcept_renamed to feraiseexcept instead of
32682 __GI_feraiseexcept.
32683 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
32684 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
32685 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
32686 RWF_NOWAIT): Define to 0 if undefined already.
32687 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
32689 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
32690 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
32692 2017-09-01 Joseph Myers <joseph@codesourcery.com>
32694 * manual/math.texi (pow10): Do not document.
32695 (pow10f): Likewise.
32696 (pow10l): Likewise.
32697 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
32698 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
32699 * math/libm-test-exp10.inc (pow10_test): Remove.
32700 (do_test): Do not call pow10.
32701 * math/w_exp10_compat.c (pow10): Make into compat symbol.
32702 [NO_LONG_DOUBLE] (pow10l): Likewise.
32703 * math/w_exp10f_compat.c (pow10f): Likewise.
32704 * math/w_exp10l_compat.c (pow10l): Likewise.
32705 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
32706 (pow10): Make into compat symbol.
32707 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
32708 (pow10f): Make into compat symbol.
32709 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
32710 (pow10l): Make into compat symbol.
32711 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
32713 (CFLAGS-nldbl-pow10.c): Remove variable..
32714 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
32715 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
32716 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
32717 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
32718 Undefine and redefine.
32719 (pow10l): Make into compat symbol.
32720 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
32721 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32722 * sysdeps/arm/libm-test-ulps: Likewise.
32723 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
32724 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32725 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
32726 * sysdeps/microblaze/libm-test-ulps: Likewise.
32727 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32728 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32729 * sysdeps/nios2/libm-test-ulps: Likewise.
32730 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32731 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32732 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32733 * sysdeps/sh/libm-test-ulps: Likewise.
32734 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32735 * sysdeps/tile/libm-test-ulps: Likewise.
32736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32738 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32740 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
32742 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32744 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
32745 "../ChangeLog.old/ChangeLog.8".
32746 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
32747 "../ChangeLog.old/ChangeLog.14".
32749 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32751 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
32754 2017-09-01 Joseph Myers <joseph@codesourcery.com>
32756 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
32758 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32760 * csu/version.c (banner): Remove "by Roland McGrath et al.".
32761 * nptl/Banner: Remove "by Ulrich Drepper et al.".
32763 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32765 * stdlib/tst-atexit-common.c (do_test): Test support for at least
32766 32 atexit handlers.
32768 2017-09-01 Zack Weinberg <zackw@panix.com>
32770 * math/math.h (HUGE_VAL): Improve commentary.
32772 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32773 Andreas Schwab <schwab@suse.de>
32776 * include/stdio.h (__gen_tempfd): New function.
32777 * stdio-common/Makefile (routines): Add gentempfd.
32778 * stdio-common/gentempfd.c: New file.
32779 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
32780 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
32781 unnamed file first.
32783 2017-09-01 Florian Weimer <fweimer@redhat.com>
32787 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
32788 result to determine success or failure, not the errno value.
32789 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
32790 (tst-nss-files-hosts-erange): Link with -ldl.
32791 * nss/tst-nss-files-hosts-erange.c: New file.
32792 * nss/tst-resolv-basic.c (response): Handle nodata.example.
32793 (do_test): Add NO_DATA tests.
32794 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
32795 (do_test): Call it.
32797 2017-09-01 Florian Weimer <fweimer@redhat.com>
32800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
32801 coming from gethostbyname2_r.
32803 2017-09-01 Florian Weimer <fweimer@redhat.com>
32805 * support/namespace.h (struct support_chroot_configuration): Add
32807 (struct support_chroot): Add path_hosts, path_host_conf.
32808 * support/support_chroot.c (write_file): New function.
32809 (support_chroot_create): Call it to process /etc/resolv.conf,
32810 /etc/hosts, /etc/host.conf.
32811 (support_chroot_free): Update.
32813 2017-09-01 Florian Weimer <fweimer@redhat.com>
32815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
32816 status indicates it is set.
32818 2017-09-01 Florian Weimer <fweimer@redhat.com>
32821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
32822 function lookup failures more reliable.
32824 2017-09-01 Florian Weimer <fweimer@redhat.com>
32826 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
32827 (getcanonname): Likewise.
32828 (gaih_inet): Likewise.
32830 2017-09-01 Florian Weimer <fweimer@redhat.com>
32832 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
32833 (getcanonname): Likewise.
32834 (gaih_inet): Likewise.
32836 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32837 Richard Henderson <rth@twiddle.net>
32839 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
32840 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
32841 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
32842 (IREG_SIZE, OREG_SIZE): New macros.
32843 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
32844 (IREG_SIZE, OREG_SIZE): New macros.
32845 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
32846 (IREG_SIZE): New macro.
32847 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
32848 (IREG_SIZE): New macro.
32849 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
32851 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
32852 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32853 (__CONCATX): Handle exceptions correctly on large values that may
32855 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
32856 Initialize if not already set.
32857 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32859 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32861 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
32862 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
32864 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
32866 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
32868 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
32870 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
32872 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
32874 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
32876 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
32877 (NO_CANCELLATION): Likewise.
32878 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
32880 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
32882 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
32884 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
32885 (NO_CANCELLATION): Likewise.
32886 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
32887 (NO_CANCELLATION): Likewise.
32888 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
32890 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
32892 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
32894 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
32896 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
32898 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
32899 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
32901 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32903 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
32906 2017-08-31 Florian Weimer <fweimer@redhat.com>
32908 * include/libc-symbols.h (internal_function): Remove.
32910 2017-08-31 Florian Weimer <fweimer@redhat.com>
32912 * stdlib/fmtmsg.c (internal_addseverity): Remove
32915 2017-08-31 Florian Weimer <fweimer@redhat.com>
32917 * stdio-common/printf_fp.c (group_number): Remove
32919 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
32921 2017-08-31 Florian Weimer <fweimer@redhat.com>
32923 * posix/fnmatch.c (internal_function): Remove definition.
32924 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
32925 * posix/regcomp.c (peek_token, init_word_char)
32926 (duplicate_node_closure, fetch_token, peek_token)
32927 (peek_token_bracket, build_range_exp, build_collating_symbol):
32929 * posix/regex_internal.c (re_string_construct_common)
32930 (create_ci_newstate, create_cd_newstate, re_string_allocate)
32931 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
32932 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
32933 (re_string_translate_buffer, re_string_reconstruct)
32934 (re_string_peek_byte_case, re_string_fetch_byte_case)
32935 (re_string_destruct, re_string_context_at, re_node_set_alloc)
32936 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
32937 (re_node_set_add_intersect, re_node_set_init_union)
32938 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
32939 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
32940 (re_dfa_add_node, calc_state_hash, re_acquire_state)
32941 (re_acquire_state_context): Likewise.
32942 * posix/regex_internal.h (internal_function): Remove definition.
32943 (re_string_realloc_buffers, build_wcs_buffer)
32944 (build_wcs_upper_buffer, build_upper_buffer)
32945 (re_string_translate_buffer, re_string_context_at)
32946 (re_string_char_size_at, re_string_wchar_at)
32947 (re_string_elem_size_at): Likewise.
32948 * posix/regexec.c (match_ctx_init, match_ctx_clean)
32949 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
32950 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
32951 (re_search_internal, re_search_2_stub, re_search_stub)
32952 (re_copy_regs, prune_impossible_nodes, check_matching)
32953 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
32954 (free_fail_stack_return, sift_states_iter_mb)
32955 (sift_states_backward, build_sifted_states)
32956 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
32957 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
32958 (check_subexp_limits, sift_states_bkref, merge_state_array)
32959 (find_recover_state, transit_state, merge_state_with_log)
32960 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
32961 (transit_state_mb, transit_state_bkref, get_subexp)
32962 (get_subexp_sub, find_subexp_node, check_arrival)
32963 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
32964 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
32965 (check_node_accept_bytes, find_collation_sequence_value)
32966 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
32967 (acquire_init_state_context, check_halt_node_context)
32968 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
32969 (sub_epsilon_src_nodes): Likewise.
32970 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
32971 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
32972 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
32973 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
32974 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
32975 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
32976 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
32977 * sysdeps/posix/ttyname.c (getttyname): Likewise.
32978 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
32979 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
32980 (PREADV): Likewise.
32981 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
32982 (PREADV): Likewise.
32983 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
32984 (PWRITEV): Likewise.
32985 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
32986 (PWRITEV): Likewise.
32987 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
32988 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
32990 2017-08-31 Florian Weimer <fweimer@redhat.com>
32992 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
32993 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
32994 Remove internal_function.
32995 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32996 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
32997 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
32998 (__deallocate_stack, __libc_pthread_init)
32999 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
33000 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
33001 (__libc_disable_asynccancel, __librt_disable_asynccancel):
33003 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
33004 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
33005 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
33007 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
33008 (__pthread_mutex_unlock_usercnt): Likewise.
33010 2017-08-31 Florian Weimer <fweimer@redhat.com>
33012 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
33013 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
33014 (fts_safe_changedir): Remove internal_function.
33015 * io/ftw.c (internal_function): Remove definition.
33016 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
33018 2017-08-31 Florian Weimer <fweimer@redhat.com>
33020 * inet/deadline.c (__deadline_current_time)
33021 (__deadline_from_timeval, __deadline_to_ms): Remove
33023 * inet/getnameinfo.c (nrl_domainname): Likewise.
33024 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
33025 * inet/inet6_option.c (add_pad): Likewise.
33026 * inet/net-internal.h (__deadline_current_time)
33027 (__deadline_from_timeval, __deadline_to_ms): Likewise.
33028 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
33029 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
33030 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
33032 2017-08-31 Joseph Myers <joseph@codesourcery.com>
33034 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
33035 include <bits/nan.h>.
33036 * math/Makefile (headers): Remove bits/nan.h.
33037 * bits/nan.h: Remove.
33038 * sysdeps/ieee754/bits/nan.h: Likewise.
33039 * sysdeps/mips/bits/nan.h: Likewise.
33041 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
33042 not include <bits/inf.h>.
33043 * math/Makefile (headers): Remove bits/inf.h.
33044 * bits/inf.h: Remove.
33045 * sysdeps/ieee754/bits/inf.h: Likewise.
33047 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
33048 bits/huge_vall.h or bits/huge_val_flt128.h.
33049 (HUGE_VAL): Define directly here.
33050 [__USE_ISOC99] (HUGE_VALF): Likewise.
33051 [__USE_ISOC99] (HUGE_VALL): Likewise.
33052 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33053 (HUGE_VAL_F128): Likewise.
33054 * math/Makefile (headers): Remove bits/huge_val.h,
33055 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
33056 * bits/huge_val.h: Remove.
33057 * bits/huge_val_flt128.h: Likewise.
33058 * bits/huge_valf.h: Likewise.
33059 * bits/huge_vall.h: Likewise.
33060 * sysdeps/ia64/bits/huge_vall.h: Likewise.
33061 * sysdeps/ieee754/bits/huge_val.h: Likewise.
33062 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
33063 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
33064 * sysdeps/sh/bits/huge_val.h: Likewise.
33065 * sysdeps/sparc/bits/huge_vall.h: Likewise.
33066 * sysdeps/x86/bits/huge_vall.h: Likewise.
33068 2017-08-31 Florian Weimer <fweimer@redhat.com>
33070 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
33072 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
33074 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
33075 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33076 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
33077 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
33078 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33079 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33080 * elf/dl-libc.c (dlerror_run): Likewise.
33081 * elf/dl-load.c (add_name_to_object, decompose_rpath)
33082 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
33083 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
33084 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
33086 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
33087 (_dl_higher_prime_number, _dl_strtoul): Likewise.
33088 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
33089 * elf/dl-profile.c (_dl_start_profile): Likewise.
33090 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
33091 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
33093 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
33094 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
33095 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
33096 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
33097 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
33098 (_dl_allocate_tls_storage): Likewise.
33099 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
33100 (_dl_check_all_versions): Likewise.
33101 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
33102 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
33103 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
33104 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33105 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
33106 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
33107 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
33108 internal_function from __dl_start.
33109 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
33110 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
33111 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
33112 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
33113 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
33114 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
33115 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
33116 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
33117 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
33118 (_dl_next_ld_env_entry, _dl_important_hwcaps)
33119 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
33120 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
33121 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
33122 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
33123 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
33125 (struct rtld_global_ro): Remove internal_function from the
33126 _dl_lookup_symbol_x member.
33127 (_dl_symbol_value): Remove. No longer defined anywhere.
33128 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
33130 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33131 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33132 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
33133 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
33134 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
33135 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
33136 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
33137 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
33138 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
33139 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
33140 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33141 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33143 2017-08-31 Florian Weimer <fweimer@redhat.com>
33145 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
33146 Remove internal_function.
33147 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33149 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33152 2017-08-31 Florian Weimer <fweimer@redhat.com>
33154 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
33155 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
33156 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
33158 2017-08-31 Florian Weimer <fweimer@redhat.com>
33160 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
33161 (__gai_enqueue_request): Remove internal_function.
33162 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
33163 (__gai_remove_request, __gai_notify, __gai_notify_only)
33164 (__gai_sigqueue): Likewise.
33165 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
33166 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
33167 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
33168 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33171 2017-08-31 Florian Weimer <fweimer@redhat.com>
33173 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
33174 * include/dirent.h (__opendirat, __getdents, __getdents64)
33175 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
33176 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
33177 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33178 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
33180 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
33182 2017-08-31 Florian Weimer <fweimer@redhat.com>
33184 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
33186 (GETCWD_RETURN_TYPE): Likewise.
33188 2017-08-31 Florian Weimer <fweimer@redhat.com>
33190 * include/time.h (__tz_compute, __strptime_internal): Remove
33192 * time/strptime_l.c (__strptime_internal): Likewise.
33193 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
33195 2017-08-31 Florian Weimer <fweimer@redhat.com>
33197 * iconv/gconv.c (__gconv): Remove internal_function.
33198 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
33199 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
33200 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
33201 (__gconv_release_cache): Likewise.
33202 * iconv/gconv_close.c (__gconv_close): Likewise.
33203 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
33204 (read_conf_file, __gconv_get_path): Likewise.
33205 * iconv/gconv_db.c (derivation_lookup, add_derivation)
33206 (__gconv_release_step, gen_steps, increment_counter)
33207 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
33208 (__gconv_close_transform, free_modules_db): Likewise.
33209 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
33211 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
33212 (__gconv_find_transform, __gconv_lookup_cache)
33213 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
33214 (__gconv_close_transform, __gconv_release_cache)
33215 (__gconv_loaded_object, __gconv_release_shlib)
33216 (__gconv_compare_alias): Likewise.
33217 * iconv/gconv_open.c (__gconv_open): Likewise.
33218 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
33219 * iconv/iconvconfig.c (add_module): Likewise.
33220 * intl/dcigettext.c (plural_lookup, guess_category_value)
33221 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
33222 * intl/eval-plural.h (plural_eval): Likewise.
33223 * intl/finddomain.c (_nl_find_domain): Likewise.
33224 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
33225 (_nl_load_domain, _nl_find_msg): Likewise.
33226 (internal_function): Remove definition.
33227 * intl/loadinfo.h (internal_function): Likewise.
33228 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
33230 * intl/localealias.c (internal_function): Remove definition.
33231 (read_alias_file): Remove internal_function.
33232 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
33233 * intl/plural-exp.h (internal_function): Remove definition.
33234 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
33236 * intl/plural.c: Regenerate.
33237 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
33238 * locale/coll-lookup.c (__collidx_table_lookup)
33239 (__collseq_table_lookup): Likewise.
33240 * locale/coll-lookup.h (__collidx_table_lookup)
33241 (__collseq_table_lookup): Likewise.
33242 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
33243 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33244 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
33245 (_nl_unload_locale): Likewise.
33246 * locale/localeinfo.h (struct __locale_data): Remove
33247 internal_function from cleanup member.
33248 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
33249 (_nl_remove_locale, _nl_load_locale_from_archive)
33250 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
33251 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
33252 (_nl_cleanup_time): Remove internal_function.
33253 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
33254 (_nl_parse_alt_digit): Likewise.
33255 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
33256 (_nl_select_era_entry): Likewise.
33257 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
33258 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33259 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
33260 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33261 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
33263 2017-08-31 Florian Weimer <fweimer@redhat.com>
33265 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
33266 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
33267 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
33268 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
33270 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
33271 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
33272 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
33273 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33275 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
33277 2017-08-31 Florian Weimer <fweimer@redhat.com>
33279 * misc/getttyent.c (skip, value): Remove internal_function.
33280 * misc/syslog.c (openlog_internal): Likewise.
33281 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
33283 2017-08-31 Florian Weimer <fweimer@redhat.com>
33285 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
33286 (__nss_rewrite_field): Remove internal_function.
33287 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33288 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33289 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33290 * nss/nsswitch.c (nss_parse_file, nss_getline)
33291 (nss_parse_service_list, nss_new_service): Likewise.
33292 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
33293 * nss/valid_field.c (__nss_valid_field): Likewise.
33294 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
33296 2017-08-31 Florian Weimer <fweimer@redhat.com>
33298 * malloc/arena.c (__malloc_fork_lock_parent)
33299 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
33300 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
33301 internal_function from defintions.
33302 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
33303 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
33304 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
33305 internal_function from declarations.
33306 * malloc/malloc.c (internal_function): Do not define.
33307 (mem2mem_check): Remove internal_function from declaration.
33308 (munmap_chunk, mremap_chunk): Remove internal_function.
33309 * malloc/mtrace.c (tr_where): Likewise.
33311 2017-08-31 Florian Weimer <fweimer@redhat.com>
33313 * include/rpc/pmap_clnt.h (__get_socket): Remove
33315 * sunrpc/auth_des.c (synchronize): Likewise.
33316 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
33317 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
33318 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
33319 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
33320 (key_call): Likewise.
33321 * sunrpc/pm_getport.c (__get_socket): Likewise.
33322 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
33323 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
33324 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
33325 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
33326 (invalidate): Likewise.
33327 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
33328 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
33329 (set_input_fragment, get_input_bytes): Likewise.
33331 2017-08-31 Florian Weimer <fweimer@redhat.com>
33333 * malloc/malloc.c (_int_free): Remove locked variable and related
33336 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
33339 * Makerules (build-module-helper-objlist): Filter out
33340 $(elf-objpfx)sofini.os.
33341 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
33344 2017-08-31 Florian Weimer <fweimer@redhat.com>
33346 * libio/fcloseall.c: Assume weak_alias is defined.
33347 * libio/feof.c: Likewise.
33348 * libio/fileno.c: Likewise.
33349 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
33350 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33352 (_IO_file_open): Call __open directly.
33353 (_IO_new_file_sync): Assume ESPIPE is defined.
33354 (_IO_file_seekoff_maybe_mmap): Call __read directly.
33355 (_IO_new_file_write): Call __write directly.
33356 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
33357 * libio/ftello64.c (__ftello64): Assume EIO is defined.
33358 * libio/genops.c: Assume _LIBC is defined.
33359 (save_for_backup): Remove internal_function.
33360 * libio/getc.c: Assume weak_alias is defined.
33361 * libio/getwc.c: Likewise.
33362 * libio/iofclose.c: Assume _LIBC is defined.
33363 * libio/iofdopen.c: Likewise.
33364 (_IO_fcntl): Remove macro definition.
33365 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
33366 Call __fcntl directly.
33367 * libio/iofflush.c: Assume weak_alias is defined.
33368 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
33370 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
33371 * libio/iofgets.c: Likewise.
33372 * libio/iofopen.c: Assume _LIBC is defined.
33373 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
33374 * libio/iofputs.c: Assume weak_alias is defined.
33375 * libio/iofread.c: Likewise.
33376 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
33377 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
33378 * libio/ioftell.c: Assume weak_alias is defined.
33379 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
33380 * libio/iofwide.c: Assume _LIBC is defined.
33381 (_IO_fwide): Drop SHARED conditional because it is implied by
33383 * libio/iofwrite.c: Assume weak_alias is defined.
33384 * libio/iogetdelim.c: Likewise.
33385 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
33386 * libio/iogetwline.c (wmemcpy): Remove macro definition.
33387 (_IO_getwline): Call __wmemcpy directly.
33388 * libio/iopopen.c: Assume _LIBC is defined.
33389 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33390 (_IO_close): Remove macro definitions.
33391 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
33393 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
33395 * libio/ioputs.c: Assume weak_alias is defined.
33396 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
33397 * libio/iosetbuffer.c: Assume weak_alias is defined.
33398 * libio/iosetvbuf.c: Likewise.
33399 * libio/ioungetc.c: Likewise.
33400 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
33401 libc_hidden_def, libc_hidden_weak, NULL are defined.
33402 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
33403 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
33405 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33407 (_IO_old_file_init_internal): Drop SHARED conditional because it
33408 is implied by SHLIB_COMPAT.
33409 (_IO_old_file_fopen): Call __open directly.
33410 (_IO_old_file_sync): Assume ESPIPE is defined.
33411 (_IO_old_file_write): Call __write directly.
33412 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
33413 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
33414 Call __fcntl directly.
33415 * libio/oldiofgetpos.c: Assume weak_alias is defined.
33416 (_IO_old_fgetpos): Assume EIO is defined.
33417 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
33418 (_IO_old_fgetpos64): Assume EIO is defined.
33419 * libio/oldiofsetpos.c: Assume weak_alias is defined.
33420 (_IO_old_fsetpos): Assume EIO is defined.
33421 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
33422 (_IO_old_fsetpos64): Assume EIO is defined.
33423 * libio/oldiopopen.c: Assume _LIBC is defined.
33424 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33425 (_IO_close): Remove macro definitions.
33426 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
33428 (_IO_old_proc_close): Call __close, __waitpid directly.
33429 * libio/put.c: Assume weak_alias is defined.
33430 * libio/stdfiles.c: Assume _LIBC is defined.
33431 * libio/stdio.c: Likewise.
33432 * libio/wfileops.c: Likewise.
33433 (_IO_wfile_sync): Assume ESPIPE is defined.
33434 * libio/wgenops.c: Assume _LIBC is defined.
33435 (save_for_wbackup): Remove internal_function.
33437 2017-08-31 Florian Weimer <fweimer@redhat.com>
33439 * malloc/malloc.c (top_check): Change return type to void. Remove
33441 * malloc/hooks.c (top_check): Likewise.
33442 (malloc_check, realloc_check, memalign_check): Adjust.
33444 2017-08-30 Joseph Myers <joseph@codesourcery.com>
33447 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33448 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
33449 sigcontext and namespace requirements.
33450 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33451 * sysdeps/m68k/sys/ucontext.h: Likewise.
33452 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
33453 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
33454 <bits/sigcontext.h>.
33455 (__ctx): Define earlier.
33456 (mcontext_t): Define structure contents rather than using struct
33458 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
33459 __glibc_reserved1 instead of __reserved.
33460 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
33461 <bits/sigcontext.h>.
33462 (__ctx): Define earlier.
33463 (mcontext_t): Define structure contents rather than using struct
33465 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
33466 mcontext_t instead of struct sigcontext.
33467 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
33468 <bits/sigcontext.h>.
33469 (__ctx): Define earlier.
33470 (mcontext_t): Define structure contents rather than using struct
33472 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
33473 <bits/sigcontext.h>.
33474 (__ctx): Define earlier.
33475 (mcontext_t): Define structure contents rather than using struct
33477 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
33478 mcontext_t instead of struct sigcontext.
33479 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
33480 mcontext_t instead of struct sigcontext.
33481 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
33482 <bits/sigcontext.h>.
33483 (__ctx): New macro.
33484 (struct __ia64_fpreg_mcontext): New type.
33485 (mcontext_t): Define structure contents rather than using struct
33487 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
33488 (uc_sigmask): Define using __ctx.
33489 (uc_stack): Likewise.
33490 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
33491 <bits/sigcontext.h>.
33492 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33493 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
33494 <bits/sigcontext.h>.
33495 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
33496 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
33497 <bits/sigcontext.h>.
33498 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
33499 <bits/sigcontext.h>.
33500 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
33501 <bits/sigcontext.h>.
33502 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
33503 <bits/sigcontext.h>.
33504 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
33505 <bits/sigcontext.h>.
33506 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
33507 <bits/sigcontext.h>.
33508 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
33509 <bits/sigcontext.h>.
33510 (__ctx): Define earlier.
33511 (mcontext_t): Define structure contents rather than using struct
33513 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
33514 <bits/sigcontext.h>. Include <bits/types.h>.
33515 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
33516 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
33517 (test-xfail-XPG42/ucontext.h/conform): Likewise.
33518 (test-xfail-UNIX98/signal.h/conform): Likewise.
33519 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33520 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33521 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33522 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33523 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33524 (test-xfail-POSIX2008/signal.h/conform): Likewise.
33525 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33526 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33527 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33529 2017-08-30 Florian Weimer <fweimer@redhat.com>
33531 * malloc/dynarray_emplace_enlarge.c
33532 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
33533 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
33534 * malloc/tst-dynarray.c (test_long_overflow): New function.
33535 (do_test): Call it.
33537 2017-08-30 Florian Weimer <fweimer@redhat.com>
33539 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
33540 (set_arena_corrupt): Remove definitions.
33541 (mtrim): Do not check for corrupt arena.
33542 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
33545 2017-08-30 Florian Weimer <fweimer@redhat.com>
33548 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
33550 (ptmalloc_init): Do not set or use check_action.
33551 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
33552 call to malloc_printerr. Remove return statement.
33553 (free_check): Likewise. Remove arena unlock.
33554 (top_check): Update comment. Adjust call to malloc_printerr.
33555 Remove heap repair code.
33556 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
33557 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
33558 (sysmalloc): Adjust call to malloc_printerr.
33559 (munmap_chunk, __libc_realloc): Likewise. Remove return
33561 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
33562 Remove errout label and corresponding gotos.
33563 (_int_free): Likewise. Remove arena unlock.
33564 (do_set_mallopt_check): Do not set check_action.
33565 (malloc_printerr): Adjust parameter list. Do not mark arena as
33567 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
33569 * manual/probes.texi (Memory Allocation Probes): Remove
33570 memory_mallopt_check_action.
33572 2017-08-30 Steve Ellcey <sellcey@cavium.com>
33574 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
33575 Use pointer to uint64_t instead of long int for sp.
33577 2017-08-30 Florian Weimer <fweimer@redhat.com>
33580 * malloc/malloc.c (malloc_printerr): Always terminate the process,
33581 without printing a backtrace. Do not leak any information in the
33583 * manual/memory.texi (Heap Consistency Checking): Update.
33584 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
33586 2017-08-30 Florian Weimer <fweimer@redhat.com>
33588 Do not scale NPTL tests with available number of CPUs.
33589 * nptl/tst-cond16.c (count): Set to constant value of 8.
33590 * nptl/tst-cond18.c (count): Likewise.
33592 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33595 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
33596 Define to take a second argument that is a macro that
33597 concatentates a suffix, not the suffix itself.
33598 (__CONCAT_d): New macro.
33599 (__CONCAT_f): Likewise.
33600 (__CONCAT_l): Likewise.
33602 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
33604 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
33607 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33608 Aurelien Jarno <aurelien@aurel32.net>
33609 Maciej W. Rozycki <macro@imgtec.com>
33612 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
33613 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
33614 `mips16-syscall6' and `mips16-syscall7'.
33615 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
33616 (CFLAGS-mips16-syscall7.c): Remove.
33617 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
33618 Remove `__mips16_syscall5', `__mips16_syscall6' and
33619 `__mips16_syscall7'.
33620 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
33621 (__mips16_syscall0): Rename `__mips16_syscall_return' to
33622 `__mips_syscall_return'.
33623 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
33624 (__mips16_syscall1): Likewise.
33625 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
33626 (__mips16_syscall2): Likewise.
33627 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
33628 (__mips16_syscall3): Likewise.
33629 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
33630 (__mips16_syscall4): Likewise.
33631 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
33633 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
33635 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
33637 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
33638 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
33639 `__mips16_syscall5'. Remove prototype.
33640 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
33641 `__mips16_syscall6'. Remove prototype.
33642 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
33643 `__mips16_syscall7'. Remove prototype.
33644 (__nomips16, __mips16_syscall_return): Move to...
33645 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
33646 (__nomips16, __mips_syscall_return): ... here.
33647 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
33648 `__mips16_syscall_return' to `__mips_syscall_return'.
33649 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
33650 `internal_syscall##nr'.
33651 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
33652 `internal_syscall##nr'.
33653 (FORCE_FRAME_POINTER): Remove.
33654 (__mips_syscall5): New prototype.
33655 (internal_syscall5): Rewrite to call `__mips_syscall5'.
33656 (__mips_syscall6): New prototype.
33657 (internal_syscall6): Rewrite to call `__mips_syscall6'.
33658 (__mips_syscall7): New prototype.
33659 (internal_syscall7): Rewrite to call `__mips_syscall7'.
33660 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
33661 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
33662 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
33663 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
33664 (sysdep_routines): Add libc-do-syscall.
33665 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
33666 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
33668 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33671 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
33672 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
33673 (advise_stack_range): New function.
33674 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
33675 stack non required to advise_stack_range at allocatestack.c
33677 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33679 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
33681 2017-08-29 Florian Weimer <fweimer@redhat.com>
33684 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
33685 __end_fct. Mangle __end_fct after setting it to NULL.
33686 * iconv/Makefile (tests): Add tst-gconv-init-failure.
33687 (modules-names, modules-names-tests): Add
33688 tst-gconv-init-failure-mod.
33689 (gconv-modules): New target.
33690 (tst-gconv-init-failure-mod.so): Link against libsupport.
33691 (tst-gconv-init-failure): Depend on gconv-modules,
33692 tst-gconv-init-failure-mod.so.
33693 * iconv/tst-gconv-init-failure-mod.c: New file.
33694 * iconv/tst-gconv-init-failure.c: Likewise.
33695 * iconv/test-gconv-modules: Likewise.
33697 2017-08-29 Florian Weimer <fweimer@redhat.com>
33700 * iconv/gconv_db.c (free_derivation): Remove redundant
33702 (gen_steps): Unconditionally mangle __btowc_fct after
33704 (increment_counter): Likewise. Do not call init_fct for internal
33707 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33710 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33711 (_MSUF_): Remove macro.
33712 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
33714 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33715 (__REDIRFROM_X): New macro.
33716 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
33718 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
33719 (__REDIRTO_X): Likewise.
33720 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
33722 (__MATH_REDIRCALL_2): Likewise.
33723 (__MATH_REDIRCALL_INTERNAL): Likewise.
33724 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33725 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
33726 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
33727 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33728 * math/test-finite-macros.c: New file.
33729 * math/Makefile (tests): Add test-finite-macros.
33730 (CFLAGS-test-finite-macros.c): New variable.
33732 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
33733 Jeff Law <law@redhat.com>
33736 Mangle NULL pointers in iconv/gconv.
33737 * iconv/gconv_cache.c (find_module): Demangle init_fct before
33738 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
33739 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
33740 is non-NULL before demangling the end_fct. Check for NULL
33741 end_fct after demangling.
33742 (__gconv_release_step): Demangle the end_fct before checking
33743 it for NULL. Remove assert on __shlibc_handle != NULL.
33744 (gen_steps): Don't check btowc_fct for NULL before mangling.
33745 Demangle init_fct before checking for NULL.
33746 (increment_counter): Likewise.
33747 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
33748 end_fct for NULL before mangling.
33749 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
33752 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
33755 * locale/iso-639.def: add Morisyen.
33757 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33760 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
33761 (iszero): New C++ implementation that does not use
33762 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
33763 signaling nans are enabled, since __builtin_types_compatible_p
33764 is a C-only feature.
33765 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
33766 defined, include ieee754_float128.h for access to the union and
33767 member ieee854_float128.ieee.
33768 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
33769 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
33770 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33771 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
33772 options of test-math-zero on powerpc64le.
33774 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
33776 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
33777 Change double to float.
33779 2017-08-28 Joseph Myers <joseph@codesourcery.com>
33781 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
33783 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
33784 conditional code; define contents only for [LIBM_SVID_COMPAT].
33786 2017-08-28 Florian Weimer <fweimer@redhat.com>
33788 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
33789 (abi-lp64_be-options): Remove.
33790 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
33791 (abi-hard-options): Likewise.
33792 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
33793 (abi-o32_hard-options, abi-o32_soft_2008-options)
33794 (abi-o32_hard_2008-options, abi-n32_soft-options)
33795 (abi-n32_hard-options, abi-n32_soft_2008-options)
33796 (abi-n32_hard_2008-options, abi-n64_soft-options)
33797 (abi-n64_hard-options, abi-n64_soft_2008-options)
33798 (abi-n64_hard_2008-options): Likewise.
33799 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
33800 (abi-64-v1-options, abi-64-v2-options): Likewise.
33801 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
33802 (abi-64-options): Likewise.
33803 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
33804 (abi-64-options): Likewise.
33805 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
33806 (abi-64-options): Likewise.
33807 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
33808 (abi-64-options, abi-x32-options): Likewise.
33810 2017-08-28 Florian Weimer <fweimer@redhat.com>
33812 Store supported list of SYS_* system calls in the source tree.
33813 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
33814 (bits/syscall.h): Generate from list file.
33815 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
33816 [$(subdir) = misc] (tests): Add tst-syscall-list.
33817 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
33818 [$(subdir) = misc] (tst-syscall-list-macros.list)
33819 [$(subdir) = misc] (tst-syscall-list-nr.list)
33820 (tst-syscall-list-sys.list): Helper targets for new
33821 tst-syscall-list test.
33822 [$(subdir) = misc] (tst-syscall-list.out): Run test script
33823 tst-syscall-list.sh.
33824 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
33825 target. Do not include bits/syscall.d.
33826 [$(subdir) = misc] (generated): Do not update.
33827 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
33828 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
33829 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
33830 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
33832 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
33834 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
33835 (tst-cxa_atexit, tst-on_exit): Likewise.
33836 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
33837 tst-cxa_atexit, and tst-on_exit.
33838 * stdlib/tst-atexit-common.c: New file.
33839 * stdlib/tst-atexit.c: New file.
33840 * stdlib/tst-at_quick_exit.c: New file.
33841 * stdlib/tst-cxa_atexit.c: New file.
33842 * stdlib/tst-on_exit.c: New file.
33844 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33846 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
33847 * mach/stack_chk_fail_local.c: New file.
33848 * hurd/stack_chk_fail_local.c: New file.
33849 * mach/Machrules ($(interface-library)-routines): Add
33850 stack_chk_fail_local.
33851 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
33852 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
33853 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
33854 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
33855 * hurd/Makefile (CFLAGS-hurdstartup.o,
33856 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
33858 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
33860 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33861 (index_cpu_*, index_arch_*): Removed.
33863 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33865 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
33866 Use uint64_t instead of unsigned long.
33868 2017-08-25 Joseph Myers <joseph@codesourcery.com>
33870 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
33871 [__HAVE_DISTINCT_FLOAT128].
33873 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
33874 of <bits/math-finite.h>.
33875 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
33876 inclusion of <bits/math-finite.h>.
33877 * math/bits/math-finite.h (__REDIRTO_X): Do not define
33878 conditionally on [__MATH_DECLARING_LDOUBLE && defined
33879 __NO_LONG_DOUBLE_MATH].
33880 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
33881 (__MATH_REDIRCALL_2): Likewise.
33882 (__MATH_REDIRCALL_INTERNAL): Likewise.
33883 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33884 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
33885 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
33889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
33891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
33893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
33895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
33897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
33899 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33900 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33901 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33902 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
33904 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
33905 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
33906 w_sqrtf_compat-ppc32.
33908 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33910 * math/math.h [defined __cplusplus] (issignaling): In the long
33911 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
33912 is not defined. Call __issignaling, otherwise.
33914 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33916 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
33917 syscall definitions and replace __builtin_expect with __glibc_likely.
33918 * sysdeps/unix/syscall-template.S: Update comment about cancellable
33920 (SYSCALL_CANCELLABLE): Removedefinition
33921 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
33923 (PSEUDO_END): Likewise.
33924 [IS_IN (libpthread)] (CENABLE): Likewise.
33925 [IS_IN (libpthread)] (CDISABLE): Likewise.
33926 [IS_IN (libc)] (CENABLE): Likewise.
33927 [IS_IN (libc)] (CENABLE): Likewise.
33928 [IS_IN (librt)] (CDISABLE): Likewise.
33929 [IS_IN (librt)] (CDISABLE): Likewise.
33930 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33931 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
33933 (PSEUDO_END): Likewise.
33934 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
33935 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
33936 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33937 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33938 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33939 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33940 (CENABLE): Likewise.
33941 (CDISABLE): Likewise.
33942 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33943 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
33945 (PSEUDO_END): Likewise.
33946 [IS_IN (libpthread)] (CENABLE): Likewise.
33947 [IS_IN (libpthread)] (CDISABLE): Likewise.
33948 [IS_IN (libc)] (CENABLE): Likewise.
33949 [IS_IN (libc)] (CENABLE): Likewise.
33950 [IS_IN (librt)] (CDISABLE): Likewise.
33951 [IS_IN (librt)] (CDISABLE): Likewise.
33952 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33953 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
33955 (PSEUDO_END): Likewise.
33956 [IS_IN (libpthread)] (CENABLE): Likewise.
33957 [IS_IN (libpthread)] (CDISABLE): Likewise.
33958 [IS_IN (libc)] (CENABLE): Likewise.
33959 [IS_IN (libc)] (CENABLE): Likewise.
33960 [IS_IN (librt)] (CDISABLE): Likewise.
33961 [IS_IN (librt)] (CDISABLE): Likewise.
33962 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33963 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
33965 (PSEUDO_END): Likewise.
33966 [IS_IN (libpthread)] (CENABLE): Likewise.
33967 [IS_IN (libpthread)] (CDISABLE): Likewise.
33968 [IS_IN (libc)] (CENABLE): Likewise.
33969 [IS_IN (libc)] (CENABLE): Likewise.
33970 [IS_IN (librt)] (CDISABLE): Likewise.
33971 [IS_IN (librt)] (CDISABLE): Likewise.
33972 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33973 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
33975 (PSEUDO_END): Likewise.
33976 [IS_IN (libpthread)] (CENABLE): Likewise.
33977 [IS_IN (libpthread)] (CDISABLE): Likewise.
33978 [IS_IN (libc)] (CENABLE): Likewise.
33979 [IS_IN (libc)] (CENABLE): Likewise.
33980 [IS_IN (librt)] (CDISABLE): Likewise.
33981 [IS_IN (librt)] (CDISABLE): Likewise.
33982 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33983 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
33985 (PSEUDO_END): Likewise.
33986 [IS_IN (libpthread)] (CENABLE): Likewise.
33987 [IS_IN (libpthread)] (CDISABLE): Likewise.
33988 [IS_IN (libc)] (CENABLE): Likewise.
33989 [IS_IN (libc)] (CENABLE): Likewise.
33990 [IS_IN (librt)] (CDISABLE): Likewise.
33991 [IS_IN (librt)] (CDISABLE): Likewise.
33992 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33993 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
33995 (PSEUDO_END): Likewise.
33996 [IS_IN (libpthread)] (CENABLE): Likewise.
33997 [IS_IN (libpthread)] (CDISABLE): Likewise.
33998 [IS_IN (libc)] (CENABLE): Likewise.
33999 [IS_IN (libc)] (CENABLE): Likewise.
34000 [IS_IN (librt)] (CDISABLE): Likewise.
34001 [IS_IN (librt)] (CDISABLE): Likewise.
34002 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34003 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
34005 (PSEUDO_END): Likewise.
34006 [IS_IN (libpthread)] (CENABLE): Likewise.
34007 [IS_IN (libpthread)] (CDISABLE): Likewise.
34008 [IS_IN (libc)] (CENABLE): Likewise.
34009 [IS_IN (libc)] (CENABLE): Likewise.
34010 [IS_IN (librt)] (CDISABLE): Likewise.
34011 [IS_IN (librt)] (CDISABLE): Likewise.
34012 (SINGLE_THREAD_P): Likewise.
34013 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
34015 (PSEUDO_END): Likewise.
34016 [IS_IN (libpthread)] (CENABLE): Likewise.
34017 [IS_IN (libpthread)] (CDISABLE): Likewise.
34018 [IS_IN (libc)] (CENABLE): Likewise.
34019 [IS_IN (libc)] (CENABLE): Likewise.
34020 [IS_IN (librt)] (CDISABLE): Likewise.
34021 [IS_IN (librt)] (CDISABLE): Likewise.
34022 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34023 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
34025 (PSEUDO_END): Likewise.
34026 [IS_IN (libpthread)] (CENABLE): Likewise.
34027 [IS_IN (libpthread)] (CDISABLE): Likewise.
34028 [IS_IN (libc)] (CENABLE): Likewise.
34029 [IS_IN (libc)] (CENABLE): Likewise.
34030 [IS_IN (librt)] (CDISABLE): Likewise.
34031 [IS_IN (librt)] (CDISABLE): Likewise.
34032 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34033 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
34034 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34035 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
34036 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
34038 (PSEUDO_END): Likewise.
34039 [IS_IN (libpthread)] (CENABLE): Likewise.
34040 [IS_IN (libpthread)] (CDISABLE): Likewise.
34041 [IS_IN (libc)] (CENABLE): Likewise.
34042 [IS_IN (libc)] (CENABLE): Likewise.
34043 [IS_IN (librt)] (CDISABLE): Likewise.
34044 [IS_IN (librt)] (CDISABLE): Likewise.
34045 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34046 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
34048 (PSEUDO_END): Likewise.
34049 [IS_IN (libpthread)] (CENABLE): Likewise.
34050 [IS_IN (libpthread)] (CDISABLE): Likewise.
34051 [IS_IN (libc)] (CENABLE): Likewise.
34052 [IS_IN (libc)] (CENABLE): Likewise.
34053 [IS_IN (librt)] (CDISABLE): Likewise.
34054 [IS_IN (librt)] (CDISABLE): Likewise.
34055 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34056 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
34058 (PSEUDO_END): Likewise.
34059 [IS_IN (libpthread)] (CENABLE): Likewise.
34060 [IS_IN (libpthread)] (CDISABLE): Likewise.
34061 [IS_IN (libc)] (CENABLE): Likewise.
34062 [IS_IN (libc)] (CENABLE): Likewise.
34063 [IS_IN (librt)] (CDISABLE): Likewise.
34064 [IS_IN (librt)] (CDISABLE): Likewise.
34065 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34066 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
34067 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34068 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
34069 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
34071 (PSEUDO_END): Likewise.
34072 [IS_IN (libpthread)] (CENABLE): Likewise.
34073 [IS_IN (libpthread)] (CDISABLE): Likewise.
34074 [IS_IN (libc)] (CENABLE): Likewise.
34075 [IS_IN (libc)] (CENABLE): Likewise.
34076 [IS_IN (librt)] (CDISABLE): Likewise.
34077 [IS_IN (librt)] (CDISABLE): Likewise.
34078 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34079 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
34081 (PSEUDO_END): Likewise.
34082 [IS_IN (libpthread)] (CENABLE): Likewise.
34083 [IS_IN (libpthread)] (CDISABLE): Likewise.
34084 [IS_IN (libc)] (CENABLE): Likewise.
34085 [IS_IN (libc)] (CENABLE): Likewise.
34086 [IS_IN (librt)] (CDISABLE): Likewise.
34087 [IS_IN (librt)] (CDISABLE): Likewise.
34088 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34090 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
34092 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
34094 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34096 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34098 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34101 * string/stratcliff.c (do_test): Declare size, nchars, inner,
34102 middle and outer with size_t instead of int. Repleace %d and
34103 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
34104 "MAX (outer, nchars - 64)" to support unsigned outer and
34105 nchars. Also exit loop when outer == 0.
34107 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34109 * include/fcntl.h (__fcntl_nocancel): Remove definition.
34110 * include/signal.h (__sigsuspend_nocancel): Likewise.
34111 * include/time.h (__nanosleep_nocancel): Likewise.
34112 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
34113 * login/utmp_file.c: Include non cancellable syscall header.
34114 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
34117 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34119 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
34120 .byte sequences with AVX512F instructions.
34121 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
34122 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
34123 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
34124 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
34126 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
34129 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
34130 Steve Ellcey <sellcey@cavium.com>
34132 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
34133 Use PTR_REG macro in cmp instruction.
34135 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34137 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
34138 Change the return type of the ifunc resolver to match the return
34139 type of the target function.
34141 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34143 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
34144 (preadv64): Likewise.
34145 (pwrite64(: Likewise.
34146 (pwritev64): Likewise.
34148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34149 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
34150 (LOAD_ARGS_0): Likewise.
34151 (LOAD_ARGS_1): Likewise.
34152 (LOAD_ARGS_2): Likewise.
34153 (LOAD_ARGS_3): Likewise.
34154 (LOAD_ARGS_4): Likewise.
34155 (LOAD_ARGS_5): Likewise.
34156 (LOAD_ARGS_6): Likewise.
34157 (LOAD_REGS_0): Likewise.
34158 (LOAD_REGS_1): Likewise.
34159 (LOAD_REGS_2): Likewise.
34160 (LOAD_REGS_3): Likewise.
34161 (LOAD_REGS_4): Likewise.
34162 (LOAD_REGS_5): Likewise.
34163 (LOAD_REGS_6): Likewise.
34164 (ASM_ARGS_0): Likewise.
34165 (ASM_ARGS_1): Likewise.
34166 (ASM_ARGS_2): Likewise.
34167 (ASM_ARGS_3): Likewise.
34168 (ASM_ARGS_4): Likewise.
34169 (ASM_ARGS_5): Likewise.
34170 (ASM_ARGS_6): Likewise.
34171 (LOAD_ARGS_TYPES_1): Likewise.
34172 (LOAD_ARGS_TYPES_2): Likewise.
34173 (LOAD_ARGS_TYPES_3): Likewise.
34174 (LOAD_ARGS_TYPES_4): Likewise.
34175 (LOAD_ARGS_TYPES_5): Likewise.
34176 (LOAD_ARGS_TYPES_6): Likewise.
34177 (LOAD_REGS_TYPES_1): Likewise.
34178 (LOAD_REGS_TYPES_2): Likewise.
34179 (LOAD_REGS_TYPES_3): Likewise.
34180 (LOAD_REGS_TYPES_4): Likewise.
34181 (LOAD_REGS_TYPES_5): Likewise.
34182 (LOAD_REGS_TYPES_6): Likewise.
34183 (TYPEFY): New define.
34184 (ARGIFY): Likewise.
34185 (internal_syscall0): Likewise.
34186 (internal_syscall1): Likewise.
34187 (internal_syscall2): Likewise.
34188 (internal_syscall3): Likewise.
34189 (internal_syscall4): Likewise.
34190 (internal_syscall5): Likewise.
34191 (internal_syscall6): Likewise.
34192 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
34193 (INTERNAL_SYSCALL_NCS): Remove define.
34194 (internal_syscall1): Add define.
34196 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34198 * math/w_remainder_compat.c: Remove duplicate inclusion of
34199 math-svid-compat.h.
34200 * math/w_remainderf_compat.c: Likewise.
34201 * math/w_remainderl_compat.c: Likewise.
34203 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34207 2017-08-22 Joseph Myers <joseph@codesourcery.com>
34210 * math/tgmath.h (__floating_type): Simplify definitions.
34211 (__real_integer_type): New macro.
34212 (__complex_integer_type): Likewise.
34213 (__expr_is_real): Likewise.
34214 (__tgmath_real_type_sub): Update comment to describe handling of
34216 (__tgmath_complex_type_sub): New macro.
34217 (__tgmath_complex_type): Likewise.
34218 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34219 (__TGMATH_CF128): Use __expr_is_real.
34220 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
34222 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34223 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
34224 * math/gen-tgmath-tests.py (Type.create_type): Create complex
34227 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34229 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
34231 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
34233 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
34236 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
34237 nanosleep_not_cancel with __nanosleep_nocancel.
34238 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
34239 (__nanosleep_nocancel): New macro.
34240 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
34242 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
34244 (__nanosleep_nocancel): New prototype.
34246 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
34247 pause_not_cancel with __pause_nocancel.
34248 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
34249 (__pause_nocancel): New macro.
34250 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
34252 (__pause_nocancel): New prototype.
34253 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
34255 2017-08-22 Martin Sebor <msebor@redhat.com>
34257 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
34258 to return a pointer to the same type as the target function.
34260 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34264 * include/printf.h (__printf_fphex): Add attribute_hidden.
34265 (__guess_grouping): New prototype.
34266 * stdio-common/printf_fp.c (__guess_grouping): Removed.
34267 * stdio-common/reg-printf.c (__register_printf_specifier): Add
34268 libc_hidden_proto and libc_hidden_def.
34269 * stdlib/strfmon_l.c (__guess_grouping): Removed.
34270 (__vstrfmon_l): Remove the third argument passed to
34273 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34275 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
34276 definition for issignaling that does not rely on __MATH_TG,
34277 since __MATH_TG uses __builtin_types_compatible_p, which is only
34278 available in C mode.
34279 (CFLAGS-test-math-issignaling.cc): New variable.
34280 * math/Makefile [CXX] (tests): Add test-math-issignaling.
34281 * math/test-math-issignaling.cc: New test for C++ implementation
34282 of type-generic issignaling.
34283 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34284 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
34285 options of test-math-issignaling on powerpc64le.
34287 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34289 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34291 (hidden_proto): Likewise.
34292 (hidden_tls_proto): Likewise.
34293 (__hidden_proto): Likewise.
34295 2017-08-22 Florian Weimer <fweimer@redhat.com>
34297 math: Statically link tests of internal functionality.
34298 * math/Makefile (tests): Remove atest-exp, atest-sincos,
34300 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
34301 (gmp-objs): Remove assignment.
34302 (atest-exp, atest-sincos, atest-exp2): Remove targets.
34304 2017-08-22 Joseph Myers <joseph@codesourcery.com>
34307 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
34309 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
34311 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
34314 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
34315 variable definitions above inclusion of ../Rules.
34317 2017-08-21 Joseph Myers <joseph@codesourcery.com>
34319 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
34320 case calling __builtin_unreachable.
34322 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34324 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
34325 __waitpid_nocancel.
34326 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
34327 (__waitpid_nocancel): New macro.
34328 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
34330 (__waitpid_nocancel): Replace macro with a function.
34331 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
34334 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
34336 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
34337 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
34339 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
34340 __writev_nocancel_nostatus.
34341 (write_call_graph): Likewise.
34342 (write_bb_counts): Likewise.
34343 * resolv/herror.c (herror): Likewise.
34344 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
34346 (__writev_nocancel_nostatus): New macro.
34347 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
34349 (__writev_nocancel_nostatus): New function.
34351 2017-08-21 Joseph Myers <joseph@codesourcery.com>
34354 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34356 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34358 (hidden_proto): Likewise.
34359 (hidden_tls_proto): Likewise.
34360 (__hidden_proto): Likewise.
34363 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
34364 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
34369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
34373 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
34374 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34375 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34376 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34377 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
34378 GLIBC_2.0 sqrtl symbol.
34380 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
34381 [__USE_MISC] (_LIB_VERSION): Likewise.
34382 [__USE_MISC] (struct exception): Likewise.
34383 [__USE_MISC] (matherr): Likewise.
34384 [__USE_MISC] (DOMAIN): Likewise.
34385 [__USE_MISC] (SING): Likewise.
34386 [__USE_MISC] (OVERFLOW): Likewise.
34387 [__USE_MISC] (UNDERFLOW): Likewise.
34388 [__USE_MISC] (TLOSS): Likewise.
34389 [__USE_MISC] (PLOSS): Likewise.
34390 [__USE_MISC] (HUGE): Likewise.
34391 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
34392 * math/math-svid-compat.h: New file.
34393 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
34395 * include/math.h [!_ISOMAC] (__matherr): Remove.
34396 * manual/arith.texi (FP Exceptions): Do not document matherr.
34397 * math/Makefile (tests): Change test-matherr to test-matherr-3.
34398 (tests-internal): New variable.
34399 (install-lib): Do not add libieee.a.
34400 (non-lib.a): Likewise.
34401 (extra-objs): Do not add libieee.a and ieee-math.o.
34402 (CPPFLAGS-s_lib_version.c): Remove variable.
34403 ($(objpfx)libieee.a): Remove rule.
34404 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
34405 * math/ieee-math.c: Remove.
34406 * math/libm-test-support.c (matherr): Remove.
34407 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
34408 and license notices. Include <math-svid-compat.h> and
34410 (matherr): Undefine as macro. Use compat_symbol_reference.
34411 (_LIB_VERSION): Likewise.
34412 * math/test-matherr-2.c: New file.
34413 * math/test-matherr-3.c: Likewise.
34414 * sysdeps/generic/math_private.h (__kernel_standard): Remove
34416 (__kernel_standard_f): Likewise.
34417 (__kernel_standard_l): Likewise.
34418 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
34419 <math_private.h>. Include <math-svid-compat.h>.
34420 (_LIB_VERSION): Undefine as macro.
34421 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
34422 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
34423 [LIBM_SVID_COMPAT], use compat_symbol.
34424 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
34425 <math_private.h>. Include <math-svid-compat.h>.
34426 (matherr): Undefine as macro.
34427 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
34429 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
34430 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
34431 compat_symbol_reference.
34432 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
34433 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
34434 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
34435 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
34436 (MATHERR_D): Remove declaration.
34437 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
34438 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
34439 [LIBM_BUILD] (pmatherrf): Likewise.
34440 [LIBM_BUILD] (pmatherr): Likewise.
34441 [LIBM_BUILD] (pmatherrl): Likewise.
34442 (DOMAIN): Likewise.
34444 (OVERFLOW): Likewise.
34445 (UNDERFLOW): Likewise.
34448 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
34449 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
34451 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
34452 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
34454 * math/lgamma-compat.h: Include <math-svid-compat.h>.
34455 * math/w_acos_compat.c: Likewise.
34456 * math/w_acosf_compat.c: Likewise.
34457 * math/w_acosh_compat.c: Likewise.
34458 * math/w_acoshf_compat.c: Likewise.
34459 * math/w_acoshl_compat.c: Likewise.
34460 * math/w_acosl_compat.c: Likewise.
34461 * math/w_asin_compat.c: Likewise.
34462 * math/w_asinf_compat.c: Likewise.
34463 * math/w_asinl_compat.c: Likewise.
34464 * math/w_atan2_compat.c: Likewise.
34465 * math/w_atan2f_compat.c: Likewise.
34466 * math/w_atan2l_compat.c: Likewise.
34467 * math/w_atanh_compat.c: Likewise.
34468 * math/w_atanhf_compat.c: Likewise.
34469 * math/w_atanhl_compat.c: Likewise.
34470 * math/w_cosh_compat.c: Likewise.
34471 * math/w_coshf_compat.c: Likewise.
34472 * math/w_coshl_compat.c: Likewise.
34473 * math/w_exp10_compat.c: Likewise.
34474 * math/w_exp10f_compat.c: Likewise.
34475 * math/w_exp10l_compat.c: Likewise.
34476 * math/w_exp2_compat.c: Likewise.
34477 * math/w_exp2f_compat.c: Likewise.
34478 * math/w_exp2l_compat.c: Likewise.
34479 * math/w_fmod_compat.c: Likewise.
34480 * math/w_fmodf_compat.c: Likewise.
34481 * math/w_fmodl_compat.c: Likewise.
34482 * math/w_hypot_compat.c: Likewise.
34483 * math/w_hypotf_compat.c: Likewise.
34484 * math/w_hypotl_compat.c: Likewise.
34485 * math/w_j0_compat.c: Likewise.
34486 * math/w_j0f_compat.c: Likewise.
34487 * math/w_j0l_compat.c: Likewise.
34488 * math/w_j1_compat.c: Likewise.
34489 * math/w_j1f_compat.c: Likewise.
34490 * math/w_j1l_compat.c: Likewise.
34491 * math/w_jn_compat.c: Likewise.
34492 * math/w_jnf_compat.c: Likewise.
34493 * math/w_jnl_compat.c: Likewise.
34494 * math/w_lgamma_main.c: Likewise.
34495 * math/w_lgamma_r_compat.c: Likewise.
34496 * math/w_lgammaf_main.c: Likewise.
34497 * math/w_lgammaf_r_compat.c: Likewise.
34498 * math/w_lgammal_main.c: Likewise.
34499 * math/w_lgammal_r_compat.c: Likewise.
34500 * math/w_log10_compat.c: Likewise.
34501 * math/w_log10f_compat.c: Likewise.
34502 * math/w_log10l_compat.c: Likewise.
34503 * math/w_log2_compat.c: Likewise.
34504 * math/w_log2f_compat.c: Likewise.
34505 * math/w_log2l_compat.c: Likewise.
34506 * math/w_log_compat.c: Likewise.
34507 * math/w_logf_compat.c: Likewise.
34508 * math/w_logl_compat.c: Likewise.
34509 * math/w_pow_compat.c: Likewise.
34510 * math/w_powf_compat.c: Likewise.
34511 * math/w_powl_compat.c: Likewise.
34512 * math/w_remainder_compat.c: Likewise.
34513 * math/w_remainderf_compat.c: Likewise.
34514 * math/w_remainderl_compat.c: Likewise.
34515 * math/w_scalb_compat.c: Likewise.
34516 * math/w_scalbf_compat.c: Likewise.
34517 * math/w_scalbl_compat.c: Likewise.
34518 * math/w_sinh_compat.c: Likewise.
34519 * math/w_sinhf_compat.c: Likewise.
34520 * math/w_sinhl_compat.c: Likewise.
34521 * math/w_sqrt_compat.c: Likewise.
34522 * math/w_sqrtf_compat.c: Likewise.
34523 * math/w_sqrtl_compat.c: Likewise.
34524 * math/w_tgamma_compat.c: Likewise.
34525 * math/w_tgammaf_compat.c: Likewise.
34526 * math/w_tgammal_compat.c: Likewise.
34527 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
34528 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34529 * sysdeps/ieee754/k_standard.c: Likewise.
34530 * sysdeps/ieee754/k_standardf.c: Likewise.
34531 * sysdeps/ieee754/k_standardl.c: Likewise.
34532 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34533 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34534 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34535 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34536 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34537 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34538 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34539 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
34540 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34545 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
34546 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34547 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34548 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34550 2017-08-21 Florian Weimer <fweimer@redhat.com>
34553 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
34554 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
34555 Move before inclusion of ../Rules.
34557 2017-08-21 Florian Weimer <fweimer@redhat.com>
34560 * assert/assert.h (assert): Use static_cast (bool) for C++.
34561 Use the ternary operator in the warning branch for GNU C.
34562 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
34563 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
34564 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
34565 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
34566 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
34568 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34571 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34572 (__syscall_clock_gettime): Add attribute_hidden.
34573 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
34574 (__start_context): Likewise.
34576 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34578 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34580 (hidden_proto): Likewise.
34581 (hidden_tls_proto): Likewise.
34582 (__hidden_proto): Likewise.
34584 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34586 * include/libc-symbols.h (attribute_hidden): Enable hidden
34587 visibility in libc.a compiled with PIE.
34589 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34592 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
34593 Add attribute_hidden.
34595 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34598 * Makerules (all-nonlib): Add $(others-extras).
34599 * catgets/Makefile (others-extras): New.
34600 * elf/Makefile (others-extras): Likewise.
34601 * nss/Makefile (others-extras): Likewise.
34603 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34606 * csu/libc-start.c (__libc_multiple_libcs): Removed.
34607 * elf/dl-open.c: Include <libc-internal.h>.
34608 (__libc_multiple_libcs): Removed.
34609 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
34611 * include/libc-internal.h (__libc_multiple_libcs): New.
34612 * misc/sbrk.c: Include <libc-internal.h>.
34613 (__libc_multiple_libcs): Removed.
34615 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34618 * grp/initgroups.c (__nss_group_database): Removed.
34619 (__nss_initgroups_database): Likewise.
34620 * nscd/gai.c (__nss_hosts_database): Likewise.
34621 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
34622 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
34623 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
34624 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
34625 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
34626 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
34628 * nss/nsswitch.c (__nss_database_custom): Define only if
34629 USE_NSCD is defined.
34630 (__nss_configure_lookup): Use __nss_database_custom only if
34631 USE_NSCD is defined.
34632 * nss/nsswitch.h (__nss_database_custom): Declare only if
34633 USE_NSCD is defined. Add attribute_hidden.
34634 (__nss_setent): Add attribute_hidden.
34635 (__nss_endent): Likewise.
34636 (__nss_getent_r): Likewise.
34637 (__nss_getent): Likewise.
34638 (DEFINE_DATABASE): Declare __nss_##arg##_database.
34640 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34643 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
34644 libc_hidden_proto and libc_hidden_def.
34646 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34649 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
34650 Add libc_hidden_proto.
34651 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
34652 Add libc_hidden_def.
34654 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34657 * gmon/Makefile (routines): Remove bb_init_func and
34659 (elide-routines.os): Removed.
34660 * gmon/bb_exit_func.c: Likewise.
34661 * gmon/bb_init_func.c: Likewise.
34662 * include/sys/gmon.h (__bb): Likewise.
34663 (__bb_init_func): Likewise.
34664 (__bb_exit_func): Likewise.
34665 * sysdeps/alpha/bb_init_func.S: Likewise.
34667 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34669 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
34670 * include/setjmp.h (____longjmp_chk): Here. Add
34673 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
34676 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
34678 (__strspn_sse2): Likewise.
34680 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34682 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
34683 (close_not_cancel_no_status): Likewise.
34684 (__close_nocancel): New macro.
34685 (__close_nocancel_nostatus): Likewise.
34686 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
34688 (close_not_cancel): Likewise.
34689 (close_not_cancel_no_status): Likewise.
34690 (__close_nocancel): New prototype.
34691 (__close_nocancel_nostatus): New function.
34692 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
34693 * catgets/open_catalog.c (__open_catalog): Replace
34694 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
34695 * gmon/gmon.c (write_gmon): Likewise.
34696 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34697 * intl/loadmsgcat.c (close): Likewise.
34698 * io/ftw.c (open_dir_stream): Likewise.
34699 (ftw_startup): Likewise.
34700 * libio/fileops.c (_IO_file_open): Likewise.
34701 (_IO_file_close_mmap): Likewise.
34702 (_IO_file_close): Likewise.
34703 * libio/iopopen.c (_IO_dup2): Likewise.
34704 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34705 * locale/loadlocale.c (_nl_load_locale): Likewise.
34706 * login/utmp_file.c (pututline_file): Likewise.
34707 (endutent_file): Likewise.
34708 * misc/daemon.c (daemon): Likewise.
34709 * nscd/nscd_getai.c (__nscd_getai): Likewise.
34710 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34711 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34712 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34713 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34714 * nscd/nscd_helper.c (open_socket): Likewise.
34715 (__nscd_open_socket): Likewise.
34716 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34717 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
34718 (__nscd_innetgr): Likewise.
34719 * nss/nss_db/db-open.c (internal_setent): Likewise.
34720 * resolv/res-close.c (__res_iclose): Likewise.
34721 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
34722 * sysdeps/posix/closedir.c (__closedir): Likewise.
34723 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
34724 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34725 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34726 (opendir_tail): Likewise.
34727 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34728 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
34729 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34730 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34731 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34732 (gethostid): Likewise.
34733 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34734 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34736 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34737 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
34738 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34739 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34741 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
34742 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
34743 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34745 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
34746 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34748 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34750 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34751 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34752 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34755 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
34756 (openat_not_cancel_3): Likewise.
34757 (openat64_not_cancel_3): Likewise).
34758 (openat_not_cancel_3): Likewise).
34759 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
34761 (openat_not_cancel_3): Likewise.
34762 (openat64_not_cancel): Likewise.
34763 (openat64_not_cancel_3): Likewise.
34764 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
34765 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
34766 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
34767 __open{64}_nocancel.
34768 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34769 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34770 * sysdeps/posix/opendir.c (__opendirat): Likewise.
34772 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34775 * include/argz.h (__argz_create_sep): New function prototype.
34776 (__argz_append): Likewise.
34777 (__argz_add): Likewise.
34778 (__argz_add_sep): Likewise.
34779 (__argz_delete): Likewise.
34780 (__argz_insert): Likewise.
34781 (__argz_replace): Likewise.
34782 * string/argz.h (__argz_create_sep): Removed.
34783 (__argz_append): Likewise.
34784 (__argz_add): Likewise.
34785 (__argz_add_sep): Likewise.
34786 (__argz_delete): Likewise.
34787 (__argz_insert): Likewise.
34788 (__argz_replace): Likewise.
34790 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34792 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
34793 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
34794 (GNU_PROPERTY_STACK_SIZE): Likewie.
34795 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
34796 (GNU_PROPERTY_LOPROC): Likewise.
34797 (GNU_PROPERTY_HIPROC): Likewise.
34798 (GNU_PROPERTY_LOUSER): Likewise.
34799 (GNU_PROPERTY_HIUSER): Likewise.
34800 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
34801 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
34802 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
34803 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
34804 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
34805 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
34806 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
34807 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
34808 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
34809 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
34810 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
34811 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
34812 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
34813 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
34814 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
34815 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
34816 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
34817 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
34818 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
34819 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
34820 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
34821 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
34822 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
34824 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34826 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
34829 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34832 * math/math.h (isinf): Check if in C or C++ mode before using
34833 __builtin_types_compatible_p, since this is a C mode feature.
34835 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34837 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
34838 (__write_nocancel): New macro.
34839 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
34840 Rewrite as a function prototype.
34841 (write_not_cancel): Remove macro.
34842 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
34843 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
34844 (write_gmon): Likewise.
34845 * libio/fileops.c (_IO_new_file_write): Likewise.
34846 * login/utmp_file.c (pututline_file): Likewise.
34847 (updwtmp_file): Likewise.
34848 * stdio-common/psiginfo.c (psiginfo): Likewise.
34849 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34850 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34851 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34853 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34856 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
34857 (__read_nocancel): New macro.
34858 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34860 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
34862 (__read_nocancel): New prototype.
34863 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
34864 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
34865 with __read_nocancel.
34866 * intl/loadmsgcat.c (read): Likewise.
34867 * libio/fileops.c (_IO_file_read): Likewise.
34868 * locale/loadlocale.c (_nl_load_locale): Likewise.
34869 * login/utmp_file.c (getutent_r_file): Likewise.
34870 (internal_getut_r): Likewise.
34871 (getutline_r_file): Likewise.
34872 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34873 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34874 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34875 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34877 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
34878 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34879 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34881 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34883 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34885 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34887 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34889 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34892 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
34893 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
34896 2017-08-17 DJ Delorie <dj@redhat.com>
34898 * bug17079.c: Update to new test harness.
34899 * test-digits-dots.c: Likewise.
34900 * test-netdb.c: Likewise.
34901 * tst-field.c: Likewise.
34902 * tst-nss-getpwent.c: Likewise.
34903 * tst-nss-static.c: Likewise.
34904 * tst-nss-test1.c: Likewise.
34905 * tst-nss-test2.c: Likewise.
34906 * tst-nss-test3.c: Likewise.
34907 * tst-nss-test4.c: Likewise.
34908 * tst-nss-test5.c: Likewise.
34910 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34912 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
34913 (open_not_cancel_2): Likewise.
34914 (open_nocancel): New macro.
34915 (open64_nocancel): Likewise.
34916 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
34917 (open_not_cancel_2): Likewise.
34918 (__open_nocancel): New prototype.
34919 (__open64_nocancel): Likewise.
34920 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34922 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
34923 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
34924 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
34925 with __open_nocancel.
34926 * csu/check_fds.c (check_one_fd): Likewise.
34927 * gmon/gmon.c (write_gmon): Likewise.
34928 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
34929 * intl/loadmsgcat.c (open): Likewise.
34930 * libio/fileops.c (_IO_file_open): Likewise.
34931 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34932 * locale/loadlocale.c (_nl_load_locale): Likewise.
34933 * login/utmp_file.c (setutent_file): Likewise.
34934 * misc/daemon.c (daemon): Likewise.
34935 * nss/nss_db/db-open.c (internal_setent): Likewise.
34936 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34937 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
34938 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34939 (__opendir): Likewise.
34940 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34941 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34942 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34943 (gethostid): Likewise.
34944 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34945 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34947 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34948 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
34949 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34950 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34952 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34954 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34956 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34958 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34960 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34962 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34963 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34965 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
34967 * benchtests/bench-skeleton.c (main): Add support for
34968 latency benchmarking.
34969 * benchtests/scripts/bench.py: Add support for latency benchmarking.
34971 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
34973 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
34974 the startup object.
34976 2017-08-17 Florian Weimer <fweimer@redhat.com>
34978 * include/sys/socket.h (__opensock): Remove internal_function.
34979 * socket/opensock.c (__opensock): Likewise.
34980 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
34982 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34985 * signal/bits/types/__sigval_t.h: New file.
34986 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
34987 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
34988 and define sigval_t using __sigval_t.
34989 * include/bits/types/__sigval_t.h: New file.
34990 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
34991 instead of <bits/types/__sigval_t.h>.
34992 (struct sigevent): Use __sigval_t instead of sigval_t.
34993 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
34994 instead of <bits/types/__sigval_t.h>.
34995 (siginfo_t): Use __sigval_t instead of sigval_t.
34996 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
34997 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34998 (struct sigevent): Use __sigval_t instead of sigval_t.
34999 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
35000 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
35001 (siginfo_t): Use __sigval_t instead of sigval_t.
35002 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
35004 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35006 * NEWS: Remove "[Add new features here]" for 2.27.
35008 2017-08-16 Joseph Myers <joseph@codesourcery.com>
35010 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
35013 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35015 * NEWS: Mention x86-64 FMA optimization.
35017 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35020 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35022 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
35023 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
35024 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
35026 2017-08-16 Andreas Schwab <schwab@suse.de>
35030 * elf/ldd.bash.in: Never run file directly.
35032 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
35035 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
35036 (L(SP_INF_0)): Likewise.
35038 2017-08-15 Florian Weimer <fweimer@redhat.com>
35040 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
35043 2017-08-15 Florian Weimer <fweimer@redhat.com>
35045 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
35046 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
35047 BROKEN_THREAD_SIGNALS code.
35048 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
35049 request_list): Remove caller_pid member used for
35050 BROKEN_THREAD_SIGNALS.
35051 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
35052 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35053 Remove BROKEN_THREAD_SIGNALS support.
35054 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
35055 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
35057 2017-08-15 Florian Weimer <fweimer@redhat.com>
35059 * gmon/Makefile (tests): Add tst-gmon.
35060 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
35062 (tests-special): Add tst-gmon-prof.out.
35063 (tst-gmon.out): Depend on clean-tst-gmon-data.
35064 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
35065 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
35066 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
35068 * aclocal.m4 (GPROF): Set and substitute.
35069 * config.amke.in (GPROF): Set.
35070 * configure: Regenerate.
35072 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
35074 * elf/elf.h A (NT_PPC_TAR): New macro.
35075 (NT_PPC_PPR): Likewise.
35076 (NT_PPC_DSCR): Likewise.
35077 (NT_PPC_EBB): Likewise.
35078 (NT_PPC_PMU): Likewise.
35079 (NT_PPC_TM_CGPR): Likewise.
35080 (NT_PPC_TM_CFPR): Likewise.
35081 (NT_PPC_TM_CVMX): Likewise.
35082 (NT_PPC_TM_CVSX): Likewise.
35083 (NT_PPC_TM_SPR): Likewise.
35084 (NT_PPC_TM_CTAR): Likewise.
35085 (NT_PPC_TM_CPPR): Likewise.
35086 (NT_PPC_TM_CDSCR): Likewise.
35088 2017-08-15 Florian Weimer <fweimer@redhat.com>
35090 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
35091 regparm (2) instead of internal_function.
35092 (_MCOUNT_DECL): Adjust.
35094 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
35096 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
35097 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
35099 2017-08-14 Joseph Myers <joseph@codesourcery.com>
35101 * conform/data/sys/wait.h-data (si_value): Do not expect for
35104 2017-08-14 Florian Weimer <fweimer@redhat.com>
35107 NSS: Create stubs for accidentally exported lookup functions.
35108 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
35109 Remove declaration.
35110 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
35111 (ether_hostton): Call __nss_ethers_lookup2 instead.
35112 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
35113 (ether_ntohost): Call __nss_ethers_lookup2 instead.
35114 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
35115 (setup): Call __nss_netgroup_lookup2 instead.
35116 * nss/Makefile (routines): Add compat-lookup.
35117 * nss/Versions (GLIBC_2.27): Add symbol version.
35118 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
35119 (DB_COMPAT_FCT): Remove.
35120 * nss/compat-lookup.c: New file.
35121 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
35122 from databases.def.
35123 * nss/service-lookup.c (NO_COMPAT): Remove definition.
35124 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
35125 (netname2user): Call __nss_publickey_lookup2 instead.
35126 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
35127 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
35130 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35131 Sergei Trofimovich <slyfox@inbox.ru>
35134 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
35135 Rename to MMAP2_PAGE_UNIT.
35136 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
35137 __OFF_T_MATCHES_OFF64_T is not defined.
35138 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
35140 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
35141 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
35143 2017-08-14 Florian Weimer <fweimer@redhat.com>
35145 i386: Do not set internal_function.
35146 * config.h.in (USE_REGPARMS, internal_function): Remove.
35147 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
35148 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
35150 2017-08-14 Florian Weimer <fweimer@redhat.com>
35152 * elf/dl-init.c (_dl_init): Remove internal_function.
35153 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
35154 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
35156 2017-08-14 Florian Weimer <fweimer@redhat.com>
35158 * elf/rtld.c (_dl_start): Remove internal_function.
35159 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
35162 2017-08-14 Florian Weimer <fweimer@redhat.com>
35164 * elf/dl-fini.c (_dl_fini): Remove internal_function
35165 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
35167 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
35169 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
35170 (bit_cpu_SHSTK): Likewise.
35171 (index_cpu_IBT): Likewise.
35172 (index_cpu_SHSTK): Likewise.
35173 (reg_IBT): Likewise.
35174 (reg_SHSTK): Likewise.
35175 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
35176 Handle index_cpu_IBT and index_cpu_SHSTK.
35178 2017-08-14 Mike FABIAN <mfabian@redhat.com>
35181 * po/fr.po: Fix spelling mistake.
35183 2017-08-13 Florian Weimer <fweimer@redhat.com>
35185 * elf/dl-addr.c (_dl_addr): Remove internal_function.
35186 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
35187 (_dl_catch_error, _dl_receive_error): Likewise.
35188 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
35189 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
35190 (_dl_deallocate_tls): Likewise.
35191 * include/dlfcn.h (_dl_addr): Likewise.
35192 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
35193 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
35194 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
35197 2017-08-13 Florian Weimer <fweimer@redhat.com>
35199 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
35200 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
35202 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
35204 2017-08-13 Florian Weimer <fweimer@redhat.com>
35206 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
35208 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
35209 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
35210 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
35211 internal_function from _dl_make_stack_executable_hook member.
35212 (_dl_make_stack_executable): Remove internal_function.
35213 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
35215 * sysdeps/unix/sysv/linux/dl-execstack.c
35216 (_dl_make_stack_executable): Likewise.
35218 2017-08-13 Florian Weimer <fweimer@redhat.com>
35220 * sysdeps/unix/sysv/linux/netlinkaccess.h
35221 (__netlink_assert_response): Remove internal_function.
35222 * sysdeps/unix/sysv/linux/netlink_assert_response.c
35223 (__netlink_assert_response): Likewise.
35225 2017-08-13 Florian Weimer <fweimer@redhat.com>
35227 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
35229 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
35231 2017-08-13 Florian Weimer <fweimer@redhat.com>
35233 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
35235 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
35236 * inet/netgroup.h (__internal_setnetgrent)
35237 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35238 * inet/getnetgrent_r.c (__internal_setnetgrent)
35239 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35240 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
35241 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
35242 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
35243 * nss/nsswitch.h (db_lookup_function): Likewise.
35245 2017-08-13 Florian Weimer <fweimer@redhat.com>
35247 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
35248 Remove internal_function.
35249 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
35250 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
35251 message argument on the stack.
35252 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
35255 2017-08-12 Mike FABIAN <mfabian@redhat.com>
35257 Adapt test case data to the changes in the thousands
35261 * localedata/tst-langinfo.sh: Adapt test case data.
35262 * stdlib/tst-strfmon_l.c: Likewise.
35263 * stdlib/tst-strtod4.c: Likewise.
35264 * stdlib/tst-strtod5i.c: Likewise.
35266 2017-08-11 Florian Weimer <fweimer@redhat.com>
35269 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
35270 Suppress pedantic warning resulting from statement expression.
35271 (__ASSERT_FUNCTION): Add missing __extension__.
35273 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
35275 * benchtests/bench-memmove-large.c: Print output in JSON
35277 * benchtests/bench-memmove.c: Likewise.
35279 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
35280 * benchtests/bench-memchr.c (do_one_test): Likewise.
35281 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
35282 * benchtests/bench-memcpy.c (do_one_test): Likewise.
35283 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
35284 * benchtests/bench-memmove.c (do_one_test): Likewise.
35285 * benchtests/bench-memset-large.c (do_one_test): Likewise.
35286 * benchtests/bench-memset.c (do_one_test): Likewise.
35287 * benchtests/bench-string.h (test_init): Remove memsets.
35289 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
35292 (Computing the Width of an Integer Data Type): Rename section to
35293 "Width of an Integer Type". Remove inaccurate statement regarding
35294 lack of C language facilities for determining width of integer
35295 types, and reorder content to improve flow and context of
35298 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
35300 * lang.texi (va_copy): Change standard from ISO to C99.
35301 (__va_copy): Add standard and header annotation.
35302 Update description for clarity of origins and current use.
35304 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35307 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
35308 xssqrtqp requires operands to be in Vector Registers
35309 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
35310 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
35311 (__ieee754_sqrtf128): Likewise.
35313 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
35315 * sysdeps/aarch64/memcmp.S (memcmp):
35316 Rewrite of optimized memcmp.
35318 2017-08-10 Florian Weimer <fweimer@redhat.com>
35320 Introduce ld.so exceptions.
35321 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
35322 (_dl_exception_create, _dl_exception_create_format)
35323 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
35324 (_dl_catch_exception): Declare.
35325 (_dl_catch_error): Update comment.
35326 * elf/dl-error-skeleton.c (struct catch): Replace objname,
35327 errstring, malloced members with exception member.
35328 (_dl_out_of_memory): Remove.
35329 (fatal_error): New function, extracted from _dl_signal_error.
35330 (_dl_signal_exception, _dl_signal_cexception): New functions.
35331 (_dl_signal_error): Call _dl_exception_create to allocate an
35333 (_dl_catch_exception): New function, based on _dl_catch_error.
35334 (_dl_catch_error): Implement using _dl_catch_exception.
35335 * elf/dl-exception.c: New file.
35336 * elf/Makefile (dl-routines): Add dl-exception.
35337 (elide-routines.os): Likewise.
35338 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
35339 _dl_exception_create_format, _dl_exception_free.
35340 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
35341 _dl_signal_exception.
35342 * elf/dl-lookup.c (make_string): Remove.
35343 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
35344 _dl_signal_cexception, _dl_exception_free.
35345 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
35346 _dl_signal_exception.
35347 * elf/dl-sym.c (do_sym): Likewise.
35348 * elf/dl-version.c (make_string): Remove.
35349 (match_symbol): Use _dl_exception_create_format,
35350 _dl_signal_cexception, _dl_exception_free.
35351 (_dl_check_map_versions): Likewise.
35352 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
35353 _dl_catch_exception.
35354 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
35355 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
35356 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
35357 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
35358 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
35359 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
35360 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
35361 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
35363 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
35364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
35366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
35368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
35370 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
35371 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
35372 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
35374 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
35376 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
35378 2017-08-10 Florian Weimer <fweimer@redhat.com>
35380 * inet/net-internal.h (__inet6_scopeid_pton): Remove
35381 attribute_hidden, internal_function.
35382 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
35385 2017-08-10 Florian Weimer <fweimer@redhat.com>
35387 * malloc/malloc.c (get_max_fast): Reimplement as an inline
35388 function which calls __builtin_unreachable.
35390 2017-08-10 Mike FABIAN <mfabian@redhat.com>
35392 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
35393 Indian monetary formatting
35394 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
35397 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
35399 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
35400 Fix typo in comment.
35403 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
35404 PTRACE_SEIZE_DEVEL): Remove.
35405 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
35406 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35407 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35408 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35409 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35411 2017-08-09 Joseph Myers <joseph@codesourcery.com>
35413 * posix/bits/types.h (__qaddr_t): Remove.
35416 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
35417 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35419 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
35420 (ucontext_t): Use __ctx with uc_flags.
35421 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
35422 (__ctxt): Likewise.
35423 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35425 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
35426 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35428 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
35429 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35431 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
35433 (ucontext_t): Use __ctx with uc_flags.
35434 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
35435 (ucontext_t): Use __ctx with uc_flags.
35436 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
35437 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
35438 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
35439 (ucontext_t): Use __ctx with uc_flags.
35440 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
35441 undefine further down.
35442 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35444 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
35445 undefine further down.
35446 (ucontext_t): Use __ctx with uc_flags.
35447 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
35448 undefine further down.
35449 (ucontext_t): Use __ctx with uc_flags.
35450 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
35451 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
35452 Rename uc_pad to __glibc_reserved1.
35453 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
35454 undefine further down.
35455 (ucontext_t): Use __ctx with uc_flags.
35456 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
35458 (ucontext_t): Use __ctx with uc_flags.
35459 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
35460 __ctx with uc_flags.
35461 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
35462 (ucontext_t): Use __ctx with uc_flags.
35463 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
35464 __ctx with uc_flags.
35466 2017-08-09 Florian Weimer <fweimer@redhat.com>
35469 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
35470 before early return.
35472 2017-08-09 Andreas Schwab <schwab@suse.de>
35475 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
35479 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
35480 tst-compat-forwarder.
35481 (modules-names): Add tst-compat-forwarder-mod.
35482 ($(objpfx)tst-compat-forwarder): Depend on
35483 $(objpfx)tst-compat-forwarder-mod.so.
35484 * nptl/tst-compat-forwarder.c: New file.
35485 * nptl/tst-compat-forwarder-mod.c: New file.
35487 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
35489 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
35492 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
35493 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
35495 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
35497 (__libc_ifunc_impl_list): Add __memcpy_falkor.
35498 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
35499 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
35500 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
35502 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
35505 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35508 * manual/setjmp.texi (getcontex): Document uc_stack value
35509 compatibility differences.
35511 2017-08-08 Joseph Myers <joseph@codesourcery.com>
35513 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
35514 (old_malloc_hook): Likewise.
35515 (old_memalign_hook): Likewise.
35516 (old_realloc_hook): Likewise.
35517 (struct hdr): Likewise.
35519 (freehook): Likewise.
35520 (mallochook): Likewise.
35521 (memalignhook): Likewise.
35522 (reallochook): Likewise.
35523 (mprobe): Likewise.
35524 * malloc/mtrace.c (mallwatch): Likewise.
35525 (tr_old_free_hook): Likewise.
35526 (tr_old_malloc_hook): Likewise.
35527 (tr_old_realloc_hook): Likewise.
35528 (tr_old_memalign_hook): Likewise.
35529 (tr_where): Likewise.
35530 (lock_and_info): Likewise.
35531 (tr_freehook): Likewise.
35532 (tr_mallochook): Likewise.
35533 (tr_reallochook): Likewise.
35534 (tr_memalignhook): Likewise.
35535 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
35536 * misc/mmap.c (__mmap): Likewise.
35537 * misc/mmap64.c (__mmap64): Likewise.
35538 * misc/mprotect.c (__mprotect): Likewise.
35539 * misc/msync.c (msync): Likewise.
35540 * misc/munmap.c (__munmap): Likewise.
35541 * posix/posix_madvise.c (posix_madvise): Likewise.
35542 * socket/send.c (__send): Likewise.
35543 * socket/sendto.c (__sendto): Likewise.
35544 * socket/setsockopt.c (__setsockopt): Likewise.
35545 * string/memcmp.c (__ptr_t): Remove macro.
35546 (MEMCMP): Use void * instead of ptr_t.
35547 * string/memrchr.c (__ptr_t): Remove macro.
35548 (__memrchr): Use void * instead of ptr_t.
35549 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
35550 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
35551 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
35552 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
35553 * sysdeps/mach/msync.c (msync): Likewise.
35554 * sysdeps/mach/munmap.c (__munmap): Likewise.
35555 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
35557 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35558 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
35559 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
35560 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
35561 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
35562 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35563 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
35564 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
35566 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35567 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
35568 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
35569 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
35570 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
35571 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
35572 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
35573 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
35574 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
35576 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
35577 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
35578 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
35579 (MEMCMP): Use void * instead of ptr_t.
35580 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
35581 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
35583 2017-08-08 Florian Weimer <fweimer@redhat.com>
35585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
35588 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
35591 * csu/libc-tls.c: Include <startup.h> first.
35592 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
35593 * elf/dl-tunables.c: Include <startup.h> first.
35594 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
35595 * sysdeps/generic/startup.h: New file.
35596 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
35597 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
35598 (I386_USE_SYSENTER): New. Defined to 0.
35600 2017-08-08 Andreas Schwab <schwab@suse.de>
35603 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
35604 * nptl/pt-system.c (system): Likewise.
35606 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35609 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
35611 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
35612 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
35613 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
35614 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
35615 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
35616 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
35617 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
35619 2017-08-07 Joseph Myers <joseph@codesourcery.com>
35622 * bits/sigaction.h (struct sigaction): Define sa_handler and
35623 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
35624 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35625 [__USE_XOPEN_EXTENDED].
35626 (SA_RESTART): Likewise.
35627 (SA_NODEFER): Likewise.
35628 (SA_RESETHAND): Likewise.
35629 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
35630 (struct sigaction): Define sa_handler and sa_sigaction using union
35631 also for [__USE_XOPEN_EXTENDED].
35632 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35633 [__USE_XOPEN_EXTENDED].
35634 (SA_RESTART): Likewise.
35635 (SA_NODEFER): Likewise.
35636 (SA_RESETHAND): Likewise.
35637 * sysdeps/unix/sysv/linux/bits/sigaction.h
35638 (struct sigaction): Define sa_handler and sa_sigaction using union
35639 also for [__USE_XOPEN_EXTENDED].
35640 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35641 [__USE_XOPEN_EXTENDED].
35642 (SA_RESTART): Likewise.
35643 (SA_NODEFER): Likewise.
35644 (SA_RESETHAND): Likewise.
35645 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
35646 (struct sigaction): Define sa_handler and sa_sigaction using union
35647 also for [__USE_XOPEN_EXTENDED].
35648 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35649 [__USE_XOPEN_EXTENDED].
35650 (SA_RESTART): Likewise.
35651 (SA_NODEFER): Likewise.
35652 (SA_RESETHAND): Likewise.
35653 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
35654 (struct sigaction): Define sa_handler and sa_sigaction using union
35655 also for [__USE_XOPEN_EXTENDED].
35656 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35657 [__USE_XOPEN_EXTENDED].
35658 (SA_RESTART): Likewise.
35659 (SA_NODEFER): Likewise.
35660 (SA_RESETHAND): Likewise.
35661 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35662 (struct sigaction): Define sa_handler and sa_sigaction using union
35663 also for [__USE_XOPEN_EXTENDED].
35664 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35665 [__USE_XOPEN_EXTENDED].
35666 (SA_RESTART): Likewise.
35667 (SA_NODEFER): Likewise.
35668 (SA_RESETHAND): Likewise.
35669 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35670 (struct sigaction): Define sa_handler and sa_sigaction using union
35671 also for [__USE_XOPEN_EXTENDED].
35672 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35673 [__USE_XOPEN_EXTENDED].
35674 (SA_RESTART): Likewise.
35675 (SA_NODEFER): Likewise.
35676 (SA_RESETHAND): Likewise.
35677 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35678 (struct sigaction): Define sa_handler and sa_sigaction using union
35679 also for [__USE_XOPEN_EXTENDED].
35680 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35681 [__USE_XOPEN_EXTENDED].
35682 (SA_RESTART): Likewise.
35683 (SA_NODEFER): Likewise. Define directly rather than as alias.
35684 (SA_RESETHAND): Likewise.
35685 (SA_INTERRUPT): Define only for [__USE_MISC].
35686 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
35687 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
35689 (SA_STACK): Define only for [__USE_MISC].
35690 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
35691 (struct sigaction): Define sa_handler and sa_sigaction using union
35692 also for [__USE_XOPEN_EXTENDED].
35693 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35694 [__USE_XOPEN_EXTENDED].
35695 (SA_RESTART): Likewise.
35696 (SA_NODEFER): Likewise.
35697 (SA_RESETHAND): Likewise.
35698 (SA_NOPTRACE): Define only for [__USE_MISC].
35700 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
35701 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
35702 (struct catalog_info): Likewise.
35703 * inet/htontest.c (lo): Likewise.
35705 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35706 * inet/inet_net.c (inet_network): Likewise.
35707 * inet/inet_netof.c (inet_netof): Likewise.
35708 * inet/rcmd.c (__ivaliduser): Likewise.
35709 (iruserok): Likewise.
35710 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
35711 * locale/programs/locale-spec.c (locale_special): Likewise.
35712 * nis/nis_findserv.c (struct findserv_req): Likewise.
35713 (__nis_findfastest_with_timeout): Likewise.
35714 * nss/test-netdb.c (test_network): Likewise.
35715 * resolv/inet_neta.c (inet_neta): Likewise.
35716 * resolv/ns_date.c (ns_datetosecs): Likewise.
35717 (SECS_PER_DAY): Likewise.
35718 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
35720 * resolv/res_comp.c (__putlong): Likewise.
35721 (__putshort): Likewise.
35722 (_getlong): Likewise.
35723 (_getshort): Likewise.
35724 * resolv/res_debug.c (p_time): Likewise.
35725 (precsize_ntoa): Likewise.
35726 (precsize_aton): Likewise.
35727 (latlon2ul): Likewise.
35728 (loc_aton): Likewise.
35729 (loc_ntoa): Likewise.
35730 * resolv/res_hconf.c (struct netaddr): Likewise.
35731 (_res_hconf_reorder_addrs): Likewise.
35732 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
35733 (clnttcp_control): Likewise.
35734 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35735 (clntudp_control): Likewise.
35736 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
35737 (clntunix_control): Likewise.
35738 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
35739 * sunrpc/rpc/auth.h (union des_block): Likewise.
35740 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
35741 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
35742 (xdrrec_create): Likewise.
35743 (xdrrec_endofrecord): Likewise.
35744 (flush_out): Likewise.
35745 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
35746 (xdrstdio_putlong): Likewise.
35747 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
35750 * misc/sys/cdefs.h (__long_double_t): Remove.
35751 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
35752 instead of __long_double_t,
35753 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
35755 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
35757 * benchtests/scripts/compare_strings.py: Avoid display error when
35758 running on a text terminal.
35760 * benchtests/scripts/compare_strings.py (main): Add an
35761 optional -base option.
35762 (process_results): New argument base_func.
35764 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
35766 * benchtests/bench-memcpy-large.c (test_name): Likewise.
35767 * benchtests/bench-memcpy-random.c (test_name): Likewise.
35769 2017-08-07 Andreas Schwab <schwab@suse.de>
35771 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
35772 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35773 * intl/Makefile ($(objpfx)tst-gettext.out)
35774 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
35775 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
35776 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35777 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35778 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
35779 * posix/Makefile ($(objpfx)globtest.out)
35780 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
35781 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
35782 ($(objpfx)tst-printf.out): Likewise.
35783 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
35784 ($(objpfx)tst-setcontext3.out): Likewise.
35786 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
35788 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35789 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
35790 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
35791 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
35792 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
35794 (CFLAGS-doasin-fma.c): New.
35795 (CFLAGS-dosincos-fma.c): Likewise.
35796 (CFLAGS-e_asin-fma.c): Likewise.
35797 (CFLAGS-e_atan2-fma.c): Likewise.
35798 (CFLAGS-e_exp-fma.c): Likewise.
35799 (CFLAGS-e_log-fma.c): Likewise.
35800 (CFLAGS-e_pow-fma.c): Likewise.
35801 (CFLAGS-halfulp-fma.c): Likewise.
35802 (CFLAGS-mpa-fma.c): Likewise.
35803 (CFLAGS-mpatan-fma.c): Likewise.
35804 (CFLAGS-mpatan2-fma.c): Likewise.
35805 (CFLAGS-mpexp-fma.c): Likewise.
35806 (CFLAGS-mplog-fma.c): Likewise.
35807 (CFLAGS-mpsqrt-fma.c): Likewise.
35808 (CFLAGS-mptan-fma.c): Likewise.
35809 (CFLAGS-s_atan-fma.c): Likewise.
35810 (CFLAGS-sincos32-fma.c): Likewise.
35811 (CFLAGS-slowexp-fma.c): Likewise.
35812 (CFLAGS-slowpow-fma.c): Likewise.
35813 (CFLAGS-s_sin-fma.c): Likewise.
35814 (CFLAGS-s_tan-fma.c): Likewise.
35815 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
35816 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
35817 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
35818 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
35819 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
35820 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
35821 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
35822 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
35823 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
35824 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
35825 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
35826 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
35827 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
35828 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
35829 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
35830 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
35831 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
35832 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
35833 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
35834 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
35835 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
35836 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
35837 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
35838 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
35839 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35840 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35841 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35842 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
35843 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35844 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35845 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35847 2017-08-04 Joseph Myers <joseph@codesourcery.com>
35849 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
35850 (min_of_type_f): New macro.
35851 (min_of_type_): Likewise.
35852 (min_of_type_l): Likewise.
35853 (min_of_type_f128): Likewise.
35854 (min_of_type): Define using __MATH_TG and taking an expression
35856 (math_check_force_underflow): Pass expression instead of type to
35858 (math_check_force_underflow_nonneg): Likewise.
35860 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35862 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35863 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
35864 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
35866 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35868 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35869 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
35870 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
35871 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
35872 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
35873 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
35874 memcpy_chk-nonshared, mempcpy_chk-nonshared,
35875 memmove_chk-nonshared and memset_chk-nonshared
35876 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
35877 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
35878 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
35879 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
35880 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
35881 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
35882 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
35883 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
35884 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
35885 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
35886 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
35887 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
35888 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
35889 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
35890 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
35891 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
35892 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
35893 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
35894 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
35895 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
35896 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
35897 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
35898 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
35899 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
35900 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
35901 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
35902 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
35903 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
35904 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
35905 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
35906 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
35907 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
35908 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
35909 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35910 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35911 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
35912 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
35913 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
35914 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
35915 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
35916 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
35917 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
35918 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
35919 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
35920 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
35921 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
35922 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
35923 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
35924 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
35925 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
35926 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
35927 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
35928 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
35929 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
35930 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
35931 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
35932 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
35933 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
35934 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
35935 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
35936 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
35937 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
35938 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
35939 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
35940 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
35941 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
35942 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
35943 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
35944 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
35945 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
35946 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
35947 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35948 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35949 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35950 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35951 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35952 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35953 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35954 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35955 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35956 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35957 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35958 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35959 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35960 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35961 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35962 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35963 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35964 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35965 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35966 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35967 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35968 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35969 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35970 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35971 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35972 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35973 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35974 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35975 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35976 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35977 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35978 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35979 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35980 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35981 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35982 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35983 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35985 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35987 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
35988 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
35989 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
35990 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
35991 svml_d_log2_core-sse2, svml_d_log4_core-sse,
35992 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
35993 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
35994 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
35995 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
35996 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
35997 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
35998 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
35999 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
36000 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
36001 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
36002 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
36003 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
36004 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
36005 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
36006 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
36007 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
36008 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
36009 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
36010 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
36011 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
36012 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
36013 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
36014 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
36015 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
36016 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
36017 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
36018 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
36019 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
36020 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
36021 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
36022 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
36023 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
36024 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
36025 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
36026 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
36027 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
36028 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
36029 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
36030 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
36031 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
36032 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
36033 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
36034 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
36035 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
36036 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
36037 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
36038 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
36039 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
36040 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
36041 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
36042 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
36043 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
36044 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
36045 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
36047 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
36048 Don't include <sysdep.h> nor <init-arch.h>.
36049 (_ZGVbN2v_cos): Removed.
36050 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
36052 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
36053 Don't include <sysdep.h> nor <init-arch.h>.
36054 (_ZGVdN4v_cos): Removed.
36055 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
36057 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
36058 Don't include <sysdep.h> nor <init-arch.h>.
36059 (_ZGVeN8v_cos): Removed.
36060 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
36062 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
36063 Don't include <sysdep.h> nor <init-arch.h>.
36064 (_ZGVbN2v_exp): Removed.
36065 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
36067 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
36068 Don't include <sysdep.h> nor <init-arch.h>.
36069 (_ZGVdN4v_exp): Removed.
36070 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
36072 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
36073 Don't include <sysdep.h> nor <init-arch.h>.
36074 (_ZGVeN8v_exp): Removed.
36075 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
36077 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
36078 Don't include <sysdep.h> nor <init-arch.h>.
36079 (_ZGVbN2v_log): Removed.
36080 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
36082 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
36083 Don't include <sysdep.h> nor <init-arch.h>.
36084 (_ZGVdN4v_log): Removed.
36085 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
36087 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
36088 Don't include <sysdep.h> nor <init-arch.h>.
36089 (_ZGVeN8v_log): Removed.
36090 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
36092 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
36093 Don't include <sysdep.h> nor <init-arch.h>.
36094 (_ZGVbN2vv_pow): Removed.
36095 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
36097 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
36098 Don't include <sysdep.h> nor <init-arch.h>.
36099 (_ZGVdN4vv_pow): Removed.
36100 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
36102 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
36103 Don't include <sysdep.h> nor <init-arch.h>.
36104 (_ZGVeN8vv_pow): Removed.
36105 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
36107 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
36108 Don't include <sysdep.h> nor <init-arch.h>.
36109 (_ZGVbN2v_sin): Removed.
36110 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
36112 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
36113 Don't include <sysdep.h> nor <init-arch.h>.
36114 (_ZGVbN4v_sin): Removed.
36115 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
36117 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
36118 Don't include <sysdep.h> nor <init-arch.h>.
36119 (_ZGVbN8v_sin): Removed.
36120 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
36122 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
36123 Don't include <sysdep.h> nor <init-arch.h>.
36124 (_ZGVbN2vvv_sincos): Removed.
36125 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
36127 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
36128 Don't include <sysdep.h> nor <init-arch.h>.
36129 (_ZGVdN4vvv_sincos): Removed.
36130 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
36132 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
36133 Don't include <sysdep.h> nor <init-arch.h>.
36134 (_ZGVeN8vvv_sincos): Removed.
36135 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
36137 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
36138 Don't include <sysdep.h> nor <init-arch.h>.
36139 (_ZGVeN16v_cosf): Removed.
36140 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
36142 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
36143 Don't include <sysdep.h> nor <init-arch.h>.
36144 (_ZGVbN4v_cosf): Removed.
36145 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
36147 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
36148 Don't include <sysdep.h> nor <init-arch.h>.
36149 (_ZGVdN8v_cosf): Removed.
36150 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
36152 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
36153 Don't include <sysdep.h> nor <init-arch.h>.
36154 (_ZGVeN16v_expf): Removed.
36155 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
36157 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
36158 Don't include <sysdep.h> nor <init-arch.h>.
36159 (_ZGVbN4v_expf): Removed.
36160 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
36162 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
36163 Don't include <sysdep.h> nor <init-arch.h>.
36164 (_ZGVdN8v_expf): Removed.
36165 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
36167 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
36168 Don't include <sysdep.h> nor <init-arch.h>.
36169 (_ZGVeN16v_logf): Removed.
36170 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
36172 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
36173 Don't include <sysdep.h> nor <init-arch.h>.
36174 (_ZGVbN4v_logf): Removed.
36175 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
36177 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
36178 Don't include <sysdep.h> nor <init-arch.h>.
36179 (_ZGVdN8v_logf): Removed.
36180 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
36182 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
36183 Don't include <sysdep.h> nor <init-arch.h>.
36184 (_ZGVeN16vv_powf): Removed.
36185 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
36187 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
36188 Don't include <sysdep.h> nor <init-arch.h>.
36189 (_ZGVbN4vv_powf): Removed.
36190 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
36192 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
36193 Don't include <sysdep.h> nor <init-arch.h>.
36194 (_ZGVdN8vv_powf): Removed.
36195 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
36197 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
36198 Don't include <sysdep.h> nor <init-arch.h>.
36199 (_ZGVeN16vvv_sincosf): Removed.
36200 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
36202 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
36203 Don't include <sysdep.h> nor <init-arch.h>.
36204 (_ZGVbN4vvv_sincosf): Removed.
36205 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
36207 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
36208 Don't include <sysdep.h> nor <init-arch.h>.
36209 (_ZGVdN8vvv_sincosf): Removed.
36210 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
36212 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
36213 Don't include <sysdep.h> nor <init-arch.h>.
36214 (_ZGVeN16v_sinf): Removed.
36215 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
36217 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
36218 Don't include <sysdep.h> nor <init-arch.h>.
36219 (_ZGVbN4v_sinf): Removed.
36220 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
36222 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
36223 Don't include <sysdep.h> nor <init-arch.h>.
36224 (_ZGVdN8v_sinf): Removed.
36226 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36228 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36229 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
36230 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
36231 s_rint-sse4_1 and s_rintf-sse4_1.
36232 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
36233 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
36234 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
36235 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
36236 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
36237 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
36238 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
36239 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
36240 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
36241 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
36242 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
36243 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36245 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
36246 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
36247 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36248 (__ceilf): Removed.
36249 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
36250 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
36251 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36252 (__floor): Removed.
36253 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
36254 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
36255 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36256 (__floorf): Removed.
36257 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
36258 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
36259 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36260 (__nearbyint): Removed.
36261 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
36262 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
36263 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36264 (__nearbyintf): Removed.
36265 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
36266 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
36267 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36269 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
36270 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
36271 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36272 (__rintf): Removed.
36274 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36276 * sysdeps/i386/start.S (_start): Check Check PIC instead of
36277 SHARED. Avoid dynamic relocation against main in static PIE.
36279 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36282 * elf/Makefile (CFLAGS-tst-prelink.c): New.
36283 (LDFLAGS-tst-prelink): Likewise.
36285 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36287 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
36288 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
36289 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
36290 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
36291 (INTERNAL_SYSCALL_NCS): Likewise.
36292 (LOADARGS_1): Likewise.
36293 (LOADARGS_5): Likewise.
36294 (RESTOREARGS_1): Likewise.
36295 (RESTOREARGS_5): Likewise.
36297 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36299 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
36300 (MEMPCPY_SYMBOL): Likewise.
36301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36302 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
36303 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
36305 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36306 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
36308 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
36309 (__hidden_ver1): Don't use in libc.a.
36310 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
36311 (__mempcpy): Don't create a weak alias in libc.a.
36312 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
36314 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
36315 (__hidden_ver1): Don't use in libc.a.
36317 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36319 * config.make.in (have-insert): New.
36320 * configure.ac (libc_cv_insert): New. Set to yes if linker
36321 supports INSERT in linker script.
36322 (AC_SUBST(libc_cv_insert): New.
36323 * configure: Regenerated.
36324 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
36325 if $(have-insert) == yes.
36327 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36329 * elf/Makefile (tests): Add vismain only if
36330 $(have-protected-data) == yes.
36331 (tests-pie): Likewise.
36333 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36336 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
36337 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
36339 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36342 * sysdeps/i386/i586/memset.S
36343 (__memset_zero_constant_len_parameter): Removed.
36344 * sysdeps/i386/i686/memset.S
36345 (__memset_zero_constant_len_parameter): Likewise.
36346 * sysdeps/i386/i686/multiarch/memset_chk.S
36347 (__memset_zero_constant_len_parameter): Likewise.
36348 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
36351 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36353 * stdlib/getentropy.c (getentropy): Change return type to int.
36355 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36357 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
36359 2017-08-03 Joseph Myers <joseph@codesourcery.com>
36361 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
36363 * math/s_nexttowardf.c (__nexttowardf): Likewise.
36364 * sysdeps/generic/math_private.h (ieee_double_shape_type):
36366 (ieee_float_shape_type): Likewise.
36367 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
36368 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
36369 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36370 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36371 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
36372 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
36373 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
36374 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36375 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
36377 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36378 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
36379 (__ieee754_yn): Likewise.
36380 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36381 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36382 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
36384 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36385 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
36386 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
36387 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
36388 (__erfc): Likewise.
36389 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
36390 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
36391 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
36392 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
36393 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
36394 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
36396 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
36397 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
36398 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
36399 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
36400 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36401 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
36402 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
36403 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
36404 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
36405 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
36406 (__issignaling): Likewise.
36407 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
36408 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
36409 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
36411 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36412 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
36413 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
36414 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
36416 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
36418 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
36419 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
36420 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
36421 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
36422 (__erfcf): Likewise.
36423 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
36424 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
36425 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
36426 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
36428 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
36429 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
36431 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
36432 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
36433 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
36434 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
36435 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
36436 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36437 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
36438 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
36440 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
36442 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
36444 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
36445 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
36447 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36449 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
36450 (__ieee754_ynl): Likewise.
36451 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
36452 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
36454 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
36456 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
36457 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
36458 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36460 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
36461 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
36462 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
36463 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
36464 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
36465 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
36466 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
36467 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
36469 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
36470 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
36471 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
36473 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
36474 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
36475 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
36476 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
36477 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
36478 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36480 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36482 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36484 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36486 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
36487 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36488 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36489 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
36490 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
36491 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
36492 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
36494 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36496 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36497 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36499 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
36500 (__ieee754_remainderl): Likewise.
36501 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36502 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36503 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
36504 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
36506 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
36507 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36509 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36510 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
36511 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
36512 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
36513 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36514 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36516 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
36517 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
36518 (__ieee754_y0l): Likewise.
36521 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36522 (__ieee754_y1l): Likewise.
36525 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
36526 (__ieee754_ynl): Likewise.
36527 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
36528 (__ieee754_lgammal_r): Likewise.
36529 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
36531 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
36532 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
36533 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
36534 (__erfcl): Likewise.
36535 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
36536 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
36538 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
36539 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
36540 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
36541 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
36542 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
36543 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36544 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36546 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
36547 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36548 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
36549 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
36550 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36552 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
36553 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
36555 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
36556 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
36557 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
36558 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36559 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
36561 2017-08-03 Florian Weimer <fweimer@redhat.com>
36564 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
36565 on memory allocation failure.
36567 2017-08-03 Alan Modra <amodra@gmail.com>
36569 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
36570 tst-tlsopt-powerpc.c with function name change and no test harness.
36571 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
36572 Call tls_get_addr_opt_test.
36573 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
36574 (modules-names): Add mod-tlsopt-powerpc.
36575 (mod-tlsopt-powerpc.so-no-z-defs): Define.
36576 (tst-tlsopt-powerpc): Depend on .so.
36577 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
36578 define. Expand use in TLS_GD and TLS_LD.
36580 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36582 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
36584 * sysdeps/posix/shm_open.c: Include <pthread.h>.
36586 2017-08-02 Joseph Myers <joseph@codesourcery.com>
36589 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
36590 comparing size with that of double.
36591 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36592 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36593 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36594 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36595 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36596 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
36597 unsigned __int128 types.
36599 2017-08-02 Steve Ellcey <sellcey@cavium.com>
36601 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
36602 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
36603 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
36604 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
36605 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
36607 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36609 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
36611 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36613 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
36615 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36616 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36617 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36618 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36619 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36620 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36621 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36623 2017-08-02 Joseph Myers <joseph@codesourcery.com>
36626 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
36627 bit-field expressions passed to sizeof or typeof.
36628 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36629 (__TGMATH_F128): Likewise.
36630 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36631 (__TGMATH_CF128): Likewise.
36632 (__TGMATH_UNARY_REAL_ONLY): Likewise.
36633 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
36634 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
36635 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
36636 (__TGMATH_BINARY_REAL_ONLY): Likewise.
36637 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36638 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36639 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36640 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36641 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
36642 (__TGMATH_UNARY_REAL_IMAG): Likewise.
36643 (__TGMATH_UNARY_IMAG): Likewise.
36644 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
36645 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36646 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
36648 (define_vars_for_type): Handle bit_field type specially.
36649 (Tests.__init__): Declare structure with bit-field element.
36651 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36654 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
36655 (MEMCPY_CHK): Define only if SHARED is defined.
36656 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
36658 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
36661 See ChangeLog.18 for earlier changes.