1 2019-07-24 Florian Weimer <fweimer@redhat.com>
4 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
5 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
6 (sysdep_headers): Add bits/socket-constants.h.
7 (tests-special): Add tst-socket-consts.out.
8 (tst-socket-consts.out): New target.
9 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
10 around <asm/unistd.h>.
11 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
12 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
14 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
15 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
16 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
17 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
18 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
19 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
21 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
23 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
26 * Makefile (testroot.pristine/install.stamp): Pass
27 subdirs='$(all-subdirs)' to make install.
29 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
30 the same arguments used in all tests.
32 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
34 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
36 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
39 * locale/C-translit.h.in: Add Cyrillic transliteration.
41 2019-07-19 Florian Weimer <fweimer@redhat.com>
43 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
45 (fsconfig): Add system call name.
49 (move_mount): Likewise.
50 (open_tree): Likewise.
52 2019-07-18 Carlos O'Donell <carlos@redhat.com>
54 * po/libc.pot: Regenerate.
56 2019-07-18 Mike Crowe <mac@mcrowe.com>
58 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
59 functions recently added to sysdeps/nptl/pthread.h:
60 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
61 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
63 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
64 pthread_cond_clockwait forwarding functions. There are no internal
65 users, so it is unnecessary to expose these functions in libc.so.
66 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
67 unnecessary ptr___pthread_cond_clockwait member.
68 * nptl/nptl-init.c (pthread_functions): Remove assignment of
71 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
74 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
75 begin with an uppercase letter now.
77 (mon): Update from CLDR, reword February from "Kudo" to
78 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
79 and August from "Liiqen" to "Leqeeni".
80 * localedata/locales/aa_ER (mon): Update from CLDR, reword
81 April from "Agda Baxisso" to "Agda Baxis" and August from
82 "Leqeeni" to "Liiqen".
83 * localedata/locales/aa_ER@saaho (mon): Likewise.
84 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
85 abbreviated February from "Kud" to "Nah".
86 (mon): Update from CLDR, reword February from "Kudo" to
87 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
89 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
92 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
94 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
97 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
98 name_mrs, name_miss, and name_ms.
99 * localedata/locales/nl_NL (LC_NAME): Likewise.
101 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
104 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
105 * localedata/locales/en_IE (first_weekday): Likewise.
107 2019-07-12 Mike Crowe <mac@mcrowe.com>
109 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
110 that is only useful if futex_supports_exact_relative_timeouts ()
112 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
114 * sysdeps/nptl/futex-internal.h: Remove comment about relative
115 timeouts potentially being imprecise since it's no longer true.
116 Remove declaration of futex_supports_exact_relative_timeouts.
117 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
118 of futex_supports_exact_relative_timeouts.
120 * NEWS: Mention recently-added pthread_cond_clockwait,
121 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
122 sem_clockwait functions.
124 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
125 works like pthread_mutex_timedlock but takes a clockid parameter to
126 measure the abstime parameter against.
127 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
128 * nptl/DESIGN-systemtap-probes.txt: Likewise.
129 * nptl/pthread_mutex_timedlock.c
130 (__pthread_mutex_clocklock_common): Rename from
131 __pthread_mutex_timedlock and add clockid parameter. Pass this
132 parameter to lll_clocklock and lll_clocklock_elision in place of
133 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
134 LIBC_PROBE and validate clockid parameter before calling
135 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
136 implementation to add LIBC_PROBE and calls
137 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
139 * nptl/Makefile: Add tst-mutex11.c.
140 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
141 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
142 clockid parameters to pthread_mutex_clocklock.
143 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
144 clockid parameter to indicate which clock to be used. Call
145 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
146 (do_test): Call do_test_clock to separately test
147 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
148 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
149 * nptl/tst-mutex9.c: Likewise.
150 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
151 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
153 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
155 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
157 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
159 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
161 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
163 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
165 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
166 (GLIBC_2.30): Likewise.
167 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
168 (GLIBC_2.30): Likewise.
169 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
170 (GLIBC_2.30): Likewise.
171 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
172 (GLIBC_2.30): Likewise.
173 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
174 (GLIBC_2.30): Likewise.
175 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
178 (GLIBC_2.30): Likewise.
179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
180 (GLIBC_2.30): Likewise.
181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
182 (GLIBC_2.30): Likewise.
183 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
184 (GLIBC_2.30): Likewise.
185 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
186 (GLIBC_2.30): Likewise.
187 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
188 (GLIBC_2.30): Likewise.
189 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
191 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
192 (GLIBC_2.30): Likewise.
193 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
194 (GLIBC_2.30): Likewise.
195 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
196 (GLIBC_2.30): Likewise.
197 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
198 (GLIBC_2.30): Likewise.
200 nptl: Rename lll_timedlock to lll_clocklock and add clockid
201 parameter to indicate the clock that the abstime parameter should
202 be measured against in preparation for adding
203 pthread_mutex_clocklock.
204 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
205 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
206 from __lll_timedlock and add clockid parameter.
207 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
209 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
210 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
211 rather than __gettimeofday so that clockid can be used. This means
212 that conversion from struct timeval is no longer required.
213 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
215 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
216 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
217 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
218 from lll_timedlock_elision, add clockid parameter and use
219 meaningful names for other parameters. (__pthread_mutex_timedlock):
220 Pass CLOCK_REALTIME where necessary to lll_clocklock and
221 lll_clocklock_elision.
222 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
223 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
224 clockid parameter. (__lll_clocklock_elision): Rename from
225 __lll_timedlock_elision and add clockid parameter.
226 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
227 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
228 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
229 (__lll_lock_elision): Call __lll_clocklock_elision rather than
230 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
231 (LLL_LOCK): Likewise.
232 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
233 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
235 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
236 pthread_rwlock_clockwrlock which behave like
237 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
238 respectively, except they always measure abstime against the
239 supplied clockid. The functions currently support CLOCK_REALTIME
240 and CLOCK_MONOTONIC and return EINVAL if any other clock is
242 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
243 pthread_wrlock_clockwrlock.
244 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
245 pthread_rwlock_clockwrlock.c.
246 * nptl/pthread_rwlock_clockrdlock.c: Implement
247 pthread_rwlock_clockrdlock.
248 * nptl/pthread_rwlock_clockwrlock.c: Implement
249 pthread_rwlock_clockwrlock.
250 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
251 clockid parameter and verify that it indicates a supported clock on
252 entry so that we fail even if it doesn't end up being used. Pass
253 that clock on to futex_abstimed_wait when necessary.
254 (__pthread_rwlock_wrlock_full): Likewise.
255 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
256 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
257 be used because there's no timeout.
258 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
259 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
260 be used because there is no timeout.
261 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
262 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
264 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
265 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
267 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
268 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
269 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
270 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
271 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
272 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
273 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
274 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
275 (GLIBC_2.30): Likewise.
276 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
277 (GLIBC_2.30): Likewise.
278 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
279 (GLIBC_2.30): Likewise.
280 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
281 (GLIBC_2.30): Likewise.
282 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
283 (GLIBC_2.30): Likewise.
284 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
286 (GLIBC_2.30): Likewise.
287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
288 (GLIBC_2.30): Likewise.
289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
290 (GLIBC_2.30): Likewise.
291 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
292 (GLIBC_2.30): Likewise.
293 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
294 (GLIBC_2.30): Likewise.
295 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
296 (GLIBC_2.30): Likewise.
297 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
298 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
299 (GLIBC_2.30): Likewise.
300 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
301 (GLIBC_2.30): Likewise.
302 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
303 (GLIBC_2.30): Likewise.
304 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
305 (GLIBC_2.30): Likewise.
306 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
307 pthread_rwlock_clockwrlock timeout tests to match the existing
308 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
309 * nptl/tst-rwlock14.c (do_test): Likewise.
310 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
311 ancillary output throughout. (tf): Accept thread_args structure so
312 that rwlock, a clockid and function name can be passed to the
313 thread. (do_test_clock): Rename from do_test. Accept clockid
314 parameter to specify test clock. Use the magic clockid value of
315 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
316 pthread_rwlock_timedwrlock should be tested, otherwise pass the
317 specified clockid to pthread_rwlock_clockrdlock and
318 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
319 (do_test): Call do_test_clock to test each clockid in turn.
320 * nptl/tst-rwlock7.c: Likewise.
321 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
322 thread_args structure so that the (now int) thread number, the
323 clockid and the function name can be passed to the thread.
324 (do_test_clock): Renamed from do_test. Pass the necessary
325 thread_args when creating the reader and writer threads. Use
326 xpthread_create and xpthread_join.
327 (do_test): Call do_test_clock to test each clockid in turn.
328 * manual/threads.texi: Add documentation for
329 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
331 nptl: pthread_rwlock: Move timeout validation into _full functions
332 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
333 Check validity of abstime parameter.
334 (__pthread_rwlock_rwlock_full): Likewise.
335 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
336 Remove check for validity of abstime parameter.
337 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
340 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
341 like pthread_cond_timedwait except it always measures abstime
342 against the supplied clockid.
343 * nptl/Makefile: Add tst-cond26 and tst-cond27
344 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
345 * sysdeps/nptl/pthread.h: Likewise
346 * nptl/forward.c: Add __pthread_cond_clockwait
347 * nptl/forward.c: Likewise
348 * nptl/pthreadP.h: Likewise
349 * sysdeps/nptl/pthread-functions.h: Likewise
350 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
351 clockid parameter and comment describing why we don't need to check
352 its value. Use that value when calling
353 futex_abstimed_wait_cancelable rather than reading the clock from
354 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
355 (__pthread_cond_timedwait): Read clock from flags and pass it to
356 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
357 function with weak alias from pthread_cond_clockwait.
358 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
359 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
360 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
361 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
362 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
363 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
364 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
365 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
366 (GLIBC_2.30): Likewise.
367 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
368 (GLIBC_2.30): Likewise.
369 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
370 (GLIBC_2.30): Likewise.
371 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
372 (GLIBC_2.30): Likewise.
373 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
374 (GLIBC_2.30): Likewise.
375 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
377 (GLIBC_2.30): Likewise.
378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
379 (GLIBC_2.30): Likewise.
380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
381 (GLIBC_2.30): Likewise.
382 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
383 (GLIBC_2.30): Likewise.
384 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
385 (GLIBC_2.30): Likewise.
386 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
387 (GLIBC_2.30): Likewise.
388 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
389 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
390 (GLIBC_2.30): Likewise.
391 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
392 (GLIBC_2.30): Likewise.
393 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
394 (GLIBC_2.30): Likewise.
395 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
396 (GLIBC_2.30): Likewise.
397 * nptl/tst-cond11.c (run_test): Support testing
398 pthread_cond_clockwait too by using a special magic
399 CLOCK_USE_ATTR_CLOCK value to determine whether to call
400 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
401 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
402 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
403 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
404 clocks to pthread_cond_clockwait.
405 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
406 struct timespec and pthread_cond_clockwait.
407 * manual/threads.texi: Document pthread_cond_clockwait.
409 nptl: Add POSIX-proposed sem_clockwait which behaves just like
410 sem_timedwait, but measures abstime against the specified clock.
411 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
412 clockid parameters to indicate the clock which abstime should be
414 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
415 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
417 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
419 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
420 sem_clockwait.c to match those used for sem_timedwait.c.
421 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
422 * nptl/Versions (GLIBC_2.30): Likewise.
423 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
424 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
425 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
426 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
427 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
428 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
429 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
430 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
431 (GLIBC_2.30): Likewise.
432 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
433 (GLIBC_2.30): Likewise.
434 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
435 (GLIBC_2.30): Likewise.
436 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
437 (GLIBC_2.30): Likewise.
438 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
439 (GLIBC_2.30): Likewise.
440 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
442 (GLIBC_2.30): Likewise.
443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
444 (GLIBC_2.30): Likewise.
445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
446 (GLIBC_2.30): Likewise.
447 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
448 (GLIBC_2.30): Likewise.
449 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
450 (GLIBC_2.30): Likewise.
451 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
452 (GLIBC_2.30): Likewise.
453 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
454 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
455 (GLIBC_2.30): Likewise.
456 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
457 (GLIBC_2.30): Likewise.
458 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
459 (GLIBC_2.30): Likewise.
460 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
461 (GLIBC_2.30): Likewise.
462 * nptl/tst-sem17.c: Add new test for passing invalid clock to
464 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
465 tests to also test sem_clockwait.
466 * manual/threads.texi: Document sem_clockwait.
468 nptl: Add clockid parameter to futex timed wait calls
469 * sysdeps/nptl/lowlevellock-futex.h,
470 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
471 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
472 takes a clockid rather than a special clockbit.
473 * sysdeps/nptl/lowlevellock-futex.h: Add
474 lll_futex_supported_clockid so that client functions can check
475 whether their clockid parameter is valid even if they don't
476 ultimately end up calling lll_futex_clock_wait_bitset.
477 * sysdeps/nptl/futex-internal.h,
478 sysdeps/unix/sysv/linux/futex-internal.h
479 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
480 clockid_t parameter to indicate which clock the absolute time
481 passed should be measured against. Pass that clockid onto
482 lll_futex_clock_wait_bitset. Add invalid clock as reason for
484 * sysdeps/nptl/futex-internal.h,
485 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
486 futex_abstimed_supported_clockid so that client functions can check
487 whether their clockid parameter is valid even if they don't
488 ultimately end up calling futex_abstimed_wait.
489 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
490 code to calculate relative timeout for
491 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
492 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
493 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
494 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
495 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
496 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
497 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
499 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
502 * posix/tst-mmap-offset.c: Mention BZ #24699.
503 (do_test_bz21270): Rename to do_test_large_offset and use
504 mmap64_maximum_offset to check for maximum expected offset value.
505 * sysdeps/generic/mmap_info.h: New file.
506 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
507 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
510 2019-07-10 DJ Delorie <dj@redhat.com>
511 Sergei Trofimovich <slyfox@inbox.ru>
515 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
517 * nss/tst-nss-db-endgrent.c: New.
518 * nss/tst-nss-db-endgrent.root: New.
519 * nss/tst-nss-db-endpwent.c: New.
520 * nss/tst-nss-db-endpwent.root: New.
521 * nss/Makefile: Add new tests.
522 * support/links-dso-program-c.c: Add selinux dependency.
523 * support/links-dso-program.cc: Add selinux dependency.
524 * support/Makefile: Build those with -lselinux if enabled.
526 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
528 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
529 DT_AARCH64_VARIANT_PCS check.
530 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
531 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
534 2019-07-10 Andreas Schwab <schwab@suse.de>
537 * malloc/malloc.h (__malloc_check_init): Don't declare.
538 * include/malloc.h (__malloc_check_init): Likewise.
539 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
540 * manual/memory.texi (__malloc_check_init): Don't mention it.
542 2019-07-10 Mao Han <han_mao@c-sky.com>
544 * locale/Makefile: Fix tst-locale-locpath arguments passing.
546 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
548 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
549 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
551 2019-07-08 DJ Delorie <dj@redhat.com>
554 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
555 * io/tst-ftw-lnk.c: New test.
556 * io/Makefile: Run it.
558 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
560 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
561 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
562 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
563 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
564 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
565 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
567 Adjust implementation path.
568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
569 Adjust implementation path.
570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
571 Adjust implementation path.
572 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
573 (libm-sysdep_routines): Add s_log* objects.
574 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
575 CFLAGS-s_logb-power7.c): New fule.
576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
578 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
582 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
585 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
588 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
592 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
595 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
598 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
602 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
605 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
606 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
607 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
608 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
609 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
611 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
612 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
613 powerpc32 integer 0 converting to -0.
615 * benchtests/Makefile (bench-math): Add logb.
616 * benchtests/logb-inputs: New file.
617 * benchtests/logbf-inputs: New file.
619 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
620 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
621 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
622 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
627 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
628 sysdep_routines): Add s_modf* objects.
629 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
630 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
633 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
637 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
640 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
643 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
646 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
649 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
651 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
652 twoM500, twoM600, two60factor, pdnum): Remove.
653 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
654 (__ieee754_hypot): Replace static variables with inline definition,
655 remove ununsed branches.
656 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
657 (libm-sysdep_routines): Remove e_hypot-* objects.
658 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
659 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
661 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
662 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
663 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
664 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
665 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
667 * benchtests/Makefile (bench-math): Add hypot.
668 * benchtests/hypot-inputs: New file.
670 2019-07-08 Vincent Chen <vincentc@andestech.com>
672 * sysdeps/unix/sysv/linux/dl-vdso.h
673 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
675 2019-07-04 Andreas Schwab <schwab@suse.de>
678 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
680 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
682 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
683 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
684 * sysdeps/aarch64/sys/ifunc.h: New file.
685 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
686 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
688 2019-07-01 Florian Weimer <fweimer@redhat.com>
691 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
692 Replace __vfork with __libpthread_version_placeholder for
694 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
695 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
697 * nptl/pt-vfork.c: Remove file.
698 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
699 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
700 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
701 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
702 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
703 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
704 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
705 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
706 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
707 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
708 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
709 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
710 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
711 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
712 Remove vfork, __vfork.
713 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
715 (GLIBC_2.1.2): Replace __vfork with
716 __libpthread_version_placeholder.
717 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
718 Remove vfork, __vfork.
719 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
721 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
723 (GLIBC_2.1.2): Replace __vfork with
724 __libpthread_version_placeholder.
725 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
727 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
728 (GLIBC_2.4): Remove vfork, __vfork.
729 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
730 (GLIBC_2.0): Remove vfork.
731 (GLIBC_2.1.2): Replace __vfork with
732 __libpthread_version_placeholder.
733 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
734 (GLIBC_2.18): Remove vfork, __vfork.
735 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
736 (GLIBC_2.0): Remove vfork.
737 (GLIBC_2.2): Remove __vfork.
738 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
739 (GLIBC_2.2): Remove vfork, __vfork.
740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
741 (GLIBC_2.0): Remove vfork.
742 (GLIBC_2.1.2): Replace __vfork with
743 __libpthread_version_placeholder.
744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
745 (GLIBC_2.3): Remove vfork, __vfork.
746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
747 (GLIBC_2.17): Likewise.
748 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
749 (GLIBC_2.0): Remove vfork.
750 (GLIBC_2.1.2): Replace __vfork with
751 __libpthread_version_placeholder.
752 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
753 (GLIBC_2.2): Remove vfork, __vfork.
754 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
756 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
757 (GLIBC_2.0): Remove vfork.
758 (GLIBC_2.1.2): Replace __vfork with
759 __libpthread_version_placeholder.
760 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
761 (GLIBC_2.2): Remove vfork, __vfork.
762 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
763 (GLIBC_2.2.5): Likewise.
764 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
765 (GLIBC_2.16): Likewise.
766 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
767 Remove __errno_location.
769 2019-07-02 Florian Weimer <fweimer@redhat.com>
772 * malloc/Depend: Add nptl and htl, due to potential indirect
773 libpthread dependency of memusagestat.
775 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
777 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
780 2019-07-01 Florian Weimer <fweimer@redhat.com>
782 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
783 variant for arm-linux-gnueabi.
785 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
788 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
790 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
791 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
792 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
793 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
794 and tst-cet-legacy-mod-6c.
795 (CFLAGS-tst-cet-legacy-5a.c): New.
796 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
797 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
798 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
799 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
800 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
801 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
802 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
803 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
804 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
805 ($(objpfx)tst-cet-legacy-5a): Likewise.
806 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
807 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
808 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
809 ($(objpfx)tst-cet-legacy-5b): Likewise.
810 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
811 (tst-cet-legacy-5b-ENV): Likewise.
812 ($(objpfx)tst-cet-legacy-6a): Likewise.
813 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
814 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
815 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
816 ($(objpfx)tst-cet-legacy-6b): Likewise.
817 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
818 (tst-cet-legacy-6b-ENV): Likewise.
819 * sysdeps/x86/tst-cet-legacy-5.c: New file.
820 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
821 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
822 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
823 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
824 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
825 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
826 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
827 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
828 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
829 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
830 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
831 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
832 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
834 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
836 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
837 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
838 (__fegetround_ISA300) New.
839 (__fegetround_ISA2) New.
840 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
841 (_FPU_MFFS): Move implementation...
843 (_FPU_MFFSL): Move implementation....
844 (_FPU_GET_RC_ISA300): Here. New.
845 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
846 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
847 (fegetenv_status): New.
848 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
849 instead of fegetenv_register().
850 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
852 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
854 * benchtests/bench-math-inlines.c: Increase iterations.
855 * benchtests/bench-memcmp.c: Likewise.
856 * benchtests/bench-rawmemchr.c: Likewise.
857 * benchtests/bench-strcmp.c: Likewise.
858 * benchtests/bench-strcpy_chk.c: Likewise.
859 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
860 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
861 (INNER_LOOP_ITERS_SMALL): Likewise.
862 * benchtests/bench-strncat.c: Increase iterations.
863 * benchtests/bench-strncmp.c: Increase iterations.
864 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
865 * benchtests/bench-strrchr.c: Increase iterations.
866 * benchtests/bench-strstr.c: Keep iterations unchanged.
867 * benchtests/bench-strtod.c: Increase iterations.
869 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
871 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
872 with INNER_LOOP_ITERS_LARGE.
873 * benchtests/bench-memchr.c: Likewise.
874 * benchtests/bench-rawmemchr.c: Likewise.
875 * benchtests/bench-strcat.c: Likewise.
876 * benchtests/bench-strchr.c: Likewise.
877 * benchtests/bench-string.h: Likewise.
878 * benchtests/bench-strlen.c: Likewise.
879 * benchtests/bench-strncpy.c: Likewise.
880 * benchtests/bench-strnlen.c: Likewise.
882 2019-06-28 Florian Weimer <fweimer@redhat.com>
884 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
885 Use mmap instead of malloc. malloc with M_PERTURB writes to the
886 entire allocated memory range.
888 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
890 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
891 (prepare_version_base): New helper inline function.
892 (prepare_version): New macro replacing PREPARE_VERSION.
893 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
895 2019-06-28 Florian Weimer <fweimer@redhat.com>
898 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
899 mismatch in a versioned symbol reference.
900 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
901 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
902 tst-sonamemove-dlopen.
903 (module-names): Add tst-sonamemove-linkmod1,
904 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
905 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
906 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
907 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
908 (tst-sonamemove-runmod1.so): Link against
909 tst-sonamemove-runmod2.so.
910 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
911 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
912 tst-sonamemove-runmod2.so.
913 (tst-sonamemove-dlopen): Link with -ldl.
914 (tst-sonamemove-dlopen.out): Likewise.
915 * elf/tst-sonamemove-link.c: New file.
916 * elf/tst-sonamemove-dlopen.c: Likewise.
917 * elf/tst-sonamemove-linkmod1.c: Likewise.
918 * elf/tst-sonamemove-linkmod1.map: Likewise.
919 * elf/tst-sonamemove-runmod1.c: Likewise.
920 * elf/tst-sonamemove-runmod1.map: Likewise.
921 * elf/tst-sonamemove-runmod2.c: Likewise.
922 * elf/tst-sonamemove-runmod2.map: Likewise.
924 2019-06-28 Florian Weimer <fweimer@redhat.com>
926 * support/xdlfcn.h (xdlvsym): Declare function.
927 * support/xdlfcn.c (xdlvsym): Define funciton.
929 2019-06-28 Florian Weimer <fweimer@redhat.com>
932 io: Remove the copy_file_range emulation.
933 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
934 not define and call copy_file_range_compat.
935 * io/Makefile (tests-static, tests-internal): Do not add
936 tst-copy_file_range-compat.
937 * io/copy_file_range-compat.c: Remove file.
938 * io/copy_file_range.c (copy_file_range): Define as stub.
939 * io/tst-copy_file_range-compat.c: Remove file.
940 * io/tst-copy_file_range.c (xdevfile): Remove variable.
941 (typical_sizes): Update comment. Remove 16K sizes.
942 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
944 (find_maximum_offset, pipe_as_source, pipe_as_destination)
945 (delayed_write_failure_beginning, delayed_write_failure_end)
946 (cross_device_failure, enospc_failure_1, enospc_failure)
947 (oappend_failure): Remove functions.
948 (tests): Adjust test case list.
949 (do_test): Remove file system search code. Check for ENOSYS from
950 copy_file_range. Do not free xdevfile.
951 * manual/llio.texi (Copying File Data): Document ENOSYS error from
952 copy_file_range. Do not document the EXDEV error, which future
953 kernels may not report. Update the wording to reflect that
954 further errors are possible.
955 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
956 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
958 * sysdeps/unix/sysv/linux/arm/kernel-features.h
959 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
961 * sysdeps/unix/sysv/linux/kernel-features.h
962 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
964 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
965 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
967 * sysdeps/unix/sysv/linux/sh/kernel-features.h
968 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
971 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
973 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
974 used as a mask for the mode argument of __vfprintf_internal.
975 * stdio-common/printf-parse.h (printf_arg): New union member:
977 * stdio-common/vfprintf-internal.c
978 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
979 (PARSE_FLOAT_VA_ARG): Likewise.
980 (SETUP_FLOAT128_INFO): Likewise.
981 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
983 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
984 floating-point value to the new union member, pa_float128.
985 (printf_positional): Zero-initialize args_value[cnt] with memset.
987 2019-06-27 Florian Weimer <fweimer@redhat.com>
990 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
991 buffer size if necessary.
992 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
994 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
996 (large_buffer_checks): Likewise.
997 (do_test): Call large_buffer_checks.
999 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
1001 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
1002 * sysdeps/x86/dl-lookupcfg.h: Here.
1003 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
1005 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1007 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1008 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
1009 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
1011 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1012 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1013 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
1014 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1015 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
1017 * sysdeps/powerpc/powerpc32/fpu/Makefile
1018 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
1019 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
1020 and fctidz optimization.
1021 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
1022 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
1023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1024 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
1025 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
1026 CFLAGS-s_lround-power5+.c): New rule.
1027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
1029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
1031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
1033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
1035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
1037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1047 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1048 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
1049 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1050 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
1051 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1052 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1053 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
1055 2019-06-26 Vincent Chen <vincentc@andestech.com>
1057 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
1058 specific system calls, fp_udfiex_crtl and udftrap.
1060 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
1062 * nptl/tst-eintr1.c (tf1): Add return statement.
1063 (do_test): Remove unused th variable.
1065 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
1067 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
1068 Return error if get_character fails.
1070 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
1072 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1074 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
1077 * localedata/locales/szl_PL (day): Use the correct Unicode
1078 sequences instead of non-ASCII characters.
1080 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
1083 * localedata/locales/szl_PL (abday): Spelling corrections.
1087 (alt_mon): This, then apply spelling corrections.
1088 (mon): New entry, month names in the genitive case.
1090 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
1093 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
1094 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
1095 (thousands_sep): Likewise.
1096 (grouping): Set to 3;3.
1098 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
1100 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
1101 PREPARE_VERSION_KNOWN.
1102 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1103 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
1105 (VDSO_HASH_LINUX_2_6_39): Likewise.
1106 (VDSO_NAME_LINUX_4_9): Likewise.
1107 (VDSO_HASH_LINUX_4_9): Likewise.
1108 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
1109 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1110 (_libc_vdso_platform_setup): Likewise.
1111 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
1112 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
1114 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
1117 2019-06-20 Mike Crowe <mac@mcrowe.com>
1119 * nptl/eintr.c: Use libsupport.
1120 * nptl/tst-eintr1.c: Likewise.
1121 * nptl/tst-eintr2.c: Likewise.
1122 * nptl/tst-eintr3.c: Likewise.
1123 * nptl/tst-eintr4.c: Likewise.
1124 * nptl/tst-eintr5.c: Likewise.
1125 * nptl/tst-mutex-errorcheck.c: Likewise.
1126 * nptl/tst-mutex5.c: Likewise.
1128 * support/test-driver.h: Add verbose_printf macro.
1130 * support/xtime.h: Add xclock_now() helper function.
1132 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
1133 Florian Weimer <fweimer@redhat.com>
1136 * libio/genops.c (_IO_unbuffer_all)
1137 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
1138 buffers and access _IO_FILE_complete members of legacy libio streams.
1139 * libio/tst-bz24228.c: New file.
1140 * libio/tst-bz24228.map: Likewise.
1141 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
1142 [build-shared] (generated): Add tst-bz24228.mtrace and
1144 [run-built-tests && build-shared] (tests-special): Add
1145 $(objpfx)tst-bz24228-mem.out.
1146 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
1147 ($(objpfx)tst-bz24228-mem.out): New rule.
1149 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
1151 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
1152 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
1153 (__FPU_MFFSL): Likewise.
1154 (_FPU_SETCW): Likewise.
1156 2019-06-19 Stan Shebs <stanshebs@google.com>
1157 Raoni Fassina Firmino <raoni@linux.ibm.com>
1160 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
1161 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
1162 static-linking version.
1163 * sysdeps/unix/sysv/linux/powerpc/Makefile
1164 (tests-static): Add test-gettimebasefreq-static.
1166 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
1169 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
1172 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
1173 between the currency symbol and the minus sign).
1174 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1176 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
1179 * string/test-strcasestr.c (check_result): Add NULL check.
1180 * nss/tst-field.c (check_rewrite): Likewise.
1181 * benchtests/bench-strstr.c (do_one_test): Likewise.
1182 * string/test-strstr.c (check_result): Likewise.
1183 * argp/argp-test.c (popt): Increase size of buf to 12.
1184 * benchtests/bench-malloc-simple.c (bench):
1185 Do not initialize tests array out of bounds.
1187 2019-06-19 Florian Weimer <fweimer@redhat.com>
1190 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
1193 2019-06-18 Florian Weimer <fweimer@redhat.com>
1196 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
1197 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
1198 fail when called from dlopen.
1199 * elf/Makefile [have-fpie && build-shared] (tests): Add
1201 (tst-dlopen-pie): Link with -ldl.
1202 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
1203 * elf/tst-dlopen-pie.c (do_test): New file.
1205 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1208 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
1209 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
1210 between the currency symbol and the minus sign).
1211 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1212 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
1214 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1216 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
1217 sysdep-rtld-routines): Remove rules.
1218 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
1219 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
1220 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
1221 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
1222 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
1223 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
1224 vDSO path for SHARED.
1225 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
1226 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
1227 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1228 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1229 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
1230 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
1232 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1233 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
1234 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
1235 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
1236 CFLAGS-s_llround-power5+.c): New rule.
1237 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
1239 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
1241 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
1243 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
1245 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
1247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
1248 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
1249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
1250 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
1251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
1252 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
1253 * sysdeps/powerpc/powerpc64/fpu/Makefile
1254 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
1255 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1256 (libm-sysdep_routines): Remove s_llround-* objects.
1257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
1259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
1261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
1263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
1265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
1267 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1268 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1269 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
1270 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
1271 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
1272 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
1273 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
1274 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
1275 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1276 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1277 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1278 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1279 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1280 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1282 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
1283 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
1284 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
1285 * sysdeps/powerpc/powerpc32/fpu/Makefile
1286 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
1287 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
1289 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
1290 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
1291 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
1292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1293 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
1294 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
1295 CFLAGS-s_lrint-ppc32.c): New rule.
1296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1306 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1307 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1308 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1309 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
1312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
1314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
1316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
1318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
1321 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1322 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
1324 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
1325 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
1327 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
1329 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
1331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
1332 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
1333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
1334 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
1335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
1336 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
1337 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
1338 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
1339 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1340 (libm-sysdep_routines): Remove s_llrint-* objects.
1341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
1343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
1345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1346 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
1347 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
1348 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
1349 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
1350 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
1351 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1352 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
1353 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1354 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1356 2019-06-14 Florian Weimer <fweimer@redhat.com>
1358 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
1359 argument to __glibc_has_include to inhibit macro expansion.
1361 2019-06-14 Florian Weimer <fweimer@redhat.com>
1363 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
1364 function-like macro, so that __has_include can inhibit expansion
1367 2019-06-13 Joseph Myers <joseph@codesourcery.com>
1369 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
1372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1373 Allow memset in libc.so.
1375 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1377 * sysdeps/aarch64/dl-dtprocnum.h: New file.
1378 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
1379 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
1380 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
1381 symbols at load time.
1382 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
1384 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1386 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
1387 (DT_AARCH64_VARIANT_PCS): Define.
1389 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1392 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
1394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
1398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
1399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1402 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1403 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
1404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1405 Remove s_finite* objects.
1406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
1407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
1408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
1409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
1411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1412 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1413 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
1414 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1415 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
1417 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
1418 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
1420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1421 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
1423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
1425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
1427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1431 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1432 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
1433 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1434 Remove s_isinf* and s_isinf* objects.
1435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
1436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
1437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
1438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
1440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1441 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1442 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
1443 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1444 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
1446 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
1447 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
1449 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
1450 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
1451 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1453 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
1455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
1457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
1459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
1461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
1463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
1466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
1469 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1470 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
1471 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1472 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
1473 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1474 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
1475 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
1476 Remove s_isnan-* and s_isnanf-* objects.
1477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
1478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
1479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
1481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
1482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
1483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
1484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1486 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1487 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1488 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1489 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1490 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1491 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
1492 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1493 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
1495 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
1496 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
1498 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
1499 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
1500 CFLAGS-bench-isfinite.c): New rule.
1501 * benchtests/isnan-input: New file.
1502 * benchtests/isinf-input: New file.
1503 * benchtests/isfinite-input: New file.
1505 * sysdeps/powerpc/fpu/s_copysign.c: New file.
1506 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
1507 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
1508 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
1509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1510 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
1512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
1520 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1521 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
1522 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
1523 Remove s_copysign-power6 s_copysign-ppc64.
1524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
1526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
1528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
1530 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1531 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
1532 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1533 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
1535 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
1536 round_to_integer_float, round_mode): Add RINT handling.
1537 (reset_fenv_mode): New symbol.
1538 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
1539 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
1540 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
1541 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1542 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1543 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1545 2019-06-12 Florian Weimer <fweimer@redhat.com>
1548 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
1549 * libio/freopen.c (freopen): Use it.
1551 2019-06-12 Florian Weimer <fweimer@redhat.com>
1553 Linux: Deprecate sysctl.
1554 * include/sysctl.h (__sysctl): Remove declaration.
1555 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
1557 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
1558 (sysctl): Add deprecation attribute.
1559 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
1560 directly, to avoid the deprecation warning. Do not include
1562 (__sysctl): Remove hidden alias.
1564 2019-06-12 Florian Weimer <fweimer@redhat.com>
1566 Linux: Use kernel headers for statx definitions if available.
1567 * include/bits/statx-generic.h: New file.
1568 * include/bits/types/struct_statx.h: Likewise.
1569 * include/bits/types/struct_statx_timestamp.h: Likewise.
1570 * io/Makefile (headers): Add bits/statx-generic.h.
1571 * io/bits/statx-generic.h: New file. Partly copied from
1573 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
1574 define original_statx.
1575 * io/bits/types/struct_statx.h: Likewise.
1576 * io/bits/types/struct_statx_timestamp.h: Likewise.
1577 (statx_generic): Use original_statx.
1578 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
1579 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
1581 2019-06-12 Florian Weimer <fweimer@redhat.com>
1583 * misc/sys/cdefs.h (__glibc_has_include): Define.
1585 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1587 * string/memmem.c (__memmem): Rewrite to improve performance.
1589 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1591 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
1593 (two_way_long_needle): Block inlining.
1594 * string/strstr.c (strstr2): Add new function.
1595 (strstr3): Likewise.
1596 (STRSTR): Completely rewrite strstr to improve performance.
1598 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
1600 * benchtests/bench-strstr.c (test_hard_needle): New function.
1602 2019-06-10 Joseph Myers <joseph@codesourcery.com>
1604 * malloc/tst-calloc.c: Include <libc-diag.h>.
1605 (null_test): Ignore -Wunused-result around calls to calloc.
1606 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
1607 (do_test): Ignore -Wunused-result around call to malloc.
1609 2019-06-07 Florian Weimer <fweimer@redhat.com>
1611 Linux: Add getdents64 system call.
1612 * include/dirnent.h (getdents): Add comment and change buffer
1613 argument type to void *.
1614 (getdents64): Likewise. Add hidden prototype.
1615 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
1617 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
1619 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
1620 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
1621 argument type to void *.
1622 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
1623 Add hidden definition and getdents64 alias.
1624 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1626 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
1627 * manual/filesys.texi (Accessing Directories): Add Low-level
1628 Directory Access node reference.
1629 (Opening a Directory): Cross-reference it.
1630 (Low-level Directory Access): New node.
1631 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1633 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1635 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1636 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1638 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1640 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1642 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1644 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1646 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1648 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1650 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1651 (GLIBC_2.30): Likewise.
1652 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1653 (GLIBC_2.30): Likewise.
1654 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1655 (GLIBC_2.30): Likewise.
1656 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1657 (GLIBC_2.30): Likewise.
1658 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1661 (GLIBC_2.30): Likewise.
1662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1663 (GLIBC_2.30): Likewise.
1664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1665 (GLIBC_2.30): Likewise.
1666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1667 (GLIBC_2.30): Likewise.
1668 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1670 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1672 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1674 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1675 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1677 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1679 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1681 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1684 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
1686 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
1690 (_FPU_GETCW): Use __FPU_MFFS().
1691 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
1693 2019-06-06 Florian Weimer <fweimer@redhat.com>
1695 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
1696 internal GCC preprocessor identifier __has_include__.
1698 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
1700 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
1701 with call to equivalent function.
1703 2019-06-04 Florian Weimer <fweimer@redhat.com>
1705 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
1706 (do_release_shlib): Adjust for __twalk_r.
1707 (__gconv_release_shlib): Call __twalk_r.
1709 2019-06-04 Andreas Schwab <schwab@suse.de>
1712 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
1713 no irreversible characters occurred.
1714 * iconv/gconv_simple.c (internal_ucs4_loop)
1715 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
1716 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
1717 (ucs4_internal_loop_single, internal_ucs4le_loop)
1718 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
1719 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
1720 (ucs4le_internal_loop_single): Add const to outend.
1721 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
1722 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
1723 * iconv/Makefile (tests): Add tst-iconv7.
1724 * iconv/tst-iconv7.c: New file.
1726 2019-06-03 Joseph Myers <joseph@codesourcery.com>
1728 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
1730 2019-06-01 Florian Weimer <fweimer@redhat.com>
1732 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
1733 * sysdeps/unix/sysv/linux/arm/Makefile
1734 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
1735 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
1736 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
1737 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
1738 compatibility symbols.
1740 2019-05-31 Florian Weimer <fweimer@redhat.com>
1742 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
1743 system calls for the arm architecture: breakpoint, get_tls,
1744 set_tls, usr26, usr32.
1746 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1748 * sysdeps/powerpc/Makefile
1749 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
1750 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
1751 Declare '.machine power7' to get support for ldbrx.
1752 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
1753 directive based on the directory of the file.
1754 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1755 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1756 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
1757 '.machine' directive.
1758 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
1759 (VADDUQM_V7_V8): Remove.
1760 (__STRCASECMP): Replace macros with actual instructions.
1761 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
1762 '.machine' directive.
1763 (VCLZD_V8_v7): Remove.
1764 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
1766 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1768 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
1770 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
1772 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1774 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1776 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
1777 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
1778 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
1779 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
1780 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1781 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1783 2019-05-28 mansayk <6688000@gmail.com>
1786 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
1788 2019-05-28 mansayk <6688000@gmail.com>
1791 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
1792 (abmon): Likewise, but remove the trailing dots.
1794 2019-05-28 Joseph Myers <joseph@codesourcery.com>
1796 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
1798 2019-05-27 Florian Weimer <fweimer@redhat.com>
1800 * nptl/nptl-init.c: Add comment.
1802 2019-05-24 Florian Weimer <fweimer@redhat.com>
1804 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
1805 struct in_addr/struct in6_addr alignment.
1807 2019-05-23 Joseph Myers <joseph@codesourcery.com>
1809 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1810 (F_SEAL_FUTURE_WRITE): New macro.
1812 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
1814 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
1815 * elf/tst-ldconfig-bad-aux-cache.c: New file.
1816 * elf/tst-ldconfig_aux-cache.root: New directory.
1817 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
1818 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
1819 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
1821 2019-05-22 Zack Weinberg <zackw@panix.com>
1823 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
1825 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
1826 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
1828 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
1829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
1830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
1833 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
1834 Issue an #error if used with a compiler in SPE-float mode.
1835 * sysdeps/powerpc/powerpc32/__longjmp_common.S
1836 * sysdeps/powerpc/powerpc32/setjmp_common.S
1837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
1839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
1840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
1841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1843 Remove code to preserve SPE register state.
1845 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1846 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1847 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
1848 Remove __SPE__ ifndefs.
1850 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
1852 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
1853 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
1854 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
1855 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
1856 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
1857 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
1858 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
1859 (INNER_LOOP_ITERS_MEDIUM): New define.
1860 (INNER_LOOP_ITERS_SMALL): New define.
1861 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
1862 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
1863 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
1864 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
1865 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
1867 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
1869 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
1871 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
1872 (SEMTIMEDOP_IPC_ARGS): Likewise.
1874 2019-05-21 Florian Weimer <fweimer@redhat.com>
1877 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
1878 before updating __counter field and release it afterwards. Add
1880 * iconv/gconv.h (struct __gconv_step): Mention synchronization
1881 requirement for __counter member.
1883 2019-05-21 Florian Weimer <fweimer@redhat.com>
1886 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
1887 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
1888 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
1889 instead of __gconv_release_step.
1890 * libio/Makefile (tests): Add tst-wfile-gconv.
1891 (tests-container): Add tst-wfile-ascii.
1892 (tst-wfile-gconv-ENV): Enable mtrace.
1893 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
1894 (tests-special): Add tst-wfile-gconv-mem.out.
1895 (tst-wfile-gconv.out): Depend on locales.
1896 (tst-wfile-gconv-mem.out): Add mtrace rule.
1897 * libio/tst-wfile-ascii.c: New file.
1898 * libio/tst-wfile-gconv.c: Likewise.
1900 2019-05-20 Florian Weimer <fweimer@redhat.com>
1903 libio: Remove codecvt vtable.
1904 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
1906 * libio/iofgetpos.c (_IO_new_fgetpos): Call
1907 __libio_codecvt_encoding.
1908 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
1909 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1910 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
1911 * libio/iofwide.c (__libio_codecvt): Remove variable.
1912 (_IO_fwide): Do not copy __libio_codecvt.
1913 (__libio_codecvt_out): Rename from do_out and export.
1914 (do_unshift): Remove function.
1915 (__libio_codecvt_in): Rename from do_in and export.
1916 (__libio_codecvt_encoding): Rename from do_encoding and export.
1917 (do_always_noconv): Remove function.
1918 (__libio_codecvt_length): Rename from do_length and export.
1919 (do_max_length): Remove function.
1920 * libio/libio.h (enum __codecvt_result): Remove definition; moved
1922 (struct _IO_codecvt): Remove fields __codecvt_destr,
1923 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
1924 __codecvt_do_encoding, __codecvt_do_always_noconv,
1925 __codecvt_do_length, __codecvt_do_max_length.
1926 * libio/libioP.h (enum __codecvt_result): Define; moved from
1928 (__libio_codecvt_out, __libio_codecvt_in)
1929 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
1931 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
1932 (_IO_wfile_underflow): Call __libio_codecvt_in.
1933 (_IO_wfile_underflow): Likewise.
1934 (_IO_wfile_underflow_mmap): Likewise.
1935 (_IO_wfile_sync): Call __libio_codecvt_encoding,
1936 __libio_codecvt_length.
1937 (adjust_wide_data): Call __libio_codecvt_encoding,
1939 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
1940 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
1941 __libio_codecvt_length.
1943 2019-05-20 Florian Weimer <fweimer@redhat.com>
1945 * support/support.h (support_sbindir_prefix): Declare.
1946 (support_install_rootsbindir): Update comment.
1947 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
1948 * support/support_paths.c (support_sbindir_prefix): Define.
1950 2019-05-20 Mike Crowe <mac@mcrowe.com>
1952 * support/timespec.c: Add backslash to correct newline in failure
1955 * support/timespec.h: Correct confusing comment.
1957 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1959 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
1961 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
1962 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
1963 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
1964 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
1967 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
1970 2019-05-20 Joseph Myers <joseph@codesourcery.com>
1972 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
1973 (NT_ARM_PACG_KEYS): Likewise.
1975 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
1977 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
1978 (tcache_put): Remove redundant assert.
1979 (tcache_get): Remove redundant asserts.
1980 (__libc_malloc): Check tcache count is not zero.
1981 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
1983 2019-05-17 Florian Weimer <fweimer@redhat.com>
1985 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
1987 2019-05-16 Joseph Myers <joseph@codesourcery.com>
1989 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1990 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
1992 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
1994 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1995 (__ASSUME_STATX): Likewise.
1997 2019-05-16 Florian Weimer <fweimer@redhat.com>
1999 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
2001 (LINE_PARSER): Do not map IPv4 addresses.
2002 (internal_nis_gethostent_r): Remove flags argument. Adjust call
2004 (_nss_nis_gethostent_r): Always pass AF_INET to
2005 internal_nis_gethostent_r.
2006 (internal_gethostbyname2_r): Remove flags argument. Adjust call
2008 (_nss_nis_gethostbyname2_r): Adjust call to
2009 internal_nis_gethostent_r.
2010 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
2011 call to internal_nis_gethostent_r.
2012 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
2014 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
2015 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
2016 Remove flags argument. Do not map IPv4 addresses.
2017 (internal_nisplus_gethostent_r): Adjust call to
2018 _nss_nisplus_parse_hostent.
2019 (internal_gethostbyname2_r): Remove flags argument. Adjust call
2020 to _nss_nisplus_parse_hostent.
2021 (_nss_nisplus_gethostbyname2_r): Adjust call to
2022 internal_gethostbyname2_r.
2023 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
2024 Adjust call to internal_gethostbyname2_r.
2025 (_nss_nisplus_gethostbyaddr_r): Adjust call to
2026 _nss_nisplus_parse_hostent.
2027 (_nss_nisplus_gethostbyname4_r): Adjust call to
2028 internal_gethostbyname2_r.
2030 2019-05-16 Florian Weimer <fweimer@redhat.com>
2032 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
2034 (LINE_PARSER): Remove address mapping.
2035 (EXTRA_ARGS_VALUE): Remove flags argument.
2036 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
2037 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
2038 gethostbyname3_multi.
2039 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
2040 _nss_files_gethostbyname3_r.
2041 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
2043 2019-05-16 Florian Weimer <fweimer@redhat.com>
2045 * support/support_test_compare_blob.c (report_blob): Report
2046 incorrect NULL blobs.
2048 2019-05-15 Mark Wielaard <mark@klomp.org>
2051 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
2052 __libc_once_get (once) and static_buf == NULL.
2053 (__dlerror): Check we have a valid key, set result to static_buf
2056 2019-05-15 Andreas Schwab <schwab@suse.de>
2059 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
2060 __codecvt_do_length.
2061 * libio/Makefile (tests): Add tst-wfile-sync.
2062 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
2063 * libio/tst-wfile-sync.c: New file.
2064 * libio/tst-wfile-sync.input: New file.
2066 2019-05-15 Florian Weimer <fweimer@redhat.com>
2068 nss: Turn __nss_database_lookup into a compatibility symbol.
2069 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
2070 __nss_database_lookup.
2071 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
2072 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
2073 __nss_database_lookup.
2074 (__nss_next): Move to …
2075 * nss/compat-lookup.c (nss_next): … here. Change it to fail
2077 (__nss_database_lookup): New function.
2078 * nss/Versions (GLIBC_2.0): Update comment.
2079 (GLIBC_PRIVATE): Export __nss_database_lookup2.
2080 * grp/initgroups.c (internal_getgrouplist): Call
2081 __nss_database_lookup2 instead of __nss_database_lookup.
2082 * nscd/aicache.c (addhstaiX): Likewise.
2083 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2084 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2085 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
2086 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
2087 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
2089 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
2090 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
2091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2093 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
2095 * support/support.h (support_install_rootsbindir): New variable.
2096 * support/support_paths.c: Likewise.
2097 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
2099 2019-05-15 Florian Weimer <fweimer@redhat.com>
2101 * iconv/gconv.h (__gconv_transliterate): Move declaration …
2102 * iconv/gconv_int.h (__gconv_transliterate): … here.
2103 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
2104 * iconv/skeleton.c: Likewise.
2106 2019-05-14 Florian Weimer <fweimer@redhat.com>
2108 Linux: Add the tgkill function.
2109 * bits/signal_ext.h: New file.
2110 * manual/signal.texi (Signaling Another Process): Document tgkill.
2111 * signal/Makefile (headers): Add bits/signal_ext.h.
2112 * signal/signal.h: Include <bits/signal_ext.h>.
2113 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
2114 (tst-tgkill): Link with libpthread.
2115 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
2116 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
2117 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
2118 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2120 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2121 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2122 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2123 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2124 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2125 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2126 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2127 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2128 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2129 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2130 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2132 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2133 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2134 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
2141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
2143 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2144 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2145 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2146 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2147 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2148 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2149 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2150 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2152 2019-05-14 Carlos O'Donell <carlos@redhat.com>
2154 * manual/search.texi (Tree Search Function): Adjust twalk_r
2157 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2160 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
2163 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
2164 * support/support.h (support_bindir_prefix): New variable.
2165 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
2167 * config.make.in (bindir): New variable.
2169 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
2170 (lll_trylock): Call __lll_trylock.
2171 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
2172 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
2173 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2174 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2175 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
2176 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
2177 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2178 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2179 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
2180 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
2181 lowlevellock-futex.h.
2183 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2184 initialization for LLL_LOCK_INITIALIZER different than 0.
2185 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
2186 Assume LLL_LOCK_INITIALIZER being 0.
2187 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
2188 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
2190 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
2191 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
2193 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
2194 Optimize futex call and add systemtap probe.
2196 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
2197 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
2198 __libc_disable_asynccancel, __librt_enable_asynccancel,
2199 __libc_disable_asynccancel, __librt_enable_asynccancel,
2200 __librt_disable_asynccancel): Move to ...
2201 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
2202 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
2203 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
2204 * sysdeps/generic/single-thread.h: New file.
2205 * sysdeps/unix/sysdep.h: Include single-thread.h.
2206 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
2207 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2209 2019-05-08 Mike FABIAN <mfabian@redhat.com>
2212 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
2213 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2215 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2216 * localedata/unicode-gen/PropList.txt: Likewise.
2217 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2218 * localedata/charmaps/UTF-8: Regenerate.
2219 * localedata/locales/i18n_ctype: Likewise.
2220 * localedata/locales/tr_TR: Likewise.
2221 * localedata/locales/translit_circle: Likewise.
2222 * localedata/locales/translit_cjk_compat: Likewise.
2223 * localedata/locales/translit_combining: Likewise.
2224 * localedata/locales/translit_compat: Likewise.
2225 * localedata/locales/translit_font: Likewise.
2226 * localedata/locales/translit_fraction: Likewise.
2228 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
2231 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
2232 (do_set_tcache_count): Only update if count is small enough.
2233 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
2235 2019-05-10 Florian Weimer <fweimer@redhat.com>
2237 * nptl/sem_close.c (struct walk_closure): Define.
2238 (walker): Adjust for __twalk_r.
2239 (sem_close): Call __twalk_r.
2241 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2243 * support/timespec.c (test_timespec_before_impl,
2244 test_timespec_equal_or_after_impl): print timespec member as intmax_t
2247 2019-05-09 Mike Crowe <mac@mcrowe.com>
2249 * nptl/tst-abstime.c: Use libsupport.
2251 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
2252 small bug where only tv.tv_usec was checked which could cause an
2253 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
2256 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
2259 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
2260 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
2262 * nptl/tst-cond11.c: Use libsupport.
2264 * support/timespec.h: New file. Provide timespec helper functions
2265 along with macros in the style of those in check.h.
2266 * support/timespec.c: New file. Implement check functions declared
2267 in support/timespec.h.
2268 * support/timespec-add.c: New file from gnulib containing
2269 timespec_add implementation that handles overflow.
2270 * support/timespec-sub.c: New file from gnulib containing
2271 timespec_sub implementation that handles overflow.
2272 * support/README: Mention timespec.h.
2274 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2277 * nptl/Makefile: Move tst-eintr1 to xtests.
2279 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2281 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
2283 (round_mode): Add definition for TRUNC.
2284 * sysdeps/powerpc/fpu/s_trunc.c: New file.
2285 * sysdeps/powerpc/fpu/s_truncf.c: New file.
2286 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
2287 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2288 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
2290 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
2292 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
2294 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2296 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
2298 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
2300 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
2302 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
2304 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
2305 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
2306 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2307 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
2308 s_truncf-power5+, and s_truncf-ppc64.
2309 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
2310 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
2312 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
2313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
2314 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
2315 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
2317 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
2319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
2320 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
2321 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2322 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
2323 s_truncf-power5+, and s_truncf-ppc64.
2324 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
2326 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
2327 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
2329 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
2330 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2331 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2332 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2333 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2335 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2337 (round_mode): Add definition for ROUND.
2338 (round_to_integer_float): Likewise.
2339 * sysdeps/powerpc/fpu/s_round.c: New file.
2340 * sysdeps/powerpc/fpu/s_roundf.c: New file.
2341 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
2342 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2343 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
2345 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
2347 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
2349 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2351 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
2353 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
2355 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
2357 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
2359 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
2360 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
2361 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2362 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
2363 s_roundf-power5+, and s_roundf-ppc64.
2364 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
2365 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
2367 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
2368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
2369 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
2370 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
2372 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
2374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
2375 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
2376 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2377 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
2378 s_roundf-power5+, and s_roundf-ppc64.
2379 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
2381 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
2382 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
2384 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
2385 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2386 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2387 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2388 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2390 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
2392 (round_mode): Add definition for FLOOR.
2393 * sysdeps/powerpc/fpu/s_floor.c: New file.
2394 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
2395 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
2396 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
2401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
2407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
2409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
2411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
2413 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
2414 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
2415 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2416 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
2417 s_floorf-power5+, and s_floorf-ppc64.
2418 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
2419 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
2421 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
2422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
2423 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
2424 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
2426 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
2428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
2429 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
2430 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2431 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
2432 s_floorf-power5+, and s_floorf-ppc64.
2433 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
2435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
2437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
2439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
2441 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2442 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2443 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2444 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2446 2019-05-08 Mike Crowe <mac@mcrowe.com>
2448 * support/xclock_gettime.c (xclock_gettime): New file. Provide
2449 clock_gettime wrapper for use in tests that fails the test rather
2450 than returning failure.
2452 * support/xtime.h: New file to declare xclock_gettime.
2454 * support/Makefile: Add xclock_gettime.c.
2456 * support/README: Mention xtime.h.
2458 2019-05-08 Florian Weimer <fweimer@redhat.com>
2460 malloc/tst-mallocfork2: Use process-shared barriers.
2461 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
2462 (signal_count, sigusr1_sender_pid): Remove.
2463 (iterations): Define constant.
2464 (shared): New variable.
2465 (sigusr1_received): Update comment.
2466 (sigusr1_handler): Do not send SIGSTOP to the sender process.
2467 (signal_sender): Optional use barriers to avoid sending signals
2468 during irrelevant times.
2469 (do_it): Initialize variable shared. Use xfork for error
2470 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
2471 the iteration count, independent of signal delivery. Check for
2472 deadlocks in fork. Introduce barriers for reducing signal
2473 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
2474 replaced by the barriers. Count signals during fork/free/malloc
2476 * malloc/Makefile (tst-mallocfork): Link with libpthread.
2478 2019-05-07 Joseph Myers <joseph@codesourcery.com>
2480 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2482 (clock_adjtime64) New syscall.
2483 (clock_getres_time64) Likewise.
2484 (clock_gettime64) Likewise.
2485 (clock_nanosleep_time64) Likewise.
2486 (clock_settime64) Likewise.
2487 (futex_time64) Likewise.
2488 (io_pgetevents_time64) Likewise.
2489 (io_uring_enter) Likewise.
2490 (io_uring_register) Likewise.
2491 (io_uring_setup) Likewise.
2492 (mq_timedreceive_time64) Likewise.
2493 (mq_timedsend_time64) Likewise.
2494 (pidfd_send_signal) Likewise.
2495 (ppoll_time64) Likewise.
2496 (pselect6_time64) Likewise.
2497 (recvmmsg_time64) Likewise.
2498 (rt_sigtimedwait_time64) Likewise.
2499 (sched_rr_get_interval_time64) Likewise.
2500 (semtimedop_time64) Likewise.
2501 (timer_gettime64) Likewise.
2502 (timer_settime64) Likewise.
2503 (timerfd_gettime64) Likewise.
2504 (timerfd_settime64) Likewise.
2505 (utimensat_time64) Likewise.
2507 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
2508 version to 9 branch.
2510 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2512 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
2513 __memmove_thunderx2 to the list of implementations
2514 * sysdeps/aarch64/multiarch/memmove.c: Likewise
2515 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
2516 (__memmove_thunderx2): Rewritten using SIMD ld/st
2517 (__memcpy_thunderx2): Fixed handling overlapping cases.
2518 Used ldp/stp instead of ldr/str if possible. Made loops
2521 2019-05-03 Florian Weimer <fweimer@redhat.com>
2523 * misc/tst-tsearch.c (walk_tree): Add more error checking.
2525 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2528 * elf/tst-pldd.c (in_str_list): New function.
2529 (do_test): Add default names for ld and libc as one option.
2531 2019-05-02 Florian Weimer <fweimer@redhat.com>
2533 misc: Add twalk_r function.
2534 * include/search.h (__twalk_r): Declare.
2535 * manual/examples/twalk.c: New file.
2536 * manual/search.texi (Tree Search Function): Document twalk_r.
2537 * misc/Versions (2.30): Export twalk_r.
2538 (GLIBC_PRIVATE): Export __twalk_r.
2539 * misc/search.h [__USE_GNU] (twalk_r): Declare.
2540 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
2541 (twalk_r): Add weak alias.
2542 * misc/tst-tsearch.c (struct walk_trace_element): Define.
2543 (walk_trace): New variable.
2544 (struct twalk_with_twalk_r_closure): Define.
2545 (twalk_with_twalk_r_action): New function.
2546 (twalk_with_twalk_r): Likewise.
2547 (walk_action): Call walk_trace_add.
2548 (walk_tree_with): Rename from walk_tree. Add walk argument.
2549 (walk_tree): New function.
2550 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
2551 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2553 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2555 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2556 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
2557 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
2558 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
2559 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
2560 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2562 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2564 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2566 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2567 (GLIBC_2.30): Likewise.
2568 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2569 (GLIBC_2.30): Likewise.
2570 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2571 (GLIBC_2.30): Likewise.
2572 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2573 (GLIBC_2.30): Likewise.
2574 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2577 (GLIBC_2.30): Likewise.
2578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2579 (GLIBC_2.30): Likewise.
2580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2581 (GLIBC_2.30): Likewise.
2582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2583 (GLIBC_2.30): Likewise.
2584 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2586 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2588 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2590 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2591 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2593 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2595 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2597 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2600 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
2602 Make mktime etc. compatible with __time64_t
2603 Keep these functions compatible with Gnulib while adding
2604 __time64_t support. The basic idea is to move private API
2605 declarations from include/time.h to time/mktime-internal.h, since
2606 the former file cannot easily be shared with Gnulib whereas the
2608 Also, do some other minor cleanup while in the neighborhood.
2609 * include/time.h: Include stdbool.h, time/mktime-internal.h.
2610 (__mktime_internal): Move this prototype to time/mktime-internal.h,
2611 since Gnulib needs it.
2612 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
2613 Move these macros to time/mktime-internal.h, since Gnulib needs them.
2614 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
2615 (in_time_t_range): New static function.
2616 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
2617 so that glibc users are not tempted to use __time64_t.
2618 * time/mktime-internal.h: Rewrite so that it does both glibc
2619 and Gnulib work. Include time.h if not _LIBC.
2620 (mktime_offset_t) [!_LIBC]: Define for gnulib.
2621 (__time64_t): New type or macro, moved here from
2623 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
2624 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
2625 from include/time.h.
2626 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
2627 New macros, taken from GNulib.
2628 (__mktime_internal): New prototype, moved here from include/time.h.
2629 * time/mktime.c (mktime_min, mktime_max, convert_time)
2630 (ranged_convert, __mktime_internal, __mktime64):
2631 * time/timegm.c (__timegm64):
2632 Use __time64_t, not time_t.
2633 * time/mktime.c: Stop worrying about whether time_t is floating-point.
2634 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
2636 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
2637 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
2638 for libc_hidden_def.
2640 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
2642 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
2644 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
2647 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
2648 from `-Wmaybe-uninitialized'.
2649 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
2651 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2653 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
2655 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
2656 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
2657 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
2658 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
2659 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2661 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
2662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
2666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
2670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
2672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
2674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
2676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
2678 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
2679 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
2680 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
2681 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
2683 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
2685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
2686 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
2687 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
2689 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
2691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
2692 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
2694 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2695 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
2696 s_ceilf-power5+, and s_ceilf-ppc64.
2697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
2699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
2700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
2701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
2702 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2703 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2704 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2705 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2707 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
2708 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
2709 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
2711 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
2713 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
2714 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
2715 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
2716 (sem_getvalue): Likewise.
2718 2019-04-26 Florian Weimer <fweimer@redhat.com>
2720 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
2721 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
2723 2019-04-26 Florian Weimer <fweimer@redhat.com>
2725 Makeconfig: Move -Wl,-rpath-link options before library references.
2726 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
2727 (link-libc): Remove $(link-libc-rpath-link).
2729 2019-04-25 Florian Weimer <fweimer@redhat.com>
2731 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2732 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2733 (+link-static-before-libc): Remove $(CC).
2734 (+link-static, +link-static-tests): Add $(CC).
2735 (+link-before-libc): Remove $(CC).
2736 (+link, +link-pie, +link-pie-printers): Add $(CC).
2738 2019-04-26 Florian Weimer <fweimer@redhat.com>
2740 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2741 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2742 (+link-static-before-libc): Remove $(CC).
2743 (+link-static, +link-static-tests): Add $(CC).
2744 (+link-before-libc): Remove $(CC).
2745 (+link, +link-pie, +link-pie-printers): Add $(CC).
2747 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
2750 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
2752 2019-04-25 Florian Weimer <fweimer@redhat.com>
2754 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
2755 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
2756 (bench-link-targets): New variable.
2757 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
2759 2019-04-25 Florian Weimer <fweimer@redhat.com>
2761 Also enable BIND_NOW for programs if --enable-bind-now.
2762 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
2763 (+link-pie): Use $(link-extra-flags).
2764 (+link-static): Likewise.
2765 [! $(build-pie-default)] (+link): Likewise.
2766 * manual/install.texi (Configuring and compiling): Update
2767 --enable-bind-now description.
2768 * INSTALL: Regenerated.
2770 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
2772 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
2773 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
2775 2019-04-24 Mike Frysinger <vapier@gentoo.org>
2778 * malloc/Makefile (others): Add memusagestat.
2779 ($(objpfx)memusagestat): Delete rule.
2780 (LDLIBS-memusagestat): New variable.
2782 2019-04-24 Florian Weimer <fweimer@redhat.com>
2784 * locale/Makefile (tests-special): Guard setting by
2785 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
2786 to run while cross-compiling.
2788 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2791 * elf/Makefile (tests-container): Add tst-pldd.
2792 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
2793 (E(find_maps)): Avoid use alloca, use default read file operations
2794 instead of explicit LFS names, and fix infinite loop.
2795 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
2796 (get_process_info): Use _Static_assert instead of assert, use default
2797 directory operations instead of explicit LFS names, and free some
2799 * elf/tst-pldd.c: New file.
2801 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
2803 * malloc/arena.c (do_set_mallopt_check): Removed.
2805 2019-04-23 Florian Weimer <fweimer@redhat.com>
2807 locale: Add LOCPATH diagnostics to the locale program.
2808 * locale/programs/locale.c (setlocale_failed): New variable.
2809 (try_setlocale): New function.
2810 (quote_string): Likewise.
2811 (setlocale_diagnostics): Likewise.
2812 (main): Call try_setlocale instead of setlocale. Call
2813 setlocale_diagnostics.
2814 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
2815 (tst-locale-locpath.out): New target.
2816 * locale/tst-locale-locpath.sh: New file.
2818 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2820 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
2823 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2826 * malloc/hooks.c (malloc_check, realloc_check): Use
2827 __builtin_add_overflow on overflow check and adapt to
2828 checked_request2size change.
2829 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
2830 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
2831 allocation size to PTRDIFF_MAX.
2832 (REQUEST_OUT_OF_RANGE): Remove macro.
2833 (checked_request2size): Change to inline function and limit maximum
2834 requested size to PTRDIFF_MAX.
2835 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
2836 maximum allocation size to PTRDIFF_MAX.
2837 (_mid_memalign): Use _int_memalign call for overflow check.
2838 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
2839 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
2840 limit maximum requested size to PTRDIFF_MAX.
2841 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
2842 valloc, pvalloc): Add __attribute_alloc_size__.
2843 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
2844 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
2845 larger than PTRDIFF_MAX.
2846 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
2847 around tests of malloc with negative sizes.
2848 * malloc/tst-posix_memalign.c (do_test): Likewise.
2849 * malloc/tst-pvalloc.c (do_test): Likewise.
2850 * malloc/tst-valloc.c (do_test): Likewise.
2851 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
2852 with resulting size allocation larger than PTRDIFF_MAX with
2853 reallocarray_nowarn.
2854 (reallocarray_nowarn): New function.
2855 * NEWS: Mention the malloc function semantic change.
2857 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2859 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
2860 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2862 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
2863 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2864 * sysdeps/powerpc/fpu/s_fma.c: New file.
2865 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2867 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
2868 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
2870 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
2871 the magic flag store.
2872 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2874 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
2876 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
2877 Remove rt_sigreturn call.
2879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2880 Remove rt_sigreturn call.
2881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
2884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2886 * support/Makefile (libsupport-routines): Add support_subprocess,
2887 xposix_spawn, xposix_spawn_file_actions_addclose, and
2888 xposix_spawn_file_actions_adddup2.
2889 (tst-support_capture_subprocess-ARGS): New rule.
2890 * support/capture_subprocess.h (support_capture_subprogram): New
2892 * support/support_capture_subprocess.c (support_capture_subprocess):
2893 Refactor to use support_subprocess and support_capture_poll.
2894 (support_capture_subprogram): New function.
2895 * support/tst-support_capture_subprocess.c (write_mode_to_str,
2896 str_to_write_mode, test_common, parse_int, handle_restart,
2897 do_subprocess, do_subprogram, do_multiple_tests): New functions.
2898 (do_test): Add support_capture_subprogram tests.
2899 * support/subprocess.h: New file.
2900 * support/support_subprocess.c: Likewise.
2901 * support/xposix_spawn.c: Likewise.
2902 * support/xposix_spawn_file_actions_addclose.c: Likewise.
2903 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
2904 * support/xspawn.h: Likewise.
2906 2019-04-17 Mike Gerow <gerow@google.com>
2908 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
2911 2019-04-11 Florian Weimer <fweimer@redhat.com>
2913 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
2914 domain with empty string.
2915 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2917 2019-04-11 Florian Weimer <fweimer@redhat.com>
2919 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
2921 (alloc_buffer_next): Change return type to non-const. Update
2924 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
2926 * manual/time.texi (Formatting Calendar Time): Add missing percent
2927 sign to conversion specifier.
2929 2019-04-09 Carlos O'Donell <carlos@redhat.com>
2930 Kwok Cheung Yeung <kcy@codesourcery.com>
2933 * malloc/mtrace.c: Define prototypes for all hooks.
2934 (set_default_hooks): New function.
2935 (set_trace_hooks): Likewise.
2936 (save_default_hooks): Likewise.
2937 (tr_freehook): Use new s*_hooks functions.
2938 (tr_mallochook): Likewise.
2939 (tr_reallochook): Likewise.
2940 (tr_memalignhook): Likewise.
2942 (muntrace): Likewise.
2944 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2946 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
2947 (generic_stpcpy): New function.
2948 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
2949 (generic_stpncpy): New function.
2950 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
2951 (generic_strcat): New function.
2952 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
2953 (generic_strcpy): New function.
2954 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
2955 (STUPID_STRNCAT): Remove function.
2956 (generic_strncat): New function.
2957 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
2958 (STUPID_STRNCPY): Remove function.
2959 (generic_strncpy): New function.
2960 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
2961 (generic_strnlen): New function.
2962 (memchr_strnlen): New function.
2963 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
2964 (memchr_strlen): Likewise.
2966 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2968 * benchtests/bench-strstr.c (input): Add realistic input text.
2969 (stupid_strstr): Remove function.
2970 (basic_strstr): Add function.
2971 (twoway_strstr): Add function.
2972 (do_one_test): Add result checking.
2973 (do_test): Use new input text. Remove accidental early matches.
2974 (test_main): Improve range of tests, reduce unaligned cases.
2976 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2978 * benchtests/bench-memmem.c (simple_memmem): Remove function.
2979 (basic_memmem): Add function.
2980 (twoway_memmem): Add function.
2982 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2984 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
2985 * benchtests/bench-malloc-thread.c: Likewise.
2986 * benchtests/bench-skeleton.c: Likewise.
2987 * benchtests/bench-strtod.c: Likewise.
2988 * benchtests/bench-timing.h: Likewise.
2990 2019-04-08 Florian Weimer <fweimer@redhat.com>
2992 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
2994 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
2995 RES_INSECURE2 security checks.
2996 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
2997 RES_INSECURE2 handling.
2999 2019-04-08 Florian Weimer <fweimer@redhat.com>
3001 resolv: Remove support for RES_USE_INET6 and the inet6 option.
3002 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
3003 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
3005 * resolv/Makefile (tests): Remove tst-res_use_inet6.
3006 (tests-internal): Update justification for tst-resolv-res_init,
3007 tst-resolv-res_init-thread.
3008 (tst-res_use_inet6): Remove target.
3009 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
3010 * resolv/res_debug.c (p_option): Remove "inet6" support.
3011 * resolv/res_init.c (res_setoptions): Likewise.
3012 * resolv/res_use_inet6.h: Remove file.
3013 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
3015 (res_use_inet6): Always return false.
3016 * resolv/resolv.h (RES_USE_INET6): Remove definition.
3017 * resolv/resolv_context.h: Adjust file comment.
3018 (struct resolv_context): Update comment on __next field.
3019 (__resolv_context_put): Update comment.
3020 * resolv/tst-res_use_inet6.c: Remove file.
3021 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
3023 (test_cases): Adjust test case.
3024 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
3025 (thread_byname2_af_inet6): Use old byname_inet6 code.
3026 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
3027 (gai): Remove do_inet6 argument.
3028 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
3029 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
3030 (thread_gai_unspec_inet6): Remove functions.
3031 (do_test): Adjust thread_funcs.
3032 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
3034 (gaih_inet): Do not disable RES_USE_INET6 flag.
3036 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3038 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
3039 and remove redundant code.
3041 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3043 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
3045 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
3046 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
3048 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
3050 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
3052 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3053 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
3054 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
3055 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
3056 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3057 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
3058 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3059 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
3061 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
3062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3063 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3064 Remove wcsrchr optimizations.
3065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3067 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
3070 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
3072 * sysdeps/powerpc/power6/wcschr.c: Remove file.
3073 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
3075 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
3077 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
3079 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3080 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
3081 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
3082 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
3083 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3084 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
3085 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3086 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
3088 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
3089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3090 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3091 Remove wcschr optimizations.
3092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3094 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
3097 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
3099 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
3100 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
3102 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
3104 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
3106 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3107 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
3108 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
3109 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
3110 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3111 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
3112 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3113 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
3115 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
3116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3118 Remove wcscpy optimizations.
3119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3121 * include/loop_unroll.h: New file.
3122 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
3123 besides generic implementation.
3125 2019-04-03 DJ Delorie <dj@redhat.com>
3127 * time/tst-strftime3.c (tm_to_printed): Disable warning about
3128 snprintf truncating output.
3130 2019-04-02 DJ Delorie <dj@redhat.com>
3132 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
3135 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3138 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
3140 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
3141 (mkreftable): Add rules for the new Japanese era and the new dates.
3143 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3144 Rafal Luzynski <digitalfreak@lingonborough.com>
3146 * time/tst-strftime2.c (date_t): Explicitly define the type.
3147 (dates): Use natural month and year numbers to express a date.
3148 (is_before): New function to compare dates.
3149 (mkreftable): Minor improvements to simplify maintenance.
3150 (do_test): Reflect the changes in dates array.
3153 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
3154 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
3155 * time/tst-strftime2.c (locales): Likewise.
3156 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
3157 2010-04-01, and 2011-04-01.
3158 (mkreftable): Add rules for the new locales and the new dates.
3160 2019-04-01 Carlos O'Donell <carlos@redhat.com>
3162 * localedata/locales/ja_JP: Add comments to era entries.
3164 2019-04-01 DJ Delorie <dj@redhat.com>
3167 * time/strptime_l.c (%Ey): Fix fencepost error.
3168 * time/tst-strftime3.c: New.
3169 * time/Makefile (tests): Add tst-strftime3.
3171 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
3173 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
3174 conditional branch to DIVBYZERO. Fix unwind info.
3175 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
3176 excb after conditional branch to $powerof2. Add missing unop
3177 instructions and .align directives and reorder instructions to
3180 2019-04-01 Richard Henderson <rth@twiddle.net>
3182 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3184 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
3187 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
3189 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
3190 $libc_cv_riscv_float_abi in `test' invocation.
3191 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
3193 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
3195 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
3197 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
3199 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3200 (_GET_SI_FPSCR): Likewise.
3201 (_SET_SI_FPSCR): Likewise.
3203 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3205 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
3207 (signbit): Use builtin for clang 3.3.
3208 (isinf): Use builtin for clang 3.7.
3210 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3212 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
3214 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
3216 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
3219 2019-03-25 Mike Crowe <mac@mcrowe.com>
3221 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
3222 pthread_rwlock_timedrdlock with calls to
3223 pthread_rwlock_timedwrlock to ensure that the latter is tested
3224 too. Use new function name in diagnostic messages too.
3226 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
3227 (do_test) Use libsupport test macros rather than hand-coded
3228 conditionals and error messages. Ensure that sem_init returns zero
3229 rather than not -1. Use <support/test-driver.c> rather than
3232 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
3233 test macros rather than hand-coded conditionals and error messages.
3234 Use <support/test-driver.c> rather than test-skeleton.c.
3236 2019-03-25 Joseph Myers <joseph@codesourcery.com>
3238 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
3240 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
3241 (NT_MIPS_MSA): Likewise.
3243 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3245 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
3246 * benchtests/README: Update description.
3247 * benchtests/bench-timing.h: Default to hp-timing.
3248 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
3249 HP_TIMING_PRINT): Remove.
3250 (HP_TIMING_NOW): Add generic implementation.
3251 (hp_timing_t): Change to uint64_t.
3253 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
3255 * nptl/descr.h: Likewise.
3256 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
3257 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
3258 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
3259 Abstract hp-timing usage with RTLD_* macros.
3260 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
3261 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
3262 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
3263 HP_TIMING_NONAVAIL): Likewise.
3264 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3266 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
3267 HP_SMALL_TIMING_AVAIL): Likewise.
3268 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
3269 HP_SMALL_TIMING_AVAIL): Likewise.
3270 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
3271 HP_SMALL_TIMING_AVAIL): Likewise.
3272 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
3273 HP_SMALL_TIMING_AVAIL): Likewise.
3274 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3276 * sysdeps/generic/hp-timing-common.h: Update comment with
3277 HP_TIMING_AVAIL removal.
3279 * include/random-bits.h: New file.
3280 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
3281 (__res_context_mkquery): Remove usage hp-timing usage and replace with
3283 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
3284 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
3287 * include/libc-internal.h (__get_clockfreq): Remove prototype.
3288 * rt/Makefile (clock-routines): Remove get_clockfreq.
3289 * rt/get_clockfreq.c: Remove file.
3290 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
3291 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
3292 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
3293 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
3294 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
3296 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
3297 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
3298 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
3299 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
3300 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
3302 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
3303 pthread_clock_settime.
3304 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
3305 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
3306 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
3307 * elf/rtld.c (_dl_start_final): Likewise.
3308 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
3309 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
3311 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
3312 (_dl_cpuclock_offset): Remove.
3313 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
3314 cpuclock_offset_ununsed.
3315 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3316 cpuclock_offset set.
3317 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3318 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3319 * nptl/pthread_clock_gettime.c: Remove file.
3320 * nptl/pthread_clock_settime.c: Likewise.
3321 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
3322 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
3323 and CLOCK_PROCESS_CPUTIME_ID support.
3324 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
3325 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
3326 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
3327 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
3328 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
3330 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
3332 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3334 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
3335 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
3336 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
3338 * sysdeps/s390/memmem-arch13.S: New file.
3339 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
3340 if it is only used as fallback.
3341 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
3342 * sysdeps/s390/multiarch/ifunc-impl-list.c
3343 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
3345 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3347 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
3348 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
3349 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
3351 * sysdeps/s390/multiarch/ifunc-impl-list.c
3352 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
3353 * sysdeps/s390/strstr-arch13.S: New file.
3354 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
3355 if it is only used as fallback.
3356 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
3358 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3360 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
3361 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
3362 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
3363 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
3365 * sysdeps/s390/multiarch/ifunc-impl-list.c
3366 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
3367 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
3368 S390_IS_ARCH13_MIE3): New defines.
3370 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3372 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
3373 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
3374 * sysdeps/s390/configure.ac: Add checks for arch13 support.
3375 * sysdeps/s390/configure: Regenerated.
3377 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3379 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
3380 Add vxe2, vxp, dflt, sort flags.
3381 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
3382 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
3384 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
3385 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
3386 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
3387 HWCAP_S390_DFLT): Define.
3389 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3392 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
3393 of compiler warning.
3394 * locale/programs/ld-collate.c (collate_output): Likewise.
3396 2019-03-21 DJ Delorie <dj@redhat.com>
3399 * iconv/iconvconfig.c (write_output): Replace floating point math
3400 with integer math to avoid imprecise results.
3401 * locale/programs/ld-collate.c (collate_output): Likewise.
3403 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
3405 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
3406 Add HWCAP_S390_VX and HWCAP_S390_VXE.
3408 2019-03-20 mansayk <6688000@gmail.com>
3411 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
3412 (abday): Likewise, but remove the trailing dots.
3414 2019-03-19 Joseph Myers <joseph@codesourcery.com>
3416 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
3418 (HWCAP_PACA): Likewise.
3419 (HWCAP_PACG): Likewise.
3420 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3422 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
3424 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3426 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
3429 2019-03-15 Joseph Myers <joseph@codesourcery.com>
3431 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3433 (old_getpagesize): New syscall.
3435 2019-03-15 Felix Yan <felixonmars@archlinux.org>
3438 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
3439 * localedata/locales/cmn_TW (era): Likewise.
3440 * localedata/locales/hak_TW (era): Likewise.
3441 * localedata/locales/lzh_TW (era): Likewise.
3442 * localedata/locales/nan_TW (era): Likewise.
3444 2019-03-14 Adam Maris <amaris@redhat.com>
3446 * malloc/malloc.c (_int_malloc): Check for large bin list
3447 corruption when inserting unsorted chunk.
3449 2019-03-14 Florian Weimer <fweimer@redhat.com>
3451 Remove obsolete, never-implemented XSI STREAMS declarations.
3452 * manual/terminal.texi (Allocation): Remove portability note and
3454 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
3456 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
3457 * sysdeps/unix/inet/Subdirs (streams): Remove.
3458 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
3459 (conformtest-headers-UNIX98): Likewise.
3460 (conformtest-headers-XOPEN2K): Likewise.
3461 (conformtest-headers-POSIX2008): Likewise.
3462 * posix/compat-streams.c: New file.
3463 * posix/Makefile (routines): Add it.
3464 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
3465 getpmsg, isastream, putmsg, putpmsg.
3466 (GLIBC_2.30): New section.
3467 * bits/stropts.h: Remove file.
3468 * bits/xtitypes.h: Likewise.
3469 * conform/data/stropts.h-data: Likewise.
3470 * include/stropts.h: Likewise.
3471 * include/sys/stropts.h: Likewise.
3472 * include/xtitypes.h: Likewise.
3473 * streams/Makefile: Likewise.
3474 * streams/fattach.c: Likewise.
3475 * streams/fdetach.c: Likewise.
3476 * streams/getmsg.c: Likewise.
3477 * streams/getpmsg.c: Likewise.
3478 * streams/isastream.c: Likewise.
3479 * streams/putmsg.c: Likewise.
3480 * streams/putpmsg.c: Likewise.
3481 * streams/stropts.h: Likewise.
3482 * streams/sys/stropts.h: Likewise.
3483 * sysdeps/ia64/bits/xtitypes.h: Likewise.
3484 * sysdeps/s390/bits/xtitypes.h: Likewise.
3485 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
3486 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
3487 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
3488 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
3489 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
3490 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
3491 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
3492 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
3493 * sysdeps/x86/bits/xtitypes.h: Likewise.
3495 2019-03-14 Florian Weimer <fweimer@redhat.com>
3497 * nss/tst-nss-files-alias-truncated.c (do_test): Load
3499 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
3500 but not with libnss_files.
3501 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
3503 2019-03-14 Zack Weinberg <zackw@panix.com>
3505 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
3506 Specify encoding="utf-8" when opening headers to check.
3508 2019-03-13 Joseph Myers <joseph@codesourcery.com>
3510 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3512 (Context.checkout_tar): Handle variable major version for Linux
3515 2019-03-13 Florian Weimer <fweimer@redhat.com>
3518 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
3520 2019-03-13 Zack Weinberg <zackw@panix.com>
3522 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
3524 * include/inttypes.h: Adjust to match.
3525 * include/stdint.h: New wrapper.
3527 2019-03-13 Zack Weinberg <zackw@panix.com>
3529 * scripts/check-obsolete-constructs.py: New test script.
3530 * scripts/check-installed-headers.sh: Remove tests for
3531 obsolete typedefs, superseded by check-obsolete-constructs.py.
3532 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
3533 as a special test. Update commentary.
3534 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
3535 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
3537 * posix/sys/types.h (__u_intN_t): Remove.
3538 (u_int8_t): Typedef using __uint8_t.
3539 (u_int16_t): Typedef using __uint16_t.
3540 (u_int32_t): Typedef using __uint32_t.
3541 (u_int64_t): Typedef using __uint64_t.
3543 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
3545 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
3547 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
3548 Ignore types other than AT_HWCAP.
3549 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
3550 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
3552 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
3553 in the case of falling back to generic output mechanism.
3554 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
3557 2019-03-12 Florian Weimer <fweimer@redhat.com>
3559 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
3561 2019-03-12 Florian Weimer <fweimer@redhat.com>
3564 resolv: Enable full ICMP errors for UDP DNS sockets
3565 * resolv/res_enable_icmp.c: New file.
3566 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
3567 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
3568 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
3571 2019-03-11 Mao Han <han_mao@c-sky.com>
3573 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
3574 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
3576 2019-03-11 Mao Han <han_mao@c-sky.com>
3578 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
3579 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3580 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3582 2019-03-11 Mao Han <han_mao@c-sky.com>
3584 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
3586 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
3589 2019-03-11 Mao Han <han_mao@c-sky.com>
3591 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
3592 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
3595 2019-03-08 Mike FABIAN <mfabian@redhat.com>
3598 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
3599 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3601 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3602 * localedata/unicode-gen/PropList.txt: Likewise.
3603 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3604 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
3605 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
3606 * localedata/charmaps/UTF-8: Regenerate.
3607 * localedata/locales/i18n_ctype: Likewise.
3608 * localedata/locales/tr_TR: Likewise.
3609 * localedata/locales/translit_circle: Likewise.
3610 * localedata/locales/translit_cjk_compat: Likewise.
3611 * localedata/locales/translit_combining: Likewise.
3612 * localedata/locales/translit_compat: Likewise.
3613 * localedata/locales/translit_font: Likewise.
3614 * localedata/locales/translit_fraction: Likewise.
3616 2019-03-07 Joseph Myers <joseph@codesourcery.com>
3618 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
3619 than after operators.
3620 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
3621 (setitimer_locked): Likewise.
3622 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3623 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3624 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
3625 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
3626 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
3627 (PPC_CPU_SUPPORTED): Likewise.
3628 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
3629 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
3630 (stat_overflow): Likewise.
3631 (statfs_overflow): Likewise.
3632 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
3633 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
3634 (eq_ttyname_r): Likewise.
3635 (run_chroot_tests): Likewise.
3637 2019-03-07 Florian Weimer <fweimer@redhat.com>
3639 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
3642 2019-03-07 Martin Liska <mliska@suse.cz>
3644 * math/Makefile: Change location where math-vector-fortran.h is
3646 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
3647 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
3648 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
3649 * scripts/check-installed-headers.sh: Skip Fortran header files.
3650 * scripts/check-wrapper-headers.py: Likewise.
3652 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3654 * nptl/nptl-init.c (__have_futex_clock_realtime,
3655 __have_futex_clock_realtime): Remove definition.
3656 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
3657 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
3658 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
3659 __ASSUME_FUTEX_CLOCK_REALTIME support.
3660 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3661 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3662 * sysdeps/unix/sysv/linux/kernel-features.h
3663 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
3664 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
3667 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3669 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
3670 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
3671 __GI___wcscpy and wcscpy.
3673 2019-03-04 Florian Weimer <fweimer@redhat.com>
3675 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
3677 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
3680 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
3682 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
3683 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3685 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3688 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
3689 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
3691 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3693 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
3695 (do_test): Likewise.
3696 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3697 (do_test_call_varg): Likewise.
3698 (do_test_call_rarg): Likewise.
3699 * sysdeps/ieee754/ldbl-opt/Makefile
3700 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
3702 ($(objpfx)tst-nldbl-warn.c): New rule.
3703 ($(objpfx)tst-nldbl-error.c): Likewise.
3704 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
3707 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3710 * include/bits/error-ldbl.h: New file.
3711 * include/error.h: Include stdarg.h. Declare internal functions
3712 __error_internal and __error_at_line_internal.
3713 * misc/Makefile (headers): Add bits/error-ldbl.h.
3714 * misc/bits/error-ldbl.h: New file.
3715 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
3716 avoid the inclusion of bits/error.h.
3717 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
3718 and __nldbl_error_at_line.
3719 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
3720 (__nldbl_error, __ndlbl_error_at_line): New functions.
3721 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
3722 Redirect error and error_at_line.
3723 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3732 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3733 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3734 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3736 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3739 * include/bits/err-ldbl.h: New file.
3740 * include/err.h: Add prototypes for the internal functions:
3741 __vwarnx_internal and __vwarn_internal.
3742 * misc/Makefile (headers): Add bits/err-ldbl.h.
3743 * misc/bits/err-ldbl.h: New file.
3744 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
3745 defined, i.e.: when -mlong-double-64 is in use.
3746 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
3747 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
3748 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
3749 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
3750 (VA_CALL): New macro.
3751 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
3752 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
3754 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
3755 declare prototypes for the new functions.
3756 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3765 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3766 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3767 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3769 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3771 * sysdeps/ieee754/ldbl-opt/Makefile
3772 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
3773 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
3774 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
3776 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3779 * argp/Makefile (headers): Add bits/argp-ldbl.h.
3780 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
3781 * argp/bits/argp-ldbl.h: New file.
3782 * include/argp.h: Include stdarg.h. Add prototypes for internal
3783 functions: __argp_error_internal and __argp_failure_internal.
3784 * include/bits/argp-ldbl.h: New file.
3785 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
3786 __nldbl_argp_error and __nldbl_argp_failure.
3787 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
3788 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
3789 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
3790 Redirect argp_error and argp_failure calls.
3791 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3800 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3801 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3802 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3804 2019-03-01 Florian Weimer <fweimer@redhat.com>
3807 * elf/tst-big-note-lib.S: Create a syntactically valid note.
3808 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
3809 code, to avoid creating an ABI tag note.
3810 (modules-names-nobuild): Add tst-big-note-lib.
3812 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
3814 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
3815 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
3817 2019-03-01 Florian Weimer <fweimer@redhat.com>
3820 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3821 (__netlink_assert_response): Add additional missing newlines.
3823 2019-02-28 Joseph Myers <joseph@codesourcery.com>
3825 * sysdeps/powerpc/powerpc32/dl-machine.c
3826 (__elf_machine_fixup_plt): Use space before '('.
3827 (__process_machine_rela): Likewise.
3828 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
3830 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
3832 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
3834 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
3835 (pattern): Likewise.
3837 (check_result): Likewise.
3838 (check_excepts): Likewise.
3839 (check_op): Likewise.
3840 (fail_xr): Likewise.
3841 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
3842 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
3844 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
3847 (__makecontext): Likewise.
3848 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
3851 2019-02-28 Florian Weimer <fweimer@redhat.com>
3854 elf: Add test with a local IFUNC resolver.
3855 * elf/ifuncmain9.c: New file.
3856 * elf/ifuncmain9pic.c: Likewise.
3857 * elf/ifuncmain9picstatic.c: Likewise.
3858 * elf/ifuncmain9pie.c: Likewise.
3859 * elf/ifuncmain9static.c: Likewise.
3860 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
3861 ifuncmain9static, ifuncmain9picstatic.
3862 * elf/Makefile [multi-arch && build-shared] (tests-internal):
3863 Add ifuncmain9, ifuncmain9pic.
3864 * elf/Makefile [multi-arch && build-shared && have-fpie]
3865 (ifunc-pie-tests): Add ifuncmain9pie.
3866 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
3867 (CFLAGS-ifuncmain9picstatic.c): Likewise.
3868 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
3870 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
3872 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
3873 * configure: Regenerated.
3874 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
3876 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3878 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
3879 symbol as __wcspcy instead of wcscpy.
3881 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3883 * include/stdio.h (__renameat2): New hidden prototype.
3884 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
3885 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
3886 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
3887 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
3889 2019-02-27 Joseph Myers <joseph@codesourcery.com>
3891 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
3894 * benchtests/bench-strcpy.c (do_test): Use space before '('.
3895 * benchtests/bench-string.h (cmdline_process_function): Likewise.
3896 * benchtests/bench-strlen.c (do_test): Likewise.
3897 (test_main): Likewise.
3898 * catgets/gencat.c (read_old): Likewise.
3899 * elf/cache.c (load_aux_cache): Likewise.
3900 * iconvdata/bug-iconv8.c (do_test): Likewise.
3901 * math/test-tgmath-ret.c (do_test): Likewise.
3902 * nis/nis_call.c (rec_dirsearch): Likewise.
3903 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3904 * nptl/tst-audit-threads.c (do_test): Likewise.
3905 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
3906 * nss/nss_test1.c (init): Likewise.
3907 * nss/test-netdb.c (test_hosts): Likewise.
3908 * posix/execvpe.c (maybe_script_execute): Likewise.
3909 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
3910 * stdio-common/tst-printf.c (do_test): Likewise.
3911 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
3912 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
3913 * stdlib/qsort.c (STACK_SIZE): Likewise.
3914 * stdlib/test-canon.c (do_test): Likewise.
3915 * stdlib/tst-swapcontext1.c (do_test): Likewise.
3916 * string/memcmp.c (OPSIZ): Likewise.
3917 * string/test-strcpy.c (do_test): Likewise.
3918 (do_random_tests): Likewise.
3919 * string/test-strlen.c (do_test): Likewise.
3920 (test_main): Likewise.
3921 * string/test-strrchr.c (do_test): Likewise.
3922 (do_random_tests): Likewise.
3923 * string/tester.c (test_memrchr): Likewise.
3924 (test_memchr): Likewise.
3925 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
3926 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
3927 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
3928 (read_encoded_value_with_base): Likewise.
3929 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
3930 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
3931 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
3932 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3933 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
3934 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
3936 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
3938 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
3939 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
3940 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
3942 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
3944 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
3946 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3948 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
3949 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3950 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3951 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
3952 * time/test_time.c (main): Likewise.
3954 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3956 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
3958 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
3961 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
3964 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3966 * include/wchar.h (__wcscpy): New prototype.
3967 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
3968 (__wcscpy): Route internal symbol to generic implementation.
3969 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
3970 Add internal __wcscpy alias.
3971 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
3972 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
3973 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
3974 * wcsmbs/wcscpy.c (wcscpy): Add
3975 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
3976 use generic implementation.
3977 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
3979 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
3982 * sysdeps/m68k/wcpcpy.c: Remove file.
3983 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3985 2019-02-26 Joseph Myers <joseph@codesourcery.com>
3987 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
3988 than after operators.
3989 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3990 * sysdeps/mach/hurd/getcwd.c
3991 (__hurd_canonicalize_directory_name_internal): Likewise.
3992 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
3993 (pthread_mutex_consistent): Likewise.
3994 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
3996 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
3997 (__pthread_mutex_transfer_np): Likewise.
3998 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
3999 (__pthread_mutex_unlock): Likewise.
4000 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
4001 (mtx_owned_p): Likewise.
4002 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
4003 (pthread_mutexattr_getrobust): Likewise.
4004 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
4005 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
4007 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4008 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
4009 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
4010 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
4011 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4012 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4013 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
4015 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
4017 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
4018 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
4019 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
4020 (____longjmp_chk): Likewise.
4021 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
4023 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4024 (INTERNAL_SYSCALL): Likewise.
4025 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4026 (INTERNAL_SYSCALL): Likewise.
4027 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4028 (__get_clockfreq_via_cpuinfo): Likewise.
4030 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
4032 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
4033 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
4034 (WORD_COPY_BWD): Likewise.
4035 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4036 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4038 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
4039 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
4041 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
4043 2019-02-25 Joseph Myers <joseph@codesourcery.com>
4045 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
4046 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
4047 rather than after operators.
4048 * elf/cache.c (print_cache): Likewise.
4049 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
4050 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
4051 * hurd/hurdinit.c (_hurd_setproc): Likewise.
4052 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
4053 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
4054 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
4055 (reauth_proc): Likewise.
4056 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
4057 (__file_name_split_at): Likewise.
4058 (__directory_name_split_at): Likewise.
4059 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4060 * hurd/port2fd.c (_hurd_port2fd): Likewise.
4061 * iconv/gconv_dl.c (do_print): Likewise.
4062 * inet/netinet/in.h (struct sockaddr_in): Likewise.
4063 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
4064 * locale/setlocale.c (new_composite_name): Likewise.
4065 * malloc/memusagestat.c (main): Likewise.
4066 * misc/fstab.c (fstab_convert): Likewise.
4067 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4069 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
4070 (getgrent_next_file): Likewise.
4071 (internal_getgrnam_r): Likewise.
4072 (internal_getgrgid_r): Likewise.
4073 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
4075 (internal_getgrent_r): Likewise.
4076 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4077 (getpwent_next_nss): Likewise.
4078 (getpwent_next_file): Likewise.
4079 (internal_getpwnam_r): Likewise.
4080 (internal_getpwuid_r): Likewise.
4081 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
4083 (getspent_next_nss): Likewise.
4084 (internal_getspnam_r): Likewise.
4085 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
4086 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
4087 * string/strchr.c (STRCHR): Likewise.
4088 * string/strchrnul.c (STRCHRNUL): Likewise.
4089 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
4090 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4091 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
4092 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
4093 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
4095 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
4096 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4097 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4098 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
4099 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
4100 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
4101 (open_file): Likewise.
4102 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
4103 (pthread_mutexattr_setprotocol): Likewise.
4104 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4105 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4106 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4107 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
4108 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4110 (elf_machine_rela): Likewise.
4111 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4112 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4113 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
4114 * sysdeps/posix/rename.c (rename): Likewise.
4115 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
4116 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
4117 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
4118 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
4119 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4120 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
4121 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
4123 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
4125 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
4126 * time/tzfile.c (__tzfile_compute): Likewise.
4128 2019-02-22 Joseph Myers <joseph@codesourcery.com>
4130 * benchtests/bench-memmem.c (simple_memmem): Break lines before
4131 rather than after operators.
4132 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
4133 * crypt/md5.c (md5_finish_ctx): Likewise.
4134 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
4135 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
4136 * elf/cache.c (load_aux_cache): Likewise.
4137 * elf/dl-load.c (open_verify): Likewise.
4138 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
4139 * elf/readelflib.c (process_elf_file): Likewise.
4140 * elf/rtld.c (dl_main): Likewise.
4141 * elf/sprof.c (generate_call_graph): Likewise.
4142 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
4143 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
4144 * hurd/dtable.c (reauth_dtable): Likewise.
4145 * hurd/getdport.c (__getdport): Likewise.
4146 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
4147 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
4148 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
4150 * hurd/hurdioctl.c (fioctl): Likewise.
4151 * hurd/hurdselect.c (_hurd_select): Likewise.
4152 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
4153 (STOPSIGS): Likewise.
4154 * hurd/hurdstartup.c (_hurd_startup): Likewise.
4155 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
4156 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4157 * hurd/msgportdemux.c (msgport_server): Likewise.
4158 * hurd/setauth.c (_hurd_setauth): Likewise.
4159 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
4160 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
4161 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4162 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
4163 * login/tst-utmp.c (do_check): Likewise.
4164 (simulate_login): Likewise.
4165 * mach/lowlevellock.h (lll_lock): Likewise.
4166 (lll_trylock): Likewise.
4167 * math/test-fenv.c (ALL_EXC): Likewise.
4168 * math/test-fenvinline.c (ALL_EXC): Likewise.
4169 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
4170 * nis/nis_call.c (__do_niscall3): Likewise.
4171 * nis/nis_callback.c (cb_prog_1): Likewise.
4172 * nis/nis_defaults.c (searchaccess): Likewise.
4173 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4174 * nis/nis_ismember.c (internal_ismember): Likewise.
4175 * nis/nis_local_names.c (nis_local_principal): Likewise.
4176 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
4177 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
4179 * nis/ypclnt.c (yp_match): Likewise.
4180 (yp_first): Likewise.
4181 (yp_next): Likewise.
4182 (yp_master): Likewise.
4183 (yp_order): Likewise.
4184 * nscd/hstcache.c (cache_addhst): Likewise.
4185 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4186 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
4187 (internal_getpwuid_r): Likewise.
4188 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
4189 * posix/glob.h (__GLOB_FLAGS): Likewise.
4190 * posix/regcomp.c (peek_token): Likewise.
4191 (peek_token_bracket): Likewise.
4192 (parse_expression): Likewise.
4193 * posix/regexec.c (sift_states_iter_mb): Likewise.
4194 (check_node_accept_bytes): Likewise.
4195 * posix/tst-spawn3.c (do_test): Likewise.
4196 * posix/wordexp-test.c (testit): Likewise.
4197 * posix/wordexp.c (parse_tilde): Likewise.
4198 (exec_comm): Likewise.
4199 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
4200 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
4201 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
4202 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
4203 * stdio-common/tst-fileno.c (do_test): Likewise.
4204 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
4205 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
4206 * stdlib/strtod_l.c (round_and_return): Likewise.
4207 (____STRTOF_INTERNAL): Likewise.
4208 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
4209 * string/strcspn.c (STRCSPN): Likewise.
4210 * string/test-memmem.c (simple_memmem): Likewise.
4211 * termios/tcsetattr.c (tcsetattr): Likewise.
4212 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
4213 * time/asctime.c (asctime_internal): Likewise.
4214 * time/strptime_l.c (__strptime_internal): Likewise.
4215 * time/sys/time.h (timercmp): Likewise.
4216 * time/tzfile.c (__tzfile_compute): Likewise.
4218 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
4221 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
4223 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4225 * argp/argp-help.c (__argp_error_internal): New function,
4226 renamed from __argp_error, but that takes a 'mode_flags'
4227 parameter to control the format of long double parameters.
4228 (__argp_error): Converted into a call __argp_error_internal.
4229 (__argp_failure_internal): New function, renamed from
4230 __argp_failure, but that takes a 'mode_flags' parameter.
4231 (__argp_failure): Converted into a call __argp_failure_internal.
4232 * misc/err.c (__vwarnx_internal): New function, renamed from
4233 vwarnx, but that takes a 'mode_flags' parameter.
4234 (vwarnx): Converted into a call to __vwarnx_internal.
4235 (__vwarn_internal): New function, renamed from vwarn, but that
4236 takes a 'mode_flags' parameter.
4237 (vwarn): Converted into a call to __vwarn_internal.
4238 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
4239 call to __vfxprintf with 'mode_flags'.
4240 (__error_internal): New function, renamed from error, but that
4241 takes a 'mode_flags' parameter.
4242 (error): Converted into a call to __error_internal.
4243 (__error_at_line_internal): New function, renamed from
4244 error_at_line, but that takes a 'mode_flags' parameter.
4245 (error_at_line): Converted into a call to
4246 __error_at_line_internal.
4247 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
4248 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
4251 2019-02-20 Martin Liska <mliska@suse.cz>
4253 * math/Makefile: Install math-vector-fortran.h.
4254 * bits/math-vector-fortran.h: New file.
4255 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
4257 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4259 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
4260 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
4262 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
4264 * nptl/pthread_mutex_trylock.c: Fix comment.
4266 2019-02-19 Carlos O'Donell <carlos@redhat.com>
4268 * nptl/pthread_tryjoin.c: Fix comment.
4270 2019-02-18 Joseph Myers <joseph@codesourcery.com>
4273 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
4274 after R_SPARC_H34 case.
4276 2019-02-18 Florian Weimer <fweimer@redhat.com>
4278 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
4279 (getanswer): Do not call Dprintf.
4280 (res_gethostbyname2_context): Likewise.
4281 (res_gethostbyaddr_context): Likewise.
4283 2019-02-18 Florian Weimer <fweimer@redhat.com>
4285 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
4287 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
4289 * libio/stdfiles.c: Update comment.
4290 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
4291 set _IO_stdin, _IO_stdout, _IO_stderr.
4292 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
4293 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
4295 (_IO_deallocate_file): New inline function.
4296 * libio/iolibio.h (_IO_vprintf): Remove definition.
4297 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
4298 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4299 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
4301 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
4302 __builtin_expect. Use _IO_legacy_file.
4304 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
4306 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
4307 Initialize ctid with a known value and remove update of ctid
4309 (wait_tid): Adjust arguments and call futex_wait with ctid_val
4310 as assumed current value of ctid_ptr.
4312 2019-02-16 Florian Weimer <fweimer@redhat.com>
4314 Check that non-sysdeps headers have wrapper headers.
4315 * scripts/check-wrapper-headers.py: New file.
4316 * Makefile (tests-special): Add check-wrapper-headers.out.
4317 (check-wrapper-headers.out): New target.
4318 * Rules (tests-special): Add check-wrapper-headers.out.
4319 (check-wrapper-headers.out): New target.
4321 2019-02-16 Florian Weimer <fweimer@redhat.com>
4323 Add missing header wrappers under include/.
4324 * include/ar.h: New file.
4325 * include/bits/mqueue2.h: Likewise.
4326 * include/bits/stdio.h: Likewise.
4327 * include/bits/stdio2.h: Likewise.
4328 * include/fstab.h: Likewise.
4329 * include/fts.h: Likewise.
4330 * include/lastlog.h: Likewise.
4331 * include/netinet/icmp6.h: Likewise.
4332 * include/netinet/igmp.h: Likewise.
4333 * include/netinet/ip6.h: Likewise.
4334 * include/re_comp.h: Likewise.
4335 * include/regexp.h: Likewise.
4336 * include/rpcsvc/bootparam.h: Likewise.
4337 * include/rpcsvc/yp_prot.h: Likewise.
4338 * include/sys/random.h: Likewise.
4339 * include/sys/stropts.h: Likewise.
4340 * include/sys/ttychars.h: Likewise.
4341 * include/sys/vfs.h: Likewise.
4342 * include/wait.h: Likewise.
4344 2019-02-16 Florian Weimer <fweimer@redhat.com>
4346 * nptl_db/proc_service.h: Move to ...
4347 * sysdeps/nptl/proc_service.h: ... here.
4348 * nptl_db/thread_db.h: Move to ...
4349 * sysdeps/nptl/thread_db.h: ... here.
4350 * nptl/descr.h: Include <thread_db.h>.
4352 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4354 * io/Makefile (tests): Add tst-lockf.
4355 * io/lockf.c (lockf): Use __fcntl and only define for
4356 !__OFF_T_MATCHES_OFF64_T.
4357 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
4358 __OFF_T_MATCHES_OFF64_T case.
4359 * io/tst-lockf.c: New file.
4360 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
4361 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
4362 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
4363 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
4364 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
4365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
4366 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
4367 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
4368 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
4370 2019-02-15 Florian Weimer <fweimer@redhat.com>
4373 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
4374 pd->result after the thread descriptor has been freed.
4376 2019-02-15 Joseph Myers <joseph@codesourcery.com>
4378 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
4379 from function return type.
4381 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
4383 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4385 * scripts/test_printers_common.py: Set TERM to a known harmless
4388 2019-02-14 Joseph Myers <joseph@codesourcery.com>
4390 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
4391 (xdr_u_int): Likewise.
4392 (xdr_enum): Likewise.
4393 (xdr_bytes): Reword fall-through comment.
4394 (xdr_string): Likewise.
4396 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4399 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
4400 (tests): Add tst-join8 tst-join9.
4401 * nptl/lll_timedwait_tid.c: Remove file.
4402 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
4403 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
4404 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
4405 * nptl/pthread_join_common.c (timedwait_tid): New function.
4406 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
4408 * nptl/tst-join5.c (thread_join): New function.
4409 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
4411 * nptl/tst-join8.c: New file.
4412 * nptl/tst-join9.c: Likewise.
4413 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
4414 lll_futex_timed_wait_cancel): Add generic macros.
4415 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
4417 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4418 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4419 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4420 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
4422 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
4424 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4425 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4426 (lll_futex_timed_wait_cancel): New macro.
4428 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
4430 * benchtests/Makefile: Add malloc-simple benchmark.
4431 * benchtests/bench-malloc-simple.c: New benchmark.
4433 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
4435 * benchtests/bench-memmove.c (do_one_test): Remove unused
4438 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
4442 2019-01-13 Jim Wilson <jimw@sifive.com>
4445 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
4446 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
4448 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
4450 * nptl/Makefile (tests): Add tst-unwind-thread.
4451 (CFLAGS-tst-unwind-thread.c): Define.
4452 * nptl/tst-unwind-thread.c: New file.
4453 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
4456 2019-02-13 Joseph Myers <joseph@codesourcery.com>
4458 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
4460 * nis/nis_call.c (__do_niscall3): Likewise.
4462 * catgets/gencat.c (normalize_line): Use braces around empty
4464 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4465 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
4466 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
4467 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
4468 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
4469 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
4470 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
4473 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
4476 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
4478 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
4479 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
4480 * benchtests/bench-strchr.c (stupid_strchr): Remove.
4481 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
4482 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
4483 * benchtests/bench-strlen.c (builtin_strlen): Remove.
4484 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
4485 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
4486 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
4487 * benchtests/bench-strspn.c (stupid_strspn): Remove.
4488 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
4489 * benchtests/bench-bcopy.c: Delete file.
4490 * benchtests/bench-bzero.c: Likewise.
4491 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
4492 (simple_memccpy): Remove.
4493 (generic_memccpy): Add function.
4494 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
4495 * benchtests/bench-memmove.c (simple_bcopy): Remove.
4496 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
4497 (generic_mempcpy): Add new function.
4498 * benchtests/bench-memset.c (simple_bzero): Remove.
4499 (builtin_bzero): Remove.
4500 (builtin_memset): Remove.
4501 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
4502 (generic_rawmemchr): Add new function.
4504 2019-02-12 Florian Weimer <fweimer@redhat.com>
4506 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
4508 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4511 * elf/Makefile (tests): Add tst-audit13.
4512 (modules-names): Add tst-audit13mod1.
4513 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4515 * elf/tst-audit13.c: New file.
4516 * elf/tst-audit13mod1.c: Likewise.
4518 2019-02-12 Florian Weimer <fweimer@redhat.com>
4521 * elf/rtld.c (unload_audit_module): New function.
4522 (report_audit_module_load_error): Likewise.
4523 (load_audit_module): Likewise. Extracted from dl_main. Call
4524 _dl_close if the laversion symbol cannot be found. Use early
4525 returns for error handling. Add malloc error check. Check for a
4526 zero return value from la_version. Remove spurious comment about
4527 static TLS initialization. Remove useless casts.
4528 (notify_audit_modules_of_loaded_object): New function. Extracted
4530 (load_audit_module): Likewise.
4531 (dl_main): Call load_audit_modules.
4533 2019-02-12 Joseph Myers <joseph@codesourcery.com>
4535 * elf/dl-exception.c (_dl_exception_create_format): Add
4536 fall-through comments.
4537 * elf/ldconfig.c (parse_conf_include): Likewise.
4538 * elf/rtld.c (print_statistics): Likewise.
4539 * locale/programs/charmap.c (parse_charmap): Likewise.
4540 * misc/mntent_r.c (__getmntent_r): Likewise.
4541 * posix/wordexp.c (parse_arith): Likewise.
4542 (parse_backtick): Likewise.
4543 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
4544 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4545 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4547 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
4549 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
4550 Use float instead of double.
4552 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4554 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
4556 2019-02-08 Joseph Myers <joseph@codesourcery.com>
4558 * sysdeps/powerpc/bits/mathinline.h: Remove.
4560 2019-02-08 Florian Weimer <fweimer@redhat.com>
4562 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
4563 * math/bits/math-finite.h: Move to ...
4564 * bits/math-finite.h: ... here.
4566 2019-02-08 Florian Weimer <fweimer@redhat.com>
4568 * sysdeps/generic/bits/unistd_ext.h: Move to ...
4569 * bits/unistd_ext.h: here.
4571 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
4574 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
4575 * nss/tst-nss-files-hosts-long.c: New file.
4576 * nss/tst-nss-files-hosts-long.root: New directory.
4577 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
4578 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
4580 2019-02-08 Florian Weimer <fweimer@redhat.com>
4582 * include/bits/unistd_ext.h: Remove file.
4583 * posix/bits/unistd_ext.h: Move to ...
4584 * sysdeps/generic/bits/unistd_ext.h: ... here.
4586 2019-02-08 Florian Weimer <fweimer@redhat.com>
4588 * include/bits/unistd_ext.h: New file.
4590 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
4592 * time/tst-strftime2.c: Use array_length macros instead of magic
4595 2019-02-08 Florian Weimer <fweimer@redhat.com>
4598 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
4600 * nptl/register-atfork.c (__run_fork_handlers): Only perform
4601 locking if the new do_locking argument is true.
4602 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
4603 __run_fork_handlers.
4605 2019-02-08 Florian Weimer <fweimer@redhat.com>
4608 Linux: Add gettid system call wrapper.
4609 * posix/Makefile (headers): Add bits/unistd_ext.h.
4610 * posix/bits/unistd_ext.h: New file.
4611 * posix/unistd.h: Include it.
4612 * manual/process.texi (Process Identification): Document gettid.
4613 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
4614 tst-gettid, tst-gettid-kill.
4615 (tst-gettid): Link with $(shared-thread-library).
4616 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
4617 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
4618 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
4619 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
4620 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
4621 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4623 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4625 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4626 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
4628 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
4630 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
4632 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
4634 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4636 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4638 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4640 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4641 (GLIBC_2.30): Likewise.
4642 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4643 (GLIBC_2.30): Likewise.
4644 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4645 (GLIBC_2.30): Likewise.
4646 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4647 (GLIBC_2.30): Likewise.
4648 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4651 (GLIBC_2.30): Likewise.
4652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4653 (GLIBC_2.30): Likewise.
4654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4655 (GLIBC_2.30): Likewise.
4656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4657 (GLIBC_2.30): Likewise.
4658 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4660 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4662 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4664 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4665 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4667 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4669 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4671 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4673 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
4675 2019-02-08 Florian Weimer <fweimer@redhat.com>
4677 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
4678 compatibility symbols.
4680 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
4683 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4684 Add compiler barriers and comments.
4686 2019-02-07 Florian Weimer <fweimer@redhat.com>
4688 * include/array_length.h (array_length): Do not use a statement
4689 expression and _Static_assert, so that array_length can be used at
4690 file scope and as a constant expression.
4692 2019-02-07 Florian Weimer <fweimer@redhat.com>
4694 * support/xdlfcn.h (xdlmopen): Declare.
4695 * support/xdlmopen.c: New file.
4696 * support/Makefile (libsupport-routines): Add xdlmopen.
4698 2019-02-06 Joseph Myers <joseph@codesourcery.com>
4700 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
4701 before return type, without separate inline.
4702 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
4703 * elf/dl-tunables.h (tunable_is_name): Likewise.
4704 * malloc/malloc.c (do_set_trim_threshold): Likewise.
4705 (do_set_top_pad): Likewise.
4706 (do_set_mmap_threshold): Likewise.
4707 (do_set_mmaps_max): Likewise.
4708 (do_set_mallopt_check): Likewise.
4709 (do_set_perturb_byte): Likewise.
4710 (do_set_arena_test): Likewise.
4711 (do_set_arena_max): Likewise.
4712 (do_set_tcache_max): Likewise.
4713 (do_set_tcache_count): Likewise.
4714 (do_set_tcache_unsorted_limit): Likewise.
4715 * nis/nis_subr.c (count_dots): Likewise.
4716 * nptl/allocatestack.c (advise_stack_range): Likewise.
4717 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
4719 (reduce_sincos): Likewise.
4720 (do_sincos): Likewise.
4721 * sysdeps/unix/sysv/linux/x86/elision-conf.c
4722 (do_set_elision_enable): Likewise.
4723 (TUNABLE_CALLBACK_FNDECL): Likewise.
4725 2019-02-06 Florian Weimer <fweimer@redhat.com>
4727 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
4728 (xdlsym): Use dlerror to detect a NULL symbol.
4730 2019-02-06 Florian Weimer <fweimer@redhat.com>
4732 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
4734 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4736 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4738 * libio/tst-bz24153.c (wide): Use wide char format specifier.
4740 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4742 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
4743 __wmemcmp and weak alias to wmemcmp.
4745 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4748 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
4749 TLS_TCB_AT_TP tls variant.
4750 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
4751 Add alignment checks.
4752 * support/Makefile (libsupport-routines): Add xposix_memalign and
4754 * support/support.h: Add xposix_memalign.
4755 * support/xthread.h: Add xpthread_attr_setstack.
4756 * support/xposix_memalign.c: New File.
4757 * support/xpthread_attr_setstack.c: Likewise.
4759 2019-02-05 Florian Weimer <fweimer@redhat.com>
4762 arm: Use "nr" constraint for Systemtap probes, to avoid the
4763 compiler using memory operands for constants, due to the "o"
4764 alternative in the default "nor" constraint.
4765 * include/stap-probe.h [USE_STAP_PROBE]: Include
4766 <stap-probe-machine.h>
4767 * sysdeps/generic/stap-probe-machine.h: New file.
4768 * sysdeps/arm/stap-probe-machine.h: Likewise.
4770 2019-02-04 Joseph Myers <joseph@codesourcery.com>
4772 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
4773 with 0, not tcache->entries[tc_idx].
4775 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
4778 2019-02-04 Andreas Schwab <schwab@suse.de>
4782 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
4783 looking up collating elements match against (wide) character
4784 sequence instead of name. Correct alignment adjustment.
4785 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
4786 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
4787 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
4788 (LOCALES): Add cs_CZ.ISO-8859-2.
4789 * posix/tst-fnmatch4.c: New file.
4790 * posix/tst-fnmatch5.c: New file.
4791 * include/wchar.h (__wmemcmp): Declare.
4792 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
4793 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4794 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
4795 * sysdeps/s390/wmemcmp.c: Likewise.
4797 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
4801 * NEWS: Updated for CVE-2019-7309.
4802 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
4803 upper 32 bits of RDX register for x32. Use unsigned Jcc
4804 instructions, instead of signed.
4805 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
4806 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
4808 2019-02-04 Florian Weimer <fweimer@redhat.com>
4810 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
4811 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
4812 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
4814 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
4815 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
4816 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
4817 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
4819 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
4821 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
4823 (posix_spawn_file_actions_addopen): Likewise.
4824 (posix_spawn_file_actions_addclose): Likewise.
4825 (posix_spawn_file_actions_adddup2): Likewise.
4826 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
4828 (posix_spawn_file_actions_addfchdir_np): Likewise.
4830 2019-02-04 David Newall <glibc@davidnewall.com>
4832 elf: Implement --preload option for the dynamic linker.
4833 * elf/rtld.c (preloadarg): New variable.
4834 (handle_preload_list): Pass through “where” argument to
4836 (dl_main): Handle "--preload" and add second call to
4837 handle_preload_list.
4838 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
4839 (tst-rtld-preload-OBJS): Set variable.
4840 (tst-rtld-preload.out): New target.
4841 * elf/tst-rtld-preload.sh: New file.
4843 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
4845 * Makefile (testrun.sh): Exit in case of incorrect argument.
4847 2019-02-04 Florian Weimer <fweimer@redhat.com>
4849 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
4852 2019-02-03 Florian Weimer <fweimer@redhat.com>
4854 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
4855 implicit overflow checks.
4857 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
4859 * stdlib/isomac.c: Include <unistd.h>.
4861 2019-02-03 Florian Weimer <fweimer@redhat.com>
4863 * include/time.h (__tzfile_default): Use int, not long int, for
4865 * time/tzfile.c (struct ttinfo): Change type of the offset member
4867 (__tzfile_read): Remove useless cast.
4868 (__tzfile_default): Adjust prototype.
4869 * time/tzset.c (tz_rule): Change type of the offset member to int.
4870 (parse_offset): Change the type of the sign variable to int.
4872 2019-02-03 Florian Weimer <fweimer@redhat.com>
4875 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
4876 * libio/getchar.c (getchar): Likewise.
4877 * libio/getchar_u.c (getchar_unlocked): Likewise.
4878 * libio/getwchar.c (getwchar): Likewise.
4879 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4880 * libio/iogets.c (_IO_gets): Likewise.
4881 * libio/vscanf.c (_IO_vscanf): Likewise.
4882 * libio/vwscanf.c (__vwscanf): Likewise.
4883 * libio/tst-bz24153.c: New file.
4884 * libio/Makefile (tests): Add it.
4886 2019-02-02 Florian Weimer <fweimer@redhat.com>
4889 * manual/resource.texi (Basic Scheduling Functions): Add
4890 portability note. Change process to task throughout the section.
4891 Remove incorrect comment about sched_yield as it affects
4892 tasks/threads, not entire processes.
4893 * sysdeps/unix/sysv/linux/bits/posix_opt.h
4894 (_POSIX_PRIORITY_SCHEDULING): Update comment.
4896 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4898 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
4899 * configure: Regenerated.
4900 * manual/install.texi (Tools for Compilation): Update minimum GCC
4902 * INSTALL: Regenerated.
4904 2019-02-01 Florian Weimer <fweimer@redhat.com>
4906 * support/support_test_compare_string.c
4907 (support_test_compare_string): Use "string" in error message.
4908 * support/tst-test_compare_string.c (do_test): Adjust.
4910 2019-02-01 Florian Weimer <fweimer@redhat.com>
4912 * support/support_format_address_family.c
4913 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
4915 2019-02-01 Florian Weimer <fweimer@redhat.com>
4917 * manual/socket.texi (Internet Address Formats): Clarify the byte
4918 order of struct sockaddr_in, struct sockaddr_in6. Document
4919 sin6_flowinfo and sin6_scope_id.
4921 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
4923 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
4924 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
4925 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
4926 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
4927 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
4928 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
4930 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4932 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
4933 [!MEMCHR](MEMCHR): Set to __memchr.
4934 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4935 Add memchr_generic and memchr_nosimd.
4936 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4937 (__libc_ifunc_impl_list): Add memchr ifuncs.
4938 * sysdeps/aarch64/multiarch/memchr.c: New file.
4939 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
4940 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
4942 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4944 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4946 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4947 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
4948 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
4949 Add IS_EMAG check for ifunc dispatch.
4950 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
4951 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
4953 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4955 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
4956 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4958 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
4961 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
4963 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
4965 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
4967 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
4968 syscall-template file.
4970 2019-01-31 Carlos O'Donell <carlos@redhat.com>
4971 Torvald Riegel <triegel@redhat.com>
4972 Rik Prohaska <prohaska7@gmail.com>
4975 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
4976 tst-rwlock-trywrlock-stall.
4977 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4978 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
4979 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
4980 Set __wrphase_fute to 1 only if we started the write phase.
4981 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
4982 * nptl/tst-rwlock-trywrlock-stall.c: New file.
4983 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
4984 * support/xpthread_rwlock_destroy.c: New file.
4985 * support/xthread.h: Declare xpthread_rwlock_destroy.
4987 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4989 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4992 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4995 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
4996 * libio/fileops.c (_IO_new_file_underflow): Likewise
4997 * libio/wfileops.c (_IO_wfile_underflow): Likewise
4998 * libio/putchar.c (putchar): Likewise.
4999 * libio/putchar_u.c (putchar_unlocked): Likewise.
5000 * libio/putwchar.c (putchar): Likewise.
5001 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5002 * libio/tst-bz24051.c: New test.
5003 * libio/Makefile (tests): Add tst-bz24051
5005 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
5008 regex: fix read overrun [BZ #24114]
5009 Problem found by AddressSanitizer, reported by Hongxu Chen in:
5010 https://debbugs.gnu.org/34140
5011 * posix/regexec.c (proceed_next_node):
5012 Do not read past end of input buffer.
5014 2019-01-31 Florian Weimer <fweimer@redhat.com>
5017 * nss/nss_files/files-alias.c (get_next_alias): Handle
5018 continuation line without newline at the end.
5019 * nss/tst-nss-files-alias-truncated.c: New file.
5020 * nss/Makefile [$(build-shared)] (tests): Add
5021 tst-nss-files-alias-truncated.
5022 (tst-nss-files-alias-truncated): Link with libnss_files.so.
5023 * support/namespace.h (struct support_chroot_configuration): Add
5025 (struct support_chroot): Add path_aliases member.
5026 * support/support_chroot.c (support_chroot_create): Handle
5028 (support_chroot_free): Free path_aliases.
5030 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
5032 * version.h (RELEASE): Set to "development".
5033 (VERSION): Set to "2.29.9000".
5034 * NEWS: Add section for 2.30.
5036 * version.h (RELEASE): Set to "stable".
5037 (VERSION): Set to "2.29".
5038 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
5040 * NEWS: Add the list of bugs fixed in 2.29.
5041 * manual/contrib.texi: Update contributors list with some more
5043 * manual/install.texi: Update latest versions of packages
5045 * INSTALL: Regenerated.
5047 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
5049 * po/be.po: Update translations.
5050 * po/bg.po: Likewise.
5051 * po/ca.po: Likewise.
5052 * po/cs.po: Likewise.
5053 * po/da.po: Likewise.
5054 * po/de.po: Likewise.
5055 * po/el.po: Likewise.
5056 * po/eo.po: Likewise.
5057 * po/es.po: Likewise.
5058 * po/fi.po: Likewise.
5059 * po/fr.po: Likewise.
5060 * po/gl.po: Likewise.
5061 * po/hr.po: Likewise.
5062 * po/hu.po: Likewise.
5063 * po/ia.po: Likewise.
5064 * po/id.po: Likewise.
5065 * po/it.po: Likewise.
5066 * po/ja.po: Likewise.
5067 * po/ko.po: Likewise.
5068 * po/lt.po: Likewise.
5069 * po/nb.po: Likewise.
5070 * po/nl.po: Likewise.
5071 * po/pl.po: Likewise.
5072 * po/pt_BR.po: Likewise.
5073 * po/ru.po: Likewise.
5074 * po/rw.po: Likewise.
5075 * po/sk.po: Likewise.
5076 * po/sl.po: Likewise.
5077 * po/sv.po: Likewise.
5078 * po/tr.po: Likewise.
5079 * po/uk.po: Likewise.
5080 * po/vi.po: Likewise.
5081 * po/zh_CN.po: Likewise.
5082 * po/zh_TW.po: Likewise.
5084 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
5087 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
5088 of $f3 register on $y_is_neg path.
5090 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
5093 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
5094 sigaltstack.ss_flags.
5096 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
5099 * manual/time.texi (strftime): Document "%Ey".
5100 * time/strftime_l.c (__strftime_internal): Set the default width
5101 padding with zero of "%Ey" to 2.
5104 * manual/time.texi (strftime): Document "%EC" and "%EY".
5105 * time/Makefile (tests): Add tst-strftime2.
5106 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
5107 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
5108 override padding for "%Ey".
5109 If an optional flag ('_' or '-') is specified to "%EY", interpret the
5110 "%Ey" in the subformat as if decorated with that flag.
5111 * time/tst-strftime2.c: New file.
5113 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5115 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
5119 * elf/Makefile (tests): Add tst-audit13.
5120 (modules-names): Add tst-audit13mod1.
5121 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5123 * elf/rtld.c (dl_main): Handle invalid audit module version.
5124 * elf/tst-audit13.c: New file.
5125 * elf/tst-audit13mod1.c: Likewise.
5127 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5129 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
5130 returned by __hurd_at_flags.
5131 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
5132 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
5133 directly instead of __hurd_file_name_lookup.
5135 2019-01-21 Joseph Myers <joseph@codesourcery.com>
5137 * scripts/build-many-glibcs.py (Context.checkout): Default
5138 binutils version to 2.32 branch.
5140 2019-01-21 Florian Weimer <fweimer@redhat.com>
5144 resolv: Reject trailing characters in host names
5145 * include/arpa/inet.h (__inet_aton_exact): Declare.
5146 (inet_aton): Remove hidden prototype. No longer used internally.
5147 * nscd/gai.c (__inet_aton): Do not define.
5148 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
5149 * nss/digits_dots.c (__inet_aton): Likewise.
5150 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
5151 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
5152 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
5153 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
5154 (tst-resolv-trailing): Likewise.
5155 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
5157 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
5158 Make static. Add endp parameter.
5159 (__inet_aton_exact): New function.
5160 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
5161 (__inet_addr): Call inet_aton_end.
5162 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
5163 not just IPv6. Call __inet_aton_exact.
5164 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
5165 (tests): Make const. Add additional test cases with trailing
5167 (do_test): Use array_length.
5168 * resolv/tst-inet_aton_exact.c: New file.
5169 * resolv/tst-resolv-trailing.c: Likewise.
5170 * resolv/tst-resolv-nondecimal.c: Likewise.
5171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
5173 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5177 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
5178 Clear the upper 32 bits of RSI register.
5179 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
5180 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
5181 and tst-size_t-wcsnlen.
5182 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
5183 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
5185 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5189 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
5190 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5191 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5192 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
5193 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
5195 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5199 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
5200 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5201 * sysdeps/x86_64/strcmp.S: Likewise.
5202 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
5203 tst-size_t-strncmp and tst-size_t-wcsncmp.
5204 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
5205 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
5206 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
5208 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5212 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
5213 RDX_LP for length. Clear the upper 32 bits of RDX register.
5214 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
5215 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
5216 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
5217 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
5219 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5223 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
5224 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
5225 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
5226 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
5228 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5232 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
5233 length. Clear the upper 32 bits of RDX register.
5234 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5235 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5237 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5239 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
5241 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
5243 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5247 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
5248 length. Clear the upper 32 bits of RDX register.
5249 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5250 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5251 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
5253 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
5254 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
5256 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5260 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
5261 upper 32 bits of RDX register.
5262 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
5263 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
5265 * sysdeps/x86_64/x32/test-size_t.h: New file.
5266 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
5267 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
5269 2019-01-18 Florian Weimer <fweimer@redhat.com>
5272 resolv: Do not send queries for non-host-names in nss_dns.
5273 * resolv/nss_dns/dns-host.c (check_name): New function.
5274 (_nss_dns_gethostbyname2_r): Use it.
5275 (_nss_dns_gethostbyname_r): Likewise.
5276 (_nss_dns_gethostbyname4_r): Likewise.
5278 2019-01-21 Florian Weimer <fweimer@redhat.com>
5280 * resolv/inet_addr.c: Reformat to GNU style.
5281 (__inet_addr, __inet_aton): Update comment.
5283 2019-01-18 Florian Weimer <fweimer@redhat.com>
5285 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
5286 ("malloc: Use current (C11-style) atomics for fastbin access").
5287 This commit introduces a substantial performance regression on
5289 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
5290 (REMOVE_FB): Define.
5291 (_int_malloc): Use it and reindent.
5292 (_int_free): Use CAS loop with
5293 catomic_compare_and_exchange_val_rel.
5294 (malloc_consolidate): Use atomic_exchange_acq.
5297 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
5299 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
5301 (LDFLAGS-tst-minsigstksz-2): Likewise.
5302 (LDFLAGS-tst-minsigstksz-3): Likewise.
5303 (LDFLAGS-tst-minsigstksz-3a): Likewise.
5304 (LDFLAGS-tst-minsigstksz-4): Likewise.
5306 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
5308 * manual/time.texi (strftime): Fix the wording to "alternative" rather
5311 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
5313 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
5315 2019-01-16 Zack Weinberg <zackw@panix.com>
5317 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
5318 (xget_sigstack_location): New test support functions.
5319 * support/xsigstack.c: New file, implementing them.
5320 * support/tst-xsigstack.c: New test for them.
5321 * support/Makefile: Update.
5323 * signal/tst-minsigstksz-1.c
5324 * signal/tst-minsigstksz-2.c
5325 * signal/tst-minsigstksz-3.c
5326 * signal/tst-minsigstksz-3a.c
5327 * signal/tst-minsigstksz-4.c: New tests.
5328 * signal/Makefile: Run them.
5330 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5332 * po/libc.pot: Regenerate.
5334 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5336 * math/libm-test-fma.inc (fma_test_data): Set
5337 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
5339 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5341 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
5342 (do_test): Changed __vector __int128_t to __vector unsigned int.
5344 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5346 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5347 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
5348 stpcpy-avx2 and stpncpy-avx2.
5349 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
5350 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
5351 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
5353 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
5354 ifunc-strcpy.h}: rename header for a more generic name.
5355 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
5356 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
5357 AVX unaligned load is fast and vzeroupper is preferred.
5358 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
5359 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
5360 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
5361 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
5362 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
5363 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
5365 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
5367 * argp/argp-help.c: Fix typo in comment.
5368 * misc/sys/cdefs.h: Likewise.
5369 * posix/regexec.c (sift_states_iter_mb): Likewise.
5370 * socket/sockatmark.c: Likewise.
5371 * socket/sys/socket.h: Likewise.
5372 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
5373 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
5374 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
5375 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5376 * sysdeps/unix/sockatmark.c: Likewise.
5377 * time/strptime_l.c: Likewise.
5379 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5381 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
5382 missing space after the cast of "_NL_CURRENT".
5384 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5386 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
5387 ifdef to fix read of VSCR.
5388 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
5389 tst-ucontext-ppc64-vscr.c to test list.
5390 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
5392 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
5394 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
5397 2019-01-09 Jim Wilson <jimw@sifive.com>
5399 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
5401 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
5403 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
5404 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
5405 __memcpy_falkor for ares.
5406 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
5408 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5411 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
5414 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
5415 4_FP_W_TYPEs are used for IEEE quad precision.
5416 * soft-fp/extendhftf2.c: Likewise.
5417 * soft-fp/extendsftf2.c: Likewise.
5418 * soft-fp/extendxftf2.c: Likewise.
5419 * soft-fp/trunctfdf2.c: Likewise.
5420 * soft-fp/trunctfhf2.c: Likewise.
5421 * soft-fp/trunctfsf2.c: Likewise.
5422 * soft-fp/trunctfxf2.c: Likewise.
5423 * sysdeps/alpha/ots_cvttx.c: Likewise.
5424 * sysdeps/alpha/ots_cvtxt.c: Likewise.
5425 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
5426 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
5427 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
5428 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
5429 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
5430 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
5431 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
5432 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
5433 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
5434 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
5435 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
5436 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
5437 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
5438 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
5439 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
5440 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
5442 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5445 * Makeconfig: Build libm with -fno-math-errno but build the remaining
5446 code with -fmath-errno.
5447 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
5448 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
5449 * string/test-strerror-errno.c: New file.
5451 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5454 * localedata/locales/en_US (date_fmt): Add, set to
5455 "%a %d %b %Y %r %Z".
5457 2019-01-07 Florian Weimer <fweimer@redhat.com>
5460 * manual/arith.texi (Math Error Reporting): Use @code{errno}
5461 instead of @var{errno}.
5462 (Parsing of Integers): Likewise.
5463 (Parsing of Floats): Likewise.
5464 * manual/filesys.texi (Working with Directory Trees): Likewise.
5465 (Temporary Files): Likewise.
5466 * manual/job.texi (Terminal Access Functions): Likewise.
5467 * manual/llio.texi (Synchronizing I/O): Likewise.
5468 * manual/math.texi (SVID Random): Likewise.
5469 * manual/message.texi (The catgets Functions): Likewise.
5470 (Translation with gettext): Likewise.
5471 (Locating gettext catalog): Likewise.
5472 (Charset conversion in gettext): Likewise.
5473 * manual/nss.texi (NSS Module Function Internals): Likewise.
5474 * manual/search.texi (Hash Search Function): Likewise.
5475 * manual/setjmp.texi (System V contexts): Likewise.
5476 * manual/time.texi (Sleeping): Likewise.
5477 * manual/users.texi (Lookup User): Likewise.
5478 (Lookup Group): Likewise.
5480 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5482 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
5485 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
5488 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
5489 __builtin_unreachable for default case in switch.
5490 (__ieee754_yn): Likewise.
5491 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5492 (__ieee754_ynl): Likewise.
5493 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5494 (__ieee754_ynl): Likewise.
5495 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5496 (__ieee754_ynl): Likewise.
5498 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
5500 * manual/maint.texi: Use @{ and @}.
5502 2019-01-04 Florian Weimer <fweimer@redhat.com>
5504 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
5506 (do_in_chroot_1): Call it.
5508 Improve error reporting in case it is not possible to create a
5509 collision for the PTY name required by the test.
5511 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5513 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
5514 lll_wait_tid with timeout.
5515 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
5516 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
5517 futex_reltimed_wait_cancelable for cancelabla mode.
5518 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
5519 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
5521 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
5522 * sysdeps/posix/waitid.c (__sigwait): Likewise.
5523 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
5524 SYSCALL_CANCEL_NCS): New macro.
5525 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
5526 (lll_timedwait_tid): Remove macro.
5527 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
5529 (lll_timedwait_tid): Likewise.
5530 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
5532 (lll_timedwait_tid): Likewise.
5533 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
5535 (lll_timedwait_tid): Likewise.
5536 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
5537 Use INTERNAL_SYSCALL_CANCEL.
5538 * sysdeps/unix/sysv/linux/futex-internal.h
5539 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
5540 instead of __pthread_{enable,disable}_asynccancel.
5541 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5542 (lll_futex_wait_cancel): New macro.
5544 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5545 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5547 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5548 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5550 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
5551 in backtrace analysis.
5552 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
5554 (tf_send): Likewise.
5556 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
5557 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
5558 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
5559 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
5560 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5561 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5562 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
5563 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
5564 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
5565 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
5566 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
5567 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
5569 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
5570 tst-cancel-wrappers.sh.
5571 (generated): Remove tst-cancel-wrappers.out.
5572 (tst-cancel-wrappers.out): Remove rule.
5573 * nptl/tst-cancel-wrappers.sh: Remove file.
5575 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5577 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
5578 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5581 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5584 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
5585 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
5586 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
5587 close-on-exec reset for adddup2 file action.
5588 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5590 2019-01-03 Zack Weinberg <zackw@panix.com>
5592 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
5593 parameter. Only use deprecated scanf when __USE_GNU is defined
5594 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
5595 than 201103L, whichever is relevant for the language being compiled.
5597 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
5598 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
5599 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
5600 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
5601 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
5605 * libio/iovswscanf.c
5610 * stdio-common/fscanf.c
5611 * stdio-common/scanf.c
5612 * stdio-common/vfscanf.c
5613 * stdio-common/vfwscanf.c
5614 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5615 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
5616 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
5617 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
5618 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
5619 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
5620 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
5621 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
5622 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
5623 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
5624 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
5625 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
5626 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
5627 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
5628 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
5630 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
5631 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
5632 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
5634 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
5635 with a preprocessor macro.
5637 * stdio-common/bug21.c, stdio-common/scanf14.c:
5638 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
5639 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5640 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
5641 to xscanf, xfscanf, xsscanf.
5643 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
5644 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5645 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
5646 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
5648 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
5649 override feature selection macros or provide definitions of u_char etc.
5650 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
5651 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
5652 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
5655 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5657 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5658 bits/termios-misc.h.
5659 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
5660 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5661 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5662 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5663 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
5664 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
5666 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
5667 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5668 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
5669 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
5670 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
5671 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
5673 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
5674 (sysdep_headers): Add termios-misc.h.
5676 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
5677 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5678 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5680 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5682 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
5683 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
5684 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
5685 TCSAFLUSH): Move to termios-tcflow.h.
5686 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5687 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5688 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5689 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5693 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
5694 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
5695 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
5696 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
5697 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
5698 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
5699 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
5700 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
5702 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5703 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5704 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5705 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5707 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5709 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
5710 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
5711 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
5712 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
5713 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
5715 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5716 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5717 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5718 * 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-baud.h: New file.
5724 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
5725 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
5726 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
5727 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
5728 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
5729 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
5730 __MAX_BAUD): Move to termios-baud.h.
5731 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
5732 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
5733 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5734 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5735 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5737 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5739 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
5740 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
5741 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
5742 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
5743 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
5744 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
5746 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
5747 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
5749 [USE_MISC] (XTABS): Likewise.
5750 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5751 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5752 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5753 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
5755 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5757 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
5758 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
5759 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
5760 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
5761 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
5762 IUTF8): Move to termios-c_iflag.h.
5763 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5764 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5765 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5766 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5768 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5770 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
5771 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
5772 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
5773 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
5774 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
5775 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
5776 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
5777 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
5778 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5779 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5780 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5781 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5783 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
5784 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
5785 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
5786 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
5787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5789 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
5791 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
5793 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
5795 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
5797 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
5799 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
5800 _HAVE_C_OSPEED): Define.
5801 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
5802 _HAVE_C_OSPEED): Likewise.
5803 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
5804 _HAVE_C_OSPEED): Likewise.
5805 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
5806 (cfsetospeed): Check for define value instead of existence.
5807 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
5808 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5809 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
5810 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5811 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
5814 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
5816 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5817 (TIOCSER_TEMT): Likewise.
5818 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
5819 (TEOCSER_TEMT): Likewise.
5821 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
5824 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
5826 2019-01-02 Joseph Myers <joseph@codesourcery.com>
5828 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
5830 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5832 * sysdeps/htl/pt-barrierattr-setpshared.c
5833 (pthread_barrierattr_setpshared): Add stub warning.
5834 * sysdeps/htl/pt-condattr-setpshared.c
5835 (pthread_condattr_setpshared): Likewise.
5836 * sysdeps/htl/pt-mutexattr-setpshared.c
5837 (pthread_mutexattr_setpshared): Likewise.
5838 * sysdeps/htl/pt-rwlockattr-setpshared.c
5839 (pthread_rwlockattr_setpshared): Likewise.
5840 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
5841 (pthread_mutexattr_setpshared): Likewise.
5843 2019-01-02 Joseph Myers <joseph@codesourcery.com>
5845 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
5846 constants to match with Linux 4.20.
5848 * sysdeps/mips/mips32/libm-test-ulps: Update.
5849 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5851 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
5854 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
5855 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
5856 than __typeof (...) for the a_ptr variable.
5858 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5860 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
5861 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
5862 * libio/Makefile (tests): Add tst-sprintf-ub and
5864 (CFLAGS-tst-sprintf-ub.c): New variable.
5865 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
5866 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
5867 destination buffer and check for overflows in fortified mode.
5868 * libio/libioP.h (PRINTF_CHK): New macro.
5869 * libio/tst-sprintf-chk-ub.c: New file.
5870 * libio/tst-sprintf-ub.c: Likewise.
5872 2019-01-02 Florian Weimer <fweimer@redhat.com>
5875 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
5878 2019-01-02 Florian Weimer <fweimer@redhat.com>
5880 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
5882 2019-01-01 Joseph Myers <joseph@codesourcery.com>
5884 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
5887 * sysdeps/unix/sysv/linux/netpacket/packet.h
5888 (PACKET_IGNORE_OUTGOING): New macro.
5890 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
5893 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5895 (riscv_flush_icache): New syscall.
5897 * manual/texinfo.tex: Update to version 2018-12-28.17 with
5898 trailing whitespace removed.
5899 * scripts/config.guess: Update to version 2019-01-01.
5900 * scripts/config.sub: Update to version 2019-01-01.
5901 * scripts/move-if-change: Update from gnulib.
5903 * NEWS: Update copyright dates.
5904 * catgets/gencat.c (print_version): Likewise.
5905 * csu/version.c (banner): Likewise.
5906 * debug/catchsegv.sh: Likewise.
5907 * debug/pcprofiledump.c (print_version): Likewise.
5908 * debug/xtrace.sh (do_version): Likewise.
5909 * elf/ldconfig.c (print_version): Likewise.
5910 * elf/ldd.bash.in: Likewise.
5911 * elf/pldd.c (print_version): Likewise.
5912 * elf/sotruss.sh: Likewise.
5913 * elf/sprof.c (print_version): Likewise.
5914 * iconv/iconv_prog.c (print_version): Likewise.
5915 * iconv/iconvconfig.c (print_version): Likewise.
5916 * locale/programs/locale.c (print_version): Likewise.
5917 * locale/programs/localedef.c (print_version): Likewise.
5918 * login/programs/pt_chown.c (print_version): Likewise.
5919 * malloc/memusage.sh (do_version): Likewise.
5920 * malloc/memusagestat.c (print_version): Likewise.
5921 * malloc/mtrace.pl: Likewise.
5922 * manual/libc.texinfo: Likewise.
5923 * nptl/version.c (banner): Likewise.
5924 * nscd/nscd.c (print_version): Likewise.
5925 * nss/getent.c (print_version): Likewise.
5926 * nss/makedb.c (print_version): Likewise.
5927 * posix/getconf.c (main): Likewise.
5928 * scripts/test-installation.pl: Likewise.
5929 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5931 * All files with FSF copyright notices: Update copyright dates
5932 using scripts/update-copyrights.
5933 * locale/programs/charmap-kw.h: Regenerated.
5934 * locale/programs/locfile-kw.h: Likewise.
5936 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5938 * timezone/zdump.c: Update from tzcode 2018i.
5939 * timezone/zic.c: Likewise.
5941 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
5943 regex: improve Gnulib port to AIX
5944 From the glibc point of view, this removes duplicate macro
5945 definitions and is obviously safe.
5946 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
5947 * posix/regex_internal.h:
5948 (__attribute__, __attribute_warn_unused_result__):
5949 Remove; already defined elsewhere.
5951 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
5954 * malloc/malloc.c (_int_realloc): Always call memcpy for the
5955 copying operation. (ncopies had the wrong type, resulting in an
5956 integer wraparound and too few elements being copied.)
5958 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
5961 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
5962 <asm/syscalls.h> exists with __has_include__ before including it.
5964 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5966 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5969 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
5971 * hurd/lookup-retry: Include <unistd.h>.
5972 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
5973 Release it on return. Handle "pid" magical lookup retry.
5975 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5978 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
5979 (t_fmt_ampm): Likewise.
5980 * localedata/locales/aa_ER (t_fmt): Likewise.
5981 (t_fmt_ampm): Likewise.
5982 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
5983 (t_fmt_ampm): Likewise.
5984 * localedata/locales/aa_ET (t_fmt): Likewise.
5985 (t_fmt_ampm): Likewise.
5986 * localedata/locales/am_ET (t_fmt): Likewise.
5987 (t_fmt_ampm): Likewise.
5988 * localedata/locales/byn_ER (t_fmt): Likewise.
5989 (t_fmt_ampm): Likewise.
5990 * localedata/locales/om_ET (t_fmt): Likewise.
5991 (t_fmt_ampm): Likewise.
5992 * localedata/locales/sid_ET (t_fmt): Likewise.
5993 (t_fmt_ampm): Likewise.
5994 * localedata/locales/so_DJ (t_fmt): Likewise.
5995 (t_fmt_ampm): Likewise.
5996 * localedata/locales/so_ET (t_fmt): Likewise.
5997 (t_fmt_ampm): Likewise.
5998 * localedata/locales/so_SO (t_fmt): Likewise.
5999 (t_fmt_ampm): Likewise.
6000 * localedata/locales/ti_ER (t_fmt): Likewise.
6001 (t_fmt_ampm): Likewise.
6002 * localedata/locales/ti_ET (t_fmt): Likewise.
6003 (t_fmt_ampm): Likewise.
6004 * localedata/locales/tig_ER (t_fmt): Likewise.
6005 (t_fmt_ampm): Likewise.
6006 * localedata/locales/wal_ET (t_fmt): Likewise.
6007 (t_fmt_ampm): Likewise.
6009 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
6010 * localedata/locales/ar_IN (t_fmt): Likewise.
6011 * localedata/locales/bhb_IN (t_fmt): Likewise.
6012 * localedata/locales/bho_IN (t_fmt): Likewise.
6013 * localedata/locales/bi_VU (t_fmt): Likewise.
6014 * localedata/locales/bn_BD (t_fmt): Likewise.
6015 * localedata/locales/bn_IN (t_fmt): Likewise.
6016 * localedata/locales/brx_IN (t_fmt): Likewise.
6017 * localedata/locales/doi_IN (t_fmt): Likewise.
6018 * localedata/locales/en_HK (t_fmt): Likewise.
6019 (t_fmt_ampm): Likewise.
6020 * localedata/locales/en_IN (t_fmt): Likewise.
6021 * localedata/locales/en_PH (t_fmt): Likewise.
6022 * localedata/locales/gu_IN (t_fmt): Likewise.
6023 * localedata/locales/hi_IN (t_fmt): Likewise.
6024 * localedata/locales/hif_FJ (t_fmt): Likewise.
6025 * localedata/locales/hne_IN (t_fmt): Likewise.
6026 * localedata/locales/kn_IN (t_fmt): Likewise.
6027 * localedata/locales/kok_IN (t_fmt): Likewise.
6028 * localedata/locales/ks_IN (t_fmt): Likewise.
6029 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
6030 * localedata/locales/mag_IN (t_fmt): Likewise.
6031 * localedata/locales/mai_IN (t_fmt): Likewise.
6032 * localedata/locales/mjw_IN (t_fmt): Likewise.
6033 * localedata/locales/ml_IN (t_fmt): Likewise.
6034 * localedata/locales/mni_IN (t_fmt): Likewise.
6035 * localedata/locales/mr_IN (t_fmt): Likewise.
6036 * localedata/locales/ms_MY (t_fmt): Likewise.
6037 * localedata/locales/pa_IN (t_fmt): Likewise.
6038 * localedata/locales/raj_IN (t_fmt): Likewise.
6039 * localedata/locales/sa_IN (t_fmt): Likewise.
6040 * localedata/locales/sat_IN (t_fmt): Likewise.
6041 * localedata/locales/sd_IN (t_fmt): Likewise.
6042 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
6043 * localedata/locales/tcy_IN (t_fmt): Likewise.
6044 * localedata/locales/the_NP (t_fmt): Likewise.
6045 * localedata/locales/to_TO (t_fmt): Likewise.
6046 * localedata/locales/ur_IN (t_fmt): Likewise.
6048 * localedata/locales/hif_FJ (d_t_fmt): Set to
6049 "%A %d %b %Y %I:%M:%S %p".
6050 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
6052 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
6053 * localedata/locales/ar_BH (t_fmt): Likewise.
6054 * localedata/locales/ar_DZ (t_fmt): Likewise.
6055 * localedata/locales/ar_EG (t_fmt): Likewise.
6056 * localedata/locales/ar_IQ (t_fmt): Likewise.
6057 * localedata/locales/ar_JO (t_fmt): Likewise.
6058 * localedata/locales/ar_KW (t_fmt): Likewise.
6059 * localedata/locales/ar_LB (t_fmt): Likewise.
6060 * localedata/locales/ar_LY (t_fmt): Likewise.
6061 * localedata/locales/ar_OM (t_fmt): Likewise.
6062 * localedata/locales/ar_QA (t_fmt): Likewise.
6063 * localedata/locales/ar_SD (t_fmt): Likewise.
6064 * localedata/locales/ar_SS (t_fmt): Likewise.
6065 * localedata/locales/ar_SY (t_fmt): Likewise.
6066 * localedata/locales/ar_TN (t_fmt): Likewise.
6067 * localedata/locales/ar_YE (t_fmt): Likewise.
6069 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
6070 (t_fmt_ampm): Likewise.
6071 * localedata/locales/gez_ET (t_fmt): Likewise.
6072 (t_fmt_ampm): Likewise.
6074 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
6075 (t_fmt_ampm): Likewise.
6076 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
6078 * localedata/locales/zh_HK (t_fmt):
6079 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
6081 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
6082 because this locale does not use the 12-hour clock.
6083 (t_fmt): Set to "%Z %H:%M:%S".
6084 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
6086 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
6087 because this locale does not use the 12-hour clock.
6088 (t_fmt): Set to "%H:%M:%S %Z".
6089 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
6091 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
6092 because this locale does not use the 12-hour clock.
6093 (t_fmt): Set to "%T".
6094 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
6095 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
6097 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
6098 because this locale does not use the 12-hour clock.
6099 (t_fmt): Set to "%H:%M:%S %Z".
6100 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
6102 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
6103 because this locale does not use the 12-hour clock.
6104 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
6105 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
6107 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6111 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
6112 (t_fmt_ampm): Likewise.
6113 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
6114 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
6115 (d_fmt): Set to "%-d.%-m.%y".
6117 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6119 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
6120 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
6121 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
6123 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
6124 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
6125 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
6127 * support/blob_repeat.c (check_mul_overflow_size_t,
6128 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
6130 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
6132 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
6134 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
6136 regex: simplify Gnulib port
6137 This simplifies the code, by removing stuff intended for porting
6138 to Gnulib but no longer needed there.
6139 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
6140 uses of libc_hidden_def, weak_alias.
6141 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
6142 _Restrict_ except for public-facing headers.
6143 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
6144 Remove; already defined elsewhere.
6145 * posix/regex.c, posix/regex_internal.h:
6146 Use __GNUC_PREREQ instead of rolling our own.
6147 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
6149 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
6151 * benchtests/bench-strlen.c (generic_strlen): New function.
6152 (memchr_strlen): New function.
6154 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6156 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
6157 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
6158 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
6160 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6162 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6164 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6166 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
6167 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
6168 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
6169 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
6170 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
6171 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
6172 <sysdeps/ieee754/flt-32/s_sincosf.c>.
6174 2018-12-21 Joseph Myers <joseph@codesourcery.com>
6177 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
6178 PLT reference in libc.so.
6179 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
6180 _Q_lltoq and _Q_qtod PLT references in libc.so.
6182 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
6184 * benchtests/bench-memchr.c: Cleanup defines.
6185 * benchtests/bench-memcmp.c: Likewise.
6186 * benchtests/bench-memset.c: Likewise.
6187 * benchtests/bench-memset-large.c: Likewise.
6188 * benchtests/bench-memset-walk.c: Likewise.
6189 * benchtests/bench-stpcpy.c: Likewise.
6190 * benchtests/bench-stpncpy.c: Likewise.
6191 * benchtests/bench-strcat.c: Likewise.
6192 * benchtests/bench-strchr.c: Likewise.
6193 * benchtests/bench-strcmp.c: Likewise.
6194 * benchtests/bench-strcpy.c: Likewise.
6195 * benchtests/bench-strcspn.c: Likewise.
6196 * benchtests/bench-string.h: Likewise.
6197 * benchtests/bench-strlen.c: Likewise.
6198 * benchtests/bench-strncat.c: Likewise.
6199 * benchtests/bench-strncmp.c: Likewise.
6200 * benchtests/bench-strncpy.c: Likewise.
6201 * benchtests/bench-strnlen.c: Likewise.
6202 * benchtests/bench-strpbrk.c: Likewise.
6203 * benchtests/bench-strrchr.c: Likewise.
6204 * benchtests/bench-strspn.c: Likewise.
6206 2018-12-21 Joseph Myers <joseph@codesourcery.com>
6208 * stdlib/longlong.h: Update from GCC.
6211 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
6212 * configure: Regenerated.
6213 * manual/install.texi (Tools for Compilation): Update minimum GCC
6215 * INSTALL: Regenerated.
6217 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
6219 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
6221 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
6223 * malloc/malloc.c (mremap_chunk): Additional checks.
6225 2018-12-21 Mao Han <han_mao@c-sky.com>
6227 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
6228 * scripts/build-many-glibcs.py: Add C-SKY targets.
6229 * sysdeps/csky/Implies: New file.
6230 * sysdeps/csky/Makefile: Likewise.
6231 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
6232 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
6233 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
6234 * sysdeps/csky/abiv2/memcmp.S: Likewise.
6235 * sysdeps/csky/abiv2/memcpy.S: Likewise.
6236 * sysdeps/csky/abiv2/memmove.S: Likewise.
6237 * sysdeps/csky/abiv2/memset.S: Likewise.
6238 * sysdeps/csky/abiv2/setjmp.S: Likewise.
6239 * sysdeps/csky/abiv2/start.S: Likewise.
6240 * sysdeps/csky/abiv2/strcmp.S: Likewise.
6241 * sysdeps/csky/abiv2/strcpy.S: Likewise.
6242 * sysdeps/csky/abiv2/strlen.S: Likewise.
6243 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
6244 * sysdeps/csky/abort-instr.h: Likewise.
6245 * sysdeps/csky/atomic-machine.h: Likewise.
6246 * sysdeps/csky/bits/endian.h: Likewise.
6247 * sysdeps/csky/bits/fenv.h: Likewise.
6248 * sysdeps/csky/bits/link.h: Likewise.
6249 * sysdeps/csky/bits/setjmp.h: Likewise.
6250 * sysdeps/csky/bsd-_setjmp.S: Likewise.
6251 * sysdeps/csky/bsd-setjmp.S: Likewise.
6252 * sysdeps/csky/configure: Likewise.
6253 * sysdeps/csky/configure.ac: Likewise.
6254 * sysdeps/csky/dl-machine.h: Likewise.
6255 * sysdeps/csky/dl-procinfo.c: Likewise.
6256 * sysdeps/csky/dl-procinfo.h: Likewise.
6257 * sysdeps/csky/dl-sysdep.h: Likewise.
6258 * sysdeps/csky/dl-tls.h: Likewise.
6259 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
6260 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
6261 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
6262 * sysdeps/csky/fpu/fegetenv.c: Likewise.
6263 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
6264 * sysdeps/csky/fpu/fegetmode.c: Likewise.
6265 * sysdeps/csky/fpu/fegetround.c: Likewise.
6266 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
6267 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
6268 * sysdeps/csky/fpu/fenv_private.h: Likewise.
6269 * sysdeps/csky/fpu/fesetenv.c: Likewise.
6270 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
6271 * sysdeps/csky/fpu/fesetmode.c: Likewise.
6272 * sysdeps/csky/fpu/fesetround.c: Likewise.
6273 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
6274 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
6275 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
6276 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
6277 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
6278 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
6279 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
6280 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
6281 * sysdeps/csky/fpu_control.h: Likewise.
6282 * sysdeps/csky/gccframe.h: Likewise.
6283 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
6284 * sysdeps/csky/ldsodefs.h: Likewise.
6285 * sysdeps/csky/libc-tls.c: Likewise.
6286 * sysdeps/csky/linkmap.h: Likewise.
6287 * sysdeps/csky/machine-gmon.h: Likewise.
6288 * sysdeps/csky/memusage.h: Likewise.
6289 * sysdeps/csky/nofpu/Implies: Likewise.
6290 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
6291 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
6292 * sysdeps/csky/nptl/Makefile: Likewise.
6293 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
6294 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
6295 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
6296 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
6297 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
6298 * sysdeps/csky/nptl/tls.h: Likewise.
6299 * sysdeps/csky/preconfigure: Likewise.
6300 * sysdeps/csky/sfp-machine.h: Likewise.
6301 * sysdeps/csky/sotruss-lib.c: Likewise.
6302 * sysdeps/csky/stackinfo.h: Likewise.
6303 * sysdeps/csky/sysdep.h: Likewise.
6304 * sysdeps/csky/tininess.h: Likewise.
6305 * sysdeps/csky/tst-audit.h: Likewise.
6306 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
6307 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
6308 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
6309 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
6310 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
6311 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
6312 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
6313 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
6314 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
6315 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
6316 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
6317 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
6318 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
6319 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
6320 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
6321 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
6322 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
6323 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
6324 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
6325 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
6326 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
6327 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
6328 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
6329 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
6330 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
6331 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
6332 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
6333 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
6334 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
6335 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
6336 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
6337 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
6338 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
6339 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
6340 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
6341 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
6342 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
6343 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
6344 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
6345 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
6346 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
6347 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
6348 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
6349 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
6351 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
6353 * include/time.h (__difftime64): Add.
6354 * time/difftime.c (subtract): convert to 64-bit time.
6355 * time/difftime.c (__difftime64): Add.
6356 * time/difftime.c (__difftime): Wrap around __difftime64.
6358 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
6360 * manual/examples/add.c: Remove redundant "if not".
6361 * manual/examples/argp-ex1.c: Likewise.
6362 * manual/examples/argp-ex2.c: Likewise.
6363 * manual/examples/argp-ex3.c: Likewise.
6364 * manual/examples/argp-ex4.c: Likewise.
6365 * manual/examples/atexit.c: Likewise.
6366 * manual/examples/db.c: Likewise.
6367 * manual/examples/dir.c: Likewise.
6368 * manual/examples/dir2.c: Likewise.
6369 * manual/examples/execinfo.c: Likewise.
6370 * manual/examples/filecli.c: Likewise.
6371 * manual/examples/filesrv.c: Likewise.
6372 * manual/examples/fmtmsgexpl.c: Likewise.
6373 * manual/examples/genpass.c: Likewise.
6374 * manual/examples/inetcli.c: Likewise.
6375 * manual/examples/inetsrv.c: Likewise.
6376 * manual/examples/isockad.c: Likewise.
6377 * manual/examples/longopt.c: Likewise.
6378 * manual/examples/memopen.c: Likewise.
6379 * manual/examples/memstrm.c: Likewise.
6380 * manual/examples/mkdirent.c: Likewise.
6381 * manual/examples/mkfsock.c: Likewise.
6382 * manual/examples/mkisock.c: Likewise.
6383 * manual/examples/mygetpass.c: Likewise.
6384 * manual/examples/pipe.c: Likewise.
6385 * manual/examples/popen.c: Likewise.
6386 * manual/examples/rprintf.c: Likewise.
6387 * manual/examples/search.c: Likewise.
6388 * manual/examples/select.c: Likewise.
6389 * manual/examples/setjmp.c: Likewise.
6390 * manual/examples/sigh1.c: Likewise.
6391 * manual/examples/sigusr.c: Likewise.
6392 * manual/examples/stpcpy.c: Likewise.
6393 * manual/examples/strdupa.c: Likewise.
6394 * manual/examples/strftim.c: Likewise.
6395 * manual/examples/subopt.c: Likewise.
6396 * manual/examples/swapcontext.c: Likewise.
6397 * manual/examples/termios.c: Likewise.
6398 * manual/examples/testopt.c: Likewise.
6399 * manual/examples/testpass.c: Likewise.
6400 * manual/examples/timeval_subtract.c: Likewise.
6402 2018-12-19 Joseph Myers <joseph@codesourcery.com>
6404 * sysdeps/x86/fpu/math_private.h: New file.
6405 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
6407 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
6412 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6414 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
6415 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
6416 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
6417 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
6419 (_dl_show_auxv): Give a special treatment to
6420 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
6421 and AT_L3_CACHEGEOMETRY.
6422 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
6423 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
6424 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
6425 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
6427 2018-12-19 Andreas Schwab <schwab@suse.de>
6429 * nscd/connections.c (check_use): Don't abort on invalid len.
6431 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6433 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
6434 values in the 64bit value cases.
6436 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
6442 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
6448 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
6451 (__gmtime64_r): Add.
6453 (__gmtime64_r): Add.
6454 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6460 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6463 (__localtime64_r): Add.
6465 (__localtime64_r): Add.
6466 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
6468 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6470 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
6471 kernel_sigction definition.
6473 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
6475 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
6477 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
6478 __syscall_rt_sigaction.
6479 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
6480 (kernel_sigaction): Use Linux generic defintion.
6482 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
6483 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
6484 (__syscall_rt_sigaction): Remove implementation.
6485 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
6487 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
6488 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
6489 INTERNAL_SYSCALL): Remove definitions.
6490 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
6491 action and signal set size.
6492 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
6493 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
6495 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6496 James Clarke <jrtc27@jrtc27.com>
6499 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
6500 Define if SA_RESTORER is defined.
6501 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
6502 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
6504 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
6505 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
6507 (HAS_SA_RESTORER): Define.
6508 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
6509 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
6510 (HAS_SA_RESTORER): Define.
6511 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
6512 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
6513 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
6514 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
6515 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6517 2018-12-18 Joseph Myers <joseph@codesourcery.com>
6519 * sysdeps/unix/sysv/linux/kernel-features.h
6520 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
6521 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6522 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
6523 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6524 (__ASSUME_ST_INO_64_BIT): Likewise.
6525 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6526 <kernel-features.h>.
6527 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6528 Remove conditional code.
6529 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6530 <kernel-features.h>.
6531 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6532 Remove conditional code.
6533 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
6534 <kernel-features.h>.
6535 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6536 Remove conditional code.
6537 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
6538 <kernel-features.h>.
6539 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
6540 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
6542 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6544 * sysdeps/s390/multiarch/ifunc-resolve.h
6545 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
6546 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
6547 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
6548 Delete macro definition.
6549 (s390_libc_ifunc_init): Rename to
6550 s390_libc_ifunc_expr_stfle_init.
6551 * sysdeps/s390/bzero: Use
6552 s390_libc_ifunc_expr_stfle_init instead of
6553 s390_libc_ifunc_init.
6554 * sysdeps/s390/memcmp.c: Likewise.
6555 * sysdeps/s390/memcpy.c: Likewise.
6556 * sysdeps/s390/mempcpy.c: Likewise.
6557 * sysdeps/s390/memset.c: Likewise.
6559 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6561 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
6562 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
6564 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6566 * sysdeps/s390/multiarch/Makefile
6567 (sysdep_routines): Remove wmemcmp variants.
6568 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
6569 * sysdeps/s390/multiarch/ifunc-impl-list.c
6570 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
6571 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
6572 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
6573 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
6574 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
6575 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
6576 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
6577 * sysdeps/s390/ifunc-wmemcmp.h: New file.
6579 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6581 * sysdeps/s390/multiarch/Makefile
6582 (sysdep_routines): Remove wmemset variants.
6583 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
6584 * sysdeps/s390/multiarch/ifunc-impl-list.c
6585 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
6586 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
6587 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
6588 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
6589 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
6590 * sysdeps/s390/multiarch/wmemset.c: Move to ...
6591 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
6592 * sysdeps/s390/ifunc-wmemset.h: New file.
6594 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6596 * sysdeps/s390/multiarch/Makefile
6597 (sysdep_routines): Remove wmemchr variants.
6598 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
6599 * sysdeps/s390/multiarch/ifunc-impl-list.c
6600 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
6601 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
6602 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
6603 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
6604 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
6605 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
6606 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
6607 * sysdeps/s390/ifunc-wmemchr.h: New file.
6609 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6611 * sysdeps/s390/multiarch/Makefile
6612 (sysdep_routines): Remove wcscspn variants.
6613 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
6614 * sysdeps/s390/multiarch/ifunc-impl-list.c
6615 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
6616 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
6617 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
6618 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
6619 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
6620 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
6621 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
6622 * sysdeps/s390/ifunc-wcscspn.h: New file.
6624 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6626 * sysdeps/s390/multiarch/Makefile
6627 (sysdep_routines): Remove wcspbrk variants.
6628 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
6629 * sysdeps/s390/multiarch/ifunc-impl-list.c
6630 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
6631 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
6632 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
6633 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
6634 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
6635 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
6636 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
6637 * sysdeps/s390/ifunc-wcspbrk.h: New file.
6639 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6641 * sysdeps/s390/multiarch/Makefile
6642 (sysdep_routines): Remove wcsspn variants.
6643 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
6644 * sysdeps/s390/multiarch/ifunc-impl-list.c
6645 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
6646 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
6647 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
6648 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
6649 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
6650 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
6651 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
6652 * sysdeps/s390/ifunc-wcsspn.h: New file.
6654 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6656 * sysdeps/s390/multiarch/Makefile
6657 (sysdep_routines): Remove wcsrchr variants.
6658 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
6659 * sysdeps/s390/multiarch/ifunc-impl-list.c
6660 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
6661 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
6662 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
6663 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
6664 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
6665 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
6666 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
6667 * sysdeps/s390/ifunc-wcsrchr.h: New file.
6669 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6671 * sysdeps/s390/multiarch/Makefile
6672 (sysdep_routines): Remove wcschrnul variants.
6673 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
6674 * sysdeps/s390/multiarch/ifunc-impl-list.c
6675 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
6676 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
6677 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
6678 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
6679 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
6680 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
6681 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
6682 * sysdeps/s390/ifunc-wcschrnul.h: New file.
6684 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6686 * sysdeps/s390/multiarch/Makefile
6687 (sysdep_routines): Remove wcschr variants.
6688 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
6689 * sysdeps/s390/multiarch/ifunc-impl-list.c
6690 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
6691 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
6692 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
6693 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
6694 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
6695 * sysdeps/s390/multiarch/wcschr.c: Move to ...
6696 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
6697 * sysdeps/s390/ifunc-wcschr.h: New file.
6699 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6701 * sysdeps/s390/multiarch/Makefile
6702 (sysdep_routines): Remove wcsncmp variants.
6703 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
6704 * sysdeps/s390/multiarch/ifunc-impl-list.c
6705 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
6706 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
6707 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
6708 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
6709 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
6710 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
6711 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
6712 * sysdeps/s390/ifunc-wcsncmp.h: New file.
6714 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6716 * sysdeps/s390/multiarch/Makefile
6717 (sysdep_routines): Remove wcscmp variants.
6718 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
6719 * sysdeps/s390/multiarch/ifunc-impl-list.c
6720 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
6721 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
6722 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
6723 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
6724 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
6725 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
6726 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
6727 * sysdeps/s390/ifunc-wcscmp.h: New file.
6729 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6731 * sysdeps/s390/multiarch/Makefile
6732 (sysdep_routines): Remove wcsncat variants.
6733 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
6734 * sysdeps/s390/multiarch/ifunc-impl-list.c
6735 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
6736 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
6737 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
6738 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
6739 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
6740 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
6741 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
6742 * sysdeps/s390/ifunc-wcsncat.h: New file.
6744 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6746 * sysdeps/s390/multiarch/Makefile
6747 (sysdep_routines): Remove wcscat variants.
6748 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
6749 * sysdeps/s390/multiarch/ifunc-impl-list.c
6750 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
6751 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
6752 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
6753 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
6754 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
6755 * sysdeps/s390/multiarch/wcscat.c: Move to ...
6756 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
6757 * sysdeps/s390/ifunc-wcscat.h: New file.
6759 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6761 * sysdeps/s390/multiarch/Makefile
6762 (sysdep_routines): Remove wcpncpy variants.
6763 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
6764 * sysdeps/s390/multiarch/ifunc-impl-list.c
6765 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
6766 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
6767 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
6768 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
6769 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
6770 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
6771 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
6772 * sysdeps/s390/ifunc-wcpncpy.h: New file.
6774 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6776 * sysdeps/s390/multiarch/Makefile
6777 (sysdep_routines): Remove wcsncpy variants.
6778 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
6779 * sysdeps/s390/multiarch/ifunc-impl-list.c
6780 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
6781 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
6782 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
6783 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
6784 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
6785 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
6786 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
6787 * sysdeps/s390/ifunc-wcsncpy.h: New file.
6789 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6791 * sysdeps/s390/multiarch/Makefile
6792 (sysdep_routines): Remove wcpcpy variants.
6793 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
6794 * sysdeps/s390/multiarch/ifunc-impl-list.c
6795 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
6796 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
6797 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
6798 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
6799 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
6800 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
6801 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
6802 * sysdeps/s390/ifunc-wcpcpy.h: New file.
6804 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6806 * sysdeps/s390/multiarch/Makefile
6807 (sysdep_routines): Remove wcscpy variants.
6808 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
6809 * sysdeps/s390/multiarch/ifunc-impl-list.c
6810 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
6811 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
6812 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
6813 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
6814 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
6815 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
6816 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
6817 * sysdeps/s390/ifunc-wcscpy.h: New file.
6819 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6821 * sysdeps/s390/multiarch/Makefile
6822 (sysdep_routines): Remove wcsnlen variants.
6823 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
6824 * sysdeps/s390/multiarch/ifunc-impl-list.c
6825 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
6826 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
6827 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
6828 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
6829 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
6830 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
6831 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
6832 * sysdeps/s390/ifunc-wcsnlen.h: New file.
6834 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6836 * sysdeps/s390/multiarch/Makefile
6837 (sysdep_routines): Remove wcslen variants.
6838 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
6839 * sysdeps/s390/multiarch/ifunc-impl-list.c
6840 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
6841 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
6842 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
6843 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
6844 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
6845 * sysdeps/s390/multiarch/wcslen.c: Move to ...
6846 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
6847 * sysdeps/s390/ifunc-wcslen.h: New file.
6849 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6851 * sysdeps/s390/multiarch/Makefile
6852 (sysdep_routines): Remove memrchr variants.
6853 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
6854 * sysdeps/s390/multiarch/ifunc-impl-list.c
6855 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
6856 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
6857 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
6858 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
6859 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
6860 * sysdeps/s390/multiarch/memrchr.c: Move to ...
6861 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
6862 * sysdeps/s390/ifunc-memrchr.h: New file.
6864 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6866 * sysdeps/s390/multiarch/Makefile
6867 (sysdep_routines): Remove memccpy variants.
6868 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
6869 * sysdeps/s390/multiarch/ifunc-impl-list.c
6870 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
6871 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
6872 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
6873 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
6874 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
6875 * sysdeps/s390/multiarch/memccpy.c: Move to ...
6876 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
6877 * sysdeps/s390/ifunc-memccpy.h: New file.
6879 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6881 * sysdeps/s390/multiarch/Makefile
6882 (sysdep_routines): Remove rawmemchr variants.
6883 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
6884 * sysdeps/s390/multiarch/ifunc-impl-list.c
6885 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
6886 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
6887 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
6888 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
6889 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
6890 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
6891 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
6892 * sysdeps/s390/ifunc-rawmemchr.h: New file.
6894 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6896 * sysdeps/s390/multiarch/Makefile
6897 (sysdep_routines): Remove memchr variants.
6898 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
6899 * sysdeps/s390/multiarch/ifunc-impl-list.c
6900 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
6901 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
6902 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
6903 * sysdeps/s390/multiarch/memchr.c: Move to ...
6904 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
6905 * sysdeps/s390/ifunc-memchr.h: New file.
6906 * sysdeps/s390/s390-64/memchr.S: Move to ...
6907 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
6908 for 31/64bit and ifunc handling.
6909 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
6910 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6911 * sysdeps/s390/s390-32/memchr.S: Likewise.
6913 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6915 * sysdeps/s390/multiarch/Makefile
6916 (sysdep_routines): Remove strcspn variants.
6917 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
6918 * sysdeps/s390/multiarch/ifunc-impl-list.c
6919 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
6920 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
6921 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
6922 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
6923 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
6924 * sysdeps/s390/multiarch/strcspn.c: Move to ...
6925 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
6926 * sysdeps/s390/ifunc-strcspn.h: New file.
6928 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6930 * sysdeps/s390/multiarch/Makefile
6931 (sysdep_routines): Remove strpbrk variants.
6932 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
6933 * sysdeps/s390/multiarch/ifunc-impl-list.c
6934 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
6935 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
6936 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
6937 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
6938 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
6939 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
6940 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
6941 * sysdeps/s390/ifunc-strpbrk.h: New file.
6943 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6945 * sysdeps/s390/multiarch/Makefile
6946 (sysdep_routines): Remove strspn variants.
6947 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
6948 * sysdeps/s390/multiarch/ifunc-impl-list.c
6949 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
6950 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
6951 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
6952 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
6953 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
6954 * sysdeps/s390/multiarch/strspn.c: Move to ...
6955 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
6956 * sysdeps/s390/ifunc-strspn.h: New file.
6958 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6960 * sysdeps/s390/multiarch/Makefile
6961 (sysdep_routines): Remove strrchr variants.
6962 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
6963 * sysdeps/s390/multiarch/ifunc-impl-list.c
6964 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
6965 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
6966 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
6967 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
6968 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
6969 * sysdeps/s390/multiarch/strrchr.c: Move to ...
6970 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
6971 * sysdeps/s390/ifunc-strrchr.h: New file.
6973 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6975 * sysdeps/s390/multiarch/Makefile
6976 (sysdep_routines): Remove strchrnul variants.
6977 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
6978 * sysdeps/s390/multiarch/ifunc-impl-list.c
6979 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
6980 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
6981 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
6982 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
6983 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
6984 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
6985 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
6986 * sysdeps/s390/ifunc-strchrnul.h: New file.
6988 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6990 * sysdeps/s390/multiarch/Makefile
6991 (sysdep_routines): Remove strchr variants.
6992 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
6993 * sysdeps/s390/multiarch/ifunc-impl-list.c
6994 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
6995 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
6996 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
6997 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
6998 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
6999 * sysdeps/s390/multiarch/strchr.c: Move to ...
7000 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
7001 * sysdeps/s390/ifunc-strchr.h: New file.
7003 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7005 * sysdeps/s390/multiarch/Makefile
7006 (sysdep_routines): Remove strncmp variants.
7007 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
7008 * sysdeps/s390/multiarch/ifunc-impl-list.c
7009 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
7010 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
7011 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
7012 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
7013 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
7014 * sysdeps/s390/multiarch/strncmp.c: Move to ...
7015 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
7016 * sysdeps/s390/ifunc-strncmp.h: New file.
7018 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7020 * sysdeps/s390/multiarch/Makefile
7021 (sysdep_routines): Remove strcmp variants.
7022 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
7023 * sysdeps/s390/multiarch/ifunc-impl-list.c
7024 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
7025 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
7026 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
7027 * sysdeps/s390/multiarch/strcmp.c: Move to ...
7028 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
7029 * sysdeps/s390/ifunc-strcmp.h: New file.
7030 * sysdeps/s390/s390-64/strcmp.S: Move to ...
7031 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
7032 for 31/64bit and ifunc handling.
7033 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
7034 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7035 * sysdeps/s390/s390-32/strcmp.S: Likewise.
7037 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7039 * sysdeps/s390/multiarch/Makefile
7040 (sysdep_routines): Remove strncat variants.
7041 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
7042 * sysdeps/s390/multiarch/ifunc-impl-list.c
7043 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
7044 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
7045 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
7046 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
7047 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
7048 * sysdeps/s390/multiarch/strncat.c: Move to ...
7049 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
7050 * sysdeps/s390/ifunc-strncat.h: New file.
7052 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7054 * sysdeps/s390/multiarch/Makefile
7055 (sysdep_routines): Remove strcat variants.
7056 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
7057 * sysdeps/s390/multiarch/ifunc-impl-list.c
7058 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
7059 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
7060 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
7061 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
7062 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
7063 * sysdeps/s390/multiarch/strcat.c: Move to ...
7064 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
7065 * sysdeps/s390/ifunc-strcat.h: New file.
7067 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7069 * sysdeps/s390/multiarch/Makefile
7070 (sysdep_routines): Remove stpncpy variants.
7071 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
7072 * sysdeps/s390/multiarch/ifunc-impl-list.c
7073 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
7074 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
7075 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
7076 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
7077 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
7078 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
7079 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
7080 * sysdeps/s390/ifunc-stpncpy.h: New file.
7082 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7084 * sysdeps/s390/multiarch/Makefile
7085 (sysdep_routines): Remove strncpy variants.
7086 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
7087 * sysdeps/s390/multiarch/ifunc-impl-list.c
7088 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
7089 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
7090 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
7091 * sysdeps/s390/multiarch/strncpy.c: Move to ...
7092 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
7093 * sysdeps/s390/ifunc-strncpy.h: New file.
7094 * sysdeps/s390/s390-64/strncpy.S: Move to ...
7095 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
7096 and adjust ifunc handling.
7097 * sysdeps/s390/s390-32/strncpy.S: Move to ...
7098 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
7099 and adjust ifunc handling.
7100 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
7101 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7103 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7105 * sysdeps/s390/multiarch/Makefile
7106 (sysdep_routines): Remove stpcpy variants.
7107 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
7108 * sysdeps/s390/multiarch/ifunc-impl-list.c
7109 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
7110 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
7111 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
7112 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
7113 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
7114 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
7115 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
7116 * sysdeps/s390/ifunc-stpcpy.h: New file.
7118 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7120 * sysdeps/s390/multiarch/Makefile
7121 (sysdep_routines): Remove strcpy variants.
7122 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
7123 * sysdeps/s390/multiarch/ifunc-impl-list.c
7124 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
7125 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
7126 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
7127 * sysdeps/s390/multiarch/strcpy.c: Move to ...
7128 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
7129 * sysdeps/s390/ifunc-strcpy.h: New file.
7130 * sysdeps/s390/s390-64/strcpy.S: Move to ...
7131 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
7132 for 31/64bit and ifunc handling.
7133 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
7134 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7135 * sysdeps/s390/s390-32/strcpy.S: Likewise.
7137 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7139 * sysdeps/s390/multiarch/Makefile
7140 (sysdep_routines): Remove strnlen variants.
7141 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
7142 * sysdeps/s390/multiarch/ifunc-impl-list.c
7143 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
7144 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
7145 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
7146 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
7147 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
7148 * sysdeps/s390/multiarch/strnlen.c: Move to ...
7149 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
7150 * sysdeps/s390/ifunc-strnlen.h: New file.
7152 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7154 * sysdeps/s390/multiarch/Makefile
7155 (sysdep_routines): Remove strlen variants.
7156 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
7157 * sysdeps/s390/multiarch/ifunc-impl-list.c
7158 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
7159 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
7160 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
7161 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
7162 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
7163 * sysdeps/s390/multiarch/strlen.c: Move to ...
7164 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
7165 * sysdeps/s390/ifunc-strlen.h: New file.
7167 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7169 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
7170 * sysdeps/s390/multiarch/ifunc-impl-list.c
7171 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
7172 * sysdeps/s390/ifunc-memmem.h: New file.
7173 * sysdeps/s390/memmem.c: Likewise.
7174 * sysdeps/s390/memmem-c.c: Likewise.
7175 * sysdeps/s390/memmem-vx.c: Likewise.
7177 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7179 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
7180 * sysdeps/s390/multiarch/ifunc-impl-list.c
7181 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
7182 * sysdeps/s390/ifunc-strstr.h: New file.
7183 * sysdeps/s390/strstr.c: Likewise.
7184 * sysdeps/s390/strstr-c.c: Likewise.
7185 * sysdeps/s390/strstr-vx.c: Likewise.
7187 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7189 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
7190 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
7191 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
7192 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
7194 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
7195 * sysdeps/s390/memmove-c.c: New file.
7196 * sysdeps/s390/memmove.c: Likewise.
7197 * sysdeps/s390/multiarch/ifunc-impl-list.c
7198 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
7200 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7202 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
7203 * sysdeps/s390/configure.ac: Add check for z13 support.
7204 * sysdeps/s390/configure: Regenerated.
7206 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7208 * sysdeps/s390/memcopy.h: New file.
7210 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7212 * sysdeps/s390/s390-32/bcopy.S: Remove.
7213 * sysdeps/s390/s390-64/bcopy.S: Likewise.
7215 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7217 * sysdeps/s390/ifunc-memcpy.h: New File.
7218 * sysdeps/s390/memcpy.S: Move to ...
7219 * sysdeps/s390/memcpy-z900.S ... here.
7220 Move implementations from memcpy-s390x.s to here.
7221 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
7222 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7223 Remove memcpy/mempcpy variants.
7224 * sysdeps/s390/Makefile (sysdep_routines):
7225 Add memcpy/mempcpy variants.
7226 * sysdeps/s390/multiarch/ifunc-impl-list.c
7227 (__libc_ifunc_impl_list): Adjust ifunc variants for
7229 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
7231 * sysdeps/s390/memcpy.c: ... here.
7232 Adjust ifunc variants for memcpy.
7233 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
7234 * sysdeps/s390/mempcpy.c: ... here.
7235 Adjust ifunc variants for mempcpy.
7236 * sysdeps/s390/mempcpy.S: Delete file.
7238 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7240 * sysdeps/s390/s390-64/memcpy.S: Move to ...
7241 * sysdeps/s390/memcpy.S: ... here.
7242 Adjust to be usable for 31/64bit.
7243 * sysdeps/s390/s390-32/memcpy.S: Delete File.
7244 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
7245 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
7246 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7247 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
7248 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
7249 Adjust to be usable for 31/64bit.
7250 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
7251 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
7252 * sysdeps/s390/multiarch/memcpy.c: ... here.
7253 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
7255 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7257 * sysdeps/s390/ifunc-memcmp.h: New File.
7258 * sysdeps/s390/memcmp.S: Move to ...
7259 * sysdeps/s390/memcmp-z900.S ... here.
7260 Move implementations from memcmp-s390x.s to here.
7261 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
7262 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7263 Remove memcmp variants.
7264 * sysdeps/s390/Makefile (sysdep_routines):
7265 Add memcmp variants.
7266 * sysdeps/s390/multiarch/ifunc-impl-list.c
7267 (__libc_ifunc_impl_list): Adjust ifunc variants for
7269 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
7271 * sysdeps/s390/memcmp.c: ... here.
7272 Adjust ifunc variants for memcmp.
7274 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7276 * sysdeps/s390/s390-64/memcmp.S: Move to ...
7277 * sysdeps/s390/memcmp.S: ... here.
7278 Adjust to be usable for 31/64bit.
7279 * sysdeps/s390/s390-32/memcmp.S: Delete File.
7280 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
7281 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7283 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7284 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
7285 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
7286 Adjust to be usable for 31/64bit.
7287 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
7288 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
7289 * sysdeps/s390/multiarch/memcmp.c: ... here.
7290 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
7292 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7294 * sysdeps/s390/s390-32/bzero.S: Delete file.
7295 * sysdeps/s390/s390-64/bzero.S: Likewise.
7296 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
7297 * sysdeps/s390/bzero.c: New file.
7298 * sysdeps/s390/memset-z900.S: Add bzero entry points.
7299 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
7300 * sysdeps/s390/multiarch/ifunc-impl-list.c
7301 (__libc_ifunc_impl_list): Add bzero ifunc variants.
7303 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7305 * sysdeps/s390/ifunc-memset.h: New File.
7306 * sysdeps/s390/memset.S: Move to ...
7307 * sysdeps/s390/memset-z900.S ... here.
7308 Move implementations from memset-s390x.s to here.
7309 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
7310 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7311 Remove memset variants.
7312 * sysdeps/s390/Makefile (sysdep_routines):
7313 Add memset variants.
7314 * sysdeps/s390/multiarch/ifunc-impl-list.c
7315 (__libc_ifunc_impl_list): Adjust ifunc variants for
7317 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
7319 * sysdeps/s390/memset.c: ... here.
7320 Adjust ifunc variants for memset.
7322 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7324 * sysdeps/s390/s390-64/memset.S: Move to ...
7325 * sysdeps/s390/memset.S: ... here.
7326 Adjust to be usable for 31/64bit.
7327 * sysdeps/s390/s390-32/memset.S: Delete File.
7328 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
7329 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7331 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7332 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
7333 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
7334 Adjust to be usable for 31/64bit.
7335 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
7336 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
7337 * sysdeps/s390/multiarch/memset.c: ... here.
7338 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
7340 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7342 * sysdeps/s390/multiarch/ifunc-resolve.h
7343 (s390_libc_ifunc_init, s390_libc_ifunc,
7344 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
7346 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7348 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
7349 * sysdeps/s390/configure.ac: Add check for z10 support.
7350 * sysdeps/s390/configure: Regenerated.
7352 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
7354 * sysdeps/i386/atomic-machine.h: Merged with ...
7355 * sysdeps/x86_64/atomic-machine.h: To ...
7356 * sysdeps/x86/atomic-machine.h: This. New file.
7358 2018-12-18 Florian Weimer <fweimer@redhat.com>
7360 Rewrite locale/gen-translit.pl in Python.
7361 * locale/Makefile (generated): Add C-translit.h.
7362 (before-compile): Add $(objpfx)C-translit.h.
7363 (C-translit.h): Move to $(objpfx). Create target directory.
7364 Build using Python script.
7365 * locale/gen-translit.py: New file.
7366 * locale/gen-translit.pl: Remove file.
7367 * locale/C-translit.h.in: Change comment character to '#' for
7368 easier parsing without a C preprocessor.
7369 * locale/C-translit.h: Remove generated file.
7370 * manual/install.texi (Tools for Compilation): Do not mention
7372 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7373 Remove locale/C-translit.h.
7374 * scripts/update-copyrights: Likewise.
7375 * INSTALL: Regenerate.
7377 2018-12-18 Florian Weimer <fweimer@redhat.com>
7380 * localedata/locales/bi_VU: Remove executable bit from file.
7382 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
7385 (__localtime64): Add.
7386 * manual/maint.texi: Document Y2038 symbol handling.
7388 (__localtime64): Add.
7389 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
7391 2018-12-17 Joseph Myers <joseph@codesourcery.com>
7393 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
7396 * scripts/glibcextract.py (compare_macro_consts): Take parameters
7397 to allow extra macros from first or second sources.
7398 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
7399 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7400 (tests-special): Add $(objpfx)tst-mman-consts.out.
7401 ($(objpfx)tst-mman-consts.out): New makefile target.
7403 2018-12-17 Mao Han <han_mao@c-sky.com>
7405 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
7406 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
7407 without stat64 system call support.
7408 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
7409 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
7410 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7411 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
7412 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
7413 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
7414 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
7415 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
7416 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
7417 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
7418 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
7420 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
7422 regex: fix storage-exhaustion error
7424 * posix/regexec.c (get_subexp):
7425 Do not continue if storage is exhausted.
7427 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
7429 regex: fix heap-use-after-free error
7431 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
7432 https://debbugs.gnu.org/32592
7433 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
7434 call extend_buffers which reallocates the re_string_t internal buffer.
7435 Local variable 'buf' was not updated in such case, resulting in
7437 * posix/regexec.c (get_subexp): Update 'buf' after call to
7440 2018-12-15 Florian Weimer <fweimer@redhat.com>
7442 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
7443 (minimum_stride_size): Use it.
7444 (support_blob_repeat_allocate): Likewise.
7446 2018-12-14 Joseph Myers <joseph@codesourcery.com>
7448 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
7453 2018-12-14 Florian Weimer <fweimer@redhat.com>
7455 * manual/process.texi (Process Creation Concepts): Remove
7456 documentation of process (ID) lifetime. List more process
7457 creation functions. Reference Process Identification section.
7458 (Process Identification): Add information about process ID
7459 lifetime. Describe Linux thread/task IDs.
7460 * manual/signal.texi (Signaling Another Process): Mention that the
7461 signal is always sent to the process.
7463 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7465 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
7466 and tst-ldbl-efgcvt.
7467 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
7468 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
7469 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
7470 (fcvt_tests, output_error, output_r_error, do_test): Use the
7471 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
7472 select the type of floating-point variables and arguments; to
7473 produce extra tests for double and conversion specifiers for
7474 printf; and to set the names of called functions.
7475 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
7476 in tst-efgcvt-template.c.
7477 * misc/tst-ldbl-efgcvt.c: Likewise.
7479 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
7481 * nss/Makefile (tst-nss-test3.out): New rule.
7483 2018-12-13 Joseph Myers <joseph@codesourcery.com>
7485 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
7488 2018-12-13 fanjinke <fanjinke@hygon.cn>
7490 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
7493 2018-12-13 Andreas Schwab <schwab@suse.de>
7496 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
7497 (__pthread_rwlock_rdlock_full): Update expected value for
7498 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
7499 * nptl/tst-rwlock-pwn.c: New file.
7500 * nptl/Makefile (tests): Add tst-rwlock-pwn.
7502 2018-12-12 Joseph Myers <joseph@codesourcery.com>
7504 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
7507 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7509 * benchtests/scripts/compare_bench.py (do_compare): write to
7510 stderr in casestat is not present.
7511 * benchtests/scripts/compare_bench.py (plot_graphs): write to
7512 stderr in case timings field is not present. Also string showing
7513 the output filename goes into the stderr.
7515 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7517 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
7518 and ZeroDivisorError exceptions.
7519 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
7520 argument to loop through user provided statistics.
7521 * benchtests/scripts/compare_bench.py (main): Include the --stats
7524 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7526 * benchtests/scripts/compare_bench.py (compare_runs): Continue
7529 2018-12-12 Florian Weimer <fweimer@redhat.com>
7531 * sysdeps/posix/timespec_get.c: Add missing “any later version”
7532 clause to copyright header.
7534 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7537 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
7538 registers saved in the stack frame.
7539 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
7540 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
7542 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7544 * include/bits/monetary-ldbl.h: New file.
7545 * include/bits/printf-ldbl.h: Likewise.
7546 * include/bits/stdio-ldbl.h: Likewise.
7547 * include/bits/stdlib-ldbl.h: Likewise.
7548 * include/bits/syslog-ldbl.h: Likewise.
7549 * include/bits/wchar-ldbl.h: Likewise.
7551 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7553 * libio/libio.h: Remove redirection for _IO_vfprintf.
7555 2018-12-11 Andreas Schwab <schwab@suse.de>
7557 * Makerules: Remove all references to abilist-pattern.
7558 (update-all-abi): Simplify find expression.
7560 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7563 * math/auto-libm-test-in: Add new test case.
7564 * math/auto-libm-test-out-pow: Regenerated.
7565 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
7567 2018-12-10 DJ Delorie <dj@redhat.com>
7570 * support/test-container.c: Move postclean step to before we
7573 2018-12-10 Joseph Myers <joseph@codesourcery.com>
7575 * scripts/gen-as-const.py (main): Handle --python option.
7576 * scripts/gen-py-const.awk: Remove.
7577 * Makerules (py-const-script): Use gen-as-const.py.
7578 ($(py-const)): Likewise.
7579 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
7580 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
7581 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
7582 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
7583 ~PTHREAD_MUTEX_NO_ELISION_NP.
7584 * manual/README.pretty-printers: Update reference to
7587 * scripts/glibcextract.py: New file.
7588 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
7589 or tempfile. Import glibcexctract.
7590 (compute_c_consts): Remove. Moved to glibcextract.py.
7591 (gen_test): Update reference to compute_c_consts.
7593 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
7594 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
7595 * sysdeps/unix/sysv/linux/Makefile
7596 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
7597 Redirect stderr as well as stdout.
7599 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
7602 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
7603 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
7604 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
7605 ALWAYS_USE_VSYSCALL.
7606 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
7607 ALWAYS_USE_VSYSCALL.
7608 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
7609 ALWAYS_USE_VSYSCALL.
7611 2018-12-10 Florian Weimer <fweimer@redhat.com>
7614 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
7615 offset instead of count for clarity. Fix typo in comment.
7616 (__old_getdents64): Keep track of previous offset. Use it to call
7618 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
7619 that d_off is never zero.
7621 2018-12-10 Andreas Schwab <schwab@suse.de>
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
7624 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
7625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
7626 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
7627 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
7629 2018-12-10 Joseph Myers <joseph@codesourcery.com>
7631 * timezone/private.h: Update from tzcode 2018g.
7632 * timezone/tzfile.h: Likewise.
7633 * timezone/tzselect.ksh: Likewise.
7634 * timezone/zdump.c: Likewise.
7635 * timezone/zic.c: Likewise.
7637 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7640 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
7641 (do_test): Adjust buffer size and fix format.
7643 2018-12-07 DJ Delorie <dj@redhat.com>
7646 * malloc/tst-tcfree3.c: New.
7647 * malloc/Makefile: Add it.
7649 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7651 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
7653 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7655 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
7656 used as a mask for the mode argument of __vfscanf_internal and
7657 __vfwscanf_internal.
7658 * stdio-common/vfscanf-internal.c
7659 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
7660 (__strtof128_internal): Define to __wcstof128_internal.
7661 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
7662 __strtof128_internal or __wcstof128_internal when the format of
7663 long double is the same as _Float128.
7665 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
7667 * include/unistd.h (__confstr): Add prototype and hidden prototype.
7668 * posix/confstr.c (confstr): Rename to __confstr.
7669 (__confstr): Add hidden def.
7670 (confstr): Add weak alias for __confstr.
7671 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
7674 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7676 * NEWS: Mention getcpu.
7677 * include/sched.h (__getcpu): New libc_hidden_proto.
7678 * manual/resource.texi: Document getcpu.
7679 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
7680 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
7681 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
7682 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7683 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7684 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7685 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7686 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7687 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7688 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7689 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7690 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7691 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
7693 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7694 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7695 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
7704 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7705 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7706 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7707 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7708 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7709 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7710 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7711 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7712 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
7713 * sysdeps/unix/sysv/linux/getcpu.c: New file.
7714 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
7717 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
7719 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
7721 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
7723 2018-12-07 Florian Weimer <fweimer@redhat.com>
7726 * posix/Makefile (routines): Add spawn_faction_addfchdir.
7727 * posix/Versions (GLIBC_2.29): Export
7728 posix_spawn_file_actions_addfchdir_np.
7729 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
7730 * posix/spawn_faction_destroy.c
7731 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
7732 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
7733 and the field action.fchdir_action.
7734 * posix/tst-spawn-chdir.c (add_chdir): New function.
7735 (do_test): Add do_fchdir loop. Call add_chdir.
7736 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
7737 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7738 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7739 posix_spawn_file_actions_addfchdir_np.
7740 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7742 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7744 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7745 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7747 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7749 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7751 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7753 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7755 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7757 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7758 (GLIBC_2.29): Likewise.
7759 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7760 (GLIBC_2.29): Likewise.
7761 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7762 (GLIBC_2.29): Likewise.
7763 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7764 (GLIBC_2.29): Likewise.
7765 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7768 (GLIBC_2.29): Likewise.
7769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7770 (GLIBC_2.29): Likewise.
7771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7772 (GLIBC_2.29): Likewise.
7773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7774 (GLIBC_2.29): Likewise.
7775 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7777 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7779 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7781 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7782 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7784 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7786 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7788 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7791 2018-12-06 Joseph Myers <joseph@codesourcery.com>
7793 * manual/texinfo.tex: Update to version 2018-09-21.20 with
7794 trailing whitespace removed.
7795 * scripts/config.guess: Update to version 2018-11-28.
7796 * scripts/config.sub: Update to version 2018-11-28.
7797 * scripts/install-sh: Update to version 2018-03-11.20.
7798 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
7799 * scripts/move-if-change: Update to version 2018-03-07 03:47.
7801 2018-12-07 Florian Weimer <fweimer@redhat.com>
7805 * inet/tst-if_index-long.c: New file.
7806 * inet/Makefile (tests): Add tst-if_index-long.
7808 2018-12-07 Florian Weimer <fweimer@redhat.com>
7810 * support/check.h (support_record_failure_is_failed): Declare.
7811 * support/descriptors.h: New file.
7812 * support/support_descriptors.c: Likewise.
7813 * support/tst-support_descriptors.c: Likewise.
7814 * support/support_record_failure.c
7815 (support_record_failure_is_failed): New function.
7816 * support/Makefile (libsupport-routines): Add support_descriptors.
7817 (tests): Add tst-support_descriptors.
7819 2018-12-05 Zack Weinberg <zackw@panix.com>
7820 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7822 * stdio-common/vfprintf-internal.c
7823 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
7824 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
7825 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
7826 and __no_long_double.
7827 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
7828 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
7829 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
7830 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
7831 and __nldbl_*syslog* functions.
7832 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
7833 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
7834 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
7835 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
7836 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
7837 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
7838 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
7839 (__nldbl_vwprintf, __nldbl_wprintf):
7840 Directly call the appropriate __v*printf_internal routine, passing
7841 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
7843 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
7844 (__nldbl___printf_chk, __nldbl___snprintf_chk)
7845 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
7846 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
7847 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
7848 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7849 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
7850 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
7851 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
7852 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
7853 Likewise, and also pass PRINTF_FORTIFY when appropriate.
7854 (__nldbl_syslog, __nldbl_vsyslog):
7855 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
7856 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7858 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7861 2018-12-05 Zack Weinberg <zackw@panix.com>
7862 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7865 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
7866 Moved here from debug/vsprintf_chk.c.
7867 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
7868 and completion logic for the strfile to match exactly what
7869 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
7870 _IO_str_init_static_internal instead of maxlen-1.
7871 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7872 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
7873 __vsprintf_internal.
7875 * debug/vsprintf_chk.c (__vsprintf_chk)
7876 * debug/sprintf_chk.c (__sprintf_chk):
7877 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
7878 'flags' argument is positive, and slen as maxlen. No need to lock
7879 the FILE and/or construct a temporary FILE. Minimize and normalize
7880 header inclusions and variable names. Do not libc_hidden_def anything.
7882 * debug/asprintf_chk.c (__asprintf_chk)
7883 * debug/dprintf_chk.c (__dprintf_chk)
7884 * debug/fprintf_chk.c (__fprintf_chk)
7885 * debug/fwprintf_chk.c (__fwprintf_chk)
7886 * debug/printf_chk.c (__printf_chk)
7887 * debug/snprintf_chk.c (__snprintf_chk)
7888 * debug/swprintf_chk.c (__swprintf_chk)
7889 * debug/vasprintf_chk.c (__vasprintf_chk)
7890 * debug/vdprintf_chk.c (__vdprintf_chk)
7891 * debug/vfprintf_chk.c (__vfprintf_chk)
7892 * debug/vfwprintf_chk.c (__vfwprintf_chk)
7893 * debug/vprintf_chk.c (__vprintf_chk)
7894 * debug/vsnprintf_chk.c (__vsnprintf_chk)
7895 * debug/vswprintf_chk.c (__vswprintf_chk)
7896 * debug/vwprintf_chk.c (__vwprintf_chk)
7897 * debug/wprintf_chk.c (__wprintf_chk):
7898 Directly call the corresponding vxxprintf_internal function, passing
7899 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
7900 the FILE and/or construct a temporary FILE. Minimize and normalize
7901 header inclusions and variable names. Do not libc_hidden_def anything.
7903 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
7904 __obstack_vprintf_internal.
7905 (__obstack_vprintf_chk): Convert into a wrapper that calls
7906 __obstack_vprintf_internal (these two functions already had the
7907 same code) and move to new file...
7908 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
7910 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
7911 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
7912 * debug/Makefile (routines): Add vobprintf_chk.
7914 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7915 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7916 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
7917 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7918 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
7919 (__nldbl___obstack_vfprintf_chk):
7920 Directly call the corresponding vxxprintf_internal function,
7921 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
7922 duplicate comparison of slen with 0 or maxlen from the corresponding
7923 non-__nldbl function.
7925 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
7926 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
7927 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
7928 Remove libc_hidden_proto.
7930 * stdio-common/vfprintf-internal.c
7931 (__vfprintf_internal, __vfwprintf_internal):
7932 Do not check _IO_FLAGS2_FORTIFY.
7933 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
7934 * libio/libioP.h: Update prototype of __vsprintf_internal and add
7935 a comment explaining why it has the maxlen argument.
7936 (_IO_acquire_lock_clear_flags2_fct): Remove.
7937 (_IO_acquire_lock_clear_flags2): Remove.
7938 (_IO_release_lock): Remove conditional statement which will
7940 (_IO_acquire_lock): Remove variable which is now unused.
7941 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7942 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7944 * stdio-common/Makefile (tests): Add tst-bz11319 and
7945 tst-bz11319-fortify2.
7946 (CFLAGS-tst-bz11319-fortify2.c): New macro.
7947 * stdio-common/tst-bz11319-fortify2.c: New file.
7948 * stdio-common/tst-bz11319.c: Likewise.
7950 2018-12-05 Zack Weinberg <zackw@panix.com>
7951 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7953 * misc/syslog.c: Include libioP.h, not iolibio.h.
7954 (__vsyslog_internal): New function with the former body of
7955 __vsyslog_chk; takes mode_flags argument same as
7956 __v*printf_internal. Call __vfprintf_internal directly.
7958 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
7959 Remove libc_hidden_def.
7960 (__syslog, __syslog_chk): Use __vsyslog_internal.
7961 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
7963 * include/sys/syslog.h: Add multiple inclusion guard.
7964 Add prototype for __vsyslog_internal.
7965 Remove declaration and libc_hidden_proto for __vsyslog_chk.
7967 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
7968 Use __vsyslog_internal.
7970 2018-12-05 Zack Weinberg <zackw@panix.com>
7971 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7973 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
7974 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
7975 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
7977 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
7978 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
7980 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
7981 Include wctype.h here if COMPILE_WPRINTF is defined.
7982 Define __vfprintf_internal or __vfwprintf_internal, depending
7984 Temporarily, on entry to this function, update mode_flags
7985 according to the environmental settings corresponding to
7986 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
7987 Throughout, check mode_flags instead of __ldbl_is_dbl and
7988 _IO_FLAGS2_FORTIFY on the destination FILE.
7989 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
7990 Include vfprintf-internal.c. Don't include wctype.h.
7991 * stdio-common/vfprintf.c: New file. Just define __vfprintf
7992 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
7994 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
7995 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
7997 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
7999 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
8000 and add mode_flags argument; use __vfprintf_internal.
8001 (__vdprintf): New function. Alias vdprintf to this.
8002 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
8003 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
8004 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
8005 (__obstack_printf): Use __obstack_printf_internal.
8006 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
8007 public aliases __vsnprintf and vsnprintf.
8008 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
8010 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
8011 public aliases _IO_vsprintf and vsprintf.
8012 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
8013 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
8014 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
8015 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
8016 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
8018 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
8019 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
8020 * stdio-common/fprintf.c, stdio-common/fxprintf.c
8021 * stdio-common/printf.c: Use __vfprintf_internal.
8023 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
8024 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
8025 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
8027 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
8028 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
8029 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
8030 __vfwprintf_internal.
8032 * libio/libio.h: Remove libc_hidden_proto and declaration for
8034 Remove declaration of _IO_vfwprintf.
8035 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
8037 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
8039 * include/stdio.h: Add prototype for __vasprintf.
8040 (__vsnprintf): Remove declaration, because there are no more
8042 * include/wchar.h (__vfwprintf, __vswprintf): Remove
8043 declaration, because there are no more internal calls.
8045 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
8046 __vsnprintf_internal, instead of _IO_vsnprintf.
8047 * argp/argp-help.c (__argp_error, __argp_failure): Use
8048 __vasprintf_internal, instead of _IO_vasprintf.
8049 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
8050 redefine, because there are no more internal calls.
8052 2018-12-05 Zack Weinberg <zackw@panix.com>
8053 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8055 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
8056 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
8057 Include libio/strfile.h instead of libioP.h.
8058 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
8059 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
8060 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
8061 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
8062 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
8063 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
8064 necessary. Do not set __no_long_double. Normalize variable names.
8065 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
8066 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
8067 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
8068 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
8069 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
8070 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
8071 Call __vfscanf_internal / __vfwscanf_internal directly, passing
8072 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
8073 Do not set __no_long_double. Normalize variable names.
8075 2018-12-05 Zack Weinberg <zackw@panix.com>
8076 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8078 * stdio-common/isoc99_scanf.c
8079 * stdio-common/isoc99_fscanf.c
8080 * stdio-common/isoc99_sscanf.c
8081 * stdio-common/isoc99_vscanf.c
8082 * stdio-common/isoc99_vfscanf.c
8083 * stdio-common/isoc99_vsscanf.c
8084 * wcsmbs/isoc99_wscanf.c
8085 * wcsmbs/isoc99_fwscanf.c
8086 * wcsmbs/isoc99_swscanf.c
8087 * wcsmbs/isoc99_vwscanf.c
8088 * wcsmbs/isoc99_vfwscanf.c
8089 * wcsmbs/isoc99_vswscanf.c:
8090 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
8091 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
8092 No need to lock and unlock the FILE passed to that function.
8094 * stdio-common/vfscanf-internal.c
8095 (__vfscanf_internal, __vfwscanf_internal):
8096 Don't look at _IO_FLAGS2_SCANF_STD.
8097 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
8098 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
8099 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
8101 2018-12-05 Zack Weinberg <zackw@panix.com>
8102 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8104 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
8105 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
8106 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
8107 * libio/strfile.h: Add multiple inclusion guard.
8108 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
8110 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
8111 consistency with the other version of this file.
8112 (ldbl_compat_symbol): New macro.
8113 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
8116 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
8117 Define __vfscanf_internal or __vfwscanf_internal, depending on
8118 COMPILE_WSCANF; don't define any other public symbols.
8119 Remove errval and code to set errp.
8120 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
8121 as the mode_flags argument.
8122 (encode_error, conv_error, input_error): Don't set errval.
8123 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
8124 Include vfscanf-internal.c.
8125 * stdio-common/vfscanf.c: New file defining the public entry
8126 point vfscanf, which calls __vfscanf_internal.
8127 * stdio-common/vfwscanf.c: New file defining the public entry
8128 point vfwscanf, which calls __vfwscanf_internal.
8130 * stdio-common/iovfscanf.c: New file.
8131 * stdio-common/iovfwscanf.c: Likewise.
8133 * stdio-common/Makefile (routines): Add vfscanf-internal,
8134 vfwscanf-internal, iovfscanf, iovfwscanf.
8135 * stdio-common/Versions: Mention GLIBC_2.29, so that
8136 it can be used in SHLIB_COMPAT expressions.
8137 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
8138 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
8139 Call __vfscanf_internal, instead of _IO_vfscanf.
8140 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
8142 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
8145 * libio/iovsscanf.c: Clean up includes, when possible. Use
8146 _IO_strfile_read or _IO_strfile_readw, when needed. Call
8147 __vfscanf_internal or __vfwscanf_internal directly.
8148 * libio/iovswscanf.c: Likewise.
8149 * libio/swscanf.c: Likewise.
8150 * libio/vscanf.c: Likewise.
8151 * libio/vwscanf.c: Likewise.
8152 * libio/wscanf.c: Likewise.
8153 * stdio-common/isoc99_fscanf.c: Likewise.
8154 * stdio-common/isoc99_scanf.c: Likewise.
8155 * stdio-common/isoc99_sscanf.c: Likewise.
8156 * stdio-common/isoc99_vfscanf.c: Likewise.
8157 * stdio-common/isoc99_vscanf.c: Likewise.
8158 * stdio-common/isoc99_vsscanf.c: Likewise.
8159 * stdio-common/scanf.c: Likewise.
8160 * stdio-common/sscanf.c: Likewise.
8161 * wcsmbs/isoc99_fwscanf.c: Likewise.
8162 * wcsmbs/isoc99_swscanf.c: Likewise.
8163 * wcsmbs/isoc99_vfwscanf.c: Likewise.
8164 * wcsmbs/isoc99_vswscanf.c: Likewise.
8165 * wcsmbs/isoc99_vwscanf.c: Likewise.
8166 * wcsmbs/isoc99_wscanf.c: Likewise.
8168 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
8171 (__tz_compute): Replace time_t with __time64_t.
8172 (__tz_convert): Replace time_t* with __time64_t.
8173 (__offtime): Replace time_t* with __time64_t.
8175 (__gmtime_r): Adjust call to __tz_convert.
8178 (__localtime_r): Likewise.
8179 (localtime): Likewise.
8180 * time/offtime.c: Replace time_t with __time64_t.
8181 * time/tzset.c: Likewise.
8183 2018-12-04 Joseph Myers <joseph@codesourcery.com>
8185 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
8186 dynamic linker unless [$(run-built-tests) = yes].
8188 2018-12-03 DJ Delorie <dj@delorie.com>
8190 * support/test-container.c (check_for_unshare_hints): New.
8191 (main): Call it if unshare fails. Add support for "su" scriptlet
8194 2018-12-03 Joseph Myers <joseph@codesourcery.com>
8196 * scripts/gen-as-const.py (compute_c_consts): Take an argument
8197 'START' to indicate that start text should be output.
8198 (gen_test): Likewise.
8199 (main): Generate 'START' for first symbol or '--' line, or at end
8200 of input if not previously generated.
8202 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
8205 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
8206 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
8207 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
8208 ALWAYS_USE_VSYSCALL.
8210 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8213 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
8216 2018-12-03 Carlos O'Donell <carlos@redhat.com>
8219 * locale/programs/localedef.c: Declare boolean hard_links default true.
8220 (options): Add --no-hard-links option.
8221 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
8222 * locale/programs/localedef.h: Declare prototype for hard_links.
8223 * locale/programs/locfile.c (write_locale_data): Don't use hard
8224 links if hard_links is false.
8226 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
8228 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
8230 (__cache_sysconf): Likewise.
8231 (init_cacheinfo): Likewise.
8232 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
8233 populate COMMON_CPUID_INDEX_80000007 and
8234 COMMON_CPUID_INDEX_80000008.
8235 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
8236 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
8237 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
8238 (init_cpu_features): Use _Static_assert on
8239 index_arch_Fast_Unaligned_Load.
8240 __get_cpuid_registers and __get_arch_feature. Updated for
8241 cpu_features_basic. Set stepping in cpu_features.
8242 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
8243 (FEATURE_INDEX_2): New.
8244 (FEATURE_INDEX_MAX): Changed to enum.
8245 (COMMON_CPUID_INDEX_D_ECX_1): New.
8246 (COMMON_CPUID_INDEX_80000007): Likewise.
8247 (COMMON_CPUID_INDEX_80000008): Likewise.
8248 (cpuid_registers): Likewise.
8249 (cpu_features_basic): Likewise.
8250 (CPU_FEATURE_USABLE): Likewise.
8251 (bit_arch_XXX_Usable): Likewise.
8252 (cpu_features): Use cpuid_registers and cpu_features_basic.
8253 (bit_arch_XXX): Reweritten.
8254 (bit_cpu_XXX): Likewise.
8255 (index_cpu_XXX): Likewise.
8256 (reg_XXX): Likewise.
8257 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
8259 (CHECK_CPU_FEATURE): New.
8260 (CHECK_CPU_FEATURE_USABLE): Likewise.
8261 (cpu_kinds): Likewise.
8262 (do_test): Print vendor, family, model and stepping. Check
8263 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
8264 (TEST_FUNCTION): Removed.
8265 Include <support/test-driver.c> instead of
8266 "../../test-skeleton.c".
8267 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
8268 Check POPCNT instead of POPCOUNT.
8269 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
8271 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8273 * scripts/gen-as-const.py (main): Avoid emitting empty line when
8274 there is no element in `consts'.
8276 2018-12-01 Florian Weimer <fweimer@redhat.com>
8278 * support/support_capture_subprocess.c
8279 (support_capture_subprocess): Check that pipe descriptors have
8280 expected values. Close original pipe descriptors in subprocess.
8282 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8285 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
8286 attr with __pthread_default_barrierattr.
8287 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
8288 attr with __pthread_default_condattr.
8289 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
8290 attr with __pthread_default_mutexattr.
8291 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
8292 attr with __pthread_default_rwlockattr.
8294 2018-12-01 Kemi Wang <kemi.wang@intel.com>
8296 * manual/tunables.texi (POSIX Thread Tunables): New node.
8297 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
8298 * nptl/nptl-init.c: Include pthread_mutex_conf.h
8299 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
8300 __pthread_tunables_init.
8301 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
8302 (max_adaptive_count): Define.
8303 * nptl/pthread_mutex_conf.c: New file.
8304 * nptl/pthread_mutex_conf.h: New file.
8305 * sysdeps/generic/adaptive_spin_count.h: New file.
8306 * sysdeps/nptl/dl-tunables.list: New file.
8307 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8308 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
8309 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
8312 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8315 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
8316 * stdlib/on_exit.c (__on_exit): Likewise.
8317 * stdlib/Makefile (tests): Add tst-bz20544.
8318 * stdlib/tst-bz20544.c: New test.
8320 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
8323 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
8324 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
8327 2018-11-30 Florian Weimer <fweimer@redhat.com>
8329 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
8330 Extend error logging.
8331 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
8334 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8336 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
8337 __sigismember instead of sigismember.
8338 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
8339 cancel_handler): New definitions.
8340 (do_system): Use posix_spawn instead of fork and execl and remove
8342 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
8343 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
8344 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
8345 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8346 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8347 * sysdeps/unix/sysv/linux/system.c: Likewise.
8351 * NEWS: Add new semantic for atfork with popen and system.
8352 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
8355 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8358 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
8359 modification order when accessing reloc_result->addr.
8360 * include/link.h (reloc_result): Add field init.
8361 * nptl/Makefile (tests): Add tst-audit-threads.
8362 (modules-names): Add tst-audit-threads-mod1 and
8363 tst-audit-threads-mod2.
8364 Add rules to build tst-audit-threads.
8365 * nptl/tst-audit-threads-mod1.c: New file.
8366 * nptl/tst-audit-threads-mod2.c: Likewise.
8367 * nptl/tst-audit-threads.c: Likewise.
8368 * nptl/tst-audit-threads.h: Likewise.
8370 2018-11-30 Joseph Myers <joseph@codesourcery.com>
8372 * scripts/gen-as-const.py: New file.
8373 * scripts/gen-as-const.awk: Remove.
8374 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
8376 ($(objpfx)test-as-const-%.c): Likewise.
8378 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8380 * elf/dl-exception.c: Include <_itoa.h>.
8382 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8384 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
8385 returned by __f_setlk.
8387 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8388 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8390 * elf/Makefile (tests-internal): Add tst-create_format1.
8391 * elf/dl-exception.c (_dl_exception_create_format): Support
8393 * elf/tst-create_format1.c: New file.
8395 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
8397 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
8398 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
8400 * argp/argp-help.c (__argp_failure): Likewise.
8402 2018-11-29 Mao Han <han_mao@c-sky.com>
8404 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
8405 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
8406 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
8407 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
8408 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
8409 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
8410 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
8411 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
8412 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
8413 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
8414 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
8415 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
8416 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
8417 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
8418 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
8419 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
8420 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
8421 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
8422 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
8423 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
8424 (R_CKCORE_TLS_TPOFF32): New defines.
8426 2018-11-29 Florian Weimer <fweimer@redhat.com>
8428 * posix/Makefile (before-compile): Remove testcases.h and
8430 (generated): Add testcases.h and ptestcases.h.
8431 (testcases.h, ptestcases.h): Move to $(objpfx).
8432 (runtests.o): Add dependency on testcases.h.
8433 (runptests.o): Add dependency on ptestcases.h.
8434 * posix/testcases.h, posix/ptestcases.h: Remove files.
8435 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
8436 not touch posix/testcases.h and posix/ptestcases.h.
8438 2018-11-28 Florian Weimer <fweimer@redhat.com>
8440 support: Add signal support to support_capture_subprocess_check.
8441 * support/capture_subprocess.h (support_capture_subprocess_check):
8442 Adjust comment and rename parameter.
8443 * support/support_capture_subprocess_check.c
8444 (print_actual_status): New function.
8445 (support_capture_subprocess_check): Support negative
8446 status_or_signal. Call print_actual_status.
8447 * support/tst-support_capture_subprocess.c (do_test): Call
8448 support_capture_subprocess_check.
8449 * libio/tst-vtables-common.c (termination_status)
8450 (init_termination_status): Remove.
8451 (check_for_termination): Adjust support_capture_subprocess_check
8453 (do_test): Remove call to init_termination_status.
8455 2018-11-28 Joseph Myers <joseph@codesourcery.com>
8457 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
8458 source directory instead of a copy.
8459 (CommandList.create_copy_dir): Remove.
8461 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
8463 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8465 2018-11-28 Florian Weimer <fweimer@redhat.com>
8467 * support/support.h (support_quote_string): Do not use str
8470 2018-11-27 Joseph Myers <joseph@codesourcery.com>
8472 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
8473 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
8475 2018-11-27 Florian Weimer <fweimer@redhat.com>
8477 * support/support.h (support_quote_string): Declare.
8478 * support/support_quote_string.c: New file.
8479 * support/tst-support_quote_string.c: Likewise.
8480 * support/Makefile (libsupport-routines): Add
8481 support_quote_string.
8482 (tests): Add tst-support_quote_string.
8484 2018-11-27 Florian Weimer <fweimer@redhat.com>
8488 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
8489 descriptor leak in case of ENODEV error.
8491 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
8494 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
8495 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
8496 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
8498 2018-11-26 Carlos O'Donell <carlos@redhat.com>
8500 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
8501 Error for unknown lines.
8503 2018-11-26 Joseph Myers <joseph@codesourcery.com>
8505 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8506 Touch additional files.
8508 2018-11-26 Florian Weimer <fweimer@redhat.com>
8511 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
8514 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
8517 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
8518 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
8519 SHARED. Include sysdep.h.
8520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
8521 ALWAYS_USE_VSYSCALL.
8522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
8523 ALWAYS_USE_VSYSCALL.
8525 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
8528 * nptl/Makefile (tests-static): Add tst-cond11-static.
8530 * nptl/tst-cond11-static.c: New File.
8531 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
8532 tst-affinity-static.
8534 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
8536 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
8537 (USE_VSYSCALL): Likewise.
8538 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
8539 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
8541 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
8543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
8546 2018-11-23 Joseph Myers <joseph@codesourcery.com>
8549 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8550 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
8553 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
8555 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
8556 (tst-cet-legacy-1a-ARGS): New.
8557 ($(objpfx)tst-cet-legacy-1a): New target.
8558 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
8560 2018-11-22 Joseph Myers <joseph@codesourcery.com>
8562 * conform/conformtest.py (CompileSubTest.__init__): Set
8563 self.run_early to False.
8564 (ExecuteSubTest.__init__): Likewise.
8565 (HeaderTests.run): Try running all non-optional, non-XFAILed
8566 compilation tests in a single execution of the compiler.
8568 * conform/conformtest.py (CompileSubTest): New class.
8569 (ExecuteSubTest): Likewise.
8570 (ElementTest.run): Rename to gen_subtests. Append tests to
8571 self.subtests instead of running them.
8572 (ConstantTest.run): Likewise.
8573 (SymbolTest.run): Likewise.
8574 (TypeTest.run): Likewise.
8575 (TagTest.run): Likewise.
8576 (FunctionTest.run): Likewise.
8577 (VariableTest.run): Likewise.
8578 (MacroFunctionTest.run): Likewise.
8579 (MacroStrTest.run): Likewise.
8580 (HeaderTests.handle_test_line): Generate subtests for tests.
8581 (HeaderTests.run): Run subtests for tests.
8583 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8585 * math/Versions (GLIBC_2.29): Add pow.
8586 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
8588 * math/w_pow.c: New file.
8589 * sysdeps/i386/fpu/w_pow.c: New file.
8590 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
8591 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
8592 and add necessary aliases.
8593 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
8594 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
8595 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8596 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8597 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8598 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8599 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8600 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8601 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8602 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8603 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8604 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8605 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8606 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8607 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8612 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8613 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8614 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8615 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8616 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8617 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8618 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8619 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
8621 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
8622 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
8623 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
8625 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8627 * math/Versions (GLIBC_2.29): Add log2.
8628 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
8630 * math/w_log2.c: New file.
8631 * sysdeps/i386/fpu/w_log2.c: New file.
8632 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
8633 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
8634 and add necessary aliases.
8635 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
8636 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
8637 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8638 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8639 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8640 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8641 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8642 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8643 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8644 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8645 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8646 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8647 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8648 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8649 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8654 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8655 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8656 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8657 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8658 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8659 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8660 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8662 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8664 * math/Versions (GLIBC_2.29): Add log.
8665 * math/w_log_compat.c (__log_compat): Change to versioned compat
8667 * math/w_log.c: New file.
8668 * sysdeps/i386/fpu/w_log.c: New file.
8669 * sysdeps/ia64/fpu/e_log.S: Update.
8670 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
8671 and add necessary aliases.
8672 * sysdeps/ieee754/dbl-64/w_log.c: New file.
8673 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
8674 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8675 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8676 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8677 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8678 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8679 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8680 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8681 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8682 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8683 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8684 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8685 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8686 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8691 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8692 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8693 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8694 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8695 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8696 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8697 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8698 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
8700 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
8701 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
8702 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
8703 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
8705 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8707 * math/Versions (GLIBC_2.29): Add exp and exp2.
8708 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
8709 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
8710 * math/w_exp_compat.c (__exp_compat): Likewise.
8711 * math/w_exp.c: New file.
8712 * math/w_exp2.c: New file.
8713 * sysdeps/i386/fpu/w_exp.c: New file.
8714 * sysdeps/i386/fpu/w_exp2.c: New file.
8715 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
8716 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
8717 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
8718 and add necessary aliases.
8719 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
8720 and add necessary aliases.
8721 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
8722 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
8723 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
8724 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
8725 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8726 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8727 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8728 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8729 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8730 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8731 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8732 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8733 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8734 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8735 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8736 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8737 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8742 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8743 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8744 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8745 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8746 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8747 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8748 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8749 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
8750 (__ieee754_exp): Rename to __exp.
8751 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
8752 (__ieee754_exp): Rename to __exp.
8753 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
8754 (__ieee754_exp): Rename to __exp.
8755 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
8757 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
8759 2018-11-20 DJ Delorie <dj@redhat.com>
8761 * malloc/malloc.c (tcache_entry): Add key field.
8762 (tcache_put): Set it.
8763 (tcache_get): Likewise.
8764 (_int_free): Check for double free in tcache.
8765 * malloc/tst-tcfree1.c: New.
8766 * malloc/tst-tcfree2.c: New.
8767 * malloc/Makefile: Run the new tests.
8768 * manual/probes.texi: Document memory_tcache_double_free probe.
8770 * dlfcn/dlerror.c (check_free): Prevent double frees.
8772 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
8774 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
8776 2018-11-20 Joseph Myers <joseph@codesourcery.com>
8778 * conform/conformtest.py (ElementTest.run): Use unique identifiers
8779 in tests. Use names for format arguments.
8780 (ConstantTest.run): Likewise.
8781 (SymbolTest.run): Likewise.
8782 (TypeTest.run): Likewise.
8783 (TagTest.run): Likewise.
8784 (FunctionTest.run): Likewise.
8785 (VariableTest.run): Likewise.
8786 (MacroFunctionTest.run): Likewise.
8787 (MacroStrTest.run): Likewise.
8788 (HeaderTests.__init__): Set self.num_tests.
8789 (HeaderTests.handle_test_line): Set test.num. Increment
8792 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
8794 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
8795 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
8798 2018-11-19 Mao Han <han_mao@c-sky.com>
8800 * scripts/config.guess: Update to version 2018-08-29.
8801 * scripts/config.sub: Update to version 2018-08-29.
8803 2018-11-19 Florian Weimer <fweimer@redhat.com>
8805 support: Print timestamps in timeout handler.
8806 * support/support_test_main.c (print_timestamp): New function.
8807 (signal_handler): Use it to print the termination time and the
8808 time of the last write to standard output.
8810 2018-11-16 Zack Weinberg <zackw@panix.com>
8811 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8813 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
8814 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
8816 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
8817 and add flags argument. Check flags instead of __ldbl_is_dbl when
8818 deciding whether to set is_long_double.
8819 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
8820 passing zero for flags argument.
8821 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
8823 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8824 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
8825 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
8826 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
8827 variable names. Remove libc_hidden_def/libc_hidden_proto from
8828 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
8829 longer called from within the library.
8830 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
8831 for __nldbl___vstrfmon_l, declare it explicitly.
8833 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
8835 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8837 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
8839 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
8840 F_SETLK64, F_SETLKW64, respectively.
8841 * sysdeps/mach/hurd/f_setlk.c: New file.
8842 * sysdeps/mach/hurd/f_setlk.h: New file.
8843 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
8845 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
8846 (__libc_fcntl): Move non-flock operations to...
8847 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
8848 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
8850 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
8852 mktime: DEBUG_MKTIME cleanup
8853 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
8854 And it’s no longer needed now that glibc and Gnulib both have
8855 their own testing mechanisms for mktime.
8856 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
8858 mktime: fix non-EOVERFLOW errno handling
8860 mktime was not properly reporting failures when the underlying
8861 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
8862 them like EOVERFLOW failures, and set errno to EOVERFLOW.
8863 The problem could happen on non-glibc platforms, with Gnulib.
8864 * time/mktime.c (guess_time_tm): Remove, replacing with ...
8865 (tm_diff): ... this simpler function, which does not change errno.
8866 All callers changed to deal with errno themselves.
8867 (ranged_convert, __mktime_internal): Return failure immediately if
8868 the underlying function reports any failure other than EOVERFLOW.
8869 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
8872 mktime: fix bug with Y2038 DST transition
8874 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
8875 mishandle a DST transition that jumps over the Y2038 boundary.
8876 No such DST transitions are known so this is only a theoretical
8877 bug, but we might as well do things right.
8879 mktime: make more room for overflow
8881 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
8882 This is so that we can add tm_diff results to a previous guess,
8883 which will be useful in a later patch.
8885 mktime: simplify offset guess
8887 * time/mktime.c (__mktime_internal): Omit excess precision.
8889 mktime: new test for mktime failure
8891 Based on a test suggested by Albert Aribaud in:
8892 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
8893 * time/Makefile (tests): Add bug-mktime4.
8894 * time/bug-mktime4.c: New file.
8896 mktime: fix EOVERFLOW bug
8898 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
8899 Include libc-config.h, not config.h, for __set_errno.
8900 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
8902 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8904 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
8905 __attribute_copy__ to copy attributes from name. Drop static qualifier
8906 to avoid warnings about leaf attribute not having effect on static
8909 2018-11-13 Florian Weimer <fweimer@redhat.com>
8911 * malloc/malloc.c (fastbin_push_entry): New function.
8912 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
8913 (REMOVE_FB): Remove macro.
8914 (_int_malloc): Use fastbin_pop_entry and reindent.
8915 (_int_free): Use fastbin_push_entry.
8916 (malloc_consolidate): Use atomic_exchange_acquire.
8918 2018-11-13 Joseph Myers <joseph@codesourcery.com>
8920 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
8921 alias attribute, not with strong_alias.
8923 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
8924 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
8925 with additional parameter thread.
8926 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
8927 in terms of __hidden_ver2.
8928 (hidden_tls_def): New macro.
8929 (libc_hidden_tls_def): Likewise.
8930 (rtld_hidden_tls_def): Likewise.
8931 (libm_hidden_tls_def): Likewise.
8932 (libmvec_hidden_tls_def): Likewise.
8933 (libresolv_hidden_tls_def): Likewise.
8934 (librt_hidden_tls_def): Likewise.
8935 (libdl_hidden_tls_def): Likewise.
8936 (libnss_files_hidden_tls_def): Likewise.
8937 (libnsl_hidden_tls_def): Likewise.
8938 (libnss_nisplus_hidden_tls_def): Likewise.
8939 (libutil_hidden_tls_def): Likewise.
8940 (libutil_hidden_tls_def): Likweise.
8941 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
8942 libc_hidden_tls_def.
8943 (__sim_disabled_exceptions_thread): Likewise.
8944 (__sim_round_mode_thread): Likewise.
8946 * sysdeps/sparc/sparc-ifunc.h [SHARED]
8947 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
8948 copy attributes from name.
8950 2018-11-12 Joseph Myers <joseph@codesourcery.com>
8952 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
8953 Use __attribute_copy__ to copy attributes from name.
8955 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
8956 with __hidden_ver1 call.
8957 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
8958 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
8959 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
8960 (__cosf): Do not declare here.
8961 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
8962 (__sincosf): Do not declare here.
8963 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
8964 (__sinf): Do not declare here.
8966 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
8967 (__BIG_ENDIAN): Likewise.
8968 (__BYTE_ORDER): Likewise.
8969 (strong_alias): Likewise.
8970 (_strong_alias): Likewise.
8972 2018-11-12 Florian Weimer <fweimer@redhat.com>
8974 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
8975 function. Move after the definition of in_smallbin_range. Do not
8976 use __builtin_expect for paths that lead to a noreturn function.
8977 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
8978 because it is unclear whether this is in fact an unlikely
8980 (_int_malloc, _int_free): Adjust.
8981 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
8983 * malloc/arena.c (heap_trim): Likewise.
8985 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8987 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
8988 it, free it if needed.
8989 (reauthenticate): Test and use ccwdir.
8990 (child_init_port): In non-resetids case, test and use ccwdir.
8991 (child_chdir): New nested function to set ccwdir.
8992 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
8993 * hurd/hurd/port.h (_hurd_port_move): New function.
8994 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
8995 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
8996 * hurd/Versions (_hurd_port_move): Export function.
8997 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
8999 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
9000 of dtablesize for allocating dtable_cloexec.
9002 2018-11-09 Martin Sebor <msebor@redhat.com>
9004 * include/libc-symbols.h (__attribute_copy__): Define macro unless
9005 it's already defined.
9006 (_strong_alias): Use __attribute_copy__.
9007 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
9008 * misc/sys/cdefs.h (__attribute_copy__): New macro.
9009 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
9010 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
9011 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
9012 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
9013 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
9014 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
9015 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
9016 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
9017 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
9018 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
9019 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
9020 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
9021 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
9022 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
9023 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
9024 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
9025 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
9027 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9029 * misc/tst-efgcvt.c: Include support/check.h and
9030 support/test-driver.c. Do not include test-skeleton.c.
9031 (error_count): Remove.
9032 (output_error): Replace increments to error_count with calls to
9033 support_record_failure.
9034 (output_r_error): Likewise.
9035 (special): Likewise.
9036 (do_test): Unconditionally return zero.
9037 (TEST_FUNCTION): Remove.
9039 2018-11-09 Joseph Myers <joseph@codesourcery.com>
9041 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
9043 ($(linknamespace-header-tests)): Likewise.
9045 * conform/conformtest.py: New file.
9046 * conform/conformtest.pl: Remove.
9047 * conform/GlibcConform.pm: Likewise.
9048 * conform/glibcconform.py (KEYWORDS_C90): New constant.
9049 (KEYWORDS_C99): Likewise.
9050 (KEYWORDS): Likewise.
9051 * conform/Makefile ($(conformtest-header-tests)): Use
9052 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
9053 option. Use --header instead of --headers.
9054 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
9056 * conform/data/spawn.h-data: Likewise.
9057 * conform/data/fcntl.h-data (openat): Add space after function
9059 * conform/data/wchar.h-data (wcscasecmp): Likewise.
9060 (wcscasecmp_l): Likewise.
9061 * conform/data/termios.h-data (c_cc): Add space after element
9064 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9066 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
9067 instead of manually comparing and reporting mismatching strings.
9068 * misc/tst-ldbl-error.c (do_one_test): Likewise.
9069 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
9071 2018-11-08 Joseph Myers <joseph@codesourcery.com>
9073 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
9074 __ASSUME_SOCKETCALL.
9075 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9076 (__ASSUME_SOCKETCALL): Remove.
9077 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9078 (__ASSUME_SOCKETCALL): Likewise.
9079 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9080 (__ASSUME_SOCKETCALL): Likewise.
9081 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9082 (__ASSUME_SOCKETCALL): Likewise.
9083 * sysdeps/unix/sysv/linux/s390/kernel-features.h
9084 (__ASSUME_SOCKETCALL): Likewise.
9085 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9086 (__ASSUME_SOCKETCALL): Likewise.
9087 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9088 (__ASSUME_SOCKETCALL): Likewise.
9090 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
9093 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
9094 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
9095 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
9096 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
9097 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
9100 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
9103 * resolv/tst-resolv-network.c: Add test for getnetbyname.
9105 2018-11-07 Joseph Myers <joseph@codesourcery.com>
9108 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9109 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9110 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9111 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9113 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9115 * support/support_test_compare_string.c
9116 (support_test_compare_string): Fix printf format.
9118 2018-11-07 Florian Weimer <fweimer@redhat.com>
9120 Implement TEST_COMPARE_STRING.
9121 * support/check.h (TEST_COMPARE_STRING): Define.
9122 (support_test_compare_string): Declare.
9123 * support/Makefile (libsupport-routines): Add
9124 support_test_compare_string.
9125 (tests): Add tst-test_compare_string.
9126 * support/support_test_compare_string.c: New file.
9127 * support/tst-test_compare_string.c: Likewise.
9129 2018-11-07 Andreas Schwab <schwab@suse.de>
9132 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
9133 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
9136 2018-11-06 Joseph Myers <joseph@codesourcery.com>
9139 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9140 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
9141 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
9142 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
9145 2018-11-06 Florian Weimer <fweimer@redhat.com>
9148 * posix/Makefile (routines): Add spawn_faction_addchdir.
9149 (tests): Add tst-spawn-chdir.
9150 * posix/Versions (GLIBC_2.29): Add
9151 posix_spawn_file_actions_addchdir_np.
9152 * posix/spawn_faction_addchdir.c: New file.
9153 * posix/spawn_faction_destroy.c
9154 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
9155 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
9156 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
9158 * posix/tst-spawn-chdir.c: New file.
9159 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
9160 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9161 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9162 posix_spawn_file_actions_addchdir_np.
9163 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9165 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9167 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9168 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9170 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9172 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9174 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9176 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9178 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9180 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9181 (GLIBC_2.29): Likewise.
9182 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9183 (GLIBC_2.29): Likewise.
9184 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9185 (GLIBC_2.29): Likewise.
9186 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9187 (GLIBC_2.29): Likewise.
9188 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9191 (GLIBC_2.29): Likewise.
9192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9193 (GLIBC_2.29): Likewise.
9194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9195 (GLIBC_2.29): Likewise.
9196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9197 (GLIBC_2.29): Likewise.
9198 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9200 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9202 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9204 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9205 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9207 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9209 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9211 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9214 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9216 * misc/Makefile (tests): Add tst-ldbl-error.
9217 * misc/tst-ldbl-error.c: New file.
9219 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9221 * misc/Makefile (tests): Add tst-ldbl-warn.
9222 * misc/tst-ldbl-warn.c: New file.
9224 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9226 * argp/Makefile (tests): Add tst-ldbl-argp.
9227 * argp/tst-ldbl-argp.c: New file.
9229 2018-11-05 Arjun Shankar <arjun@redhat.com>
9231 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
9232 __gconv_path_elem and call __gconv_get_path unconditionally.
9234 2018-11-05 Andreas Schwab <schwab@suse.de>
9237 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
9238 creating the first helper thread failed.
9240 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9242 * sysdeps/mach/hurd/msync.c: New file.
9244 2018-11-02 Florian Weimer <fweimer@redhat.com>
9246 * support/shell-container.c (copy_func): Call
9247 support_copy_file_range instead of copy_file_range to support
9248 cross-device copies.
9250 2018-11-02 Florian Weimer <fweimer@redhat.com>
9252 * support/test-container.c: Include <libc-pointer-arith.h> for
9255 2018-11-01 Zong Li <zong@andestech.com>
9257 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
9258 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
9259 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
9260 (__FP_FRAC_SET_8): Add implementation for RV32 use.
9262 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
9263 variable to avoid overlap arguments.
9265 2018-11-01 Joseph Myers <joseph@codesourcery.com>
9267 * posix/bug-regex22.c (main): Use puts with distinct error
9268 messages for unexpected success of re_compile_pattern, not printf
9269 with NULL argument to %s.
9271 * stdio-common/bug22.c: Include <libc-diag.h>.
9272 (do_test): Disable -Wformat-overflow= warnings around fprintf
9273 calls outputting more than INT_MAX characters.
9274 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
9275 around printf call with NULL %s argument.
9278 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
9279 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
9281 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9282 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9283 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9284 (__ASSUME_SENDTO_SYSCALL): Likewise.
9285 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9286 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
9288 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9289 (__ASSUME_CONNECT_SYSCALL): Likewise.
9290 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9291 (__ASSUME_RECVFROM_SYSCALL): Likewise.
9292 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
9294 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
9296 [__LINUX_KERNEL_VERSION >= 0x040400]
9297 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9298 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
9301 (setsockopt): Likewise.
9303 2018-11-01 Fredrik Noring <noring@nocrew.org>
9305 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
9306 with the ISA override.
9308 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
9310 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
9313 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9315 * manual/errno.texi (EIEIO): Document how translators should
9316 translate the error message.
9317 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
9318 printing trailing whitespaces refused by git.
9319 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
9320 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9321 * hurd/Makefile (user-interfaces): Add pci.
9323 2018-10-30 Joseph Myers <joseph@codesourcery.com>
9325 * conform/linknamespace.py: New file.
9326 * conform/linknamespace.pl: Remove file.
9327 * conform/Makefile ($(linknamespace-header-tests)): Use
9328 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
9331 2018-10-30 Florian Weimer <fweimer@redhat.com>
9333 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
9336 2018-10-30 Florian Weimer <fweimer@redhat.com>
9338 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
9340 2018-10-30 Florian Weimer <fweimer@redhat.com>
9342 * stdlib/tst-strtod-overflow.c (do_test): Switch to
9343 support_blob_repeat.
9345 2018-10-30 Florian Weimer <fweimer@redhat.com>
9347 Avoid spurious test failures in stdlib/test-bz22786.
9348 * support/Makefile (libsupport-routines): Add blob_repeat.
9349 (tests): Add tst-support_blob_repeat.
9350 * support/blob_repeat.h: New file.
9351 * support/blob_repeat.c: Likewise.
9352 * support/tst-support_blob_repeat.c: Likewise.
9353 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
9354 support_blob_repeat_allocate.
9356 2018-10-30 Andreas Schwab <schwab@suse.de>
9359 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
9360 Don't use tail call.
9361 * elf/tst-unwind-main.c: New file.
9362 * elf/Makefile (tests): Add tst-unwind-main.
9363 (CFLAGS-tst-unwind-main.c): Define.
9365 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
9368 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
9370 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
9372 2018-10-29 Joseph Myers <joseph@codesourcery.com>
9374 * conform/glibcconform.py: Do not import shutil.
9375 (list_exported_functions): Use tempfile.TemporaryDirectory instead
9378 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
9379 critic_missing for versions before 3.4.
9380 * configure: Regenerated.
9381 * manual/install.texi (Tools for Compilation): Document
9382 requirement for Python to build glibc.
9383 * INSTALL: Regenerated.
9384 * Rules [PYTHON]: Make code unconditional.
9385 * benchtests/Makefile [PYTHON]: Likewise.
9386 * conform/Makefile [PYTHON]: Likewise.
9387 * manual/Makefile [PYTHON]: Likewise.
9388 * math/Makefile [PYTHON]: Likewise.
9390 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9392 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
9393 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
9394 answer to interrupt_operation, return EIEIO instead of EINTR.
9395 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
9396 _hurd_intr_rpc_msg_about_to global point to start of controlled
9397 assembly snippet. Make it check canceled flag.
9398 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
9399 the _hurd_intr_rpc_msg_about_to point.
9400 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
9401 issue, remove cancel flag check.
9403 2018-10-26 Joseph Myers <joseph@codesourcery.com>
9405 * scripts/build-many-glibcs.py: Remove compatibility for missing
9406 os.cpu_count and re.fullmatch.
9408 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
9411 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
9412 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
9413 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
9415 2018-10-25 Joseph Myers <joseph@codesourcery.com>
9417 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
9420 2018-10-25 Florian Weimer <fweimer@redhat.com>
9424 XFAIL siginfo_t si_band conform test on sparc64.
9425 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
9426 (__SI_BAND_TYPE): Only override long int default type on sparc64.
9427 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9428 (conformtest-xfail-conds): Add sparc64-linux.
9429 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
9431 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
9433 2018-10-25 Joseph Myers <joseph@codesourcery.com>
9435 * elf/elf.h (NT_MIPS_DSP): New macro.
9436 (NT_MIPS_FP_MODE): Likewise.
9438 2018-10-25 Zong Li <zong@andestech.com>
9440 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
9441 name by adding the file extension (.so).
9443 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
9445 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
9446 (test-xfail-ISO11/threads.h/linknamespace,
9447 test-xfail-ISO11/threads.h/conform): Add.
9449 2018-10-24 Joseph Myers <joseph@codesourcery.com>
9451 * math/gen-libm-test.py: Import os.
9452 (ALL_FLOATS_MANUAL): New constant.
9453 (ALL_FLOATS_SUFFIX): Likewise.
9454 (Ulps.all_functions): New function.
9455 (real_all_ulps): Likewise.
9456 (generate_err_table_sub): Likewise.
9457 (generate_err_table): Likewise.
9458 (main): Handle -s and -m options.
9459 * manual/libm-err-tab.pl: Remove.
9460 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
9461 instead of libm-err-tab.pl.
9462 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
9464 * manual/install.texi (Tools for Compilation): Document
9465 requirement for Python to build manual.
9466 * INSTALL: Regenerated.
9468 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
9470 * bits/time64.h: New file.
9471 * include/time.h: Replace internal_time_t with __time64_t.
9472 * posix/bits/types (__time64_t): Add.
9473 * stdlib/Makefile: Add bits/time64.h to includes.
9474 * time/tzfile.c: Replace internal_time_t with __time64_t.
9476 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9478 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
9479 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
9480 __posix_spawn_file_actions_init, __posix_spawnattr_init,
9481 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
9482 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
9484 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
9485 * posix/spawn_faction_addclose.c
9486 (__posix_spawn_file_actions_addclose): Add hidden definition.
9487 * posix/spawn_faction_adddup2.c
9488 (__posix_spawn_file_actions_adddup2): Likewise.
9489 * posix/spawn_faction_destroy.c
9490 (__posix_spawn_file_actions_destroy): Likewise.
9491 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
9493 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
9494 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
9495 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
9497 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
9498 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
9501 2018-10-24 Andreas Schwab <schwab@suse.de>
9504 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
9506 * elf/cache.c (print_cache): Likewise.
9508 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
9510 * bits/timesize.h: New file.
9511 * stdlib/Makefile (headers): Add bits/timesize.h.
9512 * sysdeps/unix/sysv/linux/bits/msq-pad.h
9513 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
9514 * sysdeps/unix/sysv/linux/bits/sem-pad.h
9515 (__SEM_PAD_AFTER_TIME): Likewise.
9516 * sysdeps/unix/sysv/linux/bits/shm-pad.h
9517 (__SHM_PAD_AFTER_TIME): Likewise.
9518 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
9519 (__MSQ_PAD_BEFORE_TIME): Likewise.
9520 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
9521 (__SEM_PAD_BEFORE_TIME): Likewise.
9522 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
9523 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9524 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
9525 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
9526 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
9527 (__MSQ_PAD_BEFORE_TIME): Likewise.
9528 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
9529 (__SEM_PAD_BEFORE_TIME): Likewise.
9530 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
9531 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9532 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
9533 (__MSQ_PAD_BEFORE_TIME): Likewise.
9534 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
9535 (__SEM_PAD_BEFORE_TIME): Likewise.
9536 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
9537 (__SHM_PAD_BEFORE_TIME): Likewise.
9538 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
9539 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9540 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
9542 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
9544 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
9545 USE_RDTSCP is defined.
9546 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
9547 USE_RDTSCP is defined.
9549 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9551 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
9555 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
9556 independently of other flags.
9558 2018-10-23 Florian Weimer <fweimer@redhat.com>
9560 * time/tst-mktime2.c (N_STRINGS): Remove.
9561 (set_timezone): New function.
9562 (spring_forward_gap): Call it. Use FAIL_EXIT1.
9563 (mktime_test1): Report localtime failure and check errno value.
9565 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
9566 (do_test): Remove alarm call. Use set_timezone and array_length.
9568 2018-10-23 Andreas Schwab <schwab@suse.de>
9570 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
9571 (__start_context): Use END instead of PSEUDO_END.
9573 2018-10-22 Joseph Myers <joseph@codesourcery.com>
9575 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9578 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9582 * wcsmbs/c32rtomb.c: New file.
9583 * wcsmbs/mbrtoc32.c: Likewise.
9584 * wcsmbs/tst-c32-state.c: Likewise.
9585 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
9586 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
9587 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
9588 (tests): Add tst-c32-state.
9589 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
9592 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
9594 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
9595 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
9597 2018-10-19 Joseph Myers <joseph@codesourcery.com>
9600 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
9601 pair and return 0 in that case, and use saved character to
9602 interpret following character.
9603 * wcsmbs/tst-c16-surrogate.c: New file.
9604 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
9605 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
9606 Depend on $(gen-locales)
9608 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
9611 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
9612 (struct siginfo_t): Use correct type for si_band.
9614 2018-10-19 Florian Weimer <fweimer@redhat.com>
9617 * resource/bits/types/struct_rusage.h (struct rusage): Update
9618 comment on struct. Remove extraneous field comment.
9620 2018-10-18 David S. Miller <davem@davemloft.net>
9622 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
9623 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
9624 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
9625 sysdep_routines in subdir elf.
9626 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
9627 version for __vdso_clock_gettime.
9628 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
9630 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9631 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9633 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9635 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
9637 * sysdeps/i386/init-arch.h: Removed.
9638 * sysdeps/i386/i586/init-arch.h: Likewise.
9639 * sysdeps/i386/i686/init-arch.h: Likewise.
9640 * sysdeps/i386/i686/hp-timing.h: Likewise.
9641 * sysdeps/x86_64/hp-timing.h: Likewise.
9642 * sysdeps/i386/isa.h: New file.
9643 * sysdeps/i386/i586/isa.h: Likewise.
9644 * sysdeps/i386/i686/isa.h: Likewise.
9645 * sysdeps/x86_64/isa.h: Likewise.
9646 * sysdeps/x86/hp-timing.h: New file.
9647 * sysdeps/x86/init-arch.h: Include <isa.h>.
9649 2018-10-17 Joseph Myers <joseph@codesourcery.com>
9651 * math/libm-test-pow.inc (pow_test_data): Do not allow
9652 divide-by-zero exception for pow(+/- 0, -Inf).
9654 2018-10-17 Zack Weinberg <zackw@panix.com>
9656 * manual/job.texi (Job Control is Optional): Remove node, as
9657 job control has not been optional in quite some time.
9658 (Job Control): Mention briefly that systems older than
9659 POSIX.1-2001 might not support job control.
9660 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
9661 defined on systems conforming to POSIX.1-2001.
9663 2018-10-17 Arjun Shankar <arjun@redhat.com>
9666 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
9668 * (__gconv_read_conf): Mark function static.
9669 * (once): New static variable.
9670 * (__gconv_load_conf): New function.
9671 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
9672 * iconv/gconv_db.c (once): Remove static variable.
9673 * (__gconv_compare_alias): Use __gconv_load_conf instead of
9675 * (__gconv_find_transform): Likewise.
9676 * iconv/tst-iconv-mt.c: New test.
9677 * iconv/Makefile: Add tst-iconv_mt.
9679 2018-10-17 Joseph Myers <joseph@codesourcery.com>
9681 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9683 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
9684 (shmatt_t): Define as __syscall_ulong_t.
9685 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
9686 and [__SHM_PAD_AFTER_TIME].
9687 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
9688 Define shm_segsz and associated padding based on
9689 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
9690 Use __syscall_ulong_t instead of unsigned long int.
9691 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
9693 [__USE_MISC] (struct shm_info): Likewise.
9694 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
9695 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
9696 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
9697 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
9698 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
9699 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9700 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
9701 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
9702 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9703 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9704 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9708 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
9709 (SHMLBA): Remove macro.
9710 (__getpagesize): Remove function declaration.
9711 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
9713 (SHMLBA): Remove macro.
9714 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
9716 (SHMLBA): Remove macro.
9717 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
9719 (SHMLBA): Remove macro.
9720 (__getpagesize): Remove function declaration.
9721 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
9723 (SHMLBA): Remove macro.
9724 (__getshmlba): Remove function declaration.
9725 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
9726 (SHMLBA): Remove macro.
9727 (__getpagesize): Remove function declaration.
9728 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
9729 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
9730 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9731 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
9732 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
9733 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
9734 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
9735 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
9736 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
9737 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
9739 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
9742 * nptl/tst-mutex10.c: New File.
9743 * nptl/Makefile (tests): Add tst-mutex10.
9744 (tst-mutex10-ENV): New variable.
9745 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
9746 Ensure that elision path is used if elision is available.
9747 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
9749 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
9751 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
9752 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
9753 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
9754 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
9756 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
9757 (__pthread_mutex_cond_lock_adjust): Likewise.
9758 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9760 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
9761 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9762 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9763 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
9765 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9766 Use atomic_load_relaxed and atomic_store_relaxed.
9767 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
9768 Use atomic_store_relaxed.
9770 2018-10-17 Andreas Schwab <schwab@suse.de>
9772 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
9773 * crypt/badsalttest.c (TIMEOUT): Likewise.
9774 * crypt/sha256c-test.c (TIMEOUT): Likewise.
9775 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
9776 * io/test-lfs.c (TIMEOUT): Likewise.
9777 * libio/tst-atime.c (TIMEOUT): Likewise.
9778 * localedata/tst-leaks.c (TIMEOUT): Likewise.
9779 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
9780 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
9781 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
9782 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
9783 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
9784 * nptl/tst-cond11.c (TIMEOUT): Likewise.
9785 * nptl/tst-cond14.c (TIMEOUT): Likewise.
9786 * nptl/tst-cond15.c (TIMEOUT): Likewise.
9787 * nptl/tst-cond24.c (TIMEOUT): Likewise.
9788 * nptl/tst-cond25.c (TIMEOUT): Likewise.
9789 * nptl/tst-kill2.c (TIMEOUT): Likewise.
9790 * nptl/tst-kill3.c (TIMEOUT): Likewise.
9791 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
9792 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
9793 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
9794 * nptl/tst-once2.c (TIMEOUT): Likewise.
9795 * nptl/tst-once3.c (TIMEOUT): Likewise.
9796 * nptl/tst-once4.c (TIMEOUT): Likewise.
9797 * nptl/tst-robust8.c (TIMEOUT): Likewise.
9798 * nptl/tst-robust9.c (TIMEOUT): Likewise.
9799 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
9800 * nptl/tst-sem14.c (TIMEOUT): Likewise.
9801 * nptl/tst-sem6.c (TIMEOUT): Likewise.
9802 * nptl/tst-signal3.c (TIMEOUT): Likewise.
9803 * nptl/tst-spin4.c (TIMEOUT): Likewise.
9804 * nptl/tst-tls3.c (TIMEOUT): Likewise.
9805 * nptl/tst-tls4.c (TIMEOUT): Likewise.
9806 * posix/tst-chmod.c (TIMEOUT): Likewise.
9807 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
9808 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
9809 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
9810 * posix/tst-regex2.c (TIMEOUT): Likewise.
9811 * posix/tst-waitid.c (TIMEOUT): Likewise.
9812 * rt/tst-aio.c (TIMEOUT): Likewise.
9813 * rt/tst-aio10.c (TIMEOUT): Likewise.
9814 * rt/tst-aio4.c (TIMEOUT): Likewise.
9815 * rt/tst-aio5.c (TIMEOUT): Likewise.
9816 * rt/tst-aio6.c (TIMEOUT): Likewise.
9817 * rt/tst-aio64.c (TIMEOUT): Likewise.
9818 * rt/tst-aio7.c (TIMEOUT): Likewise.
9819 * rt/tst-aio9.c (TIMEOUT): Likewise.
9820 * rt/tst-clock.c (TIMEOUT): Likewise.
9821 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
9822 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
9823 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
9824 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
9825 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
9826 * rt/tst-timer4.c (TIMEOUT): Likewise.
9827 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
9828 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
9829 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
9830 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
9831 * time/tst-ftime.c (TIMEOUT): Likewise.
9832 * timezone/tst-tzset.c (TIMEOUT): Likewise.
9834 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
9836 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
9837 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
9840 2018-10-15 Joseph Myers <joseph@codesourcery.com>
9842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9844 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
9845 instead of <bits/wordsize.h>.
9846 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
9847 and [__SEM_PAD_AFTER_TIME].
9848 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
9849 __syscall_ulong_t instead of unsigned long int.
9850 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
9851 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
9852 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
9853 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
9854 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
9855 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
9856 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
9857 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
9858 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9859 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9860 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9862 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
9864 regex: simplify by using intprops.h
9866 * posix/regex_internal.h [_LIBC]: Include intprops.h.
9867 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
9868 intprops.h defines them.
9870 regex: __builtin_expect → __glibc_unlikely
9872 This refactoring was prompted by a problem when the regex code is
9873 used as part of Gnulib and when the builder’s compiler does not grok
9874 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
9875 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
9876 Although this refactoring does not fix the problem directly,
9877 we might as well have Gawk use the now-preferred glibc style for when
9878 __builtin_expect is unavailable.
9879 * posix/regex_internal.h (BE): Remove.
9880 All uses replaced by __glibc_unlikely or __glibc_likely.
9882 2018-10-11 Joseph Myers <joseph@codesourcery.com>
9884 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9886 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
9887 instead of <bits/wordsize.h>.
9888 (msgqnum_t): Define as __syscall_ulong_t.
9889 (msglen_t): Likewise.
9890 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
9891 and [__MSQ_PAD_AFTER_TIME].
9892 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
9893 __syscall_ulong_t instead of unsigned long int.
9894 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
9895 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
9896 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
9897 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
9898 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
9899 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
9900 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
9901 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
9902 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9903 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9904 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9906 2018-10-10 Joseph Myers <joseph@codesourcery.com>
9908 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
9909 (struct shmid_ds): Condition padding after time fields on
9911 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
9912 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
9913 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9915 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
9916 (struct semid_ds): Condition padding after time fields on
9918 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
9919 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
9920 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
9921 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9923 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
9924 (struct msqid_ds): Condition padding after time fields on
9926 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
9927 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
9928 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
9929 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9931 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9933 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
9935 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9937 * libio/tst-readline.c (TIMEOUT): Define.
9939 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
9941 mktime fix for Gnulib + coreutils
9943 This fix affects only Gnulib. Problem discovered when
9944 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
9946 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
9947 Do not define since it is not used. Defining an unused static
9948 function prompts a warning from GCC when Coreutils is configured
9949 with --enable-gcc-warnings.
9951 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9953 * benchtests/scripts/compare_bench.py (main): set float type on
9956 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
9959 * localedata/locales/kl_GL (mon): Update, the relative case.
9960 (alt_mon): Add, fill with month names in the nominative case.
9961 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
9962 (d_fmt): Set to "%b %d %Y".
9964 2018-10-04 Joseph Myers <joseph@codesourcery.com>
9966 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
9967 <bits/mman-linux.h>.
9968 (PROT_READ): Don't define here.
9969 (PROT_WRITE): Likewise.
9970 (PROT_EXEC): Likewise.
9971 (PROT_NONE): Likewise.
9972 (PROT_GROWSDOWN): Likewise.
9973 (PROT_GROWSUP): Likewise.
9974 (MAP_SHARED): Likewise.
9975 (MAP_PRIVATE): Likewise.
9976 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
9977 [__USE_MISC] (MAP_FILE): Likewise.
9978 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
9979 [__USE_MISC] (MAP_ANON): Likewise.
9980 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
9981 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
9982 (MCL_CURRENT): Likewise.
9983 (MCL_FUTURE): Likewise.
9984 (MCL_ONFAULT): Likewise.
9985 [__USE_MISC] (MADV_NORMAL): Likewise.
9986 [__USE_MISC] (MADV_RANDOM): Likewise.
9987 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
9988 [__USE_MISC] (MADV_WILLNEED): Likewise.
9989 [__USE_MISC] (MADV_DONTNEED): Likewise.
9990 [__USE_MISC] (MADV_FREE): Likewise.
9991 [__USE_MISC] (MADV_REMOVE): Likewise.
9992 [__USE_MISC] (MADV_DONTFORK): Likewise.
9993 [__USE_MISC] (MADV_DOFORK): Likewise.
9994 [__USE_MISC] (MADV_HWPOISON): Likewise.
9995 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
9996 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
9997 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
9998 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
9999 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
10000 (__MAP_ANONYMOUS): New macro.
10001 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
10002 <bits/mman-linux.h> inclusion.
10003 (MAP_FIXED): Likewise.
10004 (MS_SYNC): Likewise.
10005 (MS_ASYNC): Likewise.
10006 (MS_INVALIDATE): Likewise.
10007 [__USE_MISC] (MADV_MERGEABLE): Likewise.
10008 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
10009 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
10010 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
10011 [__USE_MISC] (MADV_DONTDUMP): Likewise.
10012 [__USE_MISC] (MADV_DODUMP): Likewise.
10013 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
10014 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
10017 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
10019 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
10020 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
10021 Add test-nldbl-redirect.
10022 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
10023 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
10024 $(objpfx)libnldbl_nonshared.a.
10026 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
10028 * support/support.h (support_objdir_elf_ldso): New variable.
10029 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
10030 * support/Makefile (CFLAGS-support_paths.c): Add definition
10031 for OBJDIR_ELF_LDSO_PATH.
10032 * support/test-container.c (main): Search for the ld.so
10033 which is also used by the testsuite.
10035 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
10038 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
10039 should be "sap" rather than "sab".
10040 (day): Fix spelling of Sunday, should be "sapaat" rather than
10043 2018-10-02 Joseph Myers <joseph@codesourcery.com>
10045 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10047 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
10050 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
10051 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
10052 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
10054 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10056 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
10058 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
10060 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
10062 (CFLAGS-elision-unlock.c): Likewise.
10063 (CFLAGS-elision-timed.c): Likewise.
10064 (CFLAGS-elision-trylock.c): Likewise.
10065 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
10067 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10070 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
10071 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
10072 new fd_to_filename interface.
10073 * libio/freopen64.c (freopen64): Likewise.
10074 * libio/tst-memstream.h: New file.
10075 * libio/tst-memstream4.c: Likewise.
10076 * libio/tst-wmemstream4.c: Likewise.
10077 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
10078 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
10079 and remove internal dynamic allocation.
10081 2018-10-01 Joseph Myers <joseph@codesourcery.com>
10083 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
10084 (MREMAP_MAYMOVE): Do not define here.
10085 [__USE_GNU] (MREMAP_FIXED): Likewise.
10086 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
10087 (MREMAP_MAYMOVE): Define here instead.
10088 [__USE_GNU] (MREMAP_FIXED): Likewise.
10089 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
10090 (MREMAP_MAYMOVE): Remove.
10091 [__USE_GNU] (MREMAP_FIXED): Likewise.
10093 2018-09-28 Joseph Myers <joseph@codesourcery.com>
10095 * math/fromfp.h: Do not include <math_private.h>.
10096 * math/s_cacosh_template.c: Likewise.
10097 * math/s_casin_template.c: Likewise.
10098 * math/s_casinh_template.c: Likewise.
10099 * math/s_ccos_template.c: Likewise.
10100 * math/s_cproj_template.c: Likewise.
10101 * math/s_fdim_template.c: Likewise.
10102 * math/s_fmaxmag_template.c: Likewise.
10103 * math/s_fminmag_template.c: Likewise.
10104 * math/s_iseqsig_template.c: Likewise.
10105 * math/s_ldexp_template.c: Likewise.
10106 * math/s_nextdown_template.c: Likewise.
10107 * math/w_log1p_template.c: Likewise.
10108 * math/w_scalbln_template.c: Likewise.
10109 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10110 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10111 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10112 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10113 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10114 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10115 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10116 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10117 * sysdeps/i386/fpu/s_atanl.c: Likewise.
10118 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10119 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10120 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10121 * sysdeps/i386/fpu/s_logbl.c: Likewise.
10122 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10123 * sysdeps/i386/fpu/s_significandl.c: Likewise.
10124 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
10125 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
10126 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10127 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10128 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10129 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10130 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10131 * sysdeps/ieee754/k_standardf.c: Likewise.
10132 * sysdeps/ieee754/k_standardl.c: Likewise.
10133 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10134 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10135 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
10136 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10137 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10138 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10139 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10140 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10141 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10142 * sysdeps/ieee754/s_signgam.c: Likewise.
10143 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10144 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
10145 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
10146 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10147 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10148 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10149 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10150 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10151 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10152 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10153 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10154 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10155 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10156 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10157 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10158 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10159 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10160 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10161 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10162 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10163 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10164 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10165 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10166 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10167 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10168 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10169 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10170 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10171 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10172 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10173 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10174 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10175 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10176 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10177 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10178 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10179 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
10181 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10183 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
10186 * sysdeps/i386/dl-cet.c: Removed.
10187 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
10189 (_dl_runtime_profile_shstk): Likewise.
10190 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
10191 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
10193 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10196 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
10197 do_test_with_invalid_iov): New tests.
10198 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
10199 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
10200 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
10202 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
10203 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
10204 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
10206 2018-09-27 Joseph Myers <joseph@codesourcery.com>
10208 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10209 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
10210 (MATH_REDIRECT_BINARY_ARGS): New macro.
10211 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10212 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
10213 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
10215 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
10216 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10217 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
10218 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10219 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10220 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10221 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
10226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
10228 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
10229 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
10230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
10232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
10234 * sysdeps/generic/math_private_calls.h
10235 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
10236 Do not declare and define as an inline function.
10237 * math/divtc3.c (__divtc3): Use copysign functions instead of
10238 __copysign variants.
10239 * math/multc3.c (__multc3): Likewise.
10240 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
10241 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
10242 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10243 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10245 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10246 (__ieee754_yn): Likewise.
10247 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10248 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
10249 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10250 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10251 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
10253 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10254 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10256 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10258 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10260 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10261 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10263 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10264 (__ieee754_ynf): Likewise.
10265 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10266 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10267 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10268 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10270 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10271 (__ieee754_ynl): Likewise.
10272 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10273 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10274 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10276 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10277 (__ieee754_ynl): Likewise.
10278 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
10279 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10280 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10281 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10283 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10285 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
10286 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10287 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
10288 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10289 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10291 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10292 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
10293 using MATH_REDIRECT.
10294 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
10296 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
10297 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10298 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10299 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
10300 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10301 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
10304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
10305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
10306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
10307 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10308 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10309 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10310 (round): Redirect to __round.
10311 (__roundl): Call round instead of __round.
10312 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
10314 [_ARCH_PWR5X] (__roundf): Likewise.
10315 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
10316 functions instead of __round variants.
10317 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10318 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10320 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10322 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10324 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
10325 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
10327 (__ieee754_expl): Call roundl instead of __roundl.
10329 2018-09-27 Andreas Schwab <schwab@suse.de>
10332 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
10333 (do_test): Make st1 static.
10335 2018-09-26 Andreas Schwab <schwab@suse.de>
10338 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
10339 * elf/Makefile (tests): Add tst-unwind-ctor.
10340 (modules-names): Add tst-unwind-ctor-lib.
10341 ($(objpfx)tst-unwind-ctor): Depend on
10342 $(objpfx)tst-unwind-ctor-lib.so.
10344 2018-09-26 Joseph Myers <joseph@codesourcery.com>
10346 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
10347 file. Most contents moved from ....
10348 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
10349 and include <bits/mman-map-flags-generic.h>.
10350 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10351 (sysdep_headers): Add bits/mman-map-flags-generic.h.
10352 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
10353 <bits/mman-map-flags-generic.h>.
10354 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
10355 macros defined in <bits/mman-map-flags-generic.h>.
10356 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
10357 <bits/mman-map-flags-generic.h>.
10358 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
10359 defined in <bits/mman-map-flags-generic.h>.
10361 2018-09-26 Andreas Schwab <schwab@suse.de>
10363 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
10366 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
10367 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10368 Fangrui Song <maskray@google.com>
10371 * config.make.in (have-textrel_ifunc): New define.
10372 * configure.ac: Add check if linker supports textrel relocation with
10374 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
10376 (CFLAGS-tst-ifunc-textrel.c): New rule.
10377 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
10378 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
10379 * elf/tst-ifunc-textrel.c: New file.
10381 2018-09-25 Joseph Myers <joseph@codesourcery.com>
10383 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10384 <bits/procfs-prregset.h>.
10385 (prgregset_t): Define using __prgregset_t.
10386 (prfpregset_t): Define using __prfpregset_t.
10387 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10388 (sysdep_headers): Add bits/procfs-prregset.h.
10389 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
10390 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
10391 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
10392 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
10394 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10395 <bits/procfs-id.h> and <bits/procfs-extra.h>.
10396 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
10398 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10399 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
10400 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
10401 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
10402 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
10403 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
10404 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
10405 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
10406 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
10407 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
10408 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
10409 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
10410 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
10411 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
10412 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
10413 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
10414 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
10415 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
10416 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
10417 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
10418 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
10419 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
10420 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10421 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
10423 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
10424 AArch64 version. Include <bits/procfs.h>.
10425 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10426 (sysdep_headers): Add bits/procfs.h.
10427 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
10428 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
10429 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
10430 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
10431 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
10432 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
10433 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
10434 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
10435 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
10436 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
10437 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
10438 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
10439 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
10440 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
10441 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
10442 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
10443 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
10445 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10447 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
10450 2018-09-25 Arjun Shankar <arjun@redhat.com>
10452 * iconv/gconv_int.h (__gconv_path_elem): Remove.
10453 (__gconv_max_path_elem_len): Likewise.
10454 (__gconv_nmodules): Likewise.
10455 (__gconv_get_path): Likewise.
10456 (path_elem): Move to ...
10457 * iconv/gconv_conf.c: ... here.
10458 (__gconv_get_path): Mark function static.
10459 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
10460 * iconv/gconv_open.c: ... here.
10462 2018-09-24 Andreas Schwab <schwab@suse.de>
10464 * scripts/haveversions.awk: New file.
10465 * Makerules ($(common-objpfx)Versions.def)
10466 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10467 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10469 * Makeconfig ($(common-objpfx)Versions.def)
10470 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10471 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10473 ($(common-objpfx)Versions.mk): New rule. Include it.
10474 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
10475 Emit error if build-obsolete-nsl = yes.
10476 * manual/install.texi (Configuring and compiling): Describe
10477 --enable-obsolete-nsl as unavaiable after version 2.28.
10478 * INSTALL: Regenerate.
10480 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10482 * NEWS: Add note about new TLE support on powerpc64le.
10483 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
10484 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
10486 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
10487 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
10488 * sysdeps/powerpc/powerpc32/sysdep.h,
10489 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
10490 ABORT_TRANSACTION): Remove macros.
10491 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
10492 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
10493 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
10494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
10495 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10496 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
10498 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
10500 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
10503 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
10504 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
10505 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
10506 which is the same as in it_IT.
10507 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
10508 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
10510 2018-09-20 Joseph Myers <joseph@codesourcery.com>
10512 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10513 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
10514 using MATH_REDIRECT.
10515 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
10517 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
10518 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10519 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
10520 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10521 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10522 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
10524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
10525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
10526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
10527 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10528 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10529 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10530 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10531 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
10532 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
10533 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
10534 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10535 (ceil): Redirect to __ceil.
10536 (floor): Redirect to __floor.
10537 (trunc): Redirect to __trunc.
10538 (__truncl): Call trunc instead of __trunc.
10539 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
10541 [_ARCH_PWR5X] (__truncf): Likewise.
10542 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
10543 trunc functions instead of __trunc variants.
10544 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10546 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10548 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10550 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10553 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
10554 [__i586__ || __pentium__].
10555 [__i486__]: Handle explicitly.
10556 (HAS_CPUID): Define to 1 if above macros are undefined.
10557 (HAS_I586): Likewise.
10558 (HAS_I686): Likewise.
10560 2018-09-20 Florian Weimer <fweimer@redhat.com>
10562 * misc/tst-gethostid.c: New file.
10563 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
10564 (tst-gethostid): Link with -ldl.
10566 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
10568 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
10569 value from gethostbyname_r.
10571 2018-09-19 Carlos O'Donell <carlos@redhat.com>
10573 * stdlib/tst-setcontext9.c (f1): Rename to...
10575 (f1b): New function implementing lower half of f1 in alternate stack.
10577 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
10579 Fix mktime localtime offset confusion
10581 * include/time.h (__mktime_internal): The localtime offset is now
10582 of type long int instead of time_t. This is the longstanding type
10583 in glibc, and it is more than enough to represent difference
10584 between localtime and gmtime even if it is 32 bits and time_t is
10585 64. Changing it now will let us avoid an unnecessary change when
10586 time_t is widened to 64 bits on 32-bit platforms.
10587 * time/mktime-internal.h (mktime_offset_t): Now long int.
10589 Merge mktime, timegm from upstream Gnulib
10590 [BZ #23603][BZ #16346]
10591 This fixes some obscure problems with integer overflow.
10592 Although it looks scary, it is almost all a byte-for-byte copy
10593 from Gnulib, and the Gnulib code has been tested reasonably well.
10594 * include/intprops.h: New file, copied from Gnulib.
10595 * include/verify.h, time/mktime-internal.h:
10596 New tiny files, simplified from Gnulib.
10597 * time/mktime.c: Copy from Gnulib. This has the following changes:
10598 Do not include config.h if DEBUG_MKTIME is nonzero.
10599 Include stdbool.h, intprops.h, verify.h.
10600 Include string.h only if needed.
10601 Include stdlib.h on MS-Windows.
10602 Include mktime-internal.h.
10603 (DEBUG_MKTIME): Default to 0, and simplify later uses.
10604 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
10605 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
10606 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
10607 simplify later conditionals; default the others to zero. Use
10608 these conditionals to express only the code needed on the current
10609 platform. In uses of these conditionals, explicitly spell out how
10610 _LIBC affects things, so it’s easier to review from a glibc
10612 (WRAPV): Remove; no longer needed now that we have
10613 systematic overflow checking.
10614 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
10615 compartmentalize tzset issues. Move system-dependent tzsettish
10616 code here from mktime.
10617 (verify): Remove; now done by verify.h. All uses changed.
10618 (long_int): Use a more-conservative definition, to avoid
10620 (SHR): Remove, replacing with ...
10621 (shr): New function, which means we needn’t worry about side
10622 effects in args, and conversion analysis is simpler.
10623 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
10624 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
10625 (time_t_avg, time_t_add_ok): Remove.
10626 (mktime_min, mktime_max): New constants.
10627 (leapyear, isdst_differ): Use bool for booleans.
10628 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
10629 Use long_int, not time_t, for mktime differences.
10630 (long_int_avg): New function, replacing time_t_avg.
10631 INT_ADD_WRAPV replaces time_t_add_ok.
10632 (guess_time_tm): 6th arg is now long_int, not time_t const *.
10634 (convert_time): New function.
10635 (ranged_convert): Use it.
10636 (__mktime_internal): Last arg now points to mktime_offset_t, not
10637 time_t. All uses changed. This is a no-op on glibc, where
10638 mktime_offset_t is always time_t. Use int, not time_t, for UTC
10639 offset guess. Directly check for integer overflow instead of
10640 using a heuristic that works only 99.9...% of the time.
10641 Access *OFFSET only once, to avoid an unlikely race if the
10642 compiler delays a load and if this cascades into a signed integer
10644 (mktime): Move tzsettish code to my_tzset, and move
10645 localtime_offset to within mktime so that it doesn’t
10646 need a separate ifdef.
10647 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
10648 instead of localtime.
10649 * time/timegm.c: Copy from Gnulib. This has the following changes:
10650 Include mktime-internal.h.
10651 [!_LIBC]: Include config.h and time.h. Do not include
10652 timegm.h or time_r.h. Make __mktime_internal a macro,
10653 and include mktime-internal.h to get its declaration.
10654 (timegm): Temporary is now mktime_offset_t, not time_t.
10655 This affects only Gnulib.
10657 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10660 * string/test-strstr.c (pr23637): New function.
10661 (test_main): Add tests with longer needles.
10662 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
10663 * string/strstr.c (AVAILABLE): Likewise.
10665 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10667 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
10669 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10671 * NEWS: Mention pow improvements.
10672 * math/Makefile (type-double-routines): Add e_pow_log_data.
10673 * sysdeps/generic/math_private.h (__exp1): Remove.
10674 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
10675 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
10676 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
10678 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
10679 (exp_inline): Remove.
10680 (__ieee754_exp): Only single double input is handled.
10681 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
10682 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
10683 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
10684 (__pow_log_data): Define.
10685 * sysdeps/ieee754/dbl-64/upow.h: Remove.
10686 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
10687 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
10688 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
10690 (CFLAGS-e_pow-fma4.c): Likewise.
10692 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
10694 Simplify tzfile fstat failure code
10696 * time/tzfile.c (__tzfile_read): Simplify slightly.
10698 Fix tzfile low-memory assertion failure
10700 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
10701 when registering time zone abbreviations.
10703 2018-09-18 Joseph Myers <joseph@codesourcery.com>
10705 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
10706 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
10707 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10708 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10709 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
10710 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
10711 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
10712 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10713 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10715 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
10717 (__ceill): Call ceil instead of __ceil.
10718 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
10720 (__floorl): Call floor instead of __floor.
10722 2018-09-17 Joseph Myers <joseph@codesourcery.com>
10724 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10725 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
10726 using MATH_REDIRECT.
10727 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
10729 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
10730 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10731 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10732 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
10733 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10734 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10735 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10736 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
10737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
10738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
10739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
10740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
10741 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10742 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10744 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10745 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
10746 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
10747 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
10749 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
10750 functions instead of __ceil variants.
10751 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10752 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10754 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10756 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10757 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10759 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10760 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10763 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
10765 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
10766 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
10767 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
10768 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
10769 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
10770 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
10771 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
10772 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
10773 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
10774 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
10775 (ILL_BADIADDR): Remove constant.
10776 (TRAP_BRANCH): Likewise.
10777 (TRAP_HWBKPT): Likewise.
10779 2018-09-14 Joseph Myers <joseph@codesourcery.com>
10782 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
10783 Remove [_MIPS_SIM = _ABIN32] conditional case.
10784 (struct elf_prpsinfo): Likewise.
10787 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
10788 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
10789 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
10791 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
10792 elf_prpsinfo): Likewise.
10793 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
10794 elf_prpsinfo): Likewise.
10795 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
10798 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10799 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
10800 using MATH_REDIRECT.
10801 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
10803 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
10804 * sysdeps/alpha/fpu/s_rint.c: Likewise.
10805 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
10806 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10807 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10808 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10809 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
10810 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10811 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10812 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10813 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
10814 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
10815 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
10816 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
10817 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
10818 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10819 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10820 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
10821 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
10823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
10824 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
10825 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
10826 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10827 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10828 * sysdeps/x86_64/fpu/math_private.h: Remove file.
10829 * math/e_scalb.c (invalid_fn): Use rint functions instead of
10831 * math/e_scalbf.c (invalid_fn): Likewise.
10832 * math/e_scalbl.c (invalid_fn): Likewise.
10833 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10835 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10837 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10838 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
10839 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10841 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10843 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10845 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
10846 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
10848 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10849 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
10851 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10852 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
10853 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10854 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
10855 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10856 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
10857 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10858 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
10859 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10860 && !NO_MATH_REDIRECT] (floor): Likewise.
10861 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
10863 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
10864 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10865 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10866 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
10867 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10868 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10869 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10870 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
10871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
10872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
10873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
10874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
10875 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10876 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10878 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10879 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10880 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10881 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
10883 [_ARCH_PWR5X] (__floorf): Likewise.
10884 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
10886 [__SSE4_1__] (__floorf): Likewise.
10887 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
10888 instead of __floor variants.
10889 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
10890 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
10891 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
10892 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
10893 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
10894 * math/w_tgamma_compat.c (__tgamma): Likewise.
10895 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
10896 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
10897 * math/w_tgammal_compat.c (__tgammal): Likewise.
10898 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
10899 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10901 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10902 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
10903 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10904 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10906 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10907 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
10909 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10910 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
10912 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10913 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
10915 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10916 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10917 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10918 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
10919 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10920 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10922 2018-09-12 Joseph Myers <joseph@codesourcery.com>
10924 * elf/Makefile (modules-names-tests): New variable.
10926 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10928 * NEWS: Mention log2 improvements.
10929 * math/Makefile (type-double-routines): Add e_log2_data.
10930 * sysdeps/i386/fpu/e_log2_data.c: New file.
10931 * sysdeps/ia64/fpu/e_log2_data.c: New file.
10932 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
10933 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
10934 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
10935 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
10936 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
10938 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10940 * NEWS: Mention log improvement.
10941 * math/Makefile (type-double-routines): Add e_log_data.
10942 * sysdeps/i386/fpu/e_log_data.c: New file.
10943 * sysdeps/ia64/fpu/e_log_data.c: New file.
10944 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
10945 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
10946 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
10947 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
10948 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
10949 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
10951 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
10952 Xuepeng Guo <xuepeng.guo@intel.com>
10955 * sysdeps/i386/start.S: Include <sysdep.h>
10956 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
10957 enabled. Add cfi_undefined (eip).
10959 2018-09-11 Joseph Myers <joseph@codesourcery.com>
10961 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
10963 (EXTRACT_WORDS64): Likewise.
10964 (INSERT_WORDS64): Likewise.
10965 (GET_FLOAT_WORD): Likewise.
10966 (SET_FLOAT_WORD): Likewise.
10968 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
10970 (Config.build_gcc): Use --disable-libsanitizer for first GCC
10971 build, but not for second build if --full-gcc. Use
10972 --enable-languages=all for second build if --full-gcc.
10973 (get_parser): Add --full-gcc option.
10974 (main): Update call to Context.
10976 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
10979 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
10980 Single Quotation Mark).
10981 (thousands_sep): Likewise.
10982 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
10983 * localedata/locales/it_IT (thousands_sep): Use ".".
10984 (grouping): Use "3;3".
10986 2018-09-10 Joseph Myers <joseph@codesourcery.com>
10988 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10989 x86_64 and i686 configs using --enable-obsolete-rpc
10990 --enable-obsolete-nsl.
10992 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10994 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10996 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10998 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
10999 Increment size of new_argv by one.
11001 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
11004 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
11005 * localedata/locales/ar_IN (d_fmt): Likewise.
11006 * localedata/locales/bhb_IN (d_fmt): Likewise.
11007 * localedata/locales/bho_IN (d_fmt): Likewise.
11008 * localedata/locales/bn_BD (d_fmt): Likewise.
11009 * localedata/locales/bn_IN (d_fmt): Likewise.
11010 * localedata/locales/doi_IN (d_fmt): Likewise.
11011 * localedata/locales/gu_IN (d_fmt): Likewise.
11012 * localedata/locales/hi_IN (d_fmt): Likewise.
11013 * localedata/locales/hne_IN (d_fmt): Likewise.
11014 * localedata/locales/kn_IN (d_fmt): Likewise.
11015 * localedata/locales/mag_IN (d_fmt): Likewise.
11016 * localedata/locales/mai_IN (d_fmt): Likewise.
11017 * localedata/locales/mjw_IN (d_fmt): Likewise.
11018 * localedata/locales/ml_IN (d_fmt): Likewise.
11019 * localedata/locales/mni_IN (d_fmt): Likewise.
11020 * localedata/locales/mr_IN (d_fmt): Likewise.
11021 * localedata/locales/pa_IN (d_fmt): Likewise.
11022 * localedata/locales/raj_IN (d_fmt): Likewise.
11023 * localedata/locales/sat_IN (d_fmt): Likewise.
11024 * localedata/locales/sd_IN (d_fmt): Likewise.
11025 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
11026 * localedata/locales/ta_IN (d_fmt): Likewise.
11027 * localedata/locales/ta_LK (d_fmt): Likewise.
11028 * localedata/locales/tcy_IN (d_fmt): Likewise.
11029 * localedata/locales/ur_IN (d_fmt): Likewise.
11031 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
11032 * localedata/locales/ks_IN (d_fmt): Likewise.
11033 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
11035 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
11036 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
11037 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
11038 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
11040 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
11042 * NEWS: Mention exp and exp2 improvements.
11043 * math/Makefile (libm-support): Remove t_exp.
11044 (type-double-routines): Add math_err and e_exp_data.
11045 * sysdeps/aarch64/libm-test-ulps: Update.
11046 * sysdeps/arm/libm-test-ulps: Update.
11047 * sysdeps/i386/fpu/e_exp_data.c: New file.
11048 * sysdeps/i386/fpu/math_err.c: New file.
11049 * sysdeps/i386/fpu/t_exp.c: Remove.
11050 * sysdeps/ia64/fpu/e_exp_data.c: New file.
11051 * sysdeps/ia64/fpu/math_err.c: New file.
11052 * sysdeps/ia64/fpu/t_exp.c: Remove.
11053 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
11054 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
11055 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
11056 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
11057 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
11058 * sysdeps/ieee754/dbl-64/math_config.h: New file.
11059 * sysdeps/ieee754/dbl-64/math_err.c: New file.
11060 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
11061 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
11062 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
11063 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
11064 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
11065 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
11066 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
11067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11070 2018-09-05 Joseph Myers <joseph@codesourcery.com>
11072 * sysdeps/alpha/fpu/math_private.h: Remove.
11074 * sysdeps/generic/math_private.h
11075 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
11076 Move this inline function ....
11077 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
11078 * include/math.h [!_ISOMAC]: To here....
11080 2018-09-04 Joseph Myers <joseph@codesourcery.com>
11082 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
11084 [!FE_HAVE_ROUNDING_MODES]: And this code ....
11085 * include/fenv.h [!_ISOMAC]: ... to here.
11086 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
11087 (feraiseexcept): Likewise.
11088 * math/fromfp.h: Do not include <fenv_private.h>.
11089 * math/s_cexp_template.c: Likewise.
11090 * math/s_csin_template.c: Likewise.
11091 * math/s_csinh_template.c: Likewise.
11092 * math/s_ctan_template.c: Likewise.
11093 * math/s_ctanh_template.c: Likewise.
11094 * math/s_iseqsig_template.c: Likewise.
11095 * math/w_acos_compat.c: Likewise.
11096 * math/w_acosf_compat.c: Likewise.
11097 * math/w_acosl_compat.c: Likewise.
11098 * math/w_asin_compat.c: Likewise.
11099 * math/w_asinf_compat.c: Likewise.
11100 * math/w_asinl_compat.c: Likewise.
11101 * math/w_j0_compat.c: Likewise.
11102 * math/w_j0f_compat.c: Likewise.
11103 * math/w_j0l_compat.c: Likewise.
11104 * math/w_j1_compat.c: Likewise.
11105 * math/w_j1f_compat.c: Likewise.
11106 * math/w_j1l_compat.c: Likewise.
11107 * math/w_jn_compat.c: Likewise.
11108 * math/w_jnf_compat.c: Likewise.
11109 * math/w_log10_compat.c: Likewise.
11110 * math/w_log10f_compat.c: Likewise.
11111 * math/w_log10l_compat.c: Likewise.
11112 * math/w_log2_compat.c: Likewise.
11113 * math/w_log2f_compat.c: Likewise.
11114 * math/w_log2l_compat.c: Likewise.
11115 * math/w_log_compat.c: Likewise.
11116 * math/w_logf_compat.c: Likewise.
11117 * math/w_logl_compat.c: Likewise.
11118 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11119 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11120 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11121 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11122 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11123 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11124 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11125 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11126 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11127 * sysdeps/ieee754/k_standardl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11130 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11135 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11137 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11139 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11140 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11141 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11144 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11145 * math/w_ilogb_template.c: Include <fenv.h> instead of
11147 * math/w_llogb_template.c: Likewise.
11148 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11149 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11151 2018-09-03 Joseph Myers <joseph@codesourcery.com>
11153 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
11154 * math/fromfp.h: Include <fenv_private.h>.
11155 * math/math-narrow.h: Likewise.
11156 * math/s_cexp_template.c: Likewise.
11157 * math/s_csin_template.c: Likewise.
11158 * math/s_csinh_template.c: Likewise.
11159 * math/s_ctan_template.c: Likewise.
11160 * math/s_ctanh_template.c: Likewise.
11161 * math/s_iseqsig_template.c: Likewise.
11162 * math/w_acos_compat.c: Likewise.
11163 * math/w_acosf_compat.c: Likewise.
11164 * math/w_acosl_compat.c: Likewise.
11165 * math/w_asin_compat.c: Likewise.
11166 * math/w_asinf_compat.c: Likewise.
11167 * math/w_asinl_compat.c: Likewise.
11168 * math/w_ilogb_template.c: Likewise.
11169 * math/w_j0_compat.c: Likewise.
11170 * math/w_j0f_compat.c: Likewise.
11171 * math/w_j0l_compat.c: Likewise.
11172 * math/w_j1_compat.c: Likewise.
11173 * math/w_j1f_compat.c: Likewise.
11174 * math/w_j1l_compat.c: Likewise.
11175 * math/w_jn_compat.c: Likewise.
11176 * math/w_jnf_compat.c: Likewise.
11177 * math/w_llogb_template.c: Likewise.
11178 * math/w_log10_compat.c: Likewise.
11179 * math/w_log10f_compat.c: Likewise.
11180 * math/w_log10l_compat.c: Likewise.
11181 * math/w_log2_compat.c: Likewise.
11182 * math/w_log2f_compat.c: Likewise.
11183 * math/w_log2l_compat.c: Likewise.
11184 * math/w_log_compat.c: Likewise.
11185 * math/w_logf_compat.c: Likewise.
11186 * math/w_logl_compat.c: Likewise.
11187 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11188 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11189 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11190 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11191 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11192 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11193 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11194 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11195 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11196 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11197 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11198 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11199 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
11200 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11201 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11202 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11203 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11204 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11205 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11206 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11207 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11208 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11209 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11210 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11211 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11212 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11213 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11214 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11215 * sysdeps/ieee754/float128/float128_private.h: Likewise.
11216 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11217 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11218 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11219 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11220 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11221 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11222 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11223 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11224 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11225 * sysdeps/ieee754/k_standardl.c: Likewise.
11226 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11227 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11228 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11229 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11230 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11231 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11232 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11233 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11234 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11235 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11236 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11237 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11238 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11239 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11240 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11241 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11242 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11243 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11244 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11245 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11246 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11247 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11248 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11249 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11250 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11251 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11252 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11253 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11255 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11256 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11257 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11258 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11259 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11260 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11261 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11262 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11263 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11264 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11265 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11266 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11267 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11268 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11269 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11270 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11271 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11272 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11273 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11274 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11275 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11276 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11277 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11278 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11279 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11280 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11281 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11282 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11283 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11284 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11285 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11286 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11287 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11288 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11289 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11290 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11291 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11292 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11293 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11294 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11295 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11296 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11298 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11301 * include/stdio.h (__libc_fatal): Mention newline in comment.
11302 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
11303 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
11304 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11305 * nss/nsswitch.c (__nss_next2): Likewise.
11306 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
11307 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
11308 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
11309 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11310 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
11311 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
11312 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
11313 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
11314 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
11315 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
11316 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
11317 * sysdeps/unix/sysv/linux/netlink_assert_response.c
11318 (__netlink_assert_response): Likewise.
11320 2018-08-31 Joseph Myers <joseph@codesourcery.com>
11322 * conform/glibcconform.py: New file.
11323 * conform/list-header-symbols.py: Likewise.
11324 * conform/list-header-symbols.pl: Remove.
11325 * conform/Makefile (tests-special): Only add linknamespace tests
11327 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
11329 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
11332 * support/Makefile (libsupport-routines): Add
11333 support_copy_file_range and xcopy_file_range.
11334 * support/support.h: Include <sys/types.h>.
11335 (support_copy_file_range): New prototype.
11336 * support/support_copy_file_range.c: New file. Copied and
11337 modified from io/copy_file_range-compat.c.
11338 * support/test-container.c (copy_one_file): Call xcopy_file_rang
11339 instead of copy_file_range.
11340 * support/xcopy_file_range.c: New file.
11341 * support/xunistd.h (xcopy_file_range): New prototype.
11343 2018-08-30 Carlos O'Donell <carlos@redhat.com>
11345 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
11346 xpthread_create and xpthread_join.
11348 2018-08-30 Florian Weimer <fweimer@redhat.com>
11350 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
11352 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
11354 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
11357 2018-08-29 Joseph Myers <joseph@codesourcery.com>
11359 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
11360 and minus_oflow as non-finite.
11362 2018-08-28 Joseph Myers <joseph@codesourcery.com>
11364 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
11365 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
11366 moved to fenv_private.h except for ...
11367 (TOINT_INTRINSICS): Kept in math_private.h.
11368 (roundtoint): Likewise.
11369 (converttoint): Likewise.
11370 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
11371 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11372 * sysdeps/arm/math_private.h: Remove.
11373 * sysdeps/generic/fenv_private.h: New file. Contents moved from
11375 * sysdeps/generic/math_private.h: ... this file. Include
11376 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
11377 Include <fenv_private.h>. Remove functions and macros moved to
11379 * sysdeps/i386/fpu/math_private.h: Remove.
11380 * sysdeps/mips/math_private.h: Move to ....
11381 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
11382 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
11383 [__mips_hard_float] conditional. Include next <fenv_private.h>.
11384 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
11385 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11386 * sysdeps/powerpc/fpu/math_private.h: Do not include
11388 * sysdeps/riscv/rvf/math_private.h: Move to ....
11389 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
11390 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
11392 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
11393 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11394 * sysdeps/sparc/fpu/math_private.h: Remove.
11395 * sysdeps/i386/fpu/fenv_private.h: Move to ....
11396 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
11397 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
11399 * sysdeps/x86_64/fpu/math_private.h: Do not include
11400 <sysdeps/i386/fpu/fenv_private.h>.
11402 2018-08-28 Florian Weimer <fweimer@redhat.com>
11405 * posix/tst-regcomp-truncated.c: New file.
11406 * posix/Makefile (tests): Add it.
11407 (tst-regcomp-truncated.out): Depend on generated locales.
11409 2018-08-28 Florian Weimer <fweimer@redhat.com>
11411 * support/test-container.c (main): Treat unshare failure with
11412 EPERM as an unsupported test.
11414 2018-08-28 Florian Weimer <fweimer@redhat.com>
11417 nscd: Fix use-after-free in addgetnetgrentX and its callers.
11418 * nscd/netgroupcache.c
11419 (addgetnetgrentX): Add tofreep parameter. Do not free
11420 heap-allocated buffer.
11421 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
11422 (addgetnetgrentX_ignore): New function.
11423 (addgetnetgrent): Call it.
11424 (readdgetnetgrent): Likewise.
11426 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11428 * string/memmem.c: Use memcmp for first match.
11430 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
11433 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
11435 2018-08-27 DJ Delorie <dj@redhat.com>
11437 * support/Makefile (others): Don't list programs explicitly as a
11438 dependency of "others".
11440 2018-08-27 Joseph Myers <joseph@codesourcery.com>
11442 * sysdeps/generic/math-tests-trap-force.h: New file.
11443 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
11444 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
11445 * sysdeps/powerpc/math-tests.h: Remove file.
11446 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
11448 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
11449 Torvald Riegel <triegel@redhat.com>
11452 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
11453 Update r to include the set wake-request flag if waiters are
11454 remaining after spinning.
11456 2018-08-27 Joseph Myers <joseph@codesourcery.com>
11458 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
11460 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
11463 regex: fix uninitialized memory access
11464 I introduced this bug into gnulib in commit
11465 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
11466 eventually it was merged into glibc. The bug was found by
11467 project-repo <bugs@feusi.co> and reported here:
11468 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
11469 Diagnosis and draft fix reported by Assaf Gordon here:
11470 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
11471 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
11472 * posix/regex_internal.c (build_wcs_upper_buffer):
11473 Fix bug when mbrtowc returns 0.
11475 2018-08-24 Carlos O'Donell <carlos@redhat.com>
11477 * po/be.po: Update translation.
11479 2018-08-24 DJ Delorie <dj@delorie.com>
11481 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
11484 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11487 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
11488 create temporary files in source tree.
11490 2018-08-24 Joseph Myers <joseph@codesourcery.com>
11492 * sysdeps/generic/math-tests-trap.h: New file.
11493 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
11494 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
11495 * sysdeps/aarch64/math-tests.h: Remove file.
11496 * sysdeps/arm/math-tests.h: Likewise.
11497 * sysdeps/riscv/math-tests.h: Likewise.
11498 * sysdeps/aarch64/math-tests-trap.h: New file.
11499 * sysdeps/arm/math-tests-trap.h: Likewise.
11500 * sysdeps/riscv/math-tests-trap.h: Likewise.
11502 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
11504 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
11505 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
11506 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
11507 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
11508 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
11509 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
11510 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11511 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
11512 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
11513 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11514 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11515 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11516 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11517 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
11518 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
11519 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
11520 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11521 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11523 2018-08-23 Joseph Myers <joseph@codesourcery.com>
11525 * sysdeps/generic/math-tests-exceptions.h: New file.
11526 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
11527 (EXCEPTION_TESTS_float): Do not define here.
11528 (EXCEPTION_TESTS_double): Likewise.
11529 (EXCEPTION_TESTS_long_double): Likewise.
11530 (EXCEPTION_TESTS_float128): Likewise.
11531 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
11533 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
11534 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
11535 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
11536 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
11537 * sysdeps/mips/math-tests.h: Likewise.
11538 * sysdeps/nios2/math-tests.h: Likewise.
11539 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11540 (EXCEPTION_TESTS_float): Do not define here.
11541 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
11542 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
11543 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
11545 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11547 * NEWS: Move optimized sinf entry to 2.29.
11549 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11551 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
11553 2018-08-22 DJ Delorie <dj@redhat.com>
11555 * Makefile (testroot.pristine): New rules to initialize the
11556 test-in-container "testroot".
11557 * Makerules (all-testsuite): Add tests-container.
11558 * Rules (tests-expected): Add tests-container.
11559 (binaries-all-tests): Likewise.
11560 (tests-container): New, run these tests in the testroot container.
11561 * support/Makefile (others): Add *-container, support_paths.c,
11562 xmkdirp, and links-dso-program.
11563 * support/links-dso-program-c.c: New.
11564 * support/links-dso-program.cc: New.
11565 * support/test-container.c: New.
11566 * support/shell-container.c: New.
11567 * support/echo-container.c: New.
11568 * support/true-container.c: New.
11569 * support/xmkdirp.c: New.
11570 * support/xsymlink.c: New.
11571 * support/support_paths.c: New.
11572 * support/support.h: Add support paths prototypes.
11573 * support/xunistd.h: Add xmkdirp () and xsymlink ().
11575 * nss/tst-nss-test3.c: Convert to test-in-container.
11576 * nss/tst-nss-test3.root/: New.
11578 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
11580 regex: port Gnulib code to z/OS POSIX environment
11581 Problem reported by Arnold Robbins in:
11582 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
11583 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
11586 2018-08-22 Joseph Myers <joseph@codesourcery.com>
11588 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
11589 (ROUNDING_TESTS_double): Remove.
11590 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
11591 (ROUNDING_TESTS_double): Remove.
11592 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
11593 (ROUNDING_TESTS_double): Remove.
11594 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
11595 (ROUNDING_TESTS_float): Remove.
11596 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
11597 (ROUNDING_TESTS_float): Remove.
11598 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
11599 (ROUNDING_TESTS_float): Remove.
11600 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
11601 !TEST_MATHVEC here.
11602 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11603 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11605 * sysdeps/generic/math-tests-rounding.h: New file.
11606 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
11607 (ROUNDING_TESTS_float): Do not define here.
11608 (ROUNDING_TESTS_double): Likewise.
11609 (ROUNDING_TESTS_long_double): Likewise.
11610 (ROUNDING_TESTS_float128): Likewise.
11611 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
11612 (ROUNDING_TESTS_double): Undefine before defining.
11613 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
11614 (ROUNDING_TESTS_double): Undefine before defining.
11615 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
11616 (ROUNDING_TESTS_double): Undefine before defining.
11617 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
11618 (ROUNDING_TESTS_float): Undefine before defining.
11619 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
11620 (ROUNDING_TESTS_float): Undefine before defining.
11621 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
11622 (ROUNDING_TESTS_float): Undefine before defining.
11623 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
11624 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
11626 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
11627 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
11628 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
11629 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11630 (ROUNDING_TESTS_float): Do not define here.
11631 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
11632 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
11633 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
11634 (ROUNDING_TESTS_float): Likewise.
11635 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
11636 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
11637 * sysdeps/mips/math-tests.h [__mips_soft_float]
11638 (ROUNDING_TESTS_float): Likewise.
11639 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
11640 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
11641 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
11642 (ROUNDING_TESTS_double): Likewise.
11643 (ROUNDING_TESTS_long_double): Likewise.
11645 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
11647 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
11648 (PF_XDP): New macro.
11649 (AF_XDP): New macro.
11650 (SOL_XDP): New macro.
11652 2018-08-21 Joseph Myers <joseph@codesourcery.com>
11654 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
11655 (TCP_INQ): Likewise.
11656 (TCP_CM_INQ): Likewise.
11657 (TCP_REPAIR_ON): Likewise.
11658 (TCP_REPAIR_OFF): Likewise.
11659 (TCP_REPAIR_OFF_NO_WP): Likewise.
11660 (struct tcp_zerocopy_receive): New type.
11662 2018-08-21 Florian Weimer <fweimer@redhat.com>
11664 * support/support.h (support_descriptor_supports_holes): Declare.
11665 * support/Makefile (libsupport-routines): Add
11666 support_descriptor_supports_holes.
11667 * support/support_descriptor_supports_holes.c: New file.
11668 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
11669 and stop testing if holes are not supported.
11670 * io/test-lfs.c (do_prepare): Likewise.
11671 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
11673 * timezone/tst-tzset.c (create_tz_file): Likewise.
11674 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
11676 (do_prepare): Set it.
11677 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
11679 2018-08-21 Florian Weimer <fweimer@redhat.com>
11682 * Makeconfig (+cflags): Do not sort (and deduplicate).
11684 2018-08-21 Florian Weimer <fweimer@redhat.com>
11686 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
11687 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
11689 2018-08-20 Florian Weimer <fweimer@redhat.com>
11691 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
11692 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
11694 2018-08-20 Joseph Myers <joseph@codesourcery.com>
11696 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
11697 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
11698 and ssi_arch members.
11700 * elf/elf.c (NT_VMCOREDD): New macro.
11701 (AT_MINSIGSTKSZ): Likewise.
11703 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11705 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11706 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
11707 s_cosf-ppc64 and s_cosf-power8.
11708 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
11709 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11710 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11711 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
11713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
11714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
11715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
11716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11718 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
11719 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11721 2018-08-17 Florian Weimer <fweimer@redhat.com>
11723 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11725 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
11727 * malloc/malloc.c (_int_malloc): Additional binning code checks.
11729 2018-08-16 Florian Weimer <fweimer@redhat.com>
11731 * configure.ac: Add --with-nonshared-cflags option.
11732 * config.make.in (extra-nonshared-cflags): Set variable.
11733 * Makeconfig (CFLAGS-.oS): Use it.
11734 * manual/install.texi (Configuring and compiling): Document
11735 --with-nonshared-cflags.
11736 * configure: Regenerate.
11737 * INSTALL: Likewise.
11739 2018-08-16 Florian Weimer <fweimer@redhat.com>
11741 * Makeconfig (ASFLAGS): Always append required assembler flags.
11743 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
11745 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
11746 (malloc_consolidate): Likewise.
11748 2018-08-16 Pochang Chen <johnchen902@gmail.com>
11750 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
11752 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
11754 * benchtests/bench-strlen.c (do_test): Allocate buffers before
11757 * benchtests/bench-strlen.c: Print performance numbers in json.
11759 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11761 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11762 (sysdep_routines): Build strcmp-power9 and strncmp-power9
11763 only for little endian.
11764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11765 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
11766 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
11767 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
11768 Add check for little endian.
11769 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11770 (__strcmp_power9): Add check for little endian.
11771 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
11772 Add check for little endian.
11773 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11774 (__strncmp_power9): Add check for little endian.
11775 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
11776 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
11777 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
11778 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
11779 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
11781 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
11783 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
11784 [!STRLEN](STRLEN): Set to __strlen.
11785 * sysdeps/aarch64/multiarch/strlen.c: New file.
11786 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
11787 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
11788 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
11789 (__libc_ifunc_impl_list): Add strlen.
11790 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
11791 strlen_generic and strlen_asimd.
11793 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11795 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
11796 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
11797 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11799 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11801 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
11803 2018-08-14 Florian Weimer <fweimer@redhat.com>
11806 * include/stdio.h (__vfxprintf): Declare.
11807 * stdio-common/fxprintf.c (__vfxprintf): New function.
11808 (__fxprintf): Call it.
11809 * misc/err.c (convert_and_print): Remove function.
11810 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
11811 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
11812 * misc/Makefile (tests): Add tst-warn-wide.
11813 * misc/tst-warn-wide.c: New file.
11815 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
11816 Szabolcs Nagy <szabolcs.nagy@arm.com>
11818 * NEWS: Mention sinf, cosf, sincosf.
11819 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
11820 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
11821 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
11822 constants rather than including generic sincosf.h.
11823 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
11824 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
11825 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
11826 (reduced_cos): Remove.
11827 (sinf_poly): New function.
11828 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
11830 2018-08-14 Florian Weimer <fweimer@redhat.com>
11834 * nss/nss_files/files-alias.c (get_next_alias): During :include:
11835 processing, bail out if no room, and close the stream before
11837 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
11838 (tst-nss-files-alias-leak): Link with libdl.
11839 (tst-nss-files-alias-leak.out): Depend on nss_files.
11841 * nss/tst-nss-files-alias-leak.c: New file.
11843 2018-08-14 Florian Weimer <fweimer@redhat.com>
11845 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
11846 server_user, stat_user.
11848 2018-08-13 Joseph Myers <joseph@codesourcery.com>
11850 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11852 (io_pgetevents): New syscall.
11855 * manual/install.texi (Configuring and compiling): Do not list
11856 tools used for testing pretty printers here.
11857 (Tools for Compilation): List Python, PExpect and GDB here.
11858 Update descriptions of uses of Perl and Python.
11859 * INSTALL: Regenerate.
11861 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11864 2018-08-13 Florian Weimer <fweimer@redhat.com>
11866 * misc/error.c (error): Add missing va_end call.
11867 (error_at_line): Likewise.
11869 2018-08-13 Florian Weimer <fweimer@redhat.com>
11871 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
11873 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11875 * benchtests/scripts/benchout.schema.json (properties): Add
11878 * benchtests/bench-skeleton.c (main): Add duration and
11879 iterations attributes.
11881 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
11883 regex: Gnulib unibyte RRI uses bytes not chars
11884 Adjust the non-glibc code to agree with what Gawk needs for
11885 rational range interpretation (RRI) for regular expression ranges.
11886 In unibyte locales, Gawk wants ranges to use the underlying byte
11887 rather than the character code point. This change does not affect
11889 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
11890 In unibyte locales, use the byte value rather than
11891 running it through btowc.
11893 2018-08-10 Joseph Myers <joseph@codesourcery.com>
11895 * sysdeps/generic/math-tests-snan.h: New file.
11896 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
11897 (SNAN_TESTS_float): Do not define here.
11898 (SNAN_TESTS_double): Likewise.
11899 (SNAN_TESTS_long_double): Likewise.
11900 (SNAN_TESTS_float128): Likewise.
11901 * sysdeps/i386/fpu/math-tests-snan.h: New file.
11902 * sysdeps/i386/fpu/math-tests.h: Remove file.
11903 * sysdeps/ia64/math-tests-snan.h: New file.
11904 * sysdeps/ia64/math-tests.h: Remove file.
11905 * sysdeps/x86/math-tests.h: Likewise.
11906 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
11908 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11909 Szabolcs Nagy <szabolcs.nagy@arm.com>
11911 * math/Makefile: Add s_sincosf_data.c.
11912 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
11913 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
11914 (sincosf_poly): Likewise.
11915 (reduce_small): Likewise.
11916 (reduce_large): Likewise.
11917 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
11918 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
11919 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
11920 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
11922 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11923 Szabolcs Nagy <szabolcs.nagy@arm.com>
11925 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
11926 (converttoint): Use lround.
11927 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
11928 document the semantics when TOINT_INTRINSICS is set.
11929 (converttoint): Likewise.
11930 (TOINT_RINT): Remove.
11931 (TOINT_SHIFT): Remove.
11932 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
11935 2018-08-10 Florian Weimer <fweimer@redhat.com>
11938 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
11940 (__old_getdents64): Use getdents64. Convert entries without
11942 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
11943 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
11944 tst-readdir64-compat.
11946 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11948 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
11951 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11953 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
11954 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
11955 code to s390x-mcount.h and #include it.
11956 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
11957 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11960 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11962 * stdlib/Versions: Remove __fentry__.
11963 * sysdeps/i386/Versions: Add __fentry__.
11964 * sysdeps/x86_64/Versions: Add __fentry__.
11966 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11968 * sysdeps/s390/Makefile: Register the new tests.
11969 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
11970 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
11971 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
11972 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
11973 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
11974 * sysdeps/s390/tst-dl-runtime.c: New file.
11976 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11978 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11981 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11983 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11986 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11988 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11991 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11993 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11996 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11998 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11999 Use symbolic offsets for stack variables.
12001 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12003 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
12004 Use symbolic offsets for stack variables.
12006 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12008 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12009 Use symbolic offsets for stack variables.
12011 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12013 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12014 Use symbolic offsets for stack variables.
12016 2018-08-09 Joseph Myers <joseph@codesourcery.com>
12018 * math/gen-libm-test.py: New file.
12019 * math/gen-libm-test.pl: Remove.
12020 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
12021 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
12023 ($(libm-test-c-noauto-obj)): Likewise.
12024 ($(libm-test-c-auto-obj)): Likewise.
12025 ($(libm-test-c-narrow-obj)): Likewise.
12026 (regen-ulps): Likewise.
12027 * math/README.libm-test: Update references to gen-libm-test.pl.
12028 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
12029 referencing gen-libm-test.pl.
12030 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
12031 * math/libm-test-support.c: Likewise.
12032 * math/libm-test-support.h: Likewise.
12033 * sysdeps/generic/libm-test-ulps: Likewise.
12035 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
12037 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
12040 2018-08-08 Joseph Myers <joseph@codesourcery.com>
12042 * math/libm-test-nextdown.inc (do_test): Move comment to ....
12043 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
12045 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
12047 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
12049 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
12050 __pthread_setspecific): Add hidden proto.
12051 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
12052 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
12054 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12056 * benchtests/bench-string.h (buf1_size, buf2_size): New
12058 (init_sizes): New function.
12059 (test_init): Use it.
12060 (alloc_buf, exit_error): New functions.
12061 (alloc_bufs): Use ALLOC_BUF.
12062 (realloc_bufs): Remove.
12063 * benchtests/bench-memcmp.c (do_test): Adjust.
12064 * benchtests/bench-memset-large.c (do_test): Likewise.
12065 * benchtests/bench-memset-walk.c (do_test): Likewise.
12066 * benchtests/bench-memset.c (do_test): Likewise.
12067 * benchtests/bench-strncmp.c (do_test): Likewise.
12069 2018-08-06 Andreas Schwab <schwab@suse.de>
12071 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
12072 of CONST_THREAD_AREA.
12074 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
12076 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
12077 (STATE_SAVE_MASK): Likewise.
12078 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
12079 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
12080 (STATE_SAVE_MASK): Likewise.
12081 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
12082 instead of <cpu-features.h>.
12084 2018-08-03 DJ Delorie <dj@redhat.com>
12086 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
12087 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
12089 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
12091 2018-08-03 Joseph Myers <joseph@codesourcery.com>
12093 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
12094 after TEST_* calls.
12095 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
12096 * math/libm-test-logb.inc (logb_test_data): Likewise.
12098 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
12100 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
12101 * string/strstr.c (AVAILABLE): Likewise.
12103 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12105 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
12107 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
12108 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
12109 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
12111 2018-08-03 Carlos O'Donell <carlos@redhat.com>
12113 * po/be.po: Update translation.
12115 * po/be.po: Update translation.
12117 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12119 * sysdeps/x86/cpu-features-offsets.sym
12120 (rtld_global_ro_offsetof): Removed.
12121 (CPU_FEATURES_SIZE): Likewise.
12122 (CPUID_OFFSET): Likewise.
12123 (CPUID_SIZE): Likewise.
12124 (CPUID_EAX_OFFSET): Likewise.
12125 (CPUID_EBX_OFFSET): Likewise.
12126 (CPUID_ECX_OFFSET): Likewise.
12127 (CPUID_EDX_OFFSET): Likewise.
12128 (FAMILY_OFFSET): Likewise.
12129 (MODEL_OFFSET): Likewise.
12130 (FEATURE_OFFSET): Likewise.
12131 (FEATURE_SIZ): Likewise.
12132 (COMMON_CPUID_INDEX_1): Likewise.
12133 (COMMON_CPUID_INDEX_7): Likewise.
12134 (FEATURE_INDEX_1): Likewise.
12135 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
12137 2018-08-02 Carlos O'Donell <carlos@redhat.com>
12139 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
12140 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
12141 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
12142 (install-locales): Depend on install-locale-archive.
12143 (install-locale-archive): Define.
12144 (install-locale-files): Define.
12145 (build-one-locale): Define macro.
12146 * manual/install.texi (Running make install): Document.
12147 * manual/INSTALL: Regenerate.
12149 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
12151 * benchtests/scripts/compare_strings.py: Import traceback.
12152 (parse_file): Pretty-print error.
12154 * NEWS: Mention the change.
12155 * elf/dl-tunables.list: Rename tune namespace to cpu.
12156 * sysdeps/powerpc/dl-tunables.list: Likewise.
12157 * sysdeps/x86/dl-tunables.list: Likewise.
12158 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
12160 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
12161 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
12162 * manual/README.tunables: Likewise.
12163 * manual/tunables.texi: Likewise.
12164 * sysdeps/powerpc/cpu-features.c: Likewise.
12165 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
12166 (init_cpu_features): Likewise.
12167 * sysdeps/x86/cpu-features.c: Likewise.
12168 * sysdeps/x86/cpu-features.h: Likewise.
12169 * sysdeps/x86/cpu-tunables.c: Likewise.
12170 * sysdeps/x86_64/Makefile: Likewise.
12171 * sysdeps/x86/dl-cet.c: Likewise.
12173 2018-08-02 Joseph Myers <joseph@codesourcery.com>
12176 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
12177 [__mips_hard_float].
12178 (FE_UNDERFLOW): Likewise.
12179 (FE_OVERFLOW): Likewise.
12180 (FE_DIVBYZERO): Likewise.
12181 (FE_INVALID): Likewise.
12182 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
12183 (FE_TOWARDZERO): Define only if [__mips_hard_float].
12184 (FE_UPWARD): Likewise.
12185 (FE_DOWNWARD): Likewise.
12186 (__FE_UNDEFINED): Define if [!__mips_hard_float]
12187 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
12188 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
12189 [__mips_hard_float].
12190 (FP_ROUNDMODE): Likewise.
12191 (FP_RND_NEAREST): Likewise.
12192 (FP_RND_ZERO): Likewise.
12193 (FP_RND_PINF): Likewise.
12194 (FP_RND_MINF): Likewise.
12195 (FP_EX_INVALID): Likewise.
12196 (FP_EX_OVERFLOW): Likewise.
12197 (FP_EX_UNDERFLOW): Likewise.
12198 (FP_EX_DIVZERO): Likewise.
12199 (FP_EX_INEXACT): Likewise.
12200 (FP_INIT_ROUNDMODE): Likewise.
12201 * sysdeps/mips/nofpu/fesetenv.c: New file.
12202 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
12204 2018-08-01 Joseph Myers <joseph@codesourcery.com>
12206 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
12207 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
12208 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
12209 conditional on [FE_UPWARD].
12211 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
12213 regex: fix memory leak in Gnulib
12214 Problem and fix reported by Assaf Gordon in:
12215 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
12216 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
12217 range_ends members too, as they are defined in 'struct
12218 re_charset_t' even if not _LIBC. This affects only Gnulib.
12220 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
12222 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
12224 (get_common_indices): This.
12225 (init_cpu_features): Updated.
12227 2018-08-01 Joseph Myers <joseph@codesourcery.com>
12229 * sysdeps/generic/math-tests-snan-payload.h: New file.
12230 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
12231 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
12232 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
12233 * sysdeps/generic/math-tests.h: Include
12234 <math-tests-snan-payload.h>.
12235 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12236 * sysdeps/hppa/math-tests.h: Remove file.
12237 * sysdeps/mips/math-tests.h [!__mips_nan2008]
12238 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12239 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
12242 * sysdeps/generic/math-tests-snan-cast.h: New file.
12243 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
12244 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
12245 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
12246 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
12248 2018-08-01 Carlos O'Donel <carlos@redhat.com>
12250 * version.h (RELEASE): Set to "development".
12251 (VERSION): Set to "2.28.9000".
12252 * NEWS (2.29): New section.
12254 * version.h (RELEASE): Set to "stable".
12255 (VERSION): Set to "2.28".
12256 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
12257 * NEWS: Add the list of bugs fixed in 2.28.
12259 * po/ca.po: Update to latest version.
12260 * po/cs.po: Likewise
12261 * po/da.po: Likewise
12262 * po/el.po: Likewise
12263 * po/eo.po: Likewise
12264 * po/es.po: Likewise
12265 * po/fi.po: Likewise
12266 * po/fr.po: Likewise
12267 * po/gl.po: Likewise
12268 * po/hu.po: Likewise
12269 * po/ia.po: Likewise
12270 * po/id.po: Likewise
12271 * po/it.po: Likewise
12272 * po/ja.po: Likewise
12273 * po/ko.po: Likewise
12274 * po/lt.po: Likewise
12275 * po/nb.po: Likewise
12276 * po/nl.po: Likewise
12277 * po/pt_BR.po: Likewise
12278 * po/ru.po: Likewise
12279 * po/rw.po: Likewise
12280 * po/sk.po: Likewise
12281 * po/sl.po: Likewise
12282 * po/tr.po: Likewise
12283 * po/zh_CN.po: Likewise
12284 * po/zh_TW.po: Likewise
12286 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12288 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
12290 (init): ... before initializing libpthread.
12292 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
12293 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
12294 (__mach_setup_tls): ... new function.
12295 (mach_setup_tls): New alias.
12296 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
12297 __mach_setup_thread.
12298 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
12299 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
12300 * mach/Versions [libc] (mach_setup_tls): Add symbol.
12301 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
12303 2018-07-31 Carlos O'Donell <carlos@redhat.com>
12305 * manual/install.texi: Update versions.
12306 * INSTALL: Regenerate.
12308 * manual/contrib.texi (Contributors): Update contributions.
12310 2018-07-31 Carlos O'Donell <carlos@redhat.com>
12312 * po/be.po: Update translations.
12314 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12316 * sysdeps/sh/libm-test-ulps: Update.
12318 2018-07-30 Carlos O'Donell <carlos@redhat.com>
12320 * po/bg.po: Update translations.
12321 * po/de.po: Likewise.
12322 * po/hr.po: Likewise.
12323 * po/pt_BR.po: Likewise.
12324 * po/sv.po: Likewise.
12325 * po/vi.po: Likewise.
12327 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12330 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12331 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
12332 (CFLAGS-tst-cet-property-1.o): New.
12333 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
12334 ($(objpfx)tst-cet-property-2): Likewise.
12335 ($(objpfx)tst-cet-property-2.out): Likewise.
12336 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
12337 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
12338 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
12339 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
12340 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
12342 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12345 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
12347 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12349 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
12350 __sbrk): Do not set attribute_hidden.
12351 * sysdeps/mach/hurd/not-errno.h: New file.
12352 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12353 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
12355 2018-07-27 Carlos O'Donell <carlos@redhat.com>
12357 * po/uk.po: Update translations.
12358 * po/cs.po: Likewise.
12359 * po/pl.po: Likewise.
12361 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
12363 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
12364 parse beyond the note end.
12366 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12368 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
12369 kernel does not support OFD locks.
12370 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
12372 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12374 * sysdeps/mach/hurd/Versions (libc): Make __access and
12375 __access_noerrno external so they can override the ld symbols.
12376 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
12377 __writev, __open64, __access_noerrno extern so they can be overrided.
12378 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
12379 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12381 2018-07-26 Carlos O'Donell <carlos@redhat.com>
12383 * po/libc.pot: Regenerate.
12385 2018-07-26 Joseph Myers <joseph@codesourcery.com>
12387 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
12389 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12392 * sysdeps/x86/cpu-features.c (get_extended_indices): New
12394 (init_cpu_features): Call get_extended_indices for both Intel
12396 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
12397 Remove "for AMD" comment.
12399 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12402 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
12403 COMMON_CPUID_INDEX_80000001.
12405 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
12407 * string/tst-xbzero-opt.c (use_test_buffer): New function.
12408 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
12410 2018-07-26 Florian Weimer <fweimer@redhat.com>
12412 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
12413 aliases for symbols not in the implementation namespace.
12415 2018-07-25 Carlos O'Donell <carlos@redhat.com>
12418 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
12419 lowercase in LATIN script.
12420 * localedata/Makefile (test-input): Add en_US.UTF-8.
12421 * localedata/en_US.UTF-8.in: New file.
12422 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
12423 and restore old tests.
12424 * posix/tst-regexloc.c (do_test): Add back range expression test.
12426 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12428 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
12430 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12432 * nptl/threads.h: Move to ...
12433 * sysdeps/nptl/threads.h: ... here.
12434 * sysdeps/hurd/stdc-predef.h: New file.
12436 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12438 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12439 tst-cet-setcontext-1 if CET is enabled.
12440 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
12441 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
12443 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12445 * include/threads.h: Move to ...
12446 * sysdeps/nptl/threads.h: ... here.
12447 * sysdeps/htl/threads.h: New file.
12448 * conform/Makefile (linknamespace-libs-ISO11): Use
12449 static-thread-library instead of linking libpthread.
12450 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
12452 2018-07-25 Florian Weimer <fweimer@redhat.com>
12454 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
12455 nanoseconds into seconds.
12456 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
12457 (do_test): Likewise.
12458 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
12459 (do_test): Likewise. Avoid nanosecond overflow and spurious
12460 timeouts due to system load.
12461 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
12462 (child_wait): Increment it.
12463 (do_test): Wait as long as necessary until all expected threads
12466 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
12467 H.J. Lu <hongjiu.lu@intel.com>
12469 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
12471 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
12472 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
12473 (__push___start_context): New.
12474 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
12476 (__getcontext): Record the current shadow stack base. Save the
12477 caller's shadow stack pointer and base.
12478 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
12479 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
12480 (__push___start_context): New prototype.
12481 (__makecontext): Call __push___start_context to allocate a new
12482 shadow stack, push __start_context onto the new stack as well
12483 as the new shadow stack.
12484 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
12486 (__setcontext): Restore the target shadow stack.
12487 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
12489 (__swapcontext): Record the current shadow stack base. Save
12490 the caller's shadow stack pointer and base. Restore the target
12492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12493 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
12494 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
12496 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12498 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
12499 tst-setcontext8 and tst-setcontext9.
12500 * stdlib/tst-setcontext6.c: New file.
12501 * stdlib/tst-setcontext7.c: Likewise.
12502 * stdlib/tst-setcontext8.c: Likewise.
12503 * stdlib/tst-setcontext9.c: Likewise.
12505 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12507 * stdlib/Makefile ((tests): Add tst-setcontext5.
12508 * stdlib/tst-setcontext5.c: New file.
12510 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12512 * stdlib/Makefile (tests): Add tst-setcontext4.
12513 * stdlib/tst-setcontext4.c: New file.
12515 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12517 * stdlib/Makefile (tests): Add tst-swapcontext1.
12518 * stdlib/tst-swapcontext1.c: New test.
12520 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12522 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
12523 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
12524 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
12525 and tst-cet-legacy-4c.
12526 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
12527 and tst-cet-legacy-mod-4.
12528 (CFLAGS-tst-cet-legacy-2.c): New.
12529 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
12530 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
12531 (CFLAGS-tst-cet-legacy-3.c): Likewise.
12532 (CFLAGS-tst-cet-legacy-4.c): Likewise.
12533 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
12534 ($(objpfx)tst-cet-legacy-1): Likewise.
12535 ($(objpfx)tst-cet-legacy-2): Likewise.
12536 ($(objpfx)tst-cet-legacy-2.out): Likewise.
12537 ($(objpfx)tst-cet-legacy-2a): Likewise.
12538 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
12539 ($(objpfx)tst-cet-legacy-4): Likewise.
12540 ($(objpfx)tst-cet-legacy-4.out): Likewise.
12541 ($(objpfx)tst-cet-legacy-4a): Likewise.
12542 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
12543 (tst-cet-legacy-4a-ENV): Likewise.
12544 ($(objpfx)tst-cet-legacy-4b): Likewise.
12545 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
12546 (tst-cet-legacy-4b-ENV): Likewise.
12547 ($(objpfx)tst-cet-legacy-4c): Likewise.
12548 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
12549 (tst-cet-legacy-4c-ENV): Likewise.
12550 * sysdeps/x86/tst-cet-legacy-1.c: New file.
12551 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
12552 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
12553 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
12554 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
12555 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
12556 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
12557 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
12558 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
12559 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
12560 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
12562 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12564 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12565 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12567 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12568 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12571 2018-07-25 Andreas Schwab <schwab@suse.de>
12574 * locale/weightwc.h (findidx): Handle the case where usrc is a
12575 prefix of cp but one character too short.
12577 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12579 * NEWS: Add ISO C threads addition.
12581 2018-07-24 Florian Weimer <fweimer@redhat.com>
12583 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12584 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
12585 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
12588 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12590 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
12591 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
12592 <sys/prctl.h> and <asm/prctl.h>.
12593 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
12594 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
12596 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
12597 ARCH_CET_LEGACY_BITMAP.
12598 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
12599 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
12600 * sysdeps/x86/libc-start.c: Include <startup.h>.
12602 2018-07-24 Florian Weimer <fweimer@redhat.com>
12604 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
12605 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
12607 2018-07-24 Rical Jasan <rj@2c3t.io>
12608 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12609 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12612 * manual/debug.texi: Update adjacent chapter name.
12613 * manual/probes.texi: Likewise.
12614 * manual/threads.texi (ISO C Threads): New section.
12615 (POSIX Threads): Convert to a section.
12617 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12618 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12621 * nptl/Makefile (tests): Add new test files.
12622 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
12623 * nptl/tst-cnd-basic.c: Likewise.
12624 * nptl/tst-cnd-broadcast.c: Likewise.
12625 * nptl/tst-cnd-timedwait.c: Likewise.
12626 * nptl/tst-mtx-basic.c: Likewise.
12627 * nptl/tst-mtx-recursive.c: Likewise.
12628 * nptl/tst-mtx-timedlock.c: Likewise.
12629 * nptl/tst-mtx-trylock.c: Likewise.
12630 * nptl/tst-thrd-basic.c: Likewise.
12631 * nptl/tst-thrd-detach.c: Likewise.
12632 * nptl/tst-thrd-sleep.c: Likewise.
12633 * nptl/tst-tss-basic.c: Likewise.
12635 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12638 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12639 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
12641 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12642 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12643 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12644 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12645 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12646 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12647 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12648 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12649 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12650 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12651 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12652 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
12659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12660 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12661 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12662 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12663 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12664 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12665 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12666 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12667 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12668 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
12669 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
12670 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
12671 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
12672 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
12674 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12675 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12676 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12677 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12678 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12679 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12680 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12681 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12682 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12683 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12684 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12685 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12692 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12693 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12694 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12695 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12696 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12697 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12698 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12699 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12702 * conform/data/threads.h-data (thread_local): New macro.
12703 (TSS_DTOR_ITERATIONS): Likewise.
12705 (tss_dtor_t): Likewise.
12706 (tss_create): New function.
12707 (tss_get): Likewise.
12708 (tss_set): Likewise.
12709 (tss_delete): Likewise.
12710 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
12711 tss_get, and tss_set objects.
12712 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12713 * nptl/tss_create.c: New file.
12714 * nptl/tss_delete.c: Likewise.
12715 * nptl/tss_get.c: Likewise.
12716 * nptl/tss_set.c: Likewise.
12717 * sysdeps/nptl/threads.h (thread_local): New define.
12718 (TSS_DTOR_ITERATIONS): Likewise.
12719 (tss_t): New typedef.
12720 (tss_dtor_t): Likewise.
12721 (tss_create): New prototype.
12722 (tss_get): Likewise.
12723 (tss_set): Likewise.
12724 (tss_delete): Likewise.
12727 * conform/data/threads.h-data (cnd_t): New type.
12728 (cnd_init): New function.
12729 (cnd_signal): Likewise.
12730 (cnd_broadcast): Likewise.
12731 (cnd_wait): Likewise.
12732 (cnd_timedwait): Likewise.
12733 (cnd_destroy): Likewise.
12734 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
12735 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
12737 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12738 * nptl/cnd_broadcast.c: New file.
12739 * nptl/cnd_destroy.c: Likewise.
12740 * nptl/cnd_init.c: Likewise.
12741 * nptl/cnd_signal.c: Likewise.
12742 * nptl/cnd_timedwait.c: Likewise.
12743 * nptl/cnd_wait.c: Likewise.
12744 * sysdeps/nptl/threads.h (cnd_t): New type.
12745 (cnd_init): New prototype.
12746 (cnd_signa): Likewise.
12747 (cnd_broadcast): Likewise.
12748 (cnd_wait): Likewise.
12749 (cnd_timedwait): Likewise.
12750 (cnd_destroy): Likewise.
12753 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
12754 (once_flag): New type.
12755 (call_once): New function.
12756 * nptl/Makefile (libpthread-routines): Add call_once object.
12757 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
12758 * nptl/call_once.c: New file.
12759 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
12760 (once_flag): New type.
12761 (call_once): New prototype.
12764 * conform/data/threads.h-data (mtx_plain): New constant.
12765 (mtx_recursive): Likewise.
12766 (mtx_timed): Likewise.
12768 (mtx_init): New function.
12769 (mtx_lock): Likewise.
12770 (mtx_timedlock): Likewise.
12771 (mtx_trylock): Likewise.
12772 (mtx_unlock): Likewise.
12773 (mtx_destroy): Likewise.
12774 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
12775 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
12776 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
12777 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
12778 * nptl/mtx_destroy.c: New file.
12779 * nptl/mtx_init.c: Likewise.
12780 * nptl/mtx_lock.c: Likewise.
12781 * nptl/mtx_timedlock.c: Likewise.
12782 * nptl/mtx_trylock.c: Likewise.
12783 * nptl/mtx_unlock.c: Likewise.
12784 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
12785 (mtx_recursive): Likewise.
12786 (mtx_timed): Likewise.
12788 (mtx_init): New prototype.
12789 (mtx_lock): Likewise.
12790 (mtx_timedlock): Likewise.
12791 (mtx_trylock): Likewise.
12792 (mtx_unlock): Likewise.
12793 (mtx_destroy): Likewise.
12796 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
12797 (linknamespace-libs-ISO11): Add libpthread.a.
12798 * conform/data/threads.h-data: New file: add C11 thrd_* types and
12800 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
12801 * nptl/Makefile (headers): Add threads.h.
12802 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
12803 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
12805 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
12806 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
12807 thrd_join, thrd_sleep, and thrd_yield symbols.
12808 * nptl/descr.h (struct pthread): Add c11 field.
12809 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
12810 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
12811 routine with expected function prototype.
12812 (__pthread_create_2_1): Add C11 threads check based on attribute
12814 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
12815 * nptl/thrd_create.c: New file.
12816 * nptl/thrd_current.c: Likewise.
12817 * nptl/thrd_detach.c: Likewise.
12818 * nptl/thrd_equal.c: Likewise.
12819 * nptl/thrd_exit.c: Likewise.
12820 * nptl/thrd_join.c: Likewise.
12821 * nptl/thrd_priv.h: Likewise.
12822 * nptl/thrd_sleep.c: Likewise.
12823 * nptl/thrd_yield.c: Likewise.
12824 * include/threads.h: Likewise.
12826 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12828 * bits/indirect-return.h: New file.
12829 * misc/sys/cdefs.h (__glibc_has_attribute): New.
12830 * sysdeps/x86/bits/indirect-return.h: Likewise.
12831 * stdlib/Makefile (headers): Add bits/indirect-return.h.
12832 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
12833 (swapcontext): Add __INDIRECT_RETURN.
12834 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
12835 (prepare_test_buffer): Use it.
12837 2018-07-24 Andreas Schwab <schwab@suse.de>
12840 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
12841 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
12843 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12845 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
12846 Redefine if shadow stack is enabled.
12847 (SYSCALL_ERROR_LABEL): Likewise.
12848 (__vfork): Pop shadow stack and jump back to to caller directly
12849 when shadow stack is in use.
12850 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
12851 Redefine if shadow stack is enabled.
12852 (SYSCALL_ERROR_LABEL): Likewise.
12853 (__vfork): Pop shadow stack and jump back to to caller directly
12854 when shadow stack is in use.
12856 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12858 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
12861 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
12864 2018-07-20 Joseph Myers <joseph@codesourcery.com>
12866 * scripts/build-many-glibcs.py (Context.checkout): Default
12867 binutils version to 2.31 branch.
12869 2018-07-20 Zong Li <zong@andestech.com>
12871 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
12872 URL of gcc's tarball.
12874 2018-07-20 Florian Weimer <fweimer@redhat.com>
12877 * posix/regcomp.c (build_equiv_class): When comparing weights, do
12878 not compare an extra byte after the end of the weights.
12880 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12882 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
12884 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
12886 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
12887 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
12888 * scripts/check-execstack.awk: Consider `xfail' variable containing a
12889 list of libraries whose stack executability is expected.
12890 * elf/Makefile ($(objpfx)check-execstack.out): Pass
12891 $(check-execstack-xfail) to check-execstack.awk through `xfail'
12893 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
12894 libc.so libpthread.so.
12896 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
12898 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
12900 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
12902 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
12904 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
12906 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12908 * benchtests/scripts/compare_bench.py (__main__): use the argparse
12909 library to improve command line parsing.
12910 (__main__): make schema file as optional parameter (--schema),
12911 defaulting to benchtests/scripts/benchout.schema.json.
12912 (main): move out of the parsing stuff to __main_ and leave it
12913 only as caller of main comparison functions.
12915 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
12917 * NEWS: Add a note for Intel CET status.
12918 * manual/install.texi: Likewise.
12919 * INSTALL: Regenerated.
12921 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
12924 * localedata/locales/oc_FR (mon): Rename to...
12925 (alt_mon): This, then update October (typo fix).
12926 (mon): New content (genitive case, month names preceded by
12930 * localedata/locales/oc_FR (abday): Update all items.
12931 (day): Update Wednesday and Saturday (typo fixes).
12932 (abmon): Update all items, except May.
12933 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
12934 (LC_IDENTIFICATION): Bump the revision number and date.
12935 Keep the "category" entries in alphabetic order.
12936 (LC_ADDRESS): Remove no longer needed comment.
12937 (LC_COLLATE): Use “copy "ca_ES"”.
12938 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
12941 2018-07-18 Joseph Myers <joseph@codesourcery.com>
12943 * grp/tst_fgetgrent.c: Include <unistd.h>.
12944 (main): Use mkstemp instead of tmpnam.
12945 * io/test-utime.c (main): Likewise.
12946 * posix/annexc.c (macrofile): Change to modifiable array.
12947 (main): Remove macrofile here.
12948 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12950 (check_header): Do not remove macrofile here.
12951 * posix/bug-getopt1.c: Include <stdlib.h>.
12952 (do_test): Use mkstemp instead of tmpnam.
12953 * posix/bug-getopt2.c: Include <stdlib.h>.
12954 (do_test): Use mkstemp instead of tmpnam.
12955 * posix/bug-getopt3.c: Include <stdlib.h>.
12956 (do_test): Use mkstemp instead of tmpnam.
12957 * posix/bug-getopt4.c: Include <stdlib.h>.
12958 (do_test): Use mkstemp instead of tmpnam.
12959 * posix/bug-getopt5.c: Include <stdlib.h>.
12960 (do_test): Use mkstemp instead of tmpnam.
12961 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
12962 (main): Use mkstemp instead of tmpnam.
12963 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
12964 (main): Use mkstemp instead of tmpnam.
12965 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
12966 (main): use mkstemp instead of tmpnam.
12967 * stdlib/isomac.c (macrofile): Change to modifiable array.
12968 (main): Remove macrofile here.
12969 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12971 (check_header): Do not remove macrofile here.
12973 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12975 * manual/tunables.texi: Document glibc.tune.x86_ibt and
12976 glibc.tune.x86_shstk.
12978 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12980 * NEWS: Mention --enable-cet.
12981 * manual/install.texi: Document --enable-cet.
12982 * INSTALL: Regenerated.
12984 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12986 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
12987 Add _CET_NOTRACK before indirect jump to jump table.
12989 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12991 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
12992 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12995 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12997 * sysdeps/i386/i686/multiarch/strcat-sse2.S
12998 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13001 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13003 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
13004 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13007 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13009 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
13010 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13013 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13015 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
13016 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13018 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
13020 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13022 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
13023 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13026 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13028 * sysdeps/i386/i686/multiarch/memset-sse2.S
13029 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13032 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13034 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
13035 indirect jump to jump table.
13037 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13039 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
13040 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13042 (MEMCPY): Likewise.
13044 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13046 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
13047 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13049 (MEMCPY): Likewise.
13051 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13053 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13054 _CET_NOTRACK before indirect jump to jump table.
13056 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13058 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
13059 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13062 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13064 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
13065 indirect jump to jump table.
13067 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
13070 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
13071 (LOCALES): Likewise.
13072 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
13073 * localedata/locales/sah_RU: New file.
13074 * localedata/sah_RU.UTF-8.in: New file.
13076 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13078 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
13080 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13081 _CET_ENDBR to indirect jump targets and adjust jump destination
13083 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
13085 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13086 _CET_ENDBR to indirect jump targets and adjust jump destination
13088 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
13090 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
13091 _CET_ENDBR to indirect jump targets and adjust jump destination
13094 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13096 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13099 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13101 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
13103 (_dl_tlsdesc_undefweak): Likewise.
13104 (_dl_tlsdesc_dynamic): Likewise.
13105 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
13106 (_dl_tlsdesc_resolve_rel): Likewise.
13107 (_dl_tlsdesc_resolve_rela): Likewise.
13108 (_dl_tlsdesc_resolve_hold): Likewise.
13109 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
13110 (_dl_tlsdesc_undefweak): Likewise.
13111 (_dl_tlsdesc_dynamic): Likewise.
13112 (_dl_tlsdesc_resolve_rela): Likewise.
13113 (_dl_tlsdesc_resolve_hold): Likewise.
13115 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13117 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
13119 * sysdeps/x86_64/crti.S (_init): Likewise.
13122 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
13125 * localedata/locales/os_RU (mon): Rename to...
13127 (mon): Import from CLDR (genitive case).
13129 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13131 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
13132 cet-tunables.h> when CET is enabled.
13134 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
13137 * configure.ac: Add --enable-cet.
13138 * configure: Regenerated.
13139 * elf/Makefille (all-built-dso): Add a comment.
13140 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
13141 Include <dl-prop.h>.
13142 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
13144 * elf/dl-open.c: Include <dl-prop.h>.
13145 (dl_open_worker): Call _dl_open_check.
13146 * elf/rtld.c: Include <dl-prop.h>.
13147 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
13149 * sysdeps/generic/dl-prop.h: New file.
13150 * sysdeps/i386/dl-cet.c: Likewise.
13151 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
13152 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
13153 * sysdeps/x86/cet-tunables.h: Likewise.
13154 * sysdeps/x86/check-cet.awk: Likewise.
13155 * sysdeps/x86/configure: Likewise.
13156 * sysdeps/x86/configure.ac: Likewise.
13157 * sysdeps/x86/dl-cet.c: Likewise.
13158 * sysdeps/x86/dl-procruntime.c: Likewise.
13159 * sysdeps/x86/dl-prop.h: Likewise.
13160 * sysdeps/x86/libc-start.h: Likewise.
13161 * sysdeps/x86/link_map.h: Likewise.
13162 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
13164 (_dl_runtime_profile): Likewise.
13165 (_dl_runtime_resolve_shstk): New.
13166 (_dl_runtime_profile_shstk): Likewise.
13167 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
13169 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
13170 (CFLAGS-.os): Likewise.
13171 (CFLAGS-.op): Likewise.
13172 (CFLAGS-.oS): Likewise.
13173 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
13175 (tests-special): Add $(objpfx)check-cet.out.
13176 (cet-built-dso): New.
13177 (+$(cet-built-dso:=.note)): Likewise.
13178 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
13179 ($(objpfx)check-cet.out): New.
13180 (generated): Add check-cet.out.
13181 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
13183 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
13184 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13185 (init_cpu_features): Call get_cet_status to check CET status
13186 and update dl_x86_feature_1 with CET status. Call
13187 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
13188 (set_x86_shstk). Disable and lock CET in libc.a.
13189 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
13190 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
13191 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13192 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
13193 (_CET_ENDBR): Define if not defined.
13194 (ENTRY): Add _CET_ENDBR.
13195 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
13197 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
13199 (_dl_runtime_profile): Likewise.
13201 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
13204 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
13205 restore r2 on longjmp.
13206 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
13208 Added rules to build test tst-setjmp-bug21895-static.
13209 Added module setjmp-bug21895 and rules to build a shared object from it.
13210 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
13211 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
13213 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
13215 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
13216 * benchtests/bench-strstr.c: Likewise.
13217 * string/memmem.c (FASTSEARCH): Define.
13218 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
13219 Add support for FASTSEARCH.
13220 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
13221 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
13222 (FASTSEARCH): Define.
13223 * string/test-strcasestr.c: Rename __strnlen to strnlen.
13224 * string/test-strstr.c: Likewise.
13226 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
13228 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
13229 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
13231 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
13232 H.J. Lu <hongjiu.lu@intel.com>
13234 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
13235 (__longjmp): Restore shadow stack pointer if shadow stack is
13236 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13237 isn't defined for __longjmp_cancel.
13238 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
13239 (_setjmp): Save shadow stack pointer if shadow stack is enabled
13240 and SHADOW_STACK_POINTER_OFFSET is defined.
13241 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
13242 (setjmp): Save shadow stack pointer if shadow stack is enabled
13243 and SHADOW_STACK_POINTER_OFFSET is defined.
13244 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
13245 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13246 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13247 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
13249 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13250 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13251 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
13252 Remove jmp_buf-ssp.sym.
13253 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13255 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13256 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13257 * sysdeps/x86/Makefile (gen-as-const-headers): Add
13259 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
13260 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
13261 (__longjmp): Restore shadow stack pointer if shadow stack is
13262 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13263 isn't defined for __longjmp_cancel.
13264 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
13265 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13266 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13268 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
13271 * nptl/pthread_create.c: Include <tls-setup.h>.
13272 (__pthread_create_2_1): Call tls_setup_tcbhead.
13273 * sysdeps/generic/tls-setup.h: New file.
13274 * sysdeps/x86/nptl/tls-setup.h: Likewise.
13275 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13276 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
13278 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
13280 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13281 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
13282 (X86_FEATURE_1_SHSTK): Likewise.
13283 (CET_ENABLED): Likewise.
13284 (IBT_ENABLED): Likewise.
13285 (SHSTK_ENABLED): Likewise.
13287 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
13290 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
13291 (LOCALES): Likewise.
13292 * localedata/dsb_DE.UTF-8.in: New file.
13293 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
13295 2018-07-12 Florian Weimer <fweimer@redhat.com>
13297 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
13298 __mprotect, not mprotect.
13300 2018-07-11 Florian Weimer <fweimer@redhat.com>
13302 * io/Makefile (headers): Add bits/statx.h.
13304 2018-07-10 Mike FABIAN <mfabian@redhat.com>
13306 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
13307 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
13309 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
13310 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
13313 2018-07-10 Florian Weimer <fweimer@redhat.com>
13315 * io/Makefile (routines): Add statx.
13316 (tests-internal): Add tst-statx.
13317 * io/Versions (GLIBC_2.28): Export statx.
13318 * io/bits/statx.h: New file.
13319 * io/sys/stat.h [__USE_GNU]: Include it.
13320 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
13321 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
13323 * io/statx.c: New file.
13324 * io/statx_generic.: Likewise.
13325 * io/tst-statx.: Likewise.
13326 * include/bits/statx.h: Likewise.
13327 * sysdeps/unix/sysv/linux/kernel-features.h
13328 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
13329 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13330 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
13331 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
13333 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13334 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
13335 * sysdeps/unix/sysv/linux/statx.c: New file.
13336 * manual/filesys.texi: Note that statx is undocumented.
13337 * sysdeps/**/libc*.abilist: Update.
13339 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13341 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
13342 a kernel issue which lead to test failure in some cases.
13344 2018-07-10 Florian Weimer <fweimer@redhat.com>
13347 * posix/regexec.c (check_node_accept_bytes): When comparing
13348 weights, do not compare an extra byte after the end of the
13351 2018-07-10 Florian Weimer <fweimer@redhat.com>
13353 * libio/readline.c: Fix copyright year.
13354 * libio/tst-readline.c Likewise.
13355 * nss/tst-nss-files-hosts-getent.c: Likewise.
13357 2018-07-06 Florian Weimer <fweimer@redhat.com>
13360 * nss/nss_files/files-XXX.c (internal_getent): Use
13361 __libc_readline_unlocked. Seek back to the start of the line if
13362 parsing failes with ERANGE.
13363 (get_contents_ret, get_contents): Remove.
13364 * nss/tst-nss-files-hosts-getent.c: New file.
13365 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
13366 (tst-nss-files-hosts-getent): Link with -ldl.
13368 2018-07-06 Florian Weimer <fweimer@redhat.com>
13370 * include/stdio.h (__libc_readline_unlocked): Declare.
13371 (__ftello64, __fseeko64): Declare aliases.
13372 * libio/readline.c: New file.
13373 * libio/tst-readline.c: Likewise.
13374 (routines): Add readline.
13375 (tests-internal): Add tst-readlime.
13376 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
13377 __libc_readline_unlocked.
13378 * libio/fseeko.c (__fseeko): Rename from fseeko.
13379 (fseeko): Add alias.
13380 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
13381 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
13382 (fseeko64): Add alias.
13383 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
13384 * libio/ftello64.c (__ftello64): Rename from ftello64.
13385 (ftello64): Add alias.
13387 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13389 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
13392 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13394 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
13395 Use dl_hwcap without masking.
13396 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
13397 Remove HWCAP_CPUID.
13399 2018-07-06 Florian Weimer <fweimer@redhat.com>
13401 * conform/conformtest.pl (checknamespace): Escape literal braces
13402 in regular expressions.
13404 2018-07-06 Amit Pawar <amit.pawar@amd.com>
13406 * sysdeps/x86/cpu-features.c (get_common_indeces):
13407 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
13408 * sysdeps/x86/cpu-features.c (init_cpu_features):
13409 AVX_Fast_Unaligned_Load is disabled for Excavator core.
13411 2018-07-05 Florian Weimer <fweimer@redhat.com>
13413 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
13415 (CFLAGS-elf-init.oS): Likewise.
13417 2018-07-05 Florian Weimer <fweimer@redhat.com>
13418 Carlos O'Donell <carlos@redhat.com>
13420 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
13421 $(no-stack-protector). stack_chk_fail_local.c can be compiled
13422 with stack protector enabled because there is no risk of infinite
13425 2018-07-05 Maciej W. Rozycki <macro@mips.com>
13429 * libc-abis (ABSOLUTE): New ABI.
13430 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
13431 * NEWS: Mention the new ABI.
13433 2018-07-05 Florian Weimer <fweimer@redhat.com>
13436 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
13437 (RENAME_WHITEOUT): Define.
13438 [__USE_GNU] (renameat2): Declare.
13439 * stdio-common/Makefile (routines): Add renameat2.
13440 (tests): Add tst-renameat2.
13441 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
13442 * stdio-common/renameat2.c: New file.
13443 * stdio-common/tst-renameat2.c: Likewise.
13444 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
13445 * manual/filesys.texi (Temporary Files): Note that renameat2 is
13447 * sysdeps/unix/sysv/linux/kernel-features.h
13448 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
13449 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13450 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13451 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13452 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13453 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13454 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
13455 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13456 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
13457 * include/stdio.h (__renameat): Add alias for renameat.
13458 * stdio-common/renameat.c (__renameat): Rename from renameat.
13459 Add hidden definition and alias.
13460 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13461 * sysdeps/mach/hurd/renameat.c: Likewise.
13462 * sysdeps/**/libc*.abilist: Add renameat2.
13464 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13466 * posix/bug-regex33.c: Fix build after regex sync.
13468 2018-07-04 Carlos O'Donell <carlos@redhat.com>
13471 * localedata/tst-langinfo-setlocale.c: New file.
13472 * localedata/tst-langinfo-setlocale-static.c: New file.
13473 * localedata/tst-langinfo-newlocale.c: New file.
13474 * localedata/tst-langinfo-newlocale-static.c: New file.
13475 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
13476 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
13477 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
13478 (tests-static): Remove tst-langinfo-static. Add
13479 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
13480 (tests-special): Remove $(objpfx)tst-langinfo.out,
13481 $(objpfx)tst-langinfo-static.out. Add
13482 $(objpfx)tst-langinfo-setlocale.out,
13483 $(objpfx)tst-langinfo-newlocale.out,
13484 $(objpfx)tst-langinfo-setlocale-static.out,
13485 $(objpfx)tst-langinfo-newlocale-static.out.
13486 ($(objpfx)tst-langinfo.out): Remove.
13487 ($(objpfx)tst-langinfo-static.out): Remove.
13488 ($(objpfx)tst-langinfo-newlocale.out): New target.
13489 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
13490 (test-xfail-tst-langinfo-newlocale-static): Add.
13491 ($(objpfx)tst-langinfo-setlocale.out): New target.
13492 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
13493 * localedata/tst-langinfo.c: Call test_locale.
13494 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
13497 2018-07-04 Florian Weimer <fweimer@redhat.com>
13499 testrun.sh: Implement --tool=strace, --tool=valgrind
13500 * Makefile (testrun-script): Define variable.
13501 (testrun.sh): Use variable.
13502 * manual/install.texi (Tools for Compilation): make 4.0 or later
13504 * configure.ac: Check for make 4.0 or later.
13505 * INSTALL: Regenerate.
13506 * configure: Likewise.
13508 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13514 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
13515 * posix/PCRE.tests: Remove invalid test.
13516 * posix/bug-regex28.c: Fix expected values for used syntax.
13517 * posix/bug-regex37.c: New file.
13518 * posix/bug-regex38.c: Likewise.
13519 * posix/regcomp.c: Sync with gnulib.
13520 * posix/regex.c: Likewise.
13521 * posix/regex.h: Likewise.
13522 * posix/regex_internal.c: Likewise.
13523 * posix/regex_internal.h: Likewise.
13524 * posix/regexec.c: Likewise.
13526 2018-06-26 Mike FABIAN <mfabian@redhat.com>
13529 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
13530 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
13531 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
13532 * localedata/unicode-gen/PropList.txt: likewise.
13533 * localedata/unicode-gen/UnicodeData.txt: likewise.
13534 * localedata/charmaps/UTF-8: Regenerate.
13535 * localedata/locales/i18n_ctype: likewise.
13536 * localedata/locales/tr_TR: likewise.
13537 * localedata/locales/translit_circle: likewise.
13538 * localedata/locales/translit_cjk_compat: likewise.
13539 * localedata/locales/translit_combining: likewise.
13540 * localedata/locales/translit_compat: likewise.
13541 * localedata/locales/translit_font: likewise.
13542 * localedata/locales/translit_fraction: likewise.
13544 2018-07-03 Florian Weimer <fweimer@redhat.com>
13547 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
13548 * stdio-common/tst-printf.sh: Adjust expected output.
13549 * LICENSES: Update.
13551 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13553 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
13556 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13558 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
13559 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
13560 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
13561 * stdio-common/tst-printfsz-islongdouble.c: New file.
13562 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
13563 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
13564 [subdir == stdio-common] (routines): Add ieee128-printf_size.
13565 [subdir == stdio-common] (tests-internal): Add
13566 test-printf-size-ieee128, and test-printf-size-ibm128.
13567 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
13568 (CFLAGS-test-printf-size-ibm128.c): New variables.
13569 [subdir == stdio-common] (tests-special): Add
13570 $(objpfx)test-printf-size-ieee128.out and
13571 $(objpfx)test-printf-size-ibm128.out.
13572 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
13573 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
13574 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
13575 __printf_sizeieee128.
13576 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
13578 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
13580 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
13583 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13585 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
13586 (exp2f_inline): Likewise.
13587 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
13588 (__math_uflowf): Likewise.
13589 (__math_may_uflowf): Likewise.
13590 (__math_divzerof): Likewise.
13591 (__math_invalidf): Likewise.
13592 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
13593 (__math_oflowf): Likewise.
13594 (__math_uflowf): Likewise.
13595 (__math_may_uflowf): Likewise.
13596 (__math_divzerof): Likewise.
13597 (__math_invalidf): Likewise.
13599 2018-06-29 DJ Delorie <dj@redhat.com>
13600 Carlos O'Donell <carlos@redhat.com>
13603 * include/libc-symbols.h: Comment the freeres framework.
13604 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
13605 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
13606 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
13607 * dlfcn/dlerror.c: Include libc-symbols.h
13608 (__dlerror_main_freeres): New function.
13609 * dlfcn/dlfreeres.c: New file.
13610 * dlfcn/sdlfreeres.c: New file.
13611 * include/dlfcn.h: Declare __dlerror_main_freeres.
13612 * malloc/set-freeres.c: Declare __libdl_freeres, and
13613 __libpthread_freeres.
13614 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
13615 the releavant libraries are loaded.
13616 * malloc/thread-freeres.c: Add comments.
13617 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
13618 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
13619 * nptl/allocatestack.c (__nptl_free_stacks): New function.
13620 (__free_stacks): Rename to...
13621 (free_stacks): ...this. Mark static.
13622 (queue_stack): Call free_stacks.
13623 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
13624 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
13625 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
13626 ptr_freeres element from struct.
13627 (pthread_functions): Remove .ptr_freeres from struct initializer.
13628 [SHARED] (nptl_freeres): Remove.
13629 * nptl/nptlfreeres.c: New file.
13631 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
13632 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
13634 (__free_stacks): Rename to...
13635 (__nptl_stacks_freeres): ...this.
13636 (__shm_directory_freeres): Declare.
13637 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
13638 (__nptl_unwind_freeres): ...this.
13639 * resolv/res-close.c: Add comment.
13640 * resolv/resolv_conf.c: Include libc-symbols.h.
13641 * string/strerror_l.c: Include libc-symbols.h.
13642 * sunrpc/rpc_thread.c: Include libc-symbols.h.
13643 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
13644 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
13645 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
13647 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13649 * stdlib/tst-strfmon_l.c: Add tests for long double.
13651 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
13654 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
13655 * localedata/locales/dsb_DE: New file.
13657 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13660 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
13662 (alt_mon): New entry, import from CLDR (nominative case).
13664 2018-06-29 Sylvain Lesage <severo@rednegra.net>
13667 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
13669 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
13671 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13672 Use vector registers.
13674 * sysdeps/aarch64/multiarch/memmove_falkor.S
13675 (__memcpy_falkor): Use vector registers.
13677 2018-06-29 Martin Sebor <msebor@redhat.com>
13679 * manual/stdio.texi (Customizing Printf): Mention interaction
13680 with GCC built-ins.
13682 2018-06-29 Maciej W. Rozycki <macro@mips.com>
13685 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
13686 `st_value' is 0 if `st_shndx' is SHN_ABS.
13687 * elf/tst-absolute-zero.c: New file.
13688 * elf/tst-absolute-zero-lib.c: New file.
13689 * elf/tst-absolute-zero-lib.lds: New file.
13690 * elf/Makefile (tests): Add `tst-absolute-zero'.
13691 (modules-names): Add `tst-absolute-zero-lib'.
13692 (LDLIBS-tst-absolute-zero-lib.so): New variable.
13693 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
13694 ($(objpfx)tst-absolute-zero: New dependency.
13696 2018-06-29 Zack Weinberg <zackw@panix.com>
13698 * configure.ac: New command-line option --disable-crypt.
13699 Force --disable-nss-crypt when --disable-crypt is given, with a
13700 warning if it was explicitly enabled.
13701 * configure: Regenerate.
13702 * config.make.in: New boolean substitution variable $(build-crypt).
13703 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
13704 when $(build-crypt).
13705 * manual/install.texi: Document --disable-crypt.
13706 * INSTALL: Regenerate.
13708 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
13709 which is never set.
13710 * conform/Makefile: Only include libcrypt.a in
13711 linknamespace-libs-xsi and linknamespace-libs-XPG4
13712 when $(build-crypt).
13713 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
13714 USE_CRYPT to 1 when $(build-crypt).
13715 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
13716 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
13717 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
13719 2018-06-29 Zack Weinberg <zackw@panix.com>
13721 * crypt/crypt.h, posix/unistd.h: Update comments and
13722 prototypes for crypt and crypt_r.
13724 * manual/crypt.texi (Cryptographic Functions): New initial
13726 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
13727 (Unpredictable Bytes): Improve initial exposition. Clarify error
13728 behavior of getentropy and getrandom.
13729 * manual/examples/genpass.c: Generate a salt using getentropy
13730 instead of the current time. Use hash $5$ (SHA-2-256).
13731 * manual/examples/testpass.c: Demonstrate validation against
13732 hashes generated with three different one-way functions.
13734 * manual/intro.texi: crypt.texi does not need an overview
13737 * manual/nss.texi, manual/memory.texi, manual/socket.texi
13738 * manual/terminal.texi: Consistently refer to "passphrases"
13739 * instead of "passwords", and to the "user database" instead
13740 * of the "password database".
13741 * manual/users.texi: Similarly. Add notes about how actual
13742 passphrase hashes are now stored in the shadow database.
13743 Remove 20-year-old junk todo note.
13745 2018-06-29 Zack Weinberg <zackw@panix.com>
13747 * manual/crypt.texi: Use a normal top-level @node declaration.
13748 Move most of the introductory text to the 'crypt' section.
13749 Move the example programs below the @deftypefun for 'crypt_r'.
13750 Move the 'getpass' section...
13751 * manual/terminal.texi: ...here.
13753 2018-06-29 Zack Weinberg <zackw@panix.com>
13754 Florian Weimer <fweimer@redhat.com>
13756 * posix/unistd.h: Do not declare encrypt.
13757 (_XOPEN_CRYPT): Remove macro definition.
13758 (crypt): Declare only for _USE_MISC.
13759 * stdlib/stdlib.h: Do not declare setkey.
13760 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
13761 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
13763 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
13764 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
13765 into compat symbols. Don't define initial_perm if it's not
13767 * crypt/cert.c: Link explicitly with the expected versions for
13768 setkey and encrypt. If they are not available at all, mark
13769 the test as unsupported.
13771 * sunrpc/des_crypt.c: Unconditionally block linkage with
13772 cbc_crypt and ecb_crypt for new binaries.
13773 * sunrpc/des_soft.c: Unconditionally block linkage with
13774 des_setparity for new binaries.
13776 * manual/crypt.texi: Remove the entire "DES Encryption"
13777 section. Also remove the paragraph talking about FIPS 140-2
13778 from the introduction.
13779 * manual/string.texi (strfry, memfrob): Revise. Recommend use
13780 of libgcrypt for "real" encryption, not DES.
13781 * manual/conf.texi (Constants for Sysconf): Mention that
13782 _XOPEN_CRYPT is no longer impelemented.
13784 * conform/data/unistd.h-data: Remove crypt function declaration.
13786 2018-06-29 Florian Weimer <fweimer@redhat.com>
13789 * malloc/hooks.c: Update comments on restoring of dumped heaps.
13790 (disallow_malloc_check): Remove variable.
13791 (__malloc_check_init): Adjust.
13792 (malloc_set_state): Update comment.
13793 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
13796 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13799 * localedata/locales/ast_ES (mon): Rename to...
13801 (mon): Import from CLDR (genitive case).
13803 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
13804 Jakub Sitnicki <jkbs@redhat.com>
13807 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
13808 on NLM_F_DUMP_INTR.
13810 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
13812 * manual/llio.texi: Remove spurious space.
13814 2018-06-28 Florian Weimer <fweimer@redhat.com>
13817 * time/bits/types/struct_timespec.h: Change header inclusion guard to
13820 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13822 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
13823 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
13824 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
13825 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
13826 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
13827 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
13828 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
13830 2018-06-27 Maciej W. Rozycki <macro@mips.com>
13833 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
13834 Copy and null-terminate entries that are not terminated, in
13835 addition to empty ones.
13837 2018-06-27 Florian Weimer <fweimer@redhat.com>
13840 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
13841 (extend_alloca_account): Remove.
13842 * manual/stdio.texi (Variable Arguments Output): Update comment.
13844 2018-06-27 Joseph Myers <joseph@codesourcery.com>
13846 * nptl/sockperf.c: Remove file.
13848 2018-06-27 Florian Weimer <fweimer@redhat.com>
13851 * elf/dl-deps.c (_dl_map_object_deps): Use struct
13852 scratch_buffer instead of extend_alloca.
13854 2018-06-27 Florian Weimer <fweimer@redhat.com>
13857 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
13858 scratch_buffer instead of extend_alloca. Update comments.
13860 2018-06-27 Florian Weimer <fweimer@redhat.com>
13863 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
13864 instead of extend_alloca.
13866 2018-06-26 Joseph Myers <joseph@codesourcery.com>
13869 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
13870 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
13872 * scripts/test-installation.pl: Put temporary files in build
13873 directory, not /tmp.
13874 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
13875 (CFLAGS-bug4.c): Likewise.
13876 (CFLAGS-bug5.c): Likewise.
13877 (CFLAGS-test-fseek.c): Likewise.
13878 (CFLAGS-test-popen.c): Likewise.
13879 (CFLAGS-test_rdwr.c): Likewise.
13880 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
13882 * stdio-common/bug4.c (main): Likewise.
13883 * stdio-common/bug5.c (main): Likewise.
13884 * stdio-common/test-fseek.c (TESTFILE): Likewise.
13885 * stdio-common/test-popen.c (do_test): Likewise.
13886 * stdio-common/test_rdwr.c (main): Likewise.
13888 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
13890 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
13891 (sem_open): Set sem.newsem.pad to zero for valgrind.
13893 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13896 * NEWS: Mention fcntl64 addition.
13897 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
13898 * login/utmp_file.c: Likewise.
13899 * sysdeps/posix/fdopendir.c: Likewise.
13900 * sysdeps/posix/opendir.c: Likewise.
13901 * sysdeps/unix/pt-fcntl.c: Likewise.
13902 * include/fcntl.h (__libc_fcntl64, __fcntl64,
13903 __fcntl64_nocancel_adjusted): New prototype.
13904 (__fcntl_nocancel_adjusted): Remove prototype.
13905 * io/Makefile (routines): Add fcntl64.
13906 (CFLAGS-fcntl64.c): New rule.
13907 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
13908 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
13909 * io/fcntl.h (fcntl64): Add prototype and redirect if
13910 __USE_FILE_OFFSET64 is defined.
13911 * io/fcntl64.c: New file.
13912 * manual/llio.text: Add a note for which commands fcntl acts a
13913 cancellation point.
13914 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
13915 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
13916 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
13918 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
13919 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
13921 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
13922 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
13923 to __fcntl64_nocancel.
13924 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
13925 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
13926 to __fcntl64_nocancel.
13927 * sysdeps/generic/not-cancel.h: Likewise.
13928 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
13929 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
13930 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13931 (fcntl64): New symbol.
13932 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13933 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13934 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13937 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13938 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13939 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13940 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13941 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13942 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
13943 fcntl64): Likewise.
13944 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13945 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
13946 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13947 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13948 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13949 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13950 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13951 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13952 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13957 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13958 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13959 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13961 2018-06-26 Florian Weimer <fweimer@redhat.com>
13963 Run thread shutdown functions in an explicit order.
13964 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
13966 (__libc_thread_freeres): Call thread shutdown functions
13968 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
13969 * include/string.h (__strerror_thread_freeres): Declare.
13970 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
13971 arena_thread_freeres. No longer static. Remove thread shutdown
13973 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
13975 * resolv/res-close.c (__res_thread_freeres): Renamed from
13976 res_thread_freeres. No longer static. Remove thread shutdown
13978 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
13979 * resolv/resolv_conf.c (freeres): Remove incorrect section
13980 attribute and use libc_freeres_fn.
13981 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
13982 strerror_thread_freeres. No longer static. Remove thread
13983 shutdown hook registration.
13984 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
13985 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
13986 shutdown hook registration.
13987 * Makerules (shlib.lds): Do not provide section boundary symbols
13988 for __libc_thread_subfreeres.
13989 * manual/memory.texi (Basic Allocation): Update comment.
13991 2018-06-26 Florian Weimer <fweimer@redhat.com>
13993 Remove always-defined _RPC_THREAD_SAFE_ macro.
13994 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
13995 Do not define _RPC_THREAD_SAFE_.
13996 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
13998 * sunrpc/clnt_perr.c: Likewise.
13999 * sunrpc/clnt_raw.c: Likewise.
14000 * sunrpc/clnt_simp.c: Likewise.
14001 * sunrpc/key_call.c: Likewise.
14002 * sunrpc/rpc_common.c: Likewise.
14003 * sunrpc/rpc_main.c: Likewise.
14004 * sunrpc/rpc_thread.c: Likewise.
14005 * sunrpc/svc.c: Likewise.
14006 * sunrpc/svc_raw.c: Likewise.
14007 * sunrpc/svc_simple.c: Likewise.
14008 * sumrpc/svcauth_des.c: Likewise.
14010 2018-06-26 Florian Weimer <fweimer@redhat.com>
14012 * libio/Makefile (tests-internal): Add tst-vtables,
14013 tst-vtables-interposed.
14014 * libio/tst-vtables.c: New file.
14015 * libio/tst-vtables-common.c: Likewise.
14016 * libio/tst-vtables-interposed.c: Likewise.
14018 2018-06-26 Florian Weimer <fweimer@redhat.com>
14020 * support/support_test_main.c (support_test_main): Only call
14021 setvbuf if not disables.
14022 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
14023 * support/test-driver.h (struct test_config): Add no_setvbuf member.
14025 2018-06-26 Florian Weimer <fweimer@redhat.com>
14028 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
14030 2018-06-25 Florian Weimer <fweimer@redhat.com>
14033 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14034 Use struct scratch_buffer instead of extend_alloca.
14036 2018-06-25 Florian Weimer <fweimer@redhat.com>
14039 * nss/getent.c (initgroups_keys): Use dynarray instead of
14042 2018-06-25 Florian Weimer <fweimer@redhat.com>
14045 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
14046 Use struct scratch_buffer instead of extend_alloca.
14048 2018-06-25 Florian Weimer <fweimer@redhat.com>
14051 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
14052 back to malloc directly, without stack allocations.
14054 2018-06-25 Florian Weimer <fweimer@redhat.com>
14057 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
14060 2018-06-25 Florian Weimer <fweimer@redhat.com>
14063 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
14065 * nscd/hstcache.c (addhstbyX): Likewise.
14066 * nscd/pwdcache.c (addpwbyX): Likewise.
14067 * nscd/servicescache.c (addservbyX): Likewise.
14069 2018-06-25 Florian Weimer <fweimer@redhat.com>
14072 * nscd/connections.c (read_cmdline): New function.
14073 (restart): Use it. Update comment.
14075 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14078 * localedata/locales/csb_PL (mon): Rename to...
14080 (abmon): Rename to...
14081 (ab_alt_mon): This.
14082 (mon): Add with proper genitive forms, copy from Wikipedia.
14085 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14088 * localedata/locales/csb_PL (mon): Fix typos:
14089 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
14090 (yesstr): Add, value is "jo".
14091 (nostr): Add, value is "nié".
14093 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14095 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
14096 all log1p and significand functions on m680x0.
14097 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
14098 of s_significand.c..
14099 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14100 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
14101 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
14102 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
14103 s_log1p.c and include it..
14105 2018-06-21 Vincent Chen <vincentc@andestech.com>
14107 * elf/elf.h (R_NDS32_NONE): New define.
14108 (R_NDS32_32_RELA): Likewise.
14109 (R_NDS32_COPY): Likewise.
14110 (R_NDS32_GLOB_DAT): Likewise.
14111 (R_NDS32_JUMP_SLOT): Likewise.
14112 (R_NDS32_RELATIVE): Likewise.
14113 (R_NDS32_TLS_TPOFF): Likewise.
14114 (R_NDS32_TLS_DESC): Likewise.
14116 2018-06-21 Mark Wielaard <mark@klomp.org>
14118 * elf/elf.h (R_BPF_MAP_FD): Removed.
14119 (R_BPF_64_64, R_BPF_64_32): New.
14121 2018-06-21 Florian Weimer <fweimer@redhat.com>
14124 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
14125 Renamed from libc_feholdsetround_ctx.
14126 (default_libc_feresetround_ctx): Renamed from
14127 libc_feresetround_ctx.
14128 (default_libc_feholdsetround_noex_ctx): Renamed from
14129 libc_feholdsetround_noex_ctx.
14130 (default_libc_feresetround_noex_ctx): Renamed from
14131 libc_feresetround_noex_ctx.
14132 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
14133 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
14134 forwardning to the old implementations under the new names.
14135 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
14136 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
14137 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
14138 (libc_feresetround_ctx): Forward to default implements for i386
14139 and MATH_SET_BOTH_ROUNDING_MODES.
14140 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
14141 Add -DMATH_SET_BOTH_ROUNDING_MODES.
14143 2018-06-20 Joseph Myers <joseph@codesourcery.com>
14145 * string/tst-cmp.c: Include <libc-diag.h>.
14146 (strncmp_max): Disable -Wstringop-overflow= around call to
14148 (strncasecmp_max): Disable -Wstringop-overflow= around call to
14151 * string/bug-strpbrk1.c: Include <libc-diag.h>.
14152 (main): Disable -Wunused-value around call to strpbrk.
14153 * string/bug-strspn1.c: Include <libc-diag.h>.
14154 (main): Disable -Wunused-value around call to strspn.
14156 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14157 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14159 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
14160 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
14162 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14164 * math/Makefile (libm-calls): Move s_significandF to...
14165 (gen-libm-calls): ... here.
14166 * math/s_significand_template.c: New file.
14167 * math/s_significand.c: Removed.
14168 * math/s_significandf.c: Removed.
14169 * math/s_significandl.c: Removed.
14170 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
14171 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
14173 * math/e_exp2_template.c (declare_mgen_finite_alias,
14174 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
14175 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
14176 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
14178 2018-06-20 Florian Weimer <fweimer@redhat.com>
14180 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
14182 2018-06-19 Joseph Myers <joseph@codesourcery.com>
14185 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
14186 floating-point number to strtod functions rather than possibly
14187 negating result of those functions.
14188 * stdio-common/tst-scanf-round.c: New file.
14189 * stdio-common/Makefile (tests): Add tst-scanf-round.
14190 ($(objpfx)tst-scanf-round): Depend on $(libm).
14192 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14194 * sysdeps/mach/hurd/localplt.data: Move to...
14195 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
14196 R_386_GLOB_DAT like on Linux i386.
14198 2018-06-18 Joseph Myers <joseph@codesourcery.com>
14200 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
14201 (SHM_STAT_ANY): New macro.
14202 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
14203 (SHM_STAT_ANY): Likewise.
14204 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
14205 (SHM_STAT_ANY): Likewise.
14206 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
14207 (SHM_STAT_ANY): Likewise.
14208 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
14209 (SHM_STAT_ANY): Likewise.
14210 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
14211 (SHM_STAT_ANY): Likewise.
14212 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
14213 (SHM_STAT_ANY): Likewise.
14214 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
14215 (SHM_STAT_ANY): Likewise.
14216 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
14217 (SHM_STAT_ANY): Likewise.
14218 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
14219 (SHM_STAT_ANY): Likewise.
14220 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
14221 (SHM_STAT_ANY): Likewise.
14222 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
14223 (SHM_STAT_ANY): Likewise.
14225 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
14226 (SEM_STAT_ANY): New macro.
14227 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
14228 (SEM_STAT_ANY): Likewise.
14229 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
14230 (SEM_STAT_ANY): Likewise.
14231 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
14232 (SEM_STAT_ANY): Likewise.
14233 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
14234 (SEM_STAT_ANY): Likewise.
14235 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
14236 (SEM_STAT_ANY): Likewise.
14237 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
14238 (SEM_STAT_ANY): Likewise.
14239 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
14240 (SEM_STAT_ANY): Likewise.
14241 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
14242 (SEM_STAT_ANY): Likewise.
14243 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
14244 (SEM_STAT_ANY): Likewise.
14246 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
14247 (MSG_STAT_ANY): New macro.
14248 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
14249 (MSG_STAT_ANY): Likewise.
14250 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
14251 (MSG_STAT_ANY): Likewise.
14252 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
14253 (MSG_STAT_ANY): Likewise.
14254 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
14255 (MSG_STAT_ANY): Likewise.
14256 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
14257 (MSG_STAT_ANY): Likewise.
14258 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
14259 (MSG_STAT_ANY): Likewise.
14260 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
14261 (MSG_STAT_ANY): Likewise.
14262 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
14263 (MSG_STAT_ANY): Likewise.
14264 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
14265 (MSG_STAT_ANY): Likewise.
14267 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14268 (MAP_TYPE): Change value to 0x2b.
14270 2018-06-18 Florian Weimer <fweimer@redhat.com>
14273 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
14274 socket with SOCK_CLOEXEC.
14276 2018-06-18 Joseph Myers <joseph@codesourcery.com>
14279 * sysdeps/powerpc/powerpc64/le/Makefile
14280 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
14281 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
14282 (gnulib-tests): Also add $(f128-loader-link) for
14283 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
14285 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
14287 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
14288 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
14290 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
14291 (sendfile64): New strong alias.
14292 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
14293 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
14294 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
14295 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
14297 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
14298 ___pthread_get_cleanup_stack.
14299 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
14300 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
14301 * mach/shortcut.awk: Make syscall stubs include
14302 <mach-shortcuts-hidden.h> and add hidden definition.
14303 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
14304 (__mach_msg): Add hidden prototype.
14305 * mach/msg.c: Include <mach.h>.
14306 (__mach_msg): Add hidden definition.
14307 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
14308 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
14309 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
14310 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
14311 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
14312 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
14313 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
14314 prototype and definition.
14315 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
14316 hidden target for _hurd_self_sigstate.
14318 2018-06-15 Joseph Myers <joseph@codesourcery.com>
14321 * stdlib/tst-strtod-nan-sign-main.c: New file.
14322 * stdlib/tst-strtod-nan-sign.c: Likewise.
14323 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
14324 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
14325 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
14326 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
14327 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
14329 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
14332 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
14335 2018-06-14 Florian Weimer <fweimer@redhat.com>
14338 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
14339 that the result stays within the ISO-8859-1 range.
14340 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
14341 characters are defined in IBM273.
14343 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
14345 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
14346 __mach_task_self): Remove attribute_hidden.
14348 2018-06-14 Joseph Myers <joseph@codesourcery.com>
14350 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
14351 ignore -Wrestrict for one test.
14353 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
14354 Szabolcs Nagy <szabolcs.nagy@arm.com>
14356 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
14358 2018-06-14 Florian Weimer <fweimer@redhat.com>
14360 * scripts/update-abilist.sh: Accept empty list of files to patch.
14362 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
14364 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
14365 test-xfail-check-abi-libmachuser): Add.
14366 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
14367 __libc_read and __libc_write to __read and __write.
14368 * sysdeps/hurd/include/hurd/port.h: New file.
14369 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
14370 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
14371 __thread_switch, __evc_wait): Move declarations to...
14372 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
14374 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
14375 use PLT to call _hurd_self_sigstate.
14377 2018-06-13 Joseph Myers <joseph@codesourcery.com>
14380 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
14381 MAX_EXP as overflowing.
14382 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
14384 (round_str): Output also whether result overflows in each rounding
14386 * stdlib/tst-strtod-round-data: Add more tests.
14387 * stdlib/tst-strtod-round-data.h: Regenerated.
14388 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
14389 (TEST): Handle extra arguments for overflow flags.
14390 (struct test_overflow): New type.
14391 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
14392 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
14393 (test_in_one_mode): Take argument with overflow information.
14394 (do_test): Update calls to test_in_one_mode.
14396 2018-06-12 Carlos O'Donell <carlos@redhat.com>
14398 * elf/dl-load (_dl_dst_substitute): Correct comment.
14399 (_dl_dst_count): Likewise.
14401 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
14402 lll_futex_timed_wait.
14404 2018-06-12 Joseph Myers <joseph@codesourcery.com>
14407 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
14409 * math/test-nan-const.c: New file.
14410 * math/Makefile (tests): Add test-nan-const.
14411 (CFLAGS-test-nan-const.c): New variable.
14413 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14415 * benchtests/scripts/compare_strings.py (process_results): Add
14416 funcs argument. Compare only functions which are selected.
14417 (main): Check if base function is among selected functions.
14418 Pass selected functions to process_results.
14419 (__main__): Add -f/--functions argument.
14421 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
14422 Hongbo Zhang <hongbo.zhang@linaro.org>
14424 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
14425 __memcpy_falkor for phecda core.
14426 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
14427 __memmove_falkor for phecda core.
14428 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
14429 __memset_falkor for phecda core.
14430 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
14432 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
14433 macro to identify phecda core.
14435 2018-06-12 Carlos O'Donell <carlos@redhat.com>
14436 Andreas Schwab <schwab@suse.de>
14437 Dmitry V. Levin <ldv@altlinux.org>
14438 Florian Weimer <fweimer@redhat.com>
14445 * elf/dl-dst.h: Remove DL_DST_COUNT.
14446 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
14447 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
14448 (is_dst): Comment. Support ELF gABI.
14449 (_dl_dst_count): Comment. Simplify and count DSTs.
14450 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
14451 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
14454 2018-06-12 Zack Weinberg <zackw@panix.com>
14456 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
14457 * sysdeps/unix/sysv/linux/dl-sysdep.c
14458 Include not-cancel.h. Use __close_nocancel instead of __close,
14459 __open64_nocancel instead of __open, __read_nocancel instead of
14460 __libc_read, and __write_nocancel instead of __libc_write.
14462 * csu/check_fds.c (check_one_fd)
14463 * sysdeps/posix/fdopendir.c (__fdopendir)
14464 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
14465 instead of __fcntl and/or __libc_fcntl.
14467 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
14468 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
14469 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
14470 Use __open64_nocancel instead of __open_nocancel.
14472 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
14473 hidden_proto declarations to the end and issue them if either
14474 IS_IN(libc) or IS_IN(rtld).
14475 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
14476 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
14477 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
14478 read_nocancel, waitpid_nocancel, write_nocancel.
14480 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
14481 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
14482 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
14484 * nptl/pt-fcntl.c: New file.
14485 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
14486 (libpthread-routines): Add pt-fcntl.
14487 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
14488 (__libc_fcntl): Remove attribute_hidden.
14489 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
14490 __fcntl_nocancel_adjusted, not fcntl_common.
14491 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
14492 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
14493 to fcntl_nocancel.c.
14494 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
14495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
14496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14497 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
14499 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
14500 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
14501 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
14502 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
14503 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
14504 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
14505 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
14506 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
14507 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
14508 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
14509 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
14510 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
14511 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
14512 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
14513 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
14514 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
14515 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
14516 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
14517 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
14518 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
14520 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
14521 libpthread-routines.
14522 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
14525 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
14526 __libc_read, and __write instead of __libc_write. Define
14527 __open64 in addition to __open.
14529 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14533 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
14534 to _private_tm[3] and add __glibc_reserved2.
14535 Add _Static_assert of offset of __private_ss == 0x30.
14536 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
14537 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
14539 2018-06-12 Florian Weimer <fweimer@redhat.com>
14541 x86: Make strncmp usable from rtld.
14542 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
14543 __strncmp_ia32 if in libc (and not in rtld).
14544 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
14545 strncmp if not in libc (and not to __strncmp_sse2).
14547 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
14550 * localedata/locales/gd_GB (mon): Rename to...
14552 (mon): Import from CLDR (genitive case).
14553 * localedata/locales/hsb_DE (mon): Rename to...
14555 (mon): Import from CLDR (genitive case).
14556 * localedata/locales/wa_BE (mon): Rename to...
14558 (mon): Add, fill with the proper genitive forms, but CLDR data
14559 is incomplete; completed according to the comments in this file.
14560 (d_t_fmt): Do not use "di" before the month name, no longer needed.
14562 * localedata/locales/wa_BE (country_name): Reword
14563 "Beljike" -> "Beldjike".
14565 2018-06-11 Joseph Myers <joseph@codesourcery.com>
14568 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
14569 cases of non-finite arguments.
14570 * math/libm-test-fma.inc (fma_test_data): Add more tests.
14572 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
14575 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
14577 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14580 * include/unistd.h (__execvpex): New prototype.
14581 * posix/Makefile (tests): Add tst-spawn4.
14582 (tests-internal): Add tst-spawn4-compat.
14583 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
14584 * posix/tst-spawn4-compat.c: New file.
14585 * posix/tst-spawn4.c: Likewise.
14586 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
14587 binaries as shell scripts.
14588 * sysdeps/posix/spawni.c (__spawni): Likewise.
14590 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
14593 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
14594 ($(all-built-dso:=.dynsym): New target.
14595 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
14596 ($(objpfx)check-initfini.out): New target.
14597 (generated): Add check-initfini.out.
14598 * scripts/check-initfini.awk: New file.
14599 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
14601 * sysdeps/alpha/crti.S (_init): Mark as hidden.
14603 * sysdeps/arm/crti.S (_init): Mark as hidden.
14605 * sysdeps/hppa/crti.S (_init): Mark as hidden.
14607 * sysdeps/i386/crti.S (_init): Mark as hidden.
14609 * sysdeps/ia64/crti.S (_init): Mark as hidden.
14611 * sysdeps/m68k/crti.S (_init): Mark as hidden.
14613 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
14615 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
14617 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
14619 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
14621 * sysdeps/nios2/crti.S (_init): Mark as hidden.
14623 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
14625 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
14627 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
14629 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
14631 * sysdeps/sh/crti.S (_init): Mark as hidden.
14633 * sysdeps/sparc/crti.S (_init): Mark as hidden.
14635 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
14638 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14640 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
14641 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
14642 and TF redirection to KFtype and KF only when the default
14643 long double type is not the IEEE 128-bit floating point type.
14645 2018-06-05 Joseph Myers <joseph@codesourcery.com>
14647 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
14649 (HWCAP_USCAT): Likewise.
14650 (HWCAP_ILRCPC): Likewise.
14651 (HWCAP_FLAGM): Likewise.
14652 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14654 (_dl_aarch64_cap_flags): Add new flag names.
14656 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14657 (MAP_FIXED_NOREPLACE): New macro.
14658 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
14659 (MAP_FIXED_NOREPLACE): Likewise.
14660 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
14661 (MAP_FIXED_NOREPLACE): Likewise.
14662 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14663 (MAP_FIXED_NOREPLACE): Likewise.
14664 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14665 (MAP_FIXED_NOREPLACE): Likewise.
14666 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14667 (MAP_FIXED_NOREPLACE): Likewise.
14668 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14669 (MAP_FIXED_NOREPLACE): Likewise.
14670 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
14671 (MAP_FIXED_NOREPLACE): Likewise.
14672 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14673 (MAP_FIXED_NOREPLACE): Likewise.
14674 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
14675 (MAP_FIXED_NOREPLACE): Likewise.
14676 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14677 (MAP_FIXED_NOREPLACE): Likewise.
14678 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14679 (MAP_FIXED_NOREPLACE): Likewise.
14680 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
14681 (MAP_FIXED_NOREPLACE): Likewise.
14682 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
14683 (MAP_FIXED_NOREPLACE): Likewise.
14684 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
14685 (MAP_FIXED_NOREPLACE): Likewise.
14687 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14690 2018-06-04 Joseph Myers <joseph@codesourcery.com>
14692 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14695 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14697 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
14699 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
14701 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14703 * benchtests/scripts/compare_string.py: (process_results) Catch
14704 exception in non-existent base_func and catch exception in
14705 non-existent attribute.
14706 (parse_file) Catch exception if input file does not exist.
14708 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14710 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
14711 options to avoid diff calculation and omit header, respectively.
14712 (main): process --no-diff and --no-header
14714 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14715 H.J. Lu <hongjiu.lu@intel.com>
14717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14718 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
14720 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14721 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
14722 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
14723 and __wcsncmp_sse2.
14724 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
14725 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
14726 AVX unaligned load is fast and vzeroupper is preferred.
14727 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
14728 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
14729 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
14730 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
14731 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
14732 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
14733 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
14734 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
14735 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
14736 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
14739 2018-06-01 Florian Weimer <fweimer@redhat.com>
14741 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
14742 configuring with --disable-multi-arch, building with
14743 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
14746 2018-06-01 Florian Weimer <fweimer@redhat.com>
14748 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
14749 results from building with “-march=x86-64 -mtune=generic
14750 -mfpmath=sse” and running on a Haswell-era CPU.
14752 2018-06-01 Joseph Myers <joseph@codesourcery.com>
14755 * soft-fp/sqrttf2.c: Remove file.
14756 * soft-fp/sqrtdf2.c: Move to ....
14757 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
14759 (__sqrtdf2): Make conditional on
14760 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14762 * soft-fp/sqrtsf2.c: Move to ....
14763 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
14765 (__sqrtsf2): Make conditional on
14766 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14768 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
14769 (gcc-double-routines): Remove sqrtdf2.
14770 (gcc-quad-routines): Remove sqrttf2.
14771 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14772 Do not filter out sqrtsf2 and sqrtdf2.
14773 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14774 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
14776 2018-06-01 Florian Weimer <fweimer@redhat.com>
14778 * sysdeps/generic/libcidn.abilist: Remove file.
14780 2018-06-01 Florian Weimer <fweimer@redhat.com>
14783 * libio/strfile.h (struct _IO_str_fields): Rename members to
14784 discourage their use and add comment.
14785 (_IO_STR_DYNAMIC): Remove unused macro.
14786 * libio/strops.c (_IO_str_init_static_internal): Do not use
14787 callback pointers. Call malloc and free.
14788 (_IO_str_overflow): Do not use callback pointers. Call malloc
14790 (enlarge_userbuf): Likewise.
14791 (_IO_str_finish): Call free.
14792 * libio/wstrops.c (_IO_wstr_init_static): Initialize
14793 _allocate_buffer_unused.
14794 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
14796 (enlarge_userbuf): Likewise.
14797 (_IO_wstr_finish): Call free.
14798 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
14799 _allocate_buffer_unused, _free_buffer_unused.
14800 * libio/memstream.c (__open_memstream): Likewise.
14801 * libio/vasprintf.c (_IO_vasprintf): Likewise.
14802 * libio/wmemstream.c (open_wmemstream): Likewise.
14804 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14806 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
14809 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14811 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
14812 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
14813 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
14815 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
14817 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
14819 2018-05-29 Florian Weimer <fweimer@redhat.com>
14821 * support/Makefile (libsupport-routines): Add
14822 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
14823 xpthread_barrierattr_setpshared.
14824 * support/xpthread_barrierattr_destroy.c: New file.
14825 * support/xpthread_barrierattr_init.c: Likewise.
14826 * support/xpthread_barrierattr_setpshared.c: Likewise.
14828 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
14831 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
14832 _r_debug and update DT_DEBUG for debugger.
14834 2018-05-29 Florian Weimer <fweimer@redhat.com>
14836 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
14837 (tst-strtod5i.out): Likewise.
14839 2018-05-25 Joseph Myers <joseph@codesourcery.com>
14841 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
14842 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
14843 (sparc64-quad-routines): New variable. Moved from ....
14844 [$(subdir) = soft-fp] (sysdep_routines): Add
14845 $(sparc64-quad-routines). Moved from ....
14846 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
14847 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
14848 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
14850 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
14851 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
14852 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
14853 * sysdeps/sparc/sparc64/qp_add.c: ... here.
14854 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
14855 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
14856 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
14857 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
14858 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
14859 * sysdeps/sparc/sparc64/qp_div.c: ... here.
14860 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
14861 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
14862 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
14863 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
14864 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
14865 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
14866 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
14867 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
14868 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
14869 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
14870 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
14871 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
14872 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
14873 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
14874 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
14875 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
14876 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
14877 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
14878 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
14879 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
14880 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
14881 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
14882 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
14883 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
14884 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
14885 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
14886 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
14887 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
14888 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
14889 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
14890 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
14891 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
14892 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
14893 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
14894 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
14895 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
14896 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
14897 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
14898 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
14899 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
14900 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
14901 * sysdeps/sparc/sparc64/qp_util.c: ... here.
14902 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
14903 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
14904 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
14905 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
14906 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
14907 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
14909 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
14910 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
14911 (sparc32-quad-routines): New variable. Moved from ....
14912 [$(subdir) = soft-fp] (sysdep_routines): Add
14913 $(sparc32-quad-routines). Moved from ....
14914 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
14915 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
14917 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
14918 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
14919 * sysdeps/sparc/sparc32/q_add.c: ... here.
14920 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
14921 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
14922 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
14923 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
14924 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
14925 * sysdeps/sparc/sparc32/q_div.c: ... here.
14926 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
14927 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
14928 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
14929 * sysdeps/sparc/sparc32/q_feq.c: ... here.
14930 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
14931 * sysdeps/sparc/sparc32/q_fge.c: ... here.
14932 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
14933 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
14934 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
14935 * sysdeps/sparc/sparc32/q_fle.c: ... here.
14936 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
14937 * sysdeps/sparc/sparc32/q_flt.c: ... here.
14938 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
14939 * sysdeps/sparc/sparc32/q_fne.c: ... here.
14940 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
14941 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
14942 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
14943 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
14944 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
14945 * sysdeps/sparc/sparc32/q_mul.c: ... here.
14946 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
14947 * sysdeps/sparc/sparc32/q_neg.c: ... here.
14948 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
14949 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
14950 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
14951 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
14952 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
14953 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
14954 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
14955 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
14956 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
14957 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
14958 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
14959 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
14960 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
14961 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
14962 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
14963 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
14964 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
14965 * sysdeps/sparc/sparc32/q_sub.c: ... here.
14966 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
14967 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
14968 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
14969 * sysdeps/sparc/sparc32/q_util.c: ... here.
14970 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
14971 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
14972 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
14973 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
14975 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14976 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14978 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
14979 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
14980 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
14981 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
14983 2018-05-24 Joseph Myers <joseph@codesourcery.com>
14985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
14987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14989 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
14990 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
14992 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14995 * math/math.h [C++] (iseqsig): Fix parameter type for the long
14998 2018-05-23 Joseph Myers <joseph@codesourcery.com>
15000 * sysdeps/sh/Implies: Remove sh/soft-fp.
15001 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
15002 * sysdeps/sh/sfp-machine.h: ... here.
15004 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15006 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15007 (__mempcpy_erms): Skip zero length.
15008 (__memmove_erms): Likewise.
15009 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15010 (__memset_erms): Likewise.
15012 2018-05-23 Joseph Myers <joseph@codesourcery.com>
15014 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
15015 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
15016 Add functions moved from ....
15017 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
15018 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
15019 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
15021 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
15022 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
15023 * sysdeps/alpha/e_sqrtl.c: ... here.
15024 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
15025 * sysdeps/alpha/local-soft-fp.h: ... here.
15026 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
15027 * sysdeps/alpha/ots_add.c: ... here.
15028 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
15029 * sysdeps/alpha/ots_cmp.c: ... here.
15030 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
15031 * sysdeps/alpha/ots_cmpe.c: ... here.
15032 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
15033 * sysdeps/alpha/ots_cvtqux.c: ... here.
15034 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
15035 * sysdeps/alpha/ots_cvtqx.c: ... here.
15036 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
15037 * sysdeps/alpha/ots_cvttx.c: ... here.
15038 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
15039 * sysdeps/alpha/ots_cvtxq.c: ... here.
15040 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
15041 * sysdeps/alpha/ots_cvtxt.c: ... here.
15042 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
15043 * sysdeps/alpha/ots_div.c: ... here.
15044 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
15045 * sysdeps/alpha/ots_mul.c: ... here.
15046 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
15047 * sysdeps/alpha/ots_nintxq.c: ... here.
15048 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
15049 * sysdeps/alpha/ots_sub.c: ... here.
15050 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
15051 * sysdeps/alpha/sfp-machine.h: ... here.
15053 2018-05-23 Florian Weimer <fweimer@redhat.com>
15061 Switch to extern IDNA implementation (libidn2).
15062 * libidn: Remove subdirectory.
15063 * LICENSES: Do not mention licensing conditions for the removed
15065 * config.h.in (HAVE_LIBIDN): Remove.
15066 * include/dlfcn.h (__libc_dlopen): Update comment.
15067 * include/idna.h: Remove file.
15068 * inet/Makefile (routines): Add idna.
15069 (tests-static, tests-internal): Add tst-idna_name_classify.
15070 (LOCALES): Generate locales for tests.
15071 (tst-idna_name_classify.out): Depend on generated locales.
15072 * inet/idna_name_classify.c: New file.
15073 * inet/tst-idna_name_classify.c: Likewise.
15074 * inet/net-internal.h (__idna_to_dns_encoding)
15075 (__idna_from_dns_encoding): Declare.
15076 * inet/net-internal.h (enum idna_name_classification): Define.
15077 (__idna_name_classify): Declare.
15078 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
15079 __idna_from_dns_encoding.
15080 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
15081 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
15082 name as a fallback in case of encoding errors.
15083 (getnameinfo): Use DEPRECATED_NI_IDN.
15084 * inet/idna.c: New file.
15085 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
15086 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
15087 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
15088 (modules-names): Add tst-no-libidn2.
15089 (extra-test-objs): Add tst-no-libidn2.os.
15090 (LDFLAGS-tst-no-libidn2.so): Set soname.
15091 (LOCALES): Set, and generate locales.
15092 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
15093 (tst-resolv-ai_idn-latin1): Likewise.
15094 (tst-resolv-ai_idn-nolibidn2): Likewise.
15095 (tst-resolv-ai_idn.out): Depend on locales.
15096 (tst-resolv-ai_idn-latin1.out): Depend on locales.
15097 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
15099 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
15100 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
15101 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
15102 * resolv/tst-resolv-ai_idn.c: New file.
15103 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
15104 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
15105 * resolv/tst-no-libidn2.c: Likewise.
15106 * support/support_format_addrinfo.c (format_ai_flags): Do not
15107 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
15108 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
15109 (gaih_inet): Call __idna_to_dns_encoding and
15110 __idna_from_dns_encoding, and use the original (punycode) name if
15111 __idna_from_dns_encoding fails due to an encoding error.
15112 (getaddrinfo): Use DEPRECATED_AI_IDN.
15113 * sysdeps/unix/inet/Subdirs (libidn): Remove.
15114 * sysdeps/unix/inet/configure: Remove file.
15115 * sysdeps/unix/inet/configure.ac: Likewise.
15117 2018-05-23 Florian Weimer <fweimer@redhat.com>
15119 Implement allocate_once.
15120 * include/allocate_once.h: New file.
15121 * misc/allocate_once.c: Likewise.
15122 * misc/tst-allocate_once.c: Likewise.
15123 * misc/Makefile (routines): Add allocate_once.
15124 (tests-internal): Add tst-allocate_once.
15125 (generated): Add tst-allocate_once.mtrace,
15126 tst-allocate_once-mem.out.
15127 (tests-special): Add tst-allocate_once-mem.out.
15128 (tst-allocate_once-ENV): Set MALLOC_TRACE.
15129 (tst-allocate_once-mem.out): Call mtrace.
15130 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
15132 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15135 * string/test-memcpy.c (do_test1): New function.
15136 (test_main): Call it.
15138 2018-05-23 Andreas Schwab <schwab@suse.de>
15142 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
15143 (L(preloop_large)): Save initial destination pointer in %r11 and
15144 use it instead of %rax after the loop.
15145 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
15147 2018-05-22 Joseph Myers <joseph@codesourcery.com>
15149 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
15150 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
15151 -I../soft-fp. Moved from ....
15152 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
15153 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
15154 * sysdeps/aarch64/e_sqrtl.c: ... here.
15155 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
15156 * sysdeps/aarch64/sfp-machine.h: ... here.
15158 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
15159 -Wmaybe-uninitialized around access to fq[0].
15160 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15164 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
15165 aliases for non-libc case of versioned symbols.
15166 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
15167 (llseek): Define as compat symbol if
15168 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
15170 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
15171 Make into a compat symbol, disabled for minimum symbol version
15172 GLIBC_2.28 and later.
15173 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
15175 2018-05-22 Florian Weimer <fweimer@redhat.com>
15177 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
15178 not add -mpreferred-stack-boundary=4.
15179 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
15180 (stack-align-test-flags): Likewise.
15181 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
15183 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
15184 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
15185 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
15186 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
15187 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
15188 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
15189 (CFLAGS-tst-align2.c): Likewise.
15191 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15193 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
15194 (index_arch_Prefer_FSRM): Likewise.
15195 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
15196 Also check Prefer_FSRM.
15197 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
15198 Also return OPTIMIZE (erms) for Prefer_FSRM.
15200 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15202 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
15203 (index_cpu_FSRM): Likewise.
15204 (reg_FSRM): Likewise.
15206 2018-05-18 Joseph Myers <joseph@codesourcery.com>
15208 * math/gen-tgmath-tests.py: Import sys.
15209 (Tests.__init__): Initialize macros_seen.
15210 (Tests.add_tests): Add macro to macros_seen. Only generate tests
15211 if requested to do so for this macro.
15212 (Tests.add_all_tests): Take argument for macro for which to
15214 (Tests.check_macro_list): New function.
15215 (main): Handle check-list argument and argument specifying macro
15216 for which to generate tests.
15217 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
15218 [PYTHON] (tgmath3-macro-tests): Likewise.
15219 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
15220 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
15221 not test-tgmath3.c.
15222 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
15223 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
15225 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
15226 [PYTHON] ($(foreach
15227 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
15229 [PYTHON] (tests-special): Add
15230 $(objpfx)test-tgmath3-macro-list.out.
15231 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
15233 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
15234 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
15238 * time/tzset.c (SECSPERDAY): Cast to time_t.
15239 * time/tst-y2039.c: New file.
15240 * time/Makefile (tests): Add tst-y2039.
15242 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15244 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15245 (PREFETCH_ONE_SET): Remove duplicate line.
15247 2018-05-17 Florian Weimer <fweimer@redhat.com>
15249 * sysdeps/generic/math-type-macros-double.h: Include
15250 <math-nan-payload-double.h> after <libm-alias-double.h>.
15251 * sysdeps/generic/math-type-macros-float.h: Include
15252 <math-nan-payload-float.h> after <libm-alias-float.h>.
15253 * sysdeps/generic/math-type-macros-float128.h: Include
15254 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
15255 * sysdeps/generic/math-type-macros-ldouble.h: Include
15256 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
15258 2018-05-17 Andreas Schwab <schwab@suse.de>
15260 * resolv/res_send.c (__res_context_send): Don't set errno when
15261 returing error after malloc failure.
15263 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
15265 * nptl/allocatestack.c (allocate_stack): Remove the
15266 !__ASSUME_PRIVATE_FUTEX paths.
15267 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
15268 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15270 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
15271 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15272 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15273 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15274 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
15275 !__ASSUME_PRIVATE_FUTEX path.
15276 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
15277 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
15278 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15279 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
15280 !__ASSUME_PRIVATE_FUTEX macros.
15281 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15282 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
15283 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15284 * sysdeps/unix/sysv/linux/kernel-features.h
15285 (__ASSUME_PRIVATE_FUTEX): Removed.
15287 2018-05-17 Joseph Myers <joseph@codesourcery.com>
15289 * math/Makefile (libm-narrow-fns): Add div.
15290 (libm-test-funcs-narrow): Likewise.
15291 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
15292 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
15293 * math/gen-auto-libm-tests.c (test_functions): Add div.
15294 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
15295 (NARROW_DIV_ROUND_TO_ODD): Likewise.
15296 (NARROW_DIV_TRIVIAL): Likewise.
15297 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
15299 (__ddivl): Likewise.
15300 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
15302 (CFLAGS-nldbl-ddiv.c): New variable.
15303 (CFLAGS-nldbl-fdiv.c): Likewise.
15304 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15306 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
15308 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
15309 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
15310 * math/auto-libm-test-in: Add tests of div.
15311 * math/auto-libm-test-out-narrow-div: New generated file.
15312 * math/libm-test-narrow-div.inc: New file.
15313 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
15314 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
15315 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
15316 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
15317 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
15318 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
15319 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
15320 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
15321 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
15322 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
15323 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
15324 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
15325 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
15326 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
15327 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
15328 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
15329 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
15330 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
15331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15332 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15333 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15334 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15335 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15336 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15337 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15338 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15339 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15340 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15341 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15342 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15343 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15344 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15349 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15350 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15351 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15352 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15353 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15354 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15355 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15356 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15358 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15361 * nscd/nscd-client.h (sendfileall): Remove prototype.
15362 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
15363 (handle_request): Use writeall instead of sendfileall.
15364 * nscd/aicache.c (addhstaiX): Likewise.
15365 * nscd/grpcache.c (cache_addgr): Likewise.
15366 * nscd/hstcache.c (cache_addhst): Likewise.
15367 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15368 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
15369 * nscd/pwdcache.c (cache_addpw): Likewise.
15370 * nscd/servicescache.c (cache_addserv): Likewise.
15371 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
15372 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
15373 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
15376 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
15378 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
15379 Include <string/strncat.c>.
15380 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
15382 (__GI___strncat): New hidden alias.
15384 2018-05-16 Joseph Myers <joseph@codesourcery.com>
15386 * sysdeps/mips/mips32/libm-test-ulps: Update.
15387 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15389 2018-05-16 Florian Weimer <fweimer@redhat.com>
15391 * support/Makefile (libsupport-routines): Add support_quote_blob,
15392 support_test_compare_blob.
15393 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
15394 * support/check.h (TEST_COMPARE_BLOB): Define.
15395 (support_test_compare_blob): Declare.
15396 * support/support.h (support_quote_blob): Declare.
15397 * support/support_quote_blob.c: New file.
15398 * support/support_test_compare_blob.c: Likewise.
15399 * support/tst-support_quote_blob.c: Likewise.
15400 * support/tst-test_compare_blob.c: Likewise.
15402 2018-05-16 Florian Weimer <fweimer@redhat.com>
15404 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
15405 of <strtod_nan_double.h>.
15406 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
15407 instead of SET_MANTISSA.
15408 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
15409 of include <strtod_nan_float.h>.
15410 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
15411 instead of <strtod_nan_ldouble.h>.
15412 * stdlib/strtod_nan_double.h: Move to ...
15413 * sysdeps/generic/math-nan-payload-double.h: ... here.
15414 (FLOAT): Remove definition.
15415 (SET_MANTISSA): Rename to ...
15416 (SET_NAN_PAYLOAD): ... this.
15417 * stdlib/strtod_nan_float.h: Move to ...
15418 * sysdeps/generic/math-nan-payload-float.h: ... here.
15419 (FLOAT): Remove definition.
15420 (SET_MANTISSA): Rename to ...
15421 (SET_NAN_PAYLOAD): ... this.
15422 * sysdeps/generic/math-type-macros-double.h: Include
15423 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
15424 instead of <math-svid-compat.h>.
15425 * sysdeps/generic/math-type-macros-float.h: Include
15426 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
15427 instead of <math-svid-compat.h>.
15428 * sysdeps/generic/math-type-macros-float128.h: Include
15429 <math-nan-payload-float128.h>.
15430 * sysdeps/generic/math-type-macros-ldouble.h: Include
15431 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
15432 instead of <math-svid-compat.h>.
15433 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
15434 check for definition.
15435 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
15436 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
15437 Include <ieee754_float128.h>.
15438 (FLOAT): Remove definition.
15439 (SET_MANTISSA): Rename to ...
15440 (SET_NAN_PAYLOAD): ... this.
15441 * sysdeps/ieee754/float128/strtof128_nan.c: Include
15442 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
15443 Do not include <float128_private.h>.
15444 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
15445 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
15446 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
15447 (FLOAT): Remove definition.
15448 (SET_MANTISSA): Rename to ...
15449 (SET_NAN_PAYLOAD): ... this.
15450 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
15451 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
15452 (FLOAT): Remove definition.
15453 (SET_MANTISSA): Rename to ...
15454 (SET_NAN_PAYLOAD): ... this.
15455 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
15456 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
15457 (FLOAT): Remove definition.
15458 (SET_MANTISSA): Rename to ...
15459 (SET_NAN_PAYLOAD): ... this.
15460 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
15461 of "../stdlib/strtod_nan_double.h".
15462 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
15463 of "../stdlib/strtod_nan_float.h".
15464 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
15465 instead of "../stdlib/strtod_nan_ldouble.h".
15466 * manual/arith.texi (Parsing of Floats): Adjust comment.
15468 2018-05-16 Joseph Myers <joseph@codesourcery.com>
15470 * math/Makefile (libm-narrow-fns): Add mul.
15471 (libm-test-funcs-narrow): Likewise.
15472 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
15473 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
15474 * math/gen-auto-libm-tests.c (test_functions): Add mul.
15475 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
15476 (NARROW_MUL_ROUND_TO_ODD): Likewise.
15477 (NARROW_MUL_TRIVIAL): Likewise.
15478 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
15479 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
15481 (__dmull): Likewise.
15482 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
15484 (CFLAGS-nldbl-dmul.c): New variable.
15485 (CFLAGS-nldbl-fmul.c): Likewise.
15486 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15488 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
15490 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
15491 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
15492 * math/auto-libm-test-in: Add tests of mul.
15493 * math/auto-libm-test-out-narrow-mul: New generated file.
15494 * math/libm-test-narrow-mul.inc: New file.
15495 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
15496 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
15497 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
15498 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
15499 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
15500 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
15501 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
15502 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
15503 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
15504 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
15505 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
15506 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
15507 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
15508 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
15509 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
15510 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
15511 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
15512 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
15513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15514 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15515 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15516 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15517 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15518 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15519 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15520 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15521 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15522 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15523 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15524 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15525 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15526 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15531 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15532 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15533 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15534 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15535 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15536 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15537 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15538 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15540 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15542 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15543 with *%eax in call.
15545 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15547 * sysdeps/i386/ldsodefs.h: Removed.
15548 * sysdeps/x86_64/ldsodefs.h: Moved to ...
15549 * sysdeps/x86/ldsodefs.h: This.
15550 (La_i86_regs): New.
15551 (La_i86_retval): Likewise.
15552 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
15553 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
15555 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15557 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
15560 2018-05-13 Alan Modra <amodra@gmail.com>
15562 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
15563 R_PARISC_TLS_DTPOFF32 reloc addend.
15565 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15567 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
15568 * math/math.h: Restrict the prototype definition for the functions
15569 issignaling(_Float128) and iszero(_Float128); and template
15570 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
15571 __HAVE_FLOAT128_UNLIKE_LDBL.
15572 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
15573 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15574 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
15575 __f128() constants; define the type _Float128 as long double;
15576 and reuse long double in __CFLOAT128.
15578 2018-05-11 Joseph Myers <joseph@codesourcery.com>
15580 * sysdeps/generic/math_private.h: Do not include
15582 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
15584 * math/fromfp.h: Include <math-barriers.h>.
15585 * math/math-narrow.h: Likewise.
15586 * math/s_nextafter.c: Likewise.
15587 * math/s_nexttowardf.c: Likewise.
15588 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
15589 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
15590 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
15591 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
15592 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15593 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15594 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15595 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15596 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15597 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15598 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15599 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15600 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15601 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15602 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
15603 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15604 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15605 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15606 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15607 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15608 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15609 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15610 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15611 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15612 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15613 * sysdeps/ieee754/k_standardl.c: Likewise.
15614 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15615 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15616 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15617 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15618 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15619 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15620 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15621 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15622 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15623 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15624 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15625 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15626 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15627 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15628 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15629 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15630 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
15631 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
15632 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15633 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15634 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
15635 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
15637 2018-05-11 Florian Weimer <fweimer@redhat.com>
15639 Use 64-bit epoch values in the time zone file parser.
15640 * include/time.h (internal_time_t): Define.
15641 (__tzfile_compute): Use it.
15642 * time/tzfile.c (struct leap): Use internal_time_t for epoch
15644 (transitions): Switch to internal_time_t.
15645 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
15647 (__tzfile_compute): Use internal_time_t for timer argument. Check
15648 for truncation before calling __offtime.
15650 2018-05-11 Florian Weimer <fweimer@redhat.com>
15653 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
15654 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
15656 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
15657 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
15658 export without --enable-obsolete-rpc.
15659 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
15660 symbol. This should not have been exported, ever.
15662 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
15665 * localedata/locales/gd_GB (abmon): Fix typo in May:
15666 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
15668 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
15670 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15671 Use multiple registers to copy data in loop tail.
15673 * sysdeps/aarch64/multiarch/memmove_falkor.S
15674 (__memmove_falkor): Use multiple registers to move data in
15677 2018-05-10 Joseph Myers <joseph@codesourcery.com>
15679 * math/math-underflow.h: New file.
15680 * sysdeps/generic/math_private.h: Do not include <float.h>.
15681 (fabs_tg): Remove macro. Moved to math-underflow.h.
15682 (min_of_type_f): Likewise.
15683 (min_of_type_): Likewise.
15684 (min_of_type_l): Likewise.
15685 (min_of_type_f128): Likewise.
15686 (min_of_type): Likewise.
15687 (math_check_force_underflow): Likewise.
15688 (math_check_force_underflow_nonneg): Likewise.
15689 (math_check_force_underflow_complex): Likewise.
15690 * math/e_exp2_template.c: Include <math-underflow.h>.
15691 * math/k_casinh_template.c: Likewise.
15692 * math/s_catan_template.c: Likewise.
15693 * math/s_catanh_template.c: Likewise.
15694 * math/s_ccosh_template.c: Likewise.
15695 * math/s_cexp_template.c: Likewise.
15696 * math/s_clog10_template.c: Likewise.
15697 * math/s_clog_template.c: Likewise.
15698 * math/s_csin_template.c: Likewise.
15699 * math/s_csinh_template.c: Likewise.
15700 * math/s_csqrt_template.c: Likewise.
15701 * math/s_ctan_template.c: Likewise.
15702 * math/s_ctanh_template.c: Likewise.
15703 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15704 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15705 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15706 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15707 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15708 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15709 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15710 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15711 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15712 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15713 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15714 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15715 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15716 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15717 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15718 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15719 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15720 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15721 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15722 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15723 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15724 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15725 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15726 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15727 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15728 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15729 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15730 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15731 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15732 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15733 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15734 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15735 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15736 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15737 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15738 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15739 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15740 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15741 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15742 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15743 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15744 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15745 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15746 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15747 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15748 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15749 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15750 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15751 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15752 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15753 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15754 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15755 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15756 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15757 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15758 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15759 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15760 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15761 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15762 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15763 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15765 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15766 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15767 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15768 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15769 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15770 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15771 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15772 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15773 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15774 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15775 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15776 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
15777 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15778 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15779 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15780 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15781 * sysdeps/x86/fpu/powl_helper.c: Likewise.
15782 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
15783 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
15784 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15785 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15786 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15788 2018-05-09 Joseph Myers <joseph@codesourcery.com>
15790 * sysdeps/generic/math-barriers.h: New file.
15791 * sysdeps/generic/math_private.h [!math_opt_barrier]
15792 (math_opt_barrier): Move to math-barriers.h.
15793 [!math_opt_barrier] (math_force_eval): Likewise.
15794 * sysdeps/aarch64/fpu/math-barriers.h: New file.
15795 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
15797 (math_force_eval): Likewise.
15798 * sysdeps/alpha/fpu/math-barriers.h: New file.
15799 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
15801 (math_force_eval): Likewise.
15802 * sysdeps/x86/fpu/math-barriers.h: New file.
15803 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
15805 (math_force_eval): Likewise.
15806 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
15807 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
15808 multiple-include guard for rename.
15809 * sysdeps/powerpc/fpu/math-barriers.h: New file.
15810 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
15812 (math_force_eval): Likewise.
15814 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15818 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
15820 * stdlib/Makefile (test-bz22786): New test.
15821 * stdlib/test-bz22786.c: New test.
15823 2018-05-09 Joseph Myers <joseph@codesourcery.com>
15825 * include/math-narrow-eval.h: New file. Contents moved from ....
15826 * sysdeps/generic/math_private.h: ... here.
15827 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
15828 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15829 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
15830 * stdlib/strtod_l.c: Likewise.
15831 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15832 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15833 * sysdeps/i386/fpu/s_fdim.c: Likewise.
15834 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15835 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15836 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15837 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15838 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15839 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15840 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15841 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15842 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
15843 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15844 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15845 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15846 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15847 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15848 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15849 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15850 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15851 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15852 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15853 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15854 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15855 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15856 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15857 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15858 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15859 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15861 2018-05-08 Andreas Schwab <schwab@suse.de>
15863 * sysdeps/nptl/internaltypes.h: Fix comment.
15865 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
15867 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15868 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
15871 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15873 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
15874 of I into loop header.
15875 * benchtests/bench-memmove-walk.c
15876 (test_main): Likewise.
15878 2018-05-07 Alexandre Oliva <oliva@gnu.org>
15881 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15882 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15884 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15887 * elf/dl-load.c (open_verify): Fix stack overflow.
15888 * elf/Makefile (tst-big-note): New test.
15889 * elf/tst-big-note-lib.S: New.
15890 * elf/tst-big-note.c: New.
15892 2018-05-04 Joseph Myers <joseph@codesourcery.com>
15894 * scripts/abilist.awk: Ignore absolute symbols.
15895 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
15896 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
15897 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
15898 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
15899 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
15900 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
15901 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15902 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
15903 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
15904 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
15905 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
15906 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
15907 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
15908 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
15909 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
15910 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15911 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
15912 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
15913 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15914 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
15915 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15916 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
15917 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
15918 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
15919 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
15920 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
15921 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
15922 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
15923 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15924 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
15925 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
15926 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15927 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
15928 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15929 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
15930 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
15931 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
15932 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
15933 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
15934 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
15935 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
15936 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15937 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
15938 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
15939 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15940 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
15941 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15942 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
15943 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
15944 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
15945 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
15946 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
15947 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
15948 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
15949 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15950 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
15951 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
15952 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15953 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
15954 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15955 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
15956 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
15957 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
15958 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
15959 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
15960 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
15961 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
15962 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15963 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
15964 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
15965 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15966 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
15967 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15968 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
15969 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
15970 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
15971 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
15972 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
15973 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
15974 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
15975 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15976 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
15977 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
15978 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15979 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
15980 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15981 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
15982 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
15983 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
15984 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
15985 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
15986 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15988 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
15989 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15990 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
15991 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
15992 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15993 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
15994 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
15995 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
15996 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
15997 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
15998 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
15999 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
16000 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16002 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
16003 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16004 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
16005 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
16006 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16007 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
16008 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
16009 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
16010 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
16011 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
16012 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
16013 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
16014 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
16015 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
16016 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16017 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
16018 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
16019 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16020 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
16021 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
16022 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
16023 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
16024 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
16025 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
16026 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16027 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
16028 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16030 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
16031 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
16032 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
16033 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
16034 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16035 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
16036 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
16037 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
16038 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
16039 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
16040 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
16041 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
16042 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
16043 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
16044 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
16045 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
16046 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
16047 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
16048 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16049 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16051 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
16052 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
16053 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
16054 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16055 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
16056 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
16057 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
16058 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
16059 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
16060 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
16061 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16062 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
16063 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
16064 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16065 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
16066 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
16067 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
16068 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
16069 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16070 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
16071 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
16072 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16073 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
16074 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
16075 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
16076 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
16077 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
16078 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
16079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
16080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
16082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
16085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
16086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
16087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
16088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
16090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
16092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
16093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
16096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
16101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
16102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
16108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
16109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
16114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
16115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
16116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
16120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
16121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
16129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
16130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
16131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
16138 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16139 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
16141 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16142 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16143 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
16144 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16145 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16146 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16147 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
16148 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
16149 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16150 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
16151 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16152 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
16153 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
16154 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16156 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16157 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
16158 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
16159 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16160 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
16161 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
16162 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
16163 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
16164 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
16165 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
16166 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
16167 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16169 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16170 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
16171 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
16172 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16173 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
16174 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
16175 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
16176 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
16177 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
16178 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
16179 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
16180 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
16181 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
16182 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16183 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
16184 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
16185 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16186 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
16187 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
16188 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
16189 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
16190 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
16191 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
16192 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
16193 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16195 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
16196 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16197 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
16198 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
16199 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16200 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
16201 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
16202 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
16203 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
16204 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
16205 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
16206 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
16207 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16209 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
16210 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16211 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
16212 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
16213 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16214 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
16215 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
16216 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
16217 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
16218 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
16219 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
16220 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
16221 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
16222 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
16223 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16224 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
16225 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
16226 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16227 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
16228 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
16229 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
16230 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
16231 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
16232 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
16233 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16234 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
16235 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
16236 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
16237 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16238 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
16239 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
16240 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16241 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
16242 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
16243 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
16244 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
16245 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
16246 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
16248 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16251 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
16252 Use atomic_load_acquire to load __tid.
16254 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16256 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
16257 Restore the pointer into %rdx, after syscall and use %rdx,
16258 instead of %rsi, to restore context.
16260 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16262 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
16263 Pop the pointer into %rdx after syscall and use %rdx, instead
16264 of %rsi, to restore context.
16266 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16268 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
16269 handlers after setjmp.
16270 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
16272 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
16273 <libc-pointer-arith.h>.
16274 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
16275 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
16276 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
16277 _JUMP_BUF_SIGSET_BITS_PER_WORD.
16278 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
16279 * sysdeps/x86/__longjmp_cancel.S: New file.
16280 * sysdeps/x86/longjmp.c: Likewise.
16281 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
16283 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16285 * NEWS: Add ustat.h deprecation entry.
16286 * bits/ustat.h: Remove file.
16287 * misc/sys/ustat.h: Likewise.
16288 * misc/ustat.h: Likewise.
16289 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
16290 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
16291 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
16292 compatibility mode.
16293 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
16294 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
16295 generic Linux implementation.
16297 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16299 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
16300 * math/w_expl_compat.c: Likewise.
16301 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
16303 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
16305 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16307 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16309 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
16310 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
16311 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
16313 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
16314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16315 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16316 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
16317 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
16320 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16322 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
16324 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
16325 * math/w_asin_template.c: Likewise.
16326 * math/w_atanh_template.c: Likewise.
16328 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16330 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
16331 to powerpc/powerpc64/be for big-endian.
16332 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
16335 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
16336 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
16337 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
16338 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
16339 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16340 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
16341 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
16342 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
16343 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
16344 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16345 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
16346 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
16347 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
16348 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
16349 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
16350 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
16351 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
16352 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
16353 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
16354 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
16355 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
16356 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16357 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
16358 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
16359 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
16360 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16361 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
16362 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
16363 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
16364 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16365 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16366 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16368 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
16369 adjusted to imply powerpc64 and older processors on powerpc64/be.
16370 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
16371 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
16372 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
16373 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
16374 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
16375 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
16376 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
16377 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
16378 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
16379 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
16380 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
16381 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
16382 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
16383 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
16384 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
16385 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
16386 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
16387 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
16388 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
16389 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
16390 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
16391 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
16392 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
16393 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
16394 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
16395 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
16396 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
16397 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
16398 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
16399 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
16400 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
16402 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
16403 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
16404 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
16405 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
16407 * sysdeps/powerpc/powerpc64/be/Implies: New file.
16408 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
16409 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
16410 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
16412 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
16413 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
16414 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
16415 * sysdeps/powerpc/powerpc64le/configure: Likewise.
16416 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
16417 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
16418 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
16419 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
16420 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
16421 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
16422 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
16424 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
16425 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
16426 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
16427 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
16428 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
16429 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
16430 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
16431 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
16432 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
16433 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
16434 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
16436 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
16437 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
16438 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
16439 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
16440 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
16441 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
16442 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
16443 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
16444 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
16445 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
16446 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
16447 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
16449 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
16450 and adjusted to imply olders processors.
16451 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
16452 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
16453 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
16454 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
16455 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
16456 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
16457 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
16458 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
16459 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
16460 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
16461 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
16463 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
16465 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
16466 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
16468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
16470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
16471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
16473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
16475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
16477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
16479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
16480 powerpc64 and adjusted.
16481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
16482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
16483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
16486 2018-04-27 Joseph Myers <joseph@codesourcery.com>
16488 * sysdeps/tile: Remove.
16489 * sysdeps/unix/sysv/linux/tile: Likewise.
16490 * README (tilegx-*-linux-gnu): Remove from list of supported
16492 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
16493 contribution of support for generic Linux kernel syscall
16495 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
16496 tilegx configurations.
16497 (Config.install_linux_headers): Do not handle tile.
16498 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
16500 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
16501 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
16502 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16503 conditional undefine and redefine.
16504 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
16506 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16507 conditional undefine and redefine.
16509 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
16511 * signal/tst-sigaction.c: New file to test BZ #23069.
16512 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
16514 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16517 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
16518 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
16519 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
16520 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16522 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16524 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
16525 _DIRENT_MATCHES_DIRENT64 is not defined.
16526 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
16527 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
16529 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
16530 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
16532 2018-04-25 Joseph Myers <joseph@codesourcery.com>
16534 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
16535 version to GCC 8 branch.
16537 2018-04-24 Joseph Myers <joseph@codesourcery.com>
16539 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
16540 (check_no_hidden): Use type of original function when declaring
16543 * sysdeps/unix/sysv/linux/sys/ptrace.h
16544 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
16545 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
16546 (struct __ptrace_seccomp_metadata): New type.
16547 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16548 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16549 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
16550 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16551 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
16552 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16553 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16554 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16555 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
16556 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16557 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
16558 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16559 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
16560 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16561 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
16562 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16564 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16566 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
16568 * dirent/versionsort.c (versionsort): Likewise.
16569 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
16570 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
16571 * dirent/versionsort64.c (versionsort64): Likewise.
16572 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
16573 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
16574 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
16575 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
16576 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
16577 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
16578 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
16579 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
16580 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
16581 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
16582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
16583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
16584 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
16585 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
16587 2018-04-23 Joseph Myers <joseph@codesourcery.com>
16589 * elf/elf.h (NT_PPC_PKEY): New macro.
16591 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
16594 * localedata/locales/hr_HR: fix thousands_sep and
16597 2018-04-20 Joseph Myers <joseph@codesourcery.com>
16599 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
16600 (XTABS): Define to TAB3.
16602 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16604 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16606 * dirent/scandir-tail-common.c: New file.
16607 * dirent/scandir-tail.c: Use scandir-tail-common.c.
16608 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
16609 * dirent/scandir.c: Use scandir-tail-common.c.
16610 * dirent/scandirat.c: Likewise.
16611 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
16612 * dirent/scandir64.c (scandir64): Always build and alias to scandir
16613 if _DIRENT_MATCHES_DIRENT64 is defined.
16614 * dirent/scandirat64.c (scandirat64): Likewise.
16615 * include/dirent.h (__scandir_tail): Only define iff
16616 _DIRENT_MATCHES_DIRENT64 is not defined.
16617 (__scandir64_tail): Define regardless.
16618 (__scandirat, scandirat64): Remove libc_hidden_proto.
16619 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
16620 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
16621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
16622 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
16623 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16624 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
16625 * sysdeps/unix/sysv/linux/scandir64.c: New file.
16627 2018-04-20 Joseph Myers <joseph@codesourcery.com>
16629 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
16631 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16633 (_dl_aarch64_cap_flags): Add asimdfhm.
16635 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
16637 * sysdeps/nios2/libm-test-ulps: Update.
16639 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16641 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
16642 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
16644 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
16646 (_DIRENT_MATCHES_DIRENT64): Undef
16647 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
16648 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
16649 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
16650 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
16651 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
16652 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
16653 use getdents64 syscalls as base.
16654 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
16655 symbol if required.
16656 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
16657 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
16658 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
16659 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
16660 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
16661 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
16662 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
16663 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
16664 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16665 (__get_clockfreq_via_proc_openprom): Use __getdents64.
16666 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
16668 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16670 * scripts/test_printers_common.py (init_test): Disable lock elision.
16672 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16674 * math/test-tgmath.c (count_double, count_float,
16675 count_ldouble, count_cdouble, count_cfloat,
16676 count_cldouble): Use volatile int.
16678 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16680 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
16681 (conformtest-xfail-conds): Add i386-gnu.
16682 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
16684 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
16685 ipc_perm.cuid, ipc_perm.cgid): Likewise.
16686 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
16687 msqid_ds.msg_lrpid): Likewise.
16688 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
16690 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
16691 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
16692 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
16693 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
16695 (struct statvfs64): Likewise.
16696 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
16698 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
16699 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
16700 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
16701 instead of wait_queue.
16702 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
16703 instead of vm_area_struct.
16704 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
16705 struct sched_param definition to it.
16706 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16707 * bits/types/struct_sched_param.h: New file.
16708 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
16709 <bits/types/struct_sched_param.h> instead of <sched.h>.
16710 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
16711 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
16712 generic version but include <bits/pthreadtypes.h> to make struct
16713 sigevent's sigev_notify_attributes field a pthread_attr_t*.
16714 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
16716 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
16717 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
16718 [__USE_XOPEN] (OFDEL): New macro.
16719 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
16720 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
16721 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
16723 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
16724 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
16725 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
16727 * sysdeps/i386/sys/ucontext.h: Likewise.
16728 * sysdeps/m68k/sys/ucontext.h: Likewise.
16729 * sysdeps/mips/sys/ucontext.h: Likewise.
16730 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
16731 * sysdeps/mach/hurd/i386/Makefile
16732 (test-xfail-POSIX/fcntl.h/conform): Add.
16733 (test-xfail-POSIX/signal.h/conform): Add.
16734 (test-xfail-POSIX/semaphore.h/conform): Add.
16735 (test-xfail-POSIX/regex.h/conform): Add.
16736 (test-xfail-POSIX/aio.h/conform): Add.
16737 (test-xfail-POSIX/mqueue.h/conform): Add.
16738 (test-xfail-POSIX/sys/types.h/conform): Add.
16739 (test-xfail-UNIX98/fcntl.h/conform): Add.
16740 (test-xfail-UNIX98/netdb.h/conform): Add.
16741 (test-xfail-UNIX98/signal.h/conform): Add.
16742 (test-xfail-UNIX98/semaphore.h/conform): Add.
16743 (test-xfail-UNIX98/regex.h/conform): Add.
16744 (test-xfail-UNIX98/aio.h/conform): Add.
16745 (test-xfail-UNIX98/ftw.h/conform): Add.
16746 (test-xfail-UNIX98/mqueue.h/conform): Add.
16747 (test-xfail-UNIX98/netinet/in.h/conform): Add.
16748 (test-xfail-UNIX98/sys/wait.h/conform): Add.
16749 (test-xfail-UNIX98/sys/sem.h/conform): Add.
16750 (test-xfail-UNIX98/sys/uio.h/conform): Add.
16751 (test-xfail-UNIX98/sys/socket.h/conform): Add.
16752 (test-xfail-UNIX98/sys/types.h/conform): Add.
16753 (test-xfail-UNIX98/stdlib.h/conform): Add.
16754 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
16755 (test-xfail-POSIX2008/fcntl.h/conform): Add.
16756 (test-xfail-POSIX2008/netdb.h/conform): Add.
16757 (test-xfail-POSIX2008/signal.h/conform): Add.
16758 (test-xfail-POSIX2008/semaphore.h/conform): Add.
16759 (test-xfail-POSIX2008/regex.h/conform): Add.
16760 (test-xfail-POSIX2008/aio.h/conform): Add.
16761 (test-xfail-POSIX2008/mqueue.h/conform): Add.
16762 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
16763 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
16764 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
16765 (test-xfail-POSIX2008/sys/types.h/conform): Add.
16766 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
16767 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
16768 (test-xfail-XOPEN2K/netdb.h/conform): Add.
16769 (test-xfail-XOPEN2K/signal.h/conform): Add.
16770 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
16771 (test-xfail-XOPEN2K/regex.h/conform): Add.
16772 (test-xfail-XOPEN2K/aio.h/conform): Add.
16773 (test-xfail-XOPEN2K/ftw.h/conform): Add.
16774 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
16775 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
16776 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
16777 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
16778 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
16779 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
16780 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
16781 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
16782 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
16783 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
16784 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
16785 (test-xfail-XOPEN2K8/signal.h/conform): Add.
16786 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
16787 (test-xfail-XOPEN2K8/regex.h/conform): Add.
16788 (test-xfail-XOPEN2K8/aio.h/conform): Add.
16789 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
16790 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
16791 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
16792 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
16793 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
16794 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
16795 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
16796 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
16797 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
16798 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
16799 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
16801 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
16802 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
16804 2018-04-18 Joseph Myers <joseph@codesourcery.com>
16806 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16807 --enable-obsolete for powerpc-linux-gnuspe.
16809 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16811 * conform/data/sys/un.h-data: Allow sun_ prefix.
16812 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
16814 * sysdeps/mach/include/mach.h: Likewise.
16815 * sysdeps/mach/include/mach/mig_support.h: Likewise.
16816 * sysdeps/mach/include/mach_error.h: Likewise.
16818 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16820 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
16821 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
16822 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
16823 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
16825 2018-04-16 Andreas Schwab <schwab@suse.de>
16828 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
16830 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16832 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
16833 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
16835 2018-04-12 DJ Delorie <dj@redhat.com>
16837 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16840 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16842 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
16843 (struct kernel_sigaction): Use the same definition on 31bit as is used
16846 2018-04-09 Florian Weimer <fweimer@redhat.com>
16849 * resolv/res_send.c (send_dg): Use designated initializers instead
16850 of assignment to zero-initialize other fields of struct mmsghdr.
16852 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16854 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
16855 __READDIR_ALIAS): Undefine after usage.
16856 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
16857 __READDIR_R_ALIAS): Likewise.
16858 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
16859 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
16860 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
16861 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
16862 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
16863 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
16864 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16865 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16866 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
16867 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
16868 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
16869 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
16870 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16871 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
16872 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
16873 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
16874 * sysdeps/unix/sysv/linux/readdir.c: New file.
16875 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
16876 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
16877 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
16879 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16881 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
16883 * manual/charset.texi (Converting a Character): Fix typo.
16885 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16889 * sysdeps/arm/libm-test-ulps: Update.
16891 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
16892 as base implementation.
16893 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16894 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16895 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16896 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16897 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16898 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
16899 remove unrequired definitions and update comments.
16900 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
16901 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
16902 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
16903 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
16904 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
16905 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
16906 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
16907 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
16908 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
16909 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
16910 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
16911 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16912 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16913 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
16914 and RESET_SA_RESTORER hooks.
16916 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
16918 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16920 2018-04-05 Florian Weimer <fweimer@redhat.com>
16922 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
16923 integer overflow, memory leak on error, and indeterminate errno
16924 value. Add a null wide character to terminate the result string.
16925 * manual/charset.texi (Converting a Character): Mention embedded
16926 null bytes in the mbrtowc input string. Explain what happens in
16927 the -2 result case. Do not claim that mbrtowc is simple or
16928 obvious to use. Adjust the description of the code example. Use
16929 @code, not @var, for concrete variables.
16931 2018-04-05 Florian Weimer <fweimer@redhat.com>
16933 * manual/examples/mbstouwcs.c: New file.
16934 * manual/charset.texi (Converting a Character): Include it.
16936 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16938 * include/dirent.h (dirfd): Add hidden proto.
16939 * dirent/dirfd.c (dirfd): Add hidden def.
16940 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
16941 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
16943 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16945 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
16946 sin, cos and sincos to 1 ULP.
16948 2018-04-04 Maciej W. Rozycki <macro@mips.com>
16951 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
16953 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
16954 * elf/tst-absolute-sym.c: New file.
16955 * elf/tst-absolute-sym-lib.c: New file.
16956 * elf/tst-absolute-sym-lib.lds: New file.
16957 * elf/Makefile (tests): Add `tst-absolute-sym'.
16958 (modules-names): Add `tst-absolute-sym-lib'.
16959 (LDLIBS-tst-absolute-sym-lib.so): New variable.
16960 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
16961 ($(objpfx)tst-absolute-sym): New dependency.
16964 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
16966 (SYMBOL_ADDRESS): New macro.
16967 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
16968 SYMBOL_ADDRESS for symbol address calculation.
16969 * elf/dl-runtime.c (_dl_fixup): Likewise.
16970 (_dl_profile_fixup): Likewise.
16971 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
16972 * elf/rtld.c (dl_main): Likewise.
16973 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
16974 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
16975 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
16976 (elf_machine_rela): Likewise.
16977 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
16978 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
16979 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16980 (elf_machine_rela): Likewise.
16981 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16982 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
16983 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
16984 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
16986 (elf_machine_reloc): Likewise.
16987 (elf_machine_got_rel): Likewise.
16988 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
16989 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
16990 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16992 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16994 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
16995 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16997 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16999 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17000 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17002 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17004 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
17005 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17007 2018-04-04 Zack Weinberg <zackw@panix.com>
17009 * sysdeps/generic/internal-signals.h: Include signal.h,
17010 sigsetops.h, and stdbool.h.
17011 (__libc_signal_block_all): Actually block all signals.
17012 (__libc_signal_block_app): Likewise.
17013 (__libc_signal_restore_set): Actually restore the signal mask.
17015 2018-04-04 Florian Weimer <fweimer@redhat.com>
17017 inet: Actually build and run tst-deadline.
17018 * inet/Makefile (tests-internal): Add tst-deadline and do not
17019 overwrite the variable.
17020 (tests-static-internal): Remove variable.
17022 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
17025 * bits/uio-ext.h (RWF_APPEND): New.
17026 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
17027 * manual/llio.texi: Document RWF_APPEND.
17028 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
17029 (RWF_SUPPORTED): Add RWF_APPEND.
17031 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17034 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
17035 check for internal nptl signals.
17036 * nptl/sigaction.c (__sigaction): Likewise.
17037 * signal/sigaddset.c (sigaddset): Likewise.
17038 * signal/sigdelset.c (sigdelset): Likewise.
17039 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17040 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
17042 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
17043 to filter out internal nptl signals.
17044 * signal/tst-sigset.c (do_test): Check ech signal indidually and
17045 also check realtime signals using standard macros.
17046 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
17047 __is_internal_signal, __libc_signal_block_all,
17048 __libc_signal_block_app, __libc_signal_restore_set): New functions.
17049 * sysdeps/nptl/sigfillset.c: Remove file.
17050 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
17051 Change return to bool.
17052 (__clear_internal_signals): Remove SIGTIMER clean since it is
17053 equal to SIGCANEL on Linux.
17054 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
17055 signal set was constructed using standard functions.
17057 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17059 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
17060 ifname is too long.
17061 * hurd/hurdsig.c (interrupted_reply_port_location): Use
17062 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
17063 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
17065 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
17066 * signal/sigaddset.c: Include <sigsetopts.h>.
17067 * signal/sigdelset.c: Likewise.
17069 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17071 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
17073 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
17074 logic as sin and cos.
17076 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17078 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
17079 inputs. Return correct sign.
17080 (do_sincos): Remove small input check before do_sin, let do_sin set
17085 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17087 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
17088 (do_cos_slow): Likewise.
17089 (do_sin_slow): Likewise.
17090 (reduce_and_compute): Likewise.
17095 (sloww1): Likewise.
17096 (sloww2): Likewise.
17098 (bslow1): Likewise.
17099 (bslow2): Likewise.
17100 (cslow2): Likewise.
17102 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17104 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
17105 (do_cos): Remove corp parameter and calculations.
17106 (do_sin): Likewise.
17107 (do_sincos): Remove cor variable.
17108 (__sin): Use do_sincos for huge inputs.
17110 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17111 (reduce_and_compute_sincos): Remove unused function.
17113 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17115 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
17116 reduce_sincos, improve accuracy to 136 bits.
17117 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
17118 (__sin): Use improved reduction and simplified do_sincos calculation.
17120 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17122 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17124 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
17125 (do_sincos_2): Likewise.
17126 (__sin): Remove middle range reduction case.
17128 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
17131 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17133 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
17134 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
17137 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
17139 2018-04-03 Joseph Myers <joseph@codesourcery.com>
17141 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17144 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17146 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
17147 Remove definitions.
17148 (opendir_oflags): Use O_DIRECTORY regardless.
17149 (__opendir, __opendirat): Remove need_isdir_precheck usage.
17150 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
17152 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17154 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
17155 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
17157 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
17158 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
17159 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
17160 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
17161 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
17162 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
17164 * htl/Makefile: Bump licence to LGPL 2.1+.
17165 * htl/alloca_cutoff.c: Likewise.
17166 * htl/cthreads-compat.c: Likewise.
17167 * htl/lockfile.c: Likewise.
17168 * htl/pt-alloc.c: Likewise.
17169 * htl/pt-cancel.c: Likewise.
17170 * htl/pt-cleanup.c: Likewise.
17171 * htl/pt-create.c: Likewise.
17172 * htl/pt-dealloc.c: Likewise.
17173 * htl/pt-detach.c: Likewise.
17174 * htl/pt-exit.c: Likewise.
17175 * htl/pt-getattr.c: Likewise.
17176 * htl/pt-initialize.c: Likewise.
17177 * htl/pt-internal.h: Likewise.
17178 * htl/pt-join.c: Likewise.
17179 * htl/pt-self.c: Likewise.
17180 * htl/pt-setcancelstate.c: Likewise.
17181 * htl/pt-setcanceltype.c: Likewise.
17182 * htl/pt-sigmask.c: Likewise.
17183 * htl/pt-spin-inlines.c: Likewise.
17184 * htl/pt-testcancel.c: Likewise.
17185 * htl/pt-yield.c: Likewise.
17186 * htl/tests/test-1.c: Likewise.
17187 * htl/tests/test-10.c: Likewise.
17188 * htl/tests/test-11.c: Likewise.
17189 * htl/tests/test-12.c: Likewise.
17190 * htl/tests/test-13.c: Likewise.
17191 * htl/tests/test-14.c: Likewise.
17192 * htl/tests/test-15.c: Likewise.
17193 * htl/tests/test-16.c: Likewise.
17194 * htl/tests/test-17.c: Likewise.
17195 * htl/tests/test-2.c: Likewise.
17196 * htl/tests/test-3.c: Likewise.
17197 * htl/tests/test-4.c: Likewise.
17198 * htl/tests/test-5.c: Likewise.
17199 * htl/tests/test-6.c: Likewise.
17200 * htl/tests/test-7.c: Likewise.
17201 * htl/tests/test-8.c: Likewise.
17202 * htl/tests/test-9.c: Likewise.
17203 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
17204 * sysdeps/htl/bits/cancelation.h: Likewise.
17205 * sysdeps/htl/bits/pthread-np.h: Likewise.
17206 * sysdeps/htl/bits/pthread.h: Likewise.
17207 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
17208 * sysdeps/htl/bits/semaphore.h: Likewise.
17209 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
17210 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
17211 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
17212 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
17213 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
17214 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
17215 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
17216 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
17217 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
17218 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
17219 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
17220 * sysdeps/htl/old_pt-atfork.c: Likewise.
17221 * sysdeps/htl/pt-atfork.c: Likewise.
17222 * sysdeps/htl/pt-attr-destroy.c: Likewise.
17223 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
17224 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
17225 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
17226 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
17227 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
17228 * sysdeps/htl/pt-attr-getscope.c: Likewise.
17229 * sysdeps/htl/pt-attr-getstack.c: Likewise.
17230 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
17231 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
17232 * sysdeps/htl/pt-attr-init.c: Likewise.
17233 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
17234 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
17235 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
17236 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
17237 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
17238 * sysdeps/htl/pt-attr-setscope.c: Likewise.
17239 * sysdeps/htl/pt-attr-setstack.c: Likewise.
17240 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
17241 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
17242 * sysdeps/htl/pt-attr.c: Likewise.
17243 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
17244 * sysdeps/htl/pt-barrier-init.c: Likewise.
17245 * sysdeps/htl/pt-barrier-wait.c: Likewise.
17246 * sysdeps/htl/pt-barrier.c: Likewise.
17247 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
17248 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
17249 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
17250 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
17251 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
17252 * sysdeps/htl/pt-cond-destroy.c: Likewise.
17253 * sysdeps/htl/pt-cond-init.c: Likewise.
17254 * sysdeps/htl/pt-cond-signal.c: Likewise.
17255 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
17256 * sysdeps/htl/pt-cond-wait.c: Likewise.
17257 * sysdeps/htl/pt-cond.c: Likewise.
17258 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
17259 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
17260 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
17261 * sysdeps/htl/pt-condattr-init.c: Likewise.
17262 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
17263 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
17264 * sysdeps/htl/pt-destroy-specific.c: Likewise.
17265 * sysdeps/htl/pt-equal.c: Likewise.
17266 * sysdeps/htl/pt-getconcurrency.c: Likewise.
17267 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
17268 * sysdeps/htl/pt-getschedparam.c: Likewise.
17269 * sysdeps/htl/pt-getspecific.c: Likewise.
17270 * sysdeps/htl/pt-init-specific.c: Likewise.
17271 * sysdeps/htl/pt-key-create.c: Likewise.
17272 * sysdeps/htl/pt-key-delete.c: Likewise.
17273 * sysdeps/htl/pt-key.h: Likewise.
17274 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
17275 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
17276 * sysdeps/htl/pt-mutex-init.c: Likewise.
17277 * sysdeps/htl/pt-mutex-lock.c: Likewise.
17278 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
17279 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
17280 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
17281 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
17282 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
17283 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
17284 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
17285 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
17286 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
17287 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
17288 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
17289 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
17290 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
17291 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
17292 * sysdeps/htl/pt-mutexattr.c: Likewise.
17293 * sysdeps/htl/pt-once.c: Likewise.
17294 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
17295 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
17296 * sysdeps/htl/pt-rwlock-init.c: Likewise.
17297 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
17298 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
17299 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
17300 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
17301 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
17302 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
17303 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
17304 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
17305 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
17306 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
17307 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
17308 * sysdeps/htl/pt-setconcurrency.c: Likewise.
17309 * sysdeps/htl/pt-setschedparam.c: Likewise.
17310 * sysdeps/htl/pt-setschedprio.c: Likewise.
17311 * sysdeps/htl/pt-setspecific.c: Likewise.
17312 * sysdeps/htl/pt-spin.c: Likewise.
17313 * sysdeps/htl/pt-startup.c: Likewise.
17314 * sysdeps/htl/pthread.h: Likewise.
17315 * sysdeps/htl/sem-close.c: Likewise.
17316 * sysdeps/htl/sem-destroy.c: Likewise.
17317 * sysdeps/htl/sem-getvalue.c: Likewise.
17318 * sysdeps/htl/sem-init.c: Likewise.
17319 * sysdeps/htl/sem-open.c: Likewise.
17320 * sysdeps/htl/sem-post.c: Likewise.
17321 * sysdeps/htl/sem-timedwait.c: Likewise.
17322 * sysdeps/htl/sem-trywait.c: Likewise.
17323 * sysdeps/htl/sem-unlink.c: Likewise.
17324 * sysdeps/htl/sem-wait.c: Likewise.
17325 * sysdeps/hurd/htl/pt-kill.c: Likewise.
17326 * sysdeps/i386/htl/pt-machdep.h: Likewise.
17327 * sysdeps/mach/htl/pt-block.c: Likewise.
17328 * sysdeps/mach/htl/pt-spin.c: Likewise.
17329 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
17330 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
17331 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
17332 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
17333 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
17334 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
17335 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
17336 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
17337 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
17338 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
17339 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
17340 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
17341 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
17342 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
17343 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
17344 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
17345 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
17346 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
17347 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
17348 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
17349 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
17350 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
17351 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
17352 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
17353 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
17354 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
17355 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
17356 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
17357 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
17358 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
17359 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
17360 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
17361 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
17362 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
17363 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
17364 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
17365 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
17366 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
17367 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
17368 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
17369 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
17370 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
17371 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
17373 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
17374 * README: Remove the mention of out-of-tree patches needed for
17377 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
17378 (UTIME_NOW, UTIME_OMIT): Define macros.
17380 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
17381 instead of pthread_detach.
17382 (__cthread_fork): Call __pthread_create instead of pthread_create.
17383 (__cthread_keycreate): Call __pthread_key_create instead of
17384 pthread_key_create.
17385 (__cthread_getspecific): Call __pthread_getspecific instead of
17386 pthread_getspecific.
17387 (__cthread_setspecific): Call __pthread_setspecific instead of
17388 pthread_setspecific.
17389 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
17390 __pthread_mutex_unlock instead of pthread_mutex_lock and
17391 pthread_mutex_unlock.
17392 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
17393 ___pthread_get_cleanup_stack.
17394 (__pthread_get_cleanup_stack): New strong alias.
17395 * htl/pt-create.c: Include <pthreadP.h>.
17396 (entry_point): Call __pthread_exit instead of pthread_exit.
17397 (pthread_create): Rename to __pthread_create.
17398 (pthread_create): New strong alias.
17399 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
17400 (pthread_detach): New strong alias.
17401 (__pthread_detach): Call __pthread_cond_broadcast instead of
17402 pthread_cond_broadcast.
17403 * htl/pt-exit.c: Include <pthreadP.h>.
17404 (__pthread_exit): Call __pthread_setcancelstate and
17405 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
17406 __pthread_get_cleanup_stack.
17407 * htl/pt-testcancel.c: Include <pthreadP.h>.
17408 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
17409 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
17410 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
17411 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
17412 pthread_attr_getstacksize.
17413 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
17414 Rename to __pthread_attr_getstackaddr.
17415 (pthread_attr_getstackaddr): New strong alias.
17416 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
17417 Rename to __pthread_attr_getstacksize.
17418 (pthread_attr_getstacksize): New strong alias.
17419 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
17420 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
17421 (pthread_attr_setstack): New strong alias.
17422 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
17423 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
17424 pthread_attr_getstacksize, pthread_attr_setstacksize and
17425 pthread_attr_setstackaddr.
17426 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
17427 Rename to __pthread_attr_setstackaddr.
17428 (pthread_attr_setstackaddr): New strong alias.
17429 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
17430 Rename to __pthread_attr_setstacksize.
17431 (pthread_attr_setstacksize): New strong alias.
17432 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
17433 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
17435 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
17436 (__pthread_key_create): New hidden def.
17437 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
17438 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
17439 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
17440 __pthread_exit, __pthread_key_create, __pthread_getspecific,
17441 __pthread_setspecific, __pthread_setcancelstate,
17442 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
17443 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
17444 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
17446 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
17447 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
17448 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
17449 (pthread_attr_setstackaddr): New strong alias.
17450 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
17451 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
17452 (pthread_attr_setstacksize): New strong alias.
17453 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
17454 (call_exit): Call __pthread_exit instead of pthread_exit.
17455 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
17456 (_pthread_mutex_init): New hidden definition.
17457 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
17458 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
17459 instead of pthread_attr_init and pthread_attr_setstack.
17461 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
17462 __vm_deallocate instead of vm_allocate and vm_deallocate.
17463 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
17465 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
17467 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
17469 * hurd/siginfo.c: Include <libioP.h>.
17470 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
17471 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
17473 * mach/devstream.c: Include <libioP.h>.
17474 (dealloc_ref): Call __mach_port_deallocate instead of
17475 mach_port_deallocate.
17476 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
17477 Call __mach_port_deallocate instead of mach_port_deallocate.
17478 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
17480 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
17482 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
17483 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
17484 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
17486 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
17488 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
17489 instead of sysconf.
17490 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
17491 __clock_gettime instead of clock_gettime.
17492 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
17493 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17494 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
17495 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17496 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
17498 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
17499 __clock_gettime and __nanosleep instead of clock_gettime and
17501 * hurd/catch-signal.c (hurd_catch_signal): Rename to
17502 __hurd_catch_signal.
17503 (hurd_catch_signal): New strong alias.
17504 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
17505 __hurd_catch_signal instead of hurd_catch_signal.
17506 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
17507 * hurd/hurdexec.c (_hurd_init): Add hidden def.
17508 * hurd/hurdinit.c (_hurd_init): Add hidden def.
17509 * hurd/hurdsig.c: Include <mach/mig_support.h>.
17510 (_hurd_thread_sigstate): Add hidden def.
17511 (_hurd_internal_post_signal): Use __mutex_unlock instead of
17513 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
17514 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
17515 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
17516 __hurd_file_name_path_lookup.
17517 (hurd_file_name_path_lookup): New strong alias.
17518 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
17519 hurd_file_name_path_lookup.
17520 * mach/errstring.c (mach_error_type): Add hidden def.
17521 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
17522 * mach/mutex-init.c (__mutex_init): Add hidden def.
17523 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
17524 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
17525 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
17526 * sysdeps/mach/hurd/getcwd.c
17527 (_hurd_canonicalize_directory_name_internal): Rename to
17528 __hurd_canonicalize_directory_name_internal.
17529 (_hurd_canonicalize_directory_name_internal): New strong alias.
17530 (__canonicalize_directory_name_internal, __getcwd): Call
17531 __hurd_canonicalize_directory_name_internal instead of
17532 _hurd_canonicalize_directory_name_internal.
17533 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
17534 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
17536 * sysdeps/hurd/include/hurd.h: New file.
17537 * sysdeps/hurd/include/hurd/fd.h: New file.
17538 * sysdeps/hurd/include/hurd/signal.h: New file.
17539 * sysdeps/mach/include/lock-intern.h: New file.
17540 * sysdeps/mach/include/mach.h: New file.
17541 * sysdeps/mach/include/mach/mig_support.h: New file.
17542 * sysdeps/mach/include/mach_error.h: New file.
17543 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
17545 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
17546 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
17547 _HEADER_H_HIDDEN_DEF macro.
17548 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
17549 _hurd_fd_error_signal): Add hidden prototype.
17550 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
17552 * libio/iolibio.h (_IO_puts): New hidden prototype.
17553 * libio/ioputs.c (_IO_puts): New hidden def.
17554 * sysdeps/mach/hurd/localplt.data: New file.
17556 2018-04-02 Agustina Arzille <avarzille@riseup.net>
17557 Amos Jeffries <squid3@treenet.co.nz>
17558 David Michael <fedora.dm0@gmail.com>
17559 Marco Gerards <marco@gnu.org>
17560 Marcus Brinkmann <marcus@gnu.org>
17561 Neal H. Walfield <neal@gnu.org>
17562 Pino Toscano <toscano.pino@tiscali.it>
17563 Richard Braun <rbraun@sceen.net>
17564 Roland McGrath <roland@gnu.org>
17565 Samuel Thibault <samuel.thibault@ens-lyon.org>
17566 Thomas DiModica <ricinwich@yahoo.com>
17567 Thomas Schwinge <tschwinge@gnu.org>
17569 * htl: New directory.
17570 * sysdeps/htl: New directory.
17571 * sysdeps/hurd/htl: New directory.
17572 * sysdeps/i386/htl: New directory.
17573 * sysdeps/mach/htl: New directory.
17574 * sysdeps/mach/hurd/htl: New directory.
17575 * sysdeps/mach/hurd/i386/htl: New directory.
17576 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
17577 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
17578 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
17580 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17582 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
17583 signals in thread created for runing timers.
17585 2018-04-01 Florian Weimer <fweimer@redhat.com>
17587 * support/support_format_addrinfo.c (support_format_addrinfo):
17588 Include unknown error number in formatted result.
17590 2018-03-29 Florian Weimer <fweimer@redhat.com>
17592 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
17595 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17597 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
17598 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
17599 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17600 (__ASSUME_CLONE_BACKWARDS): Define.
17602 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
17605 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
17606 early when linux sentinel value is set.
17608 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17610 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
17612 2018-03-27 Andreas Schwab <schwab@suse.de>
17615 * resolv/res_send.c (__res_context_send): Return ENOMEM if
17616 allocation of private copy of nsaddr_list fails.
17618 2018-03-26 Joseph Myers <joseph@codesourcery.com>
17621 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
17622 * sysdeps/unix/sysv/linux/umount.c: ... here.
17623 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
17624 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
17625 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
17626 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
17627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
17628 * sysdeps/unix/sysv/linux/umount.S: Likewise.
17629 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
17631 2018-03-26 Andreas Schwab <schwab@suse.de>
17633 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
17634 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
17635 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
17636 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
17637 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
17638 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
17639 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
17640 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
17641 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
17642 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
17643 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
17644 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
17645 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
17646 (R_RISCV_NUM): Define.
17648 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17650 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
17651 TLS declaration of errno.
17652 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
17654 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
17655 (ARCH_SETUP_TLS): Likewise.
17656 * sysdeps/mach/hurd/libc-start.h: New file copied from
17657 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
17658 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
17659 instead of __libc_setup_tls.
17660 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
17661 __libc_setup_tls before initializing libpthread and running _hurd_init
17662 which starts the signal thread.
17663 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
17665 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17667 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
17670 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
17671 after it is defined.
17673 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
17674 Max Horn <max@quendi.de>
17678 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
17680 * string/test-memmove.c (do_test2): New testcase.
17682 2018-03-22 Joseph Myers <joseph@codesourcery.com>
17684 * sysdeps/generic/frame.h: Remove file.
17685 * sysdeps/arm/frame.h: Likewise.
17686 * sysdeps/hppa/frame.h: Likewise.
17687 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
17689 (GET_FRAME): Likewise.
17690 (GET_STACK): Likewise.
17691 (CALL_SIGHANDLER): Likewise.
17692 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
17694 (GET_FRAME): Likewise.
17695 (GET_STACK): Likewise.
17696 (CALL_SIGHANDLER): Likewise.
17697 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
17698 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17699 (GET_FRAME): Likewise.
17700 (GET_STACK): Likewise.
17701 (CALL_SIGHANDLER): Likewise.
17702 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
17703 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17704 (GET_FRAME): Likewise.
17705 (GET_STACK): Likewise.
17706 (ADVANCE_STACK_FRAME): Likewise.
17707 (CALL_SIGHANDLER): Likewise.
17708 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
17709 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17710 (GET_FRAME): Likewise.
17711 (GET_STACK): Likewise.
17712 (CALL_SIGHANDLER): Likewise.
17713 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
17714 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17715 (GET_FRAME): Likewise.
17716 (GET_STACK): Likewise.
17717 (CALL_SIGHANDLER): Likewise.
17718 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
17719 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17720 (GET_FRAME): Likewise.
17721 (GET_STACK): Likewise.
17722 (CALL_SIGHANDLER): Likewise.
17723 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
17724 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17725 (GET_FRAME): Likewise.
17726 (GET_STACK): Likewise.
17727 (CALL_SIGHANDLER): Likewise.
17728 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
17729 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17730 (GET_FRAME): Likewise.
17731 (GET_STACK): Likewise.
17732 (CALL_SIGHANDLER): Likewise.
17733 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
17734 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17735 (GET_FRAME): Likewise.
17736 (GET_STACK): Likewise.
17737 (CALL_SIGHANDLER): Likewise.
17738 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
17739 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17740 (GET_FRAME): Likewise.
17741 (GET_STACK): Likewise.
17742 (CALL_SIGHANDLER): Likewise.
17743 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
17744 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17745 (GET_FRAME): Likewise.
17746 (GET_STACK): Likewise.
17747 (CALL_SIGHANDLER): Likewise.
17748 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
17749 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17750 (GET_FRAME): Likewise.
17751 (GET_STACK): Likewise.
17752 (CALL_SIGHANDLER): Likewise.
17753 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
17754 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17755 (FIRST_FRAME_POINTER): Likewise.
17756 (ADVANCE_STACK_FRAME): Likewise.
17757 (GET_STACK): Likewise.
17758 (GET_FRAME): Likewise.
17759 (CALL_SIGHANDLER): Likewise.
17760 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
17761 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17762 (ADVANCE_STACK_FRAME): Likewise.
17763 (GET_STACK): Likewise.
17764 (GET_FRAME): Likewise.
17765 (CALL_SIGHANDLER): Likewise.
17766 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
17767 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17768 (GET_FRAME): Likewise.
17769 (GET_STACK): Likewise.
17770 (CALL_SIGHANDLER): Likewise.
17771 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
17772 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17773 (GET_FRAME): Likewise.
17774 (GET_STACK): Likewise.
17775 (CALL_SIGHANDLER): Likewise.
17777 2018-03-21 Joseph Myers <joseph@codesourcery.com>
17779 * sysdeps/x86_64/backtrace.c: Move to ....
17780 * debug/backtrace.c: ... here.
17781 * sysdeps/aarch64/backtrace.c: Remove file.
17782 * sysdeps/alpha/backtrace.c: Likewise.
17783 * sysdeps/hppa/backtrace.c: Likewise.
17784 * sysdeps/ia64/backtrace.c: Likewise.
17785 * sysdeps/mips/backtrace.c: Likewise.
17786 * sysdeps/nios2/backtrace.c: Likewise.
17787 * sysdeps/riscv/backtrace.c: Likewise.
17788 * sysdeps/sh/backtrace.c: Likewise.
17789 * sysdeps/tile/backtrace.c: Likewise.
17791 2018-03-20 Joseph Myers <joseph@codesourcery.com>
17794 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
17797 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
17800 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
17801 possibly overflowing computations.
17803 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
17805 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
17806 values from Linux-specific section now that it is in the GNU section.
17807 * sysdeps/gnu/errlist.c: Regenerate.
17809 2018-03-20 Joseph Myers <joseph@codesourcery.com>
17811 * math/Makefile (libm-narrow-fns): Add sub.
17812 (libm-test-funcs-narrow): Likewise.
17813 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
17814 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
17815 * math/gen-auto-libm-tests.c (test_functions): Add sub.
17816 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
17817 (NARROW_SUB_ROUND_TO_ODD): Likewise.
17818 (NARROW_SUB_TRIVIAL): Likewise.
17819 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
17821 (__dsubl): Likewise.
17822 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
17824 (CFLAGS-nldbl-dsub.c): New variable.
17825 (CFLAGS-nldbl-fsub.c): Likewise.
17826 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17828 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
17830 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
17831 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
17832 * math/auto-libm-test-in: Add tests of sub.
17833 * math/auto-libm-test-out-narrow-sub: New generated file.
17834 * math/libm-test-narrow-sub.inc: New file.
17835 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17836 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
17837 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
17838 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
17839 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
17840 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
17841 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
17842 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
17843 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
17844 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
17845 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
17846 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
17847 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
17848 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
17849 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
17850 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
17851 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
17852 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
17853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17854 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17855 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17856 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17857 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17858 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17859 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17860 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17861 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17862 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17863 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17864 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17865 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17866 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17871 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17872 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17873 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17874 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17875 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17876 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17877 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17878 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17879 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17880 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17882 2018-03-19 Joseph Myers <joseph@codesourcery.com>
17885 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
17887 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
17889 * benchtests/bench-timing.h (attribute_hidden): Undefine.
17891 2018-03-18 Richard Braun <rbraun@sceen.net>
17893 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
17896 2018-03-18 Agustina Arzille <avarzille@riseup.net>
17898 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
17899 (__libc_cleanup_fct): Define function.
17900 (__libc_cleanup_region_start, __libc_cleanup_region_end,
17901 __libc_cleanup_end): Rewrite implementation using
17902 __attribute__ ((__cleanup__)).
17903 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
17904 * hurd/Makefile (routines): Add hurdlock.
17905 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
17907 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
17908 * hurd/hurdpid.c: Include <lowlevellock.h>
17909 (_S_msg_proc_newids): Use lll_wait to synchronize.
17910 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
17911 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
17912 * mach/Makefile (lock-headers): Remove machine-lock.h.
17913 * mach/lock-intern.h: Include <lowlevellock.h> instead of
17915 (__spin_lock_t): New type.
17916 (__SPIN_LOCK_INITIALIZER): New macro.
17917 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
17918 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
17919 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
17920 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
17921 (__mutex_init): Initialize with lll.
17922 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
17923 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
17925 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17926 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
17927 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
17928 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
17929 (__setpgid): Use lll for synchronization.
17930 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
17931 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
17932 instead of <cthreads.h>.
17933 (_IO_lock_inexpensive): New macro
17934 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
17935 (__libc_lock_self0): New declaration.
17936 (__libc_lock_owner_self): New macro.
17937 (__libc_key_t): Remove type.
17938 (_LIBC_LOCK_INITIALIZER): New macro.
17939 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
17940 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
17941 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
17942 __libc_lock_define_initialized_recursive,
17943 __rtld_lock_define_initialized_recursive,
17944 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
17945 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
17946 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
17947 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
17948 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
17949 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
17950 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
17952 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
17953 * hurd/hurdlock.c: New file.
17954 * hurd/hurdlock.h: New file.
17955 * mach/lowlevellock.h: New file
17957 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17959 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
17960 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
17961 when opening a symlink with O_NOFOLLOW.
17962 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
17963 path when flags contains O_NOFOLLOW.
17964 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
17965 if flags contains O_DIRECTORY and the result is a directory.
17966 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
17967 oneself when the pointer given in D is nul (as set by ext2fs).
17968 * sysdeps/mach/hurd/mlockall.c: New file.
17969 * sysdeps/mach/hurd/munlockall.c: New file.
17971 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17973 * hurd/hurdsig.c: Include <pthread.h>.
17974 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
17975 get the signal thread stack layout.
17976 * hurd/Makefile (headers): Remove threadvar.h.
17977 (inline-headers): Remove threadvar.h.
17978 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
17979 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
17980 __hurd_threadvar_max, __hurd_errno_location.
17981 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
17982 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
17983 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
17984 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
17985 unless TLS is not initialized yet, in which case we do not need a
17986 critical section yet anyway.
17987 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
17989 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
17991 (__hurd_threadvar_index): Remove enum.
17992 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
17993 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
17995 (__hurd_reply_port0): New variable declaration.
17996 (__hurd_local_reply_port): New macro.
17997 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
17998 (interrupted_reply_port_location): Add thread_t parameter. Use it
17999 with THREAD_TCB to access thread-local variables.
18000 (_hurdsig_abort_rpcs): Pass ss->thread to
18001 interrupted_reply_port_location.
18002 (_hurd_internal_post_signal): Likewise.
18003 (_hurdsig_init): Use presence of cthread_fork instead of
18004 __hurd_threadvar_stack_mask to start signal thread by hand.
18005 Remove signal thread threadvar initialization.
18006 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
18007 * hurd/sigunwind.c: Include <hurd/threadvar.h>
18008 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
18010 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
18012 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
18013 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
18014 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
18015 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
18016 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
18017 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
18018 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
18020 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
18021 <hurd/threadvar.h>.
18022 [IS_IN(rtld)] (rtld_errno): New variable.
18023 [IS_IN(rtld)] (__errno_location): New weak function.
18024 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
18025 * sysdeps/mach/hurd/errno.c: Remove file.
18026 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
18027 (__fork): Remove THREADVAR_SPACE macro and its use.
18028 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
18030 (init): Do not initialize threadvar.
18031 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
18033 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
18034 __hurd_local_reply_port instead of threadvar.
18035 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
18036 _hurd_sigstate fields.
18037 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
18038 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
18039 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
18040 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
18041 instead of threadvar.
18042 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
18043 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
18044 (use_threadvar, global_reply_port): Remove variables.
18045 (__hurd_reply_port0): New variable.
18046 (__mig_get_reply_port): Use __hurd_local_reply_port and
18047 __hurd_reply_port0 instead of threadvar.
18048 (__mig_dealloc_reply_port): Likewise.
18049 (__mig_init): Do not initialize threadvar.
18050 * sysdeps/mach/hurd/profil.c: Fix comment.
18051 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
18052 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
18053 cthread_keycreate, cthread_getspecific, cthread_setspecific to
18054 __cthread_fork, __cthread_detach, __pthread_getattr_np,
18055 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
18056 __cthread_setspecific.
18057 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
18058 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
18059 __cthread_t instead of cthread_fork, cthread_detach,
18060 pthread_getattr_np, pthread_attr_getstack.
18061 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
18062 __cthread_keycreate.
18063 (cthread_getspecific): Rename to __cthread_getspecific.
18064 (cthread_setspecific): Rename to __cthread_setspecific.
18065 (__libc_getspecific): Use __cthread_getspecific instead of
18066 cthread_getspecific.
18067 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
18068 __cthread_keycreate instead of cthread_keycreate.
18069 (__libc_setspecific): Use __cthread_setspecific instead of
18070 cthread_setspecific.
18071 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
18073 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
18074 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
18075 testing whether it is defined.
18077 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18079 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
18081 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
18082 * sysdeps/mach/i386/thread_state.h
18083 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
18085 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
18087 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
18089 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
18090 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
18092 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
18094 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
18095 descriptor instead of creating a new one.
18096 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
18098 * mach/setup-thread.c: Include <ldsodefs.h>.
18099 (__mach_setup_thread): Call _dl_allocate_tls, pass
18100 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
18101 MACHINE_THREAD_STATE_FLAVOR, before getting
18102 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
18103 MACHINE_THREAD_STATE_FLAVOR with the result.
18104 * hurd/hurdfault.c (_hurdsig_fault_init): Call
18105 MACHINE_THREAD_STATE_FIX_NEW.
18106 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
18107 too. Add original thread parameter.
18109 2018-03-16 Joseph Myers <joseph@codesourcery.com>
18111 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
18112 Remove inline function.
18114 * sysdeps/i386/fpu/libm-test-ulps: Update.
18115 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18117 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
18119 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
18122 2018-03-15 Joseph Myers <joseph@codesourcery.com>
18124 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
18125 (__sincos_code): Remove define and undefine.
18126 [__FAST_MATH__] (__sincos): Remove inline function.
18127 [__FAST_MATH__] (__sincosf): Remove inline function.
18128 [__FAST_MATH__] (__sincosl): Remove inline function.
18129 (__atan2l): Remove inline functions.
18130 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
18131 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
18133 (floor): Remove inline function.
18135 [__FAST_MATH__] (__ldexp_code): Remove macro.
18136 [__FAST_MATH__] (ldexp): Remove inline function.
18137 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
18138 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
18139 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
18140 [__USE_ISOC99] (__lrint_code): Remove macro.
18141 [__USE_ISOC99] (__llrint_code): Likewise.
18142 [__USE_ISOC99] (lrintf): Remove inline function.
18143 [__USE_ISOC99] (lrint): Likewise.
18144 [__USE_ISOC99] (lrintl): Likewise.
18145 [__USE_ISOC99] (llrint): Likewise.
18146 [__USE_ISOC99] (llrintf): Likewise.
18147 [__USE_ISOC99] (llrintl): Likewise.
18149 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18151 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
18152 (__ieee754_sqrtf): Remove.
18153 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
18154 (__ieee754_sqrtf): Remove.
18155 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
18156 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18157 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
18158 (__ieee754_sqrtf): Remove.
18159 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
18160 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
18163 (__ieee754_sqrt): Remove.
18164 (__ieee754_sqrtf): Remove.
18165 (__ieee754_sqrtl): Remove.
18166 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18167 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
18168 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
18169 (__ieee754_sqrtf): Remove.
18170 (__ieee754_sqrtl): Remove.
18172 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18174 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
18175 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
18176 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18177 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
18178 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
18179 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18180 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18181 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18183 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
18184 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
18185 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
18186 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
18187 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
18188 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
18189 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18190 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
18191 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
18192 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18193 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
18194 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
18195 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
18196 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
18197 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
18198 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18199 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18200 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18201 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
18202 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
18203 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18204 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18205 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
18206 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
18207 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
18208 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
18209 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18210 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18211 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
18212 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18213 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18214 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
18215 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18216 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
18217 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18218 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18219 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
18220 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
18221 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
18222 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
18224 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18226 * include/math.h (sqrt): Declare with asm redirect.
18229 (sqrtf128): Likewise.
18230 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
18231 nonlib and libnldbl with -fmath-errno.
18232 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
18233 * math/w_sqrt_template.c: Likewise.
18234 * math/w_sqrtf_compat.c: Likewise.
18235 * math/w_sqrtl_compat.c: Likewise.
18236 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
18237 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
18238 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
18241 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18243 * benchtests/Makefile: Define _ISOMAC.
18244 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
18245 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
18246 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
18247 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
18248 * benchtests/bench-timing.h: Define attribute_hidden.
18250 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
18252 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
18255 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18258 * localedata/locales/cs_CZ (mon): Rename to...
18260 (mon): Import from CLDR (genitive case).
18262 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18265 * localedata/locales/el_CY (abmon): Rename to...
18266 (ab_alt_mon): This.
18267 (abmon): Import from CLDR (abbreviated genitive case).
18268 * localedata/locales/el_GR (abmon): Rename to...
18269 (ab_alt_mon): This.
18270 (abmon): Import from CLDR (abbreviated genitive case).
18272 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18275 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
18277 2018-03-15 Robert Buj <robert.buj@gmail.com>
18280 * localedata/locales/ca_ES (abmon): Rename to...
18281 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18282 (mon): Rename to...
18284 (abmon): Import from CLDR (genitive case, month names preceded by
18287 (abday): Synchronize with CLDR.
18288 (d_t_fmt): Likewise.
18292 (LC_TIME): Improve indentation.
18293 (LC_TELEPHONE): Likewise.
18294 (LC_NAME): Likewise.
18295 (LC_ADDRESS): Likewise.
18297 2018-03-14 Joseph Myers <joseph@codesourcery.com>
18299 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
18300 (lrintf): Remove definitions used only with old GCC.
18301 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
18302 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
18303 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
18304 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
18305 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
18306 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
18307 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
18308 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
18309 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
18310 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
18311 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
18312 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
18313 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
18314 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
18315 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
18316 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
18317 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
18318 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
18319 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
18320 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
18321 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
18322 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
18323 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
18324 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
18325 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
18326 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
18327 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
18328 [__FAST_MATH__] (__M_SQRT2): Remove macro.
18330 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18332 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
18333 instruction to unbreak builds with binutils 2.26 and older.
18335 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18337 * sysdeps/aarch64/strncmp.S (count): New macro.
18338 (strncmp): Store misaligned length in SRC1 in COUNT.
18339 (mutual_align): Adjust.
18340 (misaligned8): Load dword at a time when it is safe.
18342 2018-03-12 Zack Weinberg <zackw@panix.com>
18346 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
18347 if the _IO_EOF_SEEN bit is already set; update commentary.
18348 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
18349 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18351 * support/support_openpty.c, support/tty.h: New files.
18352 * support/Makefile (libsupport-routines): Add support_openpty.
18354 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
18356 * libio/Makefile (tests): Add tst-fgetc-after-eof.
18357 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
18359 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
18361 * po/pt_BR.po: Update translations.
18363 2018-03-12 David Michael <fedora.dm0@gmail.com>
18365 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
18366 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
18367 get a port to the startup server.
18369 2018-03-11 Zack Weinberg <zackw@panix.com>
18371 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
18372 before nldbl-compat.h.
18374 2018-03-10 Zack Weinberg <zackw@panix.com>
18376 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
18377 math.h or math_private.h.
18379 * sysdeps/alpha/fpu/s_isnan.c
18380 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
18381 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
18382 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
18383 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
18384 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
18385 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
18386 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
18387 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
18388 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
18389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
18390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
18391 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
18392 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
18393 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
18394 Include math_private.h.
18396 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
18397 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
18398 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
18399 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
18400 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
18401 * sysdeps/powerpc/power7/fpu/s_logb.c:
18402 Include math.h and math_private.h.
18404 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
18405 uses of $at in .set noat / .set at.
18407 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
18409 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
18410 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
18411 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
18412 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
18415 2018-03-09 Florian Weimer <fweimer@redhat.com>
18417 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
18420 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
18423 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
18424 Add nop before __startcontext, add explaining comments.
18426 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18429 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
18431 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
18432 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
18433 Do not build hardware transactional code for __SPE__.
18434 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18435 (__lll_trylock_elision): Likewise.
18436 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18437 (__lll_unlock_elision): Likewise.
18439 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
18440 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
18441 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18442 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
18443 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
18444 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
18445 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
18446 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
18447 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
18448 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
18449 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
18450 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
18451 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
18452 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
18453 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
18454 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
18455 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
18456 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
18457 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
18458 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
18459 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
18460 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18461 (__ASSUME_CLONE_BACKWARDS): Define.
18462 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
18463 __clone2 if __NR_clone2 is defined.
18464 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18465 (__ASSUME_CLONE_BACKWARDS): Likewise.
18466 * sysdeps/unix/sysv/linux/i386/kernel-features.h
18467 (__ASSUME_CLONE_BACKWARDS): Likewise.
18468 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18469 (__ASSUME_CLONE2): Likewise.
18470 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18471 (__ASSUME_CLONE_BACKWARDS3): Likewise.
18472 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
18473 variants and the define architecture can use.
18474 (__ASSUME_CLONE_DEFAULT): Define as default.
18475 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18476 (__ASSUME_CLONE_BACKWARDS): Likewise.
18477 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18478 (__ASSUME_CLONE_BACKWARDS): Likewise.
18479 * sysdeps/unix/sysv/linux/s390/kernel-features.h
18480 (__ASSUME_CLONE_BACKWARDS2): Likewise.
18482 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
18484 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
18486 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
18489 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
18490 (do_test_limit): Likewise.
18492 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
18493 for every implementation.
18494 (do_test): Likewise.
18496 * benchtests/bench-strncmp.c: Convert output to json.
18498 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18500 * io/futimens.c: Add missing start-of-file descriptive comment.
18501 * io/utime.c: Likewise.
18502 * misc/futimesat.c: Likewise.
18503 * misc/utimes.c: Likewise.
18504 * sysdeps/mach/hurd/futimesat.c: Likewise.
18505 * sysdeps/mach/hurd/utimes.c: Likewise.
18506 * sysdeps/posix/utime.c: Likewise.
18507 * sysdeps/posix/utimes.c: Likewise.
18508 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
18509 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18510 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
18511 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
18513 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18515 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
18517 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
18518 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
18519 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
18520 (__futimens): Move implementation to...
18521 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
18522 utime_tvalue_from_tspec): ... new helper functions.
18523 (hurd_futimens): New function.
18524 * sysdeps/mach/hurd/futimesat.c: New file.
18525 * sysdeps/mach/hurd/utimensat.c: New file.
18527 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
18529 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
18530 UTIME_OMIT): New macros.
18531 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
18532 before reverting to converting time spec to time value and calling
18534 * sysdeps/mach/hurd/utime-helper.c: New file.
18535 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
18536 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
18537 reverting to utime_tvalue_from_tval and __file_utimes.
18538 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
18539 (__lutimes): Just call hurd_futimens after lookup.
18540 * sysdeps/mach/hurd/utimes.c: Likewise.
18542 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18544 * bits/sigaction.h: Add include guard.
18545 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
18546 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
18547 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
18548 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
18549 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
18550 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
18551 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
18552 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
18553 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
18555 2018-03-05 Joseph Myers <joseph@codesourcery.com>
18557 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
18558 -Wmaybe-uninitialized for -Os.
18559 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
18562 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18564 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
18565 __INO_T_MATCHES_INO64_T is defined.
18566 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
18567 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
18569 * dirent/alphasort64.c: Likewise.
18570 * dirent/scandir.c: Likewise.
18571 * dirent/scandir64-tail.c: Likewise.
18572 * dirent/scandir64.c: Likewise.
18573 * dirent/scandirat.c: Likewise.
18574 * dirent/scandirat64.c: Likewise.
18575 * dirent/versionsort.c: Likewise.
18576 * dirent/versionsort64.c: Likewise.
18577 * include/dirent.h: Likewise.
18579 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
18580 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
18581 for socketpair endpoint.
18582 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
18583 WRITE_BUFFER_SIZE as buffer size for sending socket.
18584 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
18585 issue on system where send is implemented with sendto syscall.
18586 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
18587 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
18588 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
18589 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
18592 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
18593 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
18594 sa_restorer for vDSO case.
18595 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
18597 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18599 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
18600 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
18601 * hurd/hurd/ioctl.h: Include <mach/port.h>
18602 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
18603 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
18604 <mach/mach_types.h> and <mach/message.h>.
18605 (headers): Move mach/param.h to bits/mach/param.h.
18606 * sysdeps/mach/i386/mach/param.h: Move file to ...
18607 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
18608 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
18610 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
18611 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
18612 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
18613 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
18614 trivial, for C++ conformity.
18615 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
18616 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
18617 Process mig output through $(migheadersed).
18618 * hurd/Makefile (migheadersed): Define variable.
18619 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
18620 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
18622 * hurd/hurd.h: Include <bits/types/sigset_t.h>
18623 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
18624 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
18625 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
18626 <bits/types/sigset_t.h>.
18627 [!defined __USE_GNU]: Do not #error out.
18628 (struct hurd_sigstate): Use _NSIG instead of NSIG.
18629 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
18630 Include <stddef.h> and <bits/types/sigset_t.h>
18631 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
18632 instead of sighandler_t.
18633 * stdlib/errno.h (error_t): Move definition to...
18634 * bits/types/error_t.h: ... new header.
18635 * stdlib/Makefile (headers): Add bits/types/error_t.h.
18636 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
18637 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
18638 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
18639 * hurd/hurd.h: Include <bits/types/error_t.h>
18640 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
18641 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
18642 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
18643 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
18644 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
18645 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
18646 * sysdeps/mach/hurd/futimens.c: New file.
18648 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
18651 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
18652 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
18653 * nscd/gai.c (__nss_hosts_database): Readd definition.
18654 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
18655 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
18656 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
18658 2018-03-02 Joseph Myers <joseph@codesourcery.com>
18660 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
18661 (ifunc_one): Likewise.
18663 2018-03-01 DJ Delorie <dj@delorie.com>
18666 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
18669 2018-03-01 Maciej W. Rozycki <macro@mips.com>
18671 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
18672 `match_pid' parameter.
18673 (td_ta_thr_iter): Update accordingly.
18675 2018-03-01 Florian Weimer <fweimer@redhat.com>
18677 * nptl/Makefile (install-lib-ldscripts): Remove.
18678 (install): Remove rule.
18679 ($(inst_libdir)/libpthread.so): Likewise.
18681 2018-03-01 Mike FABIAN <mfabian@redhat.com>
18684 * localedata/locales/an_ES: update month and day names,
18685 improve d_fmt, improve postal_fmt, add country_post,
18688 2018-03-01 Mike FABIAN <mfabian@redhat.com>
18690 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
18691 Ukrainian instead of Bulgarian.
18693 2018-03-01 Florian Weimer <fweimer@redhat.com>
18695 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
18698 2018-03-01 Florian Weimer <fweimer@redhat.com>
18700 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
18701 * nptl/Makefile (routines): Add pthread_atfork.
18702 (static-only-routines): Set to pthread_atfork.
18703 (libpthread-routines): Remove pthread_atfork.
18704 (libpthread-static-only-routines): Remove.
18705 (install): Update comment.
18706 (libpthread.so): Do not install libpthread_nonshared.a.
18707 (tests): Do not link with libpthread_nonshared.a.
18708 (generated): Remove libpthread_nonshared.a.
18709 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
18710 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
18711 with libpthread_nonshared.a.
18713 2018-02-28 Joseph Myers <joseph@codesourcery.com>
18716 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
18717 (libc_feholdexcept_setroundf128): New macro.
18718 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
18721 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
18723 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
18724 * include/inttypes.h: New file.
18726 2018-02-27 Joseph Myers <joseph@codesourcery.com>
18728 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
18729 -Os in two more places.
18731 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18733 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
18734 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
18735 be sorted correctly at the moment because of a bug.
18737 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18739 [BZ #22550] - es_ES locale (and other es_* locales): collation should
18740 treat ñ as a primary different character, sync the collation
18741 for Spanish with CLDR.
18742 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
18743 * localedata/Makefile: Add new test files.
18744 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
18745 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
18747 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
18748 * localedata/am_ET.UTF-8.in: New test file.
18749 * localedata/az_AZ.UTF-8.in: Likewise.
18750 * localedata/be_BY.UTF-8.in: Likewise.
18751 * localedata/ber_DZ.UTF-8.in: Likewise.
18752 * localedata/ber_MA.UTF-8.in: Likewise.
18753 * localedata/bg_BG.UTF-8.in: Likewise.
18754 * localedata/br_FR.UTF-8.in: Likewise.
18755 * localedata/cmn_TW.UTF-8.in: Likewise.
18756 * localedata/crh_UA.UTF-8.in: Likewise.
18757 * localedata/csb_PL.UTF-8.in: Likewise.
18758 * localedata/cv_RU.UTF-8.in: Likewise.
18759 * localedata/cy_GB.UTF-8.in: Likewise.
18760 * localedata/dz_BT.UTF-8.in: Likewise.
18761 * localedata/eo.UTF-8.in: Likewise.
18762 * localedata/es_ES.UTF-8.in: Likewise.
18763 * localedata/fa_IR.UTF-8.in: Likewise.
18764 * localedata/fi_FI.UTF-8.in: Likewise.
18765 * localedata/fil_PH.UTF-8.in: Likewise.
18766 * localedata/fur_IT.UTF-8.in: Likewise.
18767 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
18768 * localedata/ha_NG.UTF-8.in: Likewise.
18769 * localedata/ig_NG.UTF-8.in: Likewise.
18770 * localedata/ik_CA.UTF-8.in: Likewise.
18771 * localedata/kk_KZ.UTF-8.in: Likewise.
18772 * localedata/ku_TR.UTF-8.in: Likewise.
18773 * localedata/ky_KG.UTF-8.in: Likewise.
18774 * localedata/ln_CD.UTF-8.in: Likewise.
18775 * localedata/mi_NZ.UTF-8.in: Likewise.
18776 * localedata/ml_IN.UTF-8.in: Likewise.
18777 * localedata/mn_MN.UTF-8.in: Likewise.
18778 * localedata/mr_IN.UTF-8.in: Likewise.
18779 * localedata/mt_MT.UTF-8.in: Likewise.
18780 * localedata/nb_NO.UTF-8.in: Likewise.
18781 * localedata/om_KE.UTF-8.in: Likewise.
18782 * localedata/os_RU.UTF-8.in: Likewise.
18783 * localedata/ps_AF.UTF-8.in: Likewise.
18784 * localedata/ro_RO.UTF-8.in: Likewise.
18785 * localedata/ru_RU.UTF-8.in: Likewise.
18786 * localedata/sc_IT.UTF-8.in: Likewise.
18787 * localedata/se_NO.UTF-8.in: Likewise.
18788 * localedata/sq_AL.UTF-8.in: Likewise.
18789 * localedata/sv_SE.UTF-8.in: Likewise.
18790 * localedata/szl_PL.UTF-8.in: Likewise.
18791 * localedata/tg_TJ.UTF-8.in: Likewise.
18792 * localedata/tk_TM.UTF-8.in: Likewise.
18793 * localedata/tt_RU.UTF-8.in: Likewise.
18794 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
18795 * localedata/ug_CN.UTF-8.in: Likewise.
18796 * localedata/uz_UZ.UTF-8.in: Likewise.
18797 * localedata/vi_VN.UTF-8.in: Likewise.
18798 * localedata/yi_US.UTF-8.in: Likewise.
18799 * localedata/yo_NG.UTF-8.in: Likewise.
18800 * localedata/zh_CN.UTF-8.in: Likewise.
18801 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
18802 file and fix bugs in the collation.
18803 * localedata/locales/az_AZ: Likewise.
18804 * localedata/locales/be_BY: Likewise.
18805 * localedata/locales/ber_DZ: Likewise.
18806 * localedata/locales/ber_MA: Likewise.
18807 * localedata/locales/bg_BG: Likewise.
18808 * localedata/locales/br_FR: Likewise.
18809 * localedata/locales/br_FR@euro: Likewise.
18810 * localedata/locales/ca_ES: Likewise.
18811 * localedata/locales/cns11643_stroke: Likewise.
18812 * localedata/locales/crh_UA: Likewise.
18813 * localedata/locales/cs_CZ: Likewise.
18814 * localedata/locales/csb_PL: Likewise.
18815 * localedata/locales/cv_RU: Likewise.
18816 * localedata/locales/cy_GB: Likewise.
18817 * localedata/locales/da_DK: Likewise.
18818 * localedata/locales/dz_BT: Likewise.
18819 * localedata/locales/en_CA: Likewise.
18820 * localedata/locales/eo: Likewise.
18821 * localedata/locales/es_CU: Likewise.
18822 * localedata/locales/es_EC: Likewise.
18823 * localedata/locales/es_ES: Likewise.
18824 * localedata/locales/es_US: Likewise.
18825 * localedata/locales/et_EE: Likewise.
18826 * localedata/locales/fa_IR: Likewise.
18827 * localedata/locales/fi_FI: Likewise.
18828 * localedata/locales/fil_PH: Likewise.
18829 * localedata/locales/fur_IT: Likewise.
18830 * localedata/locales/gez_ER@abegede: Likewise.
18831 * localedata/locales/ha_NG: Likewise.
18832 * localedata/locales/hr_HR: Likewise.
18833 * localedata/locales/hsb_DE: Likewise.
18834 * localedata/locales/hu_HU: Likewise.
18835 * localedata/locales/ig_NG: Likewise.
18836 * localedata/locales/ik_CA: Likewise.
18837 * localedata/locales/is_IS: Likewise.
18838 * localedata/locales/iso14651_t1_pinyin: Likewise.
18839 * localedata/locales/kk_KZ: Likewise.
18840 * localedata/locales/ku_TR: Likewise.
18841 * localedata/locales/ky_KG: Likewise.
18842 * localedata/locales/ln_CD: Likewise.
18843 * localedata/locales/lt_LT: Likewise.
18844 * localedata/locales/lv_LV: Likewise.
18845 * localedata/locales/mi_NZ: Likewise.
18846 * localedata/locales/ml_IN: Likewise.
18847 * localedata/locales/mn_MN: Likewise.
18848 * localedata/locales/mr_IN: Likewise.
18849 * localedata/locales/mt_MT: Likewise.
18850 * localedata/locales/nb_NO: Likewise.
18851 * localedata/locales/om_KE: Likewise.
18852 * localedata/locales/os_RU: Likewise.
18853 * localedata/locales/pl_PL: Likewise.
18854 * localedata/locales/ps_AF: Likewise.
18855 * localedata/locales/ro_RO: Likewise.
18856 * localedata/locales/ru_RU: Likewise.
18857 * localedata/locales/ru_UA: Likewise.
18858 * localedata/locales/sc_IT: Likewise.
18859 * localedata/locales/se_NO: Likewise.
18860 * localedata/locales/si_LK: Likewise.
18861 * localedata/locales/sq_AL: Likewise.
18862 * localedata/locales/sv_FI: Likewise.
18863 * localedata/locales/sv_FI@euro: Likewise.
18864 * localedata/locales/sv_SE: Likewise.
18865 * localedata/locales/szl_PL: Likewise.
18866 * localedata/locales/tg_TJ: Likewise.
18867 * localedata/locales/ti_ER: Likewise.
18868 * localedata/locales/tk_TM: Likewise.
18869 * localedata/locales/tl_PH: Likewise.
18870 * localedata/locales/tr_TR: Likewise.
18871 * localedata/locales/tt_RU: Likewise.
18872 * localedata/locales/tt_RU@iqtelif: Likewise.
18873 * localedata/locales/ug_CN: Likewise.
18874 * localedata/locales/uk_UA: Likewise.
18875 * localedata/locales/uz_UZ: Likewise.
18876 * localedata/locales/uz_UZ@cyrillic: Likewise.
18877 * localedata/locales/vi_VN: Likewise.
18878 * localedata/locales/yi_US: Likewise.
18879 * localedata/locales/yo_NG: Likewise.
18881 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18883 * gen-locales.mk: Make test files which contain @ modifiers in their
18885 * localedata/gen-locale.sh: Likewise.
18887 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18889 * posix/tst-fnmatch.input: Fix results for range expressions
18891 * posix/tst-regexloc.c: Do not use a range expression for
18892 de_DE.ISO-8859-1 locale.
18894 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18896 * posix/bug-regex5.c: Fix test case because with the new
18897 iso14651_t1_common file, the da_DK locale now has 6 collating elements
18898 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
18901 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18903 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
18904 downloaded from ISO, the collation order of @-. and space has changed.
18905 Therefore, this test file needed to be adapted.
18906 * localedata/fr_CA.UTF-8.in: Likewise.
18907 * localedata/fr_FR.UTF-8.in: Likewise.
18908 * localedata/uk_UA.UTF-8.in: Likewise.
18910 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18912 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
18913 order of ȥ in the new iso14651_t1_common file.
18914 * localedata/pl_PL.UTF-8.in: Likewise.
18916 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18918 * localedata/locales/iso14651_t1_common: Add sections for various
18919 scripts to the iso14651_t1_common file.
18921 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18923 * localedata/locales/iso14651_t1_common: Use the code point of a
18924 character in the fourth collation level instead of IGNORE for all
18925 entries which have IGNORE on all 4 levels.
18927 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18929 * localedata/locales/iso14651_t1_common: Add some convenient collation
18930 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
18931 rules similar to those in CLDR.
18933 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18935 * localedata/locales/iso14651_t1_common: The new version of this
18936 file downloaded from ISO contained several syntax errors which
18937 are fixed by this patch.
18939 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18941 * localedata/locales/iso14651_t1_common: replace all <U.....>
18942 with <U000.....> because glibc understands only 4 digit or 8 digit
18944 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18946 * localedata/locales/iso14651_t1_common: Necessary changes
18947 to make the file downloaded from ISO usable by glibc.
18949 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18952 * localedata/locales/iso14651_t1_common: Update file to
18953 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
18955 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18957 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
18958 of <nptl/pthreadP.h>
18959 (thread_attr_compare): Move function to...
18960 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
18961 * sysdeps/nptl/timer_routines.h: ... new header.
18962 * sysdeps/mach/hurd/gai_misc.h: New file.
18964 2018-02-26 Joseph Myers <joseph@codesourcery.com>
18966 * string/strcoll_l.c: Include <libc-diag.h>.
18967 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
18968 declarations of seq1 and seq2.
18971 * stdlib/atoi.c (atoi): Use libc_hidden_def.
18972 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
18974 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
18978 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
18979 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
18980 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
18981 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
18982 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
18983 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
18985 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18987 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
18988 macros used in __ptrace_request.
18990 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
18993 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
18995 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
18996 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
18997 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
19000 2018-02-23 Joseph Myers <joseph@codesourcery.com>
19003 * ctype/ctype.c (tolower): Use libc_hidden_def.
19004 (toupper): Likewise.
19005 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
19006 [!_ISOMAC] (toupper): Likewise.
19008 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19010 * localedata/Makefile: Remove --quiet argument when
19013 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19016 * localedata/locales/pt_BR (LC_TIME): use / instead of -
19018 * localedata/locales/pt_PT (LC_TIME): likewise
19020 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19023 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
19024 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
19025 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
19027 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19031 * nptl/Makefile (routines): Remove unregister-atfork.
19032 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
19033 (fork_handler_alloc): Remove function.
19034 (fork_handlers, fork_handler_init): New variables.
19035 (__fork_lock): Rename to atfork_lock.
19036 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
19037 to use a dynamic array to add/remove atfork handlers.
19038 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19039 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
19040 Remove declaration.
19041 (fork_handler): Remove next, refcntr, and need_signal member.
19042 (__run_fork_handler_type): New enum.
19043 (__run_fork_handlers): New prototype.
19044 * nptl/register-atfork.c: Remove file.
19045 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
19047 * sysdeps/nptl/nptl-signals.h: Move to ...
19048 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
19050 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
19051 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
19052 unnecessary check for SIGTIMER.
19053 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
19054 remove unnecessary removal of SIGTIMER.
19055 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
19056 include-signals.h rename.
19057 * nptl/pthreadP.h: Likewise.
19058 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
19059 __is_internal_signal instead of __nptl_is_internal_signal.
19061 2018-02-22 Andrew Waterman <andrew@sifive.com>
19064 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
19065 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
19066 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
19067 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
19069 2018-02-22 DJ Delorie <dj@delorie.com>
19071 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
19073 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
19075 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
19076 do_misaligned, not misaligned8.
19078 2018-02-22 Steve Ellcey <sellcey@cavium.com>
19080 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
19081 Add memcpy_thunderx2.
19082 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
19084 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
19085 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
19086 and IS_THUNDERX2PA checks.
19087 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
19088 Use macro to set name appropriately.
19089 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
19090 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
19091 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
19093 (IS_THUNDERX2): New macro.
19095 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
19097 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19099 2018-02-21 Zack Weinberg <zackw@panix.com>
19101 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
19102 Define here, unconditionally.
19103 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
19104 * libio/libioP.h: Remove #if 0 blocks.
19105 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
19106 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
19107 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
19109 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
19110 Assume weak_alias is always defined.
19112 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
19113 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
19114 Remove #if 0 and #ifdef TODO blocks.
19115 Assume text_set_element is always defined.
19117 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
19118 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
19119 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
19121 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
19122 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
19123 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
19124 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
19125 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
19126 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
19127 Reformat bit flags for _flags field to make occupancy clearer.
19129 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
19130 Keep definitions consistent with those in libio/libio.h.
19132 * libio/libio.h (_IO_file_flags): Remove macro.
19133 All uses changed to _flags.
19135 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
19136 (__HAVE_COLUMN, _IO_BE): Don't define.
19137 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
19138 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
19139 * libio/libioP.h (EOF): Don't define.
19140 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
19141 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
19142 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
19143 testing _IO_UNIFIED_JUMPTABLES.
19145 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
19146 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
19147 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
19148 (_IO_size_t): Delete; all uses changed to size_t.
19149 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
19150 (_IO_off_t): Delete; all uses changed to off_t.
19151 (_IO_off64_t): Delete; all uses changed to off64_t.
19152 (_IO_pid_t): Delete; all uses changed to pid_t.
19153 (_IO_uid_t): Delete; all uses changed to uid_t.
19154 (_IO_wint_t): Delete; all uses changed to wint_t.
19155 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
19156 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
19157 (_IO_cookie_io_functions_t): Delete; all uses changed to
19158 cookie_io_functions_t.
19159 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
19160 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
19161 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
19162 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
19164 * libio/iofopncook.c: Remove unnecessary forward declarations.
19165 * libio/iolibio.h: Correct outdated commentary.
19166 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
19167 * stdio-common/fxprintf.c (__fxprintf_nocancel):
19168 Remove unnecessary casts.
19169 * stdio-common/getline.c: Use _IO_getdelim directly.
19170 Don't redefine ssize_t.
19171 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
19172 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
19173 Remove outdated comments.
19174 * stdio-common/vfscanf.c: Don't redefine va_list.
19176 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
19177 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
19178 Remove preprocessor conditionals on _LIBC and __USE_GNU,
19179 which are always true, and __cplusplus, which is always false.
19181 2018-02-21 Joseph Myers <joseph@codesourcery.com>
19185 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
19186 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
19187 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
19188 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
19190 [!_ISOMAC] (putc_unlocked): Likewise.
19191 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
19192 define inline if [__USE_EXTERN_INLINES].
19193 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
19198 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
19199 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
19200 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
19201 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
19202 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
19204 * time/tzfile.c (__tzfile_read): Likewise.
19206 2018-02-21 Mike FABIAN <mfabian@redhat.com>
19209 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
19211 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
19213 * io/fcntl.h: Fix a typo in a comment.
19215 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
19218 * include/features.h: Add _ISOC11_SOURCE to test for whether to
19219 define _DEFAULT_SOURCE.
19220 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
19222 2018-02-21 Florian Weimer <fweimer@redhat.com>
19225 * elf/cache.c (save_cache): Call fsync on temporary file before
19227 (save_aux_cache): Call fdatasync on temporary file before renaming
19230 2018-02-21 Florian Weimer <fweimer@redhat.com>
19233 * include/caller.h: Remove file.
19234 * elf/dl-caller.c: Likewise.
19235 * elf/Makefile (dl-routines): Remove dl-caller.
19236 (shared-only-routines): Do not add dl-caller.
19237 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
19239 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
19241 (dl_open_worker): Do not call __check_caller.
19242 (_dl_open): Do not set caller_dl_open member.
19243 * elf/rtld.c (_rtld_global_ro): Do not initialize
19244 _dl_check_caller member.
19245 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
19246 _dl_check_caller member.
19247 (_dl_check_caller): Remove declaration.
19248 * sysdeps/unix/sysv/linux/dl-execstack.c
19249 (_dl_make_stack_executable): Do not call __check_caller.
19251 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19253 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
19254 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
19256 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
19258 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
19261 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
19264 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
19265 of 199606L, 200112L, and 200809L.
19266 (_XOPEN_SOURCE): Document special values of 600 and 700.
19267 (_ISOC11_SOURCE): Document macro.
19268 (_ATFILE_SOURCE): Likewise.
19269 (_FORTIFY_SOURCE): Likewise.
19271 2018-02-19 Joseph Myers <joseph@codesourcery.com>
19275 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
19276 and define as weak alias of __ferror_unlocked. Use
19278 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
19280 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
19281 function if [__USE_EXTERN_INLINES].
19282 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
19285 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
19288 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
19290 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19293 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
19294 the GLIBC_2.1 version.
19296 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19299 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
19300 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
19301 intl/tst-gettext-de.po from po/de.po by removing the
19302 POT-Creation-Date line.
19303 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
19305 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
19308 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19310 * mach/Makefile (headers): Add mach/param.h.
19311 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
19312 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
19313 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
19314 (__ptsname_r): Move implementation to...
19315 (__ptsname_internal): ... new function. Add filling the STP
19318 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
19320 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
19323 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
19325 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
19328 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19330 * nptl/Makefile (tst-mutex8-ENV): Delete.
19331 * nptl/tst-mutex8.c (check_type):
19332 Add runtime check if mutex will be elided.
19334 2018-02-15 Joseph Myers <joseph@codesourcery.com>
19338 * manual/install.texi (Configuring and compiling): Describe
19339 passing CC and CFLAGS on configure command line, not as
19340 environment variables. Use @code markup on those variables.
19341 Specify what options go in CC and what go in CFLAGS. Note the
19342 requirement to compile with optimization.
19343 * INSTALL: Regenerated.
19346 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
19347 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
19348 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
19349 __sigprocmask instead of sigprocmask.
19350 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
19352 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
19353 __sigsetjmp and sigprocmask.
19356 * include/argz.h (argz_next): Use libc_hidden_proto.
19357 (__argz_next): Likewise.
19358 * string-argz-next.c (__argz_next): Use libc_hidden_def.
19359 (argz_next): Use libc_hidden_weak.
19362 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
19364 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
19368 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
19370 * libio/iofputs.c (fputs): Use libc_hidden_weak.
19374 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
19375 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
19376 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
19377 (__feof_unlocked): New declaration, and inline function if
19378 [__USE_EXTERN_INLINES].
19379 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
19380 instead of feof_unlocked.
19381 * intl/localealias.c [_LIBC] (FEOF): Likewise.
19382 * nss/nsswitch.c (nss_parse_file): Likewise.
19383 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
19385 * time/getdate.c (__getdate_r): Likewise.
19386 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
19387 Define as macro to call __feof_unlocked.
19389 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19391 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
19393 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19395 * math/Makefile: Remove mpexp.c and mplog.c
19396 * sysdeps/i386/fpu/mpexp.c: Delete file.
19397 * sysdeps/i386/fpu/mplog.c: Likewise.
19398 * sysdeps/ia64/fpu/mpexp.c: Likewise.
19399 * sysdeps/ia64/fpu/mplog.c: Likewise.
19400 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
19401 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
19402 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
19403 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19404 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
19405 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
19406 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
19407 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
19408 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
19409 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19410 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
19411 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
19412 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19413 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
19414 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
19415 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19417 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
19419 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19421 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19423 * sysdeps/sh/libm-test-ulps: Update.
19425 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19427 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
19430 2018-02-12 Zack Weinberg <zackw@panix.com>
19433 * posix/sys/types.h: Don't include sys/sysmacros.h.
19434 * misc/sys/sysmacros.h: Remove the conditional deprecation
19435 warnings for the macros defined by this header.
19437 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19439 * manual/probes.texi: Remove slowexp probes.
19440 * math/Makefile: Remove slowexp.
19441 * sysdeps/generic/math_private.h (__slowexp): Remove.
19442 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
19443 document error bounds.
19444 * sysdeps/i386/fpu/slowexp.c: Remove.
19445 * sysdeps/ia64/fpu/slowexp.c: Remove.
19446 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
19447 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
19448 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
19449 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
19450 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
19451 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
19452 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
19453 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
19454 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
19455 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
19456 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
19458 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
19461 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
19462 * benchtests/pow-inputs: Update comment for slow path cases.
19463 * manual/probes.texi (slowpow_p10): Delete removed probe.
19464 (slowpow_p10): Likewise.
19465 * math/Makefile: Remove halfulp.c and slowpow.c.
19466 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
19467 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
19468 (__halfulp): Remove.
19469 (__slowpow): Remove.
19470 * sysdeps/i386/fpu/halfulp.c: Delete file.
19471 * sysdeps/i386/fpu/slowpow.c: Likewise.
19472 * sysdeps/ia64/fpu/halfulp.c: Likewise.
19473 * sysdeps/ia64/fpu/slowpow.c: Likewise.
19474 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
19475 improve comments and add error analysis.
19476 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
19477 (power1): Remove function:
19478 (log1): Remove error argument, add error analysis.
19479 (my_log2): Remove function.
19480 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
19481 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19482 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
19483 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
19484 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
19485 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
19486 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
19487 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
19488 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
19489 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
19490 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
19491 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19492 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
19493 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19495 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
19497 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
19498 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
19500 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
19503 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
19504 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
19505 and PTRACE_SETHBPREGS.
19507 2018-02-10 Zack Weinberg <zackw@panix.com>
19510 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
19512 * malloc/tst-malloc-stats-cancellation.c: New test case.
19513 * malloc/Makefile: Add new test case.
19515 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
19517 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
19519 2018-02-10 Joseph Myers <joseph@codesourcery.com>
19521 * math/Makefile (libm-narrow-fns): Add add.
19522 (libm-test-funcs-narrow): Likewise.
19523 * math/Versions (GLIBC_2.28): Add narrowing add functions.
19524 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
19525 * math/gen-auto-libm-tests.c (test_functions): Add add.
19526 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
19527 (NARROW_ADD_ROUND_TO_ODD): Likewise.
19528 (NARROW_ADD_TRIVIAL): Likewise.
19529 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
19531 (__daddl): Likewise.
19532 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
19534 (CFLAGS-nldbl-dadd.c): New variable.
19535 (CFLAGS-nldbl-fadd.c): Likewise.
19536 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19538 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
19540 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
19541 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
19542 * math/auto-libm-test-in: Add tests of add.
19543 * math/auto-libm-test-out-narrow-add: New generated file.
19544 * math/libm-test-narrow-add.inc: New file.
19545 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
19546 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
19547 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
19548 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
19549 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
19550 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
19551 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
19552 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
19553 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
19554 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
19555 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
19556 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
19557 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
19558 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
19559 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
19560 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
19561 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
19562 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
19563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19564 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19565 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19566 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19567 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19568 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19569 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19570 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19571 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19572 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19573 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19574 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19575 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19576 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19581 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19582 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19583 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19584 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19585 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19586 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19587 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19588 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19589 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19590 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19592 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
19593 (f128-pairs): New variable.
19594 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
19595 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
19597 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
19598 Also make tests add $(f128-loader-link) to gnulib-tests.
19600 2018-02-09 DJ Delorie <dj@redhat.com>
19603 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
19604 64-bit ELF type for 64-bit ELF objects.
19606 2018-02-09 Joseph Myers <joseph@codesourcery.com>
19608 * math/libm-test-driver.c (snan_tests_arg): New variable.
19609 * math/libm-test-support.h (snan_tests_arg): New declaration.
19610 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
19612 * math/Makefile (test-type-pairs): New variable.
19613 (test-type-pairs-f64xf128-yes): Likewise.
19614 (tests): Add test-narrow-macros.
19615 (libm-test-funcs-narrow): New variable.
19616 (libm-test-c-narrow): Likewise.
19617 (generated): Add $(libm-test-c-narrow).
19618 (libm-tests-base-narrow): New variable.
19619 (libm-tests-narrow): Likewise.
19620 (libm-tests): Add $(libm-tests-narrow).
19621 (libm-tests-for-type): Handle $(libm-tests-narrow).
19622 (libm-test-c-narrow-obj): New variable.
19623 ($(libm-test-c-narrow-obj)): New rule.
19624 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
19625 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
19626 $(o-iterator) to set dependencies and CFLAGS.
19627 * math/gen-auto-libm-tests.c: Document use for narrowing
19629 (output_for_one_input_case): Take argument NARROW.
19630 (generate_output): Likewise. Update call to
19631 output_for_one_input_case.
19632 (main): Take --narrow option. Update call to generate_output.
19633 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
19634 (apply_lit): Update call to _apply_lit.
19635 (apply_arglit): New function.
19636 (parse_args): Handle "a" arguments.
19637 (parse_auto_input): Handle format names using ":".
19638 * math/README.libm-test: Document "a" parameter type.
19639 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
19640 (ARG_TYPE_TRUE_MIN): Likewise.
19641 (ARG_TYPE_MAX): Likwise.
19642 (ARG_MIN_EXP): Likewise.
19643 (ARG_MAX_EXP): Likewise.
19644 (ARG_MANT_DIG): Likewise.
19645 (TEST_COND_arg_ibm128): Likewise.
19646 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
19647 (TEST_COND_arg_fmt): New macro.
19648 (init_max_error): Update prototype.
19649 * math/libm-test-support.c (test_ibm128): New variable.
19650 (init_max_error): Take argument testing_ibm128 and set test_ibm128
19651 instead of using [TEST_COND_ibm128] conditional.
19652 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
19653 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
19654 [TEST_NARROW] (TEST_MSG): New definition.
19655 (arg_plus_zero): New macro.
19656 (arg_minus_zero): Likewise.
19657 (arg_plus_infty): Likewise.
19658 (arg_minus_infty): Likewise.
19659 (arg_qnan_value_pl): Likewise.
19660 (arg_qnan_value): Likewise.
19661 (arg_snan_value_pl): Likewise.
19662 (arg_snan_value): Likewise.
19663 (arg_max_value): Likewise.
19664 (arg_min_value): Likewise.
19665 (arg_min_subnorm_value): Likewise.
19666 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
19667 (RUN_TEST_LOOP_aa_f): New macro.
19668 (TEST_SUFF): New macro.
19669 (TEST_SUFF_STR): Likewise.
19670 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
19671 (TEST_COND_any_ibm128): New macro.
19672 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
19673 this_func. Update call to init_max_error.
19674 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
19675 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
19676 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
19677 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
19678 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
19679 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
19680 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
19681 * math/test-math-scalar.h (TEST_NARROW): Likewise.
19682 * math/test-math-vector.h (TEST_NARROW): Likewise.
19683 * math/test-arg-double.h: New file.
19684 * math/test-arg-float128.h: Likewise.
19685 * math/test-arg-float32x.h: Likewise.
19686 * math/test-arg-float64.h: Likewise.
19687 * math/test-arg-float64x.h: Likewise.
19688 * math/test-arg-ldouble.h: Likewise.
19689 * math/test-math-narrow.h: Likewise.
19690 * math/test-narrow-macros.c: Likewise.
19691 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
19692 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
19693 test-narrow-macros-ldbl-64.
19694 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
19696 * math/bits/mathcalls-narrow.h: New file.
19697 * include/bits/mathcalls-narrow.h: Likewise.
19698 * math/math-narrow.h: Likewise.
19699 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
19700 (__MATHCALL_NARROW_ARGS_2): Likewise.
19701 (__MATHCALL_NARROW_ARGS_3): Likewise.
19702 (__MATHCALL_NARROW_NORMAL): Likewise.
19703 (__MATHCALL_NARROW_REDIR): Likewise.
19704 (__MATHCALL_NARROW): Likewise.
19705 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
19706 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
19708 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19709 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
19710 (libm-narrow-fns): New variable.
19711 (libm-narrow-types-basic): Likewise.
19712 (libm-narrow-types-ldouble-yes): Likewise.
19713 (libm-narrow-types-float128-yes): Likewise.
19714 (libm-narrow-types-float128-alias-yes): Likewise.
19715 (libm-narrow-types): Likewise.
19716 (libm-routines): Add narrowing functions.
19717 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
19718 (libc_feholdexcept_setroundf128): New macro.
19719 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
19720 * sysdeps/ieee754/float128/float128_private.h: Include
19721 <math/math-narrow.h>.
19722 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
19723 Undefine and redefine.
19724 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
19725 (libm_alias_float_ldouble): Undefine and redefine.
19726 (libm_alias_double_ldouble): Likewise.
19728 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
19730 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
19732 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
19735 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
19737 * manual/creature.texi: Convert references to gcc.info to gcc.
19738 * manual/stdio.texi: Likewise.
19739 * manual/string.texi: Likewise.
19741 2018-02-07 Joseph Myers <joseph@codesourcery.com>
19744 * posix/bits/types.h (__int_least8_t): New typedef.
19745 (__uint_least8_t): Likewise.
19746 (__int_least16_t): Likewise.
19747 (__uint_least16_t): Likewise.
19748 (__int_least32_t): Likewise.
19749 (__uint_least32_t): Likewise.
19750 (__int_least64_t): Likewise.
19751 (__uint_least64_t): Likewise.
19752 * sysdeps/generic/stdint.h (int_least8_t): Define using
19754 (int_least16_t): Define using __int_least16_t.
19755 (int_least32_t): Define using __int_least32_t.
19756 (int_least64_t): Define using __int_least64_t.
19757 (uint_least8_t): Define using __uint_least8_t.
19758 (uint_least16_t): Define using __uint_least16_t.
19759 (uint_least32_t): Define using __uint_least32_t.
19760 (uint_least64_t): Define using __uint_least64_t.
19761 * wcsmbs/uchar.h: Include <bits/types.h>.
19762 (char16_t): Define using __uint_least16_t conditional only on
19764 (char32_t): Define using __uint_least32_t conditional only on
19766 * wcsmbs/test-char-types.c: New file.
19767 * wcsmbs/Makefile (tests): Add test-char-types.
19769 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
19772 2018-02-07 Zack Weinberg <zackw@panix.com>
19774 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
19775 Delete all contents except for definitions of _G_HAVE_MMAP and
19776 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
19777 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
19778 sysdeps/unix/sysv/linux/_G_config.h. Make same content
19781 * libio/libio.h: Don't include bits/_G_config.h here.
19782 Include stddef.h with __need_wchar_t defined. Include
19783 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
19784 Define _IO_iconv_t here, directly.
19785 Don't define _IO_HAVE_ST_BLKSIZE.
19786 * libio/libioP.h: Include _G_config.h here. Move include of
19787 shlib-compat.h up with rest of includes. Simplify conditionals
19788 controlling definition of _IO_JUMPS_OFFSET.
19790 * csu/init.c: Remove always-true #if around entire file.
19791 Don't include stdio.h. Set _IO_stdin_used to hardwired
19792 constant 0x20001, and update commentary.
19793 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
19794 Replace all uses of _G_va_list with __gnuc_va_list.
19795 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
19796 instead of #if _IO_HAVE_ST_BLKSIZE.
19797 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
19798 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
19801 * libio/bits/libio.h: Move back to libio/libio.h and adjust
19802 multiple-include guard to match.
19803 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
19805 Remove preprocessor conditionals that are always true and/or
19806 redundant to other preprocessor conditionals in the same nest.
19807 Include shlib-compat.h unconditionally.
19808 Error out if _LIBC is not defined, or if _ISOMAC is defined,
19809 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
19810 defined after including stdio.h.
19811 Use __BEGIN_DECLS/__END_DECLS.
19813 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
19814 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
19815 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
19817 2018-02-07 Zack Weinberg <zackw@panix.com>
19819 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
19820 New single-type headers split from _G_config.h.
19821 * libio/bits/types/cookie_io_functions_t.h
19822 * libio/bits/types/struct_FILE.h
19823 New single-type headers split from libio.h.
19825 * libio/Makefile: Install the above new headers. Don't install
19826 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
19828 * libio/_G_config.h, libio/libio.h: Delete file.
19830 * libio/bits/libio.h: Remove improper-inclusion guard.
19831 Include stdio.h and don't repeat anything that it does.
19832 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
19833 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
19834 __io_read_fn as cookie_read_function_t,
19835 __io_write_fn as cookie_write_function_t,
19836 __io_seek_fn as cookie_seek_function_t,
19837 __io_close_fn as cookie_close_function_t,
19838 and _IO_cookie_io_functions_t as cookie_io_functions_t.
19839 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
19840 here, in the "compatibility defines" section. Remove an #if 0
19841 block. Use the "body" macros from bits/types/struct_FILE.h to
19842 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
19843 and _IO_ferror_unlocked.
19844 Move prototypes of __uflow and __overflow...
19846 * libio/stdio.h: ...here. Don't include bits/libio.h.
19847 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
19848 directly from stdarg.h. Include bits/types/__fpos_t.h,
19849 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
19850 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
19851 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
19852 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
19853 cookie_io_functions_t, not _IO_cookie_io_functions_t;
19854 __ssize_t, not _IO_ssize_t. Unconditionally define
19855 BUFSIZ as 8192 and EOF as (-1).
19857 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
19858 macros from bits/types/struct_FILE.h instead of _IO_* macros
19859 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
19860 instead of _IO_ssize_t.
19861 * libio/bits/stdio2.h: Similarly.
19863 * libio/iolibio.h: Add multiple-include guard.
19864 Include bits/libio.h after stdio.h.
19865 * libio/libioP.h: Add multiple-include guard.
19866 Include stdio.h and bits/libio.h before iolibio.h.
19868 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
19869 * include/bits/types/cookie_io_functions_t.h
19870 * include/bits/types/struct_FILE.h: New wrappers.
19872 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
19873 Get definitions of _G_fpos_t and _G_fpos64_t from
19874 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
19875 respectively. Remove improper-inclusion guards.
19877 * conform/data/stdio.h-data: Update expectations of va_list.
19878 * scripts/check-installed-headers.sh: Remove special case for
19879 libio.h and _G_config.h.
19881 2018-02-07 Joseph Myers <joseph@codesourcery.com>
19885 * include/sys/sysmacros.h [!_ISOMAC]
19886 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
19887 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
19888 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
19889 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
19891 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
19892 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
19894 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
19895 Undefine and redefine to add use __gnu_dev_ prefix.
19896 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
19898 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
19899 and define as hidden inline function.
19900 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
19902 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
19904 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
19905 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
19906 (gnu_dev_minor): Likewise.
19907 (gnu_dev_makedev): Likewise.
19908 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
19910 * posix/wordexp.c (exec_comm_child): Likewise.
19911 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
19912 instead of minor and __gnu_dev_major instead of major.
19913 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
19914 __gnu_dev_major instead of major.
19915 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
19916 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
19917 instead of gnu_dev_minor.
19918 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
19919 (SLAVE_P): Likewise.
19920 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
19921 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
19925 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
19927 * locale/weightwc.h (findidx): Likewise.
19929 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
19931 * manual/probes.texi (slowlog): Delete documentation of removed probe.
19932 (slowlog_inexact): Likewise
19933 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
19934 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
19936 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
19939 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
19940 missing second underscore to parameter name.
19942 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19948 * bits/byteswap.h: Update file comment. Do not include
19949 <bits/byteswap-16.h>.
19950 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
19952 (__bswap_16): Define as inline function.
19953 (__bswap_constant_32): Reformat definition.
19954 (__bswap_32): Always define as inline function, not macro, using
19955 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
19956 otherwise __bswap_constant_32.
19957 (__bswap_constant_64): Reformat definition. Do not use
19958 __extension__ here.
19959 (__bswap_64): Always define as inline function, not macro. Use
19960 __extension__ on function definition. Use __builtin_bswap64 if
19961 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
19962 * string/test-endian-file-scope.c: New file.
19963 * string/test-endian-sign-conversion.c: Likewise.
19964 * string/Makefile (headers): Remove bits/byteswap-16.h.
19965 (tests): Add test-endian-file-scope and
19966 test-endian-sign-conversion.
19967 (CFLAGS-test-endian-sign-conversion.c): New variable.
19968 * bits/byteswap-16.h: Remove file.
19969 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
19970 * sysdeps/ia64/bits/byteswap.h: Likewise.
19971 * sysdeps/m68k/bits/byteswap.h: Likewise.
19972 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19973 * sysdeps/s390/bits/byteswap.h: Likewise.
19974 * sysdeps/tile/bits/byteswap.h: Likewise.
19975 * sysdeps/x86/bits/byteswap-16.h: Likewise.
19976 * sysdeps/x86/bits/byteswap.h: Likewise.
19979 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
19980 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
19981 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
19982 199901L] (__restrict): Define to restrict.
19985 * string/testcopy.c: Include <support/support.h>. Do not include
19986 <malloc.h>. Use <support/test-driver.c>.
19987 (main): Rename to do_test. Make static. Use xmalloc instead of
19991 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
19992 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
19993 (SSIZE_MAX): Define to INT_MAX.
19994 * posix/test-ssize-max.c: New file.
19995 * posix/Makefile (tests): Add test-ssize-max.
19998 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
19999 <support/support.h>. Do not include <malloc.h>.
20000 (query_auxv): Use xmalloc instead of malloc.
20003 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
20004 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
20007 2018-02-06 Florian Weimer <fweimer@redhat.com>
20010 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20011 Use scratch_buffer instead of extend_alloca.
20013 2018-02-06 Zack Weinberg <zackw@panix.com>
20015 * libio/stdio.h: Don't define getc or putc as macros.
20016 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
20017 not _IO_getc and _IO_putc.
20019 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
20020 * stdio-common/tstgetln.c: Don't redefine ssize_t.
20022 2018-02-06 Joseph Myers <joseph@codesourcery.com>
20024 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
20025 (TCP_FASTOPEN_NO_COOKIE): Likewise.
20027 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
20030 * elf/elf.h (NT_PRFPREG): New macro.
20031 (NT_S390_VXRS_LOW): Likewise.
20032 (NT_S390_VXRS_HIGH): Likewise.
20033 (NT_S390_GS_CB): Likewise.
20034 (NT_S390_GS_BC): Likewise.
20035 (NT_S390_RI_CB): Likewise.
20037 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
20038 (MAP_SYNC): New macro.
20039 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
20041 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
20042 (MAP_SYNC): Likewise.
20043 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
20044 (MAP_SYNC): Likewise.
20045 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
20046 (MAP_SYNC): Likewise.
20047 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
20048 (MAP_SYNC): Likewise.
20049 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
20050 (MAP_SYNC): Likewise.
20051 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
20052 (MAP_SYNC): Likewise.
20053 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
20055 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
20058 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
20059 (MAP_SHARED_VALIDATE): New macro.
20060 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20061 (MAP_SHARED_VALIDATE): Likewise.
20063 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20065 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
20066 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
20067 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20069 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20071 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
20072 (DT_NUM): Updated to 35.
20074 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20076 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
20077 __builtin_expect with __glibc_likely and __glibc_unlikely.
20078 (elf_machine_rela): Likewise.
20079 (elf_machine_lazy_rel): Likewise.
20081 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20083 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
20084 __builtin_expect with __glibc_likely and __glibc_unlikely.
20085 (elf_machine_lazy_rel): Likewise.
20087 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20090 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
20092 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
20094 2018-02-05 Andreas Schwab <schwab@suse.de>
20097 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
20100 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20102 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
20103 not check against PTHREAD_STACK_MIN.
20105 2018-02-02 Sean McKean <smckean83@gmail.com>
20108 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
20110 2018-02-02 Florian Weimer <fweimer@redhat.com>
20113 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
20114 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
20115 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
20116 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
20117 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
20118 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
20119 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
20120 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
20121 * manual/llio.texi (Scatter-Gather): Mention offset -1.
20122 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
20123 * misc/tst-preadvwritev2.c (do_test): Call it.
20124 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
20126 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
20128 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
20130 * benchtests/bench-memcmp.c: Print json instead of plain text.
20132 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
20135 2018-02-01 Joseph Myers <joseph@codesourcery.com>
20137 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20139 (s390_sthyi): New syscall.
20141 * sysdeps/generic/ldbl-classify-compat.h: New file.
20142 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
20143 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
20144 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
20145 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
20146 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
20147 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
20148 * sysdeps/ieee754/dbl-64/s_finite.c: Include
20149 <ldbl-classify-compat.h>.
20150 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20151 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
20152 <ldbl-classify-compat.h>.
20153 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20154 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
20155 <ldbl-classify-compat.h>.
20156 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20157 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
20158 <ldbl-classify-compat.h>.
20159 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20160 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
20161 <ldbl-classify-compat.h>.
20162 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20163 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
20164 <ldbl-classify-compat.h>.
20165 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20166 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
20167 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20168 * sysdeps/m68k/coldfire/math_private.h: Remove file.
20169 * sysdeps/microblaze/math_private.h: Likewise.
20170 * sysdeps/nios2/math_private.h: Likewise.
20171 * sysdeps/sh/math_private.h: Likewise.
20173 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
20174 * sysdeps/m68k/coldfire/math_private.h: ... here.
20175 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
20176 * sysdeps/tile/math_private.h: Likewise.
20177 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
20179 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
20182 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
20184 (libc_fetestexcept): Likewise.
20185 (libc_feupdateenv_test): Likewise.
20186 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
20187 (libc_fetestexcept): Likewise.
20188 (libc_feupdateenv_test): Likewise.
20189 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
20190 (libc_fetestexcept): Likewise.
20191 (libc_feupdateenv_test): Likewise.
20192 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
20193 (libc_fetestexcept): Likewise.
20194 (libc_feupdateenv_test): Likewise.
20196 * sysdeps/generic/math_private.h
20197 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
20198 New inline function.
20199 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
20202 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
20203 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
20204 * sysdeps/generic/math_private.h
20205 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
20207 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
20209 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
20211 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
20213 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
20215 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
20217 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
20218 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
20219 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
20220 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
20221 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
20222 (__fegetenv): Likewise.
20223 (fesetenv): Likewise.
20224 (__fesetenv): Likewise.
20225 (feupdateenv): Likewise.
20226 (__feupdateenv): Likewise.
20227 (fegetround): Likewise.
20228 (__fegetround): Likewise.
20229 (fesetround): Likewise.
20230 (__fesetround): Likewise.
20232 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
20233 (feraiseexcept): New macro.
20234 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
20235 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
20237 (__feraiseexcept): Likewise.
20238 (feclearexcept): Likewise.
20239 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
20240 (__feraiseexcept): Likewise.
20241 (feclearexcept): Likewise.
20242 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
20243 (__feraiseexcept): Likewise.
20244 (feclearexcept): Likewise.
20245 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
20246 (__feraiseexcept): Likewise.
20247 (feclearexcept): Likewise.
20248 (fetestexcept): Likewise.
20250 * sysdeps/m68k/coldfire/math-tests.h: New file.
20252 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
20253 * sysdeps/m68k/bits/fenv.h: ... here.
20254 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
20256 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
20258 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
20260 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
20262 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
20264 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
20266 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
20267 (__FE_UNDEFINED): New enum constant.
20268 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
20270 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
20272 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
20274 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
20275 to match generic bits/fenv.h.
20276 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
20279 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
20281 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
20282 * soft-fp/half.h (union _FP_UNION_H): Likewise.
20283 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
20284 * soft-fp/single.h (union _FP_UNION_S): Likewise.
20286 2018-02-01 Carlos O'Donell <carlos@redhat.com>
20287 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
20288 Joseph Myers <joseph@codesourcery.com>
20291 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
20292 (__log1p): Disable -Wmaybe-uninitialized for -Os around
20293 computation using c.
20294 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
20295 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
20296 computation using c.
20298 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20300 * version.h (RELEASE): Set to "development".
20301 (VERSION): Set to "2.27.9000".
20302 * NEWS (2.28): New section.
20304 * version.h (RELEASE): Set to "stable".
20305 (VERSION): Set to "2.27".
20306 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
20308 * NEWS: Add the list of bugs fixed in 2.27.
20310 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20312 * stdlib/test-atexit-race-common.c (do_test): Check stack size
20313 against PTHREAD_STACK_MIN.
20315 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20317 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
20319 (Rafal Luzynski, Andreas Schwab): Update.
20321 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
20324 * NEWS: List the languages which actually use the alternative
20325 months feature in this release. Also explain that "alt_mon" and
20326 "ab_alt_mon" are optional.
20328 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
20331 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
20333 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
20335 * manual/install.texi (Tools for Compilation): Update the newest
20336 versions of gcc, binutils, texinfo, gawk, bison, and sed.
20337 * INSTALL: Regenerated.
20339 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20341 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
20342 instead of __builtin_expect.
20344 2018-01-30 Florian Weimer <fweimer@redhat.com>
20346 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
20348 * nss/tst-nss-getpwent.c (do_test): Likewise.
20350 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
20353 * localedata/locales/hr_HR (mon): Rename to...
20355 (mon): Import from CLDR (genitive case).
20356 (d_t_fmt): Update the comment.
20358 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
20360 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
20361 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
20362 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
20364 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20366 * mach/Versions: Fix version when __mach_host_self_ was added.
20367 * hurd/Versions: Fix version when _hurd_exec_paths was added.
20368 * sysdeps/mach/hurd/i386/ld.abilist: New file.
20369 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
20370 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
20371 * sysdeps/mach/hurd/i386/libc.abilist: New file.
20372 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
20373 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
20374 * sysdeps/mach/hurd/i386/libm.abilist: New file.
20375 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
20376 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
20377 * sysdeps/mach/hurd/i386/librt.abilist: New file.
20378 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
20379 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
20380 || to respect codestyle.
20381 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
20382 (do_test_bz20181): Rename accordingly.
20383 * malloc/malloc.c: Include <assert.h>.
20384 (assert): Do not define.
20385 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
20386 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
20387 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
20388 * sysdeps/mach/hurd/hp-timing.h: New file.
20389 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
20391 2018-01-29 Darius Rad <darius@bluespec.com>
20393 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
20395 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
20397 * sysdeps/init_array/crti.S (.section .init_array): Add
20398 PREINIT_FUNCTION when defined.
20399 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
20400 * config.h.in: Regenerate.
20401 * manual/platform.texi: Add RISC-V documenation for
20402 __riscv_flush_icache.
20403 * sysdeps/riscv/__longjmp.S: New file.
20404 * sysdeps/riscv/backtrace.c: Likewise.
20405 * sysdeps/riscv/bits/endian.h: Likewise.
20406 * sysdeps/riscv/bits/setjmp.h: Likewise.
20407 * sysdeps/riscv/bits/wordsize.h: Likewise.
20408 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
20409 * sysdeps/riscv/bsd-setjmp.c: Likewise.
20410 * sysdeps/riscv/dl-trampoline.S: Likewise.
20411 * sysdeps/riscv/gccframe.h: Likewise.
20412 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
20413 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
20414 * sysdeps/riscv/machine-gmon.h: Likewise.
20415 * sysdeps/riscv/memusage.h: Likewise.
20416 * sysdeps/riscv/setjmp.S: Likewise.
20417 * sysdeps/riscv/sys/asm.h: Likewise.
20418 * sysdeps/riscv/tls-macros.h: Likewise.
20419 * sysdeps/riscv/dl-tls.h: New file.
20420 * sysdeps/riscv/libc-tls.c: Likewise.
20421 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
20422 * sysdeps/riscv/nptl/tls.h: Likewise.
20423 * sysdeps/riscv/stackinfo.h: Likewise.
20424 * sysdeps/riscv/bits/fenv.h: New file.
20425 * sysdeps/riscv/e_sqrtl.c: Likewise.
20426 * sysdeps/riscv/fpu_control.h: Likewise.
20427 * sysdeps/riscv/math-tests.h: Likewise.
20428 * sysdeps/riscv/nofpu/Implies: Likewise.
20429 * sysdeps/riscv/sfp-machine.h: Likewise.
20430 * sysdeps/riscv/tininess.h: Likewise.
20431 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
20432 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
20433 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
20434 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
20435 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
20436 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
20437 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
20438 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
20439 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
20440 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
20441 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
20442 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
20443 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
20444 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
20445 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
20446 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
20447 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
20448 * sysdeps/riscv/rvd/s_finite.c: Likewise.
20449 * sysdeps/riscv/rvd/s_fma.c: Likewise.
20450 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
20451 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
20452 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
20453 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
20454 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
20455 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
20456 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
20457 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
20458 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
20459 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
20460 * sysdeps/riscv/rvf/fegetround.c: Likewise.
20461 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
20462 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
20463 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
20464 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
20465 * sysdeps/riscv/rvf/fesetround.c: Likewise.
20466 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
20467 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
20468 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
20469 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
20470 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
20471 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
20472 * sysdeps/riscv/rvf/math_private.h: Likewise.
20473 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
20474 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
20475 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
20476 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
20477 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
20478 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
20479 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
20480 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
20481 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
20482 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
20483 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
20484 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
20485 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
20486 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
20487 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
20488 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
20489 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
20490 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
20491 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
20492 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
20493 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
20494 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20495 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
20496 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
20497 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
20498 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
20499 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
20500 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
20501 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
20502 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
20503 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
20504 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
20505 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
20506 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
20507 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
20508 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
20509 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
20510 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
20511 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
20512 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
20513 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
20514 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
20515 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
20516 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
20517 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
20518 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
20519 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
20520 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
20521 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
20522 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
20523 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
20524 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
20525 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
20526 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
20527 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
20528 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
20529 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
20530 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
20531 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
20532 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
20533 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
20534 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
20535 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
20536 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
20537 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20538 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
20539 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
20540 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
20541 * sysdeps/riscv/Implies: New file.
20542 * sysdeps/riscv/Makefile: Likewise.
20543 * sysdeps/riscv/configure: Likewise.
20544 * sysdeps/riscv/configure.ac: Likewise.
20545 * sysdeps/riscv/nptl/Makefile: Likewise.
20546 * sysdeps/riscv/preconfigure: Likewise.
20547 * sysdeps/riscv/rv64/Implies-after: Likewise.
20548 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
20549 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
20550 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
20551 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
20552 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
20553 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
20554 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
20555 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
20556 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
20557 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
20558 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
20559 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
20560 (Config): Likewise.
20562 2018-01-29 Florian Weimer <fweimer@redhat.com>
20565 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
20566 libnsl_hidden_proto.
20567 * include/rpcsvc/yp.h (yp_xdrall): Declare with
20568 libnsl_hidden_proto.
20569 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
20570 * nis/Makefile (libnsl-routines): Add nss-default only for
20571 build-obsolete-nsl.
20572 * nis/nis_defaults.c (__nis_default_ttl): Add
20573 libnsl_hidden_nolink_def.
20574 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
20576 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
20577 * nis/ypclnt.c (yp_maplist): Likewise.
20579 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
20581 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20582 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
20584 2018-01-29 Joseph Myers <joseph@codesourcery.com>
20586 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
20587 clean -dxfq for git updates when replacing sources.
20589 * scripts/build-many-glibcs.py (Config.build_gcc): Use
20590 --disable-libcilkrts unconditionally, not just for the final GCC
20593 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20596 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20599 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
20602 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20605 * localedata/locales/be_BY (mon): Rename to...
20606 (alt_mon): This, then synchronize with CLDR (nominative case).
20607 (abmon): Rename to...
20608 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20609 (mon): Import from CLDR (genitive case).
20611 * localedata/locales/be_BY@latin (mon): Rename to...
20613 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
20615 * localedata/locales/be_BY@latin (lang_name): Reworded to
20616 "biełaruskaja mova".
20618 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20621 * localedata/locales/el_CY (mon): Renamed to...
20623 (mon): Import from CLDR (genitive case).
20624 * localedata/locales/el_GR: Likewise.
20626 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20629 * localedata/locales/ru_RU (mon): Rename to...
20631 (abmon): Rename to...
20632 (ab_alt_mon): This.
20633 (mon): Import from CLDR (genitive case).
20634 (abmon): Copy from the old content except the 5th month which is
20635 now in the genitive case, even when abbreviated.
20636 * localedata/locales/ru_UA: Likewise.
20637 * time/tst-strptime.c (day_tests): Add an actual example of
20638 a difference between %b and %Ob in Russian.
20640 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20642 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
20643 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
20645 * resolv/res-close.c: Include <stdlib.h>.
20646 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
20647 <sys/wait.h>, <time.h>, <sys/uio.h>.
20648 (NOT_CANCEL_H): Add inclusion guard.
20649 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
20650 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
20651 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
20653 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
20654 vm_address_t * to ElfW(Addr) * for dl_main parameter.
20655 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
20657 * sysdeps/pthread/timer_create.c (timer_create): Do not use
20658 timer_ptr2id to cast struct timer_node * to void *.
20659 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
20660 --disable-libcilkrts to gcc configure.
20661 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
20662 and make them the default for now.
20663 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
20664 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
20665 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
20666 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
20667 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
20669 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
20670 __task_terminate would ever return successfully.
20671 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
20673 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
20674 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
20675 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
20676 critical section to make code simpler and avoid warning.
20677 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
20678 critical section to make code simpler and avoid warning.
20679 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
20680 const char * instead of char *.
20681 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
20682 __hurd_file_name_split, hurd_file_name_split,
20683 __hurd_directory_name_split, hurd_directory_name_split,
20684 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
20685 hurd_file_name_path_lookup): Make lookup function parameter take a
20686 const char *name instead of char *name.
20687 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
20688 __hurd_directory_name_split): Likewise.
20689 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
20690 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
20691 * sysdeps/mach/hurd/check_native.c: New file.
20692 * sysdeps/mach/hurd/check_pf.c: New file.
20693 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
20694 (__freeifaddrs): Define macro to freeifaddrs.
20695 * sysdeps/mach/hurd/libhurduser.abilist: New file.
20696 * sysdeps/mach/libmachuser.abilist: New file.
20697 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
20698 (do_test_bz20181): Rename accordingly.
20699 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
20700 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
20702 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
20703 version only if __USE_EXTERN_INLINES is defined.
20704 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
20705 __hurd_sockfail): Likewise.
20706 (_hurd_fd_get): Always declare functions, and provide inline versions
20707 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
20708 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
20709 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
20710 _hurd_port_set): Always declare functions, and provide inline versions
20711 only if __USE_EXTERN_INLINES and _LIBC are defined and
20713 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
20714 _hurd_critical_section_unlock): Likewise.
20715 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
20716 * __hurd_threadvar_location): Likewise.
20717 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
20718 _hurd_userlink_clear): Likewise.
20719 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
20720 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
20721 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
20722 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
20723 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
20724 __spin_lock_locked): Likewise.
20725 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
20726 __spin_lock_locked): Likewise.
20727 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
20728 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
20729 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
20730 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
20731 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
20732 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
20733 _POSIX_NO_TRUNC): Define to 0.
20734 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
20735 check size against PTHREAD_STACK_MIN.
20736 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
20737 IS_IN(libpthread)]: Include <sigsetops.h>.
20738 * mach/Makefile (user-interfaces): Add mach/gnumach.
20739 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
20740 * sysdeps/mach/configure (mach_interface_list): Regenerate.
20741 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
20742 instead of invalid -1.
20743 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
20744 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
20745 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
20748 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
20750 * hurd/fcntl-internal.h: New file.
20752 2018-01-27 James Clarke <jrtc27@jrtc27.com>
20754 * sysdeps/hppa/fpu/libm-test-ulps: Update.
20756 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20758 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
20761 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
20762 Build only shared objects.
20764 2018-01-26 Carlos O'Donell <carlos@redhat.com>
20766 * README: Update for hppa.
20768 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20770 * sysdeps/sparc/fpu/libm-test-ulps: Update
20771 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
20773 2018-01-26 Carlos O'Donell <carlos@redhat.com>
20777 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20780 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20781 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20782 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20783 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20786 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20789 * bits/types/__cancel_jmp_buf_tag.h: New file.
20790 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20791 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20792 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20793 * nptl/Makefile (headers): Add
20794 bits/types/__cancel_jmp_buf_tag.h.
20795 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20796 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20797 * sysdeps/nptl/pthread.h: Include
20798 <bits/types/__cancel_jmp_buf_tag.h>.
20799 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20801 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20803 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
20806 * localedata/locales/uk_UA (mon): Renamed to...
20808 (alt_digits): "0" removed and then renamed to...
20810 (date_fmt): Definition changed not to use the alternative
20813 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
20815 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
20816 FLAG_RISCV_FLOAT_ABI_DOUBLE.
20817 * elf/elf.h (EF_RISCV_RVC): New define.
20818 (EF_RISCV_FLOAT_ABI): Likewise.
20819 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
20820 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
20821 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20822 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
20823 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
20825 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20827 2018-01-25 Andreas Schwab <schwab@suse.de>
20829 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
20831 * sysdeps/gnu/configure: Regenerate.
20832 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20833 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20835 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20836 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20837 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
20838 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20839 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20841 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20843 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
20844 URL, and run autoconf, make it the default for now.
20846 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20848 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20849 soft-float ColdFire configuration.
20851 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
20852 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
20853 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
20855 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
20858 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
20860 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
20862 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
20865 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
20866 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
20867 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
20870 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20873 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
20874 Rename to __reserved and add comment.
20875 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
20876 Rename to __reserved.
20878 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20880 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20881 i686-gnu configurations.
20882 (Context.run_builds): Include mig, gnumach and hurd in components
20884 (Context.checkout): Add mig, gnumach and hurd to components.
20885 (Context.checkout_tar): Add URL mappings for mig, gnumach and
20887 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
20888 (Config.build): Install gnumach headers, build mig and install
20889 hurd headers for 'gnu' OS.
20890 (Config.install_gnumach_headers): New function.
20891 (Config.install_hurd_headers): Likewise.
20892 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
20893 when building for 'gnu' OS.
20895 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
20897 * manual/tunables.texi (Hardware Capability Tunables): Fix
20900 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
20902 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
20903 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
20904 (ALTMON_11, ALTMON_12): Improve documentation.
20905 * manual/time.texi (strftime): Likewise.
20907 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20910 * localedata/locales/pl_PL: Alternative month names added,
20911 primary month names are genitive now.
20912 * time/tst-strptime.c (day_tests): Actually use a genitive case
20913 of a month name in Polish language.
20915 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20918 * manual/locale.texi: Document ALTMON_1..12 constants for
20919 nl_langinfo. Specify when to use ALTMON instead of MON.
20920 * manual/time.texi (strftime, strptime): Document GNU extension
20921 permitting O modifier with %B and %b. Specify when to use
20924 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20927 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
20928 names, define them as the same as abbreviated month names explicitly.
20929 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
20930 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
20931 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
20932 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
20933 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
20934 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
20935 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
20936 _NL_WABALTMON_12): New enum constants.
20937 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
20938 wab_alt_mon, and ab_alt_mon_defined members.
20939 (time_output): Output ab_alt_mon and wab_alt_mon members.
20940 (time_read): Read them, initialize them as copies of abmon and wabmon
20941 respectively if they are missing, initialize ab_alt_mon_defined.
20942 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
20943 * locale/programs/locfile-kw.h: Regenerate.
20944 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
20945 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
20947 * time/strftime_l.c (a_altmonth, aam_len): New macros.
20948 [!COMPILE_WIDE] (ABALTMON_1): New macro.
20949 (__strftime_internal): Handle %Ob and %Oh formats.
20950 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
20951 (__strptime_internal): Handle %Ob and %Oh formats.
20952 * time/tst-strptime.c (day_tests): Add more tests to parse different
20953 forms of month names including the new %Ob format specifier.
20955 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20958 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
20959 define them as the same as primary full month names explicitly.
20960 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
20961 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
20962 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
20963 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
20964 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
20965 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
20966 _NL_WALTMON_12): New enum constants.
20967 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
20968 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
20970 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
20971 walt_mon, and alt_mon_defined members.
20972 (time_output): Output alt_mon and walt_mon members.
20973 (time_read): Read them, initialize them as copies of mon and wmon
20974 respectively if they are missing, initialize alt_mon_defined.
20975 * locale/programs/locfile-kw.gperf (alt_mon): Define.
20976 * locale/programs/locfile-kw.h: Regenerate.
20977 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
20978 * localedata/tst-langinfo.c (map): Add tests for the new constants
20979 ALTMON_1 .. ALTMON_12.
20980 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
20982 * time/strftime_l.c (f_altmonth): New macro.
20983 (__strftime_internal): Handle %OB format.
20984 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
20985 (__strptime_internal): Handle %OB format.
20986 * time/tst-strptime.c (day_tests): Add tests to parse different forms
20987 of month names including the new %OB format specifier.
20989 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20992 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
20993 from ABORT_TRANSACTION.
20994 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
20995 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
20996 ABORT_TRANSACTION_IMPL): Likewise.
20997 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
20998 Linux code, but remove the code that aborts transactions.
21000 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
21002 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
21004 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
21006 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
21007 in date: "2004-14-09" should be "2004-09-14".
21008 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
21009 "2003-15-09" should be "2003-09-15".
21011 2018-01-18 Arjun Shankar <arjun@redhat.com>
21017 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
21019 (_int_memalign): check for integer overflow before calling
21021 * malloc/tst-malloc-too-large.c: New test.
21022 * malloc/Makefile: Add tst-malloc-too-large.
21024 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
21026 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
21027 in date: "2017-24-07" should be "2017-07-24".
21028 * localedata/locales/mai_IN: Likewise.
21029 * localedata/locales/mai_NP: Likewise.
21031 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
21033 * po/ru.po: Update translations.
21035 2018-01-17 Joseph Myers <joseph@codesourcery.com>
21038 * sysdeps/hppa/backtrace.c: New file.
21040 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
21043 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
21044 align La_x86_64_retval to VEC_SIZE.
21046 2018-01-16 Joseph Myers <joseph@codesourcery.com>
21048 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
21049 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
21051 2018-01-16 Florian Weimer <fweimer@redhat.com>
21053 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
21054 Move tst-thread-exit-clobber ...
21055 [$(CXX)] (tests-unsupported): ... to here.
21057 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21059 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
21060 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
21061 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21062 (_dl_aarch64_cap_flags): Update.
21063 (_DL_HWCAP_COUNT): Update.
21065 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21067 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
21068 (_DL_HWCAP_LAST): Remove.
21069 (_DL_HWCAP_COUNT): Move to ...
21070 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21071 (_DL_HWCAP_COUNT): ... here.
21073 2018-01-16 Florian Weimer <fweimer@redhat.com>
21075 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
21076 mode with GNU extensions.
21078 2018-01-15 Alan Hayward <alan.hayward@arm.com>
21080 * elf/elf.h (NT_ARM_SVE): Define.
21082 2018-01-15 Florian Weimer <fweimer@redhat.com>
21085 * nptl/tst-minstack-throw.cc: New file.
21086 * nptl/Makefile (tests): Add tst-minstack-throw.
21087 (LDLIBS-tst-minstack-throw): Link with libstdc++.
21088 [!CXX] (tests-unsupported): Add tst-minstack-throw.
21090 2018-01-15 Joseph Myers <joseph@codesourcery.com>
21092 * scripts/build-many-glibcs.py (Context.checkout): Default
21093 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
21096 2018-01-13 Carlos O'Donell <carlos@redhat.com>
21099 * elf/elf.h (DF_1_STUB): Define.
21100 (DF_1_PIE): Define.
21102 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21105 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
21106 Do not add 0.5 to integer or out-of-range arguments.
21108 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21110 * po/bg.po: Update translations.
21111 * po/cs.po: Likewise.
21112 * po/de.po: Likewise.
21113 * po/ko.po: Likewise.
21114 * po/pl.po: Likewise.
21115 * po/sv.po: Likewise.
21116 * po/uk.po: Likewise.
21117 * po/vi.po: Likewise.
21119 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21121 * aarch64/start.S (_start): Use __wrap_main.
21122 (__wrap_main): New local symbol.
21124 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21128 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
21129 generic_getcwd if the path returned by getcwd syscall is not absolute.
21130 * io/tst-getcwd-abspath.c: New test.
21131 * io/Makefile (tests): Add tst-getcwd-abspath.
21133 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
21135 * malloc/malloc.c (malloc_consolidate): Add size check.
21137 2018-01-12 Florian Weimer <fweimer@redhat.com>
21139 * support/write_message.c (write_message): Preserve errno.
21140 * support/check.c (print_failure): Likewise.
21141 * support/support_test_verify_impl.c (support_test_verify_impl):
21143 * support/support_test_compare_failure.c
21144 (support_test_compare_failure): Likewise.
21146 2018-01-12 Florian Weimer <fweimer@redhat.com>
21149 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
21150 Prevent installation of libnsl.so.
21151 (libnsl-inhibit-o): Do not build (or install) static libraries.
21153 2018-01-12 Egmont Koblinger <egmont@gmail.com>
21156 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
21157 before the day number which may produce a double space.
21158 (date_fmt): Likewise.
21160 2018-01-12 Joseph Myers <joseph@codesourcery.com>
21162 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
21163 instead of fegetenv.
21165 2018-01-11 Joseph Myers <joseph@codesourcery.com>
21168 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
21169 comment to say exceptions are discarded.
21170 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
21172 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
21175 2018-01-11 Florian Weimer <fweimer@redhat.com>
21177 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
21180 2018-01-11 Florian Weimer <fweimer@redhat.com>
21183 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
21184 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
21186 2018-01-10 Joseph Myers <joseph@codesourcery.com>
21189 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
21190 negative arguments in test for NaN or infinity argument.
21192 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
21194 * po/libc.pot: Regenerate.
21196 2018-01-10 Florian Weimer <fweimer@redhat.com>
21199 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
21200 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
21202 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21204 * hurd/hurd/fd.h: Include <fcntl.h>
21205 (__hurd_at_flags): New function.
21206 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
21207 with call to __hurd_at_flags.
21208 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
21209 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
21211 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
21212 (__access_noerrno): Use __faccessat_common instead of access_common.
21213 (__access): Likewise.
21214 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
21215 with a call to __faccessat.
21216 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
21217 (__faccessat_common): ... this. Move implementation of __access into it when
21218 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
21219 reauthenticate_cwdir_at helper to implement AT mechanism.
21220 (__faccessat_noerrno): New function, just calls __faccessat_common.
21221 (__faccessat): New function, just calls __faccessat_common.
21222 (faccessat): Define weak alias.
21224 2018-01-10 Joseph Myers <joseph@codesourcery.com>
21227 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21228 (CFLAGS-s_fmaxmagl.c): New variable.
21229 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
21232 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
21233 long int for arguments of possibly overflowing addition or
21235 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21237 2018-01-09 Joseph Myers <joseph@codesourcery.com>
21240 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21241 (CFLAGS-e_remainderl.c): New variable.
21244 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
21246 (CFLAGS-s_cacoshl.c): Likewise.
21247 (CFLAGS-s_casinhl.c): Likewise.
21248 (CFLAGS-s_catanl.c): Likewise.
21249 (CFLAGS-s_catanhl.c): Likewise.
21250 (CFLAGS-s_cexpl.c): Likewise.
21251 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
21252 (CFLAGS-s_csinhl.c): Likewise.
21253 (CFLAGS-s_clogl.c): Likewise.
21254 (CFLAGS-s_clog10l.c): Likewise.
21255 (CFLAGS-s_csinl.c): Likewise.
21256 (CFLAGS-s_csqrtl.c): Likewise.
21258 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
21259 2017-01-09 Svante Signell <svante.signell@gmail.com>
21261 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
21262 (_hurd_exec_paths): New function.
21263 * hurd/hurd.h (_hurd_exec): Deprecate function.
21264 (_hurd_exec_paths): Declare function.
21265 * hurd/Versions: Export _hurd_exec_paths.
21266 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
21267 (__execve): Use __getcwd to build absolute path, and use
21268 _hurd_exec_paths instead of _hurd_exec.
21269 * sysdeps/mach/hurd/spawni.c: Likewise.
21270 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
21273 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
21275 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
21276 test instead of failing in case of ENOENT returned by posix_openpt.
21278 2018-01-08 Florian Weimer <fweimer@redhat.com>
21280 resolv: Support binary labels in test framework.
21281 * support/resolv_test.c (struct to_be_freed): Remove.
21282 (struct compressed_name): New.
21283 (allocate_compressed_name, ascii_tolower)
21284 (compare_compressed_name): New functions.
21285 (struct resolv_response_builder): Update type of
21286 compression_offsets for use with tsearch. Rempve to_be_freed.
21287 (response_push_pointer_to_free): Remove function.
21288 (resolv_response_add_name): Rewrite using struct compressed_name
21289 and tsearch instead of hsearch_r.
21290 (response_builder_allocate): Remove initialization of
21291 compression_offsets.
21292 (response_builder_free): Update for removal of to_be_freed. Use
21293 tdestroy instead of hdestroy_r.
21294 * resolv/Makefile (tests): Add tst-resolv-binary.
21295 (tst-resolv-binary): Link with -lresolv -lpthread.
21297 2018-01-08 Florian Weimer <fweimer@redhat.com>
21299 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
21300 time. Pass positive flag instead of negative flag to
21301 support_test_compare_failure.
21302 (support_test_compare_failure): Change negative parameter to
21304 * support/support_test_compare_failure.c (report)
21305 (support_test_compare_failure): Likewise.
21306 * support/tst-test_compare.c (return_ssize_t, return_int): New.
21307 (do_test): Check int/size_t, ssize_t/size_t comparisons.
21309 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
21312 * nptl/descr.h (stackblock, stackblock_size): Update comments.
21313 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
21314 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
21316 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21318 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
21320 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21321 Add s_sincosf-sse2 and s_sincosf-fma.
21322 (CFLAGS-s_sincosf-fma.c): New.
21323 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
21324 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
21325 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
21326 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
21327 __sincosf is defined.
21329 2018-01-08 Florian Weimer <fweimer@redhat.com>
21331 * nptl/tst-thread-exit-clobber.cc: New file.
21332 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
21334 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
21335 (tests): Add tst-thread-exit-clobber.
21336 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
21338 2018-01-08 Florian Weimer <fweimer@redhat.com>
21340 * support/check.h (support_static_assert): Define.
21341 (TEST_COMPARE): Use it.
21343 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
21345 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
21346 [!__RLIM_T_MATCHES_RLIM64_T]
21347 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
21348 __getrlimit64. Add libc_hidden_weak.
21350 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
21352 * elf/elf.h (R_RISCV_NONE): New define.
21353 (R_RISCV_32): Likewise.
21354 (R_RISCV_64): Likewise.
21355 (R_RISCV_RELATIVE): Likewise.
21356 (R_RISCV_COPY): Likewise.
21357 (R_RISCV_JUMP_SLOT): Likewise.
21358 (R_RISCV_TLS_DTPMOD32): Likewise.
21359 (R_RISCV_TLS_DTPMOD64): Likewise.
21360 (R_RISCV_TLS_DTPREL32): Likewise.
21361 (R_RISCV_TLS_DTPREL64): Likewise.
21362 (R_RISCV_TLS_TPREL32): Likewise.
21363 (R_RISCV_TLS_TPREL64): Likewise.
21364 * Makerules (make-link-multidir): Make directories before linking into
21366 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
21368 (VDSO_HASH_LINUX_4_15): Likewise.
21369 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
21370 in subdirectories of lib.
21371 * nptl/Makefile (/librt.so): Always depend on
21372 "$(shared-thread-library)".
21374 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21376 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
21377 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
21378 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
21380 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
21381 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
21383 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
21384 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
21385 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
21386 * sysdeps/gnu/glob-lstat-compat.c: New file.
21387 * sysdeps/gnu/glob64-lstat-compat.c: New file.
21388 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
21390 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21392 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
21393 Reserve 16 chars to reloc_addr before calling _itoa_word.
21395 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21398 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
21399 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
21401 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
21402 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
21404 * resource/tst-getrlimit.c: Add copyright header.
21406 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21407 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21409 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21410 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
21411 Define __GI_getrlimit64 as weak alias of __getrlimit64.
21412 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
21414 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21415 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
21416 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
21417 RLIM64_INFINITY): Fix values to match the kernel ones.
21418 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
21419 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
21420 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
21421 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
21422 getrlimit64@@GLIBC_2_27.
21423 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
21425 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
21426 getrlimit, setrlimit, getrlimit64 and setrlimit64.
21427 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
21428 setrlimit, getrlimit64 and setrlimit64.
21430 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21433 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
21434 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
21436 2018-01-04 Joseph Myers <joseph@codesourcery.com>
21438 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
21439 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
21440 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
21442 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21446 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
21447 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
21451 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
21452 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
21453 * sysdeps/alpha/fpu/s_floor.c: Likewise.
21454 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
21456 2018-01-04 Florian Weimer <fweimer@redhat.com>
21459 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21460 Align the stack before calling exit.
21461 * stdlib/tst-makecontext-align.c: New file.
21462 * stdlib/Makefile (tests): Add tst-makecontext-align.
21464 2018-01-04 Florian Weimer <fweimer@redhat.com>
21466 Add support for calling dlvsym from libc.so.
21467 * include/dlfcn.h (__libc_dlvsym): Declare.
21468 * elf/Makefile (tests-static-internal): Add
21469 tst-libc_dlvsym-static.
21470 (tests-internal): Add tst-libc_dlvsym.
21471 (modules-names): Add tst-libc_dlvsym-dso.
21472 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
21473 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
21474 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
21475 object tst-libc_dlvsym-dso.so needs to be built before running
21477 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
21478 * elf/Versions: Export __libc_dlvsym.
21479 * elf/dl-libc.c (struct do_dlvsym_args): New.
21480 (do_dlvsym, __libc_dlvsym): New functions.
21481 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
21482 (_dl_open_hook2): New variable.
21483 (__libc_register_dl_open_hook): Set it.
21484 * elf/tst-libc_dlvsym-dso.c: New file.
21485 * elf/tst-libc_dlvsym-static.c: Likewise.
21486 * elf/tst-libc_dlvsym.c: Likewise.
21487 * elf/tst-libc_dlvsym.h: Likewise.
21489 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
21491 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
21492 include <sys/mount.h>.
21494 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
21496 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
21497 Add __NO_MATH_ERRNO__ check.
21499 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21501 * sysdeps/mips/mips32/libm-test-ulps: Update.
21502 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21504 2018-01-02 Florian Weimer <fweimer@redhat.com>
21506 * misc/tst-pselect.c: Add copyright header.
21508 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21510 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
21512 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
21514 (settrlimit): Rename into setrlimit.
21515 (__sttrlimit): Rename into __setrlimit.
21517 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
21518 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
21519 never defined in that case.
21521 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21523 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
21525 * sysdeps/arm/libm-test-ulps: Update.
21527 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
21528 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
21530 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21532 * NEWS: Add cosf and sincosf to list of optimized functions.
21534 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21537 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
21538 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
21539 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
21540 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
21542 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
21545 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
21547 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
21548 making a copy of it.
21550 2018-01-01 Joseph Myers <joseph@codesourcery.com>
21552 * manual/texinfo.tex: Update to version 2017-12-26.21 with
21553 trailing whitespace removed.
21554 * scripts/config.guess: Update to version 2018-01-01.
21555 * scripts/config.sub: Update to version 2018-01-01.
21556 * scripts/move-if-change: Update from gnulib.
21558 * NEWS: Update copyright dates.
21559 * catgets/gencat.c (print_version): Likewise.
21560 * csu/version.c (banner): Likewise.
21561 * debug/catchsegv.sh: Likewise.
21562 * debug/pcprofiledump.c (print_version): Likewise.
21563 * debug/xtrace.sh (do_version): Likewise.
21564 * elf/ldconfig.c (print_version): Likewise.
21565 * elf/ldd.bash.in: Likewise.
21566 * elf/pldd.c (print_version): Likewise.
21567 * elf/sotruss.sh: Likewise.
21568 * elf/sprof.c (print_version): Likewise.
21569 * iconv/iconv_prog.c (print_version): Likewise.
21570 * iconv/iconvconfig.c (print_version): Likewise.
21571 * locale/programs/locale.c (print_version): Likewise.
21572 * locale/programs/localedef.c (print_version): Likewise.
21573 * login/programs/pt_chown.c (print_version): Likewise.
21574 * malloc/memusage.sh (do_version): Likewise.
21575 * malloc/memusagestat.c (print_version): Likewise.
21576 * malloc/mtrace.pl: Likewise.
21577 * manual/libc.texinfo: Likewise.
21578 * nptl/version.c (banner): Likewise.
21579 * nscd/nscd.c (print_version): Likewise.
21580 * nss/getent.c (print_version): Likewise.
21581 * nss/makedb.c (print_version): Likewise.
21582 * posix/getconf.c (main): Likewise.
21583 * scripts/test-installation.pl: Likewise.
21584 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21586 * All files with FSF copyright notices: Update copyright dates
21587 using scripts/update-copyrights.
21588 * locale/programs/charmap-kw.h: Regenerated.
21589 * locale/programs/locfile-kw.h: Likewise.
21591 2017-12-31 Zack Weinberg <zackw@panix.com>
21593 * libio/bits/libio-ldbl.h: Correct check for improper
21594 inclusion. Add own multiple include guard.
21596 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
21597 Dmitry V. Levin <ldv@altlinux.org>
21601 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
21602 string token expansion. Check for NULL pointer or empty string possibly
21603 returned by expand_dynamic_string_token.
21604 (decompose_rpath): Check for empty path after dynamic string
21607 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
21610 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
21612 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
21613 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
21614 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
21615 and PTRACE_SYSCALL.
21616 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
21617 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21618 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21619 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21620 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21621 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21623 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
21624 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21625 __ptrace_peeksiginfo_flags, ptrace): Move to ...
21626 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
21627 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21628 bits/ptrace-shared.h.
21629 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
21630 <bits/ptrace-shared.h>.
21631 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21632 __ptrace_peeksiginfo_flags, ptrace): Remove.
21633 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21634 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21635 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21636 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21637 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21639 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21642 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
21643 end of the loop. Improve comments.
21645 2017-12-29 Zack Weinberg <zackw@panix.com>
21648 * manual/errno.texi (Checking for Errors): Explicitly say that errno
21649 might be set on success.
21651 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21654 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
21655 is unchanged on success.
21657 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
21659 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
21661 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
21662 expand_dynamic_string_token): Likewise.
21663 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
21666 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
21669 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
21670 is set and name contains ':', and all code depending on these checks.
21672 2017-12-24 Zack Weinberg <zackw@panix.com>
21674 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
21675 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
21677 * libio/libio.h: Rename the original version of this file to
21678 libio/bits/libio.h. Error out if not included by stdio.h or the
21680 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
21681 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
21682 if not included by bits/libio.h or the stub _G_config.h.
21683 * sysdeps/unix/sysv/linux/_G_config.h: Move to
21684 sysdeps/unix/sysv/linux/bits. Error out if not included by
21685 bits/libio.h or the stub _G_config.h.
21686 * libio/stdio.h: Include bits/libio.h, not libio.h.
21687 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
21688 well as libio.h and _G_config.h.
21690 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
21691 * libio/strfile.h, stdio-common/vfscanf.c
21692 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
21693 Include stdio.h, not _G_config.h nor libio.h.
21694 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
21695 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
21697 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
21699 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
21702 * stdlib/getrandom.c (getrandom): Fix comment.
21703 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
21705 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
21708 * manual/arith.texi (strtoul): Fix a typo.
21711 * manual/arith.texi (finite): Fix the description of the return
21714 2017-12-22 Eric Blake <ebb9@byu.net>
21716 Avoid gcc warnings on cygwin
21717 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
21718 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
21719 Avoid unused variable.
21721 2017-12-22 Florian Weimer <fweimer@redhat.com>
21723 * io/Makefile (routines): Add copy_file_range.
21724 (tests): Add tst-copy_file_range.
21725 (tests-static, tests-internal): Add tst-copy_file_range-compat.
21726 * io/Versions (GLIBC_2.27): Export copy_file_range.
21727 * io/copy_file_range-compat.c: New file.
21728 * io/copy_file_range.c: Likewise.
21729 * io/tst-copy_file_range-compat.c: Likewise.
21730 * io/tst-copy_file_range.c: Likewise.
21731 * manual/llio.texi (Copying File Data): New section.
21732 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
21733 * support/Makefile (libsupport-routines): Add support-xfstat,
21734 xftruncate, xlseek.
21735 * support/support-xfstat.c: New file.
21736 * support/xftruncate.c: Likewise.
21737 * support/xlseek.c: Likewise.
21738 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
21739 * sysdeps/unix/sysv/linux/**.abilist: Update.
21740 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
21742 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
21744 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21745 disable-multi-arch variant to aarch64-linux-gnu.
21747 2017-12-20 Joseph Myers <joseph@codesourcery.com>
21749 * manual/texinfo.tex: Update to version 2017-12-18.20 with
21750 trailing whitespace removed.
21751 * scripts/config.guess: Update to version 2017-12-17.
21752 * scripts/config.sub: Update to version 2017-11-23.
21753 * scripts/install-sh: Update to version 2017-09-23.17.
21754 * scripts/move-if-change: Update to version 2017-09-13 06:45.
21756 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21758 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
21759 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21760 * sysdeps/tile/_mcount.S (__mcount): Likewise.
21761 * sysdeps/tile/crti.S (_init, _fini): Likewise.
21762 * sysdeps/tile/crtn.S: Likewise.
21763 * sysdeps/tile/dl-start.S (_start): Likewise.
21764 * sysdeps/tile/dl-trampoline.S: Likewise.
21765 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
21766 * sysdeps/tile/start.S (_start): Likewise.
21767 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
21768 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
21769 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
21770 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
21771 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
21772 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
21773 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
21775 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
21777 * sysdeps/tile/preconfigure: Remove tilegx folder.
21778 * sysdeps/tile/tilegx/Implies: Move definitions to ...
21779 * sysdeps/tile/Implies: ... here.
21780 * sysdeps/tile/tilegx/Makefile: Move rules to ...
21781 * sysdeps/tile/Makefile: ... here.
21782 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
21783 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
21784 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
21785 * sysdeps/tile/bits/wordsize.h: ... here.
21786 * sysdeps/tile/tilegx/*: Move to ...
21787 * sysdeps/tile/*: ... here.
21788 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
21789 * sysdeps/tile/tilegx32/Implies: ... here.
21790 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
21791 * sysdeps/tile/tilegx64/Implies: ... here.
21792 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
21794 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
21795 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
21796 * sysdeps/unix/sysv/linux/tile/*: ... here.
21797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
21798 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
21799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
21800 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
21802 * README: Remove tilepro-*-linux-gnu from supported architecture.
21803 * scripts/build-many-glibcs.py: Likewise.
21804 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21805 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
21806 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
21807 elf_machine_matches_host, elf_machine_dynamic,
21808 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
21809 howto, elf_machine_rela): Likewise.
21810 * sysdeps/tile/dl-start.S (_start): Likewise.
21811 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
21812 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
21813 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
21814 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
21815 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
21816 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21818 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
21819 * sysdeps/tile/preconfigure: Likewise.
21820 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
21821 POINTER_CHK_GUARD): Likewise.
21822 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
21823 * sysdeps/tile/start.S (_start): Likewise.
21824 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
21826 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
21827 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
21829 * sysdeps/unix/sysv/linux/tile/bits/environments.h
21830 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
21831 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
21833 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
21834 * sysdeps/tile/tilepro/Implies: Remove file.
21835 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
21836 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
21837 * sysdeps/tile/tilepro/memchr.c: Likewise.
21838 * sysdeps/tile/tilepro/memcpy.S: Likewise.
21839 * sysdeps/tile/tilepro/memset.c: Likewise.
21840 * sysdeps/tile/tilepro/memusage.h: Likewise.
21841 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
21842 * sysdeps/tile/tilepro/strchr.c: Likewise.
21843 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
21844 * sysdeps/tile/tilepro/strlen.c: Likewise.
21845 * sysdeps/tile/tilepro/strrchr.c: Likewise.
21846 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
21847 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
21848 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21849 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
21850 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
21851 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21853 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
21854 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21855 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
21856 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
21857 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21858 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
21859 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
21860 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
21861 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
21862 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
21863 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
21864 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
21865 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
21866 tilepro mention in comment.
21868 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
21869 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
21870 * nptl/pthread_join_common.c: New file: common function used on
21871 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
21872 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
21873 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
21874 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21875 (cleanup): Move definition to pthread_join_common.c.
21876 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
21877 Remove superflous checks.
21878 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
21881 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
21883 * sysdeps/aarch64/libm-test-ulps: Update.
21885 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21887 * sysdeps/aarch64/memset.S (MEMSET): Define.
21889 2017-12-20 Florian Weimer <fweimer@redhat.com>
21892 nptl: Provide full implementation of pthread_self in libc.so.
21893 * nptl/Makefile (routines): Add pthread_self.
21894 (libpthread-routines): Replace pthread_self with
21895 compat-pthread_self.
21896 * nptl/forward.c (pthread_self): Remove.
21897 * nptl/nptl-init.c (pthread_functions): Do not initialize
21899 * nptl/pthread_self.c (pthread_self): Remove weak alias.
21900 * nptl/compat-pthread_self.c: New file.
21901 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
21902 Remove ptr_pthread_self.
21904 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
21906 * posix/regcomp.c: Fix spelling in comments.
21907 * posix/regex.h: Likewise.
21908 * posix/regex_internal.c: Likewise.
21909 * posix/regexec.c: Likewise.
21911 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
21914 * math/Makefile [C++] (tests): Add test for iseqsig.
21915 * math/math.h [C++] (iseqsig): New implementation, which does
21916 not rely on __MATH_TG/__builtin_types_compatible_p.
21917 * math/test-math-iseqsig.cc: New file.
21918 * sysdeps/powerpc/powerpc64le/Makefile
21919 (CFLAGS-test-math-iseqsig.cc): New variable.
21921 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
21923 * elf/dl-load.c (is_trusted_path): Remove.
21924 (fillin_rpath): Remove check_trusted argument and its use,
21925 all callers changed.
21927 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21930 * Makeconfig (link-pie-before-libc): Replace -pie with
21931 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
21932 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
21933 (tst-dlopen-aout-no-pie): New.
21934 (LDFLAGS-tst-prelink): Removed.
21935 (tst-prelink-no-pie): New.
21936 (LDFLAGS-tst-main1): Removed.
21937 (tst-main1-no-pie): New.
21938 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
21939 (tst-gmon-no-pie): New.
21941 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21943 * manual/install.texi: Document that --enable-static-pie
21945 * INSTALL: Regenerated.
21947 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
21950 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
21953 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21957 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21959 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21961 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21963 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21964 <errno.h>. Include "eexp.tbl".
21965 (half): New constant.
21967 (__ieee754_exp): Rewrite.
21968 (__slowexp): Remove prototype.
21969 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21970 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21971 * sysdeps/i386/fpu/slowexp.c: Likewise.
21972 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21973 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21974 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21975 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21976 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21977 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21978 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21980 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21981 (CPPFLAGS-slowexp.c): Remove variable.
21982 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21983 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21984 (CFLAGS-slowexp-fma.c): Remove variable.
21985 (CFLAGS-slowexp-fma4.c): Likewise.
21986 (CFLAGS-slowexp-avx.c): Likewise.
21987 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21989 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21990 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21991 * math/Makefile (type-double-routines): Remove slowexp.
21992 * manual/probes.texi (slowexp_p6): Remove.
21993 (slowexp_p32): Likewise.
21995 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21997 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
22000 * lib/glob.c (glob): Do not pass NULL to mempcpy.
22002 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22006 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22008 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
22009 <errno.h>. Include "eexp.tbl".
22010 (half): New constant.
22012 (__ieee754_exp): Rewrite.
22013 (__slowexp): Remove prototype.
22014 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
22015 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
22016 * sysdeps/i386/fpu/slowexp.c: Likewise.
22017 * sysdeps/ia64/fpu/slowexp.c: Likewise.
22018 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
22019 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
22020 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
22021 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22022 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
22023 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
22025 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
22026 (CPPFLAGS-slowexp.c): Remove variable.
22027 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22028 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
22029 (CFLAGS-slowexp-fma.c): Remove variable.
22030 (CFLAGS-slowexp-fma4.c): Likewise.
22031 (CFLAGS-slowexp-avx.c): Likewise.
22032 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
22034 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
22035 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
22036 * math/Makefile (type-double-routines): Remove slowexp.
22037 * manual/probes.texi (slowexp_p6): Remove.
22038 (slowexp_p32): Likewise.
22040 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22041 James Clarke <jrtc27@jrtc27.com>
22044 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
22047 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22050 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
22053 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22056 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22057 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22058 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22059 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22062 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22065 * bits/types/__cancel_jmp_buf_tag.h: New file.
22066 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22067 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22068 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22069 * nptl/Makefile (headers): Add
22070 bits/types/__cancel_jmp_buf_tag.h.
22071 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22072 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22073 * sysdeps/nptl/pthread.h: Include
22074 <bits/types/__cancel_jmp_buf_tag.h>.
22075 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22077 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22079 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22081 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22082 --enable-static-pie variants to x86_64, x32 and i686.
22084 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22087 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
22088 argument for attrubutes. All callers changed.
22089 (__inline_mathop1): Likewise. All callers changed.
22090 (__inline_mathop): Likewise. All callers changed.
22091 [__USE_MISC] (scalbn): Use __inline_forward instead of
22092 __inline_forward_c.
22093 [__USE_ISOC99] (scalbln): Likewise.
22094 [__USE_ISOC99] (nearbyint): Likewise.
22095 [__USE_ISOC99] (lrint): Likewise.
22096 [__USE_MISC] (scalbnf): Likewise.
22097 [__USE_ISOC99] (scalblnf): Likewise.
22098 [__USE_ISOC99] (nearbyintf): Likewise.
22099 [__USE_ISOC99] (lrintf): Likewise.
22100 [__USE_MISC] (scalbnl): Likewise.
22101 [__USE_ISOC99] (scalblnl): Likewise.
22102 [__USE_ISOC99] (nearbyintl): Likewise.
22103 [__USE_ISOC99] (lrintl): Likewise.
22104 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
22105 __inline_mathop and __m81_defun changed.
22107 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
22108 CPU or FPU for ARM hard-float configurations.
22110 2017-12-18 Joseph Myers <joseph@codesourcery.com>
22112 * nptl/tst-attr3.c: Include <libc-diag.h>.
22113 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
22115 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
22117 * string/tester.c (test_strncat): Also disable -Warray-bounds
22118 warnings for two tests.
22120 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22123 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
22124 $(cc-pie-default) == yes.
22125 * config.make.in (cc-pie-default): New.
22126 * configure.ac (libc_cv_pie_default): Renamed to ...
22127 (libc_cv_cc_pie_default): This.
22128 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
22129 * configure: Regenerated.
22131 2017-12-18 Florian Weimer <fweimer@redhat.com>
22134 ld.so: Harden dl-libc/libdl hooks.
22135 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
22136 (rtld_active): New function.
22137 * dlfcn/dladdr.c (__dladdr): Call it.
22138 * dlfcn/dladdr1.c (__dladdr1): Likewise.
22139 * dlfcn/dlclose.c (__dlcose): Likewise.
22140 * dlfcn/dlerror.c (__dlerror): Likewise.
22141 * dlfcn/dlinfo.c (__dlinfo): Likewise.
22142 * dlfcn/dlmopen.c (__dlmopen): Likewise.
22143 * dlfcn/dlopen.c (__dlopen): Likewise.
22144 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22145 * dlfcn/dlsym.c (__dlsym): Likewise.
22146 * dlfcn/dlvsym.c (__dlvsym): Likewise.
22147 * libio/vtables.c (_IO_vtable_check): Likewise.
22148 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
22149 (__libc_dlclose): Likewise.
22150 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
22153 2017-12-18 Joseph Myers <joseph@codesourcery.com>
22156 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
22157 buffers for readlink input and output.
22159 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
22162 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
22163 inhibit_stack_protector.
22166 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
22167 inhibit_stack_protector.
22169 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
22172 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
22173 code and invocation.
22175 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
22177 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
22179 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
22182 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
22184 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22186 * sysdeps/s390/fpu/libm-test-ulps: Update.
22188 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22192 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22194 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
22195 constants to s_sincosf.h file.
22196 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22197 * sysdeps/ieee754/flt-32/s_sincosf.c: New
22199 * sysdeps/ieee754/flt-32/s_sincosf.h:
22202 2017-12-12 Carlos O'Donell <carlos@redhat.com>
22205 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
22208 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
22211 * INSTALL: Regenerated.
22212 * Makeconfig (real-static-start-installed-name): New.
22213 (pic-default): Updated for --enable-static-pie.
22214 (pie-default): New for --enable-static-pie.
22215 (default-pie-ldflag): Likewise.
22216 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
22217 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
22218 Replace $(static-start-installed-name) with
22219 $(real-static-start-installed-name).
22220 (+prectorT): Updated for --enable-static-pie.
22221 (+postctorT): Likewise.
22222 (CFLAGS-.o): Add $(pie-default).
22223 (CFLAGS-.op): Likewise.
22224 * NEWS: Mention --enable-static-pie.
22225 * config.h.in (ENABLE_STATIC_PIE): New.
22226 * configure.ac (--enable-static-pie): New configure option.
22227 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
22228 (have-static-pie): Likewise.
22229 Enable static PIE if linker supports --no-dynamic-linker.
22230 (ENABLE_STATIC_PIE): New AC_DEFINE.
22231 (enable-static-pie): New LIBC_CONFIG_VAR.
22232 * configure: Regenerated.
22233 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
22234 gr$(start-installed-name) for --enable-static-pie.
22235 (extra-objs): Likewise.
22236 (install-lib): Likewise.
22237 (extra-objs): Add static-reloc.o and static-reloc.os
22238 ($(objpfx)$(start-installed-name)): Also depend on
22239 $(objpfx)static-reloc.o.
22240 ($(objpfx)r$(start-installed-name)): New.
22241 ($(objpfx)g$(start-installed-name)): Also depend on
22242 $(objpfx)static-reloc.os.
22243 ($(objpfx)gr$(start-installed-name)): New.
22244 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
22246 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
22248 * csu/static-reloc.c: New file.
22249 * elf/Makefile (routines): Add dl-reloc-static-pie.
22250 (elide-routines.os): Likewise.
22251 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
22252 (tst-tls1-static-non-pie-no-pie): New.
22253 * elf/dl-reloc-static-pie.c: New file.
22254 * elf/dl-support.c (_dl_get_dl_main_map): New function.
22255 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
22256 STATIC_PIE_BOOTSTRAP.
22257 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22258 * gmon/Makefile (tests): Add tst-gmon-static-pie.
22259 (tests-static): Likewise.
22260 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
22261 (tst-gmon-static-no-pie): New.
22262 (CFLAGS-tst-gmon-static-pie.c): Likewise.
22263 (CRT-tst-gmon-static-pie): Likewise.
22264 (tst-gmon-static-pie-ENV): Likewise.
22265 (tests-special): Likewise.
22266 ($(objpfx)tst-gmon-static-pie.out): Likewise.
22267 (clean-tst-gmon-static-pie-data): Likewise.
22268 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
22269 * gmon/tst-gmon-static-pie.c: New file.
22270 * manual/install.texi: Document --enable-static-pie.
22271 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
22272 (_dl_get_dl_main_map): Likewise.
22273 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
22274 * sysdeps/x86_64/configure.ac: Likewise.
22275 * sysdeps/i386/configure: Regenerated.
22276 * sysdeps/x86_64/configure: Likewise.
22277 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
22278 (ASFLAGS-.op): Likewise.
22280 2017-12-15 Joseph Myers <joseph@codesourcery.com>
22282 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
22283 * posix/tst-mmap-offset.c (fname): Use /tmp.
22284 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
22286 2017-12-15 Steve Ellcey <sellcey@cavium.com>
22288 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
22290 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
22292 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
22295 2017-12-15 Joseph Myers <joseph@codesourcery.com>
22297 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
22298 --with-float=hard for arm-linux-gnueabihf configurations.
22301 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
22302 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
22303 ($(mo-installed)): Use $(objpfx)%.mo.
22304 (realclean): Remove rule.
22306 * po/Makefile (linguas): Remove rule and dependencies.
22307 (linguas.mo): Likewise.
22308 (.PHONY): Do not depend on linguas and linguas.mo.
22309 (podir): Remove variable.
22310 (pofiles): Likewise.
22311 [$(pofiles)] (%.po): Remove rule.
22313 * sysdeps/sparc/sparc32/Makefile
22314 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
22315 start-of-line whitespace in argument of echo.
22316 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
22317 with whitespace. Generate __wrap_.udiv alias.
22318 * sysdeps/sparc/sparc32/rem.S: Regenerated.
22319 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22320 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22321 * sysdeps/sparc/sparc32/urem.S: Likewise.
22323 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22325 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
22326 for aligned inputs.
22328 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
22330 * benchtests/bench-strcmp.c: Print output in JSON format.
22332 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
22334 2017-12-14 Florian Weimer <fweimer@redhat.com>
22338 * elf/dl-load.c (_dl_init_paths): Compute number of components in
22339 the expanded path string.
22341 2017-12-14 Florian Weimer <fweimer@redhat.com>
22345 * elf/dl-load.c (system_dirs): Update comment.
22346 (nsystem_dirs_len): Use array_length.
22347 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
22349 2017-12-14 Florian Weimer <fweimer@redhat.com>
22351 Simplify compiling most of support/ outside of glibc.
22352 * support/check_addrinfo.c: Include <string.h>.
22353 * support/check_dns_packet.c: Likewise.
22354 * support/check_hostent.c: Likewise.
22355 * support/support_can_chroot.c: Include <support/xunistd.h>.
22356 * support/support_format_addrinfo.c: Include <stdlib.h>
22357 * support/support_format_dns_packet.c: Include <stdbool.h>.
22358 * support/support_format_hostent.c: Include <stdlib.h>.
22359 * support/support_format_netent.c: Likewise.
22360 * support/support_write_string.c: Include <support/xunistd.h>.
22361 * support/xdlfcn.c: Include <stddef.h>.
22363 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
22365 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
22367 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22368 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22370 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22371 (sysdeps_routines): Add memset-niagara7.
22372 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
22374 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
22376 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
22377 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22378 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
22379 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
22380 Add niagara7 option.
22381 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
22384 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22385 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
22386 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
22388 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
22390 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
22391 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
22392 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22393 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
22394 and __memmove_niagara7.
22395 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
22396 Add niagara7 option.
22397 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
22398 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
22399 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
22400 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
22401 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
22403 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
22405 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
22406 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
22407 * sysdeps/sparc/sparc64/memmove.S: Likewise.
22408 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
22410 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
22411 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
22412 _dl_sparc_cap_flags array.
22413 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
22415 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
22417 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
22418 time whenever possible.
22420 2017-12-12 Carlos O'Donell <carlos@redhat.com>
22422 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
22423 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
22425 2017-12-12 Joseph Myers <joseph@codesourcery.com>
22427 * soft-fp/fmadf4.c: Move to ....
22428 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
22429 * soft-fp/fmasf4.c: Move to ....
22430 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
22431 * soft-fp/fmatf4.c: Move to ....
22432 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
22433 * sysdeps/ieee754/soft-fp/Makefile: New file.
22434 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
22435 * sysdeps/arm/preconfigure: Regenerated.
22436 * sysdeps/arm/nofpu/Implies: New file.
22437 * sysdeps/arm/s_fma.c: Remove file.
22438 * sysdeps/arm/s_fmaf.c: Likewise.
22439 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
22440 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
22441 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
22442 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
22443 * sysdeps/microblaze/s_fma.c: Remove file.
22444 * sysdeps/microblaze/s_fmaf.c: Likewise.
22445 * sysdeps/mips/mips32/nofpu/Implies: New file.
22446 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
22447 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
22448 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
22449 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
22450 * sysdeps/mips/ieee754/s_fma.c: Remove file.
22451 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
22452 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
22454 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
22455 * sysdeps/nios2/s_fma.c: Remove file.
22456 * sysdeps/nios2/s_fmaf.c: Likewise.
22457 * sysdeps/sh/nofpu/Implies: New file.
22458 * sysdeps/sh/s_fma.c: Remove file.
22459 * sysdeps/sh/s_fmaf.c: Likewise.
22460 * sysdeps/tile/Implies: Add ieee754/soft-fp.
22461 * sysdeps/tile/s_fma.c: Remove file.
22462 * sysdeps/tile/s_fmaf.c: Likewise.
22464 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
22466 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22467 Add s_cosf-sse2 and s_cosf-fma.
22468 (CFLAGS-s_cosf-fma.c): New.
22469 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
22470 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
22471 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
22473 2017-12-12 Steve Ellcey <sellcey@cavium.com>
22475 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
22477 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22479 * libio/Makefile (tests): Add tst-bz22415.
22480 (tst-bz22415-ENV): New rule.
22481 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
22482 (tests-special): Add tst-bz22415-mem.out.
22483 ($(objpfx)tst-bz22415-mem.out): New rule.
22484 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
22485 in case of a successful seek operation.
22486 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22487 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
22488 buffer is required.
22489 * libio/tst-bz22415.c: New test.
22491 * sysdeps/ia64/fpu/libm-test-ulps: Update.
22493 2017-12-12 James Clarke <jrtc27@jrtc27.com>
22495 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
22496 __IPC_64 to 0 to avoid IPC_64 being set.
22498 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22501 * math/bits/mathcalls.h (nextafter): Remove const.
22502 (nexttoward): Likewise.
22504 2017-12-12 Joseph Myers <joseph@codesourcery.com>
22506 * configure.ac (--with-fp): Remove configure option.
22507 (with_fp_cond): New variable.
22508 (libc_cv_with_fp): New configure test. Use this variable instead
22510 * configure: Regenerated.
22511 * config.make.in (with-fp): Use @libc_cv_with_fp@.
22512 * manual/install.texi (Configuring and compiling): Remove
22514 * INSTALL: Regenerated.
22515 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
22516 * sysdeps/mips/preconfigure (with_fp_cond): Define.
22517 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
22518 * sysdeps/sh/preconfigure (with_fp_cond): Define.
22519 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
22520 use --without-fp to configure glibc.
22522 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
22524 * manual/locale.texi (nl_langinfo): Fix a typo.
22526 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
22529 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
22531 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22533 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
22534 (CFLAGS-argp-parse.c): Likewise.
22535 (CFLAGS-argp-fmtstream.c): Likewise.
22536 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
22537 (CPPFLAGS-sha512-crypt.c): Likewise.
22538 (CPPFLAGS-md5-crypt.c): Likewise.
22539 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
22540 (CFLAGS-stack_chk_fail_local.c): Likewise.
22541 (CFLAGS-backtrace.c): Likewise.
22542 (CFLAGS-sprintf_chk.c): Likewise.
22543 (CFLAGS-snprintf_chk.c): Likewise.
22544 (CFLAGS-vsprintf_chk.c): Likewise.
22545 (CFLAGS-vsnprintf_chk.c): Likewise.
22546 (CFLAGS-asprintf_chk.c): Likewise.
22547 (CFLAGS-vasprintf_chk.c): Likewise.
22548 (CFLAGS-obprintf_chk.c): Likewise.
22549 (CFLAGS-dprintf_chk.c): Likewise.
22550 (CFLAGS-vdprintf_chk.c): Likewise.
22551 (CFLAGS-printf_chk.c): Likewise.
22552 (CFLAGS-fprintf_chk.c): Likewise.
22553 (CFLAGS-vprintf_chk.c): Likewise.
22554 (CFLAGS-vfprintf_chk.c): Likewise.
22555 (CFLAGS-gets_chk.c): Likewise.
22556 (CFLAGS-fgets_chk.c): Likewise.
22557 (CFLAGS-fgets_u_chk.c): Likewise.
22558 (CFLAGS-fread_chk.c): Likewise.
22559 (CFLAGS-fread_u_chk.c): Likewise.
22560 (CFLAGS-swprintf_chk.c): Likewise.
22561 (CFLAGS-vswprintf_chk.c): Likewise.
22562 (CFLAGS-wprintf_chk.c): Likewise.
22563 (CFLAGS-fwprintf_chk.c): Likewise.
22564 (CFLAGS-vwprintf_chk.c): Likewise.
22565 (CFLAGS-vfwprintf_chk.c): Likewise.
22566 (CFLAGS-fgetws_chk.c): Likewise.
22567 (CFLAGS-fgetws_u_chk.c): Likewise.
22568 (CFLAGS-read_chk.c): Likewise.
22569 (CFLAGS-pread_chk.c): Likewise.
22570 (CFLAGS-pread64_chk.c): Likewise.
22571 (CFLAGS-recv_chk.c): Likewise.
22572 (CFLAGS-recvfrom_chk.c): Likewise.
22573 (CFLAGS-tst-longjmp_chk.c): Likewise.
22574 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
22575 (CFLAGS-tst-longjmp_chk2.c): Likewise.
22576 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
22577 (CFLAGS-tst-longjmp_chk3.c): Likewise.
22578 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22579 (CFLAGS-tst-chk1.c): Likewise.
22580 (CFLAGS-tst-chk2.c): Likewise.
22581 (CFLAGS-tst-chk3.c): Likewise.
22582 (CFLAGS-tst-chk4.cc): Likewise.
22583 (CFLAGS-tst-chk5.cc): Likewise.
22584 (CFLAGS-tst-chk6.cc): Likewise.
22585 (CFLAGS-tst-lfschk1.c): Likewise.
22586 (CFLAGS-tst-lfschk2.c): Likewise.
22587 (CFLAGS-tst-lfschk3.c): Likewise.
22588 (CFLAGS-tst-lfschk4.cc): Likewise.
22589 (CFLAGS-tst-lfschk5.cc): Likewise.
22590 (CFLAGS-tst-lfschk6.cc): Likewise.
22591 (CFLAGS-tst-ssp-1.c): Likewise.
22592 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
22593 (CFLAGS-scandir64.c): Likewise.
22594 (CFLAGS-scandir-tail.c): Likewise.
22595 (CFLAGS-scandir64-tail.c): Likewise.
22596 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
22597 (CFLAGS-dl-tunables.c): Likewise.
22598 (CFLAGS-dl-runtime.c): Likewise.
22599 (CFLAGS-dl-lookup.c): Likewise.
22600 (CFLAGS-dl-iterate-phdr.c): Likewise.
22601 (CFLAGS-vismain.c): Likewise.
22602 (CFLAGS-tst-linkall-static.c): Likewise.
22603 (CFLAGS-tst-linkall-static.c): Likewise.
22604 (CPPFLAGS-dl-load.c): Likewise.
22605 (CFLAGS-ldconfig.c): Likewise.
22606 (CFLAGS-dl-cache.c): Likewise.
22607 (CFLAGS-cache.c): Likewise.
22608 (CFLAGS-rtld.c): Likewise.
22609 (CFLAGS-multiload.c): Likewise.
22610 (CFLAGS-filtmod1.c): Likewise.
22611 (CFLAGS-tst-align.c): Likewise.
22612 (CFLAGS-tst-align2.c): Likewise.
22613 (CFLAGS-tst-alignmod.c): Likewise.
22614 (CFLAGS-tst-alignmod2.c): Likewise.
22615 (CPPFLAGS-tst-execstack.c): Likewise.
22616 (CFLAGS-tst-ptrguard1-static.c): Likewise.
22617 (CFLAGS-tst-latepthreadmod.c): Likewise.
22618 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
22619 (CFLAGS-getgrnam_r.c): Likewise.
22620 (CFLAGS-getgrent_r.c): Likewise.
22621 (CFLAGS-getgrent.c): Likewise.
22622 (CFLAGS-fgetgrent.c): Likewise.
22623 (CFLAGS-fgetgrent_r.c): Likewise.
22624 (CFLAGS-putgrent.c): Likewise.
22625 (CFLAGS-initgroups.c): Likewise.
22626 (CFLAGS-getgrgid.c): Likewise.
22627 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
22628 (CFLAGS-getsgent.c): Likewise.
22629 (CFLAGS-fgetsgent.c): Likewise.
22630 (CFLAGS-fgetsgent_r.c): Likewise.
22631 (CFLAGS-putsgent.c): Likewise.
22632 (CFLAGS-getsgnam.c): Likewise.
22633 (CFLAGS-getsgnam_r.c): Likewise.
22634 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
22635 (CFLAGS-iconv_charmap.c): Likewise.
22636 (CFLAGS-dummy-repertoire.c): Likewise.
22637 (CFLAGS-charmap.c): Likewise.
22638 (CFLAGS-linereader.c): Likewise.
22639 (CFLAGS-simple-hash.c): Likewise.
22640 (CFLAGS-gconv_conf.c): Likewise.
22641 (CFLAGS-iconvconfig.c): Likewise.
22642 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
22643 (CFLAGS-gethstbyad.c): Likewise.
22644 (CFLAGS-gethstbynm_r.c): Likewise.
22645 (CFLAGS-gethstbynm.c): Likewise.
22646 (CFLAGS-gethstbynm2_r.c): Likewise.
22647 (CFLAGS-gethstbynm2.c): Likewise.
22648 (CFLAGS-gethstent_r.c): Likewise.
22649 (CFLAGS-gethstent.c): Likewise.
22650 (CFLAGS-rcmd.c): Likewise.
22651 (CFLAGS-getnetbynm_r.c): Likewise.
22652 (CFLAGS-getnetbynm.c): Likewise.
22653 (CFLAGS-getnetbyad_r.c): Likewise.
22654 (CFLAGS-getnetbyad.c): Likewise.
22655 (CFLAGS-getnetent_r.c): Likewise.
22656 (CFLAGS-getnetent.c): Likewise.
22657 (CFLAGS-getaliasent_r.c): Likewise.
22658 (CFLAGS-getaliasent.c): Likewise.
22659 (CFLAGS-getrpcent_r.c): Likewise.
22660 (CFLAGS-getrpcent.c): Likewise.
22661 (CFLAGS-getservent_r.c): Likewise.
22662 (CFLAGS-getservent.c): Likewise.
22663 (CFLAGS-getprtent_r.c): Likewise.
22664 (CFLAGS-getprtent.c): Likewise.
22665 (CFLAGS-either_ntoh.c): Likewise.
22666 (CFLAGS-either_hton.c): Likewise.
22667 (CFLAGS-getnetgrent.c): Likewise.
22668 (CFLAGS-getnetgrent_r.c): Likewise.
22669 (CFLAGS-tst-checks-posix.c): Likewise.
22670 (CFLAGS-tst-sockaddr.c): Likewise.
22671 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
22672 (CFLAGS-tst-translit.c): Likewise.
22673 (CFLAGS-tst-gettext2.c): Likewise.
22674 (CFLAGS-tst-codeset.c): Likewise.
22675 (CFLAGS-tst-gettext3.c): Likewise.
22676 (CFLAGS-tst-gettext4.c): Likewise.
22677 (CFLAGS-tst-gettext5.c): Likewise.
22678 (CFLAGS-tst-gettext6.c): Likewise.
22679 * io/Makefile (CFLAGS-open.c): Likewise.
22680 (CFLAGS-open64.c): Likewise.
22681 (CFLAGS-creat.c): Likewise.
22682 (CFLAGS-creat64.c): Likewise.
22683 (CFLAGS-fcntl.c): Likewise.
22684 (CFLAGS-poll.c): Likewise.
22685 (CFLAGS-ppoll.c): Likewise.
22686 (CFLAGS-lockf.c): Likewise.
22687 (CFLAGS-statfs.c): Likewise.
22688 (CFLAGS-fstatfs.c): Likewise.
22689 (CFLAGS-statvfs.c): Likewise.
22690 (CFLAGS-fstatvfs.c): Likewise.
22691 (CFLAGS-fts.c): Likewise.
22692 (CFLAGS-fts64.c): Likewise.
22693 (CFLAGS-ftw.c): Likewise.
22694 (CFLAGS-ftw64.c): Likewise.
22695 (CFLAGS-lockf.c): Likewise.
22696 (CFLAGS-posix_fallocate.c): Likewise.
22697 (CFLAGS-posix_fallocate64.c): Likewise.
22698 (CFLAGS-fallocate.c): Likewise.
22699 (CFLAGS-fallocate64.c): Likewise.
22700 (CFLAGS-read.c): Likewise.
22701 (CFLAGS-write.c): Likewise.
22702 (CFLAGS-test-stat.c): Likewise.
22703 (CFLAGS-test-lfs.c): Likewise.
22704 * libio/Makefile (CFLAGS-fileops.c): Likewise.
22705 (CFLAGS-fputc.c): Likewise.
22706 (CFLAGS-fputwc.c): Likewise.
22707 (CFLAGS-freopen64.c): Likewise.
22708 (CFLAGS-freopen.c): Likewise.
22709 (CFLAGS-fseek.c): Likewise.
22710 (CFLAGS-fseeko64.c): Likewise.
22711 (CFLAGS-fseeko.c): Likewise.
22712 (CFLAGS-ftello64.c): Likewise.
22713 (CFLAGS-ftello.c): Likewise.
22714 (CFLAGS-fwide.c): Likewise.
22715 (CFLAGS-genops.c): Likewise.
22716 (CFLAGS-getc.c): Likewise.
22717 (CFLAGS-getchar.c): Likewise.
22718 (CFLAGS-getwc.c): Likewise.
22719 (CFLAGS-getwchar.c): Likewise.
22720 (CFLAGS-iofclose.c): Likewise.
22721 (CFLAGS-iofflush.c): Likewise.
22722 (CFLAGS-iofgetpos64.c): Likewise.
22723 (CFLAGS-iofgetpos.c): Likewise.
22724 (CFLAGS-iofgets.c): Likewise.
22725 (CFLAGS-iofgetws.c): Likewise.
22726 (CFLAGS-iofputs.c): Likewise.
22727 (CFLAGS-iofputws.c): Likewise.
22728 (CFLAGS-iofread.c): Likewise.
22729 (CFLAGS-iofsetpos64.c): Likewise.
22730 (CFLAGS-iofsetpos.c): Likewise.
22731 (CFLAGS-ioftell.c): Likewise.
22732 (CFLAGS-iofwrite.c): Likewise.
22733 (CFLAGS-iogetdelim.c): Likewise.
22734 (CFLAGS-iogetline.c): Likewise.
22735 (CFLAGS-iogets.c): Likewise.
22736 (CFLAGS-iogetwline.c): Likewise.
22737 (CFLAGS-ioputs.c): Likewise.
22738 (CFLAGS-ioseekoff.c): Likewise.
22739 (CFLAGS-ioseekpos.c): Likewise.
22740 (CFLAGS-iosetbuffer.c): Likewise.
22741 (CFLAGS-iosetvbuf.c): Likewise.
22742 (CFLAGS-ioungetc.c): Likewise.
22743 (CFLAGS-ioungetwc.c): Likewise.
22744 (CFLAGS-oldfileops.c): Likewise.
22745 (CFLAGS-oldiofclose.c): Likewise.
22746 (CFLAGS-oldiofgetpos64.c): Likewise.
22747 (CFLAGS-oldiofgetpos.c): Likewise.
22748 (CFLAGS-oldiofsetpos64.c): Likewise.
22749 (CFLAGS-oldiofsetpos.c): Likewise.
22750 (CFLAGS-peekc.c): Likewise.
22751 (CFLAGS-putc.c): Likewise.
22752 (CFLAGS-putchar.c): Likewise.
22753 (CFLAGS-putwc.c): Likewise.
22754 (CFLAGS-putwchar.c): Likewise.
22755 (CFLAGS-rewind.c): Likewise.
22756 (CFLAGS-wfileops.c): Likewise.
22757 (CFLAGS-wgenops.c): Likewise.
22758 (CFLAGS-oldiofopen.c): Likewise.
22759 (CFLAGS-iofopen.c): Likewise.
22760 (CFLAGS-iofopen64.c): Likewise.
22761 (CFLAGS-oldtmpfile.c): Likewise.
22762 (CFLAGS-tst_putwc.c): Likewise.
22763 * locale/Makefile (CFLAGS-md5.c): Likewise.
22764 (CFLAGS-charmap.c): Likewise.
22765 (CFLAGS-locfile.c): Likewise.
22766 (CFLAGS-charmap-dir.c): Likewise.
22767 * login/Makefile (CFLAGS-grantpt.c): Likewise.
22768 (CFLAGS-getpt.c): Likewise.
22769 (CFLAGS-pt_chown.c): Likewise.
22770 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
22771 (CFLAGS-obstack.c): Likewise.
22772 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
22773 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
22774 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
22775 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
22776 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
22777 (CFLAGS-test-tgmath.c): Likewise.
22778 (CFLAGS-test-tgmath2.c): Likewise.
22779 (CFLAGS-test-tgmath-ret.c): Likewise.
22780 (CFLAGS-test-powl.c): Likewise.
22781 (CFLAGS-test-snan.c): Likewise.
22782 (CFLAGS-test-signgam-finite.c): Likewise.
22783 (CFLAGS-test-signgam-finite-c99.c): Likewise.
22784 (CFLAGS-test-signgam-finite-c11.c): Likewise.
22785 (CFLAGS-test-signgam-uchar.c): Likewise.
22786 (CFLAGS-test-signgam-uchar-init.c): Likewise.
22787 (CFLAGS-test-signgam-uchar-static.c): Likewise.
22788 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22789 (CFLAGS-test-signgam-uint.c): Likewise.
22790 (CFLAGS-test-signgam-uint-init.c): Likewise.
22791 (CFLAGS-test-signgam-uint-static.c): Likewise.
22792 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22793 (CFLAGS-test-signgam-ullong.c): Likewise.
22794 (CFLAGS-test-signgam-ullong-init.c): Likewise.
22795 (CFLAGS-test-signgam-ullong-static.c): Likewise.
22796 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22797 (CFLAGS-test-math-cxx11.cc): Likewise.
22798 (CFLAGS-test-math-isinff.cc): Likewise.
22799 (CFLAGS-test-math-iszero.cc): Likewise.
22800 (CFLAGS-test-math-issignaling.cc): Likewise.
22801 (CFLAGS-test-math-iscanonical.cc): Likewise.
22802 (CFLAGS-test-iszero-excess-precision.c): Likewise.
22803 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
22804 (CFLAGS-test-flt-eval-method.c): Likewise.
22805 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
22806 (CFLAGS-test-finite-macros.c): Likewise.
22807 * misc/Makefile (CFLAGS-select.c): Likewise.
22808 (CFLAGS-tsearch.c): Likewise.
22809 (CFLAGS-lsearch.c): Likewise.
22810 (CFLAGS-pselect.c): Likewise.
22811 (CFLAGS-readv.c): Likewise.
22812 (CFLAGS-writev.c): Likewise.
22813 (CFLAGS-preadv.c): Likewise.
22814 (CFLAGS-preadv64.c): Likewise.
22815 (CFLAGS-pwritev.c): Likewise.
22816 (CFLAGS-pwritev64.c): Likewise.
22817 (CFLAGS-preadv2.c): Likewise.
22818 (CFLAGS-preadv64v2.c): Likewise.
22819 (CFLAGS-pwritev2.c): Likewise.
22820 (CFLAGS-pwritev64v2.c): Likewise.
22821 (CFLAGS-usleep.c): Likewise.
22822 (CFLAGS-syslog.c): Likewise.
22823 (CFLAGS-error.c): Likewise.
22824 (CFLAGS-getpass.c): Likewise.
22825 (CFLAGS-mkstemp.c): Likewise.
22826 (CFLAGS-mkstemp64.c): Likewise.
22827 (CFLAGS-getsysstats.c): Likewise.
22828 (CFLAGS-getusershell.c): Likewise.
22829 (CFLAGS-err.c): Likewise.
22830 (CFLAGS-tst-tsearch.c): Likewise.
22831 (CFLAGS-msync.c): Likewise.
22832 (CFLAGS-fdatasync.c): Likewise.
22833 (CFLAGS-fsync.c): Likewise.
22834 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
22835 (CFLAGS-unwind.c): Likewise.
22836 (CFLAGS-unwind-forcedunwind.c): Likewise.
22837 (CFLAGS-pthread_cancel.c): Likewise.
22838 (CFLAGS-pthread_setcancelstate.c): Likewise.
22839 (CFLAGS-pthread_setcanceltype.c): Likewise.
22840 (CFLAGS-cancellation.c): Likewise.
22841 (CFLAGS-libc-cancellation.c): Likewise.
22842 (CFLAGS-pthread_exit.c): Likewise.
22843 (CFLAGS-forward.c): Likewise.
22844 (CFLAGS-pthread_testcancel.c): Likewise.
22845 (CFLAGS-pthread_join.c): Likewise.
22846 (CFLAGS-pthread_timedjoin.c): Likewise.
22847 (CFLAGS-pthread_once.c): Likewise.
22848 (CFLAGS-pthread_cond_wait.c): Likewise.
22849 (CFLAGS-sem_wait.c): Likewise.
22850 (CFLAGS-sem_timedwait.c): Likewise.
22851 (CFLAGS-fcntl.c): Likewise.
22852 (CFLAGS-lockf.c): Likewise.
22853 (CFLAGS-pread.c): Likewise.
22854 (CFLAGS-pread64.c): Likewise.
22855 (CFLAGS-pwrite.c): Likewise.
22856 (CFLAGS-pwrite64.c): Likewise.
22857 (CFLAGS-wait.c): Likewise.
22858 (CFLAGS-waitpid.c): Likewise.
22859 (CFLAGS-sigwait.c): Likewise.
22860 (CFLAGS-msgrcv.c): Likewise.
22861 (CFLAGS-msgsnd.c): Likewise.
22862 (CFLAGS-tcdrain.c): Likewise.
22863 (CFLAGS-open.c): Likewise.
22864 (CFLAGS-open64.c): Likewise.
22865 (CFLAGS-pause.c): Likewise.
22866 (CFLAGS-recv.c): Likewise.
22867 (CFLAGS-send.c): Likewise.
22868 (CFLAGS-accept.c): Likewise.
22869 (CFLAGS-sendto.c): Likewise.
22870 (CFLAGS-connect.c): Likewise.
22871 (CFLAGS-recvfrom.c): Likewise.
22872 (CFLAGS-recvmsg.c): Likewise.
22873 (CFLAGS-sendmsg.c): Likewise.
22874 (CFLAGS-close.c): Likewise.
22875 (CFLAGS-read.c): Likewise.
22876 (CFLAGS-write.c): Likewise.
22877 (CFLAGS-nanosleep.c): Likewise.
22878 (CFLAGS-sigsuspend.c): Likewise.
22879 (CFLAGS-msync.c): Likewise.
22880 (CFLAGS-fdatasync.c): Likewise.
22881 (CFLAGS-fsync.c): Likewise.
22882 (CFLAGS-pt-system.c): Likewise.
22883 (CFLAGS-tst-cleanup2.c): Likewise.
22884 (CFLAGS-tst-cleanupx2.c): Likewise.
22885 (CFLAGS-flockfile.c): Likewise.
22886 (CFLAGS-ftrylockfile.c): Likewise.
22887 (CFLAGS-funlockfile.c): Likewise.
22888 (CFLAGS-tst-initializers1.c): Likewise.
22889 (CFLAGS-tst-initializers1-c89.c): Likewise.
22890 (CFLAGS-tst-initializers1-c99.c): Likewise.
22891 (CFLAGS-tst-initializers1-c11.c): Likewise.
22892 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
22893 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
22894 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22895 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
22896 (CFLAGS-nscd_getgr_r.c): Likewise.
22897 (CFLAGS-nscd_gethst_r.c): Likewise.
22898 (CFLAGS-nscd_getai.c): Likewise.
22899 (CFLAGS-nscd_initgroups.c): Likewise.
22900 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
22901 (CFLAGS-pause.c): Likewise.
22902 (CFLAGS-pread.c): Likewise.
22903 (CFLAGS-pread64.c): Likewise.
22904 (CFLAGS-pwrite.c): Likewise.
22905 (CFLAGS-pwrite64.c): Likewise.
22906 (CFLAGS-sleep.c): Likewise.
22907 (CFLAGS-wait.c): Likewise.
22908 (CFLAGS-waitid.c): Likewise.
22909 (CFLAGS-waitpid.c): Likewise.
22910 (CFLAGS-getopt.c): Likewise.
22911 (CFLAGS-wordexp.c): Likewise.
22912 (CFLAGS-sysconf.c): Likewise.
22913 (CFLAGS-pathconf.c): Likewise.
22914 (CFLAGS-fpathconf.c): Likewise.
22915 (CFLAGS-spawn.c): Likewise.
22916 (CFLAGS-spawnp.c): Likewise.
22917 (CFLAGS-spawni.c): Likewise.
22918 (CFLAGS-glob.c): Likewise.
22919 (CFLAGS-glob64.c): Likewise.
22920 (CFLAGS-getconf.c): Likewise.
22921 (CFLAGS-nanosleep.c): Likewise.
22922 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
22923 (CFLAGS-getpwent.c): Likewise.
22924 (CFLAGS-getpw.c): Likewise.
22925 (CFLAGS-fgetpwent_r.c): Likewise.
22926 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
22927 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
22928 (CFLAGS-mq_timedreceive.c): Likewise.
22929 (CFLAGS-mq_timedsend.c): Likewise.
22930 (CFLAGS-clock_nanosleep.c): Likewise.
22931 (CFLAGS-librt-cancellation.c): Likewise.
22932 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
22933 (CFLAGS-getspent.c): Likewise.
22934 (CFLAGS-fgetspent.c): Likewise.
22935 (CFLAGS-fgetspent_r.c): Likewise.
22936 (CFLAGS-putspent.c): Likewise.
22937 (CFLAGS-getspnam.c): Likewise.
22938 (CFLAGS-getspnam_r.c): Likewise.
22939 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
22940 (CFLAGS-sigsuspend.c): Likewise.
22941 (CFLAGS-sigtimedwait.c): Likewise.
22942 (CFLAGS-sigwait.c): Likewise.
22943 (CFLAGS-sigwaitinfo.c): Likewise.
22944 (CFLAGS-sigreturn.c): Likewise.
22945 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22946 (CFLAGS-vfwprintf.c): Likewise.
22947 (CFLAGS-tmpfile.c): Likewise.
22948 (CFLAGS-tmpfile64.c): Likewise.
22949 (CFLAGS-tempname.c): Likewise.
22950 (CFLAGS-psignal.c): Likewise.
22951 (CFLAGS-vprintf.c): Likewise.
22952 (CFLAGS-cuserid.c): Likewise.
22953 (CFLAGS-errlist.c): Likewise.
22954 (CFLAGS-siglist.c): Likewise.
22955 (CFLAGS-scanf15.c): Likewise.
22956 (CFLAGS-scanf17.c): Likewise.
22957 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
22958 (CFLAGS-msort.c): Likewise.
22959 (CFLAGS-qsort.c): Likewise.
22960 (CFLAGS-system.c): Likewise.
22961 (CFLAGS-fmtmsg.c): Likewise.
22962 (CFLAGS-strfmon.c): Likewise.
22963 (CFLAGS-strfmon_l.c): Likewise.
22964 (CFLAGS-strfromd.c): Likewise.
22965 (CFLAGS-strfromf.c): Likewise.
22966 (CFLAGS-strfroml.c): Likewise.
22967 (CFLAGS-tst-bsearch.c): Likewise.
22968 (CFLAGS-tst-qsort.c): Likewise.
22969 (CFLAGS-tst-makecontext2.c): Likewise.
22970 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
22971 (CFLAGS-xnlm_prot.c): Likewise.
22972 (CFLAGS-xrstat.c): Likewise.
22973 (CFLAGS-xyppasswd.c): Likewise.
22974 (CFLAGS-xklm_prot.c): Likewise.
22975 (CFLAGS-xrex.c): Likewise.
22976 (CFLAGS-xsm_inter.c): Likewise.
22977 (CFLAGS-xmount.c): Likewise.
22978 (CFLAGS-xrusers.c): Likewise.
22979 (CFLAGS-xspray.c): Likewise.
22980 (CFLAGS-xnfs_prot.c): Likewise.
22981 (CFLAGS-xrquota.c): Likewise.
22982 (CFLAGS-xkey_prot.c): Likewise.
22983 (CFLAGS-auth_unix.c): Likewise.
22984 (CFLAGS-key_call.c): Likewise.
22985 (CFLAGS-pmap_rmt.c): Likewise.
22986 (CFLAGS-clnt_perr.c): Likewise.
22987 (CFLAGS-openchild.c): Likewise.
22988 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
22989 (CFLAGS-msgsnd.c): Likewise.
22990 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
22991 * time/Makefile (CFLAGS-tzfile.c): Likewise.
22992 (CFLAGS-tzset.c): Likewise.
22993 (CFLAGS-getdate.c): Likewise.
22994 (CFLAGS-test_time.c): Likewise.
22995 (CPPFLAGS-tst-tzname.c): Likewise.
22996 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
22997 (CFLAGS-zic.c): Likewise.
22998 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
22999 (CFLAGS-wcswidth.c): Likewise.
23000 (CFLAGS-wcstol.c): Likewise.
23001 (CFLAGS-wcstoul.c): Likewise.
23002 (CFLAGS-wcstoll.c): Likewise.
23003 (CFLAGS-wcstoull.c): Likewise.
23004 (CFLAGS-wcstod.c): Likewise.
23005 (CFLAGS-wcstold.c): Likewise.
23006 (CFLAGS-wcstof128.c): Likewise.
23007 (CFLAGS-wcstof.c): Likewise.
23008 (CFLAGS-wcstol_l.c): Likewise.
23009 (CFLAGS-wcstoul_l.c): Likewise.
23010 (CFLAGS-wcstoll_l.c): Likewise.
23011 (CFLAGS-wcstoull_l.c): Likewise.
23012 (CFLAGS-wcstod_l.c): Likewise.
23013 (CFLAGS-wcstold_l.c): Likewise.
23014 (CFLAGS-wcstof128_l.c): Likewise.
23015 (CFLAGS-wcstof_l.c): Likewise.
23016 (CPPFLAGS-tst-wchar-h.c): Likewise.
23017 (CPPFLAGS-wcstold_l.c): Likewise.
23019 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
23021 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
23023 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23024 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23026 * manual/tunables.texi (Hardware Capability Tunables): Document
23027 glibc.tune.cached_memopt.
23028 * sysdeps/powerpc/cpu-features.c: New file.
23029 * sysdeps/powerpc/cpu-features.h: New file.
23030 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
23031 _dl_powerpc_cpu_features.
23032 * sysdeps/powerpc/dl-tunables.list: New file.
23033 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
23034 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23035 (INIT_ARCH): Initialize use_aligned_memopt.
23036 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
23037 IS_IN(rtld))]: Restrict dl_platform_init availability and
23038 initialize CPU features used by tunables.
23039 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
23040 Add memcpy-power8-cached.
23041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
23042 __memcpy_power8_cached.
23043 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23044 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
23047 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
23049 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
23050 (CFLAGS-noinl-tester.c): Likewise.
23051 (CFLAGS-tst-strlen.c): Likewise.
23052 (CFLAGS-stratcliff.c): Likewise.
23053 (CFLAGS-test-ffs.c): Likewise.
23054 (CFLAGS-tst-inlcall.c): Likewise.
23055 (CFLAGS-tst-xbzero-opt.c): Likewise.
23056 (CFLAGS-memcpy.c): Likewise.
23057 (CFLAGS-wordcopy.c): Likewise.
23059 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23061 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
23062 Store r15 on stack and add cfi rule.
23063 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23066 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
23069 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
23072 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23074 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23075 Add s_sinf-sse2 and s_sinf-fma.
23076 (CFLAGS-s_sinf-fma.c): New.
23077 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
23078 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
23079 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
23081 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23083 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
23085 2017-12-07 Joseph Myers <joseph@codesourcery.com>
23088 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
23089 part of result to imaginary part of argument if it is zero and the
23090 real part of the argument is not finite.
23091 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
23092 of result to real part of argument if it is zero and the imaginary
23093 part of the argument is not finite.
23095 2017-12-07 Mike FABIAN <mfabian@redhat.com>
23098 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
23099 and to the list of locales to be built for testing.
23100 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
23101 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
23102 and build the collation rules upon that.
23104 2017-12-07 Joseph Myers <joseph@codesourcery.com>
23106 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
23107 * manual/math.texi (Mathematics): Document support for _Float32.
23108 * math/Makefile (test-types): Add float32.
23109 * math/Versions (GLIBC_2.27): Add _Float32 functions.
23110 * stdlib/Versions (GLIBC_2.27): Likewise.
23111 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23112 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23113 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23114 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23115 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23116 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23117 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23118 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23119 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23120 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23121 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23122 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23123 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23124 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23125 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23126 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23127 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23128 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23129 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23130 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23131 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23132 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23134 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23135 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23136 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23137 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23138 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23156 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23157 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23158 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23159 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23160 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23161 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23162 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23163 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23164 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23165 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23174 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23175 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23176 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23177 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23178 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23179 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23180 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23181 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23183 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23185 * stdlib/strtof.c: Include <bits/floatn.h>
23186 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
23187 and later undefine as macro. Define as weak alias if
23189 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
23190 and later undefine as macro. Define as weak alias if
23192 * stdlib/strtof_l.c: Include <bits/floatn.h>
23193 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
23194 and later undefine as macro. Define as weak alias if
23196 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
23197 and later undefine as macro. Define as weak alias if
23200 * stdlib/strfromf.c: Include <bits/floatn.h>.
23201 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
23202 and later undefine as macro and define as weak alias.
23204 * math/test-float32.h: New file.
23206 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
23207 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
23208 (libm_alias_float_other_r): Create f32 alias.
23209 (libm_alias_float_r): Use semicolon before call to
23210 libm_alias_float_other_r.
23212 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
23213 second argument to libm_alias_float_other.
23214 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
23215 second argument to libm_alias_float_other.
23216 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
23217 argument to libm_alias_float_other.
23220 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
23221 real part of result for argument 0 + i * NaN.
23222 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
23223 results for tests of 0 + i * NaN.
23225 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23227 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23229 2017-12-06 David S. Miller <davem@davemloft.net>
23231 * sysdeps/sparc/fpu/libm-test-ulps: Update
23232 exp_{downward,towardzero,upward} ulps.
23234 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23236 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
23239 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
23241 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
23243 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
23245 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
23248 2017-12-06 Mike FABIAN <mfabian@redhat.com>
23251 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
23252 and to the list of locales to be built for testing.
23253 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
23254 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
23255 and build the collation rules upon that.
23257 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23259 * NEWS: Add sinf to list of optimized functions.
23261 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23263 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
23264 (__HAVE_FLOAT32X): Likewise.
23265 * manual/math.texi (Mathematics): Document support for _Float64
23267 * math/Makefile (test-types): Add float64 and float32x.
23268 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
23270 * stdlib/Versions (GLIBC_2.27): Likewise.
23271 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23272 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23273 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23274 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23275 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23276 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23277 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23278 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23279 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23280 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23281 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23282 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23283 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23284 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23285 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23286 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23287 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23288 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23289 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23290 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23291 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23292 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23294 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23295 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23296 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23297 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23298 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23315 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23316 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23317 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23318 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23319 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23320 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23321 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23322 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23323 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23324 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23333 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23334 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23335 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23336 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23337 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23338 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23339 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23340 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23342 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23344 * bits/floatn-common.h: Include <bits/long-double.h>.
23345 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23346 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
23347 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23348 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
23349 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23350 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
23351 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23352 (__builtin_huge_valf64): Use __builtin_huge_vall.
23353 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23354 (__builtin_inff64): Use __builtin_infl.
23355 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23356 (__builtin_nanf64): Use __builtin_nanl.
23357 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23358 (__builtin_nansf64): Use __builtin_nansl.
23360 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
23361 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23362 Carlos O'Donnell <carlos@redhat.com>
23364 * elf/dl-tunables.list: Add elision parameters.
23365 * manual/tunables.texi: Add entries about elision tunable.
23366 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
23367 Add callback functions to dynamically enable/disable elision.
23368 Add multiple callbacks functions to set elision parameters.
23369 Deleted __libc_enable_secure check.
23370 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
23371 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
23372 * configure: Regenerated.
23373 * configure.ac: Option enable_lock_elision was deleted.
23374 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
23375 * config.make.in: Remove references to enable_lock_elision.
23376 * manual/install.texi: Elision configure option was removed.
23377 * INSTALL: Regenerated to remove enable_lock_elision.
23379 Disable elision so it can verify error case for destroying a mutex.
23380 * sysdeps/powerpc/nptl/elide.h:
23381 Cleanup ENABLE_LOCK_ELISION check.
23382 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
23383 * sysdeps/s390/configure: Regenerated.
23384 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
23385 * nptl/tst-mutex8.c:
23386 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
23387 * sysdeps/powerpc/powerpc32/sysdep.h:
23388 Deleted all ENABLE_LOCK_ELISION checks.
23389 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23390 * sysdeps/powerpc/sysdep.h: Likewise.
23391 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
23392 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
23393 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23394 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23395 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23396 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
23397 enable-lock-elision.
23399 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23401 * stdlib/strtod.c: Include <bits/floatn.h>.
23402 (BUILD_DOUBLE): New macro.
23403 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23404 (strtof64): Define and later undefine as macro. Define as weak
23405 alias if [!USE_WIDE_CHAR].
23406 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23407 (wcstof64): Define and later undefine as macro. Define as weak
23408 alias if [USE_WIDE_CHAR].
23409 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23410 (strtof32x): Define and later undefine as macro. Define as weak
23411 alias if [!USE_WIDE_CHAR].
23412 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23413 (wcstof32x): Define and later undefine as macro. Define as weak
23414 alias if [USE_WIDE_CHAR].
23415 * stdlib/strtod_l.c: Include <bits/floatn.h>.
23416 (BUILD_DOUBLE): New macro.
23417 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23418 (strtof64_l): 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_l): 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_l): 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_l): Define and later undefine as macro. Define as weak
23428 alias if [USE_WIDE_CHAR].
23430 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23432 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
23433 (reduced): Use ones as double instead of integer.
23435 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
23437 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
23439 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23441 * stdlib/strfromd.c: Include <bits/floatn.h>.
23442 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
23443 and later undefine as macro and define as weak alias.
23444 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
23447 * math/test-float32x.h: New file.
23448 * math/test-float64.h: Likewise.
23450 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
23451 (libm_alias_double_other_r_f64): New macro.
23452 (libm_alias_double_other_r_f32x): Likewise.
23453 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23454 libm_alias_double_other_r_f32x.
23455 (libm_alias_double_r): Use semicolon before call to
23456 libm_alias_double_other_r.
23457 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
23459 (libm_alias_double_other_r_f64): New macro.
23460 (libm_alias_double_other_r_f32x): Likewise.
23461 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23462 libm_alias_double_other_r_f32x.
23464 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
23466 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
23468 (SINF_FUNC): Likewise. Replace floor with simple casts.
23470 2017-12-05 Mike FABIAN <mfabian@redhat.com>
23473 * localedata/Makefile: Add et_EE.UTF-8 to test-input
23474 and to the list of locales to be built for testing.
23475 * localedata/et_EE.UTF-8.in: New file for testing the collation.
23476 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
23477 and build the collation rules upon that.
23479 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
23481 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
23482 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
23483 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
23484 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
23485 instead of __insn__xxx.
23486 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
23487 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
23488 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
23489 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
23490 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
23491 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
23493 2017-12-05 Florian Weimer <fweimer@redhat.com>
23495 Linux: Implement interfaces for memory protection keys
23496 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
23498 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
23499 * support/xunistd.h (xsysconf): Declare.
23500 * support/xraise.c: New file.
23501 * support/xsigaction.c: Likewise.
23502 * support/xsignal.c: Likewise.
23503 * support/xsysconf.c: Likewise.
23504 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
23505 pkey_set, pkey_get, pkey_mprotect.
23506 [misc] (tests): Add tst-pkey.
23507 (tst-pkey): Link with -lpthread.
23508 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
23509 pkey_free, pkey_set, pkey_get, pkey_mprotect.
23510 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
23511 (PKEY_DISABLE_WRITE): Define.
23512 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
23514 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
23515 (SEGV_PKUERR): Add.
23516 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
23517 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
23518 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
23519 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
23521 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
23522 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
23523 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
23524 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
23525 * sysdeps/unix/sysv/linux/**.abilist: Update.
23527 2017-12-05 Florian Weimer <fweimer@redhat.com>
23529 * support/tst-test_compare.c (subprocess): Use long long instead
23530 of long argument for consistent type width across 32-bit and
23531 64-bit architectures.
23532 (do_test): Adjust expected output.
23534 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23536 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
23537 (cosf): Define using libm_alias_float.
23538 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
23539 (fabsf): Define using libm_alias_float.
23540 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
23541 (fmaf): Define using libm_alias_float.
23542 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
23543 (rintf): Define using libm_alias_float.
23544 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
23545 (sinf): Define using libm_alias_float.
23546 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
23547 <libm-alias-float.h>.
23548 (modff): Define using libm_alias_float.
23549 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
23550 <libm-alias-float.h>.
23551 (logbf): Define using libm_alias_float.
23552 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
23553 <libm-alias-float.h>.
23554 (ceilf): Define using libm_alias_float.
23555 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23556 <libm-alias-float.h>.
23557 (copysignf): Define using libm_alias_float.
23558 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
23559 <libm-alias-float.h>.
23560 (floorf): Define using libm_alias_float.
23561 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23562 <libm-alias-float.h>.
23563 (llrintf): Define using libm_alias_float.
23564 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23565 <libm-alias-float.h>.
23566 (llroundf): Define using libm_alias_float.
23567 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23568 <libm-alias-float.h>.
23569 (lrintf): Define using libm_alias_float.
23570 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23571 <libm-alias-float.h>.
23572 (lroundf): Define using libm_alias_float.
23573 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
23574 <libm-alias-float.h>.
23575 (nearbyintf): Define using libm_alias_float.
23576 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
23577 <libm-alias-float.h>.
23578 (rintf): Define using libm_alias_float.
23579 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
23580 <libm-alias-float.h>.
23581 (roundf): Define using libm_alias_float.
23582 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
23583 <libm-alias-float.h>.
23584 (truncf): Define using libm_alias_float.
23585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
23586 Include <libm-alias-float.h>.
23587 (ceilf): Define using libm_alias_float.
23588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
23589 Include <libm-alias-float.h>.
23590 (copysignf): Define using libm_alias_float.
23591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
23592 Include <libm-alias-float.h>.
23593 (floorf): Define using libm_alias_float.
23594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
23595 Include <libm-alias-float.h>.
23596 (llrintf): Define using libm_alias_float.
23597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
23598 Include <libm-alias-float.h>.
23599 (llroundf): Define using libm_alias_float.
23600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
23601 Include <libm-alias-float.h>.
23602 (logbf): Define using libm_alias_float.
23603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
23604 Include <libm-alias-float.h>.
23605 (lrintf): Define using libm_alias_float.
23606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
23607 Include <libm-alias-float.h>.
23608 (lroundf): Define using libm_alias_float.
23609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
23610 Include <libm-alias-float.h>.
23611 (modff): Define using libm_alias_float.
23612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
23613 Include <libm-alias-float.h>.
23614 (roundf): Define using libm_alias_float.
23615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
23616 Include <libm-alias-float.h>.
23617 (truncf): Define using libm_alias_float.
23618 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
23619 <libm-alias-float.h>.
23620 (llrintf): Define using libm_alias_float.
23621 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23622 <libm-alias-float.h>.
23623 (llroundf): Define using libm_alias_float.
23624 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
23625 <libm-alias-float.h>.
23626 (ceilf): Define using libm_alias_float.
23627 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
23628 <libm-alias-float.h>.
23629 (floorf): Define using libm_alias_float.
23630 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23631 <libm-alias-float.h>.
23632 (llroundf): Define using libm_alias_float.
23633 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23634 <libm-alias-float.h>.
23635 (lroundf): Define using libm_alias_float.
23636 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
23637 <libm-alias-float.h>.
23638 (roundf): Define using libm_alias_float.
23639 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
23640 <libm-alias-float.h>.
23641 (truncf): Define using libm_alias_float.
23642 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23643 <libm-alias-float.h>.
23644 (copysignf): Define using libm_alias_float.
23645 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
23646 <libm-alias-float.h>.
23647 (llrintf): Define using libm_alias_float.
23648 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23649 <libm-alias-float.h>.
23650 (llroundf): Define using libm_alias_float.
23651 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23652 <libm-alias-float.h>.
23653 (lrintf): Define using libm_alias_float.
23654 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23655 <libm-alias-float.h>.
23656 (lroundf): Define using libm_alias_float.
23657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
23658 <libm-alias-float.h>.
23659 (ceilf): Define using libm_alias_float.
23660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
23661 <libm-alias-float.h>.
23662 (copysignf): Define using libm_alias_float.
23663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
23664 <libm-alias-float.h>.
23665 (cosf): Define using libm_alias_float.
23666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
23667 <libm-alias-float.h>.
23668 (floorf): Define using libm_alias_float.
23669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
23670 <libm-alias-float.h>.
23671 (llrintf): Define using libm_alias_float.
23672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
23673 <libm-alias-float.h>.
23674 (llroundf): Define using libm_alias_float.
23675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
23676 <libm-alias-float.h>.
23677 (logbf): Define using libm_alias_float.
23678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
23679 <libm-alias-float.h>.
23680 (modff): Define using libm_alias_float.
23681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
23682 <libm-alias-float.h>.
23683 (roundf): Define using libm_alias_float.
23684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
23685 <libm-alias-float.h>.
23686 (sinf): Define using libm_alias_float.
23687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
23688 <libm-alias-float.h>.
23689 (truncf): Define using libm_alias_float.
23690 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
23691 <libm-alias-float.h>.
23692 (ceilf): Define using libm_alias_float.
23693 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23694 <libm-alias-float.h>.
23695 (copysignf): Define using libm_alias_float.
23696 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
23697 <libm-alias-float.h>.
23698 (floorf): Define using libm_alias_float.
23699 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23700 <libm-alias-float.h>.
23701 (llrintf): Define using libm_alias_float.
23702 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
23703 <libm-alias-float.h>.
23704 (llroundf): Define using libm_alias_float.
23705 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
23706 <libm-alias-float.h>.
23707 (nearbyintf): Define using libm_alias_float.
23708 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
23709 <libm-alias-float.h>.
23710 (rintf): Define using libm_alias_float.
23711 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
23712 <libm-alias-float.h>.
23713 (roundf): Define using libm_alias_float.
23714 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
23715 <libm-alias-float.h>.
23716 (truncf): Define using libm_alias_float.
23717 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
23718 <libm-alias-float.h>.
23719 (ceilf): Define using libm_alias_float.
23720 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
23721 <libm-alias-float.h>.
23722 (floorf): Define using libm_alias_float.
23723 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23724 <libm-alias-float.h>.
23725 (llroundf): Define using libm_alias_float.
23726 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
23727 <libm-alias-float.h>.
23728 (roundf): Define using libm_alias_float.
23729 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
23730 <libm-alias-float.h>.
23731 (truncf): Define using libm_alias_float.
23732 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23733 <libm-alias-float.h>.
23734 (copysignf): Define using libm_alias_float.
23735 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23736 <libm-alias-float.h>.
23737 (llrintf): Define using libm_alias_float.
23738 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23739 <libm-alias-float.h>.
23740 (llroundf): Define using libm_alias_float.
23741 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
23742 <libm-alias-float.h>.
23743 (cosf): Define using libm_alias_float.
23744 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23745 <libm-alias-float.h>.
23746 (llrintf): Define using libm_alias_float.
23747 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23748 <libm-alias-float.h>.
23749 (llroundf): Define using libm_alias_float.
23750 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
23751 <libm-alias-float.h>.
23752 (sinf): Define using libm_alias_float.
23754 2017-12-04 Florian Weimer <fweimer@redhat.com>
23756 * support/check.h (TEST_COMPARE): Define.
23757 (support_test_compare_failure): Declare.
23758 * support/Makefile (libsupport-routines): Add
23759 support_test_compare_failure.
23760 (tests): Add tst-test_compare.
23761 * support /support_test_compare_failure.c: New file.
23762 * support/tst-test_compare.c: Likewise.
23764 2017-12-04 Mike FABIAN <mfabian@redhat.com>
23767 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
23768 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
23769 available, this rewrite of the collation rules does reproduce
23770 the test file in the same order.
23772 2017-12-04 Mike FABIAN <mfabian@redhat.com>
23775 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
23776 digraphs in the month and day names. Using single code points for
23777 digraphs is deprecated. While there are dedicated Unicode
23778 codepoints, for the digraphs, these are included for backwards
23779 compatibility and modern texts use a sequence of Basic Latin
23780 characters. See: https://www.unicode.org/faq/ligature_digraph.html
23781 This makes the month and day names agree exactly with CLDR now,
23782 CLDR does not use the single code points for the digraphs either.
23784 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
23786 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
23788 2017-12-04 Joseph Myers <joseph@codesourcery.com>
23790 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
23793 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
23795 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
23796 Define only for libc.so.
23798 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
23800 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23801 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
23802 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
23803 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
23804 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23806 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23809 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
23811 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
23814 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
23815 PREINIT_FUNCTION_WEAK is nonzero.
23816 (gmon_initializer): New function. Put procedure label for it in
23817 .init_array section.
23818 (_init): Don't call PREINIT_FUNCTION.
23819 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
23820 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
23821 value when map argument is null.
23823 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
23824 depi instruction from PIC pc-relative sequence.
23825 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
23826 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
23827 (elf_machine_load_address): Likewise.
23828 (elf_machine_runtime_setup): Likewise.
23830 2017-12-02 Joseph Myers <joseph@codesourcery.com>
23832 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
23833 <libm-alias-double.h>.
23834 (logb): Define using libm_alias_double.
23835 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23836 <libm-alias-double.h>.
23837 (copysign): Define using libm_alias_double.
23838 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
23839 <libm-alias-double.h>.
23840 (llrint): Define using libm_alias_double.
23841 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
23842 <libm-alias-double.h>.
23843 (llround): Define using libm_alias_double.
23844 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23845 <libm-alias-double.h>.
23846 (lrint): Define using libm_alias_double.
23847 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23848 <libm-alias-double.h>.
23849 (lround): Define using libm_alias_double.
23850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23851 Include <libm-alias-double.h>.
23852 (copysign): Define using libm_alias_double.
23853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
23854 Include <libm-alias-double.h>.
23855 (llrint): Define using libm_alias_double.
23856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
23857 Include <libm-alias-double.h>.
23858 (llround): Define using libm_alias_double.
23859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
23860 <libm-alias-double.h>.
23861 (logb): Define using libm_alias_double.
23862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
23863 Include <libm-alias-double.h>.
23864 (lrint): Define using libm_alias_double.
23865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
23866 Include <libm-alias-double.h>.
23867 (lround): Define using libm_alias_double.
23868 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
23869 <libm-alias-double.h>.
23870 (llrint): Define using libm_alias_double.
23871 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23872 <libm-alias-double.h>.
23873 (llround): Define using libm_alias_double.
23874 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23875 <libm-alias-double.h>.
23876 (llround): Define using libm_alias_double.
23877 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23878 <libm-alias-double.h>.
23879 (lround): Define using libm_alias_double.
23880 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23881 <libm-alias-double.h>.
23882 (copysign): Define using libm_alias_double.
23883 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
23884 <libm-alias-double.h>.
23885 (llrint): Define using libm_alias_double.
23886 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23887 <libm-alias-double.h>.
23888 (llround): Define using libm_alias_double.
23889 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23890 <libm-alias-double.h>.
23891 (lrint): Define using libm_alias_double.
23892 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23893 <libm-alias-double.h>.
23894 (lround): Define using libm_alias_double.
23895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
23896 <libm-alias-double.h>.
23897 (copysign): Define using libm_alias_double.
23898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
23899 <libm-alias-double.h>.
23900 (llrint): Define using libm_alias_double.
23902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
23903 <libm-alias-double.h>.
23904 (llround): Define using libm_alias_double.
23905 (lround): Likewise.
23906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
23907 <libm-alias-double.h>.
23908 (logb): Define using libm_alias_double.
23909 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23910 <libm-alias-double.h>.
23911 (copysign): Define using libm_alias_double.
23912 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23913 <libm-alias-double.h>.
23914 (llrint): Define using libm_alias_double.
23916 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
23917 <libm-alias-double.h>.
23918 (llround): Define using libm_alias_double.
23919 (lround): Likewise.
23920 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23921 <libm-alias-double.h>.
23922 (llround): Define using libm_alias_double.
23923 (lround): Likewise.
23924 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23925 <libm-alias-double.h>.
23926 (copysign): Define using libm_alias_double.
23927 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23928 <libm-alias-double.h>.
23929 (llrint): Define using libm_alias_double.
23931 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23932 <libm-alias-double.h>.
23933 (llround): Define using libm_alias_double.
23934 (lround): Likewise.
23935 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23936 <libm-alias-double.h>.
23937 (llrint): Define using libm_alias_double.
23939 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23940 <libm-alias-double.h>.
23941 (llround): Define using libm_alias_double.
23942 (lround): Likewise.
23944 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23947 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
23948 compat symbol based on llround.
23950 * sysdeps/powerpc/power7/fpu/s_logb.c
23951 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
23952 symbol based on __logb, not on logb.
23953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
23954 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
23956 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23958 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
23959 (rint): Define using libm_alias_double.
23960 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
23961 <libm-alias-double.h>.
23962 (modf): Define using libm_alias_double.
23963 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
23964 <libm-alias-double.h>.
23965 (ceil): Define using libm_alias_double.
23966 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
23967 <libm-alias-double.h>.
23968 (floor): Define using libm_alias_double.
23969 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
23970 <libm-alias-double.h>.
23971 (nearbyint): Define using libm_alias_double.
23972 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
23973 <libm-alias-double.h>.
23974 (rint): Define using libm_alias_double.
23975 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
23976 <libm-alias-double.h>.
23977 (round): Define using libm_alias_double.
23978 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
23979 <libm-alias-double.h>.
23980 (trunc): Define using libm_alias_double.
23981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
23982 <libm-alias-double.h>.
23983 (ceil): Define using libm_alias_double.
23984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
23985 Include <libm-alias-double.h>.
23986 (floor): Define using libm_alias_double.
23987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
23988 <libm-alias-double.h>.
23989 (modf): Define using libm_alias_double.
23990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
23991 Include <libm-alias-double.h>.
23992 (round): Define using libm_alias_double.
23993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
23994 Include <libm-alias-double.h>.
23995 (trunc): Define using libm_alias_double.
23996 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
23997 <libm-alias-double.h>.
23998 (ceil): Define using libm_alias_double.
23999 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
24000 <libm-alias-double.h>.
24001 (floor): Define using libm_alias_double.
24002 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
24003 <libm-alias-double.h>.
24004 (round): Define using libm_alias_double.
24005 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
24006 <libm-alias-double.h>.
24007 (trunc): Define using libm_alias_double.
24008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
24009 <libm-alias-double.h>.
24010 (ceil): Define using libm_alias_double.
24011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
24012 <libm-alias-double.h>.
24013 (floor): Define using libm_alias_double.
24014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
24015 <libm-alias-double.h>.
24016 (modf): Define using libm_alias_double.
24017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
24018 <libm-alias-double.h>.
24019 (round): Define using libm_alias_double.
24020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
24021 <libm-alias-double.h>.
24022 (trunc): Define using libm_alias_double.
24023 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
24024 <libm-alias-double.h>.
24025 (ceil): Define using libm_alias_double.
24026 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
24027 <libm-alias-double.h>.
24028 (floor): Define using libm_alias_double.
24029 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
24030 <libm-alias-double.h>.
24031 (nearbyint): Define using libm_alias_double.
24032 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
24033 <libm-alias-double.h>.
24034 (rint): Define using libm_alias_double.
24035 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
24036 <libm-alias-double.h>.
24037 (round): Define using libm_alias_double.
24038 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
24039 <libm-alias-double.h>.
24040 (trunc): Define using libm_alias_double.
24041 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
24042 <libm-alias-double.h>.
24043 (ceil): Define using libm_alias_double.
24044 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
24045 <libm-alias-double.h>.
24046 (floor): Define using libm_alias_double.
24047 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
24048 <libm-alias-double.h>.
24049 (round): Define using libm_alias_double.
24050 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
24051 <libm-alias-double.h>.
24052 (trunc): Define using libm_alias_double.
24054 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
24055 (fabs): Define using libm_alias_double.
24056 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
24057 (fma): Define using libm_alias_double.
24058 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
24059 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
24060 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
24061 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
24063 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24065 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
24067 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
24068 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
24069 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
24072 due redirect macro.
24074 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
24076 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
24078 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24080 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
24081 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
24082 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
24083 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
24085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24086 (libm-sysdep_routines): Add s_nearbyintf-generic and
24087 s_nearbyint-generic.
24088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
24090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
24091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
24093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
24095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
24097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24101 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
24102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
24104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
24105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
24107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
24108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
24109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24112 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
24113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
24115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
24116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
24118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
24119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
24120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
24122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24123 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
24124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
24126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
24127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
24129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
24130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
24131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24134 (sysdep_calls): New rule.
24135 (sysdep_routines): Use sysdep_calls as base.
24136 (libm-sysdep_routines): Add generic rule for symbols shared with
24137 libc. Add s_copysign-generic and s_copysign-generic objects.
24138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
24140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
24141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
24143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
24144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
24145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
24147 2017-12-01 Mike FABIAN <mfabian@redhat.com>
24150 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
24151 the list of locales to be built for testing.
24152 * localedata/is_IS.UTF-8.in: New file.
24153 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
24156 2017-12-01 Joseph Myers <joseph@codesourcery.com>
24158 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
24159 <libm-alias-float.h>.
24160 (fabsf): Define using libm_alias_float.
24162 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24164 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
24166 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24168 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
24169 <libm-alias-float.h>.
24170 (fabsf): Define using libm_alias_float.
24171 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
24172 <libm-alias-float.h>.
24173 (lrintf): Define using libm_alias_float.
24174 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
24175 <libm-alias-float.h>.
24176 (rintf): Define using libm_alias_float.
24178 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
24179 <libm-alias-double.h>.
24180 (fabs): Define using libm_alias_double.
24181 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
24182 <libm-alias-double.h>.
24183 (lrint): Define using libm_alias_double.
24184 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
24185 <libm-alias-double.h>.
24186 (rint): Define using libm_alias_double.
24188 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
24189 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
24190 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
24191 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
24192 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
24193 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
24194 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
24195 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
24196 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
24197 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
24198 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
24199 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
24200 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
24201 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
24202 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
24203 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
24204 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
24205 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
24207 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
24208 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
24209 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
24211 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
24212 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
24213 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
24215 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
24216 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
24217 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
24218 s_expm1_template.c.
24219 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
24220 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
24221 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
24223 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
24224 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
24225 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
24226 s_floor_template.c.
24227 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
24228 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
24229 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
24230 s_frexp_template.c.
24231 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
24232 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
24233 s_lrint_template.c.
24234 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
24235 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
24236 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
24238 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
24239 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
24240 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
24241 s_nearbyint_template.c.
24242 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
24243 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
24244 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
24245 s_remquo_template.c.
24246 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
24247 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
24248 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
24250 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
24251 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
24252 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
24254 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
24255 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
24256 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
24257 s_sincos_template.c.
24258 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
24259 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
24260 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
24262 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
24263 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
24264 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
24266 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
24267 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
24268 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
24269 s_trunc_template.c.
24270 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
24271 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
24272 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
24273 s_atan.c instead of including s_atan.c.
24274 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
24275 s_atanf.c instead of including s_atanf.c.
24276 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
24277 s_atanl.c instead of including s_atanl.c.
24278 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
24279 instead of s_atan.c.
24280 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
24281 instead of s_atanf.c.
24282 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
24283 instead of s_atanl.c.
24285 * scripts/update-copyrights: Do not handle intl/plural.c
24288 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
24291 * configure.ac (BISON): Require to be present.
24292 * configure: Regenerated.
24293 * intl/Makefile (generated): Add plural.c.
24294 [$(BISON) != no]: Make code unconditional.
24295 (plural.c): Change rule to $(objpfx)plural.c.
24296 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
24297 * intl/plural.c: Remove.
24298 * manual/install.texi (Tools for Compilation): Document bison as
24300 * INSTALL: Regenerated.
24302 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24304 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
24305 <libm-alias-double.h>.
24306 (llrint): Define using libm_alias_double.
24307 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
24308 <libm-alias-float.h>.
24309 (llrintf): Define using libm_alias_float.
24310 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
24311 <libm-alias-ldouble.h>.
24312 (llrintl): Define using libm_alias_ldouble.
24314 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
24315 declare_mgen_alias instead of weak_alias.
24316 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
24317 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
24318 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
24320 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24322 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24324 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
24325 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
24326 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
24328 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24329 Add submul_1-generic.
24330 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
24331 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
24332 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
24334 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24335 Add addmul_1-generic.
24336 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
24337 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
24338 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
24340 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24342 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
24343 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
24344 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
24346 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24348 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
24349 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
24350 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
24352 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24354 According to CLDR, collation rules for Serbian and Bosnian
24355 should be the same as for Croatian.
24358 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
24359 and to the list of locales to be built for testing.
24360 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24361 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24362 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
24363 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
24365 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24367 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
24368 to make test case pass.
24369 * localedata/hr_HR.UTF-8.in: Add more test strings.
24371 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24373 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
24375 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
24377 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
24378 the list of locales to built for testing.
24379 * localedata/hr_HR.UTF-8.in: New file.
24381 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
24384 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
24386 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
24387 CLDR (except use ligatures for the digraphs, CLDR does not use
24388 the ligatures), add first_workday, some fixes in the date and time
24390 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
24392 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
24393 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
24394 Add int_p_cs_precedes and int_n_cs_precedes.
24395 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
24396 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
24398 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
24399 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
24401 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
24402 and lang_lib. Change postal_fmt.
24404 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24406 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
24408 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24409 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
24410 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24411 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
24412 * sysdeps/generic/setjmpP.h: New file.
24413 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
24414 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
24415 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
24416 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
24417 Add jmp_buf-ssp.sym.
24418 (tests): Add tst-saved_mask-1.
24420 2017-11-30 Arjun Shankar <arjun@redhat.com>
24424 * malloc/malloc.c (__libc_malloc): Use checked_request2size
24425 instead of request2size.
24427 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
24430 (__lllrint): Remove alias.
24431 (lllrint): Likewise.
24432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
24433 (__lllrintf): Likewise.
24434 (lllrintf): Likewise.
24436 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
24437 <libm-alias-float.h>.
24438 (copysignf): Define using libm_alias_float.
24439 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
24440 <libm-alias-float.h>.
24441 (fabsf): Define using libm_alias_float.
24442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24443 Include <libm-alias-float.h>.
24444 (copysignf): Define using libm_alias_float.
24445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
24446 <libm-alias-float.h>.
24447 (fabsf): Define using libm_alias_float.
24448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
24449 <libm-alias-float.h>.
24450 (fdimf): Define using libm_alias_float.
24451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
24452 <libm-alias-float.h>.
24453 (fmaf): Define using libm_alias_float.
24454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
24455 <libm-alias-float.h>.
24456 (llrintf): Define using libm_alias_float.
24457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24458 Include <libm-alias-float.h>.
24459 (nearbyintf): Define using libm_alias_float.
24460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
24461 <libm-alias-float.h>.
24462 (rintf): Define using libm_alias_float.
24463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
24464 <libm-alias-float.h>.
24465 (llrintf): Define using libm_alias_float.
24466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
24467 <libm-alias-float.h>.
24468 (lrintf): Define using libm_alias_float.
24469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
24470 <libm-alias-float.h>.
24471 (nearbyintf): Define using libm_alias_float.
24472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
24473 <libm-alias-float.h>.
24474 (rintf): Define using libm_alias_float.
24475 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
24476 <libm-alias-float.h>.
24477 (ceilf): Define using libm_alias_float.
24478 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
24479 <libm-alias-float.h>.
24480 (floorf): Define using libm_alias_float.
24481 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
24482 <libm-alias-float.h>.
24483 (fmaf): Define using libm_alias_float.
24484 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
24485 <libm-alias-float.h>.
24486 (lrintf): Define using libm_alias_float.
24487 (llrintf): Likewise.
24488 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
24489 <libm-alias-float.h>.
24490 (nearbyintf): Define using libm_alias_float.
24491 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
24492 <libm-alias-float.h>.
24493 (rintf): Define using libm_alias_float.
24494 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
24495 <libm-alias-float.h>.
24496 (truncf): Define using libm_alias_float.
24497 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
24498 <libm-alias-float.h>.
24499 (copysignf): Define using libm_alias_float.
24500 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
24501 <libm-alias-float.h>.
24502 (fabsf): Define using libm_alias_float.
24503 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
24504 <libm-alias-float.h>.
24505 (lrintf): Define using libm_alias_float.
24506 (llrintf): Likewise.
24507 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
24508 <libm-alias-float.h>.
24509 (nearbyintf): Define using libm_alias_float.
24510 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
24511 <libm-alias-float.h>.
24512 (rintf): Define using libm_alias_float.
24514 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24516 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24517 <libm-alias-double.h>.
24518 (copysign): Define using libm_alias_double.
24519 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
24520 <libm-alias-double.h>.
24521 (fabs): Define using libm_alias_double.
24522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24523 Include <libm-alias-double.h>.
24524 (copysign): Define using libm_alias_double.
24525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24526 <libm-alias-double.h>.
24527 (fabs): Define using libm_alias_double.
24528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
24529 <libm-alias-double.h>.
24530 (fdim): Define using libm_alias_double.
24531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
24532 <libm-alias-double.h>.
24533 (fma): Define using libm_alias_double.
24534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
24535 <libm-alias-double.h>.
24536 (llrint): Define using libm_alias_double.
24537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
24538 Include <libm-alias-double.h>.
24539 (nearbyint): Define using libm_alias_double.
24540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
24541 <libm-alias-double.h>.
24542 (rint): Define using libm_alias_double.
24543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24544 <libm-alias-double.h>.
24545 (fabs): Define using libm_alias_double.
24546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
24547 <libm-alias-double.h>.
24548 (llrint): Define using libm_alias_double.
24549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
24550 <libm-alias-double.h>.
24551 (nearbyint): Define using libm_alias_double.
24552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
24553 <libm-alias-double.h>.
24554 (rint): Define using libm_alias_double.
24555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
24556 <libm-alias-double.h>.
24557 (ceil): Define using libm_alias_double.
24558 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
24559 <libm-alias-double.h>.
24560 (floor): Define using libm_alias_double.
24561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
24562 <libm-alias-double.h>.
24563 (fma): Define using libm_alias_double.
24564 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
24565 <libm-alias-double.h>.
24566 (lrint): Define using libm_alias_double.
24567 (llrint): Likewise.
24568 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
24569 <libm-alias-double.h>.
24570 (nearbyint): Define using libm_alias_double.
24571 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
24572 <libm-alias-double.h>.
24573 (rint): Define using libm_alias_double.
24574 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
24575 <libm-alias-double.h>.
24576 (trunc): Define using libm_alias_double.
24577 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
24578 <libm-alias-double.h>.
24579 (copysign): Define using libm_alias_double.
24580 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
24581 <libm-alias-double.h>.
24582 (fabs): Define using libm_alias_double.
24583 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
24584 <libm-alias-double.h>.
24585 (lrint): Define using libm_alias_double.
24586 (llrint): Likewise.
24587 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
24588 <libm-alias-double.h>.
24589 (nearbyint): Define using libm_alias_double.
24590 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
24591 <libm-alias-double.h>.
24592 (rint): Define using libm_alias_double.
24595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24597 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24599 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24600 SPARC --disable-multi-arch glibc variants.
24602 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
24603 <libm-alias-float.h>.
24604 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24606 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
24607 <libm-alias-float.h>.
24608 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24610 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
24611 <libm-alias-float.h>.
24612 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24614 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
24615 <libm-alias-float.h>.
24616 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24618 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
24619 <libm-alias-float.h>.
24620 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24622 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
24623 <libm-alias-float.h>.
24624 (ceilf): Define using libm_alias_float.
24625 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
24626 <libm-alias-float.h>.
24627 (floorf): Define using libm_alias_float.
24628 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
24629 <libm-alias-float.h>.
24630 (fmaf): Define using libm_alias_float.
24631 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
24632 <libm-alias-float.h>.
24633 (nearbyintf): Define using libm_alias_float.
24634 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
24635 <libm-alias-float.h>.
24636 (rintf): Define using libm_alias_float.
24637 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
24638 <libm-alias-float.h>.
24639 (truncf): Define using libm_alias_float.
24640 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24641 (copysignf): Define using libm_alias_float.
24642 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
24643 (cosf): Define using libm_alias_float.
24644 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24645 (fabsf): Define using libm_alias_float.
24646 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24647 (fmaxf): Define using libm_alias_float.
24648 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
24649 (fminf): Define using libm_alias_float.
24650 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24651 (llrintf): Define using libm_alias_float.
24652 [!__ILP32__] (lrintf): Likewise.
24653 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
24654 (sincosf): Define using libm_alias_float.
24655 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
24656 (sinf): Define using libm_alias_float.
24657 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24658 (lrintf): Define using libm_alias_float.
24660 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
24661 <libm-alias-double.h>.
24662 (atan): Define using libm_alias_double.
24663 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
24664 <libm-alias-double.h>.
24665 (ceil): Define using libm_alias_double.
24666 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
24667 <libm-alias-double.h>.
24668 (floor): Define using libm_alias_double.
24669 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
24670 <libm-alias-double.h>.
24671 (fma): Define using libm_alias_double.
24672 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
24673 <libm-alias-double.h>.
24674 (nearbyint): Define using libm_alias_double.
24675 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
24676 <libm-alias-double.h>.
24677 (rint): Define using libm_alias_double.
24678 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
24679 <libm-alias-double.h>.
24680 (sin): Define using libm_alias_double.
24682 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
24683 <libm-alias-double.h>.
24684 (tan): Define using libm_alias_double.
24685 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
24686 <libm-alias-double.h>.
24687 (trunc): Define using libm_alias_double.
24688 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
24689 (copysign): Define using libm_alias_double.
24690 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
24691 (fabs): Define using libm_alias_double.
24692 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
24693 (fmax): Define using libm_alias_double.
24694 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
24695 (fmin): Define using libm_alias_double.
24696 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
24697 (llrint): Define using libm_alias_double.
24698 [!__ILP32__] (lrint): Likewise.
24699 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
24700 (lrint): Define using libm_alias_double.
24702 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24704 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24705 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
24707 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
24708 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
24709 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
24710 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
24711 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
24712 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24714 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24715 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
24717 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
24718 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
24719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
24720 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
24721 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
24722 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24724 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24725 (libm-sysdep_routines): Add s_nearbyint-generic and
24726 s_nearbyintf-generic objects.
24727 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
24728 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
24729 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
24730 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
24731 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
24732 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
24734 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24735 Add s_finitef-generic and s_finite-generic objects.
24736 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
24737 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
24738 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
24739 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
24740 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
24741 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
24743 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24744 Add s_isinff-generic and s_isinf-generic objects.
24745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
24746 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
24747 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
24748 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
24749 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
24750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24752 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24753 Add s_isnanf-generic and s_isnan-generic objects.
24754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
24755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
24756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
24757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
24758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
24759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24761 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
24763 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
24765 (sysdep_routines): Use sysdep_calls as base.
24766 (libm-sysdep_routines): Add generic rule for symbols shared with
24767 libc. Add s_signbit-generic and s_signbitf-generic objects.
24768 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
24769 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
24770 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
24771 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
24772 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
24773 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24775 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24777 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
24778 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
24779 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
24780 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
24781 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
24782 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
24783 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
24784 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
24785 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
24786 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
24787 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
24788 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
24789 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
24790 libm_alias_float_r.
24791 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
24792 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
24794 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
24795 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
24796 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
24797 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
24798 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
24799 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
24800 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
24801 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
24802 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
24803 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
24805 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
24807 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
24808 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
24809 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
24810 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
24811 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
24812 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
24813 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
24814 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
24815 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
24816 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
24817 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
24818 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
24819 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
24820 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
24821 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
24822 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
24823 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
24824 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
24825 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
24827 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
24828 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
24829 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
24830 * sysdeps/ia64/fpu/w_lgammaf_main.c
24831 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
24832 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
24834 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24835 Alexandre Oliva <aoliva@redhat.com>
24838 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
24839 * localedata/fr_CA.UTF-8.in: New file with test data for backward
24841 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
24843 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
24844 * localedata/locales/de_DE (LC_COLLATE): Likewise.
24845 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
24846 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
24847 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
24848 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
24849 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
24850 instead of “ifdef DIACRIT_BACKWARD”.
24852 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24854 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
24855 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
24856 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
24857 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
24858 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
24859 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
24860 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
24861 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
24862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
24863 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
24864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
24865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
24866 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
24867 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
24868 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
24869 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24870 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
24871 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
24872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24873 ($(have-as-vis3) == yes): Remove conditional.
24874 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
24876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
24878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
24880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
24882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
24884 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
24885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
24886 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
24887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
24888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
24889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
24890 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
24891 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
24893 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24895 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
24896 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
24897 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
24898 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
24899 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
24900 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
24901 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
24902 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
24903 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
24904 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
24905 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
24906 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
24907 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
24908 libm_alias_double_r.
24909 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
24911 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
24912 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
24913 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
24914 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
24915 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
24916 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
24917 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
24918 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
24919 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
24920 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
24921 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
24923 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
24925 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
24926 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
24927 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
24928 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
24929 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
24930 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
24931 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
24932 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
24933 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
24934 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
24935 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
24936 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
24937 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
24938 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
24939 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
24940 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
24941 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
24942 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
24944 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
24945 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
24946 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
24947 * sysdeps/ia64/fpu/w_lgamma_main.c
24948 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
24949 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
24951 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
24953 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
24954 address of $global$ into %dp register earlier. Use pc-relative
24955 instruction sequence for PIC case.
24957 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24959 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
24960 (asinhf): Define using libm_alias_float.
24961 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
24962 (atanf): Define using libm_alias_float.
24963 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
24964 (cbrtf): Define using libm_alias_float.
24965 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
24966 (ceilf): Define using libm_alias_float.
24967 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24968 (copysignf): Define using libm_alias_float.
24969 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
24970 (expm1f): Define using libm_alias_float.
24971 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
24972 (fabsf): Define using libm_alias_float.
24973 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
24974 (floorf): Define using libm_alias_float.
24975 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24976 (fmaxf): Define using libm_alias_float.
24977 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
24978 (fminf): Define using libm_alias_float.
24979 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
24980 (frexpf): Define using libm_alias_float.
24981 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24982 (llrintf): Define using libm_alias_float.
24983 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
24984 (logbf): Define using libm_alias_float.
24985 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24986 (lrintf): Define using libm_alias_float.
24987 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
24988 (nearbyintf): Define using libm_alias_float.
24989 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
24990 (remquof): Define using libm_alias_float.
24991 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
24992 (rintf): Define using libm_alias_float.
24993 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
24994 (truncf): Define using libm_alias_float.
24995 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
24996 <libm-alias-float.h>.
24997 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24999 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
25000 <libm-alias-float.h>.
25001 (expf): Define using libm_alias_float, or libm_alias_float_other
25003 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
25004 <libm-alias-float.h>.
25005 (log2f): Define using libm_alias_float, or libm_alias_float_other
25007 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
25008 <libm-alias-float.h>.
25009 (logf): Define using libm_alias_float, or libm_alias_float_other
25011 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
25012 <libm-alias-float.h>.
25013 (powf): Define using libm_alias_float, or libm_alias_float_other
25015 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
25016 <libm-alias-float.h>.
25017 (cosf): Define using libm_alias_float.
25018 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
25019 <libm-alias-float.h>.
25020 (sincosf): Define using libm_alias_float.
25021 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
25022 <libm-alias-float.h>.
25023 (sinf): Define using libm_alias_float.
25024 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25025 (fmaxf): Define using libm_alias_float.
25026 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
25027 (fminf): Define using libm_alias_float.
25028 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25029 <libm-alias-float.h>.
25030 (fmaf): Define using libm_alias_float.
25032 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
25033 (asinh): Define using libm_alias_double.
25034 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
25035 (atan): Define using libm_alias_double.
25036 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
25037 (cbrt): Define using libm_alias_double.
25038 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
25039 (ceil): Define using libm_alias_double.
25040 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
25041 (copysign): Define using libm_alias_double.
25042 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
25043 (expm1): Define using libm_alias_double.
25044 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
25045 (fabs): Define using libm_alias_double.
25046 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
25047 (fdim): Define using libm_alias_double.
25048 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
25049 (floor): Define using libm_alias_double.
25050 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
25051 (fmax): Define using libm_alias_double.
25052 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
25053 (fmin): Define using libm_alias_double.
25054 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
25055 (frexp): Define using libm_alias_double.
25056 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
25057 (llrint): Define using libm_alias_double.
25058 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
25059 (logb): Define using libm_alias_double.
25060 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
25061 (lrint): Define using libm_alias_double.
25062 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
25063 (nearbyint): Define using libm_alias_double.
25064 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
25065 (remquo): Define using libm_alias_double.
25066 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
25067 (rint): Define using libm_alias_double.
25068 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
25069 (trunc): Define using libm_alias_double.
25070 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
25071 (fmax): Define using libm_alias_double.
25072 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
25073 (fmin): Define using libm_alias_double.
25074 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
25075 (fma): Define using libm_alias_double.
25077 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
25080 * elf/dl-hwcaps.c (ROUND): Removed.
25081 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
25082 and ELF_NOTE_NEXT_OFFSET.
25083 * elf/dl-load.c (ROUND): Removed.
25084 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25085 * elf/readelflib.c (ROUND): Removed.
25086 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25087 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
25088 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
25089 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
25091 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25093 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25094 [!__fmaf] (fmaf): Define using libm_alias_float.
25096 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
25097 [!__fma] (fma): Define using libm_alias_double.
25098 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
25100 2017-11-28 Mike FABIAN <mfabian@redhat.com>
25103 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
25104 and implement the collation rules for cs from CLDR on top of that.
25105 * Makefile: Add cs_CZ.UTF-8 to test-input.
25106 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
25108 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
25110 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
25112 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25113 Icarus Sparry <icarus.w.sparry@intel.com>
25115 * benchtests/Makefile:Add BENCHSET to allow subsets of
25116 benchmarks to be run.
25117 * benchtests/README: Add documentation for: Running subsets of
25120 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25122 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
25123 range of tests names.
25125 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
25126 result from property and remove "max", min" and "mean" from
25127 required properties based on benchtests/bench-skeleton.c.
25129 2017-11-28 Florian Weimer <fweimer@redhat.com>
25132 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
25133 due to Internet requirement.
25134 * posix/Makefile (tests): Remove tst-getaddrinfo4,
25136 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
25138 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25140 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25141 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
25142 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25143 (sysdep_routines): Add memset-ultra1.
25144 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
25146 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
25147 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
25148 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
25149 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
25150 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
25151 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
25152 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
25153 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25155 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
25157 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
25158 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
25159 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
25160 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
25161 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
25162 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
25163 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
25165 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25166 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
25167 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25168 (sysdep_routines): Add memcpy-ultra1.
25169 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
25170 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
25172 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25174 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
25175 (cfloat_versions): Take function argument without trailing 'f'.
25176 Call libm_alias_float_other.
25177 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
25178 * sysdeps/alpha/fpu/cargf.c: Likewise.
25179 * sysdeps/alpha/fpu/cimagf.c: Likewise.
25180 * sysdeps/alpha/fpu/conjf.c: Likewise.
25181 * sysdeps/alpha/fpu/crealf.c: Likewise.
25182 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
25183 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
25184 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
25185 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
25186 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
25187 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
25188 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
25189 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
25190 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
25191 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
25192 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
25193 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
25194 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
25195 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
25196 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
25197 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
25198 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
25199 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
25200 (clog10f): Use libm_alias_float_other.
25201 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25202 (ceilf): Define using libm_alias_float.
25203 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
25204 (copysignf): Define using libm_alias_float.
25205 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25206 (fabsf): Define using libm_alias_float.
25207 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
25208 (floorf): Define using libm_alias_float.
25209 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
25210 (fmaxf): Define using libm_alias_float.
25211 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
25212 (fminf): Define using libm_alias_float.
25213 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25214 (lrintf): Define using libm_alias_float.
25215 (llrintf): Likewise.
25216 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25217 (lroundf): Define using libm_alias_float.
25218 (llroundf): Likewise.
25219 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
25220 (rintf): Define using libm_alias_float.
25221 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
25222 (truncf): Define using libm_alias_float.
25224 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25225 (ceilf): Define using libm_alias_float.
25226 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
25227 (floorf): Define using libm_alias_float.
25228 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25229 (fmaf): Define using libm_alias_float.
25230 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
25231 (fmaxf): Define using libm_alias_float.
25232 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
25233 (fminf): Define using libm_alias_float.
25234 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
25235 (llrintf): Define using libm_alias_float.
25236 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
25237 (llroundf): Define using libm_alias_float.
25238 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25239 (lrintf): Define using libm_alias_float.
25240 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25241 (lroundf): Define using libm_alias_float.
25242 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
25243 <libm-alias-float.h>.
25244 (nearbyintf): Define using libm_alias_float.
25245 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
25246 (rintf): Define using libm_alias_float.
25247 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
25248 (roundf): Define using libm_alias_float.
25249 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
25250 (truncf): Define using libm_alias_float.
25252 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
25253 (ceil): Define using libm_alias_double.
25254 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
25255 (copysign): Define using libm_alias_double.
25256 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
25257 (fabs): Define using libm_alias_double.
25258 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
25259 (floor): Define using libm_alias_double.
25260 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
25261 (fmax): Define using libm_alias_double.
25262 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
25263 (fmin): Define using libm_alias_double.
25264 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
25265 (lrint): Define using libm_alias_double.
25266 (llrint): Likewise.
25267 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
25268 (lround): Define using libm_alias_double.
25269 (llround): Likewise.
25270 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
25271 (rint): Define using libm_alias_double.
25272 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
25273 (trunc): Define using libm_alias_double.
25275 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25276 (libm_alias_double_r): Add semicolon after weak_alias call.
25278 2017-11-27 Joseph Myers <joseph@codesourcery.com>
25280 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
25281 (ceil): Define using libm_alias_double.
25282 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
25283 (floor): Define using libm_alias_double.
25284 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
25285 (fma): Define using libm_alias_double.
25286 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
25287 (fmax): Define using libm_alias_double.
25288 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
25289 (fmin): Define using libm_alias_double.
25290 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
25291 (llrint): Define using libm_alias_double.
25292 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
25293 (llround): Define using libm_alias_double.
25294 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
25295 (lrint): Define using libm_alias_double.
25296 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
25297 (lround): Define using libm_alias_double.
25298 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
25299 (nearbyint): Define using libm_alias_double.
25300 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
25301 (rint): Define using libm_alias_double.
25302 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
25303 (round): Define using libm_alias_double.
25304 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
25305 (trunc): Define using libm_alias_double.
25307 2017-11-27 Florian Weimer <fweimer@redhat.com>
25309 * sysdeps/unix/sysv/linux/mlock2.c: New file.
25310 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
25311 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
25312 (tests): Add tst-mlock2.
25313 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
25314 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
25315 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
25316 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
25317 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
25318 for mlock. Document mlock2.
25320 2017-11-27 Joseph Myers <joseph@codesourcery.com>
25322 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
25323 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
25325 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
25327 * sysdeps/x86/Makeconfig: New file.
25328 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
25329 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25330 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
25331 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25332 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25333 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25334 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
25336 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25337 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25338 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25339 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25340 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25341 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25342 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25343 * manual/math.texi (Mathematics): Document support for _Float64x.
25344 * math/Versions (GLIBC_2.27): Add _Float64x functions.
25345 * stdlib/Versions (GLIBC_2.27): Likewise.
25346 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25347 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25348 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25349 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25350 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25351 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25352 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25353 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25354 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25355 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25356 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25357 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25362 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25363 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25364 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25365 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25366 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25367 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25368 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25369 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25370 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25371 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25372 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25373 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25374 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25375 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25377 2017-11-27 Andreas Schwab <schwab@suse.de>
25379 * elf/Makefile (dl-routines): Add dl-sort-maps.
25380 * elf/dl-sort-maps.c: New file.
25381 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
25382 (_dl_sort_maps): Declare.
25383 * elf/dl-fini.c (_dl_sort_fini): Remove.
25384 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
25385 * elf/dl-close.c (_dl_close_worker): Likewise.
25386 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
25388 * elf/dl-open.c (dl_open_worker): Likewise.
25390 2017-11-24 Joseph Myers <joseph@codesourcery.com>
25392 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
25393 using libm_alias_float128.
25394 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
25396 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
25398 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
25399 (setpayloadsigf128): Likewise.
25400 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
25402 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
25405 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
25406 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
25407 -mfloat128 to CFLAGS.
25409 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
25411 (CFLAGS-libm-test-support-float64x.c): New variable.
25412 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
25413 $(f128-loader-link) to gnulib-tests.
25415 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
25416 (libm_alias_float128_other_r): If
25417 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
25419 (libm_alias_float128_r): Add semicolon after weak_alias call.
25420 * sysdeps/generic/libm-alias-ldouble.h
25421 (libm_alias_ldouble_other_r_f128): New macro.
25422 (libm_alias_ldouble_other_r_f64x): Likewise.
25423 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25424 and libm_alias_ldouble_other_r_f64x.
25425 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
25426 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25427 (libm_alias_ldouble_other_r_f128): New macro.
25428 (libm_alias_ldouble_other_r_f64x): Likewise.
25429 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25430 and libm_alias_ldouble_other_r_f64x.
25432 * stdlib/strfroml.c: Always include <stdlib.h>.
25433 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
25434 undefine as macro and define as weak alias.
25435 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
25436 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
25438 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
25439 Define and later undefine as macro and define as weak alias.
25441 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25442 Define and later undefine as macro. Define as weak alias if
25444 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
25445 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25446 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
25447 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25448 Define and later undefine as macro. Define as weak alias if
25450 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
25451 Define and later undefine as macro. Define as weak alias if
25453 * sysdeps/ieee754/float128/strtof128_l.c
25454 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
25455 Define and later undefine as macro. Define as weak alias if
25457 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
25458 Define and later undefine as macro. Define as weak alias if
25460 * sysdeps/ieee754/ldbl-128/strtold_l.c
25461 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25462 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25463 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25464 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25465 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
25466 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25467 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25468 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25469 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25470 * sysdeps/ieee754/ldbl-96/strtold_l.c
25471 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25472 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25473 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25474 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25476 * math/test-float64x.h: New file.
25477 * math/Makefile (type-float64x-yes): New variable.
25478 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
25480 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
25481 function-like macro.
25482 (min_of_type_): Likewise.
25483 (min_of_type_l): Likewise.
25484 (min_of_type_f128): Likewise.
25485 (min_of_type): Pass () as last argument of __MATH_TG.
25487 * stdlib/tst-strtod-round-skeleton.c
25488 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
25491 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
25492 for combinations of long double with _Float64 and _Float64x.
25494 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
25495 (__DECL_SIMD_cosf32): Likewise.
25496 (__DECL_SIMD_cosf64): Likewise.
25497 (__DECL_SIMD_cosf32x): Likewise.
25498 (__DECL_SIMD_cosf64x): Likewise.
25499 (__DECL_SIMD_cosf128x): Likewise.
25500 (__DECL_SIMD_sinf16): Likewise.
25501 (__DECL_SIMD_sinf32): Likewise.
25502 (__DECL_SIMD_sinf64): Likewise.
25503 (__DECL_SIMD_sinf32x): Likewise.
25504 (__DECL_SIMD_sinf64x): Likewise.
25505 (__DECL_SIMD_sinf128x): Likewise.
25506 (__DECL_SIMD_sincosf16): Likewise.
25507 (__DECL_SIMD_sincosf32): Likewise.
25508 (__DECL_SIMD_sincosf64): Likewise.
25509 (__DECL_SIMD_sincosf32x): Likewise.
25510 (__DECL_SIMD_sincosf64x): Likewise.
25511 (__DECL_SIMD_sincosf128x): Likewise.
25512 (__DECL_SIMD_logf16): Likewise.
25513 (__DECL_SIMD_logf32): Likewise.
25514 (__DECL_SIMD_logf64): Likewise.
25515 (__DECL_SIMD_logf32x): Likewise.
25516 (__DECL_SIMD_logf64x): Likewise.
25517 (__DECL_SIMD_logf128x): Likewise.
25518 (__DECL_SIMD_expf16): Likewise.
25519 (__DECL_SIMD_expf32): Likewise.
25520 (__DECL_SIMD_expf64): Likewise.
25521 (__DECL_SIMD_expf32x): Likewise.
25522 (__DECL_SIMD_expf64x): Likewise.
25523 (__DECL_SIMD_expf128x): Likewise.
25524 (__DECL_SIMD_powf16): Likewise.
25525 (__DECL_SIMD_powf32): Likewise.
25526 (__DECL_SIMD_powf64): Likewise.
25527 (__DECL_SIMD_powf32x): Likewise.
25528 (__DECL_SIMD_powf64x): Likewise.
25529 (__DECL_SIMD_powf128x): Likewise.
25531 * stdlib/Versions (libc): Move entries for wcstof128 and
25532 wcstof128_l to ....
25533 * wcsmbs/Versions (libc): ... here.
25534 Include <float128-abi.h>.
25536 2017-11-24 Florian Weimer <fweimer@redhat.com>
25538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25539 bits/mman-shared.h.
25540 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
25541 <bits/mman-shared.h>.
25542 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
25544 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
25545 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
25546 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
25547 <bits/mman-shared.h>.
25549 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25552 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
25553 posix_memalign/free.
25554 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
25556 2017-11-22 Mike FABIAN <mfabian@redhat.com>
25559 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
25560 and implement the collation rules for pl from CLDR on top of that.
25561 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
25562 of locales to be built for testing.
25563 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
25565 2017-11-23 Joseph Myers <joseph@codesourcery.com>
25567 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
25568 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
25569 libm_alias_ldouble_other.
25570 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
25571 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
25572 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
25573 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
25574 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
25575 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
25576 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
25577 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
25578 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
25579 libm_alias_ldouble_r.
25580 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
25581 libm_alias_ldouble_other.
25582 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
25583 (log10l): Likewise.
25584 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
25585 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
25586 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
25587 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
25588 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
25589 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
25590 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
25591 (atan2l): Likewise.
25592 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
25593 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
25594 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
25595 libm_alias_ldouble.
25596 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
25598 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
25599 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
25600 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
25602 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
25603 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
25604 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
25605 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
25606 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
25607 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
25608 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
25609 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
25610 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
25611 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
25612 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
25613 libm_alias_ldouble.
25614 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
25615 libm_alias_ldouble_other.
25616 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
25617 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
25618 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
25619 libm_alias_ldouble.
25620 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
25621 libm_alias_ldouble_other.
25622 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
25623 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
25624 * sysdeps/ia64/fpu/w_lgammal_main.c
25625 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
25626 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
25628 2017-11-23 Florian Weimer <fweimer@redhat.com>
25630 * malloc/malloc.c (tcache_thread_shutdown): Rename from
25631 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
25632 alike. Remove freeres marker.
25633 * malloc/arena.c (arena_thread_freeres): Call
25634 tcache_thread_shutdown.
25636 2017-11-23 Florian Weimer <fweimer@redhat.com>
25639 Export nscd hash function as __nss_hash.
25640 * include/nss.h (__nss_hash): Declare.
25641 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
25643 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
25644 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
25646 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
25647 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
25648 * nss/Makefiles (routines): Add nss_hash.
25649 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
25650 * nss/nss_hash.c: Rename from nis/nis_hash.c.
25651 (__nss_hash): Rename from __nis_hash. Define hidden alias.
25652 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
25654 2017-11-23 Florian Weimer <fweimer@redhat.com>
25657 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
25658 Return error code, not -1.
25659 * signal/tst-sigwait-eintr.c: New file.
25660 * signal/Makefile (tests): Add tst-sigwait-eintr.
25662 2017-11-23 Florian Weimer <fweimer@redhat.com>
25664 Linux: Add memfd_create system call wrapper
25665 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
25667 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
25668 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
25669 [__USE_GNU] (memfd_create): Declare.
25670 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
25671 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
25672 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
25673 * sysdeps/unix/sysv/linux/**.abilist: Update.
25674 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
25676 2017-11-22 Joseph Myers <joseph@codesourcery.com>
25678 * localedata/gen-locale.sh: Fix typo in variable name.
25680 * resolv/res_debug.c (p_secstodate): Condition definition on
25681 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
25682 directly as __p_secstodate, and as a compat symbol. Do not use
25683 libresolv_hidden_def.
25684 * resolv/resolv.h (p_secstodate): Remove macro and function
25686 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
25687 using p_secstodate.
25688 * include/resolv.h (__p_secstodate): Do not use
25689 libresolv_hidden_proto.
25690 * resolv/Makefile (tests): Move tst-p_secstodate to ....
25691 (tests-internal): ... here.
25692 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
25693 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
25694 and declare and use __p_secstodate and use compat_symbol_reference
25696 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
25697 implementation returning 77.
25700 * resolv/res_debug.c: Include <libc-diag.h>.
25701 (p_secstodate): Assert time_t at least as wide as u_long. On
25702 overflow, use integer seconds since the epoch as output, or use
25703 "<overflow>" as output and set errno to EOVERFLOW if integer
25704 seconds since the epoch would be 14 or more characters.
25705 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
25707 * resolv/tst-p_secstodate.c: New file.
25708 * resolv/Makefile (tests): Add tst-p_secstodate.
25709 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
25711 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
25712 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25713 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
25715 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
25717 * posix/regcomp.c (init_word_char): Add comments.
25719 2017-11-22 Joseph Myers <joseph@codesourcery.com>
25722 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
25723 strlen to compute length of ut_user and set trailing NUL byte of
25726 2017-11-21 Mike FABIAN <mfabian@redhat.com>
25729 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
25730 using “copy "iso14651_t1"” and then implementing the
25731 collation rules for lv from CLDR on top of that.
25732 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
25733 of locales to be built for testing.
25734 * lv_LV.UTF-8.in: New file with test data to test the Latvian
25737 2017-11-21 Joseph Myers <joseph@codesourcery.com>
25739 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25740 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
25741 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
25742 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
25743 [__USE_MISC] (MADV_HWPOISON): New macro.
25744 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
25746 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25748 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
25749 -Wmissing-braces on GCC 4.9.
25751 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25753 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
25754 * sysdeps/s390/s390-32/start.S (_start): Likewise
25755 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
25756 (thread_start): Likewise.
25757 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
25758 (thread_start): Likewise.
25759 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
25760 (__makecontext_ret): Likewise.
25761 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
25762 (__makecontext_ret): Likewise.
25764 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25766 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
25767 __wcschrnul): Remove attribute_hidden.
25769 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
25771 regex: don't assume uint64_t or uint32_t
25772 This avoids -Werror=overflow errors for 32-bit systems in
25773 the 64-bit case. Problem reported by Joseph Myers in:
25774 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
25775 Also, when this code is used in Gnulib it ports to platforms
25776 that lack uint64_t and uint32_t. The C standard doesn't guarantee
25777 them, and on some 32-bit compilers there is no uint64_t.
25778 Problem reported by Gianluigi Tiesi in:
25779 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
25780 * posix/regcomp.c (init_word_char): Don't assume that the types
25781 uint64_t and uint32_t exist. Adapted from Gnulib patch
25782 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
25783 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
25785 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
25787 * sysdeps/aarch64/memset-reg.h: New file.
25788 * sysdeps/aarch64/memset.S: Use it.
25789 (__memset): Rename to MEMSET macro.
25790 [ZVA_MACRO]: Use zva_macro.
25791 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
25792 Add memset_generic and memset_falkor.
25793 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25794 (__libc_ifunc_impl_list): Add memset ifuncs.
25795 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
25796 local variable zva_size.
25797 * sysdeps/aarch64/multiarch/memset.c: New file.
25798 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
25799 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
25800 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
25801 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
25802 (DCZID_DZP_MASK): New macro.
25803 (DCZID_BS_MASK): Likewise.
25804 (init_cpu_features): Read and set zva_size.
25805 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
25806 (struct cpu_features): New member zva_size.
25808 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
25809 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
25810 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
25812 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
25813 backwards. Fix timing computation.
25814 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
25815 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
25816 on memset by N at a time. Fix timing computation.
25818 2017-11-20 Florian Weimer <fweimer@redhat.com>
25820 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
25821 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
25823 2017-11-19 Florian Weimer <fweimer@redhat.com>
25825 manual: Document mprotect
25826 * manual/memory.texi (Memory Protection): New section.
25827 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
25828 documentation of PROT_* flags and reference the Memory Protection
25831 2017-11-19 Florian Weimer <fweimer@redhat.com>
25833 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
25834 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
25835 (Scatter-Gather): ... to here. Remove misleading comment.
25837 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
25839 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
25842 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
25843 when /proc/<pid>/setgroups does not exist.
25845 2017-11-18 Florian Weimer <fweimer@redhat.com>
25847 * sysdeps/unix/sysv/linux/tst-ttyname.c
25848 (become_root_in_mount_ns): Remove.
25849 (do_in_chroot_1): Call support_enter_mount_namespace.
25850 (do_in_chroot_2): Likewise.
25851 (do_test): Call support_become_root early.
25853 2017-11-18 Florian Weimer <fweimer@redhat.com>
25855 * support/namespace.h (support_enter_mount_namespace): Declare.
25856 * support/support_enter_mount_namespace.c: New file.
25857 * support/Makefile (libsupport-routines): Add
25858 support_enter_mount_namespace.
25860 2017-11-18 Florian Weimer <fweimer@redhat.com>
25862 * support/temp_file.c (support_create_temp_directory): Use
25863 test_dir and do not rely on the presence of the XXXXXX suffix.
25864 * support/temp_file.h (support_create_temp_directory): Update
25866 * support/tst-xreadlink.c (do_test): Adjust.
25867 * support/support_chroot.c (support_chroot_create): Likewise.
25869 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25871 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
25873 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
25876 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25878 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25879 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25880 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25881 (ceill): Define using libm_alias_ldouble.
25882 * sysdeps/x86_64/fpu/s_copysignl.S: Include
25883 <libm-alias-ldouble.h>.
25884 (copysignl): Define using libm_alias_ldouble.
25885 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25886 (fabsl): Define using libm_alias_ldouble.
25887 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25888 (floorl): Define using libm_alias_ldouble.
25889 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25890 (fmaxl): Define using libm_alias_ldouble.
25891 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25892 (fminl): Define using libm_alias_ldouble.
25893 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25894 (llrintl): Define using libm_alias_ldouble.
25895 (lrintl): Likewise.
25896 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
25897 <libm-alias-ldouble.h>.
25898 (nearbyintl): Define using libm_alias_ldouble.
25899 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25900 (truncl): Define using libm_alias_ldouble.
25901 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
25902 <libm-alias-ldouble.h>.
25903 (lrintl): Define using libm_alias_ldouble.
25905 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25906 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25907 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
25908 (asinhl): Define using libm_alias_ldouble.
25909 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
25910 (atanl): Define using libm_alias_ldouble.
25911 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
25912 (cbrtl): Define using libm_alias_ldouble.
25913 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25914 (ceill): Define using libm_alias_ldouble.
25915 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
25916 (copysignl): Define using libm_alias_ldouble.
25917 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25918 (fabsl): Define using libm_alias_ldouble.
25919 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25920 (floorl): Define using libm_alias_ldouble.
25921 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25922 (fmaxl): Define using libm_alias_ldouble.
25923 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25924 (fminl): Define using libm_alias_ldouble.
25925 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
25926 (frexpl): Define using libm_alias_ldouble.
25927 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25928 (llrintl): Define using libm_alias_ldouble.
25929 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
25930 (logbl): Define using libm_alias_ldouble.
25931 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
25932 (lrintl): Define using libm_alias_ldouble.
25933 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
25934 (nearbyintl): Define using libm_alias_ldouble.
25935 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
25936 (nextafterl): Define using libm_alias_ldouble.
25937 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
25938 (remquol): Define using libm_alias_ldouble.
25939 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
25940 (rintl): Define using libm_alias_ldouble.
25941 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25942 (truncl): Define using libm_alias_ldouble.
25943 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25944 (fmaxl): Define using libm_alias_ldouble.
25945 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25946 (fminl): Define using libm_alias_ldouble.
25948 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
25949 to C syntax instead of availability and properties of types.
25950 * bits/floatn.h [!__ASSEMBLER]: Likewise.
25951 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
25952 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
25953 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
25954 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
25955 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
25957 2017-11-17 Florian Weimer <fweimer@redhat.com>
25959 support_become_root: Enable file creation in namespaces.
25960 * support/support_become_root.c (setup_mapping): New function.
25961 (support_become_root): Call it.
25963 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25965 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
25968 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25970 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
25971 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
25973 2017-11-16 Joseph Myers <joseph@codesourcery.com>
25975 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
25977 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25980 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25982 * INSTALL: Fix botched up regeneration.
25984 * NEWS: Update sourceare link to https.
25985 * configure.ac: Likewise.
25986 * crypt/md5test-giant.c: Likewise.
25987 * dlfcn/bug-atexit1.c: Likewise.
25988 * dlfcn/bug-atexit2.c: Likewise.
25989 * localedata/README: Likewise.
25990 * malloc/tst-mallocfork.c: Likewise.
25991 * manual/install.texi: Likewise.
25992 * nptl/tst-pthread-getattr.c: Likewise.
25993 * stdio-common/tst-fgets.c: Likewise.
25994 * stdio-common/tst-fwrite.c: Likewise.
25995 * sunrpc/Makefile: Likewise.
25996 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
25997 * wcsmbs/tst-mbrtowc2.c: Likewise.
25998 * configure: Regenerate.
25999 * INSTALL: Regenerate.
26001 2017-11-15 Martin Sebor <msebor@redhat.com>
26003 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
26004 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
26005 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
26007 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26010 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
26011 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
26014 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
26015 Defer is_pty check until end of the function.
26016 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26019 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
26020 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
26021 (ttyname): Likewise.
26022 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
26023 (__ttyname_r): Likewise.
26025 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
26028 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
26030 * manual/terminal.texi (Is It a Terminal):
26031 Mention ENODEV for ttyname and ttyname_r.
26033 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26035 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
26036 constant and macro.
26038 * sysdeps/unix/sysv/linux/bits/mman-linux.h
26039 [__USE_MISC] (MADV_WIPEONFORK): New macro.
26040 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26041 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26042 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
26043 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26045 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26047 * signal/sigrelse.c (sigrelse): Optimize implementation.
26049 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
26050 (__sigpause): Rely on __sigsuspend to implement single thread
26051 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
26053 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26055 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
26056 kernel version to 4.14.
26058 2017-11-15 Steve Ellcey <sellcey@cavium.com>
26061 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
26062 Check if ifname is too long.
26064 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26066 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
26068 2017-11-15 Mike FABIAN <mfabian@redhat.com>
26070 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
26071 was accidentally lost.
26073 2017-11-15 Mike FABIAN <mfabian@redhat.com>
26075 * localedata/locales/az_IR: Add standard copyright header.
26077 2017-11-15 Florian Weimer <fweimer@redhat.com>
26080 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
26081 not just the top one. Output a new "subheaps" statistic.
26083 2017-11-15 Florian Weimer <fweimer@redhat.com>
26086 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
26087 under the per-arena lock.
26088 * malloc/Makefile (tests): Add tst-malloc_info.
26089 (tst-malloc_info): Link with libpthread.
26090 * malloc/tst-malloc_info.c: New file.
26092 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26095 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
26096 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
26097 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
26098 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
26099 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
26100 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
26101 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
26102 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
26103 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
26104 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
26105 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
26106 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
26107 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
26108 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
26109 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
26110 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
26111 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
26112 (__floating_type): Likewise.
26113 (__real_integer_type): Likewise.
26114 (__complex_integer_type): Likewise.
26115 (__expr_is_real): Likewise.
26116 (__tgmath_real_type_sub): Likewise.
26117 (__tgmath_real_type): Likewise.
26118 (__tgmath_complex_type_sub): Likewise.
26119 (__tgmath_complex_type): Likewise.
26120 (__TGMATH_F128): Likewise.
26121 (__TGMATH_CF128): Likewise.
26122 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
26124 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
26125 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
26127 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
26129 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
26130 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
26131 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
26132 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
26134 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
26135 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
26137 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
26138 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
26139 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
26141 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
26142 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
26143 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
26147 2017-11-14 Joseph Myers <joseph@codesourcery.com>
26149 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
26150 for stpncpy calls for GCC 8.
26151 (test_strncat): Disable -Wstringop-truncation warning for strncat
26152 calls for GCC 8. Disable -Wstringop-overflow= warning for one
26153 strncat call for GCC 7.
26154 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
26156 (test_memcmp): Use memcpy instead of strncpy for calls not copying
26159 * string/bug-strncat1.c: Include <libc-diag.h>.
26160 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
26162 2017-11-13 Claude Paroz <claude@2xlibre.net>
26165 * localedata/locales/aa_DJ: Improved readibility by replacing
26166 <Uxxxx> sequences in the ASCII printable range by their ASCII
26167 character equivalents.
26168 * localedata/locales/aa_ER: Likewise.
26169 * localedata/locales/aa_ER@saaho: Likewise.
26170 * localedata/locales/aa_ET: Likewise.
26171 * localedata/locales/af_ZA: Likewise.
26172 * localedata/locales/agr_PE: Likewise.
26173 * localedata/locales/ak_GH: Likewise.
26174 * localedata/locales/am_ET: Likewise.
26175 * localedata/locales/anp_IN: Likewise.
26176 * localedata/locales/ar_AE: Likewise.
26177 * localedata/locales/ar_BH: Likewise.
26178 * localedata/locales/ar_DZ: Likewise.
26179 * localedata/locales/ar_EG: Likewise.
26180 * localedata/locales/ar_IN: Likewise.
26181 * localedata/locales/ar_IQ: Likewise.
26182 * localedata/locales/ar_JO: Likewise.
26183 * localedata/locales/ar_KW: Likewise.
26184 * localedata/locales/ar_LB: Likewise.
26185 * localedata/locales/ar_LY: Likewise.
26186 * localedata/locales/ar_MA: Likewise.
26187 * localedata/locales/ar_OM: Likewise.
26188 * localedata/locales/ar_QA: Likewise.
26189 * localedata/locales/ar_SA: Likewise.
26190 * localedata/locales/ar_SD: Likewise.
26191 * localedata/locales/ar_SS: Likewise.
26192 * localedata/locales/ar_SY: Likewise.
26193 * localedata/locales/ar_TN: Likewise.
26194 * localedata/locales/ar_YE: Likewise.
26195 * localedata/locales/as_IN: Likewise.
26196 * localedata/locales/ast_ES: Likewise.
26197 * localedata/locales/ayc_PE: Likewise.
26198 * localedata/locales/az_AZ: Likewise.
26199 * localedata/locales/az_IR: Likewise.
26200 * localedata/locales/be_BY: Likewise.
26201 * localedata/locales/be_BY@latin: Likewise.
26202 * localedata/locales/bem_ZM: Likewise.
26203 * localedata/locales/ber_DZ: Likewise.
26204 * localedata/locales/ber_MA: Likewise.
26205 * localedata/locales/bg_BG: Likewise.
26206 * localedata/locales/bhb_IN: Likewise.
26207 * localedata/locales/bho_IN: Likewise.
26208 * localedata/locales/bi_VU: Likewise.
26209 * localedata/locales/bn_BD: Likewise.
26210 * localedata/locales/bn_IN: Likewise.
26211 * localedata/locales/bo_CN: Likewise.
26212 * localedata/locales/bo_IN: Likewise.
26213 * localedata/locales/br_FR: Likewise.
26214 * localedata/locales/brx_IN: Likewise.
26215 * localedata/locales/bs_BA: Likewise.
26216 * localedata/locales/byn_ER: Likewise.
26217 * localedata/locales/ca_AD: Likewise.
26218 * localedata/locales/ca_ES: Likewise.
26219 * localedata/locales/ca_FR: Likewise.
26220 * localedata/locales/ca_IT: Likewise.
26221 * localedata/locales/ce_RU: Likewise.
26222 * localedata/locales/chr_US: Likewise.
26223 * localedata/locales/cmn_TW: Likewise.
26224 * localedata/locales/crh_UA: Likewise.
26225 * localedata/locales/cs_CZ: Likewise.
26226 * localedata/locales/csb_PL: Likewise.
26227 * localedata/locales/cv_RU: Likewise.
26228 * localedata/locales/cy_GB: Likewise.
26229 * localedata/locales/da_DK: Likewise.
26230 * localedata/locales/de_AT: Likewise.
26231 * localedata/locales/de_BE: Likewise.
26232 * localedata/locales/de_CH: Likewise.
26233 * localedata/locales/de_DE: Likewise.
26234 * localedata/locales/de_IT: Likewise.
26235 * localedata/locales/de_LI: Likewise.
26236 * localedata/locales/de_LU: Likewise.
26237 * localedata/locales/doi_IN: Likewise.
26238 * localedata/locales/dv_MV: Likewise.
26239 * localedata/locales/dz_BT: Likewise.
26240 * localedata/locales/el_CY: Likewise.
26241 * localedata/locales/el_GR: Likewise.
26242 * localedata/locales/en_AG: Likewise.
26243 * localedata/locales/en_AU: Likewise.
26244 * localedata/locales/en_BW: Likewise.
26245 * localedata/locales/en_CA: Likewise.
26246 * localedata/locales/en_DK: Likewise.
26247 * localedata/locales/en_GB: Likewise.
26248 * localedata/locales/en_HK: Likewise.
26249 * localedata/locales/en_IE: Likewise.
26250 * localedata/locales/en_IL: Likewise.
26251 * localedata/locales/en_IN: Likewise.
26252 * localedata/locales/en_NG: Likewise.
26253 * localedata/locales/en_NZ: Likewise.
26254 * localedata/locales/en_PH: Likewise.
26255 * localedata/locales/en_SG: Likewise.
26256 * localedata/locales/en_US: Likewise.
26257 * localedata/locales/en_ZA: Likewise.
26258 * localedata/locales/en_ZM: Likewise.
26259 * localedata/locales/en_ZW: Likewise.
26260 * localedata/locales/eo: Likewise.
26261 * localedata/locales/es_AR: Likewise.
26262 * localedata/locales/es_BO: Likewise.
26263 * localedata/locales/es_CL: Likewise.
26264 * localedata/locales/es_CO: Likewise.
26265 * localedata/locales/es_CR: Likewise.
26266 * localedata/locales/es_CU: Likewise.
26267 * localedata/locales/es_DO: Likewise.
26268 * localedata/locales/es_EC: Likewise.
26269 * localedata/locales/es_ES: Likewise.
26270 * localedata/locales/es_GT: Likewise.
26271 * localedata/locales/es_HN: Likewise.
26272 * localedata/locales/es_MX: Likewise.
26273 * localedata/locales/es_NI: Likewise.
26274 * localedata/locales/es_PA: Likewise.
26275 * localedata/locales/es_PE: Likewise.
26276 * localedata/locales/es_PR: Likewise.
26277 * localedata/locales/es_PY: Likewise.
26278 * localedata/locales/es_SV: Likewise.
26279 * localedata/locales/es_US: Likewise.
26280 * localedata/locales/es_UY: Likewise.
26281 * localedata/locales/es_VE: Likewise.
26282 * localedata/locales/et_EE: Likewise.
26283 * localedata/locales/eu_ES: Likewise.
26284 * localedata/locales/eu_ES@euro: Likewise.
26285 * localedata/locales/fa_IR: Likewise.
26286 * localedata/locales/ff_SN: Likewise.
26287 * localedata/locales/fi_FI: Likewise.
26288 * localedata/locales/fil_PH: Likewise.
26289 * localedata/locales/fo_FO: Likewise.
26290 * localedata/locales/fr_BE: Likewise.
26291 * localedata/locales/fr_CA: Likewise.
26292 * localedata/locales/fr_CH: Likewise.
26293 * localedata/locales/fr_FR: Likewise.
26294 * localedata/locales/fr_LU: Likewise.
26295 * localedata/locales/fur_IT: Likewise.
26296 * localedata/locales/fy_DE: Likewise.
26297 * localedata/locales/fy_NL: Likewise.
26298 * localedata/locales/ga_IE: Likewise.
26299 * localedata/locales/gd_GB: Likewise.
26300 * localedata/locales/gez_ER: Likewise.
26301 * localedata/locales/gez_ET: Likewise.
26302 * localedata/locales/gl_ES: Likewise.
26303 * localedata/locales/gu_IN: Likewise.
26304 * localedata/locales/gv_GB: Likewise.
26305 * localedata/locales/ha_NG: Likewise.
26306 * localedata/locales/hak_TW: Likewise.
26307 * localedata/locales/he_IL: Likewise.
26308 * localedata/locales/hi_IN: Likewise.
26309 * localedata/locales/hif_FJ: Likewise.
26310 * localedata/locales/hne_IN: Likewise.
26311 * localedata/locales/hr_HR: Likewise.
26312 * localedata/locales/hsb_DE: Likewise.
26313 * localedata/locales/ht_HT: Likewise.
26314 * localedata/locales/hu_HU: Likewise.
26315 * localedata/locales/hy_AM: Likewise.
26316 * localedata/locales/i18n: Likewise.
26317 * localedata/locales/ia_FR: Likewise.
26318 * localedata/locales/id_ID: Likewise.
26319 * localedata/locales/ig_NG: Likewise.
26320 * localedata/locales/ik_CA: Likewise.
26321 * localedata/locales/is_IS: Likewise.
26322 * localedata/locales/it_CH: Likewise.
26323 * localedata/locales/it_IT: Likewise.
26324 * localedata/locales/iu_CA: Likewise.
26325 * localedata/locales/ja_JP: Likewise.
26326 * localedata/locales/ka_GE: Likewise.
26327 * localedata/locales/kk_KZ: Likewise.
26328 * localedata/locales/kl_GL: Likewise.
26329 * localedata/locales/kn_IN: Likewise.
26330 * localedata/locales/ko_KR: Likewise.
26331 * localedata/locales/kok_IN: Likewise.
26332 * localedata/locales/ks_IN: Likewise.
26333 * localedata/locales/ks_IN@devanagari: Likewise.
26334 * localedata/locales/ku_TR: Likewise.
26335 * localedata/locales/kw_GB: Likewise.
26336 * localedata/locales/ky_KG: Likewise.
26337 * localedata/locales/lb_LU: Likewise.
26338 * localedata/locales/lg_UG: Likewise.
26339 * localedata/locales/li_BE: Likewise.
26340 * localedata/locales/li_NL: Likewise.
26341 * localedata/locales/lij_IT: Likewise.
26342 * localedata/locales/ln_CD: Likewise.
26343 * localedata/locales/lo_LA: Likewise.
26344 * localedata/locales/lt_LT: Likewise.
26345 * localedata/locales/lv_LV: Likewise.
26346 * localedata/locales/lzh_TW: Likewise.
26347 * localedata/locales/mag_IN: Likewise.
26348 * localedata/locales/mai_IN: Likewise.
26349 * localedata/locales/mg_MG: Likewise.
26350 * localedata/locales/mhr_RU: Likewise.
26351 * localedata/locales/mi_NZ: Likewise.
26352 * localedata/locales/mk_MK: Likewise.
26353 * localedata/locales/ml_IN: Likewise.
26354 * localedata/locales/mn_MN: Likewise.
26355 * localedata/locales/mni_IN: Likewise.
26356 * localedata/locales/mr_IN: Likewise.
26357 * localedata/locales/ms_MY: Likewise.
26358 * localedata/locales/mt_MT: Likewise.
26359 * localedata/locales/my_MM: Likewise.
26360 * localedata/locales/nan_TW: Likewise.
26361 * localedata/locales/nan_TW@latin: Likewise.
26362 * localedata/locales/nb_NO: Likewise.
26363 * localedata/locales/nds_DE: Likewise.
26364 * localedata/locales/nds_NL: Likewise.
26365 * localedata/locales/ne_NP: Likewise.
26366 * localedata/locales/nhn_MX: Likewise.
26367 * localedata/locales/niu_NU: Likewise.
26368 * localedata/locales/niu_NZ: Likewise.
26369 * localedata/locales/nl_AW: Likewise.
26370 * localedata/locales/nl_BE: Likewise.
26371 * localedata/locales/nl_NL: Likewise.
26372 * localedata/locales/nn_NO: Likewise.
26373 * localedata/locales/nr_ZA: Likewise.
26374 * localedata/locales/nso_ZA: Likewise.
26375 * localedata/locales/oc_FR: Likewise.
26376 * localedata/locales/om_ET: Likewise.
26377 * localedata/locales/om_KE: Likewise.
26378 * localedata/locales/or_IN: Likewise.
26379 * localedata/locales/os_RU: Likewise.
26380 * localedata/locales/pa_IN: Likewise.
26381 * localedata/locales/pa_PK: Likewise.
26382 * localedata/locales/pap_AW: Likewise.
26383 * localedata/locales/pap_CW: Likewise.
26384 * localedata/locales/pl_PL: Likewise.
26385 * localedata/locales/ps_AF: Likewise.
26386 * localedata/locales/pt_BR: Likewise.
26387 * localedata/locales/pt_PT: Likewise.
26388 * localedata/locales/quz_PE: Likewise.
26389 * localedata/locales/raj_IN: Likewise.
26390 * localedata/locales/ro_RO: Likewise.
26391 * localedata/locales/ru_RU: Likewise.
26392 * localedata/locales/ru_UA: Likewise.
26393 * localedata/locales/rw_RW: Likewise.
26394 * localedata/locales/sa_IN: Likewise.
26395 * localedata/locales/sat_IN: Likewise.
26396 * localedata/locales/sc_IT: Likewise.
26397 * localedata/locales/sd_IN: Likewise.
26398 * localedata/locales/sd_IN@devanagari: Likewise.
26399 * localedata/locales/se_NO: Likewise.
26400 * localedata/locales/sgs_LT: Likewise.
26401 * localedata/locales/shs_CA: Likewise.
26402 * localedata/locales/si_LK: Likewise.
26403 * localedata/locales/sid_ET: Likewise.
26404 * localedata/locales/sk_SK: Likewise.
26405 * localedata/locales/sl_SI: Likewise.
26406 * localedata/locales/sm_WS: Likewise.
26407 * localedata/locales/so_DJ: Likewise.
26408 * localedata/locales/so_ET: Likewise.
26409 * localedata/locales/so_KE: Likewise.
26410 * localedata/locales/so_SO: Likewise.
26411 * localedata/locales/sq_AL: Likewise.
26412 * localedata/locales/sq_MK: Likewise.
26413 * localedata/locales/sr_ME: Likewise.
26414 * localedata/locales/sr_RS: Likewise.
26415 * localedata/locales/sr_RS@latin: Likewise.
26416 * localedata/locales/ss_ZA: Likewise.
26417 * localedata/locales/st_ZA: Likewise.
26418 * localedata/locales/sv_FI: Likewise.
26419 * localedata/locales/sv_SE: Likewise.
26420 * localedata/locales/sw_KE: Likewise.
26421 * localedata/locales/sw_TZ: Likewise.
26422 * localedata/locales/szl_PL: Likewise.
26423 * localedata/locales/ta_IN: Likewise.
26424 * localedata/locales/ta_LK: Likewise.
26425 * localedata/locales/tcy_IN: Likewise.
26426 * localedata/locales/te_IN: Likewise.
26427 * localedata/locales/tg_TJ: Likewise.
26428 * localedata/locales/th_TH: Likewise.
26429 * localedata/locales/the_NP: Likewise.
26430 * localedata/locales/ti_ER: Likewise.
26431 * localedata/locales/ti_ET: Likewise.
26432 * localedata/locales/tig_ER: Likewise.
26433 * localedata/locales/tk_TM: Likewise.
26434 * localedata/locales/tl_PH: Likewise.
26435 * localedata/locales/tn_ZA: Likewise.
26436 * localedata/locales/to_TO: Likewise.
26437 * localedata/locales/tpi_PG: Likewise.
26438 * localedata/locales/tr_CY: Likewise.
26439 * localedata/locales/tr_TR: Likewise.
26440 * localedata/locales/ts_ZA: Likewise.
26441 * localedata/locales/tt_RU: Likewise.
26442 * localedata/locales/tt_RU@iqtelif: Likewise.
26443 * localedata/locales/ug_CN: Likewise.
26444 * localedata/locales/uk_UA: Likewise.
26445 * localedata/locales/unm_US: Likewise.
26446 * localedata/locales/ur_IN: Likewise.
26447 * localedata/locales/ur_PK: Likewise.
26448 * localedata/locales/uz_UZ: Likewise.
26449 * localedata/locales/uz_UZ@cyrillic: Likewise.
26450 * localedata/locales/ve_ZA: Likewise.
26451 * localedata/locales/vi_VN: Likewise.
26452 * localedata/locales/wa_BE: Likewise.
26453 * localedata/locales/wae_CH: Likewise.
26454 * localedata/locales/wal_ET: Likewise.
26455 * localedata/locales/wo_SN: Likewise.
26456 * localedata/locales/xh_ZA: Likewise.
26457 * localedata/locales/yi_US: Likewise.
26458 * localedata/locales/yo_NG: Likewise.
26459 * localedata/locales/yue_HK: Likewise.
26460 * localedata/locales/yuw_PG: Likewise.
26461 * localedata/locales/zh_CN: Likewise.
26462 * localedata/locales/zh_HK: Likewise.
26463 * localedata/locales/zh_SG: Likewise.
26464 * localedata/locales/zh_TW: Likewise.
26465 * localedata/locales/zu_ZA: Likewise.
26467 2017-11-13 Florian Weimer <fweimer@redhat.com>
26469 * support/next_to_fault.h, support/next_to_fault.c: New files.
26470 * support/Makefile (libsupport-routines): Add next_to_fault.
26471 * resolv/tst-inet_pton.c (struct next_to_fault)
26472 (next_to_fault_allocate, next_to_fault_free): Remove.
26473 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
26475 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
26477 * elf/dl-support.c: Include <dl-procruntime.c>.
26478 * include/link.h: Include <link_map.h>.
26479 * sysdeps/generic/dl-procruntime.c: New file.
26480 * sysdeps/generic/link_map.h: Likewise.
26481 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
26482 the writable ld.so namespace.
26484 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
26486 timezone: pacify GCC -Wstringop-truncation
26487 Problem reported by Martin Sebor in:
26488 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
26489 * timezone/zic.c (writezone): Use memcpy, not strncpy.
26491 2017-11-12 Florian Weimer <fweimer@redhat.com>
26493 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
26495 (tests): Add tst-xreadlink.
26496 * support/support.h (xstrndup): Declare.
26497 * support/xunistd.h (xunlink, xreadlink): Declare.
26498 * support/temp_file.h (support_create_temp_directory): Declare.
26499 * support/temp_file.c (support_create_temp_directory): New function.
26500 * support/support_chroot.c (support_chroot_create): Use it.
26501 * support/xreadlink.c: New file.
26502 * support/xstrndup.c: Likewise.
26503 * support/xunlink.c: Likewise.
26504 * support/tst-xreadlink.c: Likewise.
26506 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
26508 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
26510 2017-11-11 Florian Weimer <fweimer@redhat.com>
26514 * resolv/res_comp.c (printable_string, binary_hnok)
26515 (binary_leading_dash): New functions.
26516 (res_hnok): Reimplement using these functions and ns_name_pton.
26517 (res_ownok): Likewise.
26518 (res_mailok): Reimplement using printable_string, ns_name_pton and
26520 (res_dnok): Reimplement using printable_string and ns_name_pton.
26521 * resolv/tst-res_hnok.c (tests): Add additional tests.
26522 (LETTERDIGITS, PRINTABLE): Define.
26523 (do_test): Adjust one_char results.
26525 2017-11-11 Florian Weimer <fweimer@redhat.com>
26528 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
26529 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
26531 2017-11-11 Florian Weimer <fweimer@redhat.com>
26533 * resolv/tst-ns_name_pton.c: New file.
26534 * resolv/Makefile (tests): Add tst-ns_name_pton.
26535 (tst-ns_name_pton): Link against libresolv.
26537 2017-11-11 Florian Weimer <fweimer@redhat.com>
26539 * resolv/tst-res_hnok.c: New file.
26540 * resolv/Makefile (tests): Add tst-res_hnok.
26541 (tst-res_hnok): Link against libresolv.
26543 2017-11-11 Florian Weimer <fweimer@redhat.com>
26545 * resolv/tst-resolv-network.c: Use test framework instead explicit
26548 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
26550 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
26551 <jmp_buf-macros.h>.
26552 [!_ISOMAC] (STR_HELPER): New.
26553 [!_ISOMAC] (STR): Likewise.
26554 [!_ISOMAC] (TEST_SIZE): Likewise.
26555 [!_ISOMAC] (TEST_ALIGN): Likewise.
26556 [!_ISOMAC] (TEST_OFFSET): Likewise.
26557 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
26558 field offsets of jmp_buf as well as sigjmp_buf.
26559 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
26560 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
26561 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
26562 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
26563 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
26564 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
26565 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
26566 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
26567 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
26568 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
26570 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
26572 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
26573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
26575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
26577 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
26578 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
26579 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
26580 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
26581 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
26582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
26584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
26586 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
26587 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
26588 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
26590 2017-11-07 Joseph Myers <joseph@codesourcery.com>
26593 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26594 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
26595 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26596 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
26597 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26598 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
26599 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26600 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
26601 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26602 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
26603 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26604 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
26605 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26606 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
26607 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26608 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
26609 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26610 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
26611 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26612 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
26613 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26614 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
26615 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26616 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
26617 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26618 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
26619 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26620 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
26621 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26622 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
26623 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26624 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
26625 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26626 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
26627 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26628 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
26629 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26630 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
26631 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26632 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
26633 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26634 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
26635 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26636 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
26637 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26638 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
26639 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26640 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
26641 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26642 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
26643 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26644 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
26645 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26646 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
26647 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26648 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
26649 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26650 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
26651 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26652 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
26653 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26654 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
26655 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26656 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
26657 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26658 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
26659 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26660 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
26661 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26662 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
26663 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26664 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
26665 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26666 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
26667 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26668 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
26669 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26670 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
26671 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26672 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
26673 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26674 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
26675 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26676 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
26677 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26678 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
26679 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26680 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
26682 * stdlib/tst-strtod.h (F16): New macro.
26688 (IF_FLOAT16): Likewise.
26689 (IF_FLOAT32): Likewise.
26690 (IF_FLOAT64): Likewise.
26691 (IF_FLOAT32X): Likewise.
26692 (IF_FLOAT64X): Likewise.
26693 (IF_FLOAT128X): Likewise.
26694 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
26695 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
26696 (STRTOD_TEST_FOREACH): Likewise.
26697 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
26698 (CHOOSE_f64): Likewise.
26699 (CHOOSE_f32x): Likewise.
26700 (CHOOSE_f64x): Likewise.
26702 2017-11-07 Andreas Schwab <schwab@suse.de>
26704 * nptl/Makefile (tests-internal): Remove tst-typesizes.
26706 2017-11-07 Mike FABIAN <mfabian@redhat.com>
26709 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
26711 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
26714 2017-11-07 Claude Paroz <claude@2xlibre.net>
26717 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
26719 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
26721 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
26724 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26727 * nptl/allocatestack.c (allocate_stack): Check if
26728 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
26729 __PTHREAD_MUTEX_HAVE_PREV is defined.
26730 * nptl/descr.h (pthread): Likewise.
26731 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26733 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26734 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26735 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
26736 * sysdeps/nptl/bits/thread-shared-types.h
26737 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26739 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
26740 of __WORDSIZE for internal layout.
26741 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
26742 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
26743 instead of __WORDSIZE whether to use an union for __spins and __list
26745 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
26747 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
26748 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26750 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
26751 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26753 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
26754 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26756 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
26757 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26759 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
26760 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26762 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
26763 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26765 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
26766 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26768 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
26769 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26771 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
26772 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26774 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
26775 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26777 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
26778 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26780 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
26781 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26783 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
26784 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26786 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
26787 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26789 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
26790 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26793 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
26795 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
26796 checks for expected input type size.
26797 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26798 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26800 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26801 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
26802 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26803 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
26804 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26805 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
26806 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
26807 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
26808 superflous runtime assert check.
26809 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
26811 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
26813 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26815 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
26817 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
26819 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
26821 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
26822 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
26823 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26825 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26827 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26829 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
26831 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26833 * nptl/pthread_attr_setinheritsched.c
26834 (__pthread_attr_setinheritsched): Likewise.
26835 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
26837 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
26839 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
26840 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
26841 __old_pthread_attr_setstack): Likewise.
26842 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26844 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26846 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
26848 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26849 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26851 * nptl/tst-typesizes.c: Remove file.
26853 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
26854 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
26855 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
26856 checks for internal pthread_mutex_t offsets.
26857 * sysdeps/aarch64/nptl/pthread-offsets.h
26858 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
26859 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
26860 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
26861 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
26862 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
26863 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
26864 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
26865 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
26866 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
26867 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
26868 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
26869 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
26870 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
26871 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
26872 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
26873 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
26874 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
26875 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
26877 2017-11-07 Florian Weimer <fweimer@redhat.com>
26879 * bits/mman-linux.h: Move ...
26880 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
26882 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
26885 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26887 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
26888 Redefine STRNLEN as __strnlen_power8.
26890 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26892 * signal/sighold.c (sighold): Optimize implementation.
26894 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
26895 __NR_rt_sigqueueinfo.
26897 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
26899 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
26900 assume __NR_rt_sigtimedwait.
26901 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
26902 and add LIBC_CANCEL_HANDLED for cancellation marking.
26903 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26905 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26906 (sysdeps_routines): Add memchr_noneon.
26907 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
26908 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
26909 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
26910 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
26911 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
26912 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
26913 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
26915 * sysdeps/arm/arm-ifunc.h: New file.
26916 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
26917 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
26918 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
26919 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
26920 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
26921 (__memcpy_neon): Avoid create hidden alias.
26922 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
26923 (__memcpy_vfp): Likewise.
26924 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26925 (sysdep_routines): Add memcpy_arm.
26926 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
26928 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
26931 * Makerules (make-link-multidir): New.
26932 * config.make.in (multidir): New.
26933 * configure.ac (libc_cv_multidir): New. AC_SUBST.
26934 * configure: Regenerated.
26935 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
26936 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
26937 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
26940 2017-11-06 Joseph Myers <joseph@codesourcery.com>
26943 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
26944 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
26946 2017-11-04 Mike FABIAN <mfabian@redhat.com>
26948 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
26951 2017-11-04 Florian Weimer <fweimer@redhat.com>
26953 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
26955 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26957 * math/math.h [__HAVE_DISTINCT_FLOAT16
26958 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26959 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26960 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26961 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
26962 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
26963 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
26964 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26965 (__MATH_TG_F32): New macro.
26966 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26967 (__MATH_TG_F64X): Likewise.
26968 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26969 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
26971 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
26973 * po/de.po: Update translations.
26974 * po/ru.po: Likewise.
26976 2017-11-03 Florian Weimer <fweimer@redhat.com>
26978 * manual/filesys.texi (Hard Links): Document linkat.
26980 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26982 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
26983 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26984 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26985 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26986 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26987 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26988 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
26989 the same as _Float128.
26990 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26991 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26992 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
26995 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
26997 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
26999 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
27001 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27002 (strtof32x): Likewise.
27003 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27004 (strtof64x): Likewise.
27005 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27006 (strtof128x): Likewise.
27007 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27008 (strfromf16): Likewise.
27009 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27010 (strfromf32): Likewise.
27011 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27012 (strfromf64): Likewise.
27013 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27014 (strfromf32x): Likewise.
27015 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27016 (strfromf64x): Likewise.
27017 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27018 (strfromf128x): Likewise.
27019 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
27020 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
27021 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
27022 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
27023 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
27024 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
27026 2017-11-03 Richard Henderson <rth@twiddle.net>
27028 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
27030 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27032 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
27034 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27036 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
27037 DT_TLSDESC_GOT initialization.
27038 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
27039 (_dl_tlsdesc_resolve_hold): Likewise.
27040 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
27041 (_dl_tlsdesc_resolve_hold): Likewise.
27042 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
27043 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27045 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27047 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
27049 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27052 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
27053 non-lazily for R_ARM_TLS_DESC.
27055 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27058 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
27059 R_ARM_TLS_DESC case.
27060 (elf_machine_lazy_rel): Remove the prelink check.
27062 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27064 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
27065 DT_TLSDESC_GOT initialization.
27066 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
27067 (_dl_tlsdesc_resolve_rela): Likewise.
27068 (_dl_tlsdesc_resolve_hold): Likewise.
27069 (_dl_tlsdesc_undefweak): Remove ldar.
27070 (_dl_tlsdesc_dynamic): Likewise.
27071 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
27072 (_dl_tlsdesc_resolve_rela): Likewise.
27073 (_dl_tlsdesc_resolve_hold): Likewise.
27074 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
27075 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27076 (_dl_tlsdesc_resolve_rela): Likewise.
27077 (_dl_tlsdesc_resolve_hold): Likewise.
27079 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27081 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
27082 binding and initialization non-lazily for R_AARCH64_TLSDESC.
27084 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27086 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
27087 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27089 2017-11-02 Joseph Myers <joseph@codesourcery.com>
27091 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
27093 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
27094 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
27095 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
27096 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
27097 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
27098 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
27099 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
27100 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
27101 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
27102 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
27103 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
27105 2017-11-02 Mike FABIAN <mfabian@redhat.com>
27108 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
27109 * localedata/locales/tpi_PG: Add standard header.
27111 2017-11-02 Florian Weimer <fweimer@redhat.com>
27113 test-errno-linux: quotactl can fail with EPERM in containers.
27114 * sysdeps/unix/sysv/linux/test-errno-linux.c
27115 (LIST, LIST_FORWARD): New macros.
27116 (check_error_in_list): New function.
27117 (test_wrp_rv): Accept list of permitted error codes.
27118 (test_wrp_rv2): Remove.
27119 (test_wrp): Call test_wrp_rv with list of error codes.
27120 (test_wrp2): Accept list of error codes.
27121 (do_test): Adjust. Allow EPERM for quotactl.
27123 2017-11-02 Florian Weimer <fweimer@redhat.com>
27125 * stdio-common/bug16.c (do_test): Use array_length.
27126 * stdio-common/errlist.c (_sys_nerr): Likewise.
27127 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
27128 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
27129 * stdio-common/psiginfo.c (psiginfo): Use array_length.
27130 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
27131 (do_test): Use array_length.
27132 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
27133 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
27134 * stdio-common/tst-printf-round.c (do_test): Likewise.
27135 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
27136 (CHECK): Use array_length.
27137 * stdio-common/tstdiomisc.c (t3, F): Likewise.
27138 * stdio-common/tstscanf.c (main): Likewise.
27139 * stdio-common/vfprintf.c (process_string_arg): Likewise.
27141 2017-11-02 Florian Weimer <fweimer@redhat.com>
27143 Add array_length and array_end macros.
27144 * include/array_length.h: New file.
27146 2017-11-02 Florian Weimer <fweimer@redhat.com>
27149 * posix/tst-glob-tilde.c (do_noescape): New variable.
27150 (one_test): Process it.
27151 (do_test): Set do_noescape. Add unescaping test case.
27153 2017-11-01 Joseph Myers <joseph@codesourcery.com>
27156 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
27157 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
27158 with appropriate macros defined and undefined.
27159 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
27160 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27161 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
27162 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27163 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
27164 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27165 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
27166 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27167 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
27168 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27171 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
27172 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
27173 that for long double. Do not condition define and undefine of
27174 _Mdouble_complex_ on [__CFLOAT128].
27176 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
27178 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27179 of <sysdeps/generic/sysdep.h>.
27180 (ALIGNARG): Removed.
27181 (ASM_SIZE_DIRECTIVE): Likewise.
27184 (ENTRY_CHK): Likewise.
27185 (END_CHK): Likewise.
27186 (syscall_error): Likewise.
27187 (mcount): Likewise.
27188 (PSEUDO_END): Likewise.
27190 (atom_text_section): Likewise.
27191 * sysdeps/x86/sysdep.h: New file.
27192 * sysdeps/x86_64/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.
27206 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
27208 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
27209 category of LC_CTYPE set to "i18n:2012".
27210 * localedata/locales/i18n_ctype: Regenerate.
27212 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
27214 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
27215 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
27216 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27217 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27219 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
27220 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
27221 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
27222 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
27224 2017-10-31 Joseph Myers <joseph@codesourcery.com>
27227 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
27229 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
27231 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
27233 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27234 (CMPLXF32X): Likewise.
27235 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27236 (CMPLXF64X): Likewise.
27237 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27238 (CMPLXF128X): Likewise.
27241 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
27242 (__MATH_EVAL_FMT2): Define to add 0.0f.
27244 2017-10-31 Alan Modra <amodra@gmail.com>
27246 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
27248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
27249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
27250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
27251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
27252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
27253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
27254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
27255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
27256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
27257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
27258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
27259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
27260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
27261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
27262 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
27263 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
27264 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
27265 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
27266 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
27267 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
27268 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
27269 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
27270 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
27271 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
27272 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27273 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
27274 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
27275 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
27276 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
27277 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
27278 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27279 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27280 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
27281 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
27282 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
27283 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
27284 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
27285 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
27286 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
27287 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27288 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
27289 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
27290 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
27291 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
27292 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
27293 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
27294 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
27295 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
27296 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27297 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27298 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
27299 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
27300 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
27301 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
27302 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27303 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
27304 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
27305 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
27306 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27307 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27308 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27309 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
27310 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
27311 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27312 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
27313 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
27314 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
27315 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
27316 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
27318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
27319 include sysdep.h and math_ldbl_opt.h.
27321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
27322 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
27323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
27324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
27325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
27326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
27327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
27328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
27329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
27330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
27331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
27332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
27333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
27334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
27335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
27336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
27337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
27338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
27339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
27340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
27341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
27342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
27343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
27344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
27345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
27346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
27348 2017-10-31 Alan Modra <amodra@gmail.com>
27350 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
27351 string/strncase_l.c, not string/strncase.c.
27352 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
27353 (libc_hidden_def): Redefine.
27355 2017-10-31 Alan Modra <amodra@gmail.com>
27357 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
27358 (__STRCMP, STRCMP, __strcasecmp_l): Define.
27359 (__strcasecmp): Don't define.
27361 2017-10-31 Alan Modra <amodra@gmail.com>
27363 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
27365 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27366 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27367 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27369 2017-10-31 Alan Modra <amodra@gmail.com>
27371 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
27374 2017-10-31 Alan Modra <amodra@gmail.com>
27376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
27377 Redefine only when SHARED.
27379 2017-10-30 Joseph Myers <joseph@codesourcery.com>
27381 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27382 Include <bits/math-finite.h> with appropriate macros defined and
27384 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27385 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27386 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27387 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27388 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27390 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
27391 [!_Mlong_double_] (_Mlong_double_): Likewise.
27392 [!_Mfloat16_] (_Mfloat16_): Likewise.
27393 [!_Mfloat32_] (_Mfloat32_): Likewise.
27394 [!_Mfloat64_] (_Mfloat64_): Likewise.
27395 [!_Mfloat128_] (_Mfloat128_): Likewise.
27396 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
27397 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
27398 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
27399 (_Mdouble_): Define without indirection through those macros.
27400 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
27401 [!_Mfloat128_] (_Mfloat128_): Likewise.
27402 [_Mlong_double_] (_Mlong_double_): Likewise.
27403 (_Mdouble_): Define without indirection through those macros.
27404 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
27405 not add -D_Mlong_double_=double.
27406 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
27407 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
27409 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27411 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
27413 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27415 * sysdeps/x86/libc-start.c: Reformat.
27417 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27420 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
27421 (1): Renamed to ...
27424 (L(Src2)): Likewise.
27425 (L(1)): Renamed to ...
27428 2017-10-30 Joseph Myers <joseph@codesourcery.com>
27430 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
27431 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
27432 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
27433 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
27434 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
27435 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
27436 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
27437 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
27438 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
27439 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
27440 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
27441 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
27442 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
27443 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
27444 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
27445 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
27446 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
27447 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
27448 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
27449 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
27450 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
27451 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
27452 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
27453 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
27454 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
27455 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
27456 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
27457 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
27458 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
27459 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
27460 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
27461 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
27462 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
27463 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
27464 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
27465 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
27466 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
27467 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
27468 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
27469 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
27470 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
27471 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
27472 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
27473 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
27474 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
27475 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
27476 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
27477 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
27478 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
27479 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
27480 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
27481 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
27482 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
27483 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
27484 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
27485 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
27486 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
27487 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
27488 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
27489 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
27490 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
27491 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
27492 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
27493 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
27494 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
27495 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
27497 2017-10-30 Florian Weimer <fweimer@redhat.com>
27499 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
27501 * io/tst-mkdirat.c (do_test): Likewise.
27502 * io/tst-mkfifoat.c (do_test): Likewise.
27503 * io/tst-mknodat.c (do_test): Likewise.
27504 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
27505 * locale/programs/locale.c (select_dirs): Likewise.
27506 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
27507 * posix/bug-glob2.c (my_readdir): Likewise.
27508 * posix/tst-dir.c (main): Likewise.
27509 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
27510 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
27512 2017-10-30 Florian Weimer <fweimer@redhat.com>
27514 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
27517 2017-10-30 Florian Weimer <fweimer@redhat.com>
27519 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
27520 Convert to support/test-driver.c.
27521 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
27522 New macro parameters.
27523 (PRINTF): Remove macro. Use test_verbose conditionals instead.
27524 * posix/tst-gnuglob.c: New file.
27525 * posix/tst-gnuglob64.c: Likewise.
27526 * posix/Makefile (tests): Add tst-gnuglob64.
27528 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
27531 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
27532 and use a better translation for March in “mon”.
27533 * localedata/locales/csb_PL: Use more ASCII to improve the
27534 readability of the source.
27536 2017-10-30 Mike FABIAN <mfabian@redhat.com>
27539 * localedata/locales/km_KH: Use ASCII as much
27540 as possible for better readability of the source and
27541 remove useless comments.
27542 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
27543 was commented out and apparently wrong anyway because it was
27544 using Lao characters. If Buddhist era should be used
27545 for km_KH, a native speaker should write the correct formaat
27547 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
27548 (According to CLDR, the first weekday for Cambodia is Sunday).
27549 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
27550 (These were using Lao characters which must be wrong. If we get
27551 the correct data from a native speaker, we could add it back, until
27552 then it is better not to have name_mr and name_mrs at all than
27555 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
27557 * locale/loadlocale.c: Correct size of
27558 _nl_value_type_LC_<category> arrays.
27560 2017-10-27 Joseph Myers <joseph@codesourcery.com>
27562 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27563 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
27564 with appropriate macros defined and undefined.
27565 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27566 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27567 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27568 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27569 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27571 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
27573 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
27576 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27578 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
27579 with lowercase letters to make it agree with CLDR.
27581 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27584 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
27585 first letters of yesstr and nostr in yesexpr and noexpr,
27586 not for the full words.
27587 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27588 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
27589 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
27590 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
27591 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
27592 first letters of yesstr and nostr in yesexpr and noexpr,
27593 until now only English was matched in yesexpr and noexpr.
27594 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
27595 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
27596 fil but not for tl. As tl and fil are very similar, using fil
27597 is probably better than using English.
27599 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
27602 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
27603 in yesstr and nostr.
27605 2017-10-26 Joseph Myers <joseph@codesourcery.com>
27607 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27608 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
27609 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
27611 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
27613 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
27615 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
27617 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27618 (SNANF128X): Likewise.
27620 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27621 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
27622 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27623 (HUGE_VAL_F32): Likewise.
27624 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27625 (HUGE_VAL_F64): Likewise.
27626 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27627 (HUGE_VAL_F32X): Likewise.
27628 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27629 (HUGE_VAL_F64X): Likewise.
27630 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27631 (HUGE_VAL_F128X): Likewise.
27633 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
27635 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
27636 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
27637 for the br_FR locale.
27639 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
27642 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
27644 2017-10-25 Carlos O'Donell <carlos@redhat.com>
27646 * locale/programs/record-status.h: Define globals, and function
27647 prototypes. Move function bodies...
27648 * locale/programs/record-status.c: ... to here. New file.
27649 * iconv/Makefile (iconv_prog-modules): Add record-status.
27650 * locale/Makefile (lib-modules): Likewise.
27651 * iconv/iconv_prog.c: Remove verbose.
27652 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
27653 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
27654 record a warning about ASCII compatibility.
27655 * locale/programs/ld-monetary.c (monetary_finish): If
27656 warn_int_curr_symbol is true then record a warning about the symbol
27657 not being in our ISO 4217 list.
27658 * locale/programs/locale.c: Include record-status.h. Remove verbose.
27659 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
27660 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
27661 (OPT_NO_WARN): Define.
27662 (OPT_WARN): Define.
27663 (options): Add entry for --no-warnings, and --warnings.
27664 (set_warnings): New function to enable/disable warnings.
27665 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
27666 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
27667 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
27668 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
27669 Pass flags to generate_locale.
27670 (generate_locale): Accept new flag argument and pass it to localedef
27672 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
27673 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
27675 * localedata/Makefile (test-input-data): Use full file name.
27676 * localedata/da_DK.in: Rename to...
27677 * localedata/da_DK.ISO-8859-1.in: ...this.
27678 * localedata/de_DE.in: Rename to...
27679 * localedata/de_DE.ISO-8859-1.in: ...this.
27680 * localedata/en_US.in: Rename to...
27681 * localedata/en_US.ISO-8859-1.in: ...this.
27682 * localedata/fr_FR.in: Rename to...
27683 * localedata/fr_FR.UTF-8.in: ... this.
27684 * localedata/hr_HR.in: Rename to...
27685 * localedata/hr_HR.ISO-8859-2.in: ...this.
27686 * localedata/hu_HU.in: Rename to...
27687 * localedata/hu_HU.UTF-8.in: ...this.
27688 * localedata/si_LK.in: Rename to...
27689 * localedata/si_LK.UTF-8.in: ...this.
27690 * localedata/sv_SE.in: Rename to...
27691 * localedata/sv_SE.ISO-8859-1.in: ...this.
27692 * localedata/tr_TR.in: Rename to...
27693 * localedata/tr_TR.UTF-8.in: ...this.
27694 * localedata/uk_UA.in: Rename to...
27695 * localedata/uk_UA.UTF-8.in: ...this.
27696 * localedata/sort-test.sh: Test file is locale name with the
27699 * localedata/unicode-gen/Makefile (check_i18n): Rename to
27700 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
27702 * localedata/locales/i18n_ctype: Regenerate.
27703 * localedata/locales/tr_TR: Likewise.
27704 * localedata/locales/translit_circle: Likewise.
27705 * localedata/locales/translit_cjk_compat: Likewise.
27706 * localedata/locales/translit_combining: Likewise.
27707 * localedata/locales/translit_compat: Likewise.
27708 * localedata/locales/translit_font: Likewise.
27709 * localedata/locales/translit_fraction: Likewise.
27711 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27713 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
27714 lxvd2x/stxvd2x with lvx/stvx.
27715 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
27717 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
27719 * include/alloc_buffer.h: Replace "if if " with "if " in
27721 * sysdeps/mips/memcpy.S: Likkewise.
27722 * sysdeps/mips/memset.S: Likewise.
27723 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
27725 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
27727 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
27730 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27733 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
27734 yesexpr and noexpr.
27735 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27736 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27737 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27738 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27739 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27740 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27741 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27743 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27745 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
27746 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27747 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27748 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27749 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27750 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
27751 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27752 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27753 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27754 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27755 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27756 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27758 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27760 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
27761 as possible for better readability of the source.
27762 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
27763 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
27764 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
27765 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
27766 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
27767 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
27768 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
27769 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
27770 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27771 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
27772 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
27773 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
27774 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
27775 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
27776 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
27777 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
27778 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
27779 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
27780 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
27781 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
27782 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
27783 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
27784 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
27785 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
27786 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
27787 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
27788 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
27789 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
27790 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
27791 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
27792 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
27793 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27794 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
27795 * localedata/locales/en_US (LC_MESSAGES): Likewise.
27796 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
27797 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
27798 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
27799 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
27800 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
27801 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
27802 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
27803 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
27804 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
27805 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
27806 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
27807 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
27808 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
27809 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
27810 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
27811 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
27812 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
27813 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
27814 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
27815 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27816 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27817 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
27818 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
27819 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27820 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
27821 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
27822 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
27823 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
27824 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
27825 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
27826 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
27827 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
27828 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
27829 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
27830 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
27831 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
27832 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
27833 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
27834 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
27835 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
27836 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27837 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
27838 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
27839 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
27840 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
27841 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
27842 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
27843 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
27844 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
27845 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27846 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
27847 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
27848 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
27849 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27850 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
27851 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
27852 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
27853 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
27854 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27855 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
27856 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
27857 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27858 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
27859 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27860 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
27861 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
27862 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
27863 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
27864 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
27865 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
27866 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
27867 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
27868 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
27869 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
27870 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
27871 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
27872 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
27873 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
27874 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27875 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
27876 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
27877 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
27878 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
27879 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
27880 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
27881 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
27882 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
27883 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
27884 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
27885 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
27886 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
27887 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
27888 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
27889 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
27890 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
27891 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
27892 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
27893 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
27894 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
27895 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
27896 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
27897 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
27898 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
27899 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
27900 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
27901 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
27902 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
27903 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
27904 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
27905 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
27906 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
27907 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27908 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
27909 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
27910 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
27911 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
27912 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
27913 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
27914 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
27915 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
27916 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27917 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
27918 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
27919 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
27920 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
27921 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
27922 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
27923 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
27924 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
27925 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
27926 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
27927 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27928 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
27929 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
27930 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
27931 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
27932 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27933 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27934 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27935 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
27937 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27939 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
27940 (Use first letters of yesstr and nostr correctly instead of using
27943 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27945 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
27946 (Use first letters of yesstr and nostr correctly).
27948 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27950 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
27951 also check for the first characters of yesstr and nostr.
27952 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
27953 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
27955 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27957 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
27958 also check for Chinese characters.
27960 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27962 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
27963 match also for the contents of yesstr and nostr. As the first letter
27964 of yesstr and nostr is equal, checking only for the first letter
27967 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27969 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
27970 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
27972 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27974 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
27975 of main contributor.
27977 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27979 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
27980 instead of using English.
27982 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27984 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
27985 by including the first letters of nostr and yesexpr in the regexp.
27986 Also make it more readable by using ASCII where possible.
27988 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27990 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
27991 the first letter of nostr in the regexp. It agrees with CLDR now.
27992 Also make it more readable by using ASCII where possible.
27994 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27996 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
27997 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
27998 these strings contain a U+17D6 (which somewhat looks like a colon)
27999 instead of a real colon to separate the full words for “yes”
28000 and “no” from the single letter responses.
28002 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28004 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
28005 it agree with CLDR (include the first letter of yesstr).
28006 Also make it more readable by using ASCII where possible.
28008 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28010 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
28011 and improve yesexpr and noexpr. The yesstr and nostr apparently
28012 came from CLDR. And CLDR has a bug there: these strings contain
28013 a U+0903 (which looks like a colon) instead of a real colon
28014 to separate the full words for “yes” and “no” from the single
28017 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28019 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
28020 letters of the full yesstr and nostr in yesexpr and noexpr.
28022 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28024 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
28025 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
28026 * localedata/locales/an_ES: Make source more readable by using ASCII
28029 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28032 * localedata/locales/yuw_PG: New file.
28033 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
28034 * locale/iso-639.def: Add Yau (Uruwa).
28036 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28038 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
28040 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28042 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
28043 (__libc_realloc): Likewise.
28044 (_mid_memalign): Likewise.
28045 (__libc_calloc): Likewise.
28047 2017-10-23 Mike FABIAN <mfabian@redhat.com>
28049 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
28050 by adding the generic +1 and -0 as in all other locales.
28051 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
28052 day names and make it more readable by using ASCII where possible.
28054 2017-10-24 Joseph Myers <joseph@codesourcery.com>
28056 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
28057 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
28059 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28061 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
28062 WNOHANG in waitpid call.
28064 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
28066 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
28067 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
28069 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
28070 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
28071 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
28072 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
28073 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
28074 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
28075 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
28076 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
28079 2017-10-23 Michael Collison <michael.collison@arm.com>
28081 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
28082 with __builtin_sqrt.
28083 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
28084 with __builtin_sqrtf.
28085 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
28086 with __builtin_ceil.
28087 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
28088 with __builtin_ceilf.
28089 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
28090 with __builtin_floor.
28091 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
28092 with __builtin_floorf.
28093 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
28094 with __builtin_fma.
28095 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
28096 with __builtin_fmaf.
28097 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
28098 with __builtin_fmax.
28099 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
28100 with __builtin_fmaxf.
28101 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
28102 with __builtin_fmin.
28103 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
28104 with __builtin_fminf.
28105 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
28106 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
28107 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
28108 with builtin_rint and conversion to int.
28109 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
28110 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
28111 with builtin_llround.
28112 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
28113 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
28114 with builtin_rint and conversion to long int.
28115 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
28116 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
28117 with builtin_lround.
28118 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
28119 with builtin_lroundf.
28120 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
28121 statements with __builtin_nearbyint.
28122 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
28123 statements with __builtin_nearbyintf.
28124 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
28125 with __builtin_rint.
28126 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
28127 with __builtin_rintf.
28128 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
28129 with __builtin_round.
28130 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
28131 with __builtin_roundf.
28132 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
28133 with __builtin_trunc.
28134 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
28135 with __builtin_truncf.
28136 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
28137 and s_l[l]round[f].c too.
28139 2017-10-23 Alan Modra <amodra@gmail.com>
28141 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
28142 Adjust stack after restoring regs. Add missing LR cfi_restore.
28144 2017-10-23 Alan Modra <amodra@gmail.com>
28146 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
28147 Move LR save and frame setup/teardown and LR restore to
28148 immediately around memset call. Provide cfi.
28150 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28152 * sysdeps/i386/fpu/e_powf.S: Removed.
28153 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
28154 * sysdeps/i386/fpu/w_powf.c: Likewise.
28155 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
28156 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28157 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28159 (CFLAGS-e_powf-sse2.c): New.
28160 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
28161 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
28163 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28165 * sysdeps/i386/fpu/e_log2f.S: Removed.
28166 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
28167 * sysdeps/i386/fpu/w_log2f.c: Likewise.
28168 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
28169 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28170 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28172 (CFLAGS-e_log2f-sse2.c): New.
28173 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
28174 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
28176 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28178 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28180 (CFLAGS-e_powf-fma.c): New.
28181 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
28182 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
28184 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28186 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28188 (CFLAGS-e_log2f-fma.c): New.
28189 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
28190 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
28192 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28194 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28196 (CFLAGS-e_logf-fma.c): New.
28197 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
28198 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
28200 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28202 * sysdeps/i386/fpu/e_logf.S: Removed.
28203 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
28204 * sysdeps/i386/fpu/w_logf.c: Likewise.
28205 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
28206 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
28207 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28208 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28210 (CFLAGS-e_logf-sse2.c): New.
28211 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
28212 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
28214 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28216 * sysdeps/i386/fpu/e_exp2f.S: Removed.
28217 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
28218 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
28219 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28220 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28222 (CFLAGS-e_exp2f-sse2.c): New.
28223 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
28224 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
28226 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28228 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28230 (CFLAGS-e_exp2f-fma.c): New.
28231 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
28232 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
28234 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28236 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
28237 * sysdeps/i386/fpu/e_expf.S: Likewise.
28238 * sysdeps/i386/fpu/math_errf.c: Likewise.
28239 * sysdeps/i386/fpu/w_expf.c: Likewise.
28240 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
28241 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28242 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
28243 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
28244 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28245 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28246 Remove e_expf-ia32.
28247 (CFLAGS-e_expf-sse2.c): New.
28248 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
28249 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
28251 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28253 * sysdeps/x86_64/fpu/e_expf.S: Removed.
28254 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
28255 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
28256 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
28258 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
28260 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
28261 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28263 (__redirect_expf): This.
28264 (SYMBOL_NAME): Changed to expf.
28265 (__ieee754_expf): Renamed to ...
28267 (__GI___expf): This.
28268 (__ieee754_expf): Add strong_alias.
28269 (__expf_finite): Likewise.
28271 Include <sysdeps/ieee754/flt-32/e_expf.c>.
28273 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
28276 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
28279 2017-10-21 Florian Weimer <fweimer@redhat.com>
28281 * posix/Makefile (tests): Add tst-glob-tilde.
28282 (tests-special): Add tst-glob-tilde-mem.out
28283 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
28284 (tst-glob-tilde-mem.out): Add mtrace check.
28285 * posix/tst-glob-tilde.c: New file.
28287 2017-10-20 Joseph Myers <joseph@codesourcery.com>
28289 * bits/floatn-common.h: New file.
28290 * math/Makefile (headers): Add bits/floatn-common.h.
28291 * bits/floatn.h: Include <bits/floatn-common.h>.
28292 * sysdeps/ia64/bits/floatn.h: Likewise.
28293 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28294 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
28295 * sysdeps/powerpc/bits/floatn.h: Likewise.
28296 * sysdeps/x86/bits/floatn.h: Likewise.
28298 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28300 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
28301 indicates whether compiler emits an warning for alias for
28302 functions with incompatible types.
28305 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
28306 the auxiliary process is terminated by a signal before calling _exit
28309 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28312 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
28314 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
28315 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
28316 and bit_arch_XSAVEC_Usable if needed.
28317 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
28318 and bit_arch_Use_dl_runtime_resolve_opt.
28319 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
28321 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
28322 (bit_arch_Prefer_No_AVX512): Updated.
28323 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
28324 (bit_arch_XSAVEC_Usable): New.
28325 (STATE_SAVE_OFFSET): Likewise.
28326 (STATE_SAVE_MASK): Likewise.
28327 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
28328 (cpu_features): Add xsave_state_size and xsave_state_full_size.
28329 (index_arch_Use_dl_runtime_resolve_opt): Removed.
28330 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
28331 (index_arch_XSAVEC_Usable): New.
28332 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28333 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
28334 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
28336 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
28337 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
28338 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
28339 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
28340 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
28341 _dl_runtime_resolve_xsavec.
28342 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
28344 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
28345 instead of VEC_SIZE.
28346 (REGISTER_SAVE_BND0): Removed.
28347 (REGISTER_SAVE_BND1): Likewise.
28348 (REGISTER_SAVE_BND3): Likewise.
28349 (REGISTER_SAVE_RAX): Always defined to 0.
28351 (_dl_runtime_resolve_avx): Likewise.
28352 (_dl_runtime_resolve_avx_slow): Likewise.
28353 (_dl_runtime_resolve_avx_opt): Likewise.
28354 (_dl_runtime_resolve_avx512): Likewise.
28355 (_dl_runtime_resolve_avx512_opt): Likewise.
28356 (_dl_runtime_resolve_sse): Likewise.
28357 (_dl_runtime_resolve_sse_vex): Likewise.
28359 (_dl_runtime_resolve_fxsave): Likewise.
28360 (USE_XSAVE): Likewise.
28361 (_dl_runtime_resolve_xsave): Likewise.
28362 (USE_XSAVEC): Likewise.
28363 (_dl_runtime_resolve_xsavec): Likewise.
28364 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
28366 (_dl_runtime_resolve_avx512_opt): Likewise.
28367 (_dl_runtime_resolve_avx): Likewise.
28368 (_dl_runtime_resolve_avx_opt): Likewise.
28369 (_dl_runtime_resolve_sse): Likewise.
28370 (_dl_runtime_resolve_sse_vex): Likewise.
28371 (_dl_runtime_resolve_fxsave): New.
28372 (_dl_runtime_resolve_xsave): Likewise.
28373 (_dl_runtime_resolve_xsavec): Likewise.
28375 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
28379 * posix/glob.c (__glob): Fix one-byte overflow.
28381 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28383 * malloc/malloc.c (sysdep-cancel.h): Add include.
28385 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28387 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
28389 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
28391 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
28392 (tests): Remove $(objpfx)ga_test depdendency.
28393 * resolv/ga_test.c: Remove file.
28395 2017-10-20 Mike FABIAN <mfabian@redhat.com>
28398 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
28399 * localedata/locales/kab_DZ: New file.
28401 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28403 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
28404 _dl_relocate_static_pie instead of _dl_start to compute load
28405 address in static PIE.
28407 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28409 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
28411 2017-10-20 Mike FABIAN <mfabian@redhat.com>
28414 * localedata/SUPPORTED: Add shn_MM/UTF-8.
28415 * localedata/locales/shn_MM: New file.
28417 2017-10-20 Florian Weimer <fweimer@redhat.com>
28420 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
28421 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
28422 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
28423 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
28424 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
28425 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
28427 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
28429 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28431 2017-10-19 Joseph Myers <joseph@codesourcery.com>
28433 * sysdeps/mips/ieee754/bits/floatn.h: New file.
28436 * sysdeps/mips/bits/long-double.h: Move to ....
28437 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
28439 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
28441 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
28443 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
28444 H.J. Lu <hongjiu.lu@intel.com>
28447 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
28448 GLRO(dl_platform) to NULL.
28449 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
28450 (modules-names): Add tst-platformmod-1 and
28451 x86_64/tst-platformmod-2.
28452 (CFLAGS-tst-platform-1.c): New.
28453 (CFLAGS-tst-platformmod-1.c): Likewise.
28454 (CFLAGS-tst-platformmod-2.c): Likewise.
28455 (LDFLAGS-tst-platformmod-2.so): Likewise.
28456 ($(objpfx)tst-platform-1): Likewise.
28457 ($(objpfx)tst-platform-1.out): Likewise.
28458 (tst-platform-1-ENV): Likewise.
28459 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
28460 * sysdeps/x86_64/tst-platform-1.c: New file.
28461 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
28462 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
28464 2017-10-19 Mike FABIAN <mfabian@redhat.com>
28467 * locale/iso-639.def: Add Karbi.
28468 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
28469 * localedata/locales/mjw_IN: New file.
28471 2017-10-18 Joseph Myers <joseph@codesourcery.com>
28473 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
28474 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28475 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
28476 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
28477 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28478 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28479 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
28481 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28482 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28483 * manual/math.texi (Mathematics): Document additional architecture
28484 support for _Float128.
28485 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
28486 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
28487 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28488 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28489 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28490 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28491 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28492 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28493 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28494 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28495 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28496 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28497 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28498 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28499 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28501 2017-10-18 Renlin Li <renlin.li@arm.com>
28503 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
28504 _DYNAMIC symbol to calculate load address.
28506 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
28508 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
28509 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
28511 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
28512 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
28514 2017-10-18 Mike FABIAN <mfabian@redhat.com>
28517 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
28518 and improve readability by using more ASCII.
28519 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
28520 and improve readability by using more ASCII.
28522 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
28524 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
28525 not all targets support atomics on bool.
28527 2017-10-17 Joseph Myers <joseph@codesourcery.com>
28529 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
28530 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
28532 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28533 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
28534 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28535 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
28536 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28537 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
28539 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28541 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
28544 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28547 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
28548 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
28549 (do_check_remalloced_chunk): Fix build bug.
28550 (do_check_malloc_state): Add assert that checks arena->top.
28551 (malloc_consolidate): Remove initialization.
28552 (int_mallinfo): Remove call to malloc_consolidate.
28553 (__libc_mallopt): Clarify why malloc_consolidate is needed.
28555 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28557 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
28558 (have_fastchunks): Remove.
28559 (clear_fastchunks): Remove.
28560 (set_fastchunks): Remove.
28561 (malloc_state): Add have_fastchunks.
28562 (malloc_init_state): Use have_fastchunks.
28563 (do_check_malloc_state): Remove incorrect invariant checks.
28564 (_int_malloc): Use have_fastchunks.
28565 (_int_free): Likewise.
28566 (malloc_consolidate): Likewise.
28568 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28570 * malloc/malloc.c (tcache_put): Inline.
28571 (tcache_get): Inline.
28573 2017-10-17 Jordi Mallach <jordi@gnu.org>
28575 Aurelien Jarno <aurelien@aurel32.net>
28577 * localedata/locales/ca_ES@valencia: New file.
28578 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
28580 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
28583 * math/math.h: Let signbit use the builtin in C++ mode with gcc
28586 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28588 * scripts/build-many-glibcs.py (Context.add_all_configs):
28589 Add arm-linux-gnueabihf multiarch extra_glibcs.
28591 * sysdeps/generic/ifunc-init.h: New file.
28592 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
28594 2017-10-17 Mike FABIAN <mfabian@redhat.com>
28597 * localedata/locales/el_GR: Set n_cs_precedes to 0.
28598 * localedata/locales/el_CY: copy "el_GR" because it is identical.
28599 * stdlib/tst-strfmon_l.c: adapt test case.
28601 2017-10-16 Joseph Myers <joseph@codesourcery.com>
28603 * sysdeps/generic/float128-abi.h: New file.
28604 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
28605 non-__prefixed symbols to ....
28606 * math/Versions: ... here. Include <float128-abi.h>.
28607 * stdlib/Versions ... and here. Include <float128-abi.h>
28609 2017-10-16 Florian Weimer <fweimer@redhat.com>
28611 * version.h (VERSION): Switch to ".9000" as the development
28614 2017-10-16 Florian Weimer <fweimer@redhat.com>
28617 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
28618 compat_symbol_reference to access non-default version.
28620 2017-10-16 Florian Weimer <fweimer@redhat.com>
28622 * malloc/Makefile (others-extras): Set to mcheck-init.o.
28624 2017-10-16 Carlos O'Donell <carlos@redhat.com>
28626 * include/shlib-compat.h (compat_symbol_reference): Update
28629 2017-10-16 Joseph Myers <joseph@codesourcery.com>
28631 * math/Makefile (test-types): Add
28632 $(type-float128-$(float128-alias-fcts)).
28633 * math/test-float128.h (TYPE_STR): Define conditional on
28634 [FLT128_MANT_DIG == LDBL_MANT_DIG].
28635 (ULP_IDX): Likewise.
28636 (ULP_I_IDX): Likewise.
28638 * stdlib/strtold.c: Include <bits/floatn.h>
28639 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
28640 and later undefine as macro. Define as weak alias if
28642 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
28643 and later undefine as macro. Define as weak alias if
28645 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
28646 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
28647 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
28648 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28649 Define and later undefine as macro. Define as weak alias if
28651 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
28653 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
28654 Define and later undefine as macro. Define as weak alias if
28656 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28657 Define and later undefine as macro. Define as weak alias if
28660 2017-10-15 Carlos O'Donell <carlos@redhat.com>
28662 * localedata/collate-test.c (allocate_arrays): Don't use \n in
28663 record_verbose messages.
28665 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
28668 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
28669 to silence -O3 -Wall warning with GCC 7.
28671 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
28673 * Makeconfig (+link-static-before-libc): Use the first of
28674 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
28675 * gmon/Makefile (tests): Add tst-gmon-static.
28676 (tests-static): Likewise.
28677 (CFLAGS-tst-gmon-static.c): New.
28678 (CRT-tst-gmon-static): Likewise.
28679 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
28680 (tst-gmon-static-ENV): Likewise.
28681 (tests-special): Likewise.
28682 ($(objpfx)tst-gmon-static.out): Likewise.
28683 (clean-tst-gmon-static-data): Likewise.
28684 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
28685 * gmon/tst-gmon-static-gprof.sh: New file.
28686 * gmon/tst-gmon-static.c: Likewise.
28688 2017-10-13 Carlos O'Donell <carlos@redhat.com>
28691 * locale/programs/linereader.c (get_string): Don't warn on
28692 non-symbolic character.
28695 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
28699 * locale/programs/record-status.h: New file
28700 * locale/programs/locale.c: Add comment.
28701 * locale/programs/charmap-dir.c: Don't include error.h.
28702 (charmap_opendir): Use record_error.
28703 * locale/programs/charmap.c: Don't include error.h.
28704 (charmap_read): Use record_error, and record_warning.
28705 (parse_charmap): Likewise.
28706 * locale/programs/ld-address.c: Don't include error.h.
28707 (address_finish): Use record_error, and record_warning.
28708 * locale/programs/ld-collate.c: Don't include error.h.
28709 (collate_finish): Use record_error, and record_error_at_line.
28710 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
28711 (ctype_class_new): Likewise.
28712 (ctype_map_new): Likewise.
28713 (set_one_default): Likewise.
28714 (set_class_defaults): Likewise.
28715 (translit_flatten): Likewise.
28716 (allocate_arrays): Use record_error, and record_verbose.
28717 * locale/programs/ld-identification.c: Don't include error.h.
28718 (indentation_finish): Use record_error and record_warning.
28719 * locale/programs/ld-measurement.c: Don't include error.h.
28720 (measurement_finish): Use record_error.
28721 * locale/programs/ld-messages.c
28722 (message_finish): Likewise.
28723 * locale/programs/ld-monetary.c
28724 (monetary_finish): Likewise.
28725 * locale/programs/ld-name.c (name_finish): Use record_error
28726 and record_warning.
28727 * locale/programs/ld-numeric.c
28728 (numeric_finish): Use record_error.
28729 * locale/programs/ld-paper.c: Don't include error.h.
28730 (paper_finish): Use record_error.
28731 * locale/programs/ld-telephone.c: Don't include error.h.
28732 (telephone_finish): Use record_error.
28733 * locale/programs/ld-time.c (time_finish): Likewise.
28734 * locale/programs/linereader.h (lr_error): Make inline func.
28735 * locale/programs/localedef.c: Define recorded_warning_count,
28736 and recorded_error_count.
28737 (main): Use record_error. Use recorded_error_count and
28738 recorded_warning_count to issue correct error returns.
28739 (add_to_readlist): Use record_error.
28740 (find_locale): Likewise.
28741 (load_locale): Likewise.
28742 * locale/programs/localedef.h: Remove be_quiet
28743 and WITH_CUR_LOCALE.
28744 * locale/programs/locarchive.c (compare_from_file): Use
28746 * locale/programs/locfile.c (write_locale_data): Use
28748 * locale/programs/repertoire.c: Dont include error.h.
28749 (repertoire_complain): Use record_error.
28750 * localedata/tst-fmon.sh: Expect failures from localedef.
28751 * localedata/tst-locale.sh: Likewise.
28752 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
28754 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
28755 (REPORTS): Likewise.
28757 (i18n): Rename to...
28758 (i18n_ctype): ...this.
28759 (i18n-report): Rename to...
28760 (i18n_ctype-report): ...this.
28761 * localedata/locales/i18n_ctype: Regenerate.
28762 * localedata/locales/i18n: copy i18n_ctype.
28764 2017-10-13 Joseph Myers <joseph@codesourcery.com>
28766 * stdlib/strfroml.c: Include <bits/floatn.h>.
28767 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
28768 Define before include of <stdlib.h> and undefine afterwards, then
28769 define as weak alias.
28771 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
28772 Undefine and restore default definition. Use
28773 libm_alias_ldouble_other.
28775 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
28778 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
28781 2017-10-13 James Clarke <jrtc27@jrtc27.com>
28783 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28784 Assign sym_map to be map for local symbols, as TLS relocations
28785 use sym_map to determine whether the symbol is defined and to
28786 extract the TLS information.
28787 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28788 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28790 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28793 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
28794 (math_force_eval): Add powerpc version.
28797 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
28799 (do_test): Likewise.
28800 * stdio-common/tst-printf.sh: Likewise.
28801 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
28802 ifdef clause in order to set the carry bit right. Replace r0 by
28803 0 without changing the behavior.
28805 2017-10-13 Joseph Myers <joseph@codesourcery.com>
28807 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
28808 <libm-alias-ldouble.h>.
28809 (fabsl): Define using libm_alias_ldouble.
28810 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
28811 <libm-alias-ldouble.h>.
28812 (fabsl): Define using libm_alias_ldouble.
28814 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
28815 Remove conditional code.
28817 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
28818 Rename to __clog10_internal_l.
28819 (__clog10_internal_l): Define aliases using
28820 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
28823 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28825 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
28826 * benchtests/sincosf-inputs: New file.
28827 * benchtests/cosf-inputs: New file.
28828 * benchtests/sinf-inputs: New file.
28830 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
28832 * posix/tst-spawn.c (do_test): Wait for both children.
28834 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
28837 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
28838 tests-pie): Add tst-gmon-pie.
28839 (CFLAGS-tst-gmon-pie.c): New.
28840 (CRT-tst-gmon-pie): Likewise.
28841 (tst-gmon-pie-ENV): Likewise.
28842 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
28843 ($(objpfx)tst-gmon-pie.out): Likewise.
28844 (clean-tst-gmon-pie-data): Likewise.
28845 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
28846 * gmon/gmon.c [PIC]: Include <link.h>.
28847 [PIC] (callback): New function.
28848 (write_hist): Add an argument for load address. Subtract load
28850 (write_call_graph): Likewise.
28851 (write_gmon): Call __dl_iterate_phdr to get load address, pass
28852 it to write_hist and write_call_graph.
28853 * gmon/tst-gmon-pie.c: New file.
28855 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28857 * math/Makefile (test-types-basic): New variable.
28858 (test-types): Likewise.
28859 (libm-test-support): Use $(test-types) instead of $(types).
28860 (libm-tests-base-normal): Likewise.
28861 (libm-tests-base-finite): Likewise.
28862 (libm-tests-base-inline): Likewise.
28863 (generated): Likewise.
28864 ($(objpfx)libm-test-support-$(t).c): Likewise.
28865 (libm-tests-for-type iterator): Likewise.
28866 (libm-test-support iterator): Likewise.
28867 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
28868 (ulp_idx): Use ULP_IDX.
28869 * math/test-ldouble.h: Include <float.h>.
28870 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
28871 (ULP_IDX): New macro.
28872 (ULP_I_IDX): Likewise.
28873 * math/test-double.h (ULP_IDX): Likewise.
28874 (ULP_I_IDX): Likewise.
28875 * math/test-float.h (ULP_IDX): Likewise.
28876 (ULP_I_IDX): Likewise.
28877 * math/test-float128.h (ULP_IDX): Likewise.
28878 (ULP_I_IDX): Likewise.
28880 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28882 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
28883 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28884 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28885 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
28886 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28887 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
28888 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
28889 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28890 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28891 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28892 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
28893 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28894 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28895 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28896 (SINGLE_THREAD_BY_GLOBAL): Define.
28897 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28899 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28901 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28903 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28905 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
28906 (SINGLE_THREAD_BY_GLOBAL): Likewise.
28907 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28910 2017-10-11 Andreas Schwab <schwab@suse.de>
28912 * nis/Makefile (aux): Remove.
28913 * nscd/Makefile (aux): Add nscd_hash.
28914 (nscd-modules): Likewise.
28915 ($(objpfx)nscd): Don't depend on libnsl.
28916 * nscd/nscd_hash.c: New file.
28917 * nscd/nscd_hash.h: Likewise.
28918 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
28919 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
28920 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
28921 instead of <nis/rpcsvc/nis.h>.
28922 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
28924 2017-10-11 Florian Weimer <fweimer@redhat.com>
28927 Avoid large NSS buffers with many addresses, aliases.
28928 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
28929 using dynarrays and struct alloc_buffer.
28930 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
28931 (tst-nss-files-hosts-multi): Link with -ldl.
28932 * nss/tst-nss-files-hosts-multi.c: New file.
28934 2017-10-11 Florian Weimer <fweimer@redhat.com>
28937 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
28938 scratch_buffer. Eliminate gotos.
28940 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28942 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
28943 libm_alias_ldouble_other.
28944 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
28945 undefine and redefine.
28946 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28947 (exp10l): Do not define here.
28948 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
28949 (weak_alias): Undefine and redefine.
28950 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
28951 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28952 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
28953 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
28955 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
28956 [!__fma] (fma): Define using libm_alias_double.
28957 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
28958 [!__fmaf] (fmaf): Define using libm_alias_float.
28959 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
28960 (fmal): Define using libm_alias_ldouble.
28962 2017-10-10 Joseph Myers <joseph@codesourcery.com>
28964 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
28966 (libm_alias_double_other): Likewise.
28967 (libm_alias_double_r): Use libm_alias_double_other_r.
28968 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
28970 (libm_alias_float_other): Likewise.
28971 (libm_alias_float_r): Use libm_alias_float_other_r.
28972 * sysdeps/generic/libm-alias-float128.h
28973 (libm_alias_float128_other_r): New macro.
28974 (libm_alias_float128_other): Likewise.
28975 (libm_alias_float128_r): Use libm_alias_float128_other_r.
28976 * sysdeps/generic/libm-alias-ldouble.h
28977 (libm_alias_ldouble_other_r): New macro.
28978 (libm_alias_ldouble_other): Likewise.
28979 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28980 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
28981 (libm_alias_double_other_r): New macro.
28982 (libm_alias_double_other): Likewise.
28983 (libm_alias_double_r): Use libm_alias_double_other_r.
28984 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
28985 (libm_alias_ldouble_other_r): New macro.
28986 (libm_alias_ldouble_other): Likewise.
28987 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28988 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
28989 [!USE_AS_COMPAT]: Use libm_alias_double_other.
28990 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
28991 [!USE_AS_COMPAT]: Use libm_alias_float_other.
28992 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
28993 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
28994 * math/w_exp2f.c: Use libm_alias_float_other.
28995 * math/w_expf.c: Likewise.
28996 * math/w_log2f.c: Likewise.
28997 * math/w_logf.c: Likewise.
28998 * math/w_powf.c: Likewise.
28999 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
29000 [!__exp2f]: Use libm_alias_float_other.
29001 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
29002 [!__expf]: Use libm_alias_float_other.
29003 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
29004 [!__log2f]: Use libm_alias_float_other.
29005 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
29006 [!__logf]: Use libm_alias_float_other.
29007 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
29008 [!__powf]: Use libm_alias_float_other.
29010 2017-10-10 Florian Weimer <fweimer@redhat.com>
29012 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
29014 (_nss_files_gethostbyname3_r): Call it.
29016 2017-10-09 Joseph Myers <joseph@codesourcery.com>
29018 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
29019 error. Remove default definition of declare_mgen_alias.
29020 [!declare_mgen_alias_r]: Likewise.
29021 * sysdeps/generic/math-type-macros-double.h
29022 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
29023 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
29024 (declare_mgen_alias_r): Likewise.
29025 * sysdeps/generic/math-type-macros-float128.h
29026 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29027 * sysdeps/generic/math-type-macros-ldouble.h
29028 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29029 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
29031 (declare_mgen_alias_r_s): Likewise.
29032 (declare_mgen_alias_r): Likewise.
29033 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
29034 (lgamma_r): Define using libm_alias_double_r.
29035 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
29036 (lgammaf_r): Define using libm_alias_float_r.
29037 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
29038 (lgammal_r): Define using libm_alias_ldouble_r.
29039 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
29040 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29042 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29044 * lib/glob.c (__glob_pattern_type): Remove now-spurious
29045 extern declaration.
29047 2017-10-09 Joseph Myers <joseph@codesourcery.com>
29049 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
29051 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
29054 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
29055 [__cplusplus >= 201103] (__USE_ISOC99): Define.
29056 * math/Makefile (test-math-cxx11): New test.
29057 * math/test-math-cxx11.cc: New file.
29059 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
29061 * login/openpty.c (openpty): Close slave pty file descriptor on error.
29063 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
29064 call to allocate the slave pty file descriptor.
29066 2017-10-06 Joseph Myers <joseph@codesourcery.com>
29068 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
29069 [!__fma] (fma): Define using libm_alias_double.
29070 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
29071 [!__fma] (fma): Define using libm_alias_double.
29073 * sysdeps/ieee754/float128/float128_private.h: Include
29074 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
29075 (libm_alias_ldouble_r): Undefine and redefine.
29076 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
29077 <libm-alias-ldouble.h>.
29078 (asinhl): Define using libm_alias_ldouble.
29079 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
29080 <libm-alias-ldouble.h>.
29081 (atanl): Define using libm_alias_ldouble.
29082 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
29083 <libm-alias-ldouble.h>.
29084 (cbrtl): Define using libm_alias_ldouble.
29085 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
29086 <libm-alias-ldouble.h>.
29087 (ceill): Define using libm_alias_ldouble.
29088 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
29089 <libm-alias-ldouble.h>.
29090 (copysignl): Define using libm_alias_ldouble.
29091 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
29092 <libm-alias-ldouble.h>.
29093 (cosl): Define using libm_alias_ldouble.
29094 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
29095 <libm-alias-ldouble.h>.
29096 (erfl): Define using libm_alias_ldouble.
29098 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
29099 <libm-alias-ldouble.h>.
29100 (expm1l): Define using libm_alias_ldouble.
29101 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
29102 <libm-alias-ldouble.h>.
29103 (fabsl): Define using libm_alias_ldouble.
29104 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
29105 <libm-alias-ldouble.h>.
29106 (floorl): Define using libm_alias_ldouble.
29107 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
29108 <libm-alias-ldouble.h>.
29109 (fmal): Define using libm_alias_ldouble.
29110 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
29111 <libm-alias-ldouble.h>.
29112 (frexpl): Define using libm_alias_ldouble.
29113 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
29114 libm_alias_ldouble.
29115 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
29116 <libm-alias-ldouble.h>.
29117 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
29118 libm_alias_ldouble.
29119 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
29120 <libm-alias-ldouble.h>.
29121 (getpayloadl): Define using libm_alias_ldouble.
29122 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
29123 <libm-alias-ldouble.h>.
29124 (llrintl): Define using libm_alias_ldouble.
29125 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
29126 <libm-alias-ldouble.h>.
29127 (llroundl): Define using libm_alias_ldouble.
29128 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
29129 <libm-alias-ldouble.h>.
29130 (logbl): Define using libm_alias_ldouble.
29131 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
29132 <libm-alias-ldouble.h>.
29133 (lrintl): Define using libm_alias_ldouble.
29134 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
29135 <libm-alias-ldouble.h>.
29136 (lroundl): Define using libm_alias_ldouble.
29137 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
29138 <libm-alias-ldouble.h>.
29139 (modfl): Define using libm_alias_ldouble.
29140 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
29141 <libm-alias-ldouble.h>.
29142 (nearbyintl): Define using libm_alias_ldouble.
29143 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
29144 <libm-alias-ldouble.h>.
29145 (nextafterl): Define using libm_alias_ldouble.
29146 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
29147 <libm-alias-ldouble.h>.
29148 (nextupl): Define using libm_alias_ldouble.
29149 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
29150 <libm-alias-ldouble.h>.
29151 (remquol): Define using libm_alias_ldouble.
29152 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
29153 <libm-alias-ldouble.h>.
29154 (rintl): Define using libm_alias_ldouble.
29155 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
29156 <libm-alias-ldouble.h>.
29157 (roundevenl): Define using libm_alias_ldouble.
29158 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
29159 <libm-alias-ldouble.h>.
29160 (roundl): Define using libm_alias_ldouble.
29161 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
29162 using libm_alias_ldouble.
29163 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
29164 <libm-alias-ldouble.h>.
29165 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
29166 Define using libm_alias_ldouble.
29167 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
29168 <libm-alias-ldouble.h>.
29169 (sincosl): Define using libm_alias_ldouble.
29170 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
29171 <libm-alias-ldouble.h>.
29172 (sinl): Define using libm_alias_ldouble.
29173 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
29174 <libm-alias-ldouble.h>.
29175 (tanhl): Define using libm_alias_ldouble.
29176 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
29177 <libm-alias-ldouble.h>.
29178 (tanl): Define using libm_alias_ldouble.
29179 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
29180 <libm-alias-ldouble.h>.
29181 (totalorderl): Define using libm_alias_ldouble.
29182 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
29183 <libm-alias-ldouble.h>.
29184 (totalordermagl): Define using libm_alias_ldouble.
29185 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
29186 <libm-alias-ldouble.h>.
29187 (truncl): Define using libm_alias_ldouble.
29188 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
29189 libm_alias_ldouble.
29190 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
29191 libm_alias_ldouble.
29192 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
29193 <libm-alias-ldouble.h>.
29194 (weak_alias): Do not undefine and redefine.
29195 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29196 (copysignl): Define with long_double_symbol only if [IS_IN
29198 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
29199 <libm-alias-ldouble.h>.
29200 (weak_alias): Do not undefine and redefine.
29201 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29202 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
29203 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
29204 <libm-alias-ldouble.h>.
29205 (weak_alias): Do not undefine and redefine.
29206 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29207 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
29208 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
29209 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
29210 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
29211 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
29212 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
29213 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
29214 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
29215 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
29216 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
29217 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
29218 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
29219 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
29220 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
29221 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
29222 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
29223 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
29224 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
29225 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
29226 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
29227 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
29228 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
29229 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
29230 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
29231 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
29233 2017-10-06 Carlos O'Donell <carlos@redhat.com>
29236 * malloc/malloc.c (tcache_shutting_down): Use bool type.
29237 (tcache_thread_freeres): Set tcache_shutting_down before
29238 freeing the tcache.
29239 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
29240 * malloc/tst-malloc-tcache-leak.c: New file.
29242 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29244 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
29245 back to powerpc32 file.
29246 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29247 (memrchr): Add __memrchr_power8 to ifunc list.
29248 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
29249 extra bytes for unaligned inputs.
29251 2017-10-06 Joseph Myers <joseph@codesourcery.com>
29253 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
29254 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
29255 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
29256 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29257 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29259 2017-10-05 Joseph Myers <joseph@codesourcery.com>
29261 * sysdeps/arm/libm-test-ulps: Update.
29263 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
29264 <libm-alias-ldouble.h>.
29265 (asinhl): Define using libm_alias_ldouble.
29266 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
29267 <libm-alias-ldouble.h>.
29268 (cbrtl): Define using libm_alias_ldouble.
29269 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
29270 <libm-alias-ldouble.h>.
29271 (copysignl): Define using libm_alias_ldouble.
29272 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
29273 <libm-alias-ldouble.h>.
29274 (cosl): Define using libm_alias_ldouble.
29275 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
29276 <libm-alias-ldouble.h>.
29277 (erfl): Define using libm_alias_ldouble.
29279 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
29280 <libm-alias-ldouble.h>.
29281 (fmal): Define using libm_alias_ldouble.
29282 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
29283 <libm-alias-ldouble.h>.
29284 (frexpl): Define using libm_alias_ldouble.
29285 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
29286 libm_alias_ldouble.
29287 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
29288 <libm-alias-ldouble.h>.
29289 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
29290 libm_alias_ldouble.
29291 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
29292 <libm-alias-ldouble.h>.
29293 (getpayloadl): Define using libm_alias_ldouble.
29294 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
29295 <libm-alias-ldouble.h>.
29296 (llrintl): Define using libm_alias_ldouble.
29297 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
29298 <libm-alias-ldouble.h>.
29299 (llroundl): Define using libm_alias_ldouble.
29300 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
29301 <libm-alias-ldouble.h>.
29302 (lrintl): Define using libm_alias_ldouble.
29303 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
29304 <libm-alias-ldouble.h>.
29305 (lroundl): Define using libm_alias_ldouble.
29306 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
29307 <libm-alias-ldouble.h>.
29308 (modfl): Define using libm_alias_ldouble.
29309 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
29310 <libm-alias-ldouble.h>.
29311 (nextupl): Define using libm_alias_ldouble.
29312 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
29313 <libm-alias-ldouble.h>.
29314 (remquol): Define using libm_alias_ldouble.
29315 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
29316 <libm-alias-ldouble.h>.
29317 (roundevenl): Define using libm_alias_ldouble.
29318 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
29319 <libm-alias-ldouble.h>.
29320 (roundl): Define using libm_alias_ldouble.
29321 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
29322 using libm_alias_ldouble.
29323 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
29324 <libm-alias-ldouble.h>.
29325 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
29326 <libm-alias-ldouble.h>.
29327 (setpayloadsigl): Define using libm_alias_ldouble.
29328 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
29329 <libm-alias-ldouble.h>.
29330 (sincosl): Define using libm_alias_ldouble.
29331 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
29332 <libm-alias-ldouble.h>.
29333 (sinl): Define using libm_alias_ldouble.
29334 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
29335 <libm-alias-ldouble.h>.
29336 (tanhl): Define using libm_alias_ldouble.
29337 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
29338 <libm-alias-ldouble.h>.
29339 (tanl): Define using libm_alias_ldouble.
29340 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
29341 <libm-alias-ldouble.h>.
29342 (totalorderl): Define using libm_alias_ldouble.
29343 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
29344 <libm-alias-ldouble.h>.
29345 (totalordermagl): Define using libm_alias_ldouble.
29346 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
29347 libm_alias_ldouble.
29348 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
29349 libm_alias_ldouble.
29351 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
29353 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
29355 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
29356 (__libc_ifunc_impl_list): Likewise.
29357 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
29358 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
29360 * benchtests/bench-memmove-walk.c: New file.
29361 * benchtests/Makefile (string-benchset): Add it.
29363 * benchtests/bench-memset-walk.c: New file.
29364 * benchtests/Makefile (string-benchset): Add it.
29366 * benchtests/bench-memcpy-walk.c: New file.
29367 * benchtests/Makefile (string-benchset): Add it.
29369 2017-10-05 Florian Weimer <fweimer@redhat.com>
29371 nscd: Eliminate compilation time dependency in the build output.
29372 * nscd/nscd_stat.c (STATDATA_VERSION)
29373 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
29374 (STATDATA_VERSION_FULL): New macro definitions.
29375 (compilation): Remove.
29376 (struct statdata): Adjust version member.
29377 (send_stats): Set version from STATDATA_VERSION_FULL.
29378 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
29380 2017-10-05 Joseph Myers <joseph@codesourcery.com>
29382 * configure.ac (--enable-add-ons): Remove option.
29383 (machine): Do not mention add-ons in comment.
29384 (LIBC_PRECONFIGURE): Likewise.
29385 (add_ons): Remove variable and sanity checks and logic to locate
29387 (add_ons_automatic): Remove variable.
29388 (configured_add_ons): Likewise.
29389 (add_ons_sfx): Likewise.
29390 (add_ons_pfx): Likewise.
29391 (add_on_subdirs): Likewise.
29392 (sysnames_add_ons): Likewise. Remove loop over add-ons and
29393 consideration of add-ons in Implies handling.
29394 (sysdeps_add_ons): Likewise.
29395 * configure: Regenerated.
29396 * libidn/configure.ac: Remove.
29397 * libidn/configure: Likewise.
29398 * sysdeps/unix/inet/configure.ac: New file.
29399 * sysdeps/unix/inet/configure: New generated file.
29400 * sysdeps/unix/inet/Subdirs: Add libidn.
29401 * Makeconfig (sysdeps-srcdirs): Remove variable.
29402 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
29403 ($(common-objpfx)config.status): Do not depend on add-on files.
29404 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
29406 (all-subdirs): Do not include $(add-on-subdirs).
29407 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
29408 * config.make.in (add-ons): Remove variable.
29409 (add-on-subdirs): Likewise.
29410 (sysdeps-add-ons): Likewise.
29411 * manual/Makefile (add-chapters): Remove.
29412 ($(objpfx)texis): Do not depend on $(add-chapters).
29413 (nonexamples): Do not handle $(add-chapters).
29414 (examples): Do not handle $(add-ons).
29415 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
29417 * manual/install.texi (Installation): Do not mention add-ons.
29418 (--enable-add-ons): Do not document configure option.
29419 * INSTALL: Regenerated.
29420 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
29421 * manual/maint.texi (Hierarchy Conventions): Do not mention
29423 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
29425 * scripts/gen-sorted.awk: Do not handle Subdirs files from
29427 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
29428 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
29430 2017-10-05 Andreas Schwab <schwab@suse.de>
29433 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
29434 (_IO_flush_all_lockp): Always lock list_all_lock.
29435 (_IO_flush_all_linebuffered): Likewise.
29436 (_IO_unbuffer_all): Likewise.
29438 2017-10-05 Florian Weimer <fweimer@redhat.com>
29441 Do not flush stdio streams on abort.
29442 * stdlib/abort.c (fflush): Remove macro definition.
29443 (abort): Remove stages related to stdio flushing.
29445 2017-10-05 Florian Weimer <fweimer@redhat.com>
29447 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
29449 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
29451 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29453 2017-10-05 Florian Weimer <fweimer@redhat.com>
29455 * support/support_format_hostent.c (support_format_hostent): Add
29456 more error information for NETDB_INTERNAL.
29458 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29460 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
29461 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
29462 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
29463 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
29464 AC_DEFINE if multi-arch is enabled.
29465 * sysdeps/i386/configure: Regenerated.
29467 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29469 * Makeconfig (+link-static-before-libc): Use
29470 $(DEFAULT-LDFLAGS-$(@F)).
29471 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
29472 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
29473 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
29475 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29477 * elf/Makefile (tests): Add tst-main1.
29478 (modules-names): Add tst-main1mod.
29479 ($(objpfx)tst-main1): New.
29480 (CRT-tst-main1): Likewise.
29481 (LDFLAGS-tst-main1): Likewise.
29482 (LDLIBS-tst-main1): Likewise.
29483 (tst-main1mod.so-no-z-defs): Likewise.
29484 * elf/tst-main1.c: New file.
29485 * elf/tst-main1mod.c: Likewise.
29487 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29489 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
29491 2017-10-04 Joseph Myers <joseph@codesourcery.com>
29493 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
29494 (fma): Define using libm_alias_double.
29495 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
29496 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
29498 (fmal): Do not define as compat symbol here.
29499 * sysdeps/alpha/fpu/s_fma.c: New file.
29501 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29503 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
29505 2017-10-04 Joseph Myers <joseph@codesourcery.com>
29508 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
29510 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29512 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
29513 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29514 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
29515 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
29516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29517 Include <math_ldbl_opt.h>
29518 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29520 (compat_symbol): Undefine and redefine.
29521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
29523 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29524 (compat_symbol): Undefine and redefine.
29525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
29526 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
29527 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
29528 GLIBC_2_1 for libm.
29529 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
29530 GLIBC_2.0 copysignl symbol.
29531 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29532 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
29534 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
29536 2017-10-04 Florian Weimer <fweimer@redhat.com>
29538 * scripts/check-local-headers.sh: Ignore nspr4 header file
29539 directory in addition to nspr.
29541 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
29544 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
29545 * configure: Regenerate.
29546 * crypt/Makefile (nss-cpp-flags): New variable.
29547 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
29548 (CPPFLAGS-md5-crypt.c): Use it.
29549 * scripts/check-local-headers.sh: Ignore nspr header file
29552 2017-10-04 Andreas Schwab <schwab@suse.de>
29554 * nis/Makefile (services): Remove compat.
29555 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
29556 ($(objpfx)libnss_compat.so): Remove rule.
29557 * nis/Versions (libnss_compat): Remove.
29558 * nss/Makefile (services): Add compat.
29559 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
29560 * nss/Versions (libnss_compat): Define.
29561 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
29562 Don't include <rpc/types.h>. Replace bool_t by bool.
29563 * nss/nss_compat/compat-initgroups.c: Likewise.
29564 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
29565 instead of <rpcsrv/ypclnt.h>.
29566 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
29567 yp_get_default_domain.
29568 * nss/nss_compat/compat-pwd.c: Likewise.
29569 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
29570 yp_get_default_domain.
29571 * nss/nss_compat/nisdomain.c: New file.
29572 * nss/nss_compat/nisdomain.h: Likewise.
29574 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29577 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
29578 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29580 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29583 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
29584 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
29586 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29588 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
29589 "movl main@GOTOFF(%ebx), %eax".
29591 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29593 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
29594 allow undefined _DYNAMIC in PIE libc.a.
29595 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29598 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29600 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
29603 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29605 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
29608 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29610 * math/test-math-iscanonical.cc (error): Replace bool with int.
29612 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29614 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
29615 (modf): Define using libm_alias_double, only if [!__modf].
29616 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
29617 <libm-alias-double.h>.
29618 (modf): Define using libm_alias_double, only if [!__modf].
29619 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
29620 compat symbol here.
29621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
29622 (weak_alias): Do not undefine and redefine.
29623 (strong_alias): Likewise.
29624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
29625 (weak_alias): Likewise.
29626 (strong_alias): Likewise.
29628 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
29629 (logb): Define using libm_alias_double, only if [!__logb].
29630 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
29631 <libm-alias-double.h>.
29632 (logb): Define using libm_alias_double, only if [!__logb].
29633 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
29634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
29635 (weak_alias): Do not undefine and redefine.
29636 (strong_alias): Likewise.
29637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
29638 (weak_alias): Likewise.
29639 (strong_alias): Likewise.
29641 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29643 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
29644 Check SHARED instead PIC.
29646 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29648 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
29649 [!__fmaf] (fmaf): Define using libm_alias_float.
29651 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
29652 (frexp): Define using libm_alias_double.
29653 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
29654 <libm-alias-double.h>.
29655 (frexp): Define using libm_alias_double.
29656 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
29657 compat symbol here.
29659 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29662 * math/math.h: Trivial fix for unbalanced parentheses in comment.
29663 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
29664 (CFLAGS-test-math-iscanonical.cc): New variable.
29665 * math/test-math-iscanonical.cc: New file.
29666 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
29667 Provide a C++ implementation based on function overloading,
29668 rather than using __MATH_TG, which uses C-only builtins.
29669 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
29671 * sysdeps/powerpc/powerpc64le/Makefile
29672 (CFLAGS-test-math-iscanonical.cc): New variable.
29674 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29676 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
29677 (ceil): Define using libm_alias_double.
29678 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
29679 (floor): Define using libm_alias_double.
29680 * sysdeps/ieee754/dbl-64/s_llround.c: Include
29681 <libm-alias-double.h>.
29682 (llround): Define using libm_alias_double.
29683 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29684 <libm-alias-double.h>.
29685 (lround): Define using libm_alias_double.
29686 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
29687 <libm-alias-double.h>.
29688 (nearbyint): Define using libm_alias_double.
29689 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
29690 <libm-alias-double.h>.
29691 (remquo): Define using libm_alias_double.
29692 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
29693 (rint): Define using libm_alias_double.
29694 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
29695 (round): Define using libm_alias_double.
29696 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
29697 (trunc): Define using libm_alias_double.
29698 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
29699 <libm-alias-double.h>.
29700 (ceil): Define using libm_alias_double.
29701 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
29702 <libm-alias-double.h>.
29703 (floor): Define using libm_alias_double.
29704 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
29705 <libm-alias-double.h>.
29706 (llround): Define using libm_alias_double.
29707 [_LP64] (lround): Likewise.
29708 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
29709 <libm-alias-double.h>.
29710 [!_LP64] (lround): Define using libm_alias_double.
29711 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
29712 <libm-alias-double.h>.
29713 (nearbyint): Define using libm_alias_double.
29714 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
29715 <libm-alias-double.h>.
29716 (remquo): Define using libm_alias_double.
29717 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
29718 <libm-alias-double.h>.
29719 (rint): Define using libm_alias_double.
29720 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
29721 <libm-alias-double.h>.
29722 (round): Define using libm_alias_double.
29723 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
29724 <libm-alias-double.h>.
29725 (trunc): Define using libm_alias_double.
29726 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
29727 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
29728 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
29729 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
29730 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
29731 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
29732 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
29733 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
29734 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
29736 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29738 * math/w_remainder.c: New file.
29739 * math/w_remainderf.c: New file.
29740 * math/w_remainderl.c: New file.
29742 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29744 * elf/rtld.c (BOOTSTRAP_MAP): New.
29745 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
29746 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29748 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29750 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29753 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29755 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
29756 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
29757 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
29758 rtld_hidden_data_ver): Define to empty.
29759 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
29760 __assert_perror_fail): Likewise.
29761 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29762 (__rewinddir): Likewise.
29763 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29764 (__profile_frequency): Likewise.
29765 * include/setjmp.h (__sigsetjmp): Likewise.
29766 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
29767 __libc_sigaction): Likewise.
29768 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
29769 not set hidden attribute.
29770 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
29771 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
29772 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
29773 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
29774 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
29775 __fxstatat64): Likewise.
29776 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29777 (__uname): Likewise.
29778 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29779 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
29780 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
29781 (NO_RTLD_HIDDEN): Set.
29782 * sysdeps/mach/hurd/configure: Refresh.
29783 * config.h.in: Refresh.
29785 2017-10-02 Joseph Myers <joseph@codesourcery.com>
29787 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
29788 (atan): Define using libm_alias_double.
29789 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
29790 (tan): Define using libm_alias_double.
29791 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
29792 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
29794 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
29795 define as weak alias of __atan. Do not define any aliases if
29797 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
29798 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
29799 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
29800 as weak alias of __tan. Do not define any aliases if [__tan].
29801 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
29802 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
29803 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
29805 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
29806 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
29807 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
29808 and define as weak alias of __atan.
29809 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
29811 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
29812 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
29813 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
29814 define as weak alias of __tan.
29816 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29818 * math/w_lgamma.c: New file.
29819 * math/w_lgammaf.c: New file.
29820 * math/w_lgammal.c: New file.
29822 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29824 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
29825 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
29826 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
29827 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
29828 * sysdeps/ieee754/flt-32/w_logf.c: New file.
29829 * sysdeps/ieee754/flt-32/w_powf.c: New file.
29830 * sysdeps/i386/fpu/w_log2f.c: New file.
29831 * sysdeps/i386/fpu/w_logf.c: New file.
29832 * sysdeps/i386/fpu/w_powf.c: New file.
29833 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
29834 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
29835 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
29837 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29838 H.J. Lu <hongjiu.lu@intel.com>
29840 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
29841 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
29842 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
29843 * sysdeps/ieee754/flt-32/w_expf.c: New file.
29844 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
29846 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
29847 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
29848 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
29849 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
29850 * sysdeps/i386/fpu/w_exp2f.c: New file.
29851 * sysdeps/i386/fpu/w_expf.c: New file.
29852 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
29853 * sysdeps/x86_64/fpu/w_expf.c: New file.
29855 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29857 * math/Versions (logf): New libm symbol at GLIBC_2.27.
29860 * math/w_log2f.c: New file.
29861 * math/w_logf.c: New file.
29862 * math/w_powf.c: New file.
29863 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
29864 * math/w_logf_compat.c (__logf_compat): Likewise.
29865 * math/w_powf_compat.c (__powf_compat): Likewise.
29866 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
29867 * sysdeps/ia64/fpu/e_logf.S: Likewise.
29868 * sysdeps/ia64/fpu/e_powf.S: Likewise.
29869 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29870 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29871 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29872 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29873 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29874 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29875 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29876 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29877 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29878 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29879 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29880 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29889 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29890 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29891 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29892 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29893 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29898 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29899 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29900 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29902 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29904 * sysdeps/powerpc/powerpc64/multiarch/Makefile
29905 (sysdep_routines): Add memrchr_power8.
29906 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29907 (memrchr): Add __memrchr_power8 to list of memrchr functions.
29908 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
29910 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29911 (memrchr): Add __memrchr_power8 to ifunc list.
29912 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
29914 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29917 * sysdeps/unix/sysv/linux/posix_fadvise64.c
29918 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
29920 * sysdeps/unix/sysv/linux/posix_fallocate64.c
29921 (__posix_fallocate64_l64): Likewise.
29923 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29926 * sysdeps/unix/sysv/linux/sched_setaffinity.c
29927 (__sched_setaffinity_new): Add libc_hidden_proto and
29930 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29933 * include/glob.h (__glob64): Add libc_hidden_proto.
29934 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
29937 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29940 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
29943 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29946 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
29948 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29951 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
29954 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29957 * csu/version.c (__libc_print_version): Add attribute_hidden.
29959 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29962 * include/libc-internal.h (__init_misc): Add attribute_hidden.
29964 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29967 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
29969 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29972 * nscd/nscd_helper.c (__nis_hash): New prototype.
29974 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29977 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
29978 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
29980 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29981 * termios/tcgetattr.c (__tcgetattr): Likewise.
29983 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29986 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
29987 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
29988 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
29989 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
29990 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
29992 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29995 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
29997 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30000 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
30001 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
30003 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30006 * intl/hash-string.h (__hash_string): Add attribute_hidden.
30008 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30011 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
30012 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
30014 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30017 * include/ifreq.h: New file.
30018 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
30019 (__ifreq): Likewise.
30020 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
30021 (__ifreq): Likewise.
30023 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30026 * include/idna.h: New file.
30027 * inet/getnameinfo.c: Include <idna.h> instead of
30029 (__idna_to_unicode_lzlz): Removed.
30030 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
30032 (__idna_to_ascii_lz): Removed.
30033 (__idna_to_unicode_lzlz): Likewise.
30035 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30038 * include/plural-exp.h: New file.
30039 * intl/plural-exp.c: Include <plural-exp.h> instead of
30042 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30045 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
30046 "getsourcefilter.h".
30047 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
30048 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
30049 "getsourcefilter.h".
30050 (__get_sol): Removed.
30052 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30055 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
30057 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
30059 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30062 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
30065 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30068 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
30070 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30073 * include/search.h (__tdestroy): Add libc_hidden_proto.
30074 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
30076 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30079 * include/assert.h (__assert_fail_base): Add attribute_hidden.
30081 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30084 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
30087 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30090 * include/signal.h (__kill): Add libc_hidden_proto.
30091 (__sigblock): Likewise.
30092 (__sigprocmask): Likewise.
30093 (__sigaltstack): Likewise.
30094 * signal/kill.c (__kill): Add libc_hidden_def.
30095 * signal/sigblock.c (__sigblock): Likewise.
30096 * signal/sigprocmask.c (__sigprocmask): Likewise.
30097 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
30098 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
30099 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
30100 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
30101 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
30103 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
30105 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
30106 (__sigprocmask): Likewise.
30107 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
30109 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
30110 (__sigprocmask): Likewise.
30111 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
30114 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30117 * include/string.h (__strsep): Add libc_hidden_proto.
30118 * string/strsep.c (__strsep): Add libc_hidden_def.
30120 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30123 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
30125 (__spawni): Likewise.
30127 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30130 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
30131 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
30134 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30137 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
30139 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30142 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
30143 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
30144 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
30145 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
30146 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
30148 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
30149 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
30151 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30154 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
30155 (__dcigettext): Likewise.
30157 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30160 * include/sys/sysinfo.h (__get_nprocs_conf): Add
30162 (__get_nprocs): Likewise.
30163 (__get_phys_pages): Likewise.
30164 (__get_avphys_pages): Likewise.
30165 (__get_child_max): Add attribute_hidden.
30166 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
30167 (__get_nprocs): Likewise.
30168 (__get_phys_pages): Likewise.
30169 (__get_avphys_pages): Likewise.
30170 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
30172 (__get_nprocs): Likewise.
30173 (__get_phys_pages): Likewise.
30174 (__get_avphys_pages): Likewise.
30175 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
30177 (__get_nprocs_conf): Likewise.
30178 (__get_phys_pages): Likewise.
30179 (__get_avphys_pages): Likewise.
30181 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30184 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
30186 (__netlink_close): Likewise.
30187 (__netlink_free_handle): Likewise.
30188 (__netlink_request): Likewise.
30190 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30193 * include/rpc/rpc.h (__rpc_thread_variables): Add
30195 (__rpc_thread_svc_cleanup): Likewise.
30196 (__rpc_thread_clnt_cleanup): Likewise.
30197 (__rpc_thread_key_cleanup): Likewise.
30199 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30202 * include/sys/uio.h (__readv): Add libc_hidden_proto.
30203 (__writev): Likewise.
30204 * misc/readv.c (__readv): Add libc_hidden_def.
30205 * misc/writev.c (__writev): Likewise.
30206 * sysdeps/posix/readv.c (__readv): Likewise.
30207 * sysdeps/posix/writev.c (__writev): Likewise.
30208 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
30209 (__readv): Likewise.
30210 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
30211 (__writev): Likewise.
30213 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30216 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
30217 (__regcomp): Add libc_hidden_proto.
30218 (__regexec): Likewise.
30219 (__regfree): Likewise.
30220 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
30221 (__regfree): Likewise.
30222 * posix/regexec.c (__regexec): Likewise.
30224 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30227 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
30228 (__getutent): Likewise.
30229 (__getutid): Likewise.
30230 (__getutline): Likewise.
30231 (__pututline): Likewise.
30232 (__getutent_r): Likewise.
30233 (__getutid_r): Likewise.
30234 (__getutline_r): Likewise.
30235 (__utmpname): Add attribute_hidden.
30236 (__setutent): Likewise.
30237 (__endutent): Likewise.
30238 * login/getutent.c (__getutent): Add libc_hidden_def.
30239 * login/getutent_r.c (__getutent_r): Likewise.
30240 (__pututline): Likewise.
30241 * login/getutid.c (__getutid): Likewise.
30242 * login/getutid_r.c (__getutid_r): Likewise.
30243 * login/getutline.c (__getutline): Likewise.
30244 * login/getutline_r.c (__getutline_r): Likewise.
30245 * login/updwtmp.c (__updwtmp): Likewise.
30247 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30250 * include/dirent.h (__opendir): Always add attribute_hidden.
30251 (__fdopendir): Likewise.
30252 (__closedir): Likewise.
30253 (__readdir): Likewise.
30254 (__readdir64): Add libc_hidden_proto.
30255 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
30256 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
30257 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
30258 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
30261 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30264 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
30265 * include/netdb.h (__gethostbyaddr_r): Likewise.
30266 (__gethostbyname_r): Likewise.
30267 (__gethostbyname2_r): Likewise.
30268 (__getnetbyaddr_r): Likewise.
30269 (__getnetbyname_r): Likewise.
30270 (__getservbyname_r): Likewise.
30271 (__getservbyport_r): Likewise.
30272 (__getprotobyname_r): Likewise.
30273 (__getprotobynumber_r): Likewise.
30274 (__getnetgrent_r): Likewise.
30275 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
30276 (__getrpcbynumber_r): Likewise.
30277 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
30279 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30282 * include/stdio.h (__fcloseall): Add attribute_hidden.
30283 (__getline): Likewise.
30284 (__path_search): Likewise.
30285 (__gen_tempname): Likewise.
30286 (__libc_message): Likewise.
30287 (__flockfile): Likewise.
30288 (__funlockfile): Likewise.
30289 (__fxprintf): Likewise.
30290 (__fxprintf_nocancel): Likewise.
30292 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30295 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
30296 (__sgetsgent_r): Likewise.
30298 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30301 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
30302 (__statfs64): Likewise.
30303 (__fstatfs64): Likewise.
30304 * include/sys/statvfs.h (__statvfs64): Likewise.
30305 (__fstatvfs64): Likewise.
30306 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
30307 (__statfs_filesize_max): Likewise.
30308 (__statfs_symlinks): Likewise.
30309 (__statfs_chown_restricted): Likewise.
30311 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30314 * include/time.h (__tzstring): Add attribute_hidden.
30315 (__tzfile_read): Likewise.
30316 (__tzfile_compute): Likewise.
30317 (__tzfile_default): Likewise.
30318 (__tzset_parse_tz): Likewise.
30319 (__offtime): Likewise.
30320 (__asctime_r): Likewise.
30321 (__tzset): Likewise.
30322 (__tz_convert): Likewise.
30323 (__getdate_r): Likewise.
30324 (__getclktck): Likewise.
30326 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30329 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
30330 (__nscd_unmap): Likewise.
30331 (__nscd_cache_search): Likewise.
30332 (__nscd_get_nl_timestamp): Likewise.
30333 (__nscd_getpwnam_r): Likewise.
30334 (__nscd_getpwuid_r): Likewise.
30335 (__nscd_getgrnam_r): Likewise.
30336 (__nscd_getgrgid_r): Likewise.
30337 (__nscd_gethostbyname_r): Likewise.
30338 (__nscd_gethostbyname2_r): Likewise.
30339 (__nscd_gethostbyaddr_r): Likewise.
30340 (__nscd_getai): Likewise.
30341 (__nscd_getgrouplist): Likewise.
30342 (__nscd_getservbyname_r): Likewise.
30343 (__nscd_getservbyport_r): Likewise.
30344 (__nscd_innetgr): Likewise.
30345 (__nscd_setnetgrent): Likewise.
30347 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30350 * include/gmp.h: Declare internal functions only if _ISOMAC is
30352 (__mpn_extract_double): Add attribute_hidden.
30353 (__mpn_extract_long_double): Likewise.
30354 (__mpn_extract_float128): Likewise.
30355 (__mpn_construct_float): Likewise.
30356 (__mpn_construct_double): Likewise.
30357 (__mpn_construct_long_double): Likewise.
30358 (__mpn_construct_float128): Likewise.
30359 (mpn_add_1): Likewise.
30360 (mpn_addmul_1): Likewise.
30361 (mpn_add_n): Likewise.
30362 (mpn_cmp): Likewise.
30363 (mpn_divrem): Likewise.
30364 (mpn_lshift): Likewise.
30365 (mpn_mul): Likewise.
30366 (mpn_mul_1): Likewise.
30367 (mpn_rshift): Likewise.
30368 (mpn_sub_1): Likewise.
30369 (mpn_submul_1): Likewise.
30370 (mpn_sub_n): Likewise.
30372 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30375 * include/wchar.h (__wcsnlen): Add attribute_hidden.
30376 (__wcscat): Likewise.
30377 (__btowc): Likewise.
30378 (__wcrtomb): Likewise.
30379 (__mbsrtowcs): Likewise.
30380 (__wcsrtombs): Likewise.
30381 (__mbsnrtowcs): Likewise.
30382 (__wcsnrtombs): Likewise.
30383 (__wcsncpy): Likewise.
30384 (__wcpncpy): Likewise.
30385 (__wmemcpy): Likewise.
30386 (__wmempcpy): Likewise.
30387 (__wmemmove): Likewise.
30388 (__wcschrnul): Likewise.
30389 (__vfwscanf): Likewise.
30390 (__vswprintf): Likewise.
30391 (__fwprintf): Likewise.
30392 (__vfwprintf): Likewise.
30394 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30397 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
30398 (__getgrgid_r): Likewise.
30399 (__getgrnam_r): Likewise.
30400 * include/pwd.h (__getpwuid_r): Likewise.
30401 (__getpwnam_r): Likewise.
30402 (__fgetpwent_r): Likewise.
30403 * include/shadow.h (__getspnam_r): Likewise.
30404 (__sgetspent_r): Likewise.
30405 (__fgetspent_r): Likewise.
30407 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30410 * include/unistd.h (__access): Add attribute_hidden.
30411 (__lseek64): Likewise.
30412 (__libc_pread64): Likewise.
30413 (__pipe2): Likewise.
30414 (__sleep): Likewise.
30415 (__chdir): Likewise.
30416 (__fchdir): Likewise.
30417 (__getcwd): Likewise.
30418 (__rmdir): Likewise.
30419 (__execvpe): Likewise.
30420 (__execve): Likewise.
30421 (__setsid): Likewise.
30422 (__getuid): Likewise.
30423 (__geteuid): Likewise.
30424 (__getgid): Likewise.
30425 (__getegid): Likewise.
30426 (__getgroups): Likewise.
30427 (__group_member): Likewise.
30428 (__ttyname_r): Likewise.
30429 (__isatty): Likewise.
30430 (__readlink): Likewise.
30431 (__unlink): Likewise.
30432 (__gethostname): Likewise.
30433 (__profil): Likewise.
30434 (__getdtablesize): Likewise.
30436 (__ftruncate): Likewise.
30437 (__ftruncate64): Likewise.
30439 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30442 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
30443 * argp/argp-fs-xinl.c: Likewise.
30444 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
30445 * argp/argp-parse.c: Include <argp.h>.
30446 * argp/argp-xinl.c: Likewise.
30447 * include/argp-fmtstream.h: New file.
30448 * include/argp.h (__argp_error): Add attribute_hidden.
30449 (__argp_failure): Likewise.
30450 (__argp_input): Likewise.
30451 (__argp_state_help): Likewise.
30453 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30456 * include/wchar.h (____wcstof_l_internal): New prototype.
30457 (____wcstod_l_internal): Likewise.
30458 (____wcstold_l_internal): Likewise.
30459 (____wcstol_l_internal): Likewise.
30460 (____wcstoul_l_internal): Likewise.
30461 (____wcstoll_l_internal): Likewise.
30462 (____wcstoull_l_internal): Likewise.
30463 (____wcstof128_l_internal): Likewise.
30464 * sysdeps/ieee754/float128/wcstof128.c
30465 (____wcstof128_l_internal): Removed.
30466 * sysdeps/ieee754/float128/wcstof128_l.c
30467 (____wcstof128_l_internal): Likewise.
30468 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
30469 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
30470 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
30471 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
30472 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
30473 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
30474 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
30475 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
30476 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
30477 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
30479 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30482 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
30483 instead of <sys/statvfs.h>.
30484 (__internal_statvfs): Removed.
30485 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
30486 instead of <sys/statvfs.h>.
30487 (__internal_statvfs64): Removed.
30488 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
30489 "internal_statvfs.h" instead of <sys/statvfs.h>.
30490 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
30491 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
30492 instead of <sys/statvfs.h>.
30493 (__internal_statvfs): Removed.
30494 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
30495 instead of <sys/statvfs.h>.
30496 (__internal_statvfs64): Removed.
30498 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30501 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
30502 (__gconv_close): Likewise.
30503 (__gconv): Likewise.
30504 (__gconv_find_transform): Likewise.
30505 (__gconv_lookup_cache): Likewise.
30506 (__gconv_compare_alias_cache): Likewise.
30507 (__gconv_load_cache): Likewise.
30508 (__gconv_get_path): Likewise.
30509 (__gconv_close_transform): Likewise.
30510 (__gconv_release_cache): Likewise.
30511 (__gconv_find_shlib): Likewise.
30512 (__gconv_release_shlib): Likewise.
30513 (__gconv_get_builtin_trans): Likewise.
30514 (__gconv_compare_alias): Likewise.
30515 * include/dlfcn.h (_dlerror_run): Likewise.
30516 * include/stdio.h (__fortify_fail_abort): Likewise.
30517 * include/time.h (__tz_compute): Likewise.
30518 (__strptime_internal): Likewise.
30519 * intl/gettextP.h (_nl_find_domain): Likewise.
30520 (_nl_load_domain): Likewise.
30521 (_nl_find_msg): Likewise.
30522 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
30523 (EXTRACT_PLURAL_EXPRESSION): Likewise.
30524 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
30525 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
30526 (__gai_find_request): Likewise.
30527 (__gai_remove_request): Likewise.
30528 (__gai_notify): Likewise.
30529 (__gai_notify_only): Likewise.
30530 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30531 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30532 (_dl_non_dynamic_init): Likewise.
30533 (_dl_aux_init): Likewise.
30534 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
30535 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30537 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
30538 (__wcsmbs_clone_conv): Likewise.
30539 (__wcsmbs_named_conv): Likewise.
30541 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30544 * include/stdlib.h (__random): Add attribute_hidden.
30545 (__random_r): Likewise.
30546 (__srandom_r): Likewise.
30547 (__initstate_r): Likewise.
30548 (__setstate_r): Likewise.
30549 (__erand48_r): Likewise.
30550 (__nrand48_r): Likewise.
30551 (__jrand48_r): Likewise.
30552 (__srand48_r): Likewise.
30553 (__seed48_r): Likewise.
30554 (__lcong48_r): Likewise.
30555 (__drand48_iterate): Likewise.
30556 (__setenv): Likewise.
30557 (__unsetenv): Likewise.
30558 (__clearenv): Likewise.
30559 (__ptsname_r): Likewise.
30560 (__posix_openpt): Likewise.
30561 (__add_to_environ): Likewise.
30562 (__realpath): Add libc_hidden_proto.
30563 (__ecvt_r): Likewise.
30564 (__fcvt_r): Likewise.
30565 (__qecvt_r): Likewise.
30566 (__qfcvt_r): Likewise.
30567 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
30568 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
30570 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30573 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
30574 * include/time.h (__mktime_internal): Likewise.
30575 * libio/iolibio.h (__fopen_internal): Likewise.
30577 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
30579 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
30581 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
30582 Correct offset used to restore PIC register.
30584 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
30587 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
30588 code to load address of __getcontext_ret when generating PIC code.
30590 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
30592 * elf/Makefile (tests-static-internal): Add
30593 tst-tls1-static-non-pie.
30594 (LDFLAGS-tst-tls1-static-non-pie): New.
30595 * elf/tst-tls1-static-non-pie.c: New file.
30597 2017-09-29 Joseph Myers <joseph@codesourcery.com>
30599 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
30600 (asinh): Define using libm_alias_double.
30601 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
30602 (cbrt): Define using libm_alias_double.
30603 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
30604 <libm-alias-double.h>.
30605 (copysign): Define using libm_alias_double.
30606 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
30607 (erf): Define using libm_alias_double.
30609 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
30610 (expm1): Define using libm_alias_double.
30611 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
30612 (fabs): Define using libm_alias_double.
30613 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
30615 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
30616 <libm-alias-double.h>.
30617 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
30619 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
30620 <libm-alias-double.h>.
30621 (getpayload): Define using libm_alias_double.
30622 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
30623 <libm-alias-double.h>.
30624 (llrint): Define using libm_alias_double.
30625 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
30626 (lrint): Define using libm_alias_double.
30627 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
30628 <libm-alias-double.h>.
30629 (nextup): Define using libm_alias_double.
30630 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
30631 <libm-alias-double.h>.
30632 (roundeven): Define using libm_alias_double.
30633 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
30635 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
30636 <libm-alias-double.h>.
30637 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
30638 using libm_alias_double.
30639 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
30640 (cos): Define using libm_alias_double.
30642 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
30643 <libm-alias-double.h>.
30644 (sincos): Define using libm_alias_double.
30645 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
30646 (tanh): Define using libm_alias_double.
30647 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
30648 <libm-alias-double.h>.
30649 (totalorder): Define using libm_alias_double.
30650 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
30651 <libm-alias-double.h>.
30652 (totalordermag): Define using libm_alias_double.
30653 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
30655 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
30657 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
30658 <libm-alias-double.h>.
30659 (getpayload): Define using libm_alias_double.
30660 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
30661 <libm-alias-double.h>.
30662 (roundeven): Define using libm_alias_double.
30663 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
30664 <libm-alias-double.h>.
30665 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
30666 <libm-alias-double.h>.
30667 (totalorder): Define using libm_alias_double.
30668 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
30669 <libm-alias-double.h>.
30670 (totalordermag): Define using libm_alias_double.
30671 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
30672 libc compat symbol here.
30673 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
30674 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
30675 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
30676 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
30677 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
30678 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
30679 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
30680 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
30681 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
30682 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
30684 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30686 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
30687 _dl_relocate_static_pie instead of _dl_start to compute load
30688 address in static PIE. Return 0 if _DYNAMIC is undefined for
30691 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30693 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
30694 _DYNAMIC is undefined for static executable.
30696 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30698 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
30700 2017-09-29 Joseph Myers <joseph@codesourcery.com>
30702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30704 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30706 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
30707 (__ieee754_lgamma_r): Use fabs rather than __fabs.
30708 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30709 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30710 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
30711 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
30712 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
30713 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
30714 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
30715 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30716 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
30717 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
30718 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30719 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30720 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30721 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30722 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
30724 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30726 * math/bits/cmathcalls.h (cimag): Remove inline.
30727 (creal): Remove inline.
30728 (conj): Remove inline.
30730 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30732 * math/Makefile (type-float-routines): Add e_powf_log2_data.
30733 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
30734 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
30735 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
30736 (issignalingf_inline): Likewise.
30737 (POWF_LOG2_TABLE_BITS): Likewise.
30738 (POWF_LOG2_POLY_ORDER): Likewise.
30739 (POWF_SCALE_BITS): Likewise.
30740 (POWF_SCALE): Likewise.
30741 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
30742 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
30743 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
30745 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30747 * math/Makefile (type-float-routines): Add e_log2f_data.
30748 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
30749 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
30750 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
30751 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
30752 * sysdeps/i386/fpu/e_log2f_data.c: New file.
30753 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
30754 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
30756 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30758 * math/Makefile (type-float-routines): Add e_logf_data.
30759 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
30760 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
30761 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
30762 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
30763 * sysdeps/i386/fpu/e_logf_data.c: New file.
30764 * sysdeps/ia64/fpu/e_logf_data.c: New file.
30765 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
30767 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
30769 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
30770 undefined _DYNAMIC in PIE libc.a.
30771 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30774 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30776 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
30777 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
30778 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
30779 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
30780 (__signbit): Remove.
30781 (__signbitl): Remove.
30782 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
30783 (__signbit): Remove.
30784 (__signbitl): Remove.
30785 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
30786 (__signbit): Remove.
30787 (__signbitl): Remove.
30788 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
30789 (__signbit): Remove.
30790 (__signbitl): Remove.
30791 * sysdeps/tile/bits/mathinline.h: Delete file.
30792 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
30793 (__signbit): Remove.
30794 (__signbitl): Remove.
30796 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30798 * math/math.h: Improve handling of C99 isgreater macros.
30799 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
30800 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
30801 * sysdeps/powerpc/bits/mathinline.h: Likewise.
30802 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30803 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
30805 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
30807 * sysdeps/aarch64/libm-test-ulps: Update.
30809 2017-09-28 Joseph Myers <joseph@codesourcery.com>
30812 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30813 math_opt_barrier on argument when doing arithmetic on it.
30814 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30815 Likewise. Use math_force_eval not math_opt_barrier after
30817 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
30818 math_opt_barrier on argument when doing arithmetic on it.
30819 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30822 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
30824 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
30826 (__freeifaddrs): Likewise.
30828 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30830 * include/dirent.h (__dirfd): New declaration.
30831 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
30833 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
30834 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
30835 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
30836 * include/unistd.h (__revoke): New declaration.
30837 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
30839 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
30840 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
30842 * include/dirent.h (__seekdir): New declaration.
30843 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
30844 redefine as weak alias.
30845 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
30847 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
30848 and use libc_hidden_def on them.
30849 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
30851 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
30852 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
30853 instead of getifaddrs and freeifaddrs.
30855 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30858 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
30859 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
30860 (__dso_handle): Remove declaration.
30861 * dlfcn/tstatexit.c (__dso_handle): Removed.
30862 (main): Don't check __dso_handle.
30863 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
30864 (main): Don't check __dso_handle.
30865 * include/dso_handle.h: New file.
30866 * malloc/mtrace.c: Include <dso_handle.h>.
30867 (mtrace): Pass __dso_handle directly.
30868 * nptl/pthread_atfork.c: Include <dso_handle.h>.
30869 (__dso_handle): Remove declaration.
30870 (__pthread_atfork): Pass __dso_handle directly.
30871 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
30872 (__dso_handle): Removed.
30873 * posix/wordexp-test.c: Include <dso_handle.h>.
30874 (__dso_handle): Remove declaration.
30875 (__app_register_atfork): Pass __dso_handle directly.
30876 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
30877 (__dso_handle): Remove declaration.
30878 (at_quick_exit): Pass __dso_handle directly.
30879 * stdlib/atexit.c: Include <dso_handle.h>.
30880 (__dso_handle): Remove declaration.
30881 (atexit): Pass __dso_handle directly.
30882 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
30883 (__dso_handle): Removed.
30885 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30887 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
30890 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
30892 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
30893 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
30894 values to correct default value for given type.
30896 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30899 * elf/Makefile (tests): Add tst-debug1.
30900 ($(objpfx)tst-debug1): New.
30901 ($(objpfx)tst-debug1.out): Likewise.
30902 ($(objpfx)tst-debug1mod1.so): Likewise.
30903 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
30904 with p_filesz == 0.
30905 * elf/tst-debug1.c: New file.
30907 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30909 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
30910 Define using __ifunc.
30912 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30914 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
30917 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30920 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
30922 2017-09-26 Florian Weimer <fweimer@redhat.com>
30924 * resolv/Makefile (tests-internal): Fix typo in comment.
30926 2017-09-26 Florian Weimer <fweimer@redhat.com>
30928 * resolv/nss_dns/dns-host.c: Fix typo in comment.
30930 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30932 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
30933 Use an union instead of a max_align_t array for __space,
30934 so that __space is the same size on all platforms.
30935 * malloc/scratch_buffer_grow_preserve.c
30936 (__libc_scratch_buffer_grow_preserve): Likewise.
30939 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
30941 * posix/Makefile (routines): Add glob-lstat-compat and
30942 glob64-lstat-compat.
30943 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
30944 * posix/glob-lstat-compat.c: New file.
30945 * posix/glob64-lstat-compat.c: Likewise.
30946 * posix/tst-glob_lstat_compat.c: Likewise.
30947 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
30948 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
30949 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
30950 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
30952 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
30953 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30954 * posix/glob.c (glob_lstat): New function.
30955 (glob): Rename to __glob and add versioned symbol to 2.27.
30956 (glob_in_dir): Use glob_lstat.
30957 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
30958 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
30959 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
30961 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
30962 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
30963 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
30964 gl_lstat on glob call.
30965 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
30966 and glob64 symbols.
30967 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30968 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
30969 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
30970 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
30971 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
30972 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
30973 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
30974 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
30975 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
30976 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30977 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30978 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
30979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
30981 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
30982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
30983 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30984 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30985 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
30986 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30987 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
30989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
30990 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
30991 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
30992 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
30994 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
30996 * configure.ac (AS): Require binutils 2.25 or later.
30997 * configure: Regenerated.
30999 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
31002 * stdlib/test-atexit-race-common.c (do_test): Minimize required
31005 2017-09-25 DJ Delorie <dj@redhat.com>
31008 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
31011 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
31013 * sysdeps/ieee754/dbl-64/sincos32.h
31014 [SINCCOS32_H]: Remove define.
31015 [SINCOS32_H]: Define.
31017 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31019 * math/Versions (expf): New libm symbol at GLIBC_2.27.
31021 * math/w_exp2f.c: New file.
31022 * math/w_expf.c: New file.
31023 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
31024 * math/w_expf_compat.c (__expf_compat): Likewise.
31025 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
31026 * sysdeps/ia64/fpu/e_expf.S: Likewise.
31027 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31028 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31029 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31030 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31031 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31032 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31033 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31034 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31035 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31036 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31037 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31038 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31047 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31048 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31049 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31050 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31051 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31056 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31057 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31058 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31060 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31062 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
31063 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
31064 (roundtoint, converttoint): Likewise.
31065 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
31066 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
31067 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
31068 * sysdeps/ieee754/flt-32/math_config.h: New file.
31069 * sysdeps/ieee754/flt-32/math_errf.c: New file.
31070 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
31071 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
31072 * sysdeps/i386/fpu/math_errf.c: New file.
31073 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
31074 * sysdeps/ia64/fpu/math_errf.c: New file.
31075 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
31076 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
31078 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
31080 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
31081 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
31082 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
31083 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
31084 to make sure that these symbols are defined.
31085 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
31087 (__need_NULL): Do not define.
31088 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
31090 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
31091 CMGROUP_MAX, cmsgcred): Do not define.
31092 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
31094 * bits/socket.h: Likewise.
31095 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
31096 __gettimeofday instead of gettimeofday.
31097 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
31098 instead of settimeofday.
31100 2017-09-22 Joseph Myers <joseph@codesourcery.com>
31102 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
31103 (asinhf): Define using libm_alias_float.
31104 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
31105 (atanf): Define using libm_alias_float.
31106 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
31107 (cbrtf): Define using libm_alias_float.
31108 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
31109 (ceilf): Define using libm_alias_float.
31110 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
31111 <libm-alias-float.h>.
31112 (copysignf): Define using libm_alias_float.
31113 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
31114 (cosf): Define using libm_alias_float.
31115 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
31116 (erff): Define using libm_alias_float.
31118 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
31119 (expm1f): Define using libm_alias_float.
31120 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
31121 (fabsf): Define using libm_alias_float.
31122 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
31123 (floorf): Define using libm_alias_float.
31124 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
31125 (frexpf): Define using libm_alias_float.
31126 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
31128 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
31129 <libm-alias-float.h>.
31130 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
31132 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
31133 <libm-alias-float.h>.
31134 (getpayloadf): Define using libm_alias_float.
31135 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
31136 <libm-alias-float.h>.
31137 (llrintf): Define using libm_alias_float.
31138 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
31139 <libm-alias-float.h>.
31140 (llroundf): Define using libm_alias_float.
31141 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
31142 (logbf): Define using libm_alias_float.
31143 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
31144 (lrintf): Define using libm_alias_float.
31145 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
31146 (lroundf): Define using libm_alias_float.
31147 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
31148 (modff): Define using libm_alias_float.
31149 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
31150 <libm-alias-float.h>.
31151 (nearbyintf): Define using libm_alias_float.
31152 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
31153 <libm-alias-float.h>.
31154 (nextafterf): Define using libm_alias_float.
31155 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
31156 <libm-alias-float.h>.
31157 (nextupf): Define using libm_alias_float.
31158 * sysdeps/ieee754/flt-32/s_remquof.c: Include
31159 <libm-alias-float.h>.
31160 (remquof): Define using libm_alias_float.
31161 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
31162 (rintf): Define using libm_alias_float.
31163 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
31164 <libm-alias-float.h>.
31165 (roundevenf): Define using libm_alias_float.
31166 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
31167 (roundf): Define using libm_alias_float.
31168 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
31169 using libm_alias_float.
31170 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
31171 <libm-alias-float.h>.
31172 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
31173 Define using libm_alias_float.
31174 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
31175 <libm-alias-float.h>.
31176 (sincosf): Define using libm_alias_float.
31177 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
31178 (sinf): Define using libm_alias_float.
31179 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
31180 (tanf): Define using libm_alias_float.
31181 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
31182 (tanhf): Define using libm_alias_float.
31183 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
31184 <libm-alias-float.h>.
31185 (totalorderf): Define using libm_alias_float.
31186 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
31187 <libm-alias-float.h>.
31188 (totalordermagf): Define using libm_alias_float.
31189 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
31190 (truncf): Define using libm_alias_float.
31191 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
31193 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
31196 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31199 math/math.h: Let fpclassify use the builtin in C++ mode, even
31200 when optimazing for size.
31202 2017-09-22 Joseph Myers <joseph@codesourcery.com>
31204 * csu/Makefile (generated): Do not add version-info.h.
31205 (before-compile): Likewise.
31206 (all-Banner-files): Remove variable.
31207 ($(objpfx)version-info.h): Remove rule.
31208 * csu/version.c (banner): Do not include "version-info.h".
31209 * libidn/Banner: Remove.
31210 * manual/contrib.texi (Simon Josefsson): New entry.
31212 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31214 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31215 Remove conditionals on LDBL_MANT_DIG.
31216 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31217 (__ieee754_lgammal_r): Likewise.
31219 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31221 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
31223 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
31224 _Float128 and L(). Replace _Float128 with long double and L(x)
31225 with xL, throughout the file.
31226 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31227 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31228 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31229 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31231 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31233 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
31234 sysdeps/ieee754/ldbl-128ibm.
31235 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
31236 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
31237 of including it. Keep _Float128 and L() intact. These will be
31238 reviewed by a separate patch.
31239 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31240 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31241 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31242 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31244 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
31247 (__finitef128): Define to __redirect___finitef128.
31248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
31249 (__isinff128): Define to __redirect___isinff128.
31250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
31251 (__isnanf128): Define to __redirect___isnanf128.
31253 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31255 * sysdeps/powerpc/powerpc64le/Makefile
31256 (CFLAGS-tst-strtod-nan-locale.c): New variable.
31257 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
31259 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
31260 Carlos O'Donell <carlos@redhat.com>
31263 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
31264 * stdlib/test-dlclose-exit-race.c: New file.
31265 * stdlib/test-dlclose-exit-race-helper.c: New file.
31266 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
31268 2017-09-21 Joseph Myers <joseph@codesourcery.com>
31270 * crypt/Banner: Remove file.
31271 * nptl/Banner: Likewise.
31272 * resolv/Banner: Likewise.
31273 * soft-fp/Banner: Likewise.
31274 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
31275 ($(objpfx)version.d): Remove dependency on banner.h.
31276 ($(objpfx)version.os): Likewise.
31277 * nptl/version.c (banner): Do not include banner.h.
31278 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
31279 Jelinek and BIND code.
31281 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31282 Carlos O'Donell <carlos@redhat.com>
31284 * support/xdlfcn.h: New file.
31285 * support/xdlfcn.c: New file.
31286 * support/Makefile (libsupport-routines): Add xdlfcn.
31287 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
31289 2017-09-20 Joseph Myers <joseph@codesourcery.com>
31292 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31293 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
31294 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
31295 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
31296 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
31297 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
31298 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
31299 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
31301 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31302 Ricky Zhou <rickyz@google.com>
31303 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
31306 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
31308 (__new_exitfn): Fail registration when we finished at_exit processing.
31309 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31310 * stdlib/on_exit.c (__on_exit): Likewise.
31311 * stdlib/exit.c (__exit_funcs_done): New variable.
31312 (__run_exit_handlers): Use __exit_funcs_lock.
31313 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
31315 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
31316 (test-cxa_atexit-race, test-on_exit-race): New tests.
31317 * stdlib/test-atexit-race-common.c: New file.
31318 * stdlib/test-atexit-race.c: New file.
31319 * stdlib/test-at_quick_exit-race.c: New file.
31320 * stdlib/test-cxa_atexit-race.c: New file.
31321 * stdlib/test-on_exit-race.c: New file.
31323 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
31325 * benchtests/Makefile: Add exp2f and log2f benchmarks.
31326 * benchtests/exp2f-inputs: Copy of expf-inputs.
31327 * benchtests/log2f-inputs: Copy of logf-inputs.
31329 2017-09-19 Joseph Myers <joseph@codesourcery.com>
31331 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
31332 Explicitly take address of first element of array arguments in
31333 call to INLINE_SYSCALL.
31335 2017-09-19 Andreas Schwab <schwab@suse.de>
31338 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
31340 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
31342 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
31343 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
31344 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31345 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
31346 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31347 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31348 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31349 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31350 * posix/Makefile (tests): Add tst-fexecve.
31351 * posix/tst-fexecve.c: New file.
31353 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31355 * benchtests/Makefile: Add logf benchmark.
31356 * benchtests/logf-inputs: Add reduced trace from wrf_r.
31358 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31360 * benchtests/Makefile: Add expf benchmark.
31361 * benchtests/expf-inputs: Add reduced trace from wrf_r.
31363 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31365 * csu/Makefile: Add -funwind-tables to libc-start.c.
31366 * debug/Makefile: Add -funwind-tables to backtrace.c.
31367 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
31368 * sysdeps/arm/Makefile: Likewise.
31369 * sysdeps/i386/Makefile: Likewise.
31370 * sysdeps/m68k/Makefile: Likewise.
31371 * sysdeps/mips/Makefile: Likewise.
31372 * sysdeps/nios2/Makefile: Likewise.
31373 * sysdeps/sh/Makefile: Likewise.
31374 * sysdeps/sparc/Makefile: Likewise.
31376 2017-09-19 Joseph Myers <joseph@codesourcery.com>
31378 * benchtests/Makefile (bench-math): Add trunc and truncf.
31379 (CFLAGS-bench-trunc.c): New variable.
31380 (CFLAGS-bench-truncf.c): Likewise.
31381 * benchtests/trunc-inputs: New file.
31382 * benchtests/truncf-inputs: Likewise.
31384 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31386 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
31388 2017-09-18 Joseph Myers <joseph@codesourcery.com>
31390 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
31391 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
31393 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31394 (exp10l): Define as weak alias.
31395 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
31396 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
31398 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
31399 (remainderl): Define as weak alias.
31401 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
31402 (fmal): Define using libm_alias_ldouble.
31403 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
31404 (acoshl): Define using libm_alias_ldouble.
31405 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
31406 (acosl): Define using libm_alias_ldouble.
31407 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
31408 (asinl): Define using libm_alias_ldouble.
31409 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
31410 (atan2l): Define using libm_alias_ldouble.
31411 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
31412 (atanhl): Define using libm_alias_ldouble.
31413 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
31414 (coshl): Define using libm_alias_ldouble.
31415 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
31416 (exp10l): Define using libm_alias_ldouble.
31417 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
31418 (exp2l): Define using libm_alias_ldouble.
31419 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
31420 (expl): Define using libm_alias_ldouble.
31421 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
31422 (fmodl): Define using libm_alias_ldouble.
31423 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
31424 (hypotl): Define using libm_alias_ldouble.
31425 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
31426 (j0l): Define using libm_alias_ldouble.
31428 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
31429 (j1l): Define using libm_alias_ldouble.
31431 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
31432 (jnl): Define using libm_alias_ldouble.
31434 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
31435 (log10l): Define using libm_alias_ldouble.
31436 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
31437 (log2l): Define using libm_alias_ldouble.
31438 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
31439 (logl): Define using libm_alias_ldouble.
31440 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
31441 (powl): Define using libm_alias_ldouble.
31442 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
31443 (remainderl): Define using libm_alias_ldouble.
31444 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
31445 (sinhl): Define using libm_alias_ldouble.
31446 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
31447 (sqrtl): Define using libm_alias_ldouble.
31448 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
31449 (tgammal): Define using libm_alias_ldouble.
31450 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
31451 (exp10l): Do not use long_double_symbol here.
31452 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31453 [LIBM_SVID_COMPAT] (remainderl): Likewise.
31454 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
31455 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31456 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31457 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31458 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31459 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31460 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31461 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31462 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31463 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31464 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31465 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31466 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31467 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31468 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31469 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31470 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31471 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31472 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31473 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31475 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
31477 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
31478 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
31480 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
31482 * io/read.c (read): Add libc_hidden_weak.
31483 * sysdeps/mach/hurd/read.c (read): Likewise.
31484 * io/write.c (write): Likewise.
31485 * sysdeps/mach/hurd/write.c (write): Likewise.
31486 * io/pread64.c (__pread64): Likewise.
31487 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
31488 * posix/pread64.c (__pread64): Add libc_hidden_def.
31490 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
31492 * benchtests/scripts/compare_strings.py: New option -g.
31493 (draw_graph): Print a message that a graph is being generated.
31494 (process_results): Generate graph only if -g is passed.
31495 (main): Process option -g.
31497 * benchtests/scripts/compare_strings.py (process_results):
31498 Better spacing for output.
31500 * benchtests/scripts/compare_strings.py: Use argparse.
31501 * benchtests/README: Document existence of compare_strings.py.
31503 2017-09-15 Joseph Myers <joseph@codesourcery.com>
31505 * math/s_fma.c: Include <libm-alias-double.h>.
31506 (fma): Define using libm_alias_double.
31507 * math/s_nextafter.c: Include <libm-alias-double.h>.
31508 (nextafter): Define using libm_alias_double.
31509 * math/w_acos_compat.c: Include <libm-alias-double.h>.
31510 (acos): Define using libm_alias_double.
31511 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
31512 (aocsh): Define using libm_alias_double.
31513 * math/w_asin_compat.c: Include <libm-alias-double.h>.
31514 (asin): Define using libm_alias_double.
31515 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
31516 (atan2): Define using libm_alias_double.
31517 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
31518 (atanh): Define using libm_alias_double.
31519 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
31520 (cosh): Define using libm_alias_double.
31521 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
31522 (exp10): Define using libm_alias_double.
31523 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
31524 (exp2): Define using libm_alias_double.
31525 * math/w_exp_compat.c: Include <libm-alias-double.h>.
31526 (exp): Define using libm_alias_double.
31527 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
31528 (fmod): Define using libm_alias_double.
31529 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
31530 (hypot): Define using libm_alias_double.
31531 * math/w_j0_compat.c: Include <libm-alias-double.h>.
31532 (j0): Define using libm_alias_double.
31534 * math/w_j1_compat.c: Include <libm-alias-double.h>.
31535 (j1): Define using libm_alias_double.
31537 * math/w_jn_compat.c: Include <libm-alias-double.h>.
31538 (jn): Define using libm_alias_double.
31540 * math/w_log10_compat.c: Include <libm-alias-double.h>.
31541 (log10): Define using libm_alias_double.
31542 * math/w_log2_compat.c: Include <libm-alias-double.h>.
31543 (log2): Define using libm_alias_double.
31544 * math/w_log_compat.c: Include <libm-alias-double.h>.
31545 (log): Define using libm_alias_double.
31546 * math/w_pow_compat.c: Include <libm-alias-double.h>.
31547 (pow): Define using libm_alias_double.
31548 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
31549 (remainder): Define using libm_alias_double.
31550 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
31551 (sinh): Define using libm_alias_double.
31552 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
31553 (sqrt): Define using libm_alias_double.
31554 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
31555 (tgamma): Define using libm_alias_double.
31556 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
31557 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
31558 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
31559 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
31560 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
31561 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
31562 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
31563 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
31564 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
31565 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
31566 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
31567 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
31568 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
31569 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
31570 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
31571 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
31572 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
31573 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
31574 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
31575 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
31576 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
31577 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
31578 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
31579 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
31580 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
31582 * math/e_acoshl.c: Remove.
31583 * math/e_acosl.c: Likewise.
31584 * math/e_asinl.c: Likewise.
31585 * math/e_atan2l.c: Likewise.
31586 * math/e_atanhl.c: Likewise.
31587 * math/e_coshl.c: Likewise.
31588 * math/e_expl.c: Likewise.
31589 * math/e_fmodl.c: Likewise.
31590 * math/e_gammal_r.c: Likewise.
31591 * math/e_hypotl.c: Likewise.
31592 * math/e_j0l.c: Likewise.
31593 * math/e_j1l.c: Likewise.
31594 * math/e_jnl.c: Likewise.
31595 * math/e_lgammal_r.c: Likewise.
31596 * math/e_log10l.c: Likewise.
31597 * math/e_log2l.c: Likewise.
31598 * math/e_logl.c: Likewise.
31599 * math/e_powl.c: Likewise.
31600 * math/e_rem_pio2l.c: Likewise.
31601 * math/e_sinhl.c: Likewise.
31602 * math/e_sqrtf128.c: Likewise.
31603 * math/e_sqrtl.c: Likewise.
31604 * math/k_cosl.c: Likewise.
31605 * math/k_sinl.c: Likewise.
31606 * math/k_tanl.c: Likewise.
31607 * math/s_asinhl.c: Likewise.
31608 * math/s_atanl.c: Likewise.
31609 * math/s_cbrtl.c: Likewise.
31610 * math/s_erfl.c: Likewise.
31611 * math/s_expm1l.c: Likewise.
31612 * math/s_log1pl.c: Likewise.
31613 * math/s_tanhl.c: Likewise.
31615 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31618 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
31619 [$(subdir) = math] (sysdep_calls): New variable. Has the
31620 previous contents of sysdep_routines, but re-sorted..
31621 [$(subdir) = math] (sysdep_routines): Re-use the contents from
31623 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
31624 defined in sysdep_calls and replace by the respective m_* names.
31625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
31626 (compat_symbol): Undefine to avoid duplicated compat symbols in
31629 2017-09-15 Joseph Myers <joseph@codesourcery.com>
31631 * math/s_fmaf.c: Include <libm-alias-float.h>.
31632 (fmaf): Define using libm_alias_float.
31633 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
31634 (acosf): Define using libm_alias_float.
31635 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
31636 (acoshf): Define using libm_alias_float.
31637 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
31638 (asinf): Define using libm_alias_float.
31639 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
31640 (atan2f): Define using libm_alias_float.
31641 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
31642 (atanhf): Define using libm_alias_float.
31643 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
31644 (coshf): Define using libm_alias_float.
31645 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
31646 (exp10f): Define using libm_alias_float.
31647 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
31648 (fmodf): Define using libm_alias_float.
31649 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
31650 (hypotf): Define using libm_alias_float.
31651 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
31652 (j0f): Define using libm_alias_float.
31654 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
31655 (j1f): Define using libm_alias_float.
31657 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
31658 (jnf): Define using libm_alias_float.
31660 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
31661 (log10f): Define using libm_alias_float.
31662 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
31663 (log2f): Define using libm_alias_float.
31664 * math/w_logf_compat.c: Include <libm-alias-float.h>.
31665 (logf): Define using libm_alias_float.
31666 * math/w_powf_compat.c: Include <libm-alias-float.h>.
31667 (powf): Define using libm_alias_float.
31668 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
31669 (remainderf): Define using libm_alias_float.
31670 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
31671 (sinhf): Define using libm_alias_float.
31672 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
31673 (sqrtf): Define using libm_alias_float.
31674 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
31675 (tgammaf): Define using libm_alias_float.
31677 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31679 * include/math.h (roundeven): Change hidden_proto call to
31681 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
31683 [NO_LONG_DOUBLE] (__j0l): New strong alias.
31684 (y0): Rename to __y0 and define as weak alias.
31685 [NO_LONG_DOUBLE] (__y0l): New strong alias.
31686 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
31688 (y0f): Rename to __y0f and define as weak alias.
31689 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
31691 [NO_LONG_DOUBLE] (__j1l): New strong alias.
31692 (y1): Rename to __y1 and define as weak alias.
31693 [NO_LONG_DOUBLE] (__y1l): New strong alias.
31694 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
31696 (y1f): Rename to __y1f and define as weak alias.
31697 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
31699 [NO_LONG_DOUBLE] (__jnl): New strong alias.
31700 (yn): Rename to __yn and define as weak alias.
31701 [NO_LONG_DOUBLE] (__ynl): New strong alias.
31702 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
31704 (ynf): Rename to __ynf and define as weak alias.
31705 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
31706 (fromfp): Define as weak alias.
31707 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
31708 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
31709 (fromfpx): Define as weak alias.
31710 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
31711 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
31712 __getpayload and define as weak alias.
31713 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31714 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
31715 __roundeven and define as weak alias.
31716 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31717 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
31719 (setpayload): Define as weak alias.
31720 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
31721 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
31723 (setpayloadsig): Define as weak alias.
31724 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
31725 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
31726 __totalorder and define as weak alias.
31727 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31728 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
31729 to __totalordermag and define as weak alias.
31730 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31731 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
31732 (ufromfp): Define as weak alias.
31733 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
31734 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
31736 (ufromfpx): Define as weak alias.
31737 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
31738 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
31739 Rename to __getpayload and define as weak alias.
31740 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31741 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
31742 Rename to __roundeven and define as weak alias.
31743 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31744 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
31745 Rename to __totalorder and define as weak alias.
31746 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31747 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
31748 (totalordermag): Rename to __totalordermag and define as weak
31750 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31751 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
31753 (__roundevenl): Likewise.
31754 (__totalorderl): Likewise.
31755 (__totalordermagl): Likewise
31756 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
31758 (fromfpf128): Define as weak alias.
31759 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
31761 (fromfpxf128): Define as weak alias.
31762 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
31764 (setpayloadf128): Define as weak alias.
31765 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
31766 __setpayloadsigf128.
31767 (setpayloadsigf128): Define as weak alias.
31768 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
31770 (ufromfpf128): Define as weak alias.
31771 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
31773 (ufromfpxf128): Define as weak alias.
31774 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
31775 (fromfpf): Define as weak alias.
31776 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
31778 (fromfpxf): Define as weak alias.
31779 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
31780 __getpayloadf and define as weak alias.
31781 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
31782 __roundevenf and define as weak alias.
31783 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
31785 (setpayloadf): Define as weak alias.
31786 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
31788 (setpayloadsigf): Define as weak alias.
31789 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
31790 __totalorderf and define as weak alias.
31791 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
31792 Rename to __totalordermagf and define as weak alias.
31793 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
31795 (ufromfpf): Define as weak alias.
31796 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
31798 (ufromfpxf): Define as weak alias.
31799 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
31801 (fromfpl): Define as weak alias.
31802 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
31804 (fromfpxl): Define as weak alias.
31805 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
31806 to __getpayloadl and define as weak alias.
31807 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
31808 __roundevenl and define as weak alias.
31809 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
31811 (setpayloadl): Define as weak alias.
31812 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
31814 (setpayloadsigl): Define as weak alias.
31815 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
31816 to __totalorderl and define as weak alias.
31817 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
31818 Rename to __totalordermagl and define as weak alias.
31819 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
31821 (ufromfpl): Define as weak alias.
31822 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
31824 (ufromfpxl): Define as weak alias.
31825 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
31827 (fromfpl): Define as weak alias.
31828 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
31830 (fromfpxl): Define as weak alias.
31831 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
31832 Rename to __getpayloadl and define as weak alias.
31833 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
31834 to __roundevenl and define as weak alias. Call __roundeven
31835 instead of roundeven.
31836 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
31838 (setpayloadl): Define as weak alias.
31839 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
31841 (setpayloadsigl): Define as weak alias.
31842 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
31843 Rename to __totalorderl and define as weak alias.
31844 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
31845 Rename to __totalordermagl and define as weak alias.
31846 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
31848 (ufromfpl): Define as weak alias.
31849 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
31851 (ufromfpxl): Define as weak alias.
31852 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
31854 (fromfpl): Define as weak alias.
31855 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
31857 (fromfpxl): Define as weak alias.
31858 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
31859 __getpayloadl and define as weak alias.
31860 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
31861 __roundevenl and define as weak alias.
31862 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
31864 (setpayloadl): Define as weak alias.
31865 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
31867 (setpayloadsigl): Define as weak alias.
31868 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
31869 __totalorderl and define as weak alias.
31870 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
31871 Rename to __totalordermagl and define as weak alias.
31872 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
31874 (ufromfpl): Define as weak alias.
31875 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
31877 (ufromfpxl): Define as weak alias.
31879 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
31881 * benchtests/bench-string.h (realloc_bufs): New function.
31882 (test_init): Call it.
31883 * benchtests/bench-memset-large.c (do_test): Likewise.
31884 * benchtests/bench-memset.c (do_test): Likewise.
31886 * benchtests/bench-memset-large.c: Print output in JSON
31888 * benchtests/bench-memset.c: Likewise.
31890 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31893 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
31894 * iconvdata/Makefile: Add IBM858.
31895 * iconvdata/gconv-modules: Likewise.
31896 * iconvdata/tst-tables.sh: Likewise.
31897 * iconvdata/ibm858.c: New file.
31898 * localedata/charmaps/IBM858: Likewise.
31900 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
31903 * locales/niu_NZ (LC_TIME): copy "niu_NU".
31904 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
31906 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31909 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
31910 and add tel_int_fmt.
31912 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31914 * sysdeps/generic/libm-alias-float128.h: New file.
31915 * sysdeps/generic/math-type-macros-float128.h: Include
31916 <libm-alias-float128.h>.
31917 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31919 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31921 * sysdeps/generic/libm-alias-ldouble.h: New file.
31922 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
31923 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
31924 * sysdeps/generic/math-type-macros-ldouble.h: Include
31925 <libm-alias-ldouble.h>.
31926 [!declare_mgen_alias] (declare_mgen_alias): Define to use
31927 libm_alias_ldouble.
31929 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
31931 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
31932 * math/w_exp_compat.c: ... here.
31933 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
31934 * math/w_expf_compat.c: ... here.
31935 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
31936 * math/w_expl_compat.c: ... here.
31937 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
31938 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
31939 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
31940 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31942 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31944 * math/w_scalbln_template.c (strong_alias): Do not undefine and
31946 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
31948 (ldexpl): Only define as compat symbol for libc, not libm.
31949 (scalbnl): Define as compat symbol for libc here.
31950 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
31951 define for [IS_IN (libc)].
31952 (__ldexpl_2): Remove alias.
31953 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
31954 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
31955 name in long_double_symbol call.
31956 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
31957 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31958 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31959 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
31960 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
31962 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
31963 Define as compat symbol.
31965 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31967 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
31968 * sysdeps/unix/sysv/linux/alpha/Makefile
31969 [$(subdir) = csu] (sysdep_routines): Remove rule.
31971 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31973 * sysdeps/generic/libm-alias-double.h: New file.
31974 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
31975 * sysdeps/generic/math-type-macros-double.h: Include
31976 <libm-alias-double.h>.
31977 [declare_mgen_alias] (declare_mgen_alias): Define to use
31979 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
31980 (M_LIBM_NEED_COMPAT): Remove macro.
31981 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
31982 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
31983 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
31985 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31986 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31987 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31988 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31989 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31990 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31991 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31992 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31993 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31994 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31995 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31996 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31997 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31998 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31999 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32000 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32001 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32002 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32003 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32004 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32005 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32006 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32007 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32008 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32009 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32010 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32011 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32012 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
32013 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
32015 (declare_mgen_alias): New macro.
32016 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
32017 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
32018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
32019 (M_LIBM_NEED_COMPAT): Remove macro.
32020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
32021 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
32022 <first-versions.h>.
32023 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
32024 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
32026 2017-09-12 Joseph Myers <joseph@codesourcery.com>
32028 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
32029 (declare_mgen_alias_2): Remove.
32030 * sysdeps/generic/math-type-macros-double.h
32031 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
32033 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
32035 (ldexp): Define with declare_mgen_alias.
32036 (scalbn): Likewise.
32038 2017-09-12 Steve Ellcey <sellcey@cavium.com>
32040 * grp/initgroups.c: Include config.h.
32041 (DEFAULT_CONFIG): New macro.
32042 (internal_getgrouplist): Use DEFAULT_CONFIG.
32043 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32044 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
32045 (DEFAULT_DEFCONFIG): New macro.
32046 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
32047 * nss/grp-lookup.c: Include config.h
32048 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
32049 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
32050 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
32051 * manual/nss.texi: Update default values section.
32053 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
32056 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
32058 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
32059 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32060 Handle MathVec_Prefer_No_AVX512.
32061 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
32062 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
32065 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
32067 * posix/sched_primax.c (__sched_get_priority_max): Add
32069 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
32070 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32071 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32072 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
32073 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
32074 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
32075 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
32076 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
32079 2017-09-11 Joseph Myers <joseph@codesourcery.com>
32081 * sysdeps/generic/libm-alias-float.h: New file.
32082 * sysdeps/generic/math-type-macros-float.h: Include
32083 <libm-alias-float.h>.
32084 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
32086 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
32089 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
32090 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
32091 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
32092 (HWCAP_IMPORTANT): Likewise.
32093 (HWCAP_X86_64): New enum.
32094 (HWCAP_X86_AVX512_1): Updated.
32095 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
32096 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
32097 (modules-names): Add x86_64/tst-x86_64mod-1.
32098 (LDFLAGS-tst-x86_64mod-1.so): New.
32099 ($(objpfx)tst-x86_64-1): Likewise.
32100 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
32101 (tst-x86_64-1-clean): Likewise.
32102 * sysdeps/x86_64/tst-x86_64-1.c: New file.
32103 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
32105 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32107 * po/sv.po: Update translations.
32108 * po/fr.po: Likewise.
32110 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32112 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
32114 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
32116 * elf/rtld-Rules: Fix $(error) use.
32118 2017-09-09 Mike FABIAN <mfabian@redhat.com>
32121 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
32122 * locale/iso-639.def: Change “Bengali” to “Bangla”.
32123 * localedata/locales/bn_BD: “Bengali” was still used in some
32124 comments. Change it to “Bangla”.
32126 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
32128 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
32130 2017-09-08 Steve Ellcey <sellcey@cavium.com>
32132 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
32133 thunderx2t99p1 to list of cpu names.
32134 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32135 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
32137 2017-09-08 Steve Ellcey <sellcey@cavium.com>
32139 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
32140 Use strcmp instead of tunable_is_name.
32142 2017-09-08 Joseph Myers <joseph@codesourcery.com>
32144 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32145 (F_GET_RW_HINT): New macro.
32146 [__USE_GNU] (F_SET_RW_HINT): Likewise.
32147 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
32148 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
32149 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
32150 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
32151 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
32152 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
32153 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
32154 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
32156 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32157 (F_ADD_SEALS): New macro.
32158 [__USE_GNU] (F_GET_SEALS): Likewise.
32159 [__USE_GNU] (F_SEAL_SEAL): Likewise.
32160 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
32161 [__USE_GNU] (F_SEAL_GROW): Likewise.
32162 [__USE_GNU] (F_SEAL_WRITE): Likewise.
32164 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32166 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
32167 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
32168 * posix/glob_internal.h (__glob_pattern_type):
32169 * posix/glob.c (glob):
32170 * posix/glob_pattern_p.c (__glob_pattern_p):
32173 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
32174 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32175 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
32176 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
32177 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
32179 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
32180 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
32181 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32182 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32183 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32184 * sysdeps/wordsize-64/glob.c: Likewise.
32185 * sysdeps/wordsize-64/glob64.c: Likewise.
32186 * sysdeps/wordsize-64/globfree.c: Likewise.
32187 * sysdeps/wordsize-64/globfree64.c: Likewise.
32188 * sysdeps/unix/sysv/linux/glob.c: New file.
32189 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
32190 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
32191 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
32192 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32193 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
32194 adds !GLOB_NO_OLD_VERSION as an extra condition.
32195 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
32196 using relative path instead of absolute one.
32197 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
32198 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32199 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32200 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
32201 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
32202 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
32205 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
32206 (glob): Use the same scratch buffer for both getlogin_r and
32207 getpwnam_r. Don’t require preallocation of the login name. This
32208 simplifies storage allocation, and corrects the handling of
32212 * posix/glob.c (glob): Port recent patches to platforms
32213 lacking getpwnam_r.
32214 (glob): Fix longstanding misuse of errno after getpwnam_r, which
32215 returns an error number rather than setting errno.
32217 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
32218 instead of GCC extension.
32219 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
32220 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
32221 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
32225 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
32226 * posix/bug-glob1.c: Remove file.
32227 * posix/tst-glob_symlinks.c: New file.
32228 * posix/glob.c (__lstat64): New macro.
32229 (is_dir): New function.
32230 (glob, glob_in_dir): Match symlinks even if they are dangling.
32231 (link_stat, link_exists_p): Remove. All uses removed.
32235 * posix/glob.c (struct readdir_result): Remove skip_entry member.
32236 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
32241 * posix/Makefile (routines): Add globfree, globfree64, and
32243 * posix/flexmember.h: New file.
32244 * posix/glob_internal.h: Likewise.
32245 * posix/glob_pattern_p.c: Likewise.
32246 * posix/globfree.c: Likewise.
32247 * posix/globfree64.c: Likewise.
32248 * sysdeps/gnu/globfree64.c: Likewise.
32249 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
32250 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32251 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
32252 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32253 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32254 * sysdeps/wordsize-64/globfree.c: Likewise.
32255 * sysdeps/wordsize-64/globfree64.c: Likewise.
32256 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
32257 [NDEBUG): Remove comments.
32258 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
32259 (dirent_type): New type. Use uint_fast8_t not
32260 uint8_t, as C99 does not require uint8_t.
32261 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
32262 (struct readdir_result): Use dirent_type. Do not define skip_entry
32263 unless it is needed; this saves a byte on platforms lacking d_ino.
32264 (readdir_result_type, readdir_result_skip_entry):
32265 New functions, replacing ...
32266 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
32267 these functions, which were removed. This makes the callers
32268 easier to read. All callers changed.
32269 (D_INO_TO_RESULT): Now empty if there is no d_ino.
32270 (size_add_wrapv, glob_use_alloca): New static functions.
32271 (glob, glob_in_dir): Check for size_t overflow in several places,
32272 and fix some size_t checks that were not quite right.
32273 Remove old code using SHELL since Bash no longer
32275 (glob, prefix_array): Separate MS code better.
32276 (glob_in_dir): Remove old Amiga and VMS code.
32277 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
32279 (glob_in_dir): Do not rely on undefined behavior in accessing
32280 struct members beyond their bounds. Use a flexible array member
32282 (link_stat): Rename from link_exists2_p and return -1/0 instead of
32283 0/1. Caller changed.
32284 (glob): Fix memory leaks.
32285 * posix/glob64 (globfree64): Move to separate file.
32286 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
32287 (globfree64): Remove hidden alias.
32288 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
32290 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
32292 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
32294 Move compat code to separate file.
32295 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
32298 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
32300 * resolv/tst-resolv-qtypes.c (domain): Changed to
32301 "const char domain[] =".
32303 2017-09-07 Joseph Myers <joseph@codesourcery.com>
32305 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
32308 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
32309 (TCP_MD5SIG_EXT): Likewise.
32310 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
32311 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
32312 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
32314 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
32316 2017-09-07 Mike FABIAN <mfabian@redhat.com>
32318 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
32320 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
32323 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
32325 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
32327 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
32328 before assuming that the file is empty. Avoid testing buffer content
32331 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32334 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32336 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
32338 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
32340 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
32342 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32344 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
32346 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
32349 2017-09-06 Florian Weimer <fweimer@redhat.com>
32351 * malloc/dynarray_emplace_enlarge.c
32352 (__libc_dynarray_emplace_enlarge): Add missing else.
32354 2017-09-06 Florian Weimer <fweimer@redhat.com>
32357 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
32358 case of failure to obtain the global conf object.
32360 2017-09-06 Florian Weimer <fweimer@redhat.com>
32363 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
32364 dynarray allocation failure.
32366 2017-09-06 Florian Weimer <fweimer@redhat.com>
32368 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
32369 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
32370 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
32372 (response): Call them. Add 'p', '6' flag processing.
32373 (test_reverse): New function.
32374 (test_get2_any): Call it.
32375 (test_no_inet6): Add 'p' test.
32376 (test_inet6): Likewise.
32378 2017-09-06 Florian Weimer <fweimer@redhat.com>
32380 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
32381 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
32383 (test_gai): Adjust query names. Add additional tests.
32384 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
32385 test_get2. Adjust query names. Add additional tests.
32386 (test_no_inet6): New function, extracted from threadfunc.
32387 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
32388 Add additional tests.
32390 2017-09-06 Mike FABIAN <mfabian@redhat.com>
32393 * localedata/unicode-gen/utf8_gen.py: Set the width for
32394 characters with Prepended_Concatenation_Mark property to 1
32395 * localedata/charmaps/UTF-8: Updated using the improved script.
32397 2017-09-06 Mike FABIAN <mfabian@redhat.com>
32400 * localedata/unicode-gen/utf8_gen.py: Improve the script to
32401 use the range notation for all ranges of neighbouring characters
32402 with the same width.
32404 2017-09-05 Joseph Myers <joseph@codesourcery.com>
32406 * sysdeps/generic/math-type-macros-double.h: Include
32407 <math-svid-compat.h>.
32408 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32409 * sysdeps/generic/math-type-macros-float.h: Include
32410 <math-svid-compat.h>.
32411 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32412 * sysdeps/generic/math-type-macros-ldouble.h: Include
32413 <math-svid-compat.h>.
32414 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32415 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
32417 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
32418 * math/w_acosf_compat.c: Likewise.
32419 * math/w_acosh_compat.c: Likewise.
32420 * math/w_acoshf_compat.c: Likewise.
32421 * math/w_acoshl_compat.c: Likewise.
32422 * math/w_acosl_compat.c: Likewise.
32423 * math/w_asin_compat.c: Likewise.
32424 * math/w_asinf_compat.c: Likewise.
32425 * math/w_asinl_compat.c: Likewise.
32426 * math/w_atan2_compat.c: Likewise.
32427 * math/w_atan2f_compat.c: Likewise.
32428 * math/w_atan2l_compat.c: Likewise.
32429 * math/w_atanh_compat.c: Likewise.
32430 * math/w_atanhf_compat.c: Likewise.
32431 * math/w_atanhl_compat.c: Likewise.
32432 * math/w_cosh_compat.c: Likewise.
32433 * math/w_coshf_compat.c: Likewise.
32434 * math/w_coshl_compat.c: Likewise.
32435 * math/w_exp10_compat.c: Likewise.
32436 * math/w_exp10f_compat.c: Likewise.
32437 * math/w_exp10l_compat.c: Likewise.
32438 * math/w_exp2_compat.c: Likewise.
32439 * math/w_exp2f_compat.c: Likewise.
32440 * math/w_exp2l_compat.c: Likewise.
32441 * math/w_fmod_compat.c: Likewise.
32442 * math/w_fmodf_compat.c: Likewise.
32443 * math/w_fmodl_compat.c: Likewise.
32444 * math/w_hypot_compat.c: Likewise.
32445 * math/w_hypotf_compat.c: Likewise.
32446 * math/w_hypotl_compat.c: Likewise.
32447 * math/w_j0_compat.c: Likewise.
32448 * math/w_j0f_compat.c: Likewise.
32449 * math/w_j0l_compat.c: Likewise.
32450 * math/w_j1_compat.c: Likewise.
32451 * math/w_j1f_compat.c: Likewise.
32452 * math/w_j1l_compat.c: Likewise.
32453 * math/w_jn_compat.c: Likewise.
32454 * math/w_jnf_compat.c: Likewise.
32455 * math/w_jnl_compat.c: Likewise.
32456 * math/w_lgamma_r_compat.c: Likewise.
32457 * math/w_lgammaf_r_compat.c: Likewise.
32458 * math/w_lgammal_r_compat.c: Likewise.
32459 * math/w_log10_compat.c: Likewise.
32460 * math/w_log10f_compat.c: Likewise.
32461 * math/w_log10l_compat.c: Likewise.
32462 * math/w_log2_compat.c: Likewise.
32463 * math/w_log2f_compat.c: Likewise.
32464 * math/w_log2l_compat.c: Likewise.
32465 * math/w_log_compat.c: Likewise.
32466 * math/w_logf_compat.c: Likewise.
32467 * math/w_logl_compat.c: Likewise.
32468 * math/w_pow_compat.c: Likewise.
32469 * math/w_powf_compat.c: Likewise.
32470 * math/w_powl_compat.c: Likewise.
32471 * math/w_remainder_compat.c: Likewise.
32472 * math/w_remainderf_compat.c: Likewise.
32473 * math/w_remainderl_compat.c: Likewise.
32474 * math/w_sinh_compat.c: Likewise.
32475 * math/w_sinhf_compat.c: Likewise.
32476 * math/w_sinhl_compat.c: Likewise.
32477 * math/w_sqrt_compat.c: Likewise.
32478 * math/w_sqrtf_compat.c: Likewise.
32479 * math/w_sqrtl_compat.c: Likewise.
32480 * math/w_tgamma_compat.c: Likewise.
32481 * math/w_tgammaf_compat.c: Likewise.
32482 * math/w_tgammal_compat.c: Likewise.
32483 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
32484 [LIBM_SVID_COMPAT].
32485 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
32486 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
32487 [LIBM_SVID_COMPAT].
32488 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
32489 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
32490 [LIBM_SVID_COMPAT].
32491 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
32492 * sysdeps/i386/fpu/w_sqrt.c: New file.
32493 * sysdeps/ia64/fpu/w_acos.c: Likewise.
32494 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
32495 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
32496 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
32497 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
32498 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
32499 * sysdeps/ia64/fpu/w_asin.c: Likewise.
32500 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
32501 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
32502 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
32503 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
32504 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
32505 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
32506 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
32507 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
32508 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
32509 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
32510 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
32511 * sysdeps/ia64/fpu/w_exp.c: Likewise.
32512 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
32513 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
32514 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
32515 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
32516 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
32517 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
32518 * sysdeps/ia64/fpu/w_expf.c: Likewise.
32519 * sysdeps/ia64/fpu/w_expl.c: Likewise.
32520 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
32521 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
32522 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
32523 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
32524 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
32525 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
32526 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
32527 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
32528 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
32529 * sysdeps/ia64/fpu/w_log.c: Likewise.
32530 * sysdeps/ia64/fpu/w_log10.c: Likewise.
32531 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
32532 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
32533 * sysdeps/ia64/fpu/w_log2.c: Likewise.
32534 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
32535 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
32536 * sysdeps/ia64/fpu/w_logf.c: Likewise.
32537 * sysdeps/ia64/fpu/w_logl.c: Likewise.
32538 * sysdeps/ia64/fpu/w_pow.c: Likewise.
32539 * sysdeps/ia64/fpu/w_powf.c: Likewise.
32540 * sysdeps/ia64/fpu/w_powl.c: Likewise.
32541 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
32542 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
32543 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
32544 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
32545 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
32546 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
32547 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
32548 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
32549 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
32550 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
32551 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
32552 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
32553 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
32554 [LIBM_SVID_COMPAT].
32555 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32556 * sysdeps/ieee754/k_standard.c: Likewise.
32557 * sysdeps/ieee754/k_standardf.c: Likewise.
32558 * sysdeps/ieee754/k_standardl.c: Likewise.
32559 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32560 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32561 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32562 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
32563 long_double_symbol call on [LIBM_SVID_COMPAT].
32564 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32565 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32566 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32567 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32568 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32569 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32570 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32571 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32572 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32573 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32574 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32575 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
32576 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32577 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32578 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32579 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32580 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
32581 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32582 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32583 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32584 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
32585 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
32587 2017-09-05 Steve Ellcey <sellcey@cavium.com>
32589 * include/shlib-compat.h (TEST_COMPAT): New Macro.
32590 * malloc/tst-mallocstate.c: Convert from test-skeleton
32591 to test-driver. Ifdef code using TEST_COMPAT macro.
32592 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
32593 * math/test-matherr.c: Likewise.
32595 2017-09-05 Joseph Myers <joseph@codesourcery.com>
32598 * debug/pcprofiledump.c (main): Use byte-swapped mask when
32599 comparing word with byte-swapped constant.
32601 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
32604 * locale/iso-639.def: add Miskito.
32605 * localedata/SUPPORTED: Add miq_NI/UTF-8.
32606 * localedata/locales/miq_NI: New file.
32608 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
32611 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
32612 (__mkdir): Likewise.
32613 * io/chmod.c (__chmod): Add libc_hidden_def.
32614 * io/mkdir.c (__mkdir): Likewise.
32615 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
32616 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
32617 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
32618 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
32620 2017-09-04 Joseph Myers <joseph@codesourcery.com>
32622 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
32626 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
32627 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
32629 2017-09-04 Florian Weimer <fweimer@redhat.com>
32631 * math/math.h: Issue warning if log is defined.
32633 2017-09-04 Joseph Myers <joseph@codesourcery.com>
32635 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
32636 kernel version to 4.13.
32638 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
32640 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
32641 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
32643 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
32644 just <bits/types.h>.
32645 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
32646 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
32647 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
32648 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
32649 * misc/preadv2.c: Include <errno.h>.
32650 * misc/preadv64v2.c: Include <errno.h>.
32651 * misc/pwritev2.c: Include <errno.h>.
32652 * misc/pwritev64v2.c: Include <errno.h>.
32653 * sysdeps/posix/preadv2.c: Include <errno.h>.
32654 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
32655 Fix <unistd.h> inclusion.
32656 * sysdeps/posix/pwritev2.c: Include <errno.h>.
32657 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
32658 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
32659 __strtoul_internal): New functions.
32660 * sysdeps/posix/pause.c: Include <sigsetops.h>.
32661 * sysdeps/posix/system.c: Include <sigsetops.h>.
32662 * sysdeps/mach/hurd/i386/Makefile
32663 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
32664 [$(subdir) = csu] (sysdep-only-routines): Likewise.
32665 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
32666 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
32667 __feraiseexcept_renamed to feraiseexcept instead of
32668 __GI_feraiseexcept.
32669 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
32670 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
32671 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
32672 RWF_NOWAIT): Define to 0 if undefined already.
32673 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
32675 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
32676 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
32678 2017-09-01 Joseph Myers <joseph@codesourcery.com>
32680 * manual/math.texi (pow10): Do not document.
32681 (pow10f): Likewise.
32682 (pow10l): Likewise.
32683 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
32684 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
32685 * math/libm-test-exp10.inc (pow10_test): Remove.
32686 (do_test): Do not call pow10.
32687 * math/w_exp10_compat.c (pow10): Make into compat symbol.
32688 [NO_LONG_DOUBLE] (pow10l): Likewise.
32689 * math/w_exp10f_compat.c (pow10f): Likewise.
32690 * math/w_exp10l_compat.c (pow10l): Likewise.
32691 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
32692 (pow10): Make into compat symbol.
32693 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
32694 (pow10f): Make into compat symbol.
32695 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
32696 (pow10l): Make into compat symbol.
32697 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
32699 (CFLAGS-nldbl-pow10.c): Remove variable..
32700 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
32701 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
32702 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
32703 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
32704 Undefine and redefine.
32705 (pow10l): Make into compat symbol.
32706 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
32707 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32708 * sysdeps/arm/libm-test-ulps: Likewise.
32709 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
32710 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32711 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
32712 * sysdeps/microblaze/libm-test-ulps: Likewise.
32713 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32714 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32715 * sysdeps/nios2/libm-test-ulps: Likewise.
32716 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32717 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32718 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32719 * sysdeps/sh/libm-test-ulps: Likewise.
32720 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32721 * sysdeps/tile/libm-test-ulps: Likewise.
32722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32724 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32726 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
32728 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32730 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
32731 "../ChangeLog.old/ChangeLog.8".
32732 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
32733 "../ChangeLog.old/ChangeLog.14".
32735 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32737 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
32740 2017-09-01 Joseph Myers <joseph@codesourcery.com>
32742 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
32744 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32746 * csu/version.c (banner): Remove "by Roland McGrath et al.".
32747 * nptl/Banner: Remove "by Ulrich Drepper et al.".
32749 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32751 * stdlib/tst-atexit-common.c (do_test): Test support for at least
32752 32 atexit handlers.
32754 2017-09-01 Zack Weinberg <zackw@panix.com>
32756 * math/math.h (HUGE_VAL): Improve commentary.
32758 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32759 Andreas Schwab <schwab@suse.de>
32762 * include/stdio.h (__gen_tempfd): New function.
32763 * stdio-common/Makefile (routines): Add gentempfd.
32764 * stdio-common/gentempfd.c: New file.
32765 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
32766 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
32767 unnamed file first.
32769 2017-09-01 Florian Weimer <fweimer@redhat.com>
32773 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
32774 result to determine success or failure, not the errno value.
32775 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
32776 (tst-nss-files-hosts-erange): Link with -ldl.
32777 * nss/tst-nss-files-hosts-erange.c: New file.
32778 * nss/tst-resolv-basic.c (response): Handle nodata.example.
32779 (do_test): Add NO_DATA tests.
32780 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
32781 (do_test): Call it.
32783 2017-09-01 Florian Weimer <fweimer@redhat.com>
32786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
32787 coming from gethostbyname2_r.
32789 2017-09-01 Florian Weimer <fweimer@redhat.com>
32791 * support/namespace.h (struct support_chroot_configuration): Add
32793 (struct support_chroot): Add path_hosts, path_host_conf.
32794 * support/support_chroot.c (write_file): New function.
32795 (support_chroot_create): Call it to process /etc/resolv.conf,
32796 /etc/hosts, /etc/host.conf.
32797 (support_chroot_free): Update.
32799 2017-09-01 Florian Weimer <fweimer@redhat.com>
32801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
32802 status indicates it is set.
32804 2017-09-01 Florian Weimer <fweimer@redhat.com>
32807 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
32808 function lookup failures more reliable.
32810 2017-09-01 Florian Weimer <fweimer@redhat.com>
32812 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
32813 (getcanonname): Likewise.
32814 (gaih_inet): Likewise.
32816 2017-09-01 Florian Weimer <fweimer@redhat.com>
32818 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
32819 (getcanonname): Likewise.
32820 (gaih_inet): Likewise.
32822 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32823 Richard Henderson <rth@twiddle.net>
32825 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
32826 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
32827 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
32828 (IREG_SIZE, OREG_SIZE): New macros.
32829 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
32830 (IREG_SIZE, OREG_SIZE): New macros.
32831 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
32832 (IREG_SIZE): New macro.
32833 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
32834 (IREG_SIZE): New macro.
32835 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
32837 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
32838 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32839 (__CONCATX): Handle exceptions correctly on large values that may
32841 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
32842 Initialize if not already set.
32843 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32845 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32847 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
32848 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
32850 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
32852 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
32854 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
32856 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
32858 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
32860 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
32862 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
32863 (NO_CANCELLATION): Likewise.
32864 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
32866 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
32868 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
32870 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
32871 (NO_CANCELLATION): Likewise.
32872 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
32873 (NO_CANCELLATION): Likewise.
32874 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
32876 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
32878 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
32880 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
32882 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
32884 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
32885 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
32887 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32889 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
32892 2017-08-31 Florian Weimer <fweimer@redhat.com>
32894 * include/libc-symbols.h (internal_function): Remove.
32896 2017-08-31 Florian Weimer <fweimer@redhat.com>
32898 * stdlib/fmtmsg.c (internal_addseverity): Remove
32901 2017-08-31 Florian Weimer <fweimer@redhat.com>
32903 * stdio-common/printf_fp.c (group_number): Remove
32905 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
32907 2017-08-31 Florian Weimer <fweimer@redhat.com>
32909 * posix/fnmatch.c (internal_function): Remove definition.
32910 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
32911 * posix/regcomp.c (peek_token, init_word_char)
32912 (duplicate_node_closure, fetch_token, peek_token)
32913 (peek_token_bracket, build_range_exp, build_collating_symbol):
32915 * posix/regex_internal.c (re_string_construct_common)
32916 (create_ci_newstate, create_cd_newstate, re_string_allocate)
32917 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
32918 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
32919 (re_string_translate_buffer, re_string_reconstruct)
32920 (re_string_peek_byte_case, re_string_fetch_byte_case)
32921 (re_string_destruct, re_string_context_at, re_node_set_alloc)
32922 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
32923 (re_node_set_add_intersect, re_node_set_init_union)
32924 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
32925 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
32926 (re_dfa_add_node, calc_state_hash, re_acquire_state)
32927 (re_acquire_state_context): Likewise.
32928 * posix/regex_internal.h (internal_function): Remove definition.
32929 (re_string_realloc_buffers, build_wcs_buffer)
32930 (build_wcs_upper_buffer, build_upper_buffer)
32931 (re_string_translate_buffer, re_string_context_at)
32932 (re_string_char_size_at, re_string_wchar_at)
32933 (re_string_elem_size_at): Likewise.
32934 * posix/regexec.c (match_ctx_init, match_ctx_clean)
32935 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
32936 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
32937 (re_search_internal, re_search_2_stub, re_search_stub)
32938 (re_copy_regs, prune_impossible_nodes, check_matching)
32939 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
32940 (free_fail_stack_return, sift_states_iter_mb)
32941 (sift_states_backward, build_sifted_states)
32942 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
32943 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
32944 (check_subexp_limits, sift_states_bkref, merge_state_array)
32945 (find_recover_state, transit_state, merge_state_with_log)
32946 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
32947 (transit_state_mb, transit_state_bkref, get_subexp)
32948 (get_subexp_sub, find_subexp_node, check_arrival)
32949 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
32950 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
32951 (check_node_accept_bytes, find_collation_sequence_value)
32952 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
32953 (acquire_init_state_context, check_halt_node_context)
32954 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
32955 (sub_epsilon_src_nodes): Likewise.
32956 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
32957 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
32958 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
32959 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
32960 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
32961 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
32962 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
32963 * sysdeps/posix/ttyname.c (getttyname): Likewise.
32964 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
32965 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
32966 (PREADV): Likewise.
32967 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
32968 (PREADV): Likewise.
32969 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
32970 (PWRITEV): Likewise.
32971 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
32972 (PWRITEV): Likewise.
32973 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
32974 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
32976 2017-08-31 Florian Weimer <fweimer@redhat.com>
32978 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
32979 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
32980 Remove internal_function.
32981 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32982 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
32983 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
32984 (__deallocate_stack, __libc_pthread_init)
32985 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
32986 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
32987 (__libc_disable_asynccancel, __librt_disable_asynccancel):
32989 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
32990 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
32991 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
32993 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
32994 (__pthread_mutex_unlock_usercnt): Likewise.
32996 2017-08-31 Florian Weimer <fweimer@redhat.com>
32998 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
32999 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
33000 (fts_safe_changedir): Remove internal_function.
33001 * io/ftw.c (internal_function): Remove definition.
33002 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
33004 2017-08-31 Florian Weimer <fweimer@redhat.com>
33006 * inet/deadline.c (__deadline_current_time)
33007 (__deadline_from_timeval, __deadline_to_ms): Remove
33009 * inet/getnameinfo.c (nrl_domainname): Likewise.
33010 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
33011 * inet/inet6_option.c (add_pad): Likewise.
33012 * inet/net-internal.h (__deadline_current_time)
33013 (__deadline_from_timeval, __deadline_to_ms): Likewise.
33014 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
33015 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
33016 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
33018 2017-08-31 Joseph Myers <joseph@codesourcery.com>
33020 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
33021 include <bits/nan.h>.
33022 * math/Makefile (headers): Remove bits/nan.h.
33023 * bits/nan.h: Remove.
33024 * sysdeps/ieee754/bits/nan.h: Likewise.
33025 * sysdeps/mips/bits/nan.h: Likewise.
33027 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
33028 not include <bits/inf.h>.
33029 * math/Makefile (headers): Remove bits/inf.h.
33030 * bits/inf.h: Remove.
33031 * sysdeps/ieee754/bits/inf.h: Likewise.
33033 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
33034 bits/huge_vall.h or bits/huge_val_flt128.h.
33035 (HUGE_VAL): Define directly here.
33036 [__USE_ISOC99] (HUGE_VALF): Likewise.
33037 [__USE_ISOC99] (HUGE_VALL): Likewise.
33038 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33039 (HUGE_VAL_F128): Likewise.
33040 * math/Makefile (headers): Remove bits/huge_val.h,
33041 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
33042 * bits/huge_val.h: Remove.
33043 * bits/huge_val_flt128.h: Likewise.
33044 * bits/huge_valf.h: Likewise.
33045 * bits/huge_vall.h: Likewise.
33046 * sysdeps/ia64/bits/huge_vall.h: Likewise.
33047 * sysdeps/ieee754/bits/huge_val.h: Likewise.
33048 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
33049 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
33050 * sysdeps/sh/bits/huge_val.h: Likewise.
33051 * sysdeps/sparc/bits/huge_vall.h: Likewise.
33052 * sysdeps/x86/bits/huge_vall.h: Likewise.
33054 2017-08-31 Florian Weimer <fweimer@redhat.com>
33056 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
33058 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
33060 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
33061 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33062 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
33063 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
33064 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33065 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33066 * elf/dl-libc.c (dlerror_run): Likewise.
33067 * elf/dl-load.c (add_name_to_object, decompose_rpath)
33068 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
33069 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
33070 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
33072 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
33073 (_dl_higher_prime_number, _dl_strtoul): Likewise.
33074 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
33075 * elf/dl-profile.c (_dl_start_profile): Likewise.
33076 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
33077 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
33079 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
33080 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
33081 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
33082 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
33083 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
33084 (_dl_allocate_tls_storage): Likewise.
33085 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
33086 (_dl_check_all_versions): Likewise.
33087 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
33088 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
33089 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
33090 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33091 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
33092 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
33093 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
33094 internal_function from __dl_start.
33095 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
33096 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
33097 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
33098 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
33099 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
33100 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
33101 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
33102 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
33103 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
33104 (_dl_next_ld_env_entry, _dl_important_hwcaps)
33105 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
33106 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
33107 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
33108 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
33109 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
33111 (struct rtld_global_ro): Remove internal_function from the
33112 _dl_lookup_symbol_x member.
33113 (_dl_symbol_value): Remove. No longer defined anywhere.
33114 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
33116 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33117 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33118 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
33119 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
33120 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
33121 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
33122 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
33123 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
33124 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
33125 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
33126 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33127 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33129 2017-08-31 Florian Weimer <fweimer@redhat.com>
33131 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
33132 Remove internal_function.
33133 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33135 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33138 2017-08-31 Florian Weimer <fweimer@redhat.com>
33140 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
33141 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
33142 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
33144 2017-08-31 Florian Weimer <fweimer@redhat.com>
33146 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
33147 (__gai_enqueue_request): Remove internal_function.
33148 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
33149 (__gai_remove_request, __gai_notify, __gai_notify_only)
33150 (__gai_sigqueue): Likewise.
33151 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
33152 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
33153 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
33154 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33157 2017-08-31 Florian Weimer <fweimer@redhat.com>
33159 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
33160 * include/dirent.h (__opendirat, __getdents, __getdents64)
33161 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
33162 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
33163 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33164 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
33166 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
33168 2017-08-31 Florian Weimer <fweimer@redhat.com>
33170 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
33172 (GETCWD_RETURN_TYPE): Likewise.
33174 2017-08-31 Florian Weimer <fweimer@redhat.com>
33176 * include/time.h (__tz_compute, __strptime_internal): Remove
33178 * time/strptime_l.c (__strptime_internal): Likewise.
33179 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
33181 2017-08-31 Florian Weimer <fweimer@redhat.com>
33183 * iconv/gconv.c (__gconv): Remove internal_function.
33184 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
33185 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
33186 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
33187 (__gconv_release_cache): Likewise.
33188 * iconv/gconv_close.c (__gconv_close): Likewise.
33189 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
33190 (read_conf_file, __gconv_get_path): Likewise.
33191 * iconv/gconv_db.c (derivation_lookup, add_derivation)
33192 (__gconv_release_step, gen_steps, increment_counter)
33193 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
33194 (__gconv_close_transform, free_modules_db): Likewise.
33195 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
33197 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
33198 (__gconv_find_transform, __gconv_lookup_cache)
33199 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
33200 (__gconv_close_transform, __gconv_release_cache)
33201 (__gconv_loaded_object, __gconv_release_shlib)
33202 (__gconv_compare_alias): Likewise.
33203 * iconv/gconv_open.c (__gconv_open): Likewise.
33204 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
33205 * iconv/iconvconfig.c (add_module): Likewise.
33206 * intl/dcigettext.c (plural_lookup, guess_category_value)
33207 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
33208 * intl/eval-plural.h (plural_eval): Likewise.
33209 * intl/finddomain.c (_nl_find_domain): Likewise.
33210 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
33211 (_nl_load_domain, _nl_find_msg): Likewise.
33212 (internal_function): Remove definition.
33213 * intl/loadinfo.h (internal_function): Likewise.
33214 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
33216 * intl/localealias.c (internal_function): Remove definition.
33217 (read_alias_file): Remove internal_function.
33218 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
33219 * intl/plural-exp.h (internal_function): Remove definition.
33220 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
33222 * intl/plural.c: Regenerate.
33223 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
33224 * locale/coll-lookup.c (__collidx_table_lookup)
33225 (__collseq_table_lookup): Likewise.
33226 * locale/coll-lookup.h (__collidx_table_lookup)
33227 (__collseq_table_lookup): Likewise.
33228 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
33229 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33230 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
33231 (_nl_unload_locale): Likewise.
33232 * locale/localeinfo.h (struct __locale_data): Remove
33233 internal_function from cleanup member.
33234 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
33235 (_nl_remove_locale, _nl_load_locale_from_archive)
33236 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
33237 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
33238 (_nl_cleanup_time): Remove internal_function.
33239 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
33240 (_nl_parse_alt_digit): Likewise.
33241 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
33242 (_nl_select_era_entry): Likewise.
33243 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
33244 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33245 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
33246 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33247 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
33249 2017-08-31 Florian Weimer <fweimer@redhat.com>
33251 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
33252 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
33253 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
33254 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
33256 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
33257 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
33258 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
33259 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33261 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
33263 2017-08-31 Florian Weimer <fweimer@redhat.com>
33265 * misc/getttyent.c (skip, value): Remove internal_function.
33266 * misc/syslog.c (openlog_internal): Likewise.
33267 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
33269 2017-08-31 Florian Weimer <fweimer@redhat.com>
33271 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
33272 (__nss_rewrite_field): Remove internal_function.
33273 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33274 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33275 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33276 * nss/nsswitch.c (nss_parse_file, nss_getline)
33277 (nss_parse_service_list, nss_new_service): Likewise.
33278 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
33279 * nss/valid_field.c (__nss_valid_field): Likewise.
33280 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
33282 2017-08-31 Florian Weimer <fweimer@redhat.com>
33284 * malloc/arena.c (__malloc_fork_lock_parent)
33285 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
33286 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
33287 internal_function from defintions.
33288 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
33289 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
33290 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
33291 internal_function from declarations.
33292 * malloc/malloc.c (internal_function): Do not define.
33293 (mem2mem_check): Remove internal_function from declaration.
33294 (munmap_chunk, mremap_chunk): Remove internal_function.
33295 * malloc/mtrace.c (tr_where): Likewise.
33297 2017-08-31 Florian Weimer <fweimer@redhat.com>
33299 * include/rpc/pmap_clnt.h (__get_socket): Remove
33301 * sunrpc/auth_des.c (synchronize): Likewise.
33302 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
33303 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
33304 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
33305 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
33306 (key_call): Likewise.
33307 * sunrpc/pm_getport.c (__get_socket): Likewise.
33308 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
33309 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
33310 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
33311 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
33312 (invalidate): Likewise.
33313 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
33314 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
33315 (set_input_fragment, get_input_bytes): Likewise.
33317 2017-08-31 Florian Weimer <fweimer@redhat.com>
33319 * malloc/malloc.c (_int_free): Remove locked variable and related
33322 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
33325 * Makerules (build-module-helper-objlist): Filter out
33326 $(elf-objpfx)sofini.os.
33327 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
33330 2017-08-31 Florian Weimer <fweimer@redhat.com>
33332 * libio/fcloseall.c: Assume weak_alias is defined.
33333 * libio/feof.c: Likewise.
33334 * libio/fileno.c: Likewise.
33335 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
33336 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33338 (_IO_file_open): Call __open directly.
33339 (_IO_new_file_sync): Assume ESPIPE is defined.
33340 (_IO_file_seekoff_maybe_mmap): Call __read directly.
33341 (_IO_new_file_write): Call __write directly.
33342 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
33343 * libio/ftello64.c (__ftello64): Assume EIO is defined.
33344 * libio/genops.c: Assume _LIBC is defined.
33345 (save_for_backup): Remove internal_function.
33346 * libio/getc.c: Assume weak_alias is defined.
33347 * libio/getwc.c: Likewise.
33348 * libio/iofclose.c: Assume _LIBC is defined.
33349 * libio/iofdopen.c: Likewise.
33350 (_IO_fcntl): Remove macro definition.
33351 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
33352 Call __fcntl directly.
33353 * libio/iofflush.c: Assume weak_alias is defined.
33354 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
33356 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
33357 * libio/iofgets.c: Likewise.
33358 * libio/iofopen.c: Assume _LIBC is defined.
33359 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
33360 * libio/iofputs.c: Assume weak_alias is defined.
33361 * libio/iofread.c: Likewise.
33362 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
33363 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
33364 * libio/ioftell.c: Assume weak_alias is defined.
33365 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
33366 * libio/iofwide.c: Assume _LIBC is defined.
33367 (_IO_fwide): Drop SHARED conditional because it is implied by
33369 * libio/iofwrite.c: Assume weak_alias is defined.
33370 * libio/iogetdelim.c: Likewise.
33371 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
33372 * libio/iogetwline.c (wmemcpy): Remove macro definition.
33373 (_IO_getwline): Call __wmemcpy directly.
33374 * libio/iopopen.c: Assume _LIBC is defined.
33375 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33376 (_IO_close): Remove macro definitions.
33377 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
33379 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
33381 * libio/ioputs.c: Assume weak_alias is defined.
33382 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
33383 * libio/iosetbuffer.c: Assume weak_alias is defined.
33384 * libio/iosetvbuf.c: Likewise.
33385 * libio/ioungetc.c: Likewise.
33386 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
33387 libc_hidden_def, libc_hidden_weak, NULL are defined.
33388 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
33389 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
33391 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33393 (_IO_old_file_init_internal): Drop SHARED conditional because it
33394 is implied by SHLIB_COMPAT.
33395 (_IO_old_file_fopen): Call __open directly.
33396 (_IO_old_file_sync): Assume ESPIPE is defined.
33397 (_IO_old_file_write): Call __write directly.
33398 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
33399 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
33400 Call __fcntl directly.
33401 * libio/oldiofgetpos.c: Assume weak_alias is defined.
33402 (_IO_old_fgetpos): Assume EIO is defined.
33403 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
33404 (_IO_old_fgetpos64): Assume EIO is defined.
33405 * libio/oldiofsetpos.c: Assume weak_alias is defined.
33406 (_IO_old_fsetpos): Assume EIO is defined.
33407 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
33408 (_IO_old_fsetpos64): Assume EIO is defined.
33409 * libio/oldiopopen.c: Assume _LIBC is defined.
33410 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33411 (_IO_close): Remove macro definitions.
33412 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
33414 (_IO_old_proc_close): Call __close, __waitpid directly.
33415 * libio/put.c: Assume weak_alias is defined.
33416 * libio/stdfiles.c: Assume _LIBC is defined.
33417 * libio/stdio.c: Likewise.
33418 * libio/wfileops.c: Likewise.
33419 (_IO_wfile_sync): Assume ESPIPE is defined.
33420 * libio/wgenops.c: Assume _LIBC is defined.
33421 (save_for_wbackup): Remove internal_function.
33423 2017-08-31 Florian Weimer <fweimer@redhat.com>
33425 * malloc/malloc.c (top_check): Change return type to void. Remove
33427 * malloc/hooks.c (top_check): Likewise.
33428 (malloc_check, realloc_check, memalign_check): Adjust.
33430 2017-08-30 Joseph Myers <joseph@codesourcery.com>
33433 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33434 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
33435 sigcontext and namespace requirements.
33436 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33437 * sysdeps/m68k/sys/ucontext.h: Likewise.
33438 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
33439 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
33440 <bits/sigcontext.h>.
33441 (__ctx): Define earlier.
33442 (mcontext_t): Define structure contents rather than using struct
33444 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
33445 __glibc_reserved1 instead of __reserved.
33446 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
33447 <bits/sigcontext.h>.
33448 (__ctx): Define earlier.
33449 (mcontext_t): Define structure contents rather than using struct
33451 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
33452 mcontext_t instead of struct sigcontext.
33453 * sysdeps/unix/sysv/linux/arm/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/hppa/sys/ucontext.h: Do not include
33459 <bits/sigcontext.h>.
33460 (__ctx): Define earlier.
33461 (mcontext_t): Define structure contents rather than using struct
33463 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
33464 mcontext_t instead of struct sigcontext.
33465 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
33466 mcontext_t instead of struct sigcontext.
33467 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
33468 <bits/sigcontext.h>.
33469 (__ctx): New macro.
33470 (struct __ia64_fpreg_mcontext): New type.
33471 (mcontext_t): Define structure contents rather than using struct
33473 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
33474 (uc_sigmask): Define using __ctx.
33475 (uc_stack): Likewise.
33476 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
33477 <bits/sigcontext.h>.
33478 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33479 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
33480 <bits/sigcontext.h>.
33481 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
33482 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
33483 <bits/sigcontext.h>.
33484 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
33485 <bits/sigcontext.h>.
33486 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
33487 <bits/sigcontext.h>.
33488 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
33489 <bits/sigcontext.h>.
33490 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
33491 <bits/sigcontext.h>.
33492 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
33493 <bits/sigcontext.h>.
33494 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
33495 <bits/sigcontext.h>.
33496 (__ctx): Define earlier.
33497 (mcontext_t): Define structure contents rather than using struct
33499 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
33500 <bits/sigcontext.h>. Include <bits/types.h>.
33501 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
33502 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
33503 (test-xfail-XPG42/ucontext.h/conform): Likewise.
33504 (test-xfail-UNIX98/signal.h/conform): Likewise.
33505 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33506 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33507 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33508 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33509 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33510 (test-xfail-POSIX2008/signal.h/conform): Likewise.
33511 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33512 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33513 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33515 2017-08-30 Florian Weimer <fweimer@redhat.com>
33517 * malloc/dynarray_emplace_enlarge.c
33518 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
33519 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
33520 * malloc/tst-dynarray.c (test_long_overflow): New function.
33521 (do_test): Call it.
33523 2017-08-30 Florian Weimer <fweimer@redhat.com>
33525 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
33526 (set_arena_corrupt): Remove definitions.
33527 (mtrim): Do not check for corrupt arena.
33528 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
33531 2017-08-30 Florian Weimer <fweimer@redhat.com>
33534 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
33536 (ptmalloc_init): Do not set or use check_action.
33537 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
33538 call to malloc_printerr. Remove return statement.
33539 (free_check): Likewise. Remove arena unlock.
33540 (top_check): Update comment. Adjust call to malloc_printerr.
33541 Remove heap repair code.
33542 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
33543 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
33544 (sysmalloc): Adjust call to malloc_printerr.
33545 (munmap_chunk, __libc_realloc): Likewise. Remove return
33547 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
33548 Remove errout label and corresponding gotos.
33549 (_int_free): Likewise. Remove arena unlock.
33550 (do_set_mallopt_check): Do not set check_action.
33551 (malloc_printerr): Adjust parameter list. Do not mark arena as
33553 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
33555 * manual/probes.texi (Memory Allocation Probes): Remove
33556 memory_mallopt_check_action.
33558 2017-08-30 Steve Ellcey <sellcey@cavium.com>
33560 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
33561 Use pointer to uint64_t instead of long int for sp.
33563 2017-08-30 Florian Weimer <fweimer@redhat.com>
33566 * malloc/malloc.c (malloc_printerr): Always terminate the process,
33567 without printing a backtrace. Do not leak any information in the
33569 * manual/memory.texi (Heap Consistency Checking): Update.
33570 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
33572 2017-08-30 Florian Weimer <fweimer@redhat.com>
33574 Do not scale NPTL tests with available number of CPUs.
33575 * nptl/tst-cond16.c (count): Set to constant value of 8.
33576 * nptl/tst-cond18.c (count): Likewise.
33578 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33581 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
33582 Define to take a second argument that is a macro that
33583 concatentates a suffix, not the suffix itself.
33584 (__CONCAT_d): New macro.
33585 (__CONCAT_f): Likewise.
33586 (__CONCAT_l): Likewise.
33588 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
33590 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
33593 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33594 Aurelien Jarno <aurelien@aurel32.net>
33595 Maciej W. Rozycki <macro@imgtec.com>
33598 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
33599 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
33600 `mips16-syscall6' and `mips16-syscall7'.
33601 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
33602 (CFLAGS-mips16-syscall7.c): Remove.
33603 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
33604 Remove `__mips16_syscall5', `__mips16_syscall6' and
33605 `__mips16_syscall7'.
33606 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
33607 (__mips16_syscall0): Rename `__mips16_syscall_return' to
33608 `__mips_syscall_return'.
33609 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
33610 (__mips16_syscall1): Likewise.
33611 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
33612 (__mips16_syscall2): Likewise.
33613 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
33614 (__mips16_syscall3): Likewise.
33615 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
33616 (__mips16_syscall4): Likewise.
33617 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
33619 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
33621 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
33623 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
33624 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
33625 `__mips16_syscall5'. Remove prototype.
33626 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
33627 `__mips16_syscall6'. Remove prototype.
33628 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
33629 `__mips16_syscall7'. Remove prototype.
33630 (__nomips16, __mips16_syscall_return): Move to...
33631 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
33632 (__nomips16, __mips_syscall_return): ... here.
33633 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
33634 `__mips16_syscall_return' to `__mips_syscall_return'.
33635 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
33636 `internal_syscall##nr'.
33637 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
33638 `internal_syscall##nr'.
33639 (FORCE_FRAME_POINTER): Remove.
33640 (__mips_syscall5): New prototype.
33641 (internal_syscall5): Rewrite to call `__mips_syscall5'.
33642 (__mips_syscall6): New prototype.
33643 (internal_syscall6): Rewrite to call `__mips_syscall6'.
33644 (__mips_syscall7): New prototype.
33645 (internal_syscall7): Rewrite to call `__mips_syscall7'.
33646 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
33647 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
33648 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
33649 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
33650 (sysdep_routines): Add libc-do-syscall.
33651 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
33652 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
33654 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33657 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
33658 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
33659 (advise_stack_range): New function.
33660 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
33661 stack non required to advise_stack_range at allocatestack.c
33663 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33665 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
33667 2017-08-29 Florian Weimer <fweimer@redhat.com>
33670 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
33671 __end_fct. Mangle __end_fct after setting it to NULL.
33672 * iconv/Makefile (tests): Add tst-gconv-init-failure.
33673 (modules-names, modules-names-tests): Add
33674 tst-gconv-init-failure-mod.
33675 (gconv-modules): New target.
33676 (tst-gconv-init-failure-mod.so): Link against libsupport.
33677 (tst-gconv-init-failure): Depend on gconv-modules,
33678 tst-gconv-init-failure-mod.so.
33679 * iconv/tst-gconv-init-failure-mod.c: New file.
33680 * iconv/tst-gconv-init-failure.c: Likewise.
33681 * iconv/test-gconv-modules: Likewise.
33683 2017-08-29 Florian Weimer <fweimer@redhat.com>
33686 * iconv/gconv_db.c (free_derivation): Remove redundant
33688 (gen_steps): Unconditionally mangle __btowc_fct after
33690 (increment_counter): Likewise. Do not call init_fct for internal
33693 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33696 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33697 (_MSUF_): Remove macro.
33698 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
33700 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33701 (__REDIRFROM_X): New macro.
33702 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
33704 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
33705 (__REDIRTO_X): Likewise.
33706 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
33708 (__MATH_REDIRCALL_2): Likewise.
33709 (__MATH_REDIRCALL_INTERNAL): Likewise.
33710 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33711 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
33712 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
33713 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33714 * math/test-finite-macros.c: New file.
33715 * math/Makefile (tests): Add test-finite-macros.
33716 (CFLAGS-test-finite-macros.c): New variable.
33718 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
33719 Jeff Law <law@redhat.com>
33722 Mangle NULL pointers in iconv/gconv.
33723 * iconv/gconv_cache.c (find_module): Demangle init_fct before
33724 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
33725 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
33726 is non-NULL before demangling the end_fct. Check for NULL
33727 end_fct after demangling.
33728 (__gconv_release_step): Demangle the end_fct before checking
33729 it for NULL. Remove assert on __shlibc_handle != NULL.
33730 (gen_steps): Don't check btowc_fct for NULL before mangling.
33731 Demangle init_fct before checking for NULL.
33732 (increment_counter): Likewise.
33733 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
33734 end_fct for NULL before mangling.
33735 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
33738 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
33741 * locale/iso-639.def: add Morisyen.
33743 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33746 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
33747 (iszero): New C++ implementation that does not use
33748 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
33749 signaling nans are enabled, since __builtin_types_compatible_p
33750 is a C-only feature.
33751 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
33752 defined, include ieee754_float128.h for access to the union and
33753 member ieee854_float128.ieee.
33754 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
33755 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
33756 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33757 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
33758 options of test-math-zero on powerpc64le.
33760 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
33762 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
33763 Change double to float.
33765 2017-08-28 Joseph Myers <joseph@codesourcery.com>
33767 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
33769 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
33770 conditional code; define contents only for [LIBM_SVID_COMPAT].
33772 2017-08-28 Florian Weimer <fweimer@redhat.com>
33774 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
33775 (abi-lp64_be-options): Remove.
33776 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
33777 (abi-hard-options): Likewise.
33778 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
33779 (abi-o32_hard-options, abi-o32_soft_2008-options)
33780 (abi-o32_hard_2008-options, abi-n32_soft-options)
33781 (abi-n32_hard-options, abi-n32_soft_2008-options)
33782 (abi-n32_hard_2008-options, abi-n64_soft-options)
33783 (abi-n64_hard-options, abi-n64_soft_2008-options)
33784 (abi-n64_hard_2008-options): Likewise.
33785 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
33786 (abi-64-v1-options, abi-64-v2-options): Likewise.
33787 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
33788 (abi-64-options): Likewise.
33789 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
33790 (abi-64-options): Likewise.
33791 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
33792 (abi-64-options): Likewise.
33793 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
33794 (abi-64-options, abi-x32-options): Likewise.
33796 2017-08-28 Florian Weimer <fweimer@redhat.com>
33798 Store supported list of SYS_* system calls in the source tree.
33799 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
33800 (bits/syscall.h): Generate from list file.
33801 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
33802 [$(subdir) = misc] (tests): Add tst-syscall-list.
33803 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
33804 [$(subdir) = misc] (tst-syscall-list-macros.list)
33805 [$(subdir) = misc] (tst-syscall-list-nr.list)
33806 (tst-syscall-list-sys.list): Helper targets for new
33807 tst-syscall-list test.
33808 [$(subdir) = misc] (tst-syscall-list.out): Run test script
33809 tst-syscall-list.sh.
33810 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
33811 target. Do not include bits/syscall.d.
33812 [$(subdir) = misc] (generated): Do not update.
33813 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
33814 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
33815 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
33816 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
33818 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
33820 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
33821 (tst-cxa_atexit, tst-on_exit): Likewise.
33822 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
33823 tst-cxa_atexit, and tst-on_exit.
33824 * stdlib/tst-atexit-common.c: New file.
33825 * stdlib/tst-atexit.c: New file.
33826 * stdlib/tst-at_quick_exit.c: New file.
33827 * stdlib/tst-cxa_atexit.c: New file.
33828 * stdlib/tst-on_exit.c: New file.
33830 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33832 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
33833 * mach/stack_chk_fail_local.c: New file.
33834 * hurd/stack_chk_fail_local.c: New file.
33835 * mach/Machrules ($(interface-library)-routines): Add
33836 stack_chk_fail_local.
33837 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
33838 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
33839 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
33840 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
33841 * hurd/Makefile (CFLAGS-hurdstartup.o,
33842 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
33844 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
33846 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33847 (index_cpu_*, index_arch_*): Removed.
33849 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33851 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
33852 Use uint64_t instead of unsigned long.
33854 2017-08-25 Joseph Myers <joseph@codesourcery.com>
33856 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
33857 [__HAVE_DISTINCT_FLOAT128].
33859 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
33860 of <bits/math-finite.h>.
33861 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
33862 inclusion of <bits/math-finite.h>.
33863 * math/bits/math-finite.h (__REDIRTO_X): Do not define
33864 conditionally on [__MATH_DECLARING_LDOUBLE && defined
33865 __NO_LONG_DOUBLE_MATH].
33866 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
33867 (__MATH_REDIRCALL_2): Likewise.
33868 (__MATH_REDIRCALL_INTERNAL): Likewise.
33869 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33870 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
33871 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
33875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
33877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
33879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
33881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
33883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
33885 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33886 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33887 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33888 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
33890 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
33891 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
33892 w_sqrtf_compat-ppc32.
33894 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33896 * math/math.h [defined __cplusplus] (issignaling): In the long
33897 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
33898 is not defined. Call __issignaling, otherwise.
33900 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33902 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
33903 syscall definitions and replace __builtin_expect with __glibc_likely.
33904 * sysdeps/unix/syscall-template.S: Update comment about cancellable
33906 (SYSCALL_CANCELLABLE): Removedefinition
33907 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
33909 (PSEUDO_END): Likewise.
33910 [IS_IN (libpthread)] (CENABLE): Likewise.
33911 [IS_IN (libpthread)] (CDISABLE): Likewise.
33912 [IS_IN (libc)] (CENABLE): Likewise.
33913 [IS_IN (libc)] (CENABLE): Likewise.
33914 [IS_IN (librt)] (CDISABLE): Likewise.
33915 [IS_IN (librt)] (CDISABLE): Likewise.
33916 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33917 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
33919 (PSEUDO_END): Likewise.
33920 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
33921 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
33922 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33923 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33924 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33925 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33926 (CENABLE): Likewise.
33927 (CDISABLE): Likewise.
33928 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33929 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
33931 (PSEUDO_END): Likewise.
33932 [IS_IN (libpthread)] (CENABLE): Likewise.
33933 [IS_IN (libpthread)] (CDISABLE): Likewise.
33934 [IS_IN (libc)] (CENABLE): Likewise.
33935 [IS_IN (libc)] (CENABLE): Likewise.
33936 [IS_IN (librt)] (CDISABLE): Likewise.
33937 [IS_IN (librt)] (CDISABLE): Likewise.
33938 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33939 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
33941 (PSEUDO_END): Likewise.
33942 [IS_IN (libpthread)] (CENABLE): Likewise.
33943 [IS_IN (libpthread)] (CDISABLE): Likewise.
33944 [IS_IN (libc)] (CENABLE): Likewise.
33945 [IS_IN (libc)] (CENABLE): Likewise.
33946 [IS_IN (librt)] (CDISABLE): Likewise.
33947 [IS_IN (librt)] (CDISABLE): Likewise.
33948 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33949 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
33951 (PSEUDO_END): Likewise.
33952 [IS_IN (libpthread)] (CENABLE): Likewise.
33953 [IS_IN (libpthread)] (CDISABLE): Likewise.
33954 [IS_IN (libc)] (CENABLE): Likewise.
33955 [IS_IN (libc)] (CENABLE): Likewise.
33956 [IS_IN (librt)] (CDISABLE): Likewise.
33957 [IS_IN (librt)] (CDISABLE): Likewise.
33958 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33959 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
33961 (PSEUDO_END): Likewise.
33962 [IS_IN (libpthread)] (CENABLE): Likewise.
33963 [IS_IN (libpthread)] (CDISABLE): Likewise.
33964 [IS_IN (libc)] (CENABLE): Likewise.
33965 [IS_IN (libc)] (CENABLE): Likewise.
33966 [IS_IN (librt)] (CDISABLE): Likewise.
33967 [IS_IN (librt)] (CDISABLE): Likewise.
33968 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33969 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
33971 (PSEUDO_END): Likewise.
33972 [IS_IN (libpthread)] (CENABLE): Likewise.
33973 [IS_IN (libpthread)] (CDISABLE): Likewise.
33974 [IS_IN (libc)] (CENABLE): Likewise.
33975 [IS_IN (libc)] (CENABLE): Likewise.
33976 [IS_IN (librt)] (CDISABLE): Likewise.
33977 [IS_IN (librt)] (CDISABLE): Likewise.
33978 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33979 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
33981 (PSEUDO_END): Likewise.
33982 [IS_IN (libpthread)] (CENABLE): Likewise.
33983 [IS_IN (libpthread)] (CDISABLE): Likewise.
33984 [IS_IN (libc)] (CENABLE): Likewise.
33985 [IS_IN (libc)] (CENABLE): Likewise.
33986 [IS_IN (librt)] (CDISABLE): Likewise.
33987 [IS_IN (librt)] (CDISABLE): Likewise.
33988 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33989 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
33991 (PSEUDO_END): Likewise.
33992 [IS_IN (libpthread)] (CENABLE): Likewise.
33993 [IS_IN (libpthread)] (CDISABLE): Likewise.
33994 [IS_IN (libc)] (CENABLE): Likewise.
33995 [IS_IN (libc)] (CENABLE): Likewise.
33996 [IS_IN (librt)] (CDISABLE): Likewise.
33997 [IS_IN (librt)] (CDISABLE): Likewise.
33998 (SINGLE_THREAD_P): Likewise.
33999 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
34001 (PSEUDO_END): Likewise.
34002 [IS_IN (libpthread)] (CENABLE): Likewise.
34003 [IS_IN (libpthread)] (CDISABLE): Likewise.
34004 [IS_IN (libc)] (CENABLE): Likewise.
34005 [IS_IN (libc)] (CENABLE): Likewise.
34006 [IS_IN (librt)] (CDISABLE): Likewise.
34007 [IS_IN (librt)] (CDISABLE): Likewise.
34008 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34009 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
34011 (PSEUDO_END): Likewise.
34012 [IS_IN (libpthread)] (CENABLE): Likewise.
34013 [IS_IN (libpthread)] (CDISABLE): Likewise.
34014 [IS_IN (libc)] (CENABLE): Likewise.
34015 [IS_IN (libc)] (CENABLE): Likewise.
34016 [IS_IN (librt)] (CDISABLE): Likewise.
34017 [IS_IN (librt)] (CDISABLE): Likewise.
34018 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34019 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
34020 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34021 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
34022 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
34024 (PSEUDO_END): Likewise.
34025 [IS_IN (libpthread)] (CENABLE): Likewise.
34026 [IS_IN (libpthread)] (CDISABLE): Likewise.
34027 [IS_IN (libc)] (CENABLE): Likewise.
34028 [IS_IN (libc)] (CENABLE): Likewise.
34029 [IS_IN (librt)] (CDISABLE): Likewise.
34030 [IS_IN (librt)] (CDISABLE): Likewise.
34031 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34032 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
34034 (PSEUDO_END): Likewise.
34035 [IS_IN (libpthread)] (CENABLE): Likewise.
34036 [IS_IN (libpthread)] (CDISABLE): Likewise.
34037 [IS_IN (libc)] (CENABLE): Likewise.
34038 [IS_IN (libc)] (CENABLE): Likewise.
34039 [IS_IN (librt)] (CDISABLE): Likewise.
34040 [IS_IN (librt)] (CDISABLE): Likewise.
34041 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34042 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
34044 (PSEUDO_END): Likewise.
34045 [IS_IN (libpthread)] (CENABLE): Likewise.
34046 [IS_IN (libpthread)] (CDISABLE): Likewise.
34047 [IS_IN (libc)] (CENABLE): Likewise.
34048 [IS_IN (libc)] (CENABLE): Likewise.
34049 [IS_IN (librt)] (CDISABLE): Likewise.
34050 [IS_IN (librt)] (CDISABLE): Likewise.
34051 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34052 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
34053 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34054 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
34055 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
34057 (PSEUDO_END): Likewise.
34058 [IS_IN (libpthread)] (CENABLE): Likewise.
34059 [IS_IN (libpthread)] (CDISABLE): Likewise.
34060 [IS_IN (libc)] (CENABLE): Likewise.
34061 [IS_IN (libc)] (CENABLE): Likewise.
34062 [IS_IN (librt)] (CDISABLE): Likewise.
34063 [IS_IN (librt)] (CDISABLE): Likewise.
34064 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34065 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
34067 (PSEUDO_END): Likewise.
34068 [IS_IN (libpthread)] (CENABLE): Likewise.
34069 [IS_IN (libpthread)] (CDISABLE): Likewise.
34070 [IS_IN (libc)] (CENABLE): Likewise.
34071 [IS_IN (libc)] (CENABLE): Likewise.
34072 [IS_IN (librt)] (CDISABLE): Likewise.
34073 [IS_IN (librt)] (CDISABLE): Likewise.
34074 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34076 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
34078 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
34080 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34082 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34084 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34087 * string/stratcliff.c (do_test): Declare size, nchars, inner,
34088 middle and outer with size_t instead of int. Repleace %d and
34089 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
34090 "MAX (outer, nchars - 64)" to support unsigned outer and
34091 nchars. Also exit loop when outer == 0.
34093 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34095 * include/fcntl.h (__fcntl_nocancel): Remove definition.
34096 * include/signal.h (__sigsuspend_nocancel): Likewise.
34097 * include/time.h (__nanosleep_nocancel): Likewise.
34098 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
34099 * login/utmp_file.c: Include non cancellable syscall header.
34100 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
34103 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34105 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
34106 .byte sequences with AVX512F instructions.
34107 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
34108 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
34109 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
34110 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
34112 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
34115 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
34116 Steve Ellcey <sellcey@cavium.com>
34118 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
34119 Use PTR_REG macro in cmp instruction.
34121 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34123 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
34124 Change the return type of the ifunc resolver to match the return
34125 type of the target function.
34127 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34129 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
34130 (preadv64): Likewise.
34131 (pwrite64(: Likewise.
34132 (pwritev64): Likewise.
34134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34135 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
34136 (LOAD_ARGS_0): Likewise.
34137 (LOAD_ARGS_1): Likewise.
34138 (LOAD_ARGS_2): Likewise.
34139 (LOAD_ARGS_3): Likewise.
34140 (LOAD_ARGS_4): Likewise.
34141 (LOAD_ARGS_5): Likewise.
34142 (LOAD_ARGS_6): Likewise.
34143 (LOAD_REGS_0): Likewise.
34144 (LOAD_REGS_1): Likewise.
34145 (LOAD_REGS_2): Likewise.
34146 (LOAD_REGS_3): Likewise.
34147 (LOAD_REGS_4): Likewise.
34148 (LOAD_REGS_5): Likewise.
34149 (LOAD_REGS_6): Likewise.
34150 (ASM_ARGS_0): Likewise.
34151 (ASM_ARGS_1): Likewise.
34152 (ASM_ARGS_2): Likewise.
34153 (ASM_ARGS_3): Likewise.
34154 (ASM_ARGS_4): Likewise.
34155 (ASM_ARGS_5): Likewise.
34156 (ASM_ARGS_6): Likewise.
34157 (LOAD_ARGS_TYPES_1): Likewise.
34158 (LOAD_ARGS_TYPES_2): Likewise.
34159 (LOAD_ARGS_TYPES_3): Likewise.
34160 (LOAD_ARGS_TYPES_4): Likewise.
34161 (LOAD_ARGS_TYPES_5): Likewise.
34162 (LOAD_ARGS_TYPES_6): Likewise.
34163 (LOAD_REGS_TYPES_1): Likewise.
34164 (LOAD_REGS_TYPES_2): Likewise.
34165 (LOAD_REGS_TYPES_3): Likewise.
34166 (LOAD_REGS_TYPES_4): Likewise.
34167 (LOAD_REGS_TYPES_5): Likewise.
34168 (LOAD_REGS_TYPES_6): Likewise.
34169 (TYPEFY): New define.
34170 (ARGIFY): Likewise.
34171 (internal_syscall0): Likewise.
34172 (internal_syscall1): Likewise.
34173 (internal_syscall2): Likewise.
34174 (internal_syscall3): Likewise.
34175 (internal_syscall4): Likewise.
34176 (internal_syscall5): Likewise.
34177 (internal_syscall6): Likewise.
34178 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
34179 (INTERNAL_SYSCALL_NCS): Remove define.
34180 (internal_syscall1): Add define.
34182 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34184 * math/w_remainder_compat.c: Remove duplicate inclusion of
34185 math-svid-compat.h.
34186 * math/w_remainderf_compat.c: Likewise.
34187 * math/w_remainderl_compat.c: Likewise.
34189 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34193 2017-08-22 Joseph Myers <joseph@codesourcery.com>
34196 * math/tgmath.h (__floating_type): Simplify definitions.
34197 (__real_integer_type): New macro.
34198 (__complex_integer_type): Likewise.
34199 (__expr_is_real): Likewise.
34200 (__tgmath_real_type_sub): Update comment to describe handling of
34202 (__tgmath_complex_type_sub): New macro.
34203 (__tgmath_complex_type): Likewise.
34204 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34205 (__TGMATH_CF128): Use __expr_is_real.
34206 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
34208 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34209 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
34210 * math/gen-tgmath-tests.py (Type.create_type): Create complex
34213 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34215 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
34217 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
34219 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
34222 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
34223 nanosleep_not_cancel with __nanosleep_nocancel.
34224 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
34225 (__nanosleep_nocancel): New macro.
34226 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
34228 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
34230 (__nanosleep_nocancel): New prototype.
34232 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
34233 pause_not_cancel with __pause_nocancel.
34234 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
34235 (__pause_nocancel): New macro.
34236 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
34238 (__pause_nocancel): New prototype.
34239 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
34241 2017-08-22 Martin Sebor <msebor@redhat.com>
34243 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
34244 to return a pointer to the same type as the target function.
34246 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34250 * include/printf.h (__printf_fphex): Add attribute_hidden.
34251 (__guess_grouping): New prototype.
34252 * stdio-common/printf_fp.c (__guess_grouping): Removed.
34253 * stdio-common/reg-printf.c (__register_printf_specifier): Add
34254 libc_hidden_proto and libc_hidden_def.
34255 * stdlib/strfmon_l.c (__guess_grouping): Removed.
34256 (__vstrfmon_l): Remove the third argument passed to
34259 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34261 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
34262 definition for issignaling that does not rely on __MATH_TG,
34263 since __MATH_TG uses __builtin_types_compatible_p, which is only
34264 available in C mode.
34265 (CFLAGS-test-math-issignaling.cc): New variable.
34266 * math/Makefile [CXX] (tests): Add test-math-issignaling.
34267 * math/test-math-issignaling.cc: New test for C++ implementation
34268 of type-generic issignaling.
34269 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34270 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
34271 options of test-math-issignaling on powerpc64le.
34273 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34275 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34277 (hidden_proto): Likewise.
34278 (hidden_tls_proto): Likewise.
34279 (__hidden_proto): Likewise.
34281 2017-08-22 Florian Weimer <fweimer@redhat.com>
34283 math: Statically link tests of internal functionality.
34284 * math/Makefile (tests): Remove atest-exp, atest-sincos,
34286 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
34287 (gmp-objs): Remove assignment.
34288 (atest-exp, atest-sincos, atest-exp2): Remove targets.
34290 2017-08-22 Joseph Myers <joseph@codesourcery.com>
34293 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
34295 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
34297 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
34300 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
34301 variable definitions above inclusion of ../Rules.
34303 2017-08-21 Joseph Myers <joseph@codesourcery.com>
34305 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
34306 case calling __builtin_unreachable.
34308 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34310 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
34311 __waitpid_nocancel.
34312 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
34313 (__waitpid_nocancel): New macro.
34314 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
34316 (__waitpid_nocancel): Replace macro with a function.
34317 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
34320 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
34322 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
34323 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
34325 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
34326 __writev_nocancel_nostatus.
34327 (write_call_graph): Likewise.
34328 (write_bb_counts): Likewise.
34329 * resolv/herror.c (herror): Likewise.
34330 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
34332 (__writev_nocancel_nostatus): New macro.
34333 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
34335 (__writev_nocancel_nostatus): New function.
34337 2017-08-21 Joseph Myers <joseph@codesourcery.com>
34340 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34342 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34344 (hidden_proto): Likewise.
34345 (hidden_tls_proto): Likewise.
34346 (__hidden_proto): Likewise.
34349 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
34350 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
34355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
34359 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
34360 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34361 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34362 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34363 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
34364 GLIBC_2.0 sqrtl symbol.
34366 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
34367 [__USE_MISC] (_LIB_VERSION): Likewise.
34368 [__USE_MISC] (struct exception): Likewise.
34369 [__USE_MISC] (matherr): Likewise.
34370 [__USE_MISC] (DOMAIN): Likewise.
34371 [__USE_MISC] (SING): Likewise.
34372 [__USE_MISC] (OVERFLOW): Likewise.
34373 [__USE_MISC] (UNDERFLOW): Likewise.
34374 [__USE_MISC] (TLOSS): Likewise.
34375 [__USE_MISC] (PLOSS): Likewise.
34376 [__USE_MISC] (HUGE): Likewise.
34377 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
34378 * math/math-svid-compat.h: New file.
34379 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
34381 * include/math.h [!_ISOMAC] (__matherr): Remove.
34382 * manual/arith.texi (FP Exceptions): Do not document matherr.
34383 * math/Makefile (tests): Change test-matherr to test-matherr-3.
34384 (tests-internal): New variable.
34385 (install-lib): Do not add libieee.a.
34386 (non-lib.a): Likewise.
34387 (extra-objs): Do not add libieee.a and ieee-math.o.
34388 (CPPFLAGS-s_lib_version.c): Remove variable.
34389 ($(objpfx)libieee.a): Remove rule.
34390 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
34391 * math/ieee-math.c: Remove.
34392 * math/libm-test-support.c (matherr): Remove.
34393 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
34394 and license notices. Include <math-svid-compat.h> and
34396 (matherr): Undefine as macro. Use compat_symbol_reference.
34397 (_LIB_VERSION): Likewise.
34398 * math/test-matherr-2.c: New file.
34399 * math/test-matherr-3.c: Likewise.
34400 * sysdeps/generic/math_private.h (__kernel_standard): Remove
34402 (__kernel_standard_f): Likewise.
34403 (__kernel_standard_l): Likewise.
34404 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
34405 <math_private.h>. Include <math-svid-compat.h>.
34406 (_LIB_VERSION): Undefine as macro.
34407 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
34408 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
34409 [LIBM_SVID_COMPAT], use compat_symbol.
34410 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
34411 <math_private.h>. Include <math-svid-compat.h>.
34412 (matherr): Undefine as macro.
34413 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
34415 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
34416 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
34417 compat_symbol_reference.
34418 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
34419 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
34420 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
34421 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
34422 (MATHERR_D): Remove declaration.
34423 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
34424 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
34425 [LIBM_BUILD] (pmatherrf): Likewise.
34426 [LIBM_BUILD] (pmatherr): Likewise.
34427 [LIBM_BUILD] (pmatherrl): Likewise.
34428 (DOMAIN): Likewise.
34430 (OVERFLOW): Likewise.
34431 (UNDERFLOW): Likewise.
34434 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
34435 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
34437 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
34438 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
34440 * math/lgamma-compat.h: Include <math-svid-compat.h>.
34441 * math/w_acos_compat.c: Likewise.
34442 * math/w_acosf_compat.c: Likewise.
34443 * math/w_acosh_compat.c: Likewise.
34444 * math/w_acoshf_compat.c: Likewise.
34445 * math/w_acoshl_compat.c: Likewise.
34446 * math/w_acosl_compat.c: Likewise.
34447 * math/w_asin_compat.c: Likewise.
34448 * math/w_asinf_compat.c: Likewise.
34449 * math/w_asinl_compat.c: Likewise.
34450 * math/w_atan2_compat.c: Likewise.
34451 * math/w_atan2f_compat.c: Likewise.
34452 * math/w_atan2l_compat.c: Likewise.
34453 * math/w_atanh_compat.c: Likewise.
34454 * math/w_atanhf_compat.c: Likewise.
34455 * math/w_atanhl_compat.c: Likewise.
34456 * math/w_cosh_compat.c: Likewise.
34457 * math/w_coshf_compat.c: Likewise.
34458 * math/w_coshl_compat.c: Likewise.
34459 * math/w_exp10_compat.c: Likewise.
34460 * math/w_exp10f_compat.c: Likewise.
34461 * math/w_exp10l_compat.c: Likewise.
34462 * math/w_exp2_compat.c: Likewise.
34463 * math/w_exp2f_compat.c: Likewise.
34464 * math/w_exp2l_compat.c: Likewise.
34465 * math/w_fmod_compat.c: Likewise.
34466 * math/w_fmodf_compat.c: Likewise.
34467 * math/w_fmodl_compat.c: Likewise.
34468 * math/w_hypot_compat.c: Likewise.
34469 * math/w_hypotf_compat.c: Likewise.
34470 * math/w_hypotl_compat.c: Likewise.
34471 * math/w_j0_compat.c: Likewise.
34472 * math/w_j0f_compat.c: Likewise.
34473 * math/w_j0l_compat.c: Likewise.
34474 * math/w_j1_compat.c: Likewise.
34475 * math/w_j1f_compat.c: Likewise.
34476 * math/w_j1l_compat.c: Likewise.
34477 * math/w_jn_compat.c: Likewise.
34478 * math/w_jnf_compat.c: Likewise.
34479 * math/w_jnl_compat.c: Likewise.
34480 * math/w_lgamma_main.c: Likewise.
34481 * math/w_lgamma_r_compat.c: Likewise.
34482 * math/w_lgammaf_main.c: Likewise.
34483 * math/w_lgammaf_r_compat.c: Likewise.
34484 * math/w_lgammal_main.c: Likewise.
34485 * math/w_lgammal_r_compat.c: Likewise.
34486 * math/w_log10_compat.c: Likewise.
34487 * math/w_log10f_compat.c: Likewise.
34488 * math/w_log10l_compat.c: Likewise.
34489 * math/w_log2_compat.c: Likewise.
34490 * math/w_log2f_compat.c: Likewise.
34491 * math/w_log2l_compat.c: Likewise.
34492 * math/w_log_compat.c: Likewise.
34493 * math/w_logf_compat.c: Likewise.
34494 * math/w_logl_compat.c: Likewise.
34495 * math/w_pow_compat.c: Likewise.
34496 * math/w_powf_compat.c: Likewise.
34497 * math/w_powl_compat.c: Likewise.
34498 * math/w_remainder_compat.c: Likewise.
34499 * math/w_remainderf_compat.c: Likewise.
34500 * math/w_remainderl_compat.c: Likewise.
34501 * math/w_scalb_compat.c: Likewise.
34502 * math/w_scalbf_compat.c: Likewise.
34503 * math/w_scalbl_compat.c: Likewise.
34504 * math/w_sinh_compat.c: Likewise.
34505 * math/w_sinhf_compat.c: Likewise.
34506 * math/w_sinhl_compat.c: Likewise.
34507 * math/w_sqrt_compat.c: Likewise.
34508 * math/w_sqrtf_compat.c: Likewise.
34509 * math/w_sqrtl_compat.c: Likewise.
34510 * math/w_tgamma_compat.c: Likewise.
34511 * math/w_tgammaf_compat.c: Likewise.
34512 * math/w_tgammal_compat.c: Likewise.
34513 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
34514 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34515 * sysdeps/ieee754/k_standard.c: Likewise.
34516 * sysdeps/ieee754/k_standardf.c: Likewise.
34517 * sysdeps/ieee754/k_standardl.c: Likewise.
34518 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34519 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34520 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34521 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34522 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34523 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34524 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34525 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
34526 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34531 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
34532 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34533 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34534 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34536 2017-08-21 Florian Weimer <fweimer@redhat.com>
34539 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
34540 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
34541 Move before inclusion of ../Rules.
34543 2017-08-21 Florian Weimer <fweimer@redhat.com>
34546 * assert/assert.h (assert): Use static_cast (bool) for C++.
34547 Use the ternary operator in the warning branch for GNU C.
34548 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
34549 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
34550 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
34551 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
34552 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
34554 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34557 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34558 (__syscall_clock_gettime): Add attribute_hidden.
34559 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
34560 (__start_context): Likewise.
34562 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34564 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34566 (hidden_proto): Likewise.
34567 (hidden_tls_proto): Likewise.
34568 (__hidden_proto): Likewise.
34570 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34572 * include/libc-symbols.h (attribute_hidden): Enable hidden
34573 visibility in libc.a compiled with PIE.
34575 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34578 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
34579 Add attribute_hidden.
34581 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34584 * Makerules (all-nonlib): Add $(others-extras).
34585 * catgets/Makefile (others-extras): New.
34586 * elf/Makefile (others-extras): Likewise.
34587 * nss/Makefile (others-extras): Likewise.
34589 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34592 * csu/libc-start.c (__libc_multiple_libcs): Removed.
34593 * elf/dl-open.c: Include <libc-internal.h>.
34594 (__libc_multiple_libcs): Removed.
34595 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
34597 * include/libc-internal.h (__libc_multiple_libcs): New.
34598 * misc/sbrk.c: Include <libc-internal.h>.
34599 (__libc_multiple_libcs): Removed.
34601 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34604 * grp/initgroups.c (__nss_group_database): Removed.
34605 (__nss_initgroups_database): Likewise.
34606 * nscd/gai.c (__nss_hosts_database): Likewise.
34607 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
34608 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
34609 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
34610 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
34611 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
34612 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
34614 * nss/nsswitch.c (__nss_database_custom): Define only if
34615 USE_NSCD is defined.
34616 (__nss_configure_lookup): Use __nss_database_custom only if
34617 USE_NSCD is defined.
34618 * nss/nsswitch.h (__nss_database_custom): Declare only if
34619 USE_NSCD is defined. Add attribute_hidden.
34620 (__nss_setent): Add attribute_hidden.
34621 (__nss_endent): Likewise.
34622 (__nss_getent_r): Likewise.
34623 (__nss_getent): Likewise.
34624 (DEFINE_DATABASE): Declare __nss_##arg##_database.
34626 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34629 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
34630 libc_hidden_proto and libc_hidden_def.
34632 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34635 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
34636 Add libc_hidden_proto.
34637 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
34638 Add libc_hidden_def.
34640 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34643 * gmon/Makefile (routines): Remove bb_init_func and
34645 (elide-routines.os): Removed.
34646 * gmon/bb_exit_func.c: Likewise.
34647 * gmon/bb_init_func.c: Likewise.
34648 * include/sys/gmon.h (__bb): Likewise.
34649 (__bb_init_func): Likewise.
34650 (__bb_exit_func): Likewise.
34651 * sysdeps/alpha/bb_init_func.S: Likewise.
34653 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34655 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
34656 * include/setjmp.h (____longjmp_chk): Here. Add
34659 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
34662 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
34664 (__strspn_sse2): Likewise.
34666 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34668 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
34669 (close_not_cancel_no_status): Likewise.
34670 (__close_nocancel): New macro.
34671 (__close_nocancel_nostatus): Likewise.
34672 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
34674 (close_not_cancel): Likewise.
34675 (close_not_cancel_no_status): Likewise.
34676 (__close_nocancel): New prototype.
34677 (__close_nocancel_nostatus): New function.
34678 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
34679 * catgets/open_catalog.c (__open_catalog): Replace
34680 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
34681 * gmon/gmon.c (write_gmon): Likewise.
34682 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34683 * intl/loadmsgcat.c (close): Likewise.
34684 * io/ftw.c (open_dir_stream): Likewise.
34685 (ftw_startup): Likewise.
34686 * libio/fileops.c (_IO_file_open): Likewise.
34687 (_IO_file_close_mmap): Likewise.
34688 (_IO_file_close): Likewise.
34689 * libio/iopopen.c (_IO_dup2): Likewise.
34690 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34691 * locale/loadlocale.c (_nl_load_locale): Likewise.
34692 * login/utmp_file.c (pututline_file): Likewise.
34693 (endutent_file): Likewise.
34694 * misc/daemon.c (daemon): Likewise.
34695 * nscd/nscd_getai.c (__nscd_getai): Likewise.
34696 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34697 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34698 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34699 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34700 * nscd/nscd_helper.c (open_socket): Likewise.
34701 (__nscd_open_socket): Likewise.
34702 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34703 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
34704 (__nscd_innetgr): Likewise.
34705 * nss/nss_db/db-open.c (internal_setent): Likewise.
34706 * resolv/res-close.c (__res_iclose): Likewise.
34707 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
34708 * sysdeps/posix/closedir.c (__closedir): Likewise.
34709 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
34710 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34711 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34712 (opendir_tail): Likewise.
34713 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34714 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
34715 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34716 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34717 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34718 (gethostid): Likewise.
34719 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34720 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34722 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34723 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
34724 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34725 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34727 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
34728 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
34729 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34731 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
34732 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34734 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34736 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34737 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34738 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34741 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
34742 (openat_not_cancel_3): Likewise.
34743 (openat64_not_cancel_3): Likewise).
34744 (openat_not_cancel_3): Likewise).
34745 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
34747 (openat_not_cancel_3): Likewise.
34748 (openat64_not_cancel): Likewise.
34749 (openat64_not_cancel_3): Likewise.
34750 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
34751 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
34752 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
34753 __open{64}_nocancel.
34754 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34755 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34756 * sysdeps/posix/opendir.c (__opendirat): Likewise.
34758 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34761 * include/argz.h (__argz_create_sep): New function prototype.
34762 (__argz_append): Likewise.
34763 (__argz_add): Likewise.
34764 (__argz_add_sep): Likewise.
34765 (__argz_delete): Likewise.
34766 (__argz_insert): Likewise.
34767 (__argz_replace): Likewise.
34768 * string/argz.h (__argz_create_sep): Removed.
34769 (__argz_append): Likewise.
34770 (__argz_add): Likewise.
34771 (__argz_add_sep): Likewise.
34772 (__argz_delete): Likewise.
34773 (__argz_insert): Likewise.
34774 (__argz_replace): Likewise.
34776 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34778 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
34779 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
34780 (GNU_PROPERTY_STACK_SIZE): Likewie.
34781 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
34782 (GNU_PROPERTY_LOPROC): Likewise.
34783 (GNU_PROPERTY_HIPROC): Likewise.
34784 (GNU_PROPERTY_LOUSER): Likewise.
34785 (GNU_PROPERTY_HIUSER): Likewise.
34786 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
34787 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
34788 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
34789 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
34790 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
34791 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
34792 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
34793 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
34794 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
34795 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
34796 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
34797 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
34798 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
34799 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
34800 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
34801 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
34802 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
34803 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
34804 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
34805 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
34806 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
34807 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
34808 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
34810 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34812 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
34815 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34818 * math/math.h (isinf): Check if in C or C++ mode before using
34819 __builtin_types_compatible_p, since this is a C mode feature.
34821 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34823 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
34824 (__write_nocancel): New macro.
34825 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
34826 Rewrite as a function prototype.
34827 (write_not_cancel): Remove macro.
34828 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
34829 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
34830 (write_gmon): Likewise.
34831 * libio/fileops.c (_IO_new_file_write): Likewise.
34832 * login/utmp_file.c (pututline_file): Likewise.
34833 (updwtmp_file): Likewise.
34834 * stdio-common/psiginfo.c (psiginfo): Likewise.
34835 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34836 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34837 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34839 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34842 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
34843 (__read_nocancel): New macro.
34844 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34846 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
34848 (__read_nocancel): New prototype.
34849 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
34850 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
34851 with __read_nocancel.
34852 * intl/loadmsgcat.c (read): Likewise.
34853 * libio/fileops.c (_IO_file_read): Likewise.
34854 * locale/loadlocale.c (_nl_load_locale): Likewise.
34855 * login/utmp_file.c (getutent_r_file): Likewise.
34856 (internal_getut_r): Likewise.
34857 (getutline_r_file): Likewise.
34858 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34859 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34860 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34861 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34863 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
34864 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34865 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34867 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34869 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34871 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34873 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34875 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34878 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
34879 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
34882 2017-08-17 DJ Delorie <dj@redhat.com>
34884 * bug17079.c: Update to new test harness.
34885 * test-digits-dots.c: Likewise.
34886 * test-netdb.c: Likewise.
34887 * tst-field.c: Likewise.
34888 * tst-nss-getpwent.c: Likewise.
34889 * tst-nss-static.c: Likewise.
34890 * tst-nss-test1.c: Likewise.
34891 * tst-nss-test2.c: Likewise.
34892 * tst-nss-test3.c: Likewise.
34893 * tst-nss-test4.c: Likewise.
34894 * tst-nss-test5.c: Likewise.
34896 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34898 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
34899 (open_not_cancel_2): Likewise.
34900 (open_nocancel): New macro.
34901 (open64_nocancel): Likewise.
34902 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
34903 (open_not_cancel_2): Likewise.
34904 (__open_nocancel): New prototype.
34905 (__open64_nocancel): Likewise.
34906 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34908 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
34909 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
34910 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
34911 with __open_nocancel.
34912 * csu/check_fds.c (check_one_fd): Likewise.
34913 * gmon/gmon.c (write_gmon): Likewise.
34914 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
34915 * intl/loadmsgcat.c (open): Likewise.
34916 * libio/fileops.c (_IO_file_open): Likewise.
34917 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34918 * locale/loadlocale.c (_nl_load_locale): Likewise.
34919 * login/utmp_file.c (setutent_file): Likewise.
34920 * misc/daemon.c (daemon): Likewise.
34921 * nss/nss_db/db-open.c (internal_setent): Likewise.
34922 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34923 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
34924 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34925 (__opendir): Likewise.
34926 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34927 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34928 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34929 (gethostid): Likewise.
34930 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34931 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34933 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34934 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
34935 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34936 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34938 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34940 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34942 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34944 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34946 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34948 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34949 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34951 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
34953 * benchtests/bench-skeleton.c (main): Add support for
34954 latency benchmarking.
34955 * benchtests/scripts/bench.py: Add support for latency benchmarking.
34957 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
34959 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
34960 the startup object.
34962 2017-08-17 Florian Weimer <fweimer@redhat.com>
34964 * include/sys/socket.h (__opensock): Remove internal_function.
34965 * socket/opensock.c (__opensock): Likewise.
34966 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
34968 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34971 * signal/bits/types/__sigval_t.h: New file.
34972 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
34973 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
34974 and define sigval_t using __sigval_t.
34975 * include/bits/types/__sigval_t.h: New file.
34976 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
34977 instead of <bits/types/__sigval_t.h>.
34978 (struct sigevent): Use __sigval_t instead of sigval_t.
34979 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
34980 instead of <bits/types/__sigval_t.h>.
34981 (siginfo_t): Use __sigval_t instead of sigval_t.
34982 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
34983 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34984 (struct sigevent): Use __sigval_t instead of sigval_t.
34985 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
34986 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34987 (siginfo_t): Use __sigval_t instead of sigval_t.
34988 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
34990 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34992 * NEWS: Remove "[Add new features here]" for 2.27.
34994 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34996 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
34999 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35001 * NEWS: Mention x86-64 FMA optimization.
35003 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35006 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35008 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
35009 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
35010 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
35012 2017-08-16 Andreas Schwab <schwab@suse.de>
35016 * elf/ldd.bash.in: Never run file directly.
35018 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
35021 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
35022 (L(SP_INF_0)): Likewise.
35024 2017-08-15 Florian Weimer <fweimer@redhat.com>
35026 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
35029 2017-08-15 Florian Weimer <fweimer@redhat.com>
35031 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
35032 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
35033 BROKEN_THREAD_SIGNALS code.
35034 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
35035 request_list): Remove caller_pid member used for
35036 BROKEN_THREAD_SIGNALS.
35037 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
35038 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35039 Remove BROKEN_THREAD_SIGNALS support.
35040 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
35041 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
35043 2017-08-15 Florian Weimer <fweimer@redhat.com>
35045 * gmon/Makefile (tests): Add tst-gmon.
35046 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
35048 (tests-special): Add tst-gmon-prof.out.
35049 (tst-gmon.out): Depend on clean-tst-gmon-data.
35050 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
35051 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
35052 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
35054 * aclocal.m4 (GPROF): Set and substitute.
35055 * config.amke.in (GPROF): Set.
35056 * configure: Regenerate.
35058 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
35060 * elf/elf.h A (NT_PPC_TAR): New macro.
35061 (NT_PPC_PPR): Likewise.
35062 (NT_PPC_DSCR): Likewise.
35063 (NT_PPC_EBB): Likewise.
35064 (NT_PPC_PMU): Likewise.
35065 (NT_PPC_TM_CGPR): Likewise.
35066 (NT_PPC_TM_CFPR): Likewise.
35067 (NT_PPC_TM_CVMX): Likewise.
35068 (NT_PPC_TM_CVSX): Likewise.
35069 (NT_PPC_TM_SPR): Likewise.
35070 (NT_PPC_TM_CTAR): Likewise.
35071 (NT_PPC_TM_CPPR): Likewise.
35072 (NT_PPC_TM_CDSCR): Likewise.
35074 2017-08-15 Florian Weimer <fweimer@redhat.com>
35076 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
35077 regparm (2) instead of internal_function.
35078 (_MCOUNT_DECL): Adjust.
35080 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
35082 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
35083 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
35085 2017-08-14 Joseph Myers <joseph@codesourcery.com>
35087 * conform/data/sys/wait.h-data (si_value): Do not expect for
35090 2017-08-14 Florian Weimer <fweimer@redhat.com>
35093 NSS: Create stubs for accidentally exported lookup functions.
35094 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
35095 Remove declaration.
35096 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
35097 (ether_hostton): Call __nss_ethers_lookup2 instead.
35098 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
35099 (ether_ntohost): Call __nss_ethers_lookup2 instead.
35100 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
35101 (setup): Call __nss_netgroup_lookup2 instead.
35102 * nss/Makefile (routines): Add compat-lookup.
35103 * nss/Versions (GLIBC_2.27): Add symbol version.
35104 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
35105 (DB_COMPAT_FCT): Remove.
35106 * nss/compat-lookup.c: New file.
35107 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
35108 from databases.def.
35109 * nss/service-lookup.c (NO_COMPAT): Remove definition.
35110 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
35111 (netname2user): Call __nss_publickey_lookup2 instead.
35112 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
35113 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
35116 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35117 Sergei Trofimovich <slyfox@inbox.ru>
35120 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
35121 Rename to MMAP2_PAGE_UNIT.
35122 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
35123 __OFF_T_MATCHES_OFF64_T is not defined.
35124 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
35126 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
35127 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
35129 2017-08-14 Florian Weimer <fweimer@redhat.com>
35131 i386: Do not set internal_function.
35132 * config.h.in (USE_REGPARMS, internal_function): Remove.
35133 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
35134 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
35136 2017-08-14 Florian Weimer <fweimer@redhat.com>
35138 * elf/dl-init.c (_dl_init): Remove internal_function.
35139 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
35140 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
35142 2017-08-14 Florian Weimer <fweimer@redhat.com>
35144 * elf/rtld.c (_dl_start): Remove internal_function.
35145 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
35148 2017-08-14 Florian Weimer <fweimer@redhat.com>
35150 * elf/dl-fini.c (_dl_fini): Remove internal_function
35151 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
35153 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
35155 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
35156 (bit_cpu_SHSTK): Likewise.
35157 (index_cpu_IBT): Likewise.
35158 (index_cpu_SHSTK): Likewise.
35159 (reg_IBT): Likewise.
35160 (reg_SHSTK): Likewise.
35161 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
35162 Handle index_cpu_IBT and index_cpu_SHSTK.
35164 2017-08-14 Mike FABIAN <mfabian@redhat.com>
35167 * po/fr.po: Fix spelling mistake.
35169 2017-08-13 Florian Weimer <fweimer@redhat.com>
35171 * elf/dl-addr.c (_dl_addr): Remove internal_function.
35172 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
35173 (_dl_catch_error, _dl_receive_error): Likewise.
35174 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
35175 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
35176 (_dl_deallocate_tls): Likewise.
35177 * include/dlfcn.h (_dl_addr): Likewise.
35178 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
35179 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
35180 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
35183 2017-08-13 Florian Weimer <fweimer@redhat.com>
35185 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
35186 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
35188 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
35190 2017-08-13 Florian Weimer <fweimer@redhat.com>
35192 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
35194 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
35195 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
35196 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
35197 internal_function from _dl_make_stack_executable_hook member.
35198 (_dl_make_stack_executable): Remove internal_function.
35199 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
35201 * sysdeps/unix/sysv/linux/dl-execstack.c
35202 (_dl_make_stack_executable): Likewise.
35204 2017-08-13 Florian Weimer <fweimer@redhat.com>
35206 * sysdeps/unix/sysv/linux/netlinkaccess.h
35207 (__netlink_assert_response): Remove internal_function.
35208 * sysdeps/unix/sysv/linux/netlink_assert_response.c
35209 (__netlink_assert_response): Likewise.
35211 2017-08-13 Florian Weimer <fweimer@redhat.com>
35213 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
35215 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
35217 2017-08-13 Florian Weimer <fweimer@redhat.com>
35219 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
35221 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
35222 * inet/netgroup.h (__internal_setnetgrent)
35223 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35224 * inet/getnetgrent_r.c (__internal_setnetgrent)
35225 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35226 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
35227 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
35228 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
35229 * nss/nsswitch.h (db_lookup_function): Likewise.
35231 2017-08-13 Florian Weimer <fweimer@redhat.com>
35233 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
35234 Remove internal_function.
35235 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
35236 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
35237 message argument on the stack.
35238 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
35241 2017-08-12 Mike FABIAN <mfabian@redhat.com>
35243 Adapt test case data to the changes in the thousands
35247 * localedata/tst-langinfo.sh: Adapt test case data.
35248 * stdlib/tst-strfmon_l.c: Likewise.
35249 * stdlib/tst-strtod4.c: Likewise.
35250 * stdlib/tst-strtod5i.c: Likewise.
35252 2017-08-11 Florian Weimer <fweimer@redhat.com>
35255 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
35256 Suppress pedantic warning resulting from statement expression.
35257 (__ASSERT_FUNCTION): Add missing __extension__.
35259 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
35261 * benchtests/bench-memmove-large.c: Print output in JSON
35263 * benchtests/bench-memmove.c: Likewise.
35265 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
35266 * benchtests/bench-memchr.c (do_one_test): Likewise.
35267 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
35268 * benchtests/bench-memcpy.c (do_one_test): Likewise.
35269 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
35270 * benchtests/bench-memmove.c (do_one_test): Likewise.
35271 * benchtests/bench-memset-large.c (do_one_test): Likewise.
35272 * benchtests/bench-memset.c (do_one_test): Likewise.
35273 * benchtests/bench-string.h (test_init): Remove memsets.
35275 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
35278 (Computing the Width of an Integer Data Type): Rename section to
35279 "Width of an Integer Type". Remove inaccurate statement regarding
35280 lack of C language facilities for determining width of integer
35281 types, and reorder content to improve flow and context of
35284 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
35286 * lang.texi (va_copy): Change standard from ISO to C99.
35287 (__va_copy): Add standard and header annotation.
35288 Update description for clarity of origins and current use.
35290 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35293 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
35294 xssqrtqp requires operands to be in Vector Registers
35295 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
35296 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
35297 (__ieee754_sqrtf128): Likewise.
35299 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
35301 * sysdeps/aarch64/memcmp.S (memcmp):
35302 Rewrite of optimized memcmp.
35304 2017-08-10 Florian Weimer <fweimer@redhat.com>
35306 Introduce ld.so exceptions.
35307 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
35308 (_dl_exception_create, _dl_exception_create_format)
35309 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
35310 (_dl_catch_exception): Declare.
35311 (_dl_catch_error): Update comment.
35312 * elf/dl-error-skeleton.c (struct catch): Replace objname,
35313 errstring, malloced members with exception member.
35314 (_dl_out_of_memory): Remove.
35315 (fatal_error): New function, extracted from _dl_signal_error.
35316 (_dl_signal_exception, _dl_signal_cexception): New functions.
35317 (_dl_signal_error): Call _dl_exception_create to allocate an
35319 (_dl_catch_exception): New function, based on _dl_catch_error.
35320 (_dl_catch_error): Implement using _dl_catch_exception.
35321 * elf/dl-exception.c: New file.
35322 * elf/Makefile (dl-routines): Add dl-exception.
35323 (elide-routines.os): Likewise.
35324 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
35325 _dl_exception_create_format, _dl_exception_free.
35326 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
35327 _dl_signal_exception.
35328 * elf/dl-lookup.c (make_string): Remove.
35329 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
35330 _dl_signal_cexception, _dl_exception_free.
35331 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
35332 _dl_signal_exception.
35333 * elf/dl-sym.c (do_sym): Likewise.
35334 * elf/dl-version.c (make_string): Remove.
35335 (match_symbol): Use _dl_exception_create_format,
35336 _dl_signal_cexception, _dl_exception_free.
35337 (_dl_check_map_versions): Likewise.
35338 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
35339 _dl_catch_exception.
35340 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
35341 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
35342 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
35343 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
35344 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
35345 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
35346 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
35347 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
35349 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
35350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
35352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
35354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
35356 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
35357 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
35358 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
35360 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
35362 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
35364 2017-08-10 Florian Weimer <fweimer@redhat.com>
35366 * inet/net-internal.h (__inet6_scopeid_pton): Remove
35367 attribute_hidden, internal_function.
35368 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
35371 2017-08-10 Florian Weimer <fweimer@redhat.com>
35373 * malloc/malloc.c (get_max_fast): Reimplement as an inline
35374 function which calls __builtin_unreachable.
35376 2017-08-10 Mike FABIAN <mfabian@redhat.com>
35378 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
35379 Indian monetary formatting
35380 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
35383 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
35385 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
35386 Fix typo in comment.
35389 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
35390 PTRACE_SEIZE_DEVEL): Remove.
35391 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
35392 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35393 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35394 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35395 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35397 2017-08-09 Joseph Myers <joseph@codesourcery.com>
35399 * posix/bits/types.h (__qaddr_t): Remove.
35402 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
35403 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35405 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
35406 (ucontext_t): Use __ctx with uc_flags.
35407 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
35408 (__ctxt): Likewise.
35409 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35411 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
35412 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35414 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
35415 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35417 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
35419 (ucontext_t): Use __ctx with uc_flags.
35420 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
35421 (ucontext_t): Use __ctx with uc_flags.
35422 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
35423 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
35424 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
35425 (ucontext_t): Use __ctx with uc_flags.
35426 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
35427 undefine further down.
35428 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35430 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
35431 undefine further down.
35432 (ucontext_t): Use __ctx with uc_flags.
35433 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
35434 undefine further down.
35435 (ucontext_t): Use __ctx with uc_flags.
35436 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
35437 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
35438 Rename uc_pad to __glibc_reserved1.
35439 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
35440 undefine further down.
35441 (ucontext_t): Use __ctx with uc_flags.
35442 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
35444 (ucontext_t): Use __ctx with uc_flags.
35445 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
35446 __ctx with uc_flags.
35447 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
35448 (ucontext_t): Use __ctx with uc_flags.
35449 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
35450 __ctx with uc_flags.
35452 2017-08-09 Florian Weimer <fweimer@redhat.com>
35455 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
35456 before early return.
35458 2017-08-09 Andreas Schwab <schwab@suse.de>
35461 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
35465 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
35466 tst-compat-forwarder.
35467 (modules-names): Add tst-compat-forwarder-mod.
35468 ($(objpfx)tst-compat-forwarder): Depend on
35469 $(objpfx)tst-compat-forwarder-mod.so.
35470 * nptl/tst-compat-forwarder.c: New file.
35471 * nptl/tst-compat-forwarder-mod.c: New file.
35473 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
35475 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
35478 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
35479 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
35481 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
35483 (__libc_ifunc_impl_list): Add __memcpy_falkor.
35484 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
35485 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
35486 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
35488 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
35491 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35494 * manual/setjmp.texi (getcontex): Document uc_stack value
35495 compatibility differences.
35497 2017-08-08 Joseph Myers <joseph@codesourcery.com>
35499 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
35500 (old_malloc_hook): Likewise.
35501 (old_memalign_hook): Likewise.
35502 (old_realloc_hook): Likewise.
35503 (struct hdr): Likewise.
35505 (freehook): Likewise.
35506 (mallochook): Likewise.
35507 (memalignhook): Likewise.
35508 (reallochook): Likewise.
35509 (mprobe): Likewise.
35510 * malloc/mtrace.c (mallwatch): Likewise.
35511 (tr_old_free_hook): Likewise.
35512 (tr_old_malloc_hook): Likewise.
35513 (tr_old_realloc_hook): Likewise.
35514 (tr_old_memalign_hook): Likewise.
35515 (tr_where): Likewise.
35516 (lock_and_info): Likewise.
35517 (tr_freehook): Likewise.
35518 (tr_mallochook): Likewise.
35519 (tr_reallochook): Likewise.
35520 (tr_memalignhook): Likewise.
35521 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
35522 * misc/mmap.c (__mmap): Likewise.
35523 * misc/mmap64.c (__mmap64): Likewise.
35524 * misc/mprotect.c (__mprotect): Likewise.
35525 * misc/msync.c (msync): Likewise.
35526 * misc/munmap.c (__munmap): Likewise.
35527 * posix/posix_madvise.c (posix_madvise): Likewise.
35528 * socket/send.c (__send): Likewise.
35529 * socket/sendto.c (__sendto): Likewise.
35530 * socket/setsockopt.c (__setsockopt): Likewise.
35531 * string/memcmp.c (__ptr_t): Remove macro.
35532 (MEMCMP): Use void * instead of ptr_t.
35533 * string/memrchr.c (__ptr_t): Remove macro.
35534 (__memrchr): Use void * instead of ptr_t.
35535 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
35536 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
35537 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
35538 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
35539 * sysdeps/mach/msync.c (msync): Likewise.
35540 * sysdeps/mach/munmap.c (__munmap): Likewise.
35541 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
35543 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35544 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
35545 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
35546 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
35547 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
35548 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35549 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
35550 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
35552 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35553 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
35554 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
35555 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
35556 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
35557 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
35558 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
35559 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
35560 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
35562 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
35563 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
35564 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
35565 (MEMCMP): Use void * instead of ptr_t.
35566 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
35567 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
35569 2017-08-08 Florian Weimer <fweimer@redhat.com>
35571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
35574 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
35577 * csu/libc-tls.c: Include <startup.h> first.
35578 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
35579 * elf/dl-tunables.c: Include <startup.h> first.
35580 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
35581 * sysdeps/generic/startup.h: New file.
35582 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
35583 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
35584 (I386_USE_SYSENTER): New. Defined to 0.
35586 2017-08-08 Andreas Schwab <schwab@suse.de>
35589 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
35590 * nptl/pt-system.c (system): Likewise.
35592 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35595 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
35597 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
35598 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
35599 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
35600 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
35601 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
35602 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
35603 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
35605 2017-08-07 Joseph Myers <joseph@codesourcery.com>
35608 * bits/sigaction.h (struct sigaction): Define sa_handler and
35609 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
35610 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35611 [__USE_XOPEN_EXTENDED].
35612 (SA_RESTART): Likewise.
35613 (SA_NODEFER): Likewise.
35614 (SA_RESETHAND): Likewise.
35615 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
35616 (struct sigaction): Define sa_handler and sa_sigaction using union
35617 also for [__USE_XOPEN_EXTENDED].
35618 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35619 [__USE_XOPEN_EXTENDED].
35620 (SA_RESTART): Likewise.
35621 (SA_NODEFER): Likewise.
35622 (SA_RESETHAND): Likewise.
35623 * sysdeps/unix/sysv/linux/bits/sigaction.h
35624 (struct sigaction): Define sa_handler and sa_sigaction using union
35625 also for [__USE_XOPEN_EXTENDED].
35626 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35627 [__USE_XOPEN_EXTENDED].
35628 (SA_RESTART): Likewise.
35629 (SA_NODEFER): Likewise.
35630 (SA_RESETHAND): Likewise.
35631 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
35632 (struct sigaction): Define sa_handler and sa_sigaction using union
35633 also for [__USE_XOPEN_EXTENDED].
35634 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35635 [__USE_XOPEN_EXTENDED].
35636 (SA_RESTART): Likewise.
35637 (SA_NODEFER): Likewise.
35638 (SA_RESETHAND): Likewise.
35639 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
35640 (struct sigaction): Define sa_handler and sa_sigaction using union
35641 also for [__USE_XOPEN_EXTENDED].
35642 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35643 [__USE_XOPEN_EXTENDED].
35644 (SA_RESTART): Likewise.
35645 (SA_NODEFER): Likewise.
35646 (SA_RESETHAND): Likewise.
35647 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35648 (struct sigaction): Define sa_handler and sa_sigaction using union
35649 also for [__USE_XOPEN_EXTENDED].
35650 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35651 [__USE_XOPEN_EXTENDED].
35652 (SA_RESTART): Likewise.
35653 (SA_NODEFER): Likewise.
35654 (SA_RESETHAND): Likewise.
35655 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35656 (struct sigaction): Define sa_handler and sa_sigaction using union
35657 also for [__USE_XOPEN_EXTENDED].
35658 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35659 [__USE_XOPEN_EXTENDED].
35660 (SA_RESTART): Likewise.
35661 (SA_NODEFER): Likewise.
35662 (SA_RESETHAND): Likewise.
35663 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35664 (struct sigaction): Define sa_handler and sa_sigaction using union
35665 also for [__USE_XOPEN_EXTENDED].
35666 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35667 [__USE_XOPEN_EXTENDED].
35668 (SA_RESTART): Likewise.
35669 (SA_NODEFER): Likewise. Define directly rather than as alias.
35670 (SA_RESETHAND): Likewise.
35671 (SA_INTERRUPT): Define only for [__USE_MISC].
35672 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
35673 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
35675 (SA_STACK): Define only for [__USE_MISC].
35676 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
35677 (struct sigaction): Define sa_handler and sa_sigaction using union
35678 also for [__USE_XOPEN_EXTENDED].
35679 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35680 [__USE_XOPEN_EXTENDED].
35681 (SA_RESTART): Likewise.
35682 (SA_NODEFER): Likewise.
35683 (SA_RESETHAND): Likewise.
35684 (SA_NOPTRACE): Define only for [__USE_MISC].
35686 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
35687 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
35688 (struct catalog_info): Likewise.
35689 * inet/htontest.c (lo): Likewise.
35691 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35692 * inet/inet_net.c (inet_network): Likewise.
35693 * inet/inet_netof.c (inet_netof): Likewise.
35694 * inet/rcmd.c (__ivaliduser): Likewise.
35695 (iruserok): Likewise.
35696 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
35697 * locale/programs/locale-spec.c (locale_special): Likewise.
35698 * nis/nis_findserv.c (struct findserv_req): Likewise.
35699 (__nis_findfastest_with_timeout): Likewise.
35700 * nss/test-netdb.c (test_network): Likewise.
35701 * resolv/inet_neta.c (inet_neta): Likewise.
35702 * resolv/ns_date.c (ns_datetosecs): Likewise.
35703 (SECS_PER_DAY): Likewise.
35704 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
35706 * resolv/res_comp.c (__putlong): Likewise.
35707 (__putshort): Likewise.
35708 (_getlong): Likewise.
35709 (_getshort): Likewise.
35710 * resolv/res_debug.c (p_time): Likewise.
35711 (precsize_ntoa): Likewise.
35712 (precsize_aton): Likewise.
35713 (latlon2ul): Likewise.
35714 (loc_aton): Likewise.
35715 (loc_ntoa): Likewise.
35716 * resolv/res_hconf.c (struct netaddr): Likewise.
35717 (_res_hconf_reorder_addrs): Likewise.
35718 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
35719 (clnttcp_control): Likewise.
35720 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35721 (clntudp_control): Likewise.
35722 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
35723 (clntunix_control): Likewise.
35724 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
35725 * sunrpc/rpc/auth.h (union des_block): Likewise.
35726 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
35727 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
35728 (xdrrec_create): Likewise.
35729 (xdrrec_endofrecord): Likewise.
35730 (flush_out): Likewise.
35731 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
35732 (xdrstdio_putlong): Likewise.
35733 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
35736 * misc/sys/cdefs.h (__long_double_t): Remove.
35737 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
35738 instead of __long_double_t,
35739 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
35741 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
35743 * benchtests/scripts/compare_strings.py: Avoid display error when
35744 running on a text terminal.
35746 * benchtests/scripts/compare_strings.py (main): Add an
35747 optional -base option.
35748 (process_results): New argument base_func.
35750 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
35752 * benchtests/bench-memcpy-large.c (test_name): Likewise.
35753 * benchtests/bench-memcpy-random.c (test_name): Likewise.
35755 2017-08-07 Andreas Schwab <schwab@suse.de>
35757 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
35758 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35759 * intl/Makefile ($(objpfx)tst-gettext.out)
35760 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
35761 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
35762 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35763 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35764 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
35765 * posix/Makefile ($(objpfx)globtest.out)
35766 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
35767 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
35768 ($(objpfx)tst-printf.out): Likewise.
35769 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
35770 ($(objpfx)tst-setcontext3.out): Likewise.
35772 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
35774 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35775 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
35776 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
35777 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
35778 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
35780 (CFLAGS-doasin-fma.c): New.
35781 (CFLAGS-dosincos-fma.c): Likewise.
35782 (CFLAGS-e_asin-fma.c): Likewise.
35783 (CFLAGS-e_atan2-fma.c): Likewise.
35784 (CFLAGS-e_exp-fma.c): Likewise.
35785 (CFLAGS-e_log-fma.c): Likewise.
35786 (CFLAGS-e_pow-fma.c): Likewise.
35787 (CFLAGS-halfulp-fma.c): Likewise.
35788 (CFLAGS-mpa-fma.c): Likewise.
35789 (CFLAGS-mpatan-fma.c): Likewise.
35790 (CFLAGS-mpatan2-fma.c): Likewise.
35791 (CFLAGS-mpexp-fma.c): Likewise.
35792 (CFLAGS-mplog-fma.c): Likewise.
35793 (CFLAGS-mpsqrt-fma.c): Likewise.
35794 (CFLAGS-mptan-fma.c): Likewise.
35795 (CFLAGS-s_atan-fma.c): Likewise.
35796 (CFLAGS-sincos32-fma.c): Likewise.
35797 (CFLAGS-slowexp-fma.c): Likewise.
35798 (CFLAGS-slowpow-fma.c): Likewise.
35799 (CFLAGS-s_sin-fma.c): Likewise.
35800 (CFLAGS-s_tan-fma.c): Likewise.
35801 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
35802 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
35803 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
35804 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
35805 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
35806 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
35807 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
35808 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
35809 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
35810 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
35811 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
35812 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
35813 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
35814 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
35815 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
35816 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
35817 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
35818 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
35819 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
35820 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
35821 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
35822 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
35823 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
35824 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
35825 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35826 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35827 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35828 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
35829 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35830 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35831 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35833 2017-08-04 Joseph Myers <joseph@codesourcery.com>
35835 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
35836 (min_of_type_f): New macro.
35837 (min_of_type_): Likewise.
35838 (min_of_type_l): Likewise.
35839 (min_of_type_f128): Likewise.
35840 (min_of_type): Define using __MATH_TG and taking an expression
35842 (math_check_force_underflow): Pass expression instead of type to
35844 (math_check_force_underflow_nonneg): Likewise.
35846 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35848 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35849 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
35850 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
35852 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35854 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35855 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
35856 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
35857 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
35858 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
35859 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
35860 memcpy_chk-nonshared, mempcpy_chk-nonshared,
35861 memmove_chk-nonshared and memset_chk-nonshared
35862 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
35863 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
35864 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
35865 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
35866 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
35867 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
35868 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
35869 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
35870 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
35871 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
35872 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
35873 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
35874 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
35875 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
35876 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
35877 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
35878 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
35879 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
35880 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
35881 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
35882 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
35883 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
35884 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
35885 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
35886 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
35887 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
35888 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
35889 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
35890 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
35891 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
35892 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
35893 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
35894 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
35895 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35896 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35897 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
35898 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
35899 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
35900 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
35901 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
35902 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
35903 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
35904 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
35905 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
35906 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
35907 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
35908 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
35909 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
35910 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
35911 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
35912 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
35913 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
35914 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
35915 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
35916 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
35917 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
35918 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
35919 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
35920 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
35921 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
35922 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
35923 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
35924 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
35925 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
35926 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
35927 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
35928 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
35929 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
35930 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
35931 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
35932 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
35933 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35934 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35935 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35936 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35937 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35938 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35939 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35940 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35941 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35942 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35943 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35944 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35945 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35946 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35947 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35948 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35949 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35950 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35951 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35952 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35953 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35954 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35955 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35956 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35957 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35958 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35959 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35960 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35961 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35962 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35963 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35964 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35965 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35966 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35967 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35968 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35969 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35971 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35973 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
35974 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
35975 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
35976 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
35977 svml_d_log2_core-sse2, svml_d_log4_core-sse,
35978 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
35979 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
35980 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
35981 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
35982 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
35983 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
35984 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
35985 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
35986 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
35987 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
35988 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
35989 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
35990 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
35991 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
35992 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
35993 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
35994 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
35995 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
35996 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
35997 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
35998 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
35999 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
36000 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
36001 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
36002 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
36003 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
36004 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
36005 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
36006 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
36007 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
36008 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
36009 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
36010 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
36011 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
36012 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
36013 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
36014 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
36015 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
36016 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
36017 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
36018 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
36019 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
36020 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
36021 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
36022 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
36023 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
36024 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
36025 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
36026 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
36027 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
36028 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
36029 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
36030 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
36031 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
36033 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
36034 Don't include <sysdep.h> nor <init-arch.h>.
36035 (_ZGVbN2v_cos): Removed.
36036 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
36038 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
36039 Don't include <sysdep.h> nor <init-arch.h>.
36040 (_ZGVdN4v_cos): Removed.
36041 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
36043 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
36044 Don't include <sysdep.h> nor <init-arch.h>.
36045 (_ZGVeN8v_cos): Removed.
36046 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
36048 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
36049 Don't include <sysdep.h> nor <init-arch.h>.
36050 (_ZGVbN2v_exp): Removed.
36051 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
36053 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
36054 Don't include <sysdep.h> nor <init-arch.h>.
36055 (_ZGVdN4v_exp): Removed.
36056 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
36058 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
36059 Don't include <sysdep.h> nor <init-arch.h>.
36060 (_ZGVeN8v_exp): Removed.
36061 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
36063 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
36064 Don't include <sysdep.h> nor <init-arch.h>.
36065 (_ZGVbN2v_log): Removed.
36066 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
36068 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
36069 Don't include <sysdep.h> nor <init-arch.h>.
36070 (_ZGVdN4v_log): Removed.
36071 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
36073 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
36074 Don't include <sysdep.h> nor <init-arch.h>.
36075 (_ZGVeN8v_log): Removed.
36076 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
36078 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
36079 Don't include <sysdep.h> nor <init-arch.h>.
36080 (_ZGVbN2vv_pow): Removed.
36081 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
36083 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
36084 Don't include <sysdep.h> nor <init-arch.h>.
36085 (_ZGVdN4vv_pow): Removed.
36086 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
36088 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
36089 Don't include <sysdep.h> nor <init-arch.h>.
36090 (_ZGVeN8vv_pow): Removed.
36091 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
36093 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
36094 Don't include <sysdep.h> nor <init-arch.h>.
36095 (_ZGVbN2v_sin): Removed.
36096 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
36098 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
36099 Don't include <sysdep.h> nor <init-arch.h>.
36100 (_ZGVbN4v_sin): Removed.
36101 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
36103 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
36104 Don't include <sysdep.h> nor <init-arch.h>.
36105 (_ZGVbN8v_sin): Removed.
36106 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
36108 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
36109 Don't include <sysdep.h> nor <init-arch.h>.
36110 (_ZGVbN2vvv_sincos): Removed.
36111 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
36113 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
36114 Don't include <sysdep.h> nor <init-arch.h>.
36115 (_ZGVdN4vvv_sincos): Removed.
36116 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
36118 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
36119 Don't include <sysdep.h> nor <init-arch.h>.
36120 (_ZGVeN8vvv_sincos): Removed.
36121 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
36123 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
36124 Don't include <sysdep.h> nor <init-arch.h>.
36125 (_ZGVeN16v_cosf): Removed.
36126 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
36128 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
36129 Don't include <sysdep.h> nor <init-arch.h>.
36130 (_ZGVbN4v_cosf): Removed.
36131 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
36133 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
36134 Don't include <sysdep.h> nor <init-arch.h>.
36135 (_ZGVdN8v_cosf): Removed.
36136 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
36138 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
36139 Don't include <sysdep.h> nor <init-arch.h>.
36140 (_ZGVeN16v_expf): Removed.
36141 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
36143 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
36144 Don't include <sysdep.h> nor <init-arch.h>.
36145 (_ZGVbN4v_expf): Removed.
36146 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
36148 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
36149 Don't include <sysdep.h> nor <init-arch.h>.
36150 (_ZGVdN8v_expf): Removed.
36151 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
36153 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
36154 Don't include <sysdep.h> nor <init-arch.h>.
36155 (_ZGVeN16v_logf): Removed.
36156 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
36158 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
36159 Don't include <sysdep.h> nor <init-arch.h>.
36160 (_ZGVbN4v_logf): Removed.
36161 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
36163 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
36164 Don't include <sysdep.h> nor <init-arch.h>.
36165 (_ZGVdN8v_logf): Removed.
36166 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
36168 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
36169 Don't include <sysdep.h> nor <init-arch.h>.
36170 (_ZGVeN16vv_powf): Removed.
36171 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
36173 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
36174 Don't include <sysdep.h> nor <init-arch.h>.
36175 (_ZGVbN4vv_powf): Removed.
36176 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
36178 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
36179 Don't include <sysdep.h> nor <init-arch.h>.
36180 (_ZGVdN8vv_powf): Removed.
36181 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
36183 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
36184 Don't include <sysdep.h> nor <init-arch.h>.
36185 (_ZGVeN16vvv_sincosf): Removed.
36186 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
36188 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
36189 Don't include <sysdep.h> nor <init-arch.h>.
36190 (_ZGVbN4vvv_sincosf): Removed.
36191 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
36193 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
36194 Don't include <sysdep.h> nor <init-arch.h>.
36195 (_ZGVdN8vvv_sincosf): Removed.
36196 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
36198 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
36199 Don't include <sysdep.h> nor <init-arch.h>.
36200 (_ZGVeN16v_sinf): Removed.
36201 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
36203 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
36204 Don't include <sysdep.h> nor <init-arch.h>.
36205 (_ZGVbN4v_sinf): Removed.
36206 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
36208 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
36209 Don't include <sysdep.h> nor <init-arch.h>.
36210 (_ZGVdN8v_sinf): Removed.
36212 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36214 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36215 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
36216 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
36217 s_rint-sse4_1 and s_rintf-sse4_1.
36218 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
36219 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
36220 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
36221 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
36222 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
36223 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
36224 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
36225 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
36226 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
36227 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
36228 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
36229 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36231 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
36232 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
36233 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36234 (__ceilf): Removed.
36235 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
36236 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
36237 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36238 (__floor): Removed.
36239 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
36240 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
36241 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36242 (__floorf): Removed.
36243 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
36244 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
36245 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36246 (__nearbyint): Removed.
36247 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
36248 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
36249 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36250 (__nearbyintf): Removed.
36251 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
36252 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
36253 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36255 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
36256 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
36257 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36258 (__rintf): Removed.
36260 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36262 * sysdeps/i386/start.S (_start): Check Check PIC instead of
36263 SHARED. Avoid dynamic relocation against main in static PIE.
36265 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36268 * elf/Makefile (CFLAGS-tst-prelink.c): New.
36269 (LDFLAGS-tst-prelink): Likewise.
36271 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36273 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
36274 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
36275 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
36276 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
36277 (INTERNAL_SYSCALL_NCS): Likewise.
36278 (LOADARGS_1): Likewise.
36279 (LOADARGS_5): Likewise.
36280 (RESTOREARGS_1): Likewise.
36281 (RESTOREARGS_5): Likewise.
36283 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36285 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
36286 (MEMPCPY_SYMBOL): Likewise.
36287 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36288 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
36289 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
36291 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36292 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
36294 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
36295 (__hidden_ver1): Don't use in libc.a.
36296 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
36297 (__mempcpy): Don't create a weak alias in libc.a.
36298 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
36300 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
36301 (__hidden_ver1): Don't use in libc.a.
36303 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36305 * config.make.in (have-insert): New.
36306 * configure.ac (libc_cv_insert): New. Set to yes if linker
36307 supports INSERT in linker script.
36308 (AC_SUBST(libc_cv_insert): New.
36309 * configure: Regenerated.
36310 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
36311 if $(have-insert) == yes.
36313 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36315 * elf/Makefile (tests): Add vismain only if
36316 $(have-protected-data) == yes.
36317 (tests-pie): Likewise.
36319 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36322 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
36323 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
36325 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36328 * sysdeps/i386/i586/memset.S
36329 (__memset_zero_constant_len_parameter): Removed.
36330 * sysdeps/i386/i686/memset.S
36331 (__memset_zero_constant_len_parameter): Likewise.
36332 * sysdeps/i386/i686/multiarch/memset_chk.S
36333 (__memset_zero_constant_len_parameter): Likewise.
36334 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
36337 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36339 * stdlib/getentropy.c (getentropy): Change return type to int.
36341 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36343 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
36345 2017-08-03 Joseph Myers <joseph@codesourcery.com>
36347 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
36349 * math/s_nexttowardf.c (__nexttowardf): Likewise.
36350 * sysdeps/generic/math_private.h (ieee_double_shape_type):
36352 (ieee_float_shape_type): Likewise.
36353 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
36354 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
36355 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36356 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36357 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
36358 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
36359 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
36360 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36361 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
36363 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36364 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
36365 (__ieee754_yn): Likewise.
36366 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36367 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36368 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
36370 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36371 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
36372 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
36373 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
36374 (__erfc): Likewise.
36375 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
36376 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
36377 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
36378 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
36379 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
36380 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
36382 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
36383 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
36384 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
36385 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
36386 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36387 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
36388 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
36389 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
36390 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
36391 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
36392 (__issignaling): Likewise.
36393 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
36394 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
36395 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
36397 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36398 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
36399 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
36400 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
36402 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
36404 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
36405 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
36406 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
36407 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
36408 (__erfcf): Likewise.
36409 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
36410 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
36411 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
36412 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
36414 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
36415 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
36417 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
36418 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
36419 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
36420 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
36421 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
36422 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36423 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
36424 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
36426 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
36428 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
36430 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
36431 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
36433 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36435 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
36436 (__ieee754_ynl): Likewise.
36437 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
36438 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
36440 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
36442 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
36443 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
36444 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36446 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
36447 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
36448 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
36449 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
36450 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
36451 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
36452 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
36453 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
36455 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
36456 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
36457 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
36459 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
36460 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
36461 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
36462 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
36463 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
36464 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36466 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36468 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36470 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36472 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
36473 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36474 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36475 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
36476 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
36477 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
36478 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
36480 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36482 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36483 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36485 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
36486 (__ieee754_remainderl): Likewise.
36487 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36488 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36489 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
36490 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
36492 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
36493 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36495 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36496 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
36497 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
36498 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
36499 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36500 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36502 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
36503 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
36504 (__ieee754_y0l): Likewise.
36507 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36508 (__ieee754_y1l): Likewise.
36511 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
36512 (__ieee754_ynl): Likewise.
36513 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
36514 (__ieee754_lgammal_r): Likewise.
36515 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
36517 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
36518 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
36519 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
36520 (__erfcl): Likewise.
36521 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
36522 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
36524 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
36525 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
36526 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
36527 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
36528 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
36529 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36530 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36532 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
36533 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36534 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
36535 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
36536 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36538 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
36539 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
36541 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
36542 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
36543 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
36544 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36545 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
36547 2017-08-03 Florian Weimer <fweimer@redhat.com>
36550 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
36551 on memory allocation failure.
36553 2017-08-03 Alan Modra <amodra@gmail.com>
36555 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
36556 tst-tlsopt-powerpc.c with function name change and no test harness.
36557 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
36558 Call tls_get_addr_opt_test.
36559 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
36560 (modules-names): Add mod-tlsopt-powerpc.
36561 (mod-tlsopt-powerpc.so-no-z-defs): Define.
36562 (tst-tlsopt-powerpc): Depend on .so.
36563 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
36564 define. Expand use in TLS_GD and TLS_LD.
36566 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36568 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
36570 * sysdeps/posix/shm_open.c: Include <pthread.h>.
36572 2017-08-02 Joseph Myers <joseph@codesourcery.com>
36575 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
36576 comparing size with that of double.
36577 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36578 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36579 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36580 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36581 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36582 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
36583 unsigned __int128 types.
36585 2017-08-02 Steve Ellcey <sellcey@cavium.com>
36587 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
36588 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
36589 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
36590 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
36591 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
36593 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36595 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
36597 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36599 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
36601 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36602 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36603 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36604 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36605 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36606 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36607 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36609 2017-08-02 Joseph Myers <joseph@codesourcery.com>
36612 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
36613 bit-field expressions passed to sizeof or typeof.
36614 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36615 (__TGMATH_F128): Likewise.
36616 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36617 (__TGMATH_CF128): Likewise.
36618 (__TGMATH_UNARY_REAL_ONLY): Likewise.
36619 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
36620 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
36621 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
36622 (__TGMATH_BINARY_REAL_ONLY): Likewise.
36623 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36624 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36625 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36626 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36627 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
36628 (__TGMATH_UNARY_REAL_IMAG): Likewise.
36629 (__TGMATH_UNARY_IMAG): Likewise.
36630 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
36631 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36632 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
36634 (define_vars_for_type): Handle bit_field type specially.
36635 (Tests.__init__): Declare structure with bit-field element.
36637 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36640 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
36641 (MEMCPY_CHK): Define only if SHARED is defined.
36642 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
36644 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
36647 See ChangeLog.18 for earlier changes.