1 2019-07-18 Carlos O'Donell <carlos@redhat.com>
3 * po/libc.pot: Regenerate.
5 2019-07-18 Mike Crowe <mac@mcrowe.com>
7 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
8 functions recently added to sysdeps/nptl/pthread.h:
9 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
10 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
12 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
13 pthread_cond_clockwait forwarding functions. There are no internal
14 users, so it is unnecessary to expose these functions in libc.so.
15 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
16 unnecessary ptr___pthread_cond_clockwait member.
17 * nptl/nptl-init.c (pthread_functions): Remove assignment of
20 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
23 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
24 begin with an uppercase letter now.
26 (mon): Update from CLDR, reword February from "Kudo" to
27 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
28 and August from "Liiqen" to "Leqeeni".
29 * localedata/locales/aa_ER (mon): Update from CLDR, reword
30 April from "Agda Baxisso" to "Agda Baxis" and August from
31 "Leqeeni" to "Liiqen".
32 * localedata/locales/aa_ER@saaho (mon): Likewise.
33 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
34 abbreviated February from "Kud" to "Nah".
35 (mon): Update from CLDR, reword February from "Kudo" to
36 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
38 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
41 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
43 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
46 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
47 name_mrs, name_miss, and name_ms.
48 * localedata/locales/nl_NL (LC_NAME): Likewise.
50 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
53 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
54 * localedata/locales/en_IE (first_weekday): Likewise.
56 2019-07-12 Mike Crowe <mac@mcrowe.com>
58 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
59 that is only useful if futex_supports_exact_relative_timeouts ()
61 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
63 * sysdeps/nptl/futex-internal.h: Remove comment about relative
64 timeouts potentially being imprecise since it's no longer true.
65 Remove declaration of futex_supports_exact_relative_timeouts.
66 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
67 of futex_supports_exact_relative_timeouts.
69 * NEWS: Mention recently-added pthread_cond_clockwait,
70 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
71 sem_clockwait functions.
73 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
74 works like pthread_mutex_timedlock but takes a clockid parameter to
75 measure the abstime parameter against.
76 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
77 * nptl/DESIGN-systemtap-probes.txt: Likewise.
78 * nptl/pthread_mutex_timedlock.c
79 (__pthread_mutex_clocklock_common): Rename from
80 __pthread_mutex_timedlock and add clockid parameter. Pass this
81 parameter to lll_clocklock and lll_clocklock_elision in place of
82 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
83 LIBC_PROBE and validate clockid parameter before calling
84 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
85 implementation to add LIBC_PROBE and calls
86 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
88 * nptl/Makefile: Add tst-mutex11.c.
89 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
90 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
91 clockid parameters to pthread_mutex_clocklock.
92 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
93 clockid parameter to indicate which clock to be used. Call
94 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
95 (do_test): Call do_test_clock to separately test
96 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
97 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
98 * nptl/tst-mutex9.c: Likewise.
99 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
100 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
102 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
104 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
106 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
108 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
110 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
112 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
114 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
115 (GLIBC_2.30): Likewise.
116 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
117 (GLIBC_2.30): Likewise.
118 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
119 (GLIBC_2.30): Likewise.
120 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
121 (GLIBC_2.30): Likewise.
122 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
123 (GLIBC_2.30): Likewise.
124 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
127 (GLIBC_2.30): Likewise.
128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
129 (GLIBC_2.30): Likewise.
130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
131 (GLIBC_2.30): Likewise.
132 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
133 (GLIBC_2.30): Likewise.
134 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
135 (GLIBC_2.30): Likewise.
136 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
137 (GLIBC_2.30): Likewise.
138 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
140 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
141 (GLIBC_2.30): Likewise.
142 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
143 (GLIBC_2.30): Likewise.
144 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
145 (GLIBC_2.30): Likewise.
146 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
147 (GLIBC_2.30): Likewise.
149 nptl: Rename lll_timedlock to lll_clocklock and add clockid
150 parameter to indicate the clock that the abstime parameter should
151 be measured against in preparation for adding
152 pthread_mutex_clocklock.
153 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
154 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
155 from __lll_timedlock and add clockid parameter.
156 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
158 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
159 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
160 rather than __gettimeofday so that clockid can be used. This means
161 that conversion from struct timeval is no longer required.
162 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
164 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
165 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
166 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
167 from lll_timedlock_elision, add clockid parameter and use
168 meaningful names for other parameters. (__pthread_mutex_timedlock):
169 Pass CLOCK_REALTIME where necessary to lll_clocklock and
170 lll_clocklock_elision.
171 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
172 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
173 clockid parameter. (__lll_clocklock_elision): Rename from
174 __lll_timedlock_elision and add clockid parameter.
175 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
176 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
177 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
178 (__lll_lock_elision): Call __lll_clocklock_elision rather than
179 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
180 (LLL_LOCK): Likewise.
181 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
182 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
184 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
185 pthread_rwlock_clockwrlock which behave like
186 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
187 respectively, except they always measure abstime against the
188 supplied clockid. The functions currently support CLOCK_REALTIME
189 and CLOCK_MONOTONIC and return EINVAL if any other clock is
191 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
192 pthread_wrlock_clockwrlock.
193 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
194 pthread_rwlock_clockwrlock.c.
195 * nptl/pthread_rwlock_clockrdlock.c: Implement
196 pthread_rwlock_clockrdlock.
197 * nptl/pthread_rwlock_clockwrlock.c: Implement
198 pthread_rwlock_clockwrlock.
199 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
200 clockid parameter and verify that it indicates a supported clock on
201 entry so that we fail even if it doesn't end up being used. Pass
202 that clock on to futex_abstimed_wait when necessary.
203 (__pthread_rwlock_wrlock_full): Likewise.
204 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
205 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
206 be used because there's no timeout.
207 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
208 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
209 be used because there is no timeout.
210 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
211 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
213 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
214 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
216 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
217 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
218 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
219 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
220 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
221 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
222 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
223 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
224 (GLIBC_2.30): Likewise.
225 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
226 (GLIBC_2.30): Likewise.
227 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
228 (GLIBC_2.30): Likewise.
229 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
230 (GLIBC_2.30): Likewise.
231 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
232 (GLIBC_2.30): Likewise.
233 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
235 (GLIBC_2.30): Likewise.
236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
237 (GLIBC_2.30): Likewise.
238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
239 (GLIBC_2.30): Likewise.
240 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
241 (GLIBC_2.30): Likewise.
242 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
243 (GLIBC_2.30): Likewise.
244 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
245 (GLIBC_2.30): Likewise.
246 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
247 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
248 (GLIBC_2.30): Likewise.
249 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
250 (GLIBC_2.30): Likewise.
251 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
252 (GLIBC_2.30): Likewise.
253 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
254 (GLIBC_2.30): Likewise.
255 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
256 pthread_rwlock_clockwrlock timeout tests to match the existing
257 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
258 * nptl/tst-rwlock14.c (do_test): Likewise.
259 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
260 ancillary output throughout. (tf): Accept thread_args structure so
261 that rwlock, a clockid and function name can be passed to the
262 thread. (do_test_clock): Rename from do_test. Accept clockid
263 parameter to specify test clock. Use the magic clockid value of
264 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
265 pthread_rwlock_timedwrlock should be tested, otherwise pass the
266 specified clockid to pthread_rwlock_clockrdlock and
267 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
268 (do_test): Call do_test_clock to test each clockid in turn.
269 * nptl/tst-rwlock7.c: Likewise.
270 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
271 thread_args structure so that the (now int) thread number, the
272 clockid and the function name can be passed to the thread.
273 (do_test_clock): Renamed from do_test. Pass the necessary
274 thread_args when creating the reader and writer threads. Use
275 xpthread_create and xpthread_join.
276 (do_test): Call do_test_clock to test each clockid in turn.
277 * manual/threads.texi: Add documentation for
278 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
280 nptl: pthread_rwlock: Move timeout validation into _full functions
281 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
282 Check validity of abstime parameter.
283 (__pthread_rwlock_rwlock_full): Likewise.
284 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
285 Remove check for validity of abstime parameter.
286 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
289 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
290 like pthread_cond_timedwait except it always measures abstime
291 against the supplied clockid.
292 * nptl/Makefile: Add tst-cond26 and tst-cond27
293 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
294 * sysdeps/nptl/pthread.h: Likewise
295 * nptl/forward.c: Add __pthread_cond_clockwait
296 * nptl/forward.c: Likewise
297 * nptl/pthreadP.h: Likewise
298 * sysdeps/nptl/pthread-functions.h: Likewise
299 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
300 clockid parameter and comment describing why we don't need to check
301 its value. Use that value when calling
302 futex_abstimed_wait_cancelable rather than reading the clock from
303 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
304 (__pthread_cond_timedwait): Read clock from flags and pass it to
305 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
306 function with weak alias from pthread_cond_clockwait.
307 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
308 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
309 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
310 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
311 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
312 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
313 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
314 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
315 (GLIBC_2.30): Likewise.
316 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
317 (GLIBC_2.30): Likewise.
318 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
319 (GLIBC_2.30): Likewise.
320 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
321 (GLIBC_2.30): Likewise.
322 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
323 (GLIBC_2.30): Likewise.
324 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
326 (GLIBC_2.30): Likewise.
327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
328 (GLIBC_2.30): Likewise.
329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
330 (GLIBC_2.30): Likewise.
331 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
332 (GLIBC_2.30): Likewise.
333 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
334 (GLIBC_2.30): Likewise.
335 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
336 (GLIBC_2.30): Likewise.
337 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
338 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
339 (GLIBC_2.30): Likewise.
340 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
341 (GLIBC_2.30): Likewise.
342 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
343 (GLIBC_2.30): Likewise.
344 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
345 (GLIBC_2.30): Likewise.
346 * nptl/tst-cond11.c (run_test): Support testing
347 pthread_cond_clockwait too by using a special magic
348 CLOCK_USE_ATTR_CLOCK value to determine whether to call
349 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
350 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
351 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
352 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
353 clocks to pthread_cond_clockwait.
354 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
355 struct timespec and pthread_cond_clockwait.
356 * manual/threads.texi: Document pthread_cond_clockwait.
358 nptl: Add POSIX-proposed sem_clockwait which behaves just like
359 sem_timedwait, but measures abstime against the specified clock.
360 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
361 clockid parameters to indicate the clock which abstime should be
363 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
364 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
366 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
368 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
369 sem_clockwait.c to match those used for sem_timedwait.c.
370 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
371 * nptl/Versions (GLIBC_2.30): Likewise.
372 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
373 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
374 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
375 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
376 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
377 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
378 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
379 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
380 (GLIBC_2.30): Likewise.
381 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
382 (GLIBC_2.30): Likewise.
383 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
384 (GLIBC_2.30): Likewise.
385 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
386 (GLIBC_2.30): Likewise.
387 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
388 (GLIBC_2.30): Likewise.
389 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
391 (GLIBC_2.30): Likewise.
392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
393 (GLIBC_2.30): Likewise.
394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
395 (GLIBC_2.30): Likewise.
396 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
397 (GLIBC_2.30): Likewise.
398 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
399 (GLIBC_2.30): Likewise.
400 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
401 (GLIBC_2.30): Likewise.
402 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
403 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
404 (GLIBC_2.30): Likewise.
405 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
406 (GLIBC_2.30): Likewise.
407 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
408 (GLIBC_2.30): Likewise.
409 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
410 (GLIBC_2.30): Likewise.
411 * nptl/tst-sem17.c: Add new test for passing invalid clock to
413 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
414 tests to also test sem_clockwait.
415 * manual/threads.texi: Document sem_clockwait.
417 nptl: Add clockid parameter to futex timed wait calls
418 * sysdeps/nptl/lowlevellock-futex.h,
419 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
420 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
421 takes a clockid rather than a special clockbit.
422 * sysdeps/nptl/lowlevellock-futex.h: Add
423 lll_futex_supported_clockid so that client functions can check
424 whether their clockid parameter is valid even if they don't
425 ultimately end up calling lll_futex_clock_wait_bitset.
426 * sysdeps/nptl/futex-internal.h,
427 sysdeps/unix/sysv/linux/futex-internal.h
428 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
429 clockid_t parameter to indicate which clock the absolute time
430 passed should be measured against. Pass that clockid onto
431 lll_futex_clock_wait_bitset. Add invalid clock as reason for
433 * sysdeps/nptl/futex-internal.h,
434 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
435 futex_abstimed_supported_clockid so that client functions can check
436 whether their clockid parameter is valid even if they don't
437 ultimately end up calling futex_abstimed_wait.
438 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
439 code to calculate relative timeout for
440 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
441 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
442 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
443 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
444 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
445 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
446 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
448 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
451 * posix/tst-mmap-offset.c: Mention BZ #24699.
452 (do_test_bz21270): Rename to do_test_large_offset and use
453 mmap64_maximum_offset to check for maximum expected offset value.
454 * sysdeps/generic/mmap_info.h: New file.
455 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
456 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
459 2019-07-10 DJ Delorie <dj@redhat.com>
460 Sergei Trofimovich <slyfox@inbox.ru>
464 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
466 * nss/tst-nss-db-endgrent.c: New.
467 * nss/tst-nss-db-endgrent.root: New.
468 * nss/tst-nss-db-endpwent.c: New.
469 * nss/tst-nss-db-endpwent.root: New.
470 * nss/Makefile: Add new tests.
471 * support/links-dso-program-c.c: Add selinux dependency.
472 * support/links-dso-program.cc: Add selinux dependency.
473 * support/Makefile: Build those with -lselinux if enabled.
475 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
477 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
478 DT_AARCH64_VARIANT_PCS check.
479 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
480 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
483 2019-07-10 Andreas Schwab <schwab@suse.de>
486 * malloc/malloc.h (__malloc_check_init): Don't declare.
487 * include/malloc.h (__malloc_check_init): Likewise.
488 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
489 * manual/memory.texi (__malloc_check_init): Don't mention it.
491 2019-07-10 Mao Han <han_mao@c-sky.com>
493 * locale/Makefile: Fix tst-locale-locpath arguments passing.
495 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
497 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
498 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
500 2019-07-08 DJ Delorie <dj@redhat.com>
503 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
504 * io/tst-ftw-lnk.c: New test.
505 * io/Makefile: Run it.
507 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
509 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
510 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
511 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
512 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
513 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
514 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
516 Adjust implementation path.
517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
518 Adjust implementation path.
519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
520 Adjust implementation path.
521 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
522 (libm-sysdep_routines): Add s_log* objects.
523 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
524 CFLAGS-s_logb-power7.c): New fule.
525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
527 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
531 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
534 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
537 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
541 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
544 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
547 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
551 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
554 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
556 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
557 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
558 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
560 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
561 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
562 powerpc32 integer 0 converting to -0.
564 * benchtests/Makefile (bench-math): Add logb.
565 * benchtests/logb-inputs: New file.
566 * benchtests/logbf-inputs: New file.
568 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
569 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
570 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
571 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
576 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
577 sysdep_routines): Add s_modf* objects.
578 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
579 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
582 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
586 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
589 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
592 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
595 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
598 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
600 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
601 twoM500, twoM600, two60factor, pdnum): Remove.
602 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
603 (__ieee754_hypot): Replace static variables with inline definition,
604 remove ununsed branches.
605 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
606 (libm-sysdep_routines): Remove e_hypot-* objects.
607 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
608 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
610 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
611 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
612 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
613 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
614 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
616 * benchtests/Makefile (bench-math): Add hypot.
617 * benchtests/hypot-inputs: New file.
619 2019-07-08 Vincent Chen <vincentc@andestech.com>
621 * sysdeps/unix/sysv/linux/dl-vdso.h
622 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
624 2019-07-04 Andreas Schwab <schwab@suse.de>
627 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
629 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
631 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
632 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
633 * sysdeps/aarch64/sys/ifunc.h: New file.
634 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
635 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
637 2019-07-01 Florian Weimer <fweimer@redhat.com>
640 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
641 Replace __vfork with __libpthread_version_placeholder for
643 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
644 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
646 * nptl/pt-vfork.c: Remove file.
647 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
648 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
649 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
650 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
651 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
652 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
653 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
654 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
655 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
656 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
657 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
658 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
659 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
660 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
661 Remove vfork, __vfork.
662 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
664 (GLIBC_2.1.2): Replace __vfork with
665 __libpthread_version_placeholder.
666 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
667 Remove vfork, __vfork.
668 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
670 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
672 (GLIBC_2.1.2): Replace __vfork with
673 __libpthread_version_placeholder.
674 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
676 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
677 (GLIBC_2.4): Remove vfork, __vfork.
678 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
679 (GLIBC_2.0): Remove vfork.
680 (GLIBC_2.1.2): Replace __vfork with
681 __libpthread_version_placeholder.
682 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
683 (GLIBC_2.18): Remove vfork, __vfork.
684 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
685 (GLIBC_2.0): Remove vfork.
686 (GLIBC_2.2): Remove __vfork.
687 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
688 (GLIBC_2.2): Remove vfork, __vfork.
689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
690 (GLIBC_2.0): Remove vfork.
691 (GLIBC_2.1.2): Replace __vfork with
692 __libpthread_version_placeholder.
693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
694 (GLIBC_2.3): Remove vfork, __vfork.
695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
696 (GLIBC_2.17): Likewise.
697 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
698 (GLIBC_2.0): Remove vfork.
699 (GLIBC_2.1.2): Replace __vfork with
700 __libpthread_version_placeholder.
701 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
702 (GLIBC_2.2): Remove vfork, __vfork.
703 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
705 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
706 (GLIBC_2.0): Remove vfork.
707 (GLIBC_2.1.2): Replace __vfork with
708 __libpthread_version_placeholder.
709 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
710 (GLIBC_2.2): Remove vfork, __vfork.
711 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
712 (GLIBC_2.2.5): Likewise.
713 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
714 (GLIBC_2.16): Likewise.
715 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
716 Remove __errno_location.
718 2019-07-02 Florian Weimer <fweimer@redhat.com>
721 * malloc/Depend: Add nptl and htl, due to potential indirect
722 libpthread dependency of memusagestat.
724 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
726 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
729 2019-07-01 Florian Weimer <fweimer@redhat.com>
731 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
732 variant for arm-linux-gnueabi.
734 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
737 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
739 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
740 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
741 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
742 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
743 and tst-cet-legacy-mod-6c.
744 (CFLAGS-tst-cet-legacy-5a.c): New.
745 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
746 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
747 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
748 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
749 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
750 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
751 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
752 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
753 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
754 ($(objpfx)tst-cet-legacy-5a): Likewise.
755 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
756 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
757 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
758 ($(objpfx)tst-cet-legacy-5b): Likewise.
759 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
760 (tst-cet-legacy-5b-ENV): Likewise.
761 ($(objpfx)tst-cet-legacy-6a): Likewise.
762 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
763 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
764 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
765 ($(objpfx)tst-cet-legacy-6b): Likewise.
766 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
767 (tst-cet-legacy-6b-ENV): Likewise.
768 * sysdeps/x86/tst-cet-legacy-5.c: New file.
769 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
770 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
771 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
772 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
773 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
774 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
775 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
776 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
777 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
778 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
779 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
780 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
781 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
783 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
785 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
786 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
787 (__fegetround_ISA300) New.
788 (__fegetround_ISA2) New.
789 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
790 (_FPU_MFFS): Move implementation...
792 (_FPU_MFFSL): Move implementation....
793 (_FPU_GET_RC_ISA300): Here. New.
794 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
795 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
796 (fegetenv_status): New.
797 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
798 instead of fegetenv_register().
799 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
801 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
803 * benchtests/bench-math-inlines.c: Increase iterations.
804 * benchtests/bench-memcmp.c: Likewise.
805 * benchtests/bench-rawmemchr.c: Likewise.
806 * benchtests/bench-strcmp.c: Likewise.
807 * benchtests/bench-strcpy_chk.c: Likewise.
808 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
809 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
810 (INNER_LOOP_ITERS_SMALL): Likewise.
811 * benchtests/bench-strncat.c: Increase iterations.
812 * benchtests/bench-strncmp.c: Increase iterations.
813 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
814 * benchtests/bench-strrchr.c: Increase iterations.
815 * benchtests/bench-strstr.c: Keep iterations unchanged.
816 * benchtests/bench-strtod.c: Increase iterations.
818 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
820 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
821 with INNER_LOOP_ITERS_LARGE.
822 * benchtests/bench-memchr.c: Likewise.
823 * benchtests/bench-rawmemchr.c: Likewise.
824 * benchtests/bench-strcat.c: Likewise.
825 * benchtests/bench-strchr.c: Likewise.
826 * benchtests/bench-string.h: Likewise.
827 * benchtests/bench-strlen.c: Likewise.
828 * benchtests/bench-strncpy.c: Likewise.
829 * benchtests/bench-strnlen.c: Likewise.
831 2019-06-28 Florian Weimer <fweimer@redhat.com>
833 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
834 Use mmap instead of malloc. malloc with M_PERTURB writes to the
835 entire allocated memory range.
837 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
839 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
840 (prepare_version_base): New helper inline function.
841 (prepare_version): New macro replacing PREPARE_VERSION.
842 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
844 2019-06-28 Florian Weimer <fweimer@redhat.com>
847 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
848 mismatch in a versioned symbol reference.
849 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
850 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
851 tst-sonamemove-dlopen.
852 (module-names): Add tst-sonamemove-linkmod1,
853 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
854 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
855 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
856 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
857 (tst-sonamemove-runmod1.so): Link against
858 tst-sonamemove-runmod2.so.
859 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
860 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
861 tst-sonamemove-runmod2.so.
862 (tst-sonamemove-dlopen): Link with -ldl.
863 (tst-sonamemove-dlopen.out): Likewise.
864 * elf/tst-sonamemove-link.c: New file.
865 * elf/tst-sonamemove-dlopen.c: Likewise.
866 * elf/tst-sonamemove-linkmod1.c: Likewise.
867 * elf/tst-sonamemove-linkmod1.map: Likewise.
868 * elf/tst-sonamemove-runmod1.c: Likewise.
869 * elf/tst-sonamemove-runmod1.map: Likewise.
870 * elf/tst-sonamemove-runmod2.c: Likewise.
871 * elf/tst-sonamemove-runmod2.map: Likewise.
873 2019-06-28 Florian Weimer <fweimer@redhat.com>
875 * support/xdlfcn.h (xdlvsym): Declare function.
876 * support/xdlfcn.c (xdlvsym): Define funciton.
878 2019-06-28 Florian Weimer <fweimer@redhat.com>
881 io: Remove the copy_file_range emulation.
882 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
883 not define and call copy_file_range_compat.
884 * io/Makefile (tests-static, tests-internal): Do not add
885 tst-copy_file_range-compat.
886 * io/copy_file_range-compat.c: Remove file.
887 * io/copy_file_range.c (copy_file_range): Define as stub.
888 * io/tst-copy_file_range-compat.c: Remove file.
889 * io/tst-copy_file_range.c (xdevfile): Remove variable.
890 (typical_sizes): Update comment. Remove 16K sizes.
891 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
893 (find_maximum_offset, pipe_as_source, pipe_as_destination)
894 (delayed_write_failure_beginning, delayed_write_failure_end)
895 (cross_device_failure, enospc_failure_1, enospc_failure)
896 (oappend_failure): Remove functions.
897 (tests): Adjust test case list.
898 (do_test): Remove file system search code. Check for ENOSYS from
899 copy_file_range. Do not free xdevfile.
900 * manual/llio.texi (Copying File Data): Document ENOSYS error from
901 copy_file_range. Do not document the EXDEV error, which future
902 kernels may not report. Update the wording to reflect that
903 further errors are possible.
904 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
905 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
907 * sysdeps/unix/sysv/linux/arm/kernel-features.h
908 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
910 * sysdeps/unix/sysv/linux/kernel-features.h
911 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
913 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
914 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
916 * sysdeps/unix/sysv/linux/sh/kernel-features.h
917 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
920 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
922 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
923 used as a mask for the mode argument of __vfprintf_internal.
924 * stdio-common/printf-parse.h (printf_arg): New union member:
926 * stdio-common/vfprintf-internal.c
927 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
928 (PARSE_FLOAT_VA_ARG): Likewise.
929 (SETUP_FLOAT128_INFO): Likewise.
930 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
932 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
933 floating-point value to the new union member, pa_float128.
934 (printf_positional): Zero-initialize args_value[cnt] with memset.
936 2019-06-27 Florian Weimer <fweimer@redhat.com>
939 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
940 buffer size if necessary.
941 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
943 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
945 (large_buffer_checks): Likewise.
946 (do_test): Call large_buffer_checks.
948 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
950 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
951 * sysdeps/x86/dl-lookupcfg.h: Here.
952 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
954 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
956 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
957 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
958 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
960 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
961 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
962 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
963 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
964 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
966 * sysdeps/powerpc/powerpc32/fpu/Makefile
967 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
968 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
969 and fctidz optimization.
970 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
971 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
973 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
974 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
975 CFLAGS-s_lround-power5+.c): New rule.
976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
996 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
997 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
998 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
999 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
1000 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1001 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1002 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
1004 2019-06-26 Vincent Chen <vincentc@andestech.com>
1006 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
1007 specific system calls, fp_udfiex_crtl and udftrap.
1009 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
1011 * nptl/tst-eintr1.c (tf1): Add return statement.
1012 (do_test): Remove unused th variable.
1014 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
1016 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
1017 Return error if get_character fails.
1019 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
1021 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1023 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
1026 * localedata/locales/szl_PL (day): Use the correct Unicode
1027 sequences instead of non-ASCII characters.
1029 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
1032 * localedata/locales/szl_PL (abday): Spelling corrections.
1036 (alt_mon): This, then apply spelling corrections.
1037 (mon): New entry, month names in the genitive case.
1039 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
1042 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
1043 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
1044 (thousands_sep): Likewise.
1045 (grouping): Set to 3;3.
1047 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
1049 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
1050 PREPARE_VERSION_KNOWN.
1051 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1052 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
1054 (VDSO_HASH_LINUX_2_6_39): Likewise.
1055 (VDSO_NAME_LINUX_4_9): Likewise.
1056 (VDSO_HASH_LINUX_4_9): Likewise.
1057 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
1058 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1059 (_libc_vdso_platform_setup): Likewise.
1060 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
1061 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
1063 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
1066 2019-06-20 Mike Crowe <mac@mcrowe.com>
1068 * nptl/eintr.c: Use libsupport.
1069 * nptl/tst-eintr1.c: Likewise.
1070 * nptl/tst-eintr2.c: Likewise.
1071 * nptl/tst-eintr3.c: Likewise.
1072 * nptl/tst-eintr4.c: Likewise.
1073 * nptl/tst-eintr5.c: Likewise.
1074 * nptl/tst-mutex-errorcheck.c: Likewise.
1075 * nptl/tst-mutex5.c: Likewise.
1077 * support/test-driver.h: Add verbose_printf macro.
1079 * support/xtime.h: Add xclock_now() helper function.
1081 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
1082 Florian Weimer <fweimer@redhat.com>
1085 * libio/genops.c (_IO_unbuffer_all)
1086 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
1087 buffers and access _IO_FILE_complete members of legacy libio streams.
1088 * libio/tst-bz24228.c: New file.
1089 * libio/tst-bz24228.map: Likewise.
1090 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
1091 [build-shared] (generated): Add tst-bz24228.mtrace and
1093 [run-built-tests && build-shared] (tests-special): Add
1094 $(objpfx)tst-bz24228-mem.out.
1095 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
1096 ($(objpfx)tst-bz24228-mem.out): New rule.
1098 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
1100 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
1101 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
1102 (__FPU_MFFSL): Likewise.
1103 (_FPU_SETCW): Likewise.
1105 2019-06-19 Stan Shebs <stanshebs@google.com>
1106 Raoni Fassina Firmino <raoni@linux.ibm.com>
1109 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
1110 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
1111 static-linking version.
1112 * sysdeps/unix/sysv/linux/powerpc/Makefile
1113 (tests-static): Add test-gettimebasefreq-static.
1115 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
1118 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
1121 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
1122 between the currency symbol and the minus sign).
1123 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1125 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
1128 * string/test-strcasestr.c (check_result): Add NULL check.
1129 * nss/tst-field.c (check_rewrite): Likewise.
1130 * benchtests/bench-strstr.c (do_one_test): Likewise.
1131 * string/test-strstr.c (check_result): Likewise.
1132 * argp/argp-test.c (popt): Increase size of buf to 12.
1133 * benchtests/bench-malloc-simple.c (bench):
1134 Do not initialize tests array out of bounds.
1136 2019-06-19 Florian Weimer <fweimer@redhat.com>
1139 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
1142 2019-06-18 Florian Weimer <fweimer@redhat.com>
1145 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
1146 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
1147 fail when called from dlopen.
1148 * elf/Makefile [have-fpie && build-shared] (tests): Add
1150 (tst-dlopen-pie): Link with -ldl.
1151 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
1152 * elf/tst-dlopen-pie.c (do_test): New file.
1154 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1157 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
1158 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
1159 between the currency symbol and the minus sign).
1160 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1161 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
1163 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1165 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
1166 sysdep-rtld-routines): Remove rules.
1167 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
1168 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
1169 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
1170 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
1171 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
1172 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
1173 vDSO path for SHARED.
1174 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
1175 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
1176 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1177 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1178 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
1179 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
1181 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1182 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
1183 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
1184 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
1185 CFLAGS-s_llround-power5+.c): New rule.
1186 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
1188 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
1190 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
1192 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
1194 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
1196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
1197 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
1198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
1199 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
1200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
1201 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
1202 * sysdeps/powerpc/powerpc64/fpu/Makefile
1203 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
1204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1205 (libm-sysdep_routines): Remove s_llround-* objects.
1206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
1208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
1210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
1212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
1214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
1216 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1217 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1218 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
1219 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
1220 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
1221 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
1222 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
1223 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
1224 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1225 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1226 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1227 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1228 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1229 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1231 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
1232 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
1233 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
1234 * sysdeps/powerpc/powerpc32/fpu/Makefile
1235 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
1236 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
1238 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
1239 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
1240 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
1241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1242 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
1243 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
1244 CFLAGS-s_lrint-ppc32.c): New rule.
1245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1255 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1256 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1257 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1258 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
1261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
1263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
1265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
1267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
1270 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1271 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
1273 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
1274 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
1276 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
1278 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
1280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
1281 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
1282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
1283 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
1284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
1285 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
1286 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
1287 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
1288 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1289 (libm-sysdep_routines): Remove s_llrint-* objects.
1290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
1292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
1294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1295 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
1296 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
1297 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
1298 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
1299 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
1300 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1301 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
1302 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1303 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1305 2019-06-14 Florian Weimer <fweimer@redhat.com>
1307 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
1308 argument to __glibc_has_include to inhibit macro expansion.
1310 2019-06-14 Florian Weimer <fweimer@redhat.com>
1312 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
1313 function-like macro, so that __has_include can inhibit expansion
1316 2019-06-13 Joseph Myers <joseph@codesourcery.com>
1318 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1322 Allow memset in libc.so.
1324 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1326 * sysdeps/aarch64/dl-dtprocnum.h: New file.
1327 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
1328 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
1329 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
1330 symbols at load time.
1331 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
1333 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1335 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
1336 (DT_AARCH64_VARIANT_PCS): Define.
1338 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1341 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
1343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
1347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
1348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1351 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1352 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
1353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1354 Remove s_finite* objects.
1355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
1356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
1357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
1358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
1360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1361 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1362 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
1363 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1364 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
1366 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
1367 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
1369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1370 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
1372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
1374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
1376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1380 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1381 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
1382 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1383 Remove s_isinf* and s_isinf* objects.
1384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
1385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
1386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
1387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
1389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1390 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1391 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
1392 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1393 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
1395 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
1396 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
1398 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
1399 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
1400 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1402 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
1404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
1406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
1408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
1410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
1412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
1415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
1418 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1419 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
1420 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1421 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
1422 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1423 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
1424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
1425 Remove s_isnan-* and s_isnanf-* objects.
1426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
1427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
1428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
1430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
1431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
1432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
1433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1435 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1436 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1437 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1438 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1439 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1440 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
1441 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1442 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
1444 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
1445 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
1447 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
1448 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
1449 CFLAGS-bench-isfinite.c): New rule.
1450 * benchtests/isnan-input: New file.
1451 * benchtests/isinf-input: New file.
1452 * benchtests/isfinite-input: New file.
1454 * sysdeps/powerpc/fpu/s_copysign.c: New file.
1455 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
1456 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
1457 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
1458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1459 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
1461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
1469 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1470 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
1471 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
1472 Remove s_copysign-power6 s_copysign-ppc64.
1473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
1475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
1477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
1479 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1480 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
1481 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1482 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
1484 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
1485 round_to_integer_float, round_mode): Add RINT handling.
1486 (reset_fenv_mode): New symbol.
1487 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
1488 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
1489 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
1490 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1491 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1492 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1494 2019-06-12 Florian Weimer <fweimer@redhat.com>
1497 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
1498 * libio/freopen.c (freopen): Use it.
1500 2019-06-12 Florian Weimer <fweimer@redhat.com>
1502 Linux: Deprecate sysctl.
1503 * include/sysctl.h (__sysctl): Remove declaration.
1504 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
1506 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
1507 (sysctl): Add deprecation attribute.
1508 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
1509 directly, to avoid the deprecation warning. Do not include
1511 (__sysctl): Remove hidden alias.
1513 2019-06-12 Florian Weimer <fweimer@redhat.com>
1515 Linux: Use kernel headers for statx definitions if available.
1516 * include/bits/statx-generic.h: New file.
1517 * include/bits/types/struct_statx.h: Likewise.
1518 * include/bits/types/struct_statx_timestamp.h: Likewise.
1519 * io/Makefile (headers): Add bits/statx-generic.h.
1520 * io/bits/statx-generic.h: New file. Partly copied from
1522 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
1523 define original_statx.
1524 * io/bits/types/struct_statx.h: Likewise.
1525 * io/bits/types/struct_statx_timestamp.h: Likewise.
1526 (statx_generic): Use original_statx.
1527 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
1528 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
1530 2019-06-12 Florian Weimer <fweimer@redhat.com>
1532 * misc/sys/cdefs.h (__glibc_has_include): Define.
1534 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1536 * string/memmem.c (__memmem): Rewrite to improve performance.
1538 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1540 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
1542 (two_way_long_needle): Block inlining.
1543 * string/strstr.c (strstr2): Add new function.
1544 (strstr3): Likewise.
1545 (STRSTR): Completely rewrite strstr to improve performance.
1547 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
1549 * benchtests/bench-strstr.c (test_hard_needle): New function.
1551 2019-06-10 Joseph Myers <joseph@codesourcery.com>
1553 * malloc/tst-calloc.c: Include <libc-diag.h>.
1554 (null_test): Ignore -Wunused-result around calls to calloc.
1555 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
1556 (do_test): Ignore -Wunused-result around call to malloc.
1558 2019-06-07 Florian Weimer <fweimer@redhat.com>
1560 Linux: Add getdents64 system call.
1561 * include/dirnent.h (getdents): Add comment and change buffer
1562 argument type to void *.
1563 (getdents64): Likewise. Add hidden prototype.
1564 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
1566 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
1568 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
1569 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
1570 argument type to void *.
1571 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
1572 Add hidden definition and getdents64 alias.
1573 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1575 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
1576 * manual/filesys.texi (Accessing Directories): Add Low-level
1577 Directory Access node reference.
1578 (Opening a Directory): Cross-reference it.
1579 (Low-level Directory Access): New node.
1580 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1582 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1584 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1585 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1587 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1589 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1591 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1593 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1595 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1597 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1599 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1600 (GLIBC_2.30): Likewise.
1601 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1602 (GLIBC_2.30): Likewise.
1603 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1604 (GLIBC_2.30): Likewise.
1605 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1606 (GLIBC_2.30): Likewise.
1607 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1610 (GLIBC_2.30): Likewise.
1611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1612 (GLIBC_2.30): Likewise.
1613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1614 (GLIBC_2.30): Likewise.
1615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1616 (GLIBC_2.30): Likewise.
1617 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1619 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1621 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1623 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1624 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1626 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1628 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1630 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1633 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
1635 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
1639 (_FPU_GETCW): Use __FPU_MFFS().
1640 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
1642 2019-06-06 Florian Weimer <fweimer@redhat.com>
1644 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
1645 internal GCC preprocessor identifier __has_include__.
1647 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
1649 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
1650 with call to equivalent function.
1652 2019-06-04 Florian Weimer <fweimer@redhat.com>
1654 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
1655 (do_release_shlib): Adjust for __twalk_r.
1656 (__gconv_release_shlib): Call __twalk_r.
1658 2019-06-04 Andreas Schwab <schwab@suse.de>
1661 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
1662 no irreversible characters occurred.
1663 * iconv/gconv_simple.c (internal_ucs4_loop)
1664 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
1665 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
1666 (ucs4_internal_loop_single, internal_ucs4le_loop)
1667 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
1668 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
1669 (ucs4le_internal_loop_single): Add const to outend.
1670 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
1671 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
1672 * iconv/Makefile (tests): Add tst-iconv7.
1673 * iconv/tst-iconv7.c: New file.
1675 2019-06-03 Joseph Myers <joseph@codesourcery.com>
1677 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
1679 2019-06-01 Florian Weimer <fweimer@redhat.com>
1681 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
1682 * sysdeps/unix/sysv/linux/arm/Makefile
1683 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
1684 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
1685 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
1686 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
1687 compatibility symbols.
1689 2019-05-31 Florian Weimer <fweimer@redhat.com>
1691 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
1692 system calls for the arm architecture: breakpoint, get_tls,
1693 set_tls, usr26, usr32.
1695 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1697 * sysdeps/powerpc/Makefile
1698 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
1699 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
1700 Declare '.machine power7' to get support for ldbrx.
1701 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
1702 directive based on the directory of the file.
1703 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1704 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1705 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
1706 '.machine' directive.
1707 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
1708 (VADDUQM_V7_V8): Remove.
1709 (__STRCASECMP): Replace macros with actual instructions.
1710 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
1711 '.machine' directive.
1712 (VCLZD_V8_v7): Remove.
1713 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
1715 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1717 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
1719 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
1721 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1723 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1725 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
1726 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
1727 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
1728 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
1729 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1730 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1732 2019-05-28 mansayk <6688000@gmail.com>
1735 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
1737 2019-05-28 mansayk <6688000@gmail.com>
1740 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
1741 (abmon): Likewise, but remove the trailing dots.
1743 2019-05-28 Joseph Myers <joseph@codesourcery.com>
1745 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
1747 2019-05-27 Florian Weimer <fweimer@redhat.com>
1749 * nptl/nptl-init.c: Add comment.
1751 2019-05-24 Florian Weimer <fweimer@redhat.com>
1753 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
1754 struct in_addr/struct in6_addr alignment.
1756 2019-05-23 Joseph Myers <joseph@codesourcery.com>
1758 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1759 (F_SEAL_FUTURE_WRITE): New macro.
1761 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
1763 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
1764 * elf/tst-ldconfig-bad-aux-cache.c: New file.
1765 * elf/tst-ldconfig_aux-cache.root: New directory.
1766 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
1767 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
1768 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
1770 2019-05-22 Zack Weinberg <zackw@panix.com>
1772 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
1774 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
1775 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
1777 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
1778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
1782 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
1783 Issue an #error if used with a compiler in SPE-float mode.
1784 * sysdeps/powerpc/powerpc32/__longjmp_common.S
1785 * sysdeps/powerpc/powerpc32/setjmp_common.S
1786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
1788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
1789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
1790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1792 Remove code to preserve SPE register state.
1794 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1795 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1796 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
1797 Remove __SPE__ ifndefs.
1799 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
1801 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
1802 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
1803 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
1804 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
1805 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
1806 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
1807 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
1808 (INNER_LOOP_ITERS_MEDIUM): New define.
1809 (INNER_LOOP_ITERS_SMALL): New define.
1810 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
1811 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
1812 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
1813 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
1814 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
1816 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
1818 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
1820 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
1821 (SEMTIMEDOP_IPC_ARGS): Likewise.
1823 2019-05-21 Florian Weimer <fweimer@redhat.com>
1826 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
1827 before updating __counter field and release it afterwards. Add
1829 * iconv/gconv.h (struct __gconv_step): Mention synchronization
1830 requirement for __counter member.
1832 2019-05-21 Florian Weimer <fweimer@redhat.com>
1835 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
1836 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
1837 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
1838 instead of __gconv_release_step.
1839 * libio/Makefile (tests): Add tst-wfile-gconv.
1840 (tests-container): Add tst-wfile-ascii.
1841 (tst-wfile-gconv-ENV): Enable mtrace.
1842 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
1843 (tests-special): Add tst-wfile-gconv-mem.out.
1844 (tst-wfile-gconv.out): Depend on locales.
1845 (tst-wfile-gconv-mem.out): Add mtrace rule.
1846 * libio/tst-wfile-ascii.c: New file.
1847 * libio/tst-wfile-gconv.c: Likewise.
1849 2019-05-20 Florian Weimer <fweimer@redhat.com>
1852 libio: Remove codecvt vtable.
1853 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
1855 * libio/iofgetpos.c (_IO_new_fgetpos): Call
1856 __libio_codecvt_encoding.
1857 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
1858 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1859 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
1860 * libio/iofwide.c (__libio_codecvt): Remove variable.
1861 (_IO_fwide): Do not copy __libio_codecvt.
1862 (__libio_codecvt_out): Rename from do_out and export.
1863 (do_unshift): Remove function.
1864 (__libio_codecvt_in): Rename from do_in and export.
1865 (__libio_codecvt_encoding): Rename from do_encoding and export.
1866 (do_always_noconv): Remove function.
1867 (__libio_codecvt_length): Rename from do_length and export.
1868 (do_max_length): Remove function.
1869 * libio/libio.h (enum __codecvt_result): Remove definition; moved
1871 (struct _IO_codecvt): Remove fields __codecvt_destr,
1872 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
1873 __codecvt_do_encoding, __codecvt_do_always_noconv,
1874 __codecvt_do_length, __codecvt_do_max_length.
1875 * libio/libioP.h (enum __codecvt_result): Define; moved from
1877 (__libio_codecvt_out, __libio_codecvt_in)
1878 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
1880 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
1881 (_IO_wfile_underflow): Call __libio_codecvt_in.
1882 (_IO_wfile_underflow): Likewise.
1883 (_IO_wfile_underflow_mmap): Likewise.
1884 (_IO_wfile_sync): Call __libio_codecvt_encoding,
1885 __libio_codecvt_length.
1886 (adjust_wide_data): Call __libio_codecvt_encoding,
1888 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
1889 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
1890 __libio_codecvt_length.
1892 2019-05-20 Florian Weimer <fweimer@redhat.com>
1894 * support/support.h (support_sbindir_prefix): Declare.
1895 (support_install_rootsbindir): Update comment.
1896 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
1897 * support/support_paths.c (support_sbindir_prefix): Define.
1899 2019-05-20 Mike Crowe <mac@mcrowe.com>
1901 * support/timespec.c: Add backslash to correct newline in failure
1904 * support/timespec.h: Correct confusing comment.
1906 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1908 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
1910 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
1911 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
1912 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
1913 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
1916 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
1919 2019-05-20 Joseph Myers <joseph@codesourcery.com>
1921 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
1922 (NT_ARM_PACG_KEYS): Likewise.
1924 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
1926 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
1927 (tcache_put): Remove redundant assert.
1928 (tcache_get): Remove redundant asserts.
1929 (__libc_malloc): Check tcache count is not zero.
1930 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
1932 2019-05-17 Florian Weimer <fweimer@redhat.com>
1934 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
1936 2019-05-16 Joseph Myers <joseph@codesourcery.com>
1938 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1939 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
1941 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
1943 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1944 (__ASSUME_STATX): Likewise.
1946 2019-05-16 Florian Weimer <fweimer@redhat.com>
1948 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
1950 (LINE_PARSER): Do not map IPv4 addresses.
1951 (internal_nis_gethostent_r): Remove flags argument. Adjust call
1953 (_nss_nis_gethostent_r): Always pass AF_INET to
1954 internal_nis_gethostent_r.
1955 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1957 (_nss_nis_gethostbyname2_r): Adjust call to
1958 internal_nis_gethostent_r.
1959 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
1960 call to internal_nis_gethostent_r.
1961 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
1963 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
1964 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
1965 Remove flags argument. Do not map IPv4 addresses.
1966 (internal_nisplus_gethostent_r): Adjust call to
1967 _nss_nisplus_parse_hostent.
1968 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1969 to _nss_nisplus_parse_hostent.
1970 (_nss_nisplus_gethostbyname2_r): Adjust call to
1971 internal_gethostbyname2_r.
1972 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
1973 Adjust call to internal_gethostbyname2_r.
1974 (_nss_nisplus_gethostbyaddr_r): Adjust call to
1975 _nss_nisplus_parse_hostent.
1976 (_nss_nisplus_gethostbyname4_r): Adjust call to
1977 internal_gethostbyname2_r.
1979 2019-05-16 Florian Weimer <fweimer@redhat.com>
1981 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
1983 (LINE_PARSER): Remove address mapping.
1984 (EXTRA_ARGS_VALUE): Remove flags argument.
1985 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
1986 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
1987 gethostbyname3_multi.
1988 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
1989 _nss_files_gethostbyname3_r.
1990 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
1992 2019-05-16 Florian Weimer <fweimer@redhat.com>
1994 * support/support_test_compare_blob.c (report_blob): Report
1995 incorrect NULL blobs.
1997 2019-05-15 Mark Wielaard <mark@klomp.org>
2000 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
2001 __libc_once_get (once) and static_buf == NULL.
2002 (__dlerror): Check we have a valid key, set result to static_buf
2005 2019-05-15 Andreas Schwab <schwab@suse.de>
2008 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
2009 __codecvt_do_length.
2010 * libio/Makefile (tests): Add tst-wfile-sync.
2011 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
2012 * libio/tst-wfile-sync.c: New file.
2013 * libio/tst-wfile-sync.input: New file.
2015 2019-05-15 Florian Weimer <fweimer@redhat.com>
2017 nss: Turn __nss_database_lookup into a compatibility symbol.
2018 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
2019 __nss_database_lookup.
2020 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
2021 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
2022 __nss_database_lookup.
2023 (__nss_next): Move to …
2024 * nss/compat-lookup.c (nss_next): … here. Change it to fail
2026 (__nss_database_lookup): New function.
2027 * nss/Versions (GLIBC_2.0): Update comment.
2028 (GLIBC_PRIVATE): Export __nss_database_lookup2.
2029 * grp/initgroups.c (internal_getgrouplist): Call
2030 __nss_database_lookup2 instead of __nss_database_lookup.
2031 * nscd/aicache.c (addhstaiX): Likewise.
2032 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2033 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2034 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
2035 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
2036 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
2038 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
2039 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
2040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2042 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
2044 * support/support.h (support_install_rootsbindir): New variable.
2045 * support/support_paths.c: Likewise.
2046 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
2048 2019-05-15 Florian Weimer <fweimer@redhat.com>
2050 * iconv/gconv.h (__gconv_transliterate): Move declaration …
2051 * iconv/gconv_int.h (__gconv_transliterate): … here.
2052 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
2053 * iconv/skeleton.c: Likewise.
2055 2019-05-14 Florian Weimer <fweimer@redhat.com>
2057 Linux: Add the tgkill function.
2058 * bits/signal_ext.h: New file.
2059 * manual/signal.texi (Signaling Another Process): Document tgkill.
2060 * signal/Makefile (headers): Add bits/signal_ext.h.
2061 * signal/signal.h: Include <bits/signal_ext.h>.
2062 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
2063 (tst-tgkill): Link with libpthread.
2064 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
2065 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
2066 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
2067 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2069 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2070 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2071 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2072 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2073 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2074 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2075 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2076 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2077 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2078 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2079 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2081 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2082 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2083 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
2090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
2092 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2093 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2094 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2095 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2096 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2097 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2098 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2099 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2101 2019-05-14 Carlos O'Donell <carlos@redhat.com>
2103 * manual/search.texi (Tree Search Function): Adjust twalk_r
2106 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2109 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
2112 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
2113 * support/support.h (support_bindir_prefix): New variable.
2114 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
2116 * config.make.in (bindir): New variable.
2118 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
2119 (lll_trylock): Call __lll_trylock.
2120 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
2121 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
2122 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2123 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2124 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
2125 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
2126 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2127 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2128 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
2129 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
2130 lowlevellock-futex.h.
2132 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2133 initialization for LLL_LOCK_INITIALIZER different than 0.
2134 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
2135 Assume LLL_LOCK_INITIALIZER being 0.
2136 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
2137 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
2139 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
2140 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
2142 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
2143 Optimize futex call and add systemtap probe.
2145 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
2146 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
2147 __libc_disable_asynccancel, __librt_enable_asynccancel,
2148 __libc_disable_asynccancel, __librt_enable_asynccancel,
2149 __librt_disable_asynccancel): Move to ...
2150 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
2151 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
2152 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
2153 * sysdeps/generic/single-thread.h: New file.
2154 * sysdeps/unix/sysdep.h: Include single-thread.h.
2155 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
2156 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2158 2019-05-08 Mike FABIAN <mfabian@redhat.com>
2161 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
2162 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2164 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2165 * localedata/unicode-gen/PropList.txt: Likewise.
2166 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2167 * localedata/charmaps/UTF-8: Regenerate.
2168 * localedata/locales/i18n_ctype: Likewise.
2169 * localedata/locales/tr_TR: Likewise.
2170 * localedata/locales/translit_circle: Likewise.
2171 * localedata/locales/translit_cjk_compat: Likewise.
2172 * localedata/locales/translit_combining: Likewise.
2173 * localedata/locales/translit_compat: Likewise.
2174 * localedata/locales/translit_font: Likewise.
2175 * localedata/locales/translit_fraction: Likewise.
2177 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
2180 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
2181 (do_set_tcache_count): Only update if count is small enough.
2182 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
2184 2019-05-10 Florian Weimer <fweimer@redhat.com>
2186 * nptl/sem_close.c (struct walk_closure): Define.
2187 (walker): Adjust for __twalk_r.
2188 (sem_close): Call __twalk_r.
2190 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2192 * support/timespec.c (test_timespec_before_impl,
2193 test_timespec_equal_or_after_impl): print timespec member as intmax_t
2196 2019-05-09 Mike Crowe <mac@mcrowe.com>
2198 * nptl/tst-abstime.c: Use libsupport.
2200 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
2201 small bug where only tv.tv_usec was checked which could cause an
2202 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
2205 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
2208 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
2209 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
2211 * nptl/tst-cond11.c: Use libsupport.
2213 * support/timespec.h: New file. Provide timespec helper functions
2214 along with macros in the style of those in check.h.
2215 * support/timespec.c: New file. Implement check functions declared
2216 in support/timespec.h.
2217 * support/timespec-add.c: New file from gnulib containing
2218 timespec_add implementation that handles overflow.
2219 * support/timespec-sub.c: New file from gnulib containing
2220 timespec_sub implementation that handles overflow.
2221 * support/README: Mention timespec.h.
2223 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2226 * nptl/Makefile: Move tst-eintr1 to xtests.
2228 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2230 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
2232 (round_mode): Add definition for TRUNC.
2233 * sysdeps/powerpc/fpu/s_trunc.c: New file.
2234 * sysdeps/powerpc/fpu/s_truncf.c: New file.
2235 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
2236 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2237 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
2239 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
2241 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
2243 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2245 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
2247 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
2249 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
2251 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
2253 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
2254 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
2255 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2256 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
2257 s_truncf-power5+, and s_truncf-ppc64.
2258 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
2259 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
2261 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
2262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
2263 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
2264 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
2266 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
2268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
2269 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
2270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2271 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
2272 s_truncf-power5+, and s_truncf-ppc64.
2273 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
2275 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
2276 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
2278 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
2279 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2280 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2281 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2282 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2284 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2286 (round_mode): Add definition for ROUND.
2287 (round_to_integer_float): Likewise.
2288 * sysdeps/powerpc/fpu/s_round.c: New file.
2289 * sysdeps/powerpc/fpu/s_roundf.c: New file.
2290 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
2291 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2292 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
2294 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
2296 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
2298 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2300 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
2302 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
2304 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
2306 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
2308 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
2309 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
2310 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2311 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
2312 s_roundf-power5+, and s_roundf-ppc64.
2313 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
2314 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
2316 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
2317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
2318 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
2319 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
2321 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
2323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
2324 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
2325 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2326 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
2327 s_roundf-power5+, and s_roundf-ppc64.
2328 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
2330 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
2331 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
2333 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
2334 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2335 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2336 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2337 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2339 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
2341 (round_mode): Add definition for FLOOR.
2342 * sysdeps/powerpc/fpu/s_floor.c: New file.
2343 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
2344 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
2345 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
2350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
2356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
2358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
2360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
2362 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
2363 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
2364 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2365 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
2366 s_floorf-power5+, and s_floorf-ppc64.
2367 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
2368 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
2370 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
2371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
2372 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
2373 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
2375 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
2377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
2378 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
2379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2380 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
2381 s_floorf-power5+, and s_floorf-ppc64.
2382 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
2384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
2386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
2388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
2390 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2391 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2392 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2393 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2395 2019-05-08 Mike Crowe <mac@mcrowe.com>
2397 * support/xclock_gettime.c (xclock_gettime): New file. Provide
2398 clock_gettime wrapper for use in tests that fails the test rather
2399 than returning failure.
2401 * support/xtime.h: New file to declare xclock_gettime.
2403 * support/Makefile: Add xclock_gettime.c.
2405 * support/README: Mention xtime.h.
2407 2019-05-08 Florian Weimer <fweimer@redhat.com>
2409 malloc/tst-mallocfork2: Use process-shared barriers.
2410 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
2411 (signal_count, sigusr1_sender_pid): Remove.
2412 (iterations): Define constant.
2413 (shared): New variable.
2414 (sigusr1_received): Update comment.
2415 (sigusr1_handler): Do not send SIGSTOP to the sender process.
2416 (signal_sender): Optional use barriers to avoid sending signals
2417 during irrelevant times.
2418 (do_it): Initialize variable shared. Use xfork for error
2419 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
2420 the iteration count, independent of signal delivery. Check for
2421 deadlocks in fork. Introduce barriers for reducing signal
2422 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
2423 replaced by the barriers. Count signals during fork/free/malloc
2425 * malloc/Makefile (tst-mallocfork): Link with libpthread.
2427 2019-05-07 Joseph Myers <joseph@codesourcery.com>
2429 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2431 (clock_adjtime64) New syscall.
2432 (clock_getres_time64) Likewise.
2433 (clock_gettime64) Likewise.
2434 (clock_nanosleep_time64) Likewise.
2435 (clock_settime64) Likewise.
2436 (futex_time64) Likewise.
2437 (io_pgetevents_time64) Likewise.
2438 (io_uring_enter) Likewise.
2439 (io_uring_register) Likewise.
2440 (io_uring_setup) Likewise.
2441 (mq_timedreceive_time64) Likewise.
2442 (mq_timedsend_time64) Likewise.
2443 (pidfd_send_signal) Likewise.
2444 (ppoll_time64) Likewise.
2445 (pselect6_time64) Likewise.
2446 (recvmmsg_time64) Likewise.
2447 (rt_sigtimedwait_time64) Likewise.
2448 (sched_rr_get_interval_time64) Likewise.
2449 (semtimedop_time64) Likewise.
2450 (timer_gettime64) Likewise.
2451 (timer_settime64) Likewise.
2452 (timerfd_gettime64) Likewise.
2453 (timerfd_settime64) Likewise.
2454 (utimensat_time64) Likewise.
2456 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
2457 version to 9 branch.
2459 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2461 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
2462 __memmove_thunderx2 to the list of implementations
2463 * sysdeps/aarch64/multiarch/memmove.c: Likewise
2464 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
2465 (__memmove_thunderx2): Rewritten using SIMD ld/st
2466 (__memcpy_thunderx2): Fixed handling overlapping cases.
2467 Used ldp/stp instead of ldr/str if possible. Made loops
2470 2019-05-03 Florian Weimer <fweimer@redhat.com>
2472 * misc/tst-tsearch.c (walk_tree): Add more error checking.
2474 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2477 * elf/tst-pldd.c (in_str_list): New function.
2478 (do_test): Add default names for ld and libc as one option.
2480 2019-05-02 Florian Weimer <fweimer@redhat.com>
2482 misc: Add twalk_r function.
2483 * include/search.h (__twalk_r): Declare.
2484 * manual/examples/twalk.c: New file.
2485 * manual/search.texi (Tree Search Function): Document twalk_r.
2486 * misc/Versions (2.30): Export twalk_r.
2487 (GLIBC_PRIVATE): Export __twalk_r.
2488 * misc/search.h [__USE_GNU] (twalk_r): Declare.
2489 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
2490 (twalk_r): Add weak alias.
2491 * misc/tst-tsearch.c (struct walk_trace_element): Define.
2492 (walk_trace): New variable.
2493 (struct twalk_with_twalk_r_closure): Define.
2494 (twalk_with_twalk_r_action): New function.
2495 (twalk_with_twalk_r): Likewise.
2496 (walk_action): Call walk_trace_add.
2497 (walk_tree_with): Rename from walk_tree. Add walk argument.
2498 (walk_tree): New function.
2499 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
2500 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2502 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2504 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2505 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
2506 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
2507 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
2508 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
2509 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2511 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2513 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2515 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2516 (GLIBC_2.30): Likewise.
2517 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2518 (GLIBC_2.30): Likewise.
2519 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2520 (GLIBC_2.30): Likewise.
2521 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2522 (GLIBC_2.30): Likewise.
2523 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2526 (GLIBC_2.30): Likewise.
2527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2528 (GLIBC_2.30): Likewise.
2529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2530 (GLIBC_2.30): Likewise.
2531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2532 (GLIBC_2.30): Likewise.
2533 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2535 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2537 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2539 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2540 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2542 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2544 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2546 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2549 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
2551 Make mktime etc. compatible with __time64_t
2552 Keep these functions compatible with Gnulib while adding
2553 __time64_t support. The basic idea is to move private API
2554 declarations from include/time.h to time/mktime-internal.h, since
2555 the former file cannot easily be shared with Gnulib whereas the
2557 Also, do some other minor cleanup while in the neighborhood.
2558 * include/time.h: Include stdbool.h, time/mktime-internal.h.
2559 (__mktime_internal): Move this prototype to time/mktime-internal.h,
2560 since Gnulib needs it.
2561 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
2562 Move these macros to time/mktime-internal.h, since Gnulib needs them.
2563 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
2564 (in_time_t_range): New static function.
2565 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
2566 so that glibc users are not tempted to use __time64_t.
2567 * time/mktime-internal.h: Rewrite so that it does both glibc
2568 and Gnulib work. Include time.h if not _LIBC.
2569 (mktime_offset_t) [!_LIBC]: Define for gnulib.
2570 (__time64_t): New type or macro, moved here from
2572 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
2573 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
2574 from include/time.h.
2575 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
2576 New macros, taken from GNulib.
2577 (__mktime_internal): New prototype, moved here from include/time.h.
2578 * time/mktime.c (mktime_min, mktime_max, convert_time)
2579 (ranged_convert, __mktime_internal, __mktime64):
2580 * time/timegm.c (__timegm64):
2581 Use __time64_t, not time_t.
2582 * time/mktime.c: Stop worrying about whether time_t is floating-point.
2583 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
2585 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
2586 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
2587 for libc_hidden_def.
2589 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
2591 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
2593 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
2596 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
2597 from `-Wmaybe-uninitialized'.
2598 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
2600 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2602 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
2604 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
2605 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
2606 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
2607 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
2608 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2610 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
2611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
2615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
2619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
2621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
2623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
2625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
2627 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
2628 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
2629 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
2630 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
2632 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
2634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
2635 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
2636 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
2638 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
2640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
2641 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
2643 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2644 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
2645 s_ceilf-power5+, and s_ceilf-ppc64.
2646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
2648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
2649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
2650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
2651 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2652 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2653 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2654 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2656 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
2657 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
2658 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
2660 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
2662 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
2663 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
2664 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
2665 (sem_getvalue): Likewise.
2667 2019-04-26 Florian Weimer <fweimer@redhat.com>
2669 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
2670 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
2672 2019-04-26 Florian Weimer <fweimer@redhat.com>
2674 Makeconfig: Move -Wl,-rpath-link options before library references.
2675 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
2676 (link-libc): Remove $(link-libc-rpath-link).
2678 2019-04-25 Florian Weimer <fweimer@redhat.com>
2680 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2681 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2682 (+link-static-before-libc): Remove $(CC).
2683 (+link-static, +link-static-tests): Add $(CC).
2684 (+link-before-libc): Remove $(CC).
2685 (+link, +link-pie, +link-pie-printers): Add $(CC).
2687 2019-04-26 Florian Weimer <fweimer@redhat.com>
2689 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2690 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2691 (+link-static-before-libc): Remove $(CC).
2692 (+link-static, +link-static-tests): Add $(CC).
2693 (+link-before-libc): Remove $(CC).
2694 (+link, +link-pie, +link-pie-printers): Add $(CC).
2696 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
2699 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
2701 2019-04-25 Florian Weimer <fweimer@redhat.com>
2703 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
2704 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
2705 (bench-link-targets): New variable.
2706 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
2708 2019-04-25 Florian Weimer <fweimer@redhat.com>
2710 Also enable BIND_NOW for programs if --enable-bind-now.
2711 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
2712 (+link-pie): Use $(link-extra-flags).
2713 (+link-static): Likewise.
2714 [! $(build-pie-default)] (+link): Likewise.
2715 * manual/install.texi (Configuring and compiling): Update
2716 --enable-bind-now description.
2717 * INSTALL: Regenerated.
2719 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
2721 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
2722 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
2724 2019-04-24 Mike Frysinger <vapier@gentoo.org>
2727 * malloc/Makefile (others): Add memusagestat.
2728 ($(objpfx)memusagestat): Delete rule.
2729 (LDLIBS-memusagestat): New variable.
2731 2019-04-24 Florian Weimer <fweimer@redhat.com>
2733 * locale/Makefile (tests-special): Guard setting by
2734 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
2735 to run while cross-compiling.
2737 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2740 * elf/Makefile (tests-container): Add tst-pldd.
2741 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
2742 (E(find_maps)): Avoid use alloca, use default read file operations
2743 instead of explicit LFS names, and fix infinite loop.
2744 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
2745 (get_process_info): Use _Static_assert instead of assert, use default
2746 directory operations instead of explicit LFS names, and free some
2748 * elf/tst-pldd.c: New file.
2750 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
2752 * malloc/arena.c (do_set_mallopt_check): Removed.
2754 2019-04-23 Florian Weimer <fweimer@redhat.com>
2756 locale: Add LOCPATH diagnostics to the locale program.
2757 * locale/programs/locale.c (setlocale_failed): New variable.
2758 (try_setlocale): New function.
2759 (quote_string): Likewise.
2760 (setlocale_diagnostics): Likewise.
2761 (main): Call try_setlocale instead of setlocale. Call
2762 setlocale_diagnostics.
2763 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
2764 (tst-locale-locpath.out): New target.
2765 * locale/tst-locale-locpath.sh: New file.
2767 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2769 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
2772 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2775 * malloc/hooks.c (malloc_check, realloc_check): Use
2776 __builtin_add_overflow on overflow check and adapt to
2777 checked_request2size change.
2778 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
2779 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
2780 allocation size to PTRDIFF_MAX.
2781 (REQUEST_OUT_OF_RANGE): Remove macro.
2782 (checked_request2size): Change to inline function and limit maximum
2783 requested size to PTRDIFF_MAX.
2784 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
2785 maximum allocation size to PTRDIFF_MAX.
2786 (_mid_memalign): Use _int_memalign call for overflow check.
2787 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
2788 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
2789 limit maximum requested size to PTRDIFF_MAX.
2790 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
2791 valloc, pvalloc): Add __attribute_alloc_size__.
2792 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
2793 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
2794 larger than PTRDIFF_MAX.
2795 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
2796 around tests of malloc with negative sizes.
2797 * malloc/tst-posix_memalign.c (do_test): Likewise.
2798 * malloc/tst-pvalloc.c (do_test): Likewise.
2799 * malloc/tst-valloc.c (do_test): Likewise.
2800 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
2801 with resulting size allocation larger than PTRDIFF_MAX with
2802 reallocarray_nowarn.
2803 (reallocarray_nowarn): New function.
2804 * NEWS: Mention the malloc function semantic change.
2806 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2808 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
2809 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2811 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
2812 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2813 * sysdeps/powerpc/fpu/s_fma.c: New file.
2814 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2816 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
2817 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
2819 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
2820 the magic flag store.
2821 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2823 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
2825 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
2826 Remove rt_sigreturn call.
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2829 Remove rt_sigreturn call.
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
2833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2835 * support/Makefile (libsupport-routines): Add support_subprocess,
2836 xposix_spawn, xposix_spawn_file_actions_addclose, and
2837 xposix_spawn_file_actions_adddup2.
2838 (tst-support_capture_subprocess-ARGS): New rule.
2839 * support/capture_subprocess.h (support_capture_subprogram): New
2841 * support/support_capture_subprocess.c (support_capture_subprocess):
2842 Refactor to use support_subprocess and support_capture_poll.
2843 (support_capture_subprogram): New function.
2844 * support/tst-support_capture_subprocess.c (write_mode_to_str,
2845 str_to_write_mode, test_common, parse_int, handle_restart,
2846 do_subprocess, do_subprogram, do_multiple_tests): New functions.
2847 (do_test): Add support_capture_subprogram tests.
2848 * support/subprocess.h: New file.
2849 * support/support_subprocess.c: Likewise.
2850 * support/xposix_spawn.c: Likewise.
2851 * support/xposix_spawn_file_actions_addclose.c: Likewise.
2852 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
2853 * support/xspawn.h: Likewise.
2855 2019-04-17 Mike Gerow <gerow@google.com>
2857 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
2860 2019-04-11 Florian Weimer <fweimer@redhat.com>
2862 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
2863 domain with empty string.
2864 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2866 2019-04-11 Florian Weimer <fweimer@redhat.com>
2868 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
2870 (alloc_buffer_next): Change return type to non-const. Update
2873 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
2875 * manual/time.texi (Formatting Calendar Time): Add missing percent
2876 sign to conversion specifier.
2878 2019-04-09 Carlos O'Donell <carlos@redhat.com>
2879 Kwok Cheung Yeung <kcy@codesourcery.com>
2882 * malloc/mtrace.c: Define prototypes for all hooks.
2883 (set_default_hooks): New function.
2884 (set_trace_hooks): Likewise.
2885 (save_default_hooks): Likewise.
2886 (tr_freehook): Use new s*_hooks functions.
2887 (tr_mallochook): Likewise.
2888 (tr_reallochook): Likewise.
2889 (tr_memalignhook): Likewise.
2891 (muntrace): Likewise.
2893 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2895 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
2896 (generic_stpcpy): New function.
2897 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
2898 (generic_stpncpy): New function.
2899 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
2900 (generic_strcat): New function.
2901 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
2902 (generic_strcpy): New function.
2903 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
2904 (STUPID_STRNCAT): Remove function.
2905 (generic_strncat): New function.
2906 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
2907 (STUPID_STRNCPY): Remove function.
2908 (generic_strncpy): New function.
2909 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
2910 (generic_strnlen): New function.
2911 (memchr_strnlen): New function.
2912 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
2913 (memchr_strlen): Likewise.
2915 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2917 * benchtests/bench-strstr.c (input): Add realistic input text.
2918 (stupid_strstr): Remove function.
2919 (basic_strstr): Add function.
2920 (twoway_strstr): Add function.
2921 (do_one_test): Add result checking.
2922 (do_test): Use new input text. Remove accidental early matches.
2923 (test_main): Improve range of tests, reduce unaligned cases.
2925 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2927 * benchtests/bench-memmem.c (simple_memmem): Remove function.
2928 (basic_memmem): Add function.
2929 (twoway_memmem): Add function.
2931 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2933 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
2934 * benchtests/bench-malloc-thread.c: Likewise.
2935 * benchtests/bench-skeleton.c: Likewise.
2936 * benchtests/bench-strtod.c: Likewise.
2937 * benchtests/bench-timing.h: Likewise.
2939 2019-04-08 Florian Weimer <fweimer@redhat.com>
2941 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
2943 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
2944 RES_INSECURE2 security checks.
2945 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
2946 RES_INSECURE2 handling.
2948 2019-04-08 Florian Weimer <fweimer@redhat.com>
2950 resolv: Remove support for RES_USE_INET6 and the inet6 option.
2951 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
2952 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
2954 * resolv/Makefile (tests): Remove tst-res_use_inet6.
2955 (tests-internal): Update justification for tst-resolv-res_init,
2956 tst-resolv-res_init-thread.
2957 (tst-res_use_inet6): Remove target.
2958 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
2959 * resolv/res_debug.c (p_option): Remove "inet6" support.
2960 * resolv/res_init.c (res_setoptions): Likewise.
2961 * resolv/res_use_inet6.h: Remove file.
2962 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
2964 (res_use_inet6): Always return false.
2965 * resolv/resolv.h (RES_USE_INET6): Remove definition.
2966 * resolv/resolv_context.h: Adjust file comment.
2967 (struct resolv_context): Update comment on __next field.
2968 (__resolv_context_put): Update comment.
2969 * resolv/tst-res_use_inet6.c: Remove file.
2970 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
2972 (test_cases): Adjust test case.
2973 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
2974 (thread_byname2_af_inet6): Use old byname_inet6 code.
2975 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
2976 (gai): Remove do_inet6 argument.
2977 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
2978 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
2979 (thread_gai_unspec_inet6): Remove functions.
2980 (do_test): Adjust thread_funcs.
2981 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
2983 (gaih_inet): Do not disable RES_USE_INET6 flag.
2985 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2987 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
2988 and remove redundant code.
2990 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2992 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
2994 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
2995 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
2997 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
2999 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
3001 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3002 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
3003 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
3004 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
3005 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3006 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
3007 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3008 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
3010 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
3011 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3013 Remove wcsrchr optimizations.
3014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3016 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
3019 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
3021 * sysdeps/powerpc/power6/wcschr.c: Remove file.
3022 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
3024 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
3026 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
3028 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3029 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
3030 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
3031 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
3032 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3033 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
3034 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3035 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
3037 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
3038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3040 Remove wcschr optimizations.
3041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3043 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
3046 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
3048 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
3049 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
3051 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
3053 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
3055 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3056 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
3057 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
3058 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
3059 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3060 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
3061 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3062 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
3064 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
3065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3066 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3067 Remove wcscpy optimizations.
3068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3070 * include/loop_unroll.h: New file.
3071 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
3072 besides generic implementation.
3074 2019-04-03 DJ Delorie <dj@redhat.com>
3076 * time/tst-strftime3.c (tm_to_printed): Disable warning about
3077 snprintf truncating output.
3079 2019-04-02 DJ Delorie <dj@redhat.com>
3081 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
3084 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3087 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
3089 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
3090 (mkreftable): Add rules for the new Japanese era and the new dates.
3092 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3093 Rafal Luzynski <digitalfreak@lingonborough.com>
3095 * time/tst-strftime2.c (date_t): Explicitly define the type.
3096 (dates): Use natural month and year numbers to express a date.
3097 (is_before): New function to compare dates.
3098 (mkreftable): Minor improvements to simplify maintenance.
3099 (do_test): Reflect the changes in dates array.
3102 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
3103 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
3104 * time/tst-strftime2.c (locales): Likewise.
3105 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
3106 2010-04-01, and 2011-04-01.
3107 (mkreftable): Add rules for the new locales and the new dates.
3109 2019-04-01 Carlos O'Donell <carlos@redhat.com>
3111 * localedata/locales/ja_JP: Add comments to era entries.
3113 2019-04-01 DJ Delorie <dj@redhat.com>
3116 * time/strptime_l.c (%Ey): Fix fencepost error.
3117 * time/tst-strftime3.c: New.
3118 * time/Makefile (tests): Add tst-strftime3.
3120 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
3122 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
3123 conditional branch to DIVBYZERO. Fix unwind info.
3124 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
3125 excb after conditional branch to $powerof2. Add missing unop
3126 instructions and .align directives and reorder instructions to
3129 2019-04-01 Richard Henderson <rth@twiddle.net>
3131 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3133 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
3136 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
3138 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
3139 $libc_cv_riscv_float_abi in `test' invocation.
3140 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
3142 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
3144 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
3146 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
3148 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3149 (_GET_SI_FPSCR): Likewise.
3150 (_SET_SI_FPSCR): Likewise.
3152 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3154 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
3156 (signbit): Use builtin for clang 3.3.
3157 (isinf): Use builtin for clang 3.7.
3159 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3161 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
3163 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
3165 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
3168 2019-03-25 Mike Crowe <mac@mcrowe.com>
3170 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
3171 pthread_rwlock_timedrdlock with calls to
3172 pthread_rwlock_timedwrlock to ensure that the latter is tested
3173 too. Use new function name in diagnostic messages too.
3175 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
3176 (do_test) Use libsupport test macros rather than hand-coded
3177 conditionals and error messages. Ensure that sem_init returns zero
3178 rather than not -1. Use <support/test-driver.c> rather than
3181 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
3182 test macros rather than hand-coded conditionals and error messages.
3183 Use <support/test-driver.c> rather than test-skeleton.c.
3185 2019-03-25 Joseph Myers <joseph@codesourcery.com>
3187 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
3189 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
3190 (NT_MIPS_MSA): Likewise.
3192 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3194 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
3195 * benchtests/README: Update description.
3196 * benchtests/bench-timing.h: Default to hp-timing.
3197 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
3198 HP_TIMING_PRINT): Remove.
3199 (HP_TIMING_NOW): Add generic implementation.
3200 (hp_timing_t): Change to uint64_t.
3202 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
3204 * nptl/descr.h: Likewise.
3205 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
3206 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
3207 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
3208 Abstract hp-timing usage with RTLD_* macros.
3209 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
3210 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
3211 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
3212 HP_TIMING_NONAVAIL): Likewise.
3213 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3215 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
3216 HP_SMALL_TIMING_AVAIL): Likewise.
3217 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
3218 HP_SMALL_TIMING_AVAIL): Likewise.
3219 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
3220 HP_SMALL_TIMING_AVAIL): Likewise.
3221 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
3222 HP_SMALL_TIMING_AVAIL): Likewise.
3223 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3225 * sysdeps/generic/hp-timing-common.h: Update comment with
3226 HP_TIMING_AVAIL removal.
3228 * include/random-bits.h: New file.
3229 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
3230 (__res_context_mkquery): Remove usage hp-timing usage and replace with
3232 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
3233 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
3236 * include/libc-internal.h (__get_clockfreq): Remove prototype.
3237 * rt/Makefile (clock-routines): Remove get_clockfreq.
3238 * rt/get_clockfreq.c: Remove file.
3239 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
3240 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
3241 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
3242 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
3243 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
3245 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
3246 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
3247 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
3248 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
3249 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
3251 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
3252 pthread_clock_settime.
3253 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
3254 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
3255 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
3256 * elf/rtld.c (_dl_start_final): Likewise.
3257 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
3258 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
3260 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
3261 (_dl_cpuclock_offset): Remove.
3262 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
3263 cpuclock_offset_ununsed.
3264 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3265 cpuclock_offset set.
3266 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3267 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3268 * nptl/pthread_clock_gettime.c: Remove file.
3269 * nptl/pthread_clock_settime.c: Likewise.
3270 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
3271 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
3272 and CLOCK_PROCESS_CPUTIME_ID support.
3273 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
3274 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
3275 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
3276 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
3277 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
3279 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
3281 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3283 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
3284 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
3285 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
3287 * sysdeps/s390/memmem-arch13.S: New file.
3288 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
3289 if it is only used as fallback.
3290 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
3291 * sysdeps/s390/multiarch/ifunc-impl-list.c
3292 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
3294 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3296 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
3297 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
3298 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
3300 * sysdeps/s390/multiarch/ifunc-impl-list.c
3301 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
3302 * sysdeps/s390/strstr-arch13.S: New file.
3303 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
3304 if it is only used as fallback.
3305 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
3307 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3309 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
3310 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
3311 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
3312 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
3314 * sysdeps/s390/multiarch/ifunc-impl-list.c
3315 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
3316 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
3317 S390_IS_ARCH13_MIE3): New defines.
3319 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3321 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
3322 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
3323 * sysdeps/s390/configure.ac: Add checks for arch13 support.
3324 * sysdeps/s390/configure: Regenerated.
3326 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3328 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
3329 Add vxe2, vxp, dflt, sort flags.
3330 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
3331 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
3333 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
3334 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
3335 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
3336 HWCAP_S390_DFLT): Define.
3338 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3341 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
3342 of compiler warning.
3343 * locale/programs/ld-collate.c (collate_output): Likewise.
3345 2019-03-21 DJ Delorie <dj@redhat.com>
3348 * iconv/iconvconfig.c (write_output): Replace floating point math
3349 with integer math to avoid imprecise results.
3350 * locale/programs/ld-collate.c (collate_output): Likewise.
3352 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
3354 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
3355 Add HWCAP_S390_VX and HWCAP_S390_VXE.
3357 2019-03-20 mansayk <6688000@gmail.com>
3360 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
3361 (abday): Likewise, but remove the trailing dots.
3363 2019-03-19 Joseph Myers <joseph@codesourcery.com>
3365 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
3367 (HWCAP_PACA): Likewise.
3368 (HWCAP_PACG): Likewise.
3369 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3371 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
3373 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3375 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
3378 2019-03-15 Joseph Myers <joseph@codesourcery.com>
3380 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3382 (old_getpagesize): New syscall.
3384 2019-03-15 Felix Yan <felixonmars@archlinux.org>
3387 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
3388 * localedata/locales/cmn_TW (era): Likewise.
3389 * localedata/locales/hak_TW (era): Likewise.
3390 * localedata/locales/lzh_TW (era): Likewise.
3391 * localedata/locales/nan_TW (era): Likewise.
3393 2019-03-14 Adam Maris <amaris@redhat.com>
3395 * malloc/malloc.c (_int_malloc): Check for large bin list
3396 corruption when inserting unsorted chunk.
3398 2019-03-14 Florian Weimer <fweimer@redhat.com>
3400 Remove obsolete, never-implemented XSI STREAMS declarations.
3401 * manual/terminal.texi (Allocation): Remove portability note and
3403 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
3405 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
3406 * sysdeps/unix/inet/Subdirs (streams): Remove.
3407 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
3408 (conformtest-headers-UNIX98): Likewise.
3409 (conformtest-headers-XOPEN2K): Likewise.
3410 (conformtest-headers-POSIX2008): Likewise.
3411 * posix/compat-streams.c: New file.
3412 * posix/Makefile (routines): Add it.
3413 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
3414 getpmsg, isastream, putmsg, putpmsg.
3415 (GLIBC_2.30): New section.
3416 * bits/stropts.h: Remove file.
3417 * bits/xtitypes.h: Likewise.
3418 * conform/data/stropts.h-data: Likewise.
3419 * include/stropts.h: Likewise.
3420 * include/sys/stropts.h: Likewise.
3421 * include/xtitypes.h: Likewise.
3422 * streams/Makefile: Likewise.
3423 * streams/fattach.c: Likewise.
3424 * streams/fdetach.c: Likewise.
3425 * streams/getmsg.c: Likewise.
3426 * streams/getpmsg.c: Likewise.
3427 * streams/isastream.c: Likewise.
3428 * streams/putmsg.c: Likewise.
3429 * streams/putpmsg.c: Likewise.
3430 * streams/stropts.h: Likewise.
3431 * streams/sys/stropts.h: Likewise.
3432 * sysdeps/ia64/bits/xtitypes.h: Likewise.
3433 * sysdeps/s390/bits/xtitypes.h: Likewise.
3434 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
3435 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
3436 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
3437 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
3438 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
3439 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
3440 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
3441 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
3442 * sysdeps/x86/bits/xtitypes.h: Likewise.
3444 2019-03-14 Florian Weimer <fweimer@redhat.com>
3446 * nss/tst-nss-files-alias-truncated.c (do_test): Load
3448 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
3449 but not with libnss_files.
3450 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
3452 2019-03-14 Zack Weinberg <zackw@panix.com>
3454 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
3455 Specify encoding="utf-8" when opening headers to check.
3457 2019-03-13 Joseph Myers <joseph@codesourcery.com>
3459 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3461 (Context.checkout_tar): Handle variable major version for Linux
3464 2019-03-13 Florian Weimer <fweimer@redhat.com>
3467 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
3469 2019-03-13 Zack Weinberg <zackw@panix.com>
3471 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
3473 * include/inttypes.h: Adjust to match.
3474 * include/stdint.h: New wrapper.
3476 2019-03-13 Zack Weinberg <zackw@panix.com>
3478 * scripts/check-obsolete-constructs.py: New test script.
3479 * scripts/check-installed-headers.sh: Remove tests for
3480 obsolete typedefs, superseded by check-obsolete-constructs.py.
3481 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
3482 as a special test. Update commentary.
3483 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
3484 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
3486 * posix/sys/types.h (__u_intN_t): Remove.
3487 (u_int8_t): Typedef using __uint8_t.
3488 (u_int16_t): Typedef using __uint16_t.
3489 (u_int32_t): Typedef using __uint32_t.
3490 (u_int64_t): Typedef using __uint64_t.
3492 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
3494 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
3496 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
3497 Ignore types other than AT_HWCAP.
3498 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
3499 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
3501 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
3502 in the case of falling back to generic output mechanism.
3503 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
3506 2019-03-12 Florian Weimer <fweimer@redhat.com>
3508 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
3510 2019-03-12 Florian Weimer <fweimer@redhat.com>
3513 resolv: Enable full ICMP errors for UDP DNS sockets
3514 * resolv/res_enable_icmp.c: New file.
3515 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
3516 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
3517 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
3520 2019-03-11 Mao Han <han_mao@c-sky.com>
3522 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
3523 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
3525 2019-03-11 Mao Han <han_mao@c-sky.com>
3527 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
3528 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3529 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3531 2019-03-11 Mao Han <han_mao@c-sky.com>
3533 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
3535 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
3538 2019-03-11 Mao Han <han_mao@c-sky.com>
3540 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
3541 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
3544 2019-03-08 Mike FABIAN <mfabian@redhat.com>
3547 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
3548 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3550 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3551 * localedata/unicode-gen/PropList.txt: Likewise.
3552 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3553 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
3554 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
3555 * localedata/charmaps/UTF-8: Regenerate.
3556 * localedata/locales/i18n_ctype: Likewise.
3557 * localedata/locales/tr_TR: Likewise.
3558 * localedata/locales/translit_circle: Likewise.
3559 * localedata/locales/translit_cjk_compat: Likewise.
3560 * localedata/locales/translit_combining: Likewise.
3561 * localedata/locales/translit_compat: Likewise.
3562 * localedata/locales/translit_font: Likewise.
3563 * localedata/locales/translit_fraction: Likewise.
3565 2019-03-07 Joseph Myers <joseph@codesourcery.com>
3567 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
3568 than after operators.
3569 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
3570 (setitimer_locked): Likewise.
3571 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3572 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3573 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
3574 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
3575 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
3576 (PPC_CPU_SUPPORTED): Likewise.
3577 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
3578 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
3579 (stat_overflow): Likewise.
3580 (statfs_overflow): Likewise.
3581 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
3582 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
3583 (eq_ttyname_r): Likewise.
3584 (run_chroot_tests): Likewise.
3586 2019-03-07 Florian Weimer <fweimer@redhat.com>
3588 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
3591 2019-03-07 Martin Liska <mliska@suse.cz>
3593 * math/Makefile: Change location where math-vector-fortran.h is
3595 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
3596 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
3597 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
3598 * scripts/check-installed-headers.sh: Skip Fortran header files.
3599 * scripts/check-wrapper-headers.py: Likewise.
3601 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3603 * nptl/nptl-init.c (__have_futex_clock_realtime,
3604 __have_futex_clock_realtime): Remove definition.
3605 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
3606 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
3607 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
3608 __ASSUME_FUTEX_CLOCK_REALTIME support.
3609 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3610 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3611 * sysdeps/unix/sysv/linux/kernel-features.h
3612 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
3613 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
3616 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3618 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
3619 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
3620 __GI___wcscpy and wcscpy.
3622 2019-03-04 Florian Weimer <fweimer@redhat.com>
3624 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
3626 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
3629 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
3631 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
3632 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3634 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3637 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
3638 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
3640 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3642 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
3644 (do_test): Likewise.
3645 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3646 (do_test_call_varg): Likewise.
3647 (do_test_call_rarg): Likewise.
3648 * sysdeps/ieee754/ldbl-opt/Makefile
3649 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
3651 ($(objpfx)tst-nldbl-warn.c): New rule.
3652 ($(objpfx)tst-nldbl-error.c): Likewise.
3653 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
3656 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3659 * include/bits/error-ldbl.h: New file.
3660 * include/error.h: Include stdarg.h. Declare internal functions
3661 __error_internal and __error_at_line_internal.
3662 * misc/Makefile (headers): Add bits/error-ldbl.h.
3663 * misc/bits/error-ldbl.h: New file.
3664 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
3665 avoid the inclusion of bits/error.h.
3666 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
3667 and __nldbl_error_at_line.
3668 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
3669 (__nldbl_error, __ndlbl_error_at_line): New functions.
3670 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
3671 Redirect error and error_at_line.
3672 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3681 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3682 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3683 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3685 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3688 * include/bits/err-ldbl.h: New file.
3689 * include/err.h: Add prototypes for the internal functions:
3690 __vwarnx_internal and __vwarn_internal.
3691 * misc/Makefile (headers): Add bits/err-ldbl.h.
3692 * misc/bits/err-ldbl.h: New file.
3693 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
3694 defined, i.e.: when -mlong-double-64 is in use.
3695 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
3696 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
3697 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
3698 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
3699 (VA_CALL): New macro.
3700 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
3701 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
3703 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
3704 declare prototypes for the new functions.
3705 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3714 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3715 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3716 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3718 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3720 * sysdeps/ieee754/ldbl-opt/Makefile
3721 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
3722 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
3723 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
3725 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3728 * argp/Makefile (headers): Add bits/argp-ldbl.h.
3729 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
3730 * argp/bits/argp-ldbl.h: New file.
3731 * include/argp.h: Include stdarg.h. Add prototypes for internal
3732 functions: __argp_error_internal and __argp_failure_internal.
3733 * include/bits/argp-ldbl.h: New file.
3734 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
3735 __nldbl_argp_error and __nldbl_argp_failure.
3736 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
3737 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
3738 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
3739 Redirect argp_error and argp_failure calls.
3740 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3749 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3750 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3751 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3753 2019-03-01 Florian Weimer <fweimer@redhat.com>
3756 * elf/tst-big-note-lib.S: Create a syntactically valid note.
3757 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
3758 code, to avoid creating an ABI tag note.
3759 (modules-names-nobuild): Add tst-big-note-lib.
3761 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
3763 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
3764 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
3766 2019-03-01 Florian Weimer <fweimer@redhat.com>
3769 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3770 (__netlink_assert_response): Add additional missing newlines.
3772 2019-02-28 Joseph Myers <joseph@codesourcery.com>
3774 * sysdeps/powerpc/powerpc32/dl-machine.c
3775 (__elf_machine_fixup_plt): Use space before '('.
3776 (__process_machine_rela): Likewise.
3777 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
3779 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
3781 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
3783 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
3784 (pattern): Likewise.
3786 (check_result): Likewise.
3787 (check_excepts): Likewise.
3788 (check_op): Likewise.
3789 (fail_xr): Likewise.
3790 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
3791 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
3793 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
3796 (__makecontext): Likewise.
3797 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
3800 2019-02-28 Florian Weimer <fweimer@redhat.com>
3803 elf: Add test with a local IFUNC resolver.
3804 * elf/ifuncmain9.c: New file.
3805 * elf/ifuncmain9pic.c: Likewise.
3806 * elf/ifuncmain9picstatic.c: Likewise.
3807 * elf/ifuncmain9pie.c: Likewise.
3808 * elf/ifuncmain9static.c: Likewise.
3809 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
3810 ifuncmain9static, ifuncmain9picstatic.
3811 * elf/Makefile [multi-arch && build-shared] (tests-internal):
3812 Add ifuncmain9, ifuncmain9pic.
3813 * elf/Makefile [multi-arch && build-shared && have-fpie]
3814 (ifunc-pie-tests): Add ifuncmain9pie.
3815 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
3816 (CFLAGS-ifuncmain9picstatic.c): Likewise.
3817 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
3819 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
3821 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
3822 * configure: Regenerated.
3823 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
3825 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3827 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
3828 symbol as __wcspcy instead of wcscpy.
3830 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3832 * include/stdio.h (__renameat2): New hidden prototype.
3833 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
3834 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
3835 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
3836 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
3838 2019-02-27 Joseph Myers <joseph@codesourcery.com>
3840 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
3843 * benchtests/bench-strcpy.c (do_test): Use space before '('.
3844 * benchtests/bench-string.h (cmdline_process_function): Likewise.
3845 * benchtests/bench-strlen.c (do_test): Likewise.
3846 (test_main): Likewise.
3847 * catgets/gencat.c (read_old): Likewise.
3848 * elf/cache.c (load_aux_cache): Likewise.
3849 * iconvdata/bug-iconv8.c (do_test): Likewise.
3850 * math/test-tgmath-ret.c (do_test): Likewise.
3851 * nis/nis_call.c (rec_dirsearch): Likewise.
3852 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3853 * nptl/tst-audit-threads.c (do_test): Likewise.
3854 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
3855 * nss/nss_test1.c (init): Likewise.
3856 * nss/test-netdb.c (test_hosts): Likewise.
3857 * posix/execvpe.c (maybe_script_execute): Likewise.
3858 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
3859 * stdio-common/tst-printf.c (do_test): Likewise.
3860 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
3861 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
3862 * stdlib/qsort.c (STACK_SIZE): Likewise.
3863 * stdlib/test-canon.c (do_test): Likewise.
3864 * stdlib/tst-swapcontext1.c (do_test): Likewise.
3865 * string/memcmp.c (OPSIZ): Likewise.
3866 * string/test-strcpy.c (do_test): Likewise.
3867 (do_random_tests): Likewise.
3868 * string/test-strlen.c (do_test): Likewise.
3869 (test_main): Likewise.
3870 * string/test-strrchr.c (do_test): Likewise.
3871 (do_random_tests): Likewise.
3872 * string/tester.c (test_memrchr): Likewise.
3873 (test_memchr): Likewise.
3874 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
3875 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
3876 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
3877 (read_encoded_value_with_base): Likewise.
3878 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
3879 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
3880 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
3881 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3882 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
3883 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
3885 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
3887 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
3888 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
3889 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
3891 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
3893 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
3895 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3897 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
3898 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3899 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3900 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
3901 * time/test_time.c (main): Likewise.
3903 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3905 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
3907 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
3910 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
3913 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3915 * include/wchar.h (__wcscpy): New prototype.
3916 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
3917 (__wcscpy): Route internal symbol to generic implementation.
3918 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
3919 Add internal __wcscpy alias.
3920 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
3921 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
3922 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
3923 * wcsmbs/wcscpy.c (wcscpy): Add
3924 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
3925 use generic implementation.
3926 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
3928 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
3931 * sysdeps/m68k/wcpcpy.c: Remove file.
3932 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3934 2019-02-26 Joseph Myers <joseph@codesourcery.com>
3936 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
3937 than after operators.
3938 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3939 * sysdeps/mach/hurd/getcwd.c
3940 (__hurd_canonicalize_directory_name_internal): Likewise.
3941 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
3942 (pthread_mutex_consistent): Likewise.
3943 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
3945 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
3946 (__pthread_mutex_transfer_np): Likewise.
3947 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
3948 (__pthread_mutex_unlock): Likewise.
3949 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
3950 (mtx_owned_p): Likewise.
3951 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
3952 (pthread_mutexattr_getrobust): Likewise.
3953 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
3954 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3956 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3957 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
3958 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
3959 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
3960 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3961 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3962 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
3964 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
3966 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
3967 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
3968 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
3969 (____longjmp_chk): Likewise.
3970 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
3972 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3973 (INTERNAL_SYSCALL): Likewise.
3974 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3975 (INTERNAL_SYSCALL): Likewise.
3976 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3977 (__get_clockfreq_via_cpuinfo): Likewise.
3979 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
3981 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
3982 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
3983 (WORD_COPY_BWD): Likewise.
3984 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3985 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3987 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
3988 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
3990 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
3992 2019-02-25 Joseph Myers <joseph@codesourcery.com>
3994 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
3995 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
3996 rather than after operators.
3997 * elf/cache.c (print_cache): Likewise.
3998 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
3999 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
4000 * hurd/hurdinit.c (_hurd_setproc): Likewise.
4001 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
4002 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
4003 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
4004 (reauth_proc): Likewise.
4005 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
4006 (__file_name_split_at): Likewise.
4007 (__directory_name_split_at): Likewise.
4008 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4009 * hurd/port2fd.c (_hurd_port2fd): Likewise.
4010 * iconv/gconv_dl.c (do_print): Likewise.
4011 * inet/netinet/in.h (struct sockaddr_in): Likewise.
4012 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
4013 * locale/setlocale.c (new_composite_name): Likewise.
4014 * malloc/memusagestat.c (main): Likewise.
4015 * misc/fstab.c (fstab_convert): Likewise.
4016 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4018 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
4019 (getgrent_next_file): Likewise.
4020 (internal_getgrnam_r): Likewise.
4021 (internal_getgrgid_r): Likewise.
4022 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
4024 (internal_getgrent_r): Likewise.
4025 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4026 (getpwent_next_nss): Likewise.
4027 (getpwent_next_file): Likewise.
4028 (internal_getpwnam_r): Likewise.
4029 (internal_getpwuid_r): Likewise.
4030 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
4032 (getspent_next_nss): Likewise.
4033 (internal_getspnam_r): Likewise.
4034 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
4035 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
4036 * string/strchr.c (STRCHR): Likewise.
4037 * string/strchrnul.c (STRCHRNUL): Likewise.
4038 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
4039 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4040 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
4041 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
4042 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
4044 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
4045 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4046 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4047 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
4048 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
4049 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
4050 (open_file): Likewise.
4051 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
4052 (pthread_mutexattr_setprotocol): Likewise.
4053 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4054 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4055 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4056 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
4057 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4059 (elf_machine_rela): Likewise.
4060 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4061 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4062 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
4063 * sysdeps/posix/rename.c (rename): Likewise.
4064 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
4065 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
4066 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
4067 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
4068 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4069 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
4070 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
4072 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
4074 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
4075 * time/tzfile.c (__tzfile_compute): Likewise.
4077 2019-02-22 Joseph Myers <joseph@codesourcery.com>
4079 * benchtests/bench-memmem.c (simple_memmem): Break lines before
4080 rather than after operators.
4081 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
4082 * crypt/md5.c (md5_finish_ctx): Likewise.
4083 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
4084 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
4085 * elf/cache.c (load_aux_cache): Likewise.
4086 * elf/dl-load.c (open_verify): Likewise.
4087 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
4088 * elf/readelflib.c (process_elf_file): Likewise.
4089 * elf/rtld.c (dl_main): Likewise.
4090 * elf/sprof.c (generate_call_graph): Likewise.
4091 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
4092 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
4093 * hurd/dtable.c (reauth_dtable): Likewise.
4094 * hurd/getdport.c (__getdport): Likewise.
4095 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
4096 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
4097 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
4099 * hurd/hurdioctl.c (fioctl): Likewise.
4100 * hurd/hurdselect.c (_hurd_select): Likewise.
4101 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
4102 (STOPSIGS): Likewise.
4103 * hurd/hurdstartup.c (_hurd_startup): Likewise.
4104 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
4105 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4106 * hurd/msgportdemux.c (msgport_server): Likewise.
4107 * hurd/setauth.c (_hurd_setauth): Likewise.
4108 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
4109 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
4110 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4111 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
4112 * login/tst-utmp.c (do_check): Likewise.
4113 (simulate_login): Likewise.
4114 * mach/lowlevellock.h (lll_lock): Likewise.
4115 (lll_trylock): Likewise.
4116 * math/test-fenv.c (ALL_EXC): Likewise.
4117 * math/test-fenvinline.c (ALL_EXC): Likewise.
4118 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
4119 * nis/nis_call.c (__do_niscall3): Likewise.
4120 * nis/nis_callback.c (cb_prog_1): Likewise.
4121 * nis/nis_defaults.c (searchaccess): Likewise.
4122 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4123 * nis/nis_ismember.c (internal_ismember): Likewise.
4124 * nis/nis_local_names.c (nis_local_principal): Likewise.
4125 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
4126 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
4128 * nis/ypclnt.c (yp_match): Likewise.
4129 (yp_first): Likewise.
4130 (yp_next): Likewise.
4131 (yp_master): Likewise.
4132 (yp_order): Likewise.
4133 * nscd/hstcache.c (cache_addhst): Likewise.
4134 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4135 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
4136 (internal_getpwuid_r): Likewise.
4137 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
4138 * posix/glob.h (__GLOB_FLAGS): Likewise.
4139 * posix/regcomp.c (peek_token): Likewise.
4140 (peek_token_bracket): Likewise.
4141 (parse_expression): Likewise.
4142 * posix/regexec.c (sift_states_iter_mb): Likewise.
4143 (check_node_accept_bytes): Likewise.
4144 * posix/tst-spawn3.c (do_test): Likewise.
4145 * posix/wordexp-test.c (testit): Likewise.
4146 * posix/wordexp.c (parse_tilde): Likewise.
4147 (exec_comm): Likewise.
4148 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
4149 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
4150 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
4151 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
4152 * stdio-common/tst-fileno.c (do_test): Likewise.
4153 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
4154 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
4155 * stdlib/strtod_l.c (round_and_return): Likewise.
4156 (____STRTOF_INTERNAL): Likewise.
4157 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
4158 * string/strcspn.c (STRCSPN): Likewise.
4159 * string/test-memmem.c (simple_memmem): Likewise.
4160 * termios/tcsetattr.c (tcsetattr): Likewise.
4161 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
4162 * time/asctime.c (asctime_internal): Likewise.
4163 * time/strptime_l.c (__strptime_internal): Likewise.
4164 * time/sys/time.h (timercmp): Likewise.
4165 * time/tzfile.c (__tzfile_compute): Likewise.
4167 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
4170 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
4172 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4174 * argp/argp-help.c (__argp_error_internal): New function,
4175 renamed from __argp_error, but that takes a 'mode_flags'
4176 parameter to control the format of long double parameters.
4177 (__argp_error): Converted into a call __argp_error_internal.
4178 (__argp_failure_internal): New function, renamed from
4179 __argp_failure, but that takes a 'mode_flags' parameter.
4180 (__argp_failure): Converted into a call __argp_failure_internal.
4181 * misc/err.c (__vwarnx_internal): New function, renamed from
4182 vwarnx, but that takes a 'mode_flags' parameter.
4183 (vwarnx): Converted into a call to __vwarnx_internal.
4184 (__vwarn_internal): New function, renamed from vwarn, but that
4185 takes a 'mode_flags' parameter.
4186 (vwarn): Converted into a call to __vwarn_internal.
4187 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
4188 call to __vfxprintf with 'mode_flags'.
4189 (__error_internal): New function, renamed from error, but that
4190 takes a 'mode_flags' parameter.
4191 (error): Converted into a call to __error_internal.
4192 (__error_at_line_internal): New function, renamed from
4193 error_at_line, but that takes a 'mode_flags' parameter.
4194 (error_at_line): Converted into a call to
4195 __error_at_line_internal.
4196 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
4197 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
4200 2019-02-20 Martin Liska <mliska@suse.cz>
4202 * math/Makefile: Install math-vector-fortran.h.
4203 * bits/math-vector-fortran.h: New file.
4204 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
4206 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4208 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
4209 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
4211 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
4213 * nptl/pthread_mutex_trylock.c: Fix comment.
4215 2019-02-19 Carlos O'Donell <carlos@redhat.com>
4217 * nptl/pthread_tryjoin.c: Fix comment.
4219 2019-02-18 Joseph Myers <joseph@codesourcery.com>
4222 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
4223 after R_SPARC_H34 case.
4225 2019-02-18 Florian Weimer <fweimer@redhat.com>
4227 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
4228 (getanswer): Do not call Dprintf.
4229 (res_gethostbyname2_context): Likewise.
4230 (res_gethostbyaddr_context): Likewise.
4232 2019-02-18 Florian Weimer <fweimer@redhat.com>
4234 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
4236 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
4238 * libio/stdfiles.c: Update comment.
4239 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
4240 set _IO_stdin, _IO_stdout, _IO_stderr.
4241 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
4242 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
4244 (_IO_deallocate_file): New inline function.
4245 * libio/iolibio.h (_IO_vprintf): Remove definition.
4246 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
4247 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4248 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
4250 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
4251 __builtin_expect. Use _IO_legacy_file.
4253 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
4255 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
4256 Initialize ctid with a known value and remove update of ctid
4258 (wait_tid): Adjust arguments and call futex_wait with ctid_val
4259 as assumed current value of ctid_ptr.
4261 2019-02-16 Florian Weimer <fweimer@redhat.com>
4263 Check that non-sysdeps headers have wrapper headers.
4264 * scripts/check-wrapper-headers.py: New file.
4265 * Makefile (tests-special): Add check-wrapper-headers.out.
4266 (check-wrapper-headers.out): New target.
4267 * Rules (tests-special): Add check-wrapper-headers.out.
4268 (check-wrapper-headers.out): New target.
4270 2019-02-16 Florian Weimer <fweimer@redhat.com>
4272 Add missing header wrappers under include/.
4273 * include/ar.h: New file.
4274 * include/bits/mqueue2.h: Likewise.
4275 * include/bits/stdio.h: Likewise.
4276 * include/bits/stdio2.h: Likewise.
4277 * include/fstab.h: Likewise.
4278 * include/fts.h: Likewise.
4279 * include/lastlog.h: Likewise.
4280 * include/netinet/icmp6.h: Likewise.
4281 * include/netinet/igmp.h: Likewise.
4282 * include/netinet/ip6.h: Likewise.
4283 * include/re_comp.h: Likewise.
4284 * include/regexp.h: Likewise.
4285 * include/rpcsvc/bootparam.h: Likewise.
4286 * include/rpcsvc/yp_prot.h: Likewise.
4287 * include/sys/random.h: Likewise.
4288 * include/sys/stropts.h: Likewise.
4289 * include/sys/ttychars.h: Likewise.
4290 * include/sys/vfs.h: Likewise.
4291 * include/wait.h: Likewise.
4293 2019-02-16 Florian Weimer <fweimer@redhat.com>
4295 * nptl_db/proc_service.h: Move to ...
4296 * sysdeps/nptl/proc_service.h: ... here.
4297 * nptl_db/thread_db.h: Move to ...
4298 * sysdeps/nptl/thread_db.h: ... here.
4299 * nptl/descr.h: Include <thread_db.h>.
4301 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4303 * io/Makefile (tests): Add tst-lockf.
4304 * io/lockf.c (lockf): Use __fcntl and only define for
4305 !__OFF_T_MATCHES_OFF64_T.
4306 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
4307 __OFF_T_MATCHES_OFF64_T case.
4308 * io/tst-lockf.c: New file.
4309 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
4310 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
4311 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
4312 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
4313 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
4314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
4315 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
4316 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
4317 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
4319 2019-02-15 Florian Weimer <fweimer@redhat.com>
4322 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
4323 pd->result after the thread descriptor has been freed.
4325 2019-02-15 Joseph Myers <joseph@codesourcery.com>
4327 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
4328 from function return type.
4330 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
4332 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4334 * scripts/test_printers_common.py: Set TERM to a known harmless
4337 2019-02-14 Joseph Myers <joseph@codesourcery.com>
4339 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
4340 (xdr_u_int): Likewise.
4341 (xdr_enum): Likewise.
4342 (xdr_bytes): Reword fall-through comment.
4343 (xdr_string): Likewise.
4345 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4348 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
4349 (tests): Add tst-join8 tst-join9.
4350 * nptl/lll_timedwait_tid.c: Remove file.
4351 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
4352 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
4353 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
4354 * nptl/pthread_join_common.c (timedwait_tid): New function.
4355 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
4357 * nptl/tst-join5.c (thread_join): New function.
4358 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
4360 * nptl/tst-join8.c: New file.
4361 * nptl/tst-join9.c: Likewise.
4362 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
4363 lll_futex_timed_wait_cancel): Add generic macros.
4364 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
4366 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4367 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4368 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4369 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
4371 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
4373 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4374 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4375 (lll_futex_timed_wait_cancel): New macro.
4377 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
4379 * benchtests/Makefile: Add malloc-simple benchmark.
4380 * benchtests/bench-malloc-simple.c: New benchmark.
4382 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
4384 * benchtests/bench-memmove.c (do_one_test): Remove unused
4387 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
4391 2019-01-13 Jim Wilson <jimw@sifive.com>
4394 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
4395 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
4397 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
4399 * nptl/Makefile (tests): Add tst-unwind-thread.
4400 (CFLAGS-tst-unwind-thread.c): Define.
4401 * nptl/tst-unwind-thread.c: New file.
4402 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
4405 2019-02-13 Joseph Myers <joseph@codesourcery.com>
4407 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
4409 * nis/nis_call.c (__do_niscall3): Likewise.
4411 * catgets/gencat.c (normalize_line): Use braces around empty
4413 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4414 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
4415 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
4416 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
4417 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
4418 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
4419 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
4422 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
4425 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
4427 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
4428 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
4429 * benchtests/bench-strchr.c (stupid_strchr): Remove.
4430 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
4431 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
4432 * benchtests/bench-strlen.c (builtin_strlen): Remove.
4433 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
4434 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
4435 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
4436 * benchtests/bench-strspn.c (stupid_strspn): Remove.
4437 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
4438 * benchtests/bench-bcopy.c: Delete file.
4439 * benchtests/bench-bzero.c: Likewise.
4440 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
4441 (simple_memccpy): Remove.
4442 (generic_memccpy): Add function.
4443 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
4444 * benchtests/bench-memmove.c (simple_bcopy): Remove.
4445 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
4446 (generic_mempcpy): Add new function.
4447 * benchtests/bench-memset.c (simple_bzero): Remove.
4448 (builtin_bzero): Remove.
4449 (builtin_memset): Remove.
4450 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
4451 (generic_rawmemchr): Add new function.
4453 2019-02-12 Florian Weimer <fweimer@redhat.com>
4455 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
4457 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4460 * elf/Makefile (tests): Add tst-audit13.
4461 (modules-names): Add tst-audit13mod1.
4462 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4464 * elf/tst-audit13.c: New file.
4465 * elf/tst-audit13mod1.c: Likewise.
4467 2019-02-12 Florian Weimer <fweimer@redhat.com>
4470 * elf/rtld.c (unload_audit_module): New function.
4471 (report_audit_module_load_error): Likewise.
4472 (load_audit_module): Likewise. Extracted from dl_main. Call
4473 _dl_close if the laversion symbol cannot be found. Use early
4474 returns for error handling. Add malloc error check. Check for a
4475 zero return value from la_version. Remove spurious comment about
4476 static TLS initialization. Remove useless casts.
4477 (notify_audit_modules_of_loaded_object): New function. Extracted
4479 (load_audit_module): Likewise.
4480 (dl_main): Call load_audit_modules.
4482 2019-02-12 Joseph Myers <joseph@codesourcery.com>
4484 * elf/dl-exception.c (_dl_exception_create_format): Add
4485 fall-through comments.
4486 * elf/ldconfig.c (parse_conf_include): Likewise.
4487 * elf/rtld.c (print_statistics): Likewise.
4488 * locale/programs/charmap.c (parse_charmap): Likewise.
4489 * misc/mntent_r.c (__getmntent_r): Likewise.
4490 * posix/wordexp.c (parse_arith): Likewise.
4491 (parse_backtick): Likewise.
4492 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
4493 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4494 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4496 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
4498 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
4499 Use float instead of double.
4501 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4503 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
4505 2019-02-08 Joseph Myers <joseph@codesourcery.com>
4507 * sysdeps/powerpc/bits/mathinline.h: Remove.
4509 2019-02-08 Florian Weimer <fweimer@redhat.com>
4511 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
4512 * math/bits/math-finite.h: Move to ...
4513 * bits/math-finite.h: ... here.
4515 2019-02-08 Florian Weimer <fweimer@redhat.com>
4517 * sysdeps/generic/bits/unistd_ext.h: Move to ...
4518 * bits/unistd_ext.h: here.
4520 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
4523 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
4524 * nss/tst-nss-files-hosts-long.c: New file.
4525 * nss/tst-nss-files-hosts-long.root: New directory.
4526 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
4527 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
4529 2019-02-08 Florian Weimer <fweimer@redhat.com>
4531 * include/bits/unistd_ext.h: Remove file.
4532 * posix/bits/unistd_ext.h: Move to ...
4533 * sysdeps/generic/bits/unistd_ext.h: ... here.
4535 2019-02-08 Florian Weimer <fweimer@redhat.com>
4537 * include/bits/unistd_ext.h: New file.
4539 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
4541 * time/tst-strftime2.c: Use array_length macros instead of magic
4544 2019-02-08 Florian Weimer <fweimer@redhat.com>
4547 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
4549 * nptl/register-atfork.c (__run_fork_handlers): Only perform
4550 locking if the new do_locking argument is true.
4551 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
4552 __run_fork_handlers.
4554 2019-02-08 Florian Weimer <fweimer@redhat.com>
4557 Linux: Add gettid system call wrapper.
4558 * posix/Makefile (headers): Add bits/unistd_ext.h.
4559 * posix/bits/unistd_ext.h: New file.
4560 * posix/unistd.h: Include it.
4561 * manual/process.texi (Process Identification): Document gettid.
4562 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
4563 tst-gettid, tst-gettid-kill.
4564 (tst-gettid): Link with $(shared-thread-library).
4565 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
4566 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
4567 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
4568 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
4569 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
4570 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4572 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4574 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4575 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
4577 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
4579 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
4581 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
4583 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4585 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4587 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4589 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4590 (GLIBC_2.30): Likewise.
4591 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4592 (GLIBC_2.30): Likewise.
4593 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4594 (GLIBC_2.30): Likewise.
4595 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4596 (GLIBC_2.30): Likewise.
4597 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4600 (GLIBC_2.30): Likewise.
4601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4602 (GLIBC_2.30): Likewise.
4603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4604 (GLIBC_2.30): Likewise.
4605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4606 (GLIBC_2.30): Likewise.
4607 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4609 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4611 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4613 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4614 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4616 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4618 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4620 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4622 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
4624 2019-02-08 Florian Weimer <fweimer@redhat.com>
4626 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
4627 compatibility symbols.
4629 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
4632 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4633 Add compiler barriers and comments.
4635 2019-02-07 Florian Weimer <fweimer@redhat.com>
4637 * include/array_length.h (array_length): Do not use a statement
4638 expression and _Static_assert, so that array_length can be used at
4639 file scope and as a constant expression.
4641 2019-02-07 Florian Weimer <fweimer@redhat.com>
4643 * support/xdlfcn.h (xdlmopen): Declare.
4644 * support/xdlmopen.c: New file.
4645 * support/Makefile (libsupport-routines): Add xdlmopen.
4647 2019-02-06 Joseph Myers <joseph@codesourcery.com>
4649 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
4650 before return type, without separate inline.
4651 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
4652 * elf/dl-tunables.h (tunable_is_name): Likewise.
4653 * malloc/malloc.c (do_set_trim_threshold): Likewise.
4654 (do_set_top_pad): Likewise.
4655 (do_set_mmap_threshold): Likewise.
4656 (do_set_mmaps_max): Likewise.
4657 (do_set_mallopt_check): Likewise.
4658 (do_set_perturb_byte): Likewise.
4659 (do_set_arena_test): Likewise.
4660 (do_set_arena_max): Likewise.
4661 (do_set_tcache_max): Likewise.
4662 (do_set_tcache_count): Likewise.
4663 (do_set_tcache_unsorted_limit): Likewise.
4664 * nis/nis_subr.c (count_dots): Likewise.
4665 * nptl/allocatestack.c (advise_stack_range): Likewise.
4666 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
4668 (reduce_sincos): Likewise.
4669 (do_sincos): Likewise.
4670 * sysdeps/unix/sysv/linux/x86/elision-conf.c
4671 (do_set_elision_enable): Likewise.
4672 (TUNABLE_CALLBACK_FNDECL): Likewise.
4674 2019-02-06 Florian Weimer <fweimer@redhat.com>
4676 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
4677 (xdlsym): Use dlerror to detect a NULL symbol.
4679 2019-02-06 Florian Weimer <fweimer@redhat.com>
4681 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
4683 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4685 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4687 * libio/tst-bz24153.c (wide): Use wide char format specifier.
4689 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4691 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
4692 __wmemcmp and weak alias to wmemcmp.
4694 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4697 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
4698 TLS_TCB_AT_TP tls variant.
4699 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
4700 Add alignment checks.
4701 * support/Makefile (libsupport-routines): Add xposix_memalign and
4703 * support/support.h: Add xposix_memalign.
4704 * support/xthread.h: Add xpthread_attr_setstack.
4705 * support/xposix_memalign.c: New File.
4706 * support/xpthread_attr_setstack.c: Likewise.
4708 2019-02-05 Florian Weimer <fweimer@redhat.com>
4711 arm: Use "nr" constraint for Systemtap probes, to avoid the
4712 compiler using memory operands for constants, due to the "o"
4713 alternative in the default "nor" constraint.
4714 * include/stap-probe.h [USE_STAP_PROBE]: Include
4715 <stap-probe-machine.h>
4716 * sysdeps/generic/stap-probe-machine.h: New file.
4717 * sysdeps/arm/stap-probe-machine.h: Likewise.
4719 2019-02-04 Joseph Myers <joseph@codesourcery.com>
4721 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
4722 with 0, not tcache->entries[tc_idx].
4724 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
4727 2019-02-04 Andreas Schwab <schwab@suse.de>
4731 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
4732 looking up collating elements match against (wide) character
4733 sequence instead of name. Correct alignment adjustment.
4734 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
4735 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
4736 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
4737 (LOCALES): Add cs_CZ.ISO-8859-2.
4738 * posix/tst-fnmatch4.c: New file.
4739 * posix/tst-fnmatch5.c: New file.
4740 * include/wchar.h (__wmemcmp): Declare.
4741 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
4742 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4743 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
4744 * sysdeps/s390/wmemcmp.c: Likewise.
4746 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
4750 * NEWS: Updated for CVE-2019-7309.
4751 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
4752 upper 32 bits of RDX register for x32. Use unsigned Jcc
4753 instructions, instead of signed.
4754 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
4755 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
4757 2019-02-04 Florian Weimer <fweimer@redhat.com>
4759 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
4760 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
4761 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
4763 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
4764 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
4765 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
4766 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
4768 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
4770 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
4772 (posix_spawn_file_actions_addopen): Likewise.
4773 (posix_spawn_file_actions_addclose): Likewise.
4774 (posix_spawn_file_actions_adddup2): Likewise.
4775 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
4777 (posix_spawn_file_actions_addfchdir_np): Likewise.
4779 2019-02-04 David Newall <glibc@davidnewall.com>
4781 elf: Implement --preload option for the dynamic linker.
4782 * elf/rtld.c (preloadarg): New variable.
4783 (handle_preload_list): Pass through “where” argument to
4785 (dl_main): Handle "--preload" and add second call to
4786 handle_preload_list.
4787 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
4788 (tst-rtld-preload-OBJS): Set variable.
4789 (tst-rtld-preload.out): New target.
4790 * elf/tst-rtld-preload.sh: New file.
4792 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
4794 * Makefile (testrun.sh): Exit in case of incorrect argument.
4796 2019-02-04 Florian Weimer <fweimer@redhat.com>
4798 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
4801 2019-02-03 Florian Weimer <fweimer@redhat.com>
4803 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
4804 implicit overflow checks.
4806 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
4808 * stdlib/isomac.c: Include <unistd.h>.
4810 2019-02-03 Florian Weimer <fweimer@redhat.com>
4812 * include/time.h (__tzfile_default): Use int, not long int, for
4814 * time/tzfile.c (struct ttinfo): Change type of the offset member
4816 (__tzfile_read): Remove useless cast.
4817 (__tzfile_default): Adjust prototype.
4818 * time/tzset.c (tz_rule): Change type of the offset member to int.
4819 (parse_offset): Change the type of the sign variable to int.
4821 2019-02-03 Florian Weimer <fweimer@redhat.com>
4824 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
4825 * libio/getchar.c (getchar): Likewise.
4826 * libio/getchar_u.c (getchar_unlocked): Likewise.
4827 * libio/getwchar.c (getwchar): Likewise.
4828 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4829 * libio/iogets.c (_IO_gets): Likewise.
4830 * libio/vscanf.c (_IO_vscanf): Likewise.
4831 * libio/vwscanf.c (__vwscanf): Likewise.
4832 * libio/tst-bz24153.c: New file.
4833 * libio/Makefile (tests): Add it.
4835 2019-02-02 Florian Weimer <fweimer@redhat.com>
4838 * manual/resource.texi (Basic Scheduling Functions): Add
4839 portability note. Change process to task throughout the section.
4840 Remove incorrect comment about sched_yield as it affects
4841 tasks/threads, not entire processes.
4842 * sysdeps/unix/sysv/linux/bits/posix_opt.h
4843 (_POSIX_PRIORITY_SCHEDULING): Update comment.
4845 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4847 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
4848 * configure: Regenerated.
4849 * manual/install.texi (Tools for Compilation): Update minimum GCC
4851 * INSTALL: Regenerated.
4853 2019-02-01 Florian Weimer <fweimer@redhat.com>
4855 * support/support_test_compare_string.c
4856 (support_test_compare_string): Use "string" in error message.
4857 * support/tst-test_compare_string.c (do_test): Adjust.
4859 2019-02-01 Florian Weimer <fweimer@redhat.com>
4861 * support/support_format_address_family.c
4862 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
4864 2019-02-01 Florian Weimer <fweimer@redhat.com>
4866 * manual/socket.texi (Internet Address Formats): Clarify the byte
4867 order of struct sockaddr_in, struct sockaddr_in6. Document
4868 sin6_flowinfo and sin6_scope_id.
4870 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
4872 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
4873 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
4874 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
4875 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
4876 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
4877 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
4879 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4881 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
4882 [!MEMCHR](MEMCHR): Set to __memchr.
4883 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4884 Add memchr_generic and memchr_nosimd.
4885 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4886 (__libc_ifunc_impl_list): Add memchr ifuncs.
4887 * sysdeps/aarch64/multiarch/memchr.c: New file.
4888 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
4889 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
4891 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4893 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4895 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4896 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
4897 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
4898 Add IS_EMAG check for ifunc dispatch.
4899 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
4900 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
4902 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4904 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
4905 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4907 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
4910 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
4912 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
4914 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
4916 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
4917 syscall-template file.
4919 2019-01-31 Carlos O'Donell <carlos@redhat.com>
4920 Torvald Riegel <triegel@redhat.com>
4921 Rik Prohaska <prohaska7@gmail.com>
4924 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
4925 tst-rwlock-trywrlock-stall.
4926 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4927 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
4928 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
4929 Set __wrphase_fute to 1 only if we started the write phase.
4930 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
4931 * nptl/tst-rwlock-trywrlock-stall.c: New file.
4932 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
4933 * support/xpthread_rwlock_destroy.c: New file.
4934 * support/xthread.h: Declare xpthread_rwlock_destroy.
4936 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4938 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4941 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4944 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
4945 * libio/fileops.c (_IO_new_file_underflow): Likewise
4946 * libio/wfileops.c (_IO_wfile_underflow): Likewise
4947 * libio/putchar.c (putchar): Likewise.
4948 * libio/putchar_u.c (putchar_unlocked): Likewise.
4949 * libio/putwchar.c (putchar): Likewise.
4950 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4951 * libio/tst-bz24051.c: New test.
4952 * libio/Makefile (tests): Add tst-bz24051
4954 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
4957 regex: fix read overrun [BZ #24114]
4958 Problem found by AddressSanitizer, reported by Hongxu Chen in:
4959 https://debbugs.gnu.org/34140
4960 * posix/regexec.c (proceed_next_node):
4961 Do not read past end of input buffer.
4963 2019-01-31 Florian Weimer <fweimer@redhat.com>
4966 * nss/nss_files/files-alias.c (get_next_alias): Handle
4967 continuation line without newline at the end.
4968 * nss/tst-nss-files-alias-truncated.c: New file.
4969 * nss/Makefile [$(build-shared)] (tests): Add
4970 tst-nss-files-alias-truncated.
4971 (tst-nss-files-alias-truncated): Link with libnss_files.so.
4972 * support/namespace.h (struct support_chroot_configuration): Add
4974 (struct support_chroot): Add path_aliases member.
4975 * support/support_chroot.c (support_chroot_create): Handle
4977 (support_chroot_free): Free path_aliases.
4979 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4981 * version.h (RELEASE): Set to "development".
4982 (VERSION): Set to "2.29.9000".
4983 * NEWS: Add section for 2.30.
4985 * version.h (RELEASE): Set to "stable".
4986 (VERSION): Set to "2.29".
4987 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
4989 * NEWS: Add the list of bugs fixed in 2.29.
4990 * manual/contrib.texi: Update contributors list with some more
4992 * manual/install.texi: Update latest versions of packages
4994 * INSTALL: Regenerated.
4996 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4998 * po/be.po: Update translations.
4999 * po/bg.po: Likewise.
5000 * po/ca.po: Likewise.
5001 * po/cs.po: Likewise.
5002 * po/da.po: Likewise.
5003 * po/de.po: Likewise.
5004 * po/el.po: Likewise.
5005 * po/eo.po: Likewise.
5006 * po/es.po: Likewise.
5007 * po/fi.po: Likewise.
5008 * po/fr.po: Likewise.
5009 * po/gl.po: Likewise.
5010 * po/hr.po: Likewise.
5011 * po/hu.po: Likewise.
5012 * po/ia.po: Likewise.
5013 * po/id.po: Likewise.
5014 * po/it.po: Likewise.
5015 * po/ja.po: Likewise.
5016 * po/ko.po: Likewise.
5017 * po/lt.po: Likewise.
5018 * po/nb.po: Likewise.
5019 * po/nl.po: Likewise.
5020 * po/pl.po: Likewise.
5021 * po/pt_BR.po: Likewise.
5022 * po/ru.po: Likewise.
5023 * po/rw.po: Likewise.
5024 * po/sk.po: Likewise.
5025 * po/sl.po: Likewise.
5026 * po/sv.po: Likewise.
5027 * po/tr.po: Likewise.
5028 * po/uk.po: Likewise.
5029 * po/vi.po: Likewise.
5030 * po/zh_CN.po: Likewise.
5031 * po/zh_TW.po: Likewise.
5033 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
5036 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
5037 of $f3 register on $y_is_neg path.
5039 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
5042 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
5043 sigaltstack.ss_flags.
5045 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
5048 * manual/time.texi (strftime): Document "%Ey".
5049 * time/strftime_l.c (__strftime_internal): Set the default width
5050 padding with zero of "%Ey" to 2.
5053 * manual/time.texi (strftime): Document "%EC" and "%EY".
5054 * time/Makefile (tests): Add tst-strftime2.
5055 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
5056 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
5057 override padding for "%Ey".
5058 If an optional flag ('_' or '-') is specified to "%EY", interpret the
5059 "%Ey" in the subformat as if decorated with that flag.
5060 * time/tst-strftime2.c: New file.
5062 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5064 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
5068 * elf/Makefile (tests): Add tst-audit13.
5069 (modules-names): Add tst-audit13mod1.
5070 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5072 * elf/rtld.c (dl_main): Handle invalid audit module version.
5073 * elf/tst-audit13.c: New file.
5074 * elf/tst-audit13mod1.c: Likewise.
5076 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5078 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
5079 returned by __hurd_at_flags.
5080 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
5081 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
5082 directly instead of __hurd_file_name_lookup.
5084 2019-01-21 Joseph Myers <joseph@codesourcery.com>
5086 * scripts/build-many-glibcs.py (Context.checkout): Default
5087 binutils version to 2.32 branch.
5089 2019-01-21 Florian Weimer <fweimer@redhat.com>
5093 resolv: Reject trailing characters in host names
5094 * include/arpa/inet.h (__inet_aton_exact): Declare.
5095 (inet_aton): Remove hidden prototype. No longer used internally.
5096 * nscd/gai.c (__inet_aton): Do not define.
5097 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
5098 * nss/digits_dots.c (__inet_aton): Likewise.
5099 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
5100 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
5101 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
5102 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
5103 (tst-resolv-trailing): Likewise.
5104 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
5106 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
5107 Make static. Add endp parameter.
5108 (__inet_aton_exact): New function.
5109 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
5110 (__inet_addr): Call inet_aton_end.
5111 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
5112 not just IPv6. Call __inet_aton_exact.
5113 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
5114 (tests): Make const. Add additional test cases with trailing
5116 (do_test): Use array_length.
5117 * resolv/tst-inet_aton_exact.c: New file.
5118 * resolv/tst-resolv-trailing.c: Likewise.
5119 * resolv/tst-resolv-nondecimal.c: Likewise.
5120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
5122 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5126 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
5127 Clear the upper 32 bits of RSI register.
5128 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
5129 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
5130 and tst-size_t-wcsnlen.
5131 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
5132 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
5134 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5138 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
5139 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5140 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5141 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
5142 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
5144 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5148 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
5149 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5150 * sysdeps/x86_64/strcmp.S: Likewise.
5151 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
5152 tst-size_t-strncmp and tst-size_t-wcsncmp.
5153 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
5154 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
5155 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
5157 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5161 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
5162 RDX_LP for length. Clear the upper 32 bits of RDX register.
5163 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
5164 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
5165 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
5166 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
5168 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5172 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
5173 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
5174 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
5175 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
5177 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5181 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
5182 length. Clear the upper 32 bits of RDX register.
5183 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5184 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5186 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5188 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
5190 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
5192 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5196 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
5197 length. Clear the upper 32 bits of RDX register.
5198 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5199 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5200 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
5202 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
5203 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
5205 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5209 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
5210 upper 32 bits of RDX register.
5211 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
5212 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
5214 * sysdeps/x86_64/x32/test-size_t.h: New file.
5215 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
5216 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
5218 2019-01-18 Florian Weimer <fweimer@redhat.com>
5221 resolv: Do not send queries for non-host-names in nss_dns.
5222 * resolv/nss_dns/dns-host.c (check_name): New function.
5223 (_nss_dns_gethostbyname2_r): Use it.
5224 (_nss_dns_gethostbyname_r): Likewise.
5225 (_nss_dns_gethostbyname4_r): Likewise.
5227 2019-01-21 Florian Weimer <fweimer@redhat.com>
5229 * resolv/inet_addr.c: Reformat to GNU style.
5230 (__inet_addr, __inet_aton): Update comment.
5232 2019-01-18 Florian Weimer <fweimer@redhat.com>
5234 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
5235 ("malloc: Use current (C11-style) atomics for fastbin access").
5236 This commit introduces a substantial performance regression on
5238 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
5239 (REMOVE_FB): Define.
5240 (_int_malloc): Use it and reindent.
5241 (_int_free): Use CAS loop with
5242 catomic_compare_and_exchange_val_rel.
5243 (malloc_consolidate): Use atomic_exchange_acq.
5246 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
5248 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
5250 (LDFLAGS-tst-minsigstksz-2): Likewise.
5251 (LDFLAGS-tst-minsigstksz-3): Likewise.
5252 (LDFLAGS-tst-minsigstksz-3a): Likewise.
5253 (LDFLAGS-tst-minsigstksz-4): Likewise.
5255 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
5257 * manual/time.texi (strftime): Fix the wording to "alternative" rather
5260 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
5262 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
5264 2019-01-16 Zack Weinberg <zackw@panix.com>
5266 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
5267 (xget_sigstack_location): New test support functions.
5268 * support/xsigstack.c: New file, implementing them.
5269 * support/tst-xsigstack.c: New test for them.
5270 * support/Makefile: Update.
5272 * signal/tst-minsigstksz-1.c
5273 * signal/tst-minsigstksz-2.c
5274 * signal/tst-minsigstksz-3.c
5275 * signal/tst-minsigstksz-3a.c
5276 * signal/tst-minsigstksz-4.c: New tests.
5277 * signal/Makefile: Run them.
5279 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5281 * po/libc.pot: Regenerate.
5283 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5285 * math/libm-test-fma.inc (fma_test_data): Set
5286 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
5288 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5290 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
5291 (do_test): Changed __vector __int128_t to __vector unsigned int.
5293 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5296 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
5297 stpcpy-avx2 and stpncpy-avx2.
5298 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
5299 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
5300 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
5302 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
5303 ifunc-strcpy.h}: rename header for a more generic name.
5304 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
5305 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
5306 AVX unaligned load is fast and vzeroupper is preferred.
5307 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
5308 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
5309 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
5310 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
5311 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
5312 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
5314 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
5316 * argp/argp-help.c: Fix typo in comment.
5317 * misc/sys/cdefs.h: Likewise.
5318 * posix/regexec.c (sift_states_iter_mb): Likewise.
5319 * socket/sockatmark.c: Likewise.
5320 * socket/sys/socket.h: Likewise.
5321 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
5322 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
5323 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
5324 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5325 * sysdeps/unix/sockatmark.c: Likewise.
5326 * time/strptime_l.c: Likewise.
5328 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5330 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
5331 missing space after the cast of "_NL_CURRENT".
5333 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5335 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
5336 ifdef to fix read of VSCR.
5337 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
5338 tst-ucontext-ppc64-vscr.c to test list.
5339 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
5341 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
5343 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
5346 2019-01-09 Jim Wilson <jimw@sifive.com>
5348 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
5350 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
5352 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
5353 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
5354 __memcpy_falkor for ares.
5355 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
5357 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5360 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
5363 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
5364 4_FP_W_TYPEs are used for IEEE quad precision.
5365 * soft-fp/extendhftf2.c: Likewise.
5366 * soft-fp/extendsftf2.c: Likewise.
5367 * soft-fp/extendxftf2.c: Likewise.
5368 * soft-fp/trunctfdf2.c: Likewise.
5369 * soft-fp/trunctfhf2.c: Likewise.
5370 * soft-fp/trunctfsf2.c: Likewise.
5371 * soft-fp/trunctfxf2.c: Likewise.
5372 * sysdeps/alpha/ots_cvttx.c: Likewise.
5373 * sysdeps/alpha/ots_cvtxt.c: Likewise.
5374 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
5375 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
5376 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
5377 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
5378 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
5379 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
5380 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
5381 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
5382 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
5383 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
5384 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
5385 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
5386 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
5387 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
5388 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
5389 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
5391 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5394 * Makeconfig: Build libm with -fno-math-errno but build the remaining
5395 code with -fmath-errno.
5396 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
5397 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
5398 * string/test-strerror-errno.c: New file.
5400 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5403 * localedata/locales/en_US (date_fmt): Add, set to
5404 "%a %d %b %Y %r %Z".
5406 2019-01-07 Florian Weimer <fweimer@redhat.com>
5409 * manual/arith.texi (Math Error Reporting): Use @code{errno}
5410 instead of @var{errno}.
5411 (Parsing of Integers): Likewise.
5412 (Parsing of Floats): Likewise.
5413 * manual/filesys.texi (Working with Directory Trees): Likewise.
5414 (Temporary Files): Likewise.
5415 * manual/job.texi (Terminal Access Functions): Likewise.
5416 * manual/llio.texi (Synchronizing I/O): Likewise.
5417 * manual/math.texi (SVID Random): Likewise.
5418 * manual/message.texi (The catgets Functions): Likewise.
5419 (Translation with gettext): Likewise.
5420 (Locating gettext catalog): Likewise.
5421 (Charset conversion in gettext): Likewise.
5422 * manual/nss.texi (NSS Module Function Internals): Likewise.
5423 * manual/search.texi (Hash Search Function): Likewise.
5424 * manual/setjmp.texi (System V contexts): Likewise.
5425 * manual/time.texi (Sleeping): Likewise.
5426 * manual/users.texi (Lookup User): Likewise.
5427 (Lookup Group): Likewise.
5429 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5431 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
5434 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
5437 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
5438 __builtin_unreachable for default case in switch.
5439 (__ieee754_yn): Likewise.
5440 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5441 (__ieee754_ynl): Likewise.
5442 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5443 (__ieee754_ynl): Likewise.
5444 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5445 (__ieee754_ynl): Likewise.
5447 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
5449 * manual/maint.texi: Use @{ and @}.
5451 2019-01-04 Florian Weimer <fweimer@redhat.com>
5453 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
5455 (do_in_chroot_1): Call it.
5457 Improve error reporting in case it is not possible to create a
5458 collision for the PTY name required by the test.
5460 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5462 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
5463 lll_wait_tid with timeout.
5464 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
5465 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
5466 futex_reltimed_wait_cancelable for cancelabla mode.
5467 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
5468 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
5470 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
5471 * sysdeps/posix/waitid.c (__sigwait): Likewise.
5472 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
5473 SYSCALL_CANCEL_NCS): New macro.
5474 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
5475 (lll_timedwait_tid): Remove macro.
5476 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
5478 (lll_timedwait_tid): Likewise.
5479 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
5481 (lll_timedwait_tid): Likewise.
5482 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
5484 (lll_timedwait_tid): Likewise.
5485 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
5486 Use INTERNAL_SYSCALL_CANCEL.
5487 * sysdeps/unix/sysv/linux/futex-internal.h
5488 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
5489 instead of __pthread_{enable,disable}_asynccancel.
5490 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5491 (lll_futex_wait_cancel): New macro.
5493 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5494 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5496 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5497 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5499 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
5500 in backtrace analysis.
5501 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
5503 (tf_send): Likewise.
5505 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
5506 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
5507 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
5508 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
5509 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5510 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5511 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
5512 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
5513 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
5514 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
5515 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
5516 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
5518 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
5519 tst-cancel-wrappers.sh.
5520 (generated): Remove tst-cancel-wrappers.out.
5521 (tst-cancel-wrappers.out): Remove rule.
5522 * nptl/tst-cancel-wrappers.sh: Remove file.
5524 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5526 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
5527 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5530 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5533 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
5534 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
5535 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
5536 close-on-exec reset for adddup2 file action.
5537 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5539 2019-01-03 Zack Weinberg <zackw@panix.com>
5541 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
5542 parameter. Only use deprecated scanf when __USE_GNU is defined
5543 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
5544 than 201103L, whichever is relevant for the language being compiled.
5546 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
5547 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
5548 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
5549 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
5550 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
5554 * libio/iovswscanf.c
5559 * stdio-common/fscanf.c
5560 * stdio-common/scanf.c
5561 * stdio-common/vfscanf.c
5562 * stdio-common/vfwscanf.c
5563 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5564 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
5565 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
5566 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
5567 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
5568 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
5569 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
5570 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
5571 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
5572 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
5573 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
5574 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
5575 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
5576 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
5577 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
5579 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
5580 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
5581 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
5583 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
5584 with a preprocessor macro.
5586 * stdio-common/bug21.c, stdio-common/scanf14.c:
5587 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
5588 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5589 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
5590 to xscanf, xfscanf, xsscanf.
5592 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
5593 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5594 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
5595 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
5597 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
5598 override feature selection macros or provide definitions of u_char etc.
5599 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
5600 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
5601 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
5604 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5606 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5607 bits/termios-misc.h.
5608 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
5609 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5610 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5611 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5612 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
5613 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
5615 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
5616 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5617 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
5618 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
5619 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
5620 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
5622 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
5623 (sysdep_headers): Add termios-misc.h.
5625 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
5626 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5627 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5631 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
5632 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
5633 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
5634 TCSAFLUSH): Move to termios-tcflow.h.
5635 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5636 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5637 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5638 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5642 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
5643 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
5644 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
5645 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
5646 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
5647 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
5648 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
5649 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
5651 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5652 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5653 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5654 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5658 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
5659 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
5660 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
5661 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
5662 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
5664 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5665 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5666 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5667 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5672 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
5673 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
5674 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
5675 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
5676 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
5677 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
5678 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
5679 __MAX_BAUD): Move to termios-baud.h.
5680 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
5681 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
5682 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5683 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5684 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5686 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5688 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
5689 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
5690 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
5691 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
5692 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
5693 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
5695 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
5696 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
5698 [USE_MISC] (XTABS): Likewise.
5699 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5700 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5701 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5702 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
5704 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5706 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
5707 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
5708 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
5709 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
5710 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
5711 IUTF8): Move to termios-c_iflag.h.
5712 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5713 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5714 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5715 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5717 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5719 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
5720 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
5721 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
5722 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
5723 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
5724 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
5725 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
5726 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
5727 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5728 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5729 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5730 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5732 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
5733 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
5734 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
5735 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
5736 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5738 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
5740 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
5742 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
5744 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
5746 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
5748 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
5749 _HAVE_C_OSPEED): Define.
5750 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
5751 _HAVE_C_OSPEED): Likewise.
5752 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
5753 _HAVE_C_OSPEED): Likewise.
5754 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
5755 (cfsetospeed): Check for define value instead of existence.
5756 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
5757 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5758 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
5759 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5760 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
5763 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
5765 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5766 (TIOCSER_TEMT): Likewise.
5767 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
5768 (TEOCSER_TEMT): Likewise.
5770 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
5773 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
5775 2019-01-02 Joseph Myers <joseph@codesourcery.com>
5777 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
5779 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5781 * sysdeps/htl/pt-barrierattr-setpshared.c
5782 (pthread_barrierattr_setpshared): Add stub warning.
5783 * sysdeps/htl/pt-condattr-setpshared.c
5784 (pthread_condattr_setpshared): Likewise.
5785 * sysdeps/htl/pt-mutexattr-setpshared.c
5786 (pthread_mutexattr_setpshared): Likewise.
5787 * sysdeps/htl/pt-rwlockattr-setpshared.c
5788 (pthread_rwlockattr_setpshared): Likewise.
5789 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
5790 (pthread_mutexattr_setpshared): Likewise.
5792 2019-01-02 Joseph Myers <joseph@codesourcery.com>
5794 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
5795 constants to match with Linux 4.20.
5797 * sysdeps/mips/mips32/libm-test-ulps: Update.
5798 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5800 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
5803 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
5804 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
5805 than __typeof (...) for the a_ptr variable.
5807 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5809 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
5810 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
5811 * libio/Makefile (tests): Add tst-sprintf-ub and
5813 (CFLAGS-tst-sprintf-ub.c): New variable.
5814 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
5815 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
5816 destination buffer and check for overflows in fortified mode.
5817 * libio/libioP.h (PRINTF_CHK): New macro.
5818 * libio/tst-sprintf-chk-ub.c: New file.
5819 * libio/tst-sprintf-ub.c: Likewise.
5821 2019-01-02 Florian Weimer <fweimer@redhat.com>
5824 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
5827 2019-01-02 Florian Weimer <fweimer@redhat.com>
5829 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
5831 2019-01-01 Joseph Myers <joseph@codesourcery.com>
5833 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
5836 * sysdeps/unix/sysv/linux/netpacket/packet.h
5837 (PACKET_IGNORE_OUTGOING): New macro.
5839 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
5842 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5844 (riscv_flush_icache): New syscall.
5846 * manual/texinfo.tex: Update to version 2018-12-28.17 with
5847 trailing whitespace removed.
5848 * scripts/config.guess: Update to version 2019-01-01.
5849 * scripts/config.sub: Update to version 2019-01-01.
5850 * scripts/move-if-change: Update from gnulib.
5852 * NEWS: Update copyright dates.
5853 * catgets/gencat.c (print_version): Likewise.
5854 * csu/version.c (banner): Likewise.
5855 * debug/catchsegv.sh: Likewise.
5856 * debug/pcprofiledump.c (print_version): Likewise.
5857 * debug/xtrace.sh (do_version): Likewise.
5858 * elf/ldconfig.c (print_version): Likewise.
5859 * elf/ldd.bash.in: Likewise.
5860 * elf/pldd.c (print_version): Likewise.
5861 * elf/sotruss.sh: Likewise.
5862 * elf/sprof.c (print_version): Likewise.
5863 * iconv/iconv_prog.c (print_version): Likewise.
5864 * iconv/iconvconfig.c (print_version): Likewise.
5865 * locale/programs/locale.c (print_version): Likewise.
5866 * locale/programs/localedef.c (print_version): Likewise.
5867 * login/programs/pt_chown.c (print_version): Likewise.
5868 * malloc/memusage.sh (do_version): Likewise.
5869 * malloc/memusagestat.c (print_version): Likewise.
5870 * malloc/mtrace.pl: Likewise.
5871 * manual/libc.texinfo: Likewise.
5872 * nptl/version.c (banner): Likewise.
5873 * nscd/nscd.c (print_version): Likewise.
5874 * nss/getent.c (print_version): Likewise.
5875 * nss/makedb.c (print_version): Likewise.
5876 * posix/getconf.c (main): Likewise.
5877 * scripts/test-installation.pl: Likewise.
5878 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5880 * All files with FSF copyright notices: Update copyright dates
5881 using scripts/update-copyrights.
5882 * locale/programs/charmap-kw.h: Regenerated.
5883 * locale/programs/locfile-kw.h: Likewise.
5885 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5887 * timezone/zdump.c: Update from tzcode 2018i.
5888 * timezone/zic.c: Likewise.
5890 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
5892 regex: improve Gnulib port to AIX
5893 From the glibc point of view, this removes duplicate macro
5894 definitions and is obviously safe.
5895 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
5896 * posix/regex_internal.h:
5897 (__attribute__, __attribute_warn_unused_result__):
5898 Remove; already defined elsewhere.
5900 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
5903 * malloc/malloc.c (_int_realloc): Always call memcpy for the
5904 copying operation. (ncopies had the wrong type, resulting in an
5905 integer wraparound and too few elements being copied.)
5907 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
5910 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
5911 <asm/syscalls.h> exists with __has_include__ before including it.
5913 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5915 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5918 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
5920 * hurd/lookup-retry: Include <unistd.h>.
5921 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
5922 Release it on return. Handle "pid" magical lookup retry.
5924 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5927 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
5928 (t_fmt_ampm): Likewise.
5929 * localedata/locales/aa_ER (t_fmt): Likewise.
5930 (t_fmt_ampm): Likewise.
5931 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
5932 (t_fmt_ampm): Likewise.
5933 * localedata/locales/aa_ET (t_fmt): Likewise.
5934 (t_fmt_ampm): Likewise.
5935 * localedata/locales/am_ET (t_fmt): Likewise.
5936 (t_fmt_ampm): Likewise.
5937 * localedata/locales/byn_ER (t_fmt): Likewise.
5938 (t_fmt_ampm): Likewise.
5939 * localedata/locales/om_ET (t_fmt): Likewise.
5940 (t_fmt_ampm): Likewise.
5941 * localedata/locales/sid_ET (t_fmt): Likewise.
5942 (t_fmt_ampm): Likewise.
5943 * localedata/locales/so_DJ (t_fmt): Likewise.
5944 (t_fmt_ampm): Likewise.
5945 * localedata/locales/so_ET (t_fmt): Likewise.
5946 (t_fmt_ampm): Likewise.
5947 * localedata/locales/so_SO (t_fmt): Likewise.
5948 (t_fmt_ampm): Likewise.
5949 * localedata/locales/ti_ER (t_fmt): Likewise.
5950 (t_fmt_ampm): Likewise.
5951 * localedata/locales/ti_ET (t_fmt): Likewise.
5952 (t_fmt_ampm): Likewise.
5953 * localedata/locales/tig_ER (t_fmt): Likewise.
5954 (t_fmt_ampm): Likewise.
5955 * localedata/locales/wal_ET (t_fmt): Likewise.
5956 (t_fmt_ampm): Likewise.
5958 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
5959 * localedata/locales/ar_IN (t_fmt): Likewise.
5960 * localedata/locales/bhb_IN (t_fmt): Likewise.
5961 * localedata/locales/bho_IN (t_fmt): Likewise.
5962 * localedata/locales/bi_VU (t_fmt): Likewise.
5963 * localedata/locales/bn_BD (t_fmt): Likewise.
5964 * localedata/locales/bn_IN (t_fmt): Likewise.
5965 * localedata/locales/brx_IN (t_fmt): Likewise.
5966 * localedata/locales/doi_IN (t_fmt): Likewise.
5967 * localedata/locales/en_HK (t_fmt): Likewise.
5968 (t_fmt_ampm): Likewise.
5969 * localedata/locales/en_IN (t_fmt): Likewise.
5970 * localedata/locales/en_PH (t_fmt): Likewise.
5971 * localedata/locales/gu_IN (t_fmt): Likewise.
5972 * localedata/locales/hi_IN (t_fmt): Likewise.
5973 * localedata/locales/hif_FJ (t_fmt): Likewise.
5974 * localedata/locales/hne_IN (t_fmt): Likewise.
5975 * localedata/locales/kn_IN (t_fmt): Likewise.
5976 * localedata/locales/kok_IN (t_fmt): Likewise.
5977 * localedata/locales/ks_IN (t_fmt): Likewise.
5978 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
5979 * localedata/locales/mag_IN (t_fmt): Likewise.
5980 * localedata/locales/mai_IN (t_fmt): Likewise.
5981 * localedata/locales/mjw_IN (t_fmt): Likewise.
5982 * localedata/locales/ml_IN (t_fmt): Likewise.
5983 * localedata/locales/mni_IN (t_fmt): Likewise.
5984 * localedata/locales/mr_IN (t_fmt): Likewise.
5985 * localedata/locales/ms_MY (t_fmt): Likewise.
5986 * localedata/locales/pa_IN (t_fmt): Likewise.
5987 * localedata/locales/raj_IN (t_fmt): Likewise.
5988 * localedata/locales/sa_IN (t_fmt): Likewise.
5989 * localedata/locales/sat_IN (t_fmt): Likewise.
5990 * localedata/locales/sd_IN (t_fmt): Likewise.
5991 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
5992 * localedata/locales/tcy_IN (t_fmt): Likewise.
5993 * localedata/locales/the_NP (t_fmt): Likewise.
5994 * localedata/locales/to_TO (t_fmt): Likewise.
5995 * localedata/locales/ur_IN (t_fmt): Likewise.
5997 * localedata/locales/hif_FJ (d_t_fmt): Set to
5998 "%A %d %b %Y %I:%M:%S %p".
5999 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
6001 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
6002 * localedata/locales/ar_BH (t_fmt): Likewise.
6003 * localedata/locales/ar_DZ (t_fmt): Likewise.
6004 * localedata/locales/ar_EG (t_fmt): Likewise.
6005 * localedata/locales/ar_IQ (t_fmt): Likewise.
6006 * localedata/locales/ar_JO (t_fmt): Likewise.
6007 * localedata/locales/ar_KW (t_fmt): Likewise.
6008 * localedata/locales/ar_LB (t_fmt): Likewise.
6009 * localedata/locales/ar_LY (t_fmt): Likewise.
6010 * localedata/locales/ar_OM (t_fmt): Likewise.
6011 * localedata/locales/ar_QA (t_fmt): Likewise.
6012 * localedata/locales/ar_SD (t_fmt): Likewise.
6013 * localedata/locales/ar_SS (t_fmt): Likewise.
6014 * localedata/locales/ar_SY (t_fmt): Likewise.
6015 * localedata/locales/ar_TN (t_fmt): Likewise.
6016 * localedata/locales/ar_YE (t_fmt): Likewise.
6018 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
6019 (t_fmt_ampm): Likewise.
6020 * localedata/locales/gez_ET (t_fmt): Likewise.
6021 (t_fmt_ampm): Likewise.
6023 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
6024 (t_fmt_ampm): Likewise.
6025 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
6027 * localedata/locales/zh_HK (t_fmt):
6028 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
6030 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
6031 because this locale does not use the 12-hour clock.
6032 (t_fmt): Set to "%Z %H:%M:%S".
6033 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
6035 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
6036 because this locale does not use the 12-hour clock.
6037 (t_fmt): Set to "%H:%M:%S %Z".
6038 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
6040 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
6041 because this locale does not use the 12-hour clock.
6042 (t_fmt): Set to "%T".
6043 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
6044 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
6046 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
6047 because this locale does not use the 12-hour clock.
6048 (t_fmt): Set to "%H:%M:%S %Z".
6049 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
6051 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
6052 because this locale does not use the 12-hour clock.
6053 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
6054 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
6056 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6060 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
6061 (t_fmt_ampm): Likewise.
6062 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
6063 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
6064 (d_fmt): Set to "%-d.%-m.%y".
6066 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6068 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
6069 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
6070 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
6072 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
6073 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
6074 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
6076 * support/blob_repeat.c (check_mul_overflow_size_t,
6077 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
6079 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
6081 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
6083 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
6085 regex: simplify Gnulib port
6086 This simplifies the code, by removing stuff intended for porting
6087 to Gnulib but no longer needed there.
6088 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
6089 uses of libc_hidden_def, weak_alias.
6090 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
6091 _Restrict_ except for public-facing headers.
6092 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
6093 Remove; already defined elsewhere.
6094 * posix/regex.c, posix/regex_internal.h:
6095 Use __GNUC_PREREQ instead of rolling our own.
6096 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
6098 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
6100 * benchtests/bench-strlen.c (generic_strlen): New function.
6101 (memchr_strlen): New function.
6103 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6105 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
6106 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
6107 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
6109 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6111 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6113 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6115 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
6116 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
6117 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
6118 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
6119 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
6120 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
6121 <sysdeps/ieee754/flt-32/s_sincosf.c>.
6123 2018-12-21 Joseph Myers <joseph@codesourcery.com>
6126 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
6127 PLT reference in libc.so.
6128 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
6129 _Q_lltoq and _Q_qtod PLT references in libc.so.
6131 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
6133 * benchtests/bench-memchr.c: Cleanup defines.
6134 * benchtests/bench-memcmp.c: Likewise.
6135 * benchtests/bench-memset.c: Likewise.
6136 * benchtests/bench-memset-large.c: Likewise.
6137 * benchtests/bench-memset-walk.c: Likewise.
6138 * benchtests/bench-stpcpy.c: Likewise.
6139 * benchtests/bench-stpncpy.c: Likewise.
6140 * benchtests/bench-strcat.c: Likewise.
6141 * benchtests/bench-strchr.c: Likewise.
6142 * benchtests/bench-strcmp.c: Likewise.
6143 * benchtests/bench-strcpy.c: Likewise.
6144 * benchtests/bench-strcspn.c: Likewise.
6145 * benchtests/bench-string.h: Likewise.
6146 * benchtests/bench-strlen.c: Likewise.
6147 * benchtests/bench-strncat.c: Likewise.
6148 * benchtests/bench-strncmp.c: Likewise.
6149 * benchtests/bench-strncpy.c: Likewise.
6150 * benchtests/bench-strnlen.c: Likewise.
6151 * benchtests/bench-strpbrk.c: Likewise.
6152 * benchtests/bench-strrchr.c: Likewise.
6153 * benchtests/bench-strspn.c: Likewise.
6155 2018-12-21 Joseph Myers <joseph@codesourcery.com>
6157 * stdlib/longlong.h: Update from GCC.
6160 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
6161 * configure: Regenerated.
6162 * manual/install.texi (Tools for Compilation): Update minimum GCC
6164 * INSTALL: Regenerated.
6166 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
6168 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
6170 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
6172 * malloc/malloc.c (mremap_chunk): Additional checks.
6174 2018-12-21 Mao Han <han_mao@c-sky.com>
6176 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
6177 * scripts/build-many-glibcs.py: Add C-SKY targets.
6178 * sysdeps/csky/Implies: New file.
6179 * sysdeps/csky/Makefile: Likewise.
6180 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
6181 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
6182 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
6183 * sysdeps/csky/abiv2/memcmp.S: Likewise.
6184 * sysdeps/csky/abiv2/memcpy.S: Likewise.
6185 * sysdeps/csky/abiv2/memmove.S: Likewise.
6186 * sysdeps/csky/abiv2/memset.S: Likewise.
6187 * sysdeps/csky/abiv2/setjmp.S: Likewise.
6188 * sysdeps/csky/abiv2/start.S: Likewise.
6189 * sysdeps/csky/abiv2/strcmp.S: Likewise.
6190 * sysdeps/csky/abiv2/strcpy.S: Likewise.
6191 * sysdeps/csky/abiv2/strlen.S: Likewise.
6192 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
6193 * sysdeps/csky/abort-instr.h: Likewise.
6194 * sysdeps/csky/atomic-machine.h: Likewise.
6195 * sysdeps/csky/bits/endian.h: Likewise.
6196 * sysdeps/csky/bits/fenv.h: Likewise.
6197 * sysdeps/csky/bits/link.h: Likewise.
6198 * sysdeps/csky/bits/setjmp.h: Likewise.
6199 * sysdeps/csky/bsd-_setjmp.S: Likewise.
6200 * sysdeps/csky/bsd-setjmp.S: Likewise.
6201 * sysdeps/csky/configure: Likewise.
6202 * sysdeps/csky/configure.ac: Likewise.
6203 * sysdeps/csky/dl-machine.h: Likewise.
6204 * sysdeps/csky/dl-procinfo.c: Likewise.
6205 * sysdeps/csky/dl-procinfo.h: Likewise.
6206 * sysdeps/csky/dl-sysdep.h: Likewise.
6207 * sysdeps/csky/dl-tls.h: Likewise.
6208 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
6209 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
6210 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
6211 * sysdeps/csky/fpu/fegetenv.c: Likewise.
6212 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
6213 * sysdeps/csky/fpu/fegetmode.c: Likewise.
6214 * sysdeps/csky/fpu/fegetround.c: Likewise.
6215 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
6216 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
6217 * sysdeps/csky/fpu/fenv_private.h: Likewise.
6218 * sysdeps/csky/fpu/fesetenv.c: Likewise.
6219 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
6220 * sysdeps/csky/fpu/fesetmode.c: Likewise.
6221 * sysdeps/csky/fpu/fesetround.c: Likewise.
6222 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
6223 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
6224 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
6225 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
6226 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
6227 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
6228 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
6229 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
6230 * sysdeps/csky/fpu_control.h: Likewise.
6231 * sysdeps/csky/gccframe.h: Likewise.
6232 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
6233 * sysdeps/csky/ldsodefs.h: Likewise.
6234 * sysdeps/csky/libc-tls.c: Likewise.
6235 * sysdeps/csky/linkmap.h: Likewise.
6236 * sysdeps/csky/machine-gmon.h: Likewise.
6237 * sysdeps/csky/memusage.h: Likewise.
6238 * sysdeps/csky/nofpu/Implies: Likewise.
6239 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
6240 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
6241 * sysdeps/csky/nptl/Makefile: Likewise.
6242 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
6243 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
6244 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
6245 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
6246 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
6247 * sysdeps/csky/nptl/tls.h: Likewise.
6248 * sysdeps/csky/preconfigure: Likewise.
6249 * sysdeps/csky/sfp-machine.h: Likewise.
6250 * sysdeps/csky/sotruss-lib.c: Likewise.
6251 * sysdeps/csky/stackinfo.h: Likewise.
6252 * sysdeps/csky/sysdep.h: Likewise.
6253 * sysdeps/csky/tininess.h: Likewise.
6254 * sysdeps/csky/tst-audit.h: Likewise.
6255 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
6256 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
6257 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
6258 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
6259 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
6260 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
6261 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
6262 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
6263 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
6264 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
6265 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
6266 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
6267 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
6268 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
6269 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
6270 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
6271 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
6272 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
6273 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
6274 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
6275 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
6276 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
6277 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
6278 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
6279 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
6280 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
6281 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
6282 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
6283 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
6284 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
6285 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
6286 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
6287 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
6288 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
6289 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
6290 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
6291 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
6292 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
6293 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
6294 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
6295 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
6296 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
6297 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
6298 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
6300 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
6302 * include/time.h (__difftime64): Add.
6303 * time/difftime.c (subtract): convert to 64-bit time.
6304 * time/difftime.c (__difftime64): Add.
6305 * time/difftime.c (__difftime): Wrap around __difftime64.
6307 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
6309 * manual/examples/add.c: Remove redundant "if not".
6310 * manual/examples/argp-ex1.c: Likewise.
6311 * manual/examples/argp-ex2.c: Likewise.
6312 * manual/examples/argp-ex3.c: Likewise.
6313 * manual/examples/argp-ex4.c: Likewise.
6314 * manual/examples/atexit.c: Likewise.
6315 * manual/examples/db.c: Likewise.
6316 * manual/examples/dir.c: Likewise.
6317 * manual/examples/dir2.c: Likewise.
6318 * manual/examples/execinfo.c: Likewise.
6319 * manual/examples/filecli.c: Likewise.
6320 * manual/examples/filesrv.c: Likewise.
6321 * manual/examples/fmtmsgexpl.c: Likewise.
6322 * manual/examples/genpass.c: Likewise.
6323 * manual/examples/inetcli.c: Likewise.
6324 * manual/examples/inetsrv.c: Likewise.
6325 * manual/examples/isockad.c: Likewise.
6326 * manual/examples/longopt.c: Likewise.
6327 * manual/examples/memopen.c: Likewise.
6328 * manual/examples/memstrm.c: Likewise.
6329 * manual/examples/mkdirent.c: Likewise.
6330 * manual/examples/mkfsock.c: Likewise.
6331 * manual/examples/mkisock.c: Likewise.
6332 * manual/examples/mygetpass.c: Likewise.
6333 * manual/examples/pipe.c: Likewise.
6334 * manual/examples/popen.c: Likewise.
6335 * manual/examples/rprintf.c: Likewise.
6336 * manual/examples/search.c: Likewise.
6337 * manual/examples/select.c: Likewise.
6338 * manual/examples/setjmp.c: Likewise.
6339 * manual/examples/sigh1.c: Likewise.
6340 * manual/examples/sigusr.c: Likewise.
6341 * manual/examples/stpcpy.c: Likewise.
6342 * manual/examples/strdupa.c: Likewise.
6343 * manual/examples/strftim.c: Likewise.
6344 * manual/examples/subopt.c: Likewise.
6345 * manual/examples/swapcontext.c: Likewise.
6346 * manual/examples/termios.c: Likewise.
6347 * manual/examples/testopt.c: Likewise.
6348 * manual/examples/testpass.c: Likewise.
6349 * manual/examples/timeval_subtract.c: Likewise.
6351 2018-12-19 Joseph Myers <joseph@codesourcery.com>
6353 * sysdeps/x86/fpu/math_private.h: New file.
6354 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
6356 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
6361 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6363 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
6364 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
6365 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
6366 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
6368 (_dl_show_auxv): Give a special treatment to
6369 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
6370 and AT_L3_CACHEGEOMETRY.
6371 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
6372 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
6373 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
6374 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
6376 2018-12-19 Andreas Schwab <schwab@suse.de>
6378 * nscd/connections.c (check_use): Don't abort on invalid len.
6380 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6382 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
6383 values in the 64bit value cases.
6385 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
6391 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
6397 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
6400 (__gmtime64_r): Add.
6402 (__gmtime64_r): Add.
6403 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6409 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6412 (__localtime64_r): Add.
6414 (__localtime64_r): Add.
6415 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
6417 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6419 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
6420 kernel_sigction definition.
6422 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
6424 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
6426 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
6427 __syscall_rt_sigaction.
6428 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
6429 (kernel_sigaction): Use Linux generic defintion.
6431 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
6432 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
6433 (__syscall_rt_sigaction): Remove implementation.
6434 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
6436 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
6437 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
6438 INTERNAL_SYSCALL): Remove definitions.
6439 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
6440 action and signal set size.
6441 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
6442 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
6444 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6445 James Clarke <jrtc27@jrtc27.com>
6448 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
6449 Define if SA_RESTORER is defined.
6450 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
6451 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
6453 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
6454 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
6456 (HAS_SA_RESTORER): Define.
6457 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
6458 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
6459 (HAS_SA_RESTORER): Define.
6460 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
6461 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
6462 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
6463 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
6464 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6466 2018-12-18 Joseph Myers <joseph@codesourcery.com>
6468 * sysdeps/unix/sysv/linux/kernel-features.h
6469 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
6470 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6471 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
6472 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6473 (__ASSUME_ST_INO_64_BIT): Likewise.
6474 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6475 <kernel-features.h>.
6476 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6477 Remove conditional code.
6478 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6479 <kernel-features.h>.
6480 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6481 Remove conditional code.
6482 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
6483 <kernel-features.h>.
6484 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6485 Remove conditional code.
6486 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
6487 <kernel-features.h>.
6488 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
6489 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
6491 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6493 * sysdeps/s390/multiarch/ifunc-resolve.h
6494 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
6495 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
6496 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
6497 Delete macro definition.
6498 (s390_libc_ifunc_init): Rename to
6499 s390_libc_ifunc_expr_stfle_init.
6500 * sysdeps/s390/bzero: Use
6501 s390_libc_ifunc_expr_stfle_init instead of
6502 s390_libc_ifunc_init.
6503 * sysdeps/s390/memcmp.c: Likewise.
6504 * sysdeps/s390/memcpy.c: Likewise.
6505 * sysdeps/s390/mempcpy.c: Likewise.
6506 * sysdeps/s390/memset.c: Likewise.
6508 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6510 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
6511 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
6513 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6515 * sysdeps/s390/multiarch/Makefile
6516 (sysdep_routines): Remove wmemcmp variants.
6517 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
6518 * sysdeps/s390/multiarch/ifunc-impl-list.c
6519 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
6520 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
6521 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
6522 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
6523 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
6524 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
6525 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
6526 * sysdeps/s390/ifunc-wmemcmp.h: New file.
6528 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6530 * sysdeps/s390/multiarch/Makefile
6531 (sysdep_routines): Remove wmemset variants.
6532 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
6533 * sysdeps/s390/multiarch/ifunc-impl-list.c
6534 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
6535 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
6536 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
6537 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
6538 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
6539 * sysdeps/s390/multiarch/wmemset.c: Move to ...
6540 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
6541 * sysdeps/s390/ifunc-wmemset.h: New file.
6543 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6545 * sysdeps/s390/multiarch/Makefile
6546 (sysdep_routines): Remove wmemchr variants.
6547 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
6548 * sysdeps/s390/multiarch/ifunc-impl-list.c
6549 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
6550 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
6551 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
6552 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
6553 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
6554 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
6555 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
6556 * sysdeps/s390/ifunc-wmemchr.h: New file.
6558 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6560 * sysdeps/s390/multiarch/Makefile
6561 (sysdep_routines): Remove wcscspn variants.
6562 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
6563 * sysdeps/s390/multiarch/ifunc-impl-list.c
6564 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
6565 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
6566 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
6567 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
6568 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
6569 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
6570 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
6571 * sysdeps/s390/ifunc-wcscspn.h: New file.
6573 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6575 * sysdeps/s390/multiarch/Makefile
6576 (sysdep_routines): Remove wcspbrk variants.
6577 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
6578 * sysdeps/s390/multiarch/ifunc-impl-list.c
6579 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
6580 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
6581 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
6582 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
6583 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
6584 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
6585 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
6586 * sysdeps/s390/ifunc-wcspbrk.h: New file.
6588 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6590 * sysdeps/s390/multiarch/Makefile
6591 (sysdep_routines): Remove wcsspn variants.
6592 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
6593 * sysdeps/s390/multiarch/ifunc-impl-list.c
6594 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
6595 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
6596 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
6597 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
6598 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
6599 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
6600 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
6601 * sysdeps/s390/ifunc-wcsspn.h: New file.
6603 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6605 * sysdeps/s390/multiarch/Makefile
6606 (sysdep_routines): Remove wcsrchr variants.
6607 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
6608 * sysdeps/s390/multiarch/ifunc-impl-list.c
6609 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
6610 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
6611 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
6612 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
6613 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
6614 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
6615 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
6616 * sysdeps/s390/ifunc-wcsrchr.h: New file.
6618 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6620 * sysdeps/s390/multiarch/Makefile
6621 (sysdep_routines): Remove wcschrnul variants.
6622 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
6623 * sysdeps/s390/multiarch/ifunc-impl-list.c
6624 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
6625 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
6626 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
6627 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
6628 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
6629 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
6630 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
6631 * sysdeps/s390/ifunc-wcschrnul.h: New file.
6633 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6635 * sysdeps/s390/multiarch/Makefile
6636 (sysdep_routines): Remove wcschr variants.
6637 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
6638 * sysdeps/s390/multiarch/ifunc-impl-list.c
6639 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
6640 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
6641 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
6642 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
6643 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
6644 * sysdeps/s390/multiarch/wcschr.c: Move to ...
6645 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
6646 * sysdeps/s390/ifunc-wcschr.h: New file.
6648 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6650 * sysdeps/s390/multiarch/Makefile
6651 (sysdep_routines): Remove wcsncmp variants.
6652 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
6653 * sysdeps/s390/multiarch/ifunc-impl-list.c
6654 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
6655 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
6656 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
6657 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
6658 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
6659 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
6660 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
6661 * sysdeps/s390/ifunc-wcsncmp.h: New file.
6663 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6665 * sysdeps/s390/multiarch/Makefile
6666 (sysdep_routines): Remove wcscmp variants.
6667 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
6668 * sysdeps/s390/multiarch/ifunc-impl-list.c
6669 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
6670 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
6671 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
6672 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
6673 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
6674 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
6675 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
6676 * sysdeps/s390/ifunc-wcscmp.h: New file.
6678 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6680 * sysdeps/s390/multiarch/Makefile
6681 (sysdep_routines): Remove wcsncat variants.
6682 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
6683 * sysdeps/s390/multiarch/ifunc-impl-list.c
6684 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
6685 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
6686 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
6687 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
6688 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
6689 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
6690 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
6691 * sysdeps/s390/ifunc-wcsncat.h: New file.
6693 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6695 * sysdeps/s390/multiarch/Makefile
6696 (sysdep_routines): Remove wcscat variants.
6697 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
6698 * sysdeps/s390/multiarch/ifunc-impl-list.c
6699 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
6700 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
6701 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
6702 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
6703 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
6704 * sysdeps/s390/multiarch/wcscat.c: Move to ...
6705 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
6706 * sysdeps/s390/ifunc-wcscat.h: New file.
6708 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6710 * sysdeps/s390/multiarch/Makefile
6711 (sysdep_routines): Remove wcpncpy variants.
6712 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
6713 * sysdeps/s390/multiarch/ifunc-impl-list.c
6714 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
6715 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
6716 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
6717 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
6718 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
6719 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
6720 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
6721 * sysdeps/s390/ifunc-wcpncpy.h: New file.
6723 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6725 * sysdeps/s390/multiarch/Makefile
6726 (sysdep_routines): Remove wcsncpy variants.
6727 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
6728 * sysdeps/s390/multiarch/ifunc-impl-list.c
6729 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
6730 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
6731 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
6732 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
6733 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
6734 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
6735 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
6736 * sysdeps/s390/ifunc-wcsncpy.h: New file.
6738 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6740 * sysdeps/s390/multiarch/Makefile
6741 (sysdep_routines): Remove wcpcpy variants.
6742 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
6743 * sysdeps/s390/multiarch/ifunc-impl-list.c
6744 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
6745 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
6746 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
6747 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
6748 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
6749 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
6750 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
6751 * sysdeps/s390/ifunc-wcpcpy.h: New file.
6753 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6755 * sysdeps/s390/multiarch/Makefile
6756 (sysdep_routines): Remove wcscpy variants.
6757 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
6758 * sysdeps/s390/multiarch/ifunc-impl-list.c
6759 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
6760 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
6761 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
6762 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
6763 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
6764 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
6765 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
6766 * sysdeps/s390/ifunc-wcscpy.h: New file.
6768 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6770 * sysdeps/s390/multiarch/Makefile
6771 (sysdep_routines): Remove wcsnlen variants.
6772 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
6773 * sysdeps/s390/multiarch/ifunc-impl-list.c
6774 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
6775 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
6776 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
6777 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
6778 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
6779 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
6780 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
6781 * sysdeps/s390/ifunc-wcsnlen.h: New file.
6783 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6785 * sysdeps/s390/multiarch/Makefile
6786 (sysdep_routines): Remove wcslen variants.
6787 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
6788 * sysdeps/s390/multiarch/ifunc-impl-list.c
6789 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
6790 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
6791 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
6792 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
6793 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
6794 * sysdeps/s390/multiarch/wcslen.c: Move to ...
6795 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
6796 * sysdeps/s390/ifunc-wcslen.h: New file.
6798 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6800 * sysdeps/s390/multiarch/Makefile
6801 (sysdep_routines): Remove memrchr variants.
6802 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
6803 * sysdeps/s390/multiarch/ifunc-impl-list.c
6804 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
6805 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
6806 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
6807 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
6808 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
6809 * sysdeps/s390/multiarch/memrchr.c: Move to ...
6810 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
6811 * sysdeps/s390/ifunc-memrchr.h: New file.
6813 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6815 * sysdeps/s390/multiarch/Makefile
6816 (sysdep_routines): Remove memccpy variants.
6817 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
6818 * sysdeps/s390/multiarch/ifunc-impl-list.c
6819 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
6820 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
6821 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
6822 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
6823 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
6824 * sysdeps/s390/multiarch/memccpy.c: Move to ...
6825 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
6826 * sysdeps/s390/ifunc-memccpy.h: New file.
6828 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6830 * sysdeps/s390/multiarch/Makefile
6831 (sysdep_routines): Remove rawmemchr variants.
6832 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
6833 * sysdeps/s390/multiarch/ifunc-impl-list.c
6834 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
6835 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
6836 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
6837 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
6838 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
6839 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
6840 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
6841 * sysdeps/s390/ifunc-rawmemchr.h: New file.
6843 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6845 * sysdeps/s390/multiarch/Makefile
6846 (sysdep_routines): Remove memchr variants.
6847 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
6848 * sysdeps/s390/multiarch/ifunc-impl-list.c
6849 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
6850 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
6851 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
6852 * sysdeps/s390/multiarch/memchr.c: Move to ...
6853 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
6854 * sysdeps/s390/ifunc-memchr.h: New file.
6855 * sysdeps/s390/s390-64/memchr.S: Move to ...
6856 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
6857 for 31/64bit and ifunc handling.
6858 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
6859 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6860 * sysdeps/s390/s390-32/memchr.S: Likewise.
6862 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6864 * sysdeps/s390/multiarch/Makefile
6865 (sysdep_routines): Remove strcspn variants.
6866 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
6867 * sysdeps/s390/multiarch/ifunc-impl-list.c
6868 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
6869 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
6870 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
6871 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
6872 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
6873 * sysdeps/s390/multiarch/strcspn.c: Move to ...
6874 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
6875 * sysdeps/s390/ifunc-strcspn.h: New file.
6877 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6879 * sysdeps/s390/multiarch/Makefile
6880 (sysdep_routines): Remove strpbrk variants.
6881 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
6882 * sysdeps/s390/multiarch/ifunc-impl-list.c
6883 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
6884 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
6885 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
6886 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
6887 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
6888 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
6889 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
6890 * sysdeps/s390/ifunc-strpbrk.h: New file.
6892 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6894 * sysdeps/s390/multiarch/Makefile
6895 (sysdep_routines): Remove strspn variants.
6896 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
6897 * sysdeps/s390/multiarch/ifunc-impl-list.c
6898 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
6899 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
6900 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
6901 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
6902 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
6903 * sysdeps/s390/multiarch/strspn.c: Move to ...
6904 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
6905 * sysdeps/s390/ifunc-strspn.h: New file.
6907 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6909 * sysdeps/s390/multiarch/Makefile
6910 (sysdep_routines): Remove strrchr variants.
6911 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
6912 * sysdeps/s390/multiarch/ifunc-impl-list.c
6913 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
6914 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
6915 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
6916 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
6917 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
6918 * sysdeps/s390/multiarch/strrchr.c: Move to ...
6919 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
6920 * sysdeps/s390/ifunc-strrchr.h: New file.
6922 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6924 * sysdeps/s390/multiarch/Makefile
6925 (sysdep_routines): Remove strchrnul variants.
6926 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
6927 * sysdeps/s390/multiarch/ifunc-impl-list.c
6928 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
6929 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
6930 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
6931 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
6932 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
6933 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
6934 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
6935 * sysdeps/s390/ifunc-strchrnul.h: New file.
6937 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6939 * sysdeps/s390/multiarch/Makefile
6940 (sysdep_routines): Remove strchr variants.
6941 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
6942 * sysdeps/s390/multiarch/ifunc-impl-list.c
6943 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
6944 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
6945 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
6946 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
6947 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
6948 * sysdeps/s390/multiarch/strchr.c: Move to ...
6949 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
6950 * sysdeps/s390/ifunc-strchr.h: New file.
6952 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6954 * sysdeps/s390/multiarch/Makefile
6955 (sysdep_routines): Remove strncmp variants.
6956 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
6957 * sysdeps/s390/multiarch/ifunc-impl-list.c
6958 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
6959 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
6960 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
6961 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
6962 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
6963 * sysdeps/s390/multiarch/strncmp.c: Move to ...
6964 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
6965 * sysdeps/s390/ifunc-strncmp.h: New file.
6967 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6969 * sysdeps/s390/multiarch/Makefile
6970 (sysdep_routines): Remove strcmp variants.
6971 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
6972 * sysdeps/s390/multiarch/ifunc-impl-list.c
6973 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
6974 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
6975 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
6976 * sysdeps/s390/multiarch/strcmp.c: Move to ...
6977 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
6978 * sysdeps/s390/ifunc-strcmp.h: New file.
6979 * sysdeps/s390/s390-64/strcmp.S: Move to ...
6980 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
6981 for 31/64bit and ifunc handling.
6982 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
6983 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6984 * sysdeps/s390/s390-32/strcmp.S: Likewise.
6986 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6988 * sysdeps/s390/multiarch/Makefile
6989 (sysdep_routines): Remove strncat variants.
6990 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
6991 * sysdeps/s390/multiarch/ifunc-impl-list.c
6992 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
6993 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
6994 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
6995 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
6996 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
6997 * sysdeps/s390/multiarch/strncat.c: Move to ...
6998 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
6999 * sysdeps/s390/ifunc-strncat.h: New file.
7001 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7003 * sysdeps/s390/multiarch/Makefile
7004 (sysdep_routines): Remove strcat variants.
7005 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
7006 * sysdeps/s390/multiarch/ifunc-impl-list.c
7007 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
7008 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
7009 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
7010 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
7011 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
7012 * sysdeps/s390/multiarch/strcat.c: Move to ...
7013 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
7014 * sysdeps/s390/ifunc-strcat.h: New file.
7016 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7018 * sysdeps/s390/multiarch/Makefile
7019 (sysdep_routines): Remove stpncpy variants.
7020 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
7021 * sysdeps/s390/multiarch/ifunc-impl-list.c
7022 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
7023 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
7024 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
7025 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
7026 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
7027 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
7028 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
7029 * sysdeps/s390/ifunc-stpncpy.h: New file.
7031 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7033 * sysdeps/s390/multiarch/Makefile
7034 (sysdep_routines): Remove strncpy variants.
7035 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
7036 * sysdeps/s390/multiarch/ifunc-impl-list.c
7037 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
7038 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
7039 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
7040 * sysdeps/s390/multiarch/strncpy.c: Move to ...
7041 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
7042 * sysdeps/s390/ifunc-strncpy.h: New file.
7043 * sysdeps/s390/s390-64/strncpy.S: Move to ...
7044 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
7045 and adjust ifunc handling.
7046 * sysdeps/s390/s390-32/strncpy.S: Move to ...
7047 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
7048 and adjust ifunc handling.
7049 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
7050 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7052 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7054 * sysdeps/s390/multiarch/Makefile
7055 (sysdep_routines): Remove stpcpy variants.
7056 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
7057 * sysdeps/s390/multiarch/ifunc-impl-list.c
7058 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
7059 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
7060 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
7061 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
7062 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
7063 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
7064 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
7065 * sysdeps/s390/ifunc-stpcpy.h: New file.
7067 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7069 * sysdeps/s390/multiarch/Makefile
7070 (sysdep_routines): Remove strcpy variants.
7071 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
7072 * sysdeps/s390/multiarch/ifunc-impl-list.c
7073 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
7074 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
7075 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
7076 * sysdeps/s390/multiarch/strcpy.c: Move to ...
7077 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
7078 * sysdeps/s390/ifunc-strcpy.h: New file.
7079 * sysdeps/s390/s390-64/strcpy.S: Move to ...
7080 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
7081 for 31/64bit and ifunc handling.
7082 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
7083 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7084 * sysdeps/s390/s390-32/strcpy.S: Likewise.
7086 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7088 * sysdeps/s390/multiarch/Makefile
7089 (sysdep_routines): Remove strnlen variants.
7090 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
7091 * sysdeps/s390/multiarch/ifunc-impl-list.c
7092 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
7093 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
7094 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
7095 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
7096 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
7097 * sysdeps/s390/multiarch/strnlen.c: Move to ...
7098 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
7099 * sysdeps/s390/ifunc-strnlen.h: New file.
7101 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7103 * sysdeps/s390/multiarch/Makefile
7104 (sysdep_routines): Remove strlen variants.
7105 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
7106 * sysdeps/s390/multiarch/ifunc-impl-list.c
7107 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
7108 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
7109 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
7110 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
7111 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
7112 * sysdeps/s390/multiarch/strlen.c: Move to ...
7113 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
7114 * sysdeps/s390/ifunc-strlen.h: New file.
7116 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7118 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
7119 * sysdeps/s390/multiarch/ifunc-impl-list.c
7120 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
7121 * sysdeps/s390/ifunc-memmem.h: New file.
7122 * sysdeps/s390/memmem.c: Likewise.
7123 * sysdeps/s390/memmem-c.c: Likewise.
7124 * sysdeps/s390/memmem-vx.c: Likewise.
7126 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7128 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
7129 * sysdeps/s390/multiarch/ifunc-impl-list.c
7130 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
7131 * sysdeps/s390/ifunc-strstr.h: New file.
7132 * sysdeps/s390/strstr.c: Likewise.
7133 * sysdeps/s390/strstr-c.c: Likewise.
7134 * sysdeps/s390/strstr-vx.c: Likewise.
7136 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7138 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
7139 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
7140 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
7141 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
7143 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
7144 * sysdeps/s390/memmove-c.c: New file.
7145 * sysdeps/s390/memmove.c: Likewise.
7146 * sysdeps/s390/multiarch/ifunc-impl-list.c
7147 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
7149 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7151 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
7152 * sysdeps/s390/configure.ac: Add check for z13 support.
7153 * sysdeps/s390/configure: Regenerated.
7155 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7157 * sysdeps/s390/memcopy.h: New file.
7159 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7161 * sysdeps/s390/s390-32/bcopy.S: Remove.
7162 * sysdeps/s390/s390-64/bcopy.S: Likewise.
7164 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7166 * sysdeps/s390/ifunc-memcpy.h: New File.
7167 * sysdeps/s390/memcpy.S: Move to ...
7168 * sysdeps/s390/memcpy-z900.S ... here.
7169 Move implementations from memcpy-s390x.s to here.
7170 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
7171 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7172 Remove memcpy/mempcpy variants.
7173 * sysdeps/s390/Makefile (sysdep_routines):
7174 Add memcpy/mempcpy variants.
7175 * sysdeps/s390/multiarch/ifunc-impl-list.c
7176 (__libc_ifunc_impl_list): Adjust ifunc variants for
7178 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
7180 * sysdeps/s390/memcpy.c: ... here.
7181 Adjust ifunc variants for memcpy.
7182 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
7183 * sysdeps/s390/mempcpy.c: ... here.
7184 Adjust ifunc variants for mempcpy.
7185 * sysdeps/s390/mempcpy.S: Delete file.
7187 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7189 * sysdeps/s390/s390-64/memcpy.S: Move to ...
7190 * sysdeps/s390/memcpy.S: ... here.
7191 Adjust to be usable for 31/64bit.
7192 * sysdeps/s390/s390-32/memcpy.S: Delete File.
7193 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
7194 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
7195 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7196 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
7197 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
7198 Adjust to be usable for 31/64bit.
7199 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
7200 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
7201 * sysdeps/s390/multiarch/memcpy.c: ... here.
7202 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
7204 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7206 * sysdeps/s390/ifunc-memcmp.h: New File.
7207 * sysdeps/s390/memcmp.S: Move to ...
7208 * sysdeps/s390/memcmp-z900.S ... here.
7209 Move implementations from memcmp-s390x.s to here.
7210 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
7211 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7212 Remove memcmp variants.
7213 * sysdeps/s390/Makefile (sysdep_routines):
7214 Add memcmp variants.
7215 * sysdeps/s390/multiarch/ifunc-impl-list.c
7216 (__libc_ifunc_impl_list): Adjust ifunc variants for
7218 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
7220 * sysdeps/s390/memcmp.c: ... here.
7221 Adjust ifunc variants for memcmp.
7223 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7225 * sysdeps/s390/s390-64/memcmp.S: Move to ...
7226 * sysdeps/s390/memcmp.S: ... here.
7227 Adjust to be usable for 31/64bit.
7228 * sysdeps/s390/s390-32/memcmp.S: Delete File.
7229 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
7230 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7232 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7233 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
7234 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
7235 Adjust to be usable for 31/64bit.
7236 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
7237 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
7238 * sysdeps/s390/multiarch/memcmp.c: ... here.
7239 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
7241 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7243 * sysdeps/s390/s390-32/bzero.S: Delete file.
7244 * sysdeps/s390/s390-64/bzero.S: Likewise.
7245 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
7246 * sysdeps/s390/bzero.c: New file.
7247 * sysdeps/s390/memset-z900.S: Add bzero entry points.
7248 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
7249 * sysdeps/s390/multiarch/ifunc-impl-list.c
7250 (__libc_ifunc_impl_list): Add bzero ifunc variants.
7252 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7254 * sysdeps/s390/ifunc-memset.h: New File.
7255 * sysdeps/s390/memset.S: Move to ...
7256 * sysdeps/s390/memset-z900.S ... here.
7257 Move implementations from memset-s390x.s to here.
7258 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
7259 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7260 Remove memset variants.
7261 * sysdeps/s390/Makefile (sysdep_routines):
7262 Add memset variants.
7263 * sysdeps/s390/multiarch/ifunc-impl-list.c
7264 (__libc_ifunc_impl_list): Adjust ifunc variants for
7266 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
7268 * sysdeps/s390/memset.c: ... here.
7269 Adjust ifunc variants for memset.
7271 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7273 * sysdeps/s390/s390-64/memset.S: Move to ...
7274 * sysdeps/s390/memset.S: ... here.
7275 Adjust to be usable for 31/64bit.
7276 * sysdeps/s390/s390-32/memset.S: Delete File.
7277 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
7278 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7280 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7281 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
7282 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
7283 Adjust to be usable for 31/64bit.
7284 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
7285 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
7286 * sysdeps/s390/multiarch/memset.c: ... here.
7287 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
7289 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7291 * sysdeps/s390/multiarch/ifunc-resolve.h
7292 (s390_libc_ifunc_init, s390_libc_ifunc,
7293 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
7295 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7297 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
7298 * sysdeps/s390/configure.ac: Add check for z10 support.
7299 * sysdeps/s390/configure: Regenerated.
7301 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
7303 * sysdeps/i386/atomic-machine.h: Merged with ...
7304 * sysdeps/x86_64/atomic-machine.h: To ...
7305 * sysdeps/x86/atomic-machine.h: This. New file.
7307 2018-12-18 Florian Weimer <fweimer@redhat.com>
7309 Rewrite locale/gen-translit.pl in Python.
7310 * locale/Makefile (generated): Add C-translit.h.
7311 (before-compile): Add $(objpfx)C-translit.h.
7312 (C-translit.h): Move to $(objpfx). Create target directory.
7313 Build using Python script.
7314 * locale/gen-translit.py: New file.
7315 * locale/gen-translit.pl: Remove file.
7316 * locale/C-translit.h.in: Change comment character to '#' for
7317 easier parsing without a C preprocessor.
7318 * locale/C-translit.h: Remove generated file.
7319 * manual/install.texi (Tools for Compilation): Do not mention
7321 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7322 Remove locale/C-translit.h.
7323 * scripts/update-copyrights: Likewise.
7324 * INSTALL: Regenerate.
7326 2018-12-18 Florian Weimer <fweimer@redhat.com>
7329 * localedata/locales/bi_VU: Remove executable bit from file.
7331 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
7334 (__localtime64): Add.
7335 * manual/maint.texi: Document Y2038 symbol handling.
7337 (__localtime64): Add.
7338 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
7340 2018-12-17 Joseph Myers <joseph@codesourcery.com>
7342 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
7345 * scripts/glibcextract.py (compare_macro_consts): Take parameters
7346 to allow extra macros from first or second sources.
7347 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
7348 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7349 (tests-special): Add $(objpfx)tst-mman-consts.out.
7350 ($(objpfx)tst-mman-consts.out): New makefile target.
7352 2018-12-17 Mao Han <han_mao@c-sky.com>
7354 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
7355 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
7356 without stat64 system call support.
7357 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
7358 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
7359 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7360 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
7361 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
7362 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
7363 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
7364 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
7365 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
7366 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
7367 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
7369 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
7371 regex: fix storage-exhaustion error
7373 * posix/regexec.c (get_subexp):
7374 Do not continue if storage is exhausted.
7376 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
7378 regex: fix heap-use-after-free error
7380 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
7381 https://debbugs.gnu.org/32592
7382 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
7383 call extend_buffers which reallocates the re_string_t internal buffer.
7384 Local variable 'buf' was not updated in such case, resulting in
7386 * posix/regexec.c (get_subexp): Update 'buf' after call to
7389 2018-12-15 Florian Weimer <fweimer@redhat.com>
7391 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
7392 (minimum_stride_size): Use it.
7393 (support_blob_repeat_allocate): Likewise.
7395 2018-12-14 Joseph Myers <joseph@codesourcery.com>
7397 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
7402 2018-12-14 Florian Weimer <fweimer@redhat.com>
7404 * manual/process.texi (Process Creation Concepts): Remove
7405 documentation of process (ID) lifetime. List more process
7406 creation functions. Reference Process Identification section.
7407 (Process Identification): Add information about process ID
7408 lifetime. Describe Linux thread/task IDs.
7409 * manual/signal.texi (Signaling Another Process): Mention that the
7410 signal is always sent to the process.
7412 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7414 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
7415 and tst-ldbl-efgcvt.
7416 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
7417 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
7418 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
7419 (fcvt_tests, output_error, output_r_error, do_test): Use the
7420 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
7421 select the type of floating-point variables and arguments; to
7422 produce extra tests for double and conversion specifiers for
7423 printf; and to set the names of called functions.
7424 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
7425 in tst-efgcvt-template.c.
7426 * misc/tst-ldbl-efgcvt.c: Likewise.
7428 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
7430 * nss/Makefile (tst-nss-test3.out): New rule.
7432 2018-12-13 Joseph Myers <joseph@codesourcery.com>
7434 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
7437 2018-12-13 fanjinke <fanjinke@hygon.cn>
7439 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
7442 2018-12-13 Andreas Schwab <schwab@suse.de>
7445 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
7446 (__pthread_rwlock_rdlock_full): Update expected value for
7447 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
7448 * nptl/tst-rwlock-pwn.c: New file.
7449 * nptl/Makefile (tests): Add tst-rwlock-pwn.
7451 2018-12-12 Joseph Myers <joseph@codesourcery.com>
7453 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
7456 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7458 * benchtests/scripts/compare_bench.py (do_compare): write to
7459 stderr in casestat is not present.
7460 * benchtests/scripts/compare_bench.py (plot_graphs): write to
7461 stderr in case timings field is not present. Also string showing
7462 the output filename goes into the stderr.
7464 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7466 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
7467 and ZeroDivisorError exceptions.
7468 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
7469 argument to loop through user provided statistics.
7470 * benchtests/scripts/compare_bench.py (main): Include the --stats
7473 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7475 * benchtests/scripts/compare_bench.py (compare_runs): Continue
7478 2018-12-12 Florian Weimer <fweimer@redhat.com>
7480 * sysdeps/posix/timespec_get.c: Add missing “any later version”
7481 clause to copyright header.
7483 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7486 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
7487 registers saved in the stack frame.
7488 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
7489 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
7491 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7493 * include/bits/monetary-ldbl.h: New file.
7494 * include/bits/printf-ldbl.h: Likewise.
7495 * include/bits/stdio-ldbl.h: Likewise.
7496 * include/bits/stdlib-ldbl.h: Likewise.
7497 * include/bits/syslog-ldbl.h: Likewise.
7498 * include/bits/wchar-ldbl.h: Likewise.
7500 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7502 * libio/libio.h: Remove redirection for _IO_vfprintf.
7504 2018-12-11 Andreas Schwab <schwab@suse.de>
7506 * Makerules: Remove all references to abilist-pattern.
7507 (update-all-abi): Simplify find expression.
7509 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7512 * math/auto-libm-test-in: Add new test case.
7513 * math/auto-libm-test-out-pow: Regenerated.
7514 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
7516 2018-12-10 DJ Delorie <dj@redhat.com>
7519 * support/test-container.c: Move postclean step to before we
7522 2018-12-10 Joseph Myers <joseph@codesourcery.com>
7524 * scripts/gen-as-const.py (main): Handle --python option.
7525 * scripts/gen-py-const.awk: Remove.
7526 * Makerules (py-const-script): Use gen-as-const.py.
7527 ($(py-const)): Likewise.
7528 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
7529 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
7530 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
7531 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
7532 ~PTHREAD_MUTEX_NO_ELISION_NP.
7533 * manual/README.pretty-printers: Update reference to
7536 * scripts/glibcextract.py: New file.
7537 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
7538 or tempfile. Import glibcexctract.
7539 (compute_c_consts): Remove. Moved to glibcextract.py.
7540 (gen_test): Update reference to compute_c_consts.
7542 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
7543 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
7544 * sysdeps/unix/sysv/linux/Makefile
7545 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
7546 Redirect stderr as well as stdout.
7548 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
7551 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
7552 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
7553 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
7554 ALWAYS_USE_VSYSCALL.
7555 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
7556 ALWAYS_USE_VSYSCALL.
7557 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
7558 ALWAYS_USE_VSYSCALL.
7560 2018-12-10 Florian Weimer <fweimer@redhat.com>
7563 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
7564 offset instead of count for clarity. Fix typo in comment.
7565 (__old_getdents64): Keep track of previous offset. Use it to call
7567 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
7568 that d_off is never zero.
7570 2018-12-10 Andreas Schwab <schwab@suse.de>
7572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
7573 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
7574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
7575 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
7576 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
7578 2018-12-10 Joseph Myers <joseph@codesourcery.com>
7580 * timezone/private.h: Update from tzcode 2018g.
7581 * timezone/tzfile.h: Likewise.
7582 * timezone/tzselect.ksh: Likewise.
7583 * timezone/zdump.c: Likewise.
7584 * timezone/zic.c: Likewise.
7586 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7589 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
7590 (do_test): Adjust buffer size and fix format.
7592 2018-12-07 DJ Delorie <dj@redhat.com>
7595 * malloc/tst-tcfree3.c: New.
7596 * malloc/Makefile: Add it.
7598 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7600 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
7602 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7604 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
7605 used as a mask for the mode argument of __vfscanf_internal and
7606 __vfwscanf_internal.
7607 * stdio-common/vfscanf-internal.c
7608 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
7609 (__strtof128_internal): Define to __wcstof128_internal.
7610 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
7611 __strtof128_internal or __wcstof128_internal when the format of
7612 long double is the same as _Float128.
7614 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
7616 * include/unistd.h (__confstr): Add prototype and hidden prototype.
7617 * posix/confstr.c (confstr): Rename to __confstr.
7618 (__confstr): Add hidden def.
7619 (confstr): Add weak alias for __confstr.
7620 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
7623 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7625 * NEWS: Mention getcpu.
7626 * include/sched.h (__getcpu): New libc_hidden_proto.
7627 * manual/resource.texi: Document getcpu.
7628 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
7629 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
7630 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
7631 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7632 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7633 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7634 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7635 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7636 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7637 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7638 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7639 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7640 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
7642 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7643 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7644 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
7653 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7654 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7655 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7656 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7657 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7658 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7659 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7660 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7661 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
7662 * sysdeps/unix/sysv/linux/getcpu.c: New file.
7663 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
7666 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
7668 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
7670 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
7672 2018-12-07 Florian Weimer <fweimer@redhat.com>
7675 * posix/Makefile (routines): Add spawn_faction_addfchdir.
7676 * posix/Versions (GLIBC_2.29): Export
7677 posix_spawn_file_actions_addfchdir_np.
7678 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
7679 * posix/spawn_faction_destroy.c
7680 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
7681 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
7682 and the field action.fchdir_action.
7683 * posix/tst-spawn-chdir.c (add_chdir): New function.
7684 (do_test): Add do_fchdir loop. Call add_chdir.
7685 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
7686 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7687 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7688 posix_spawn_file_actions_addfchdir_np.
7689 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7691 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7693 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7694 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7696 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7698 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7700 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7702 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7704 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7706 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7707 (GLIBC_2.29): Likewise.
7708 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7709 (GLIBC_2.29): Likewise.
7710 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7711 (GLIBC_2.29): Likewise.
7712 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7713 (GLIBC_2.29): Likewise.
7714 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7717 (GLIBC_2.29): Likewise.
7718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7719 (GLIBC_2.29): Likewise.
7720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7721 (GLIBC_2.29): Likewise.
7722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7723 (GLIBC_2.29): Likewise.
7724 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7726 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7728 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7730 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7731 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7733 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7735 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7737 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7740 2018-12-06 Joseph Myers <joseph@codesourcery.com>
7742 * manual/texinfo.tex: Update to version 2018-09-21.20 with
7743 trailing whitespace removed.
7744 * scripts/config.guess: Update to version 2018-11-28.
7745 * scripts/config.sub: Update to version 2018-11-28.
7746 * scripts/install-sh: Update to version 2018-03-11.20.
7747 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
7748 * scripts/move-if-change: Update to version 2018-03-07 03:47.
7750 2018-12-07 Florian Weimer <fweimer@redhat.com>
7754 * inet/tst-if_index-long.c: New file.
7755 * inet/Makefile (tests): Add tst-if_index-long.
7757 2018-12-07 Florian Weimer <fweimer@redhat.com>
7759 * support/check.h (support_record_failure_is_failed): Declare.
7760 * support/descriptors.h: New file.
7761 * support/support_descriptors.c: Likewise.
7762 * support/tst-support_descriptors.c: Likewise.
7763 * support/support_record_failure.c
7764 (support_record_failure_is_failed): New function.
7765 * support/Makefile (libsupport-routines): Add support_descriptors.
7766 (tests): Add tst-support_descriptors.
7768 2018-12-05 Zack Weinberg <zackw@panix.com>
7769 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7771 * stdio-common/vfprintf-internal.c
7772 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
7773 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
7774 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
7775 and __no_long_double.
7776 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
7777 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
7778 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
7779 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
7780 and __nldbl_*syslog* functions.
7781 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
7782 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
7783 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
7784 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
7785 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
7786 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
7787 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
7788 (__nldbl_vwprintf, __nldbl_wprintf):
7789 Directly call the appropriate __v*printf_internal routine, passing
7790 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
7792 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
7793 (__nldbl___printf_chk, __nldbl___snprintf_chk)
7794 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
7795 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
7796 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
7797 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7798 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
7799 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
7800 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
7801 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
7802 Likewise, and also pass PRINTF_FORTIFY when appropriate.
7803 (__nldbl_syslog, __nldbl_vsyslog):
7804 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
7805 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7807 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7810 2018-12-05 Zack Weinberg <zackw@panix.com>
7811 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7814 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
7815 Moved here from debug/vsprintf_chk.c.
7816 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
7817 and completion logic for the strfile to match exactly what
7818 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
7819 _IO_str_init_static_internal instead of maxlen-1.
7820 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7821 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
7822 __vsprintf_internal.
7824 * debug/vsprintf_chk.c (__vsprintf_chk)
7825 * debug/sprintf_chk.c (__sprintf_chk):
7826 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
7827 'flags' argument is positive, and slen as maxlen. No need to lock
7828 the FILE and/or construct a temporary FILE. Minimize and normalize
7829 header inclusions and variable names. Do not libc_hidden_def anything.
7831 * debug/asprintf_chk.c (__asprintf_chk)
7832 * debug/dprintf_chk.c (__dprintf_chk)
7833 * debug/fprintf_chk.c (__fprintf_chk)
7834 * debug/fwprintf_chk.c (__fwprintf_chk)
7835 * debug/printf_chk.c (__printf_chk)
7836 * debug/snprintf_chk.c (__snprintf_chk)
7837 * debug/swprintf_chk.c (__swprintf_chk)
7838 * debug/vasprintf_chk.c (__vasprintf_chk)
7839 * debug/vdprintf_chk.c (__vdprintf_chk)
7840 * debug/vfprintf_chk.c (__vfprintf_chk)
7841 * debug/vfwprintf_chk.c (__vfwprintf_chk)
7842 * debug/vprintf_chk.c (__vprintf_chk)
7843 * debug/vsnprintf_chk.c (__vsnprintf_chk)
7844 * debug/vswprintf_chk.c (__vswprintf_chk)
7845 * debug/vwprintf_chk.c (__vwprintf_chk)
7846 * debug/wprintf_chk.c (__wprintf_chk):
7847 Directly call the corresponding vxxprintf_internal function, passing
7848 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
7849 the FILE and/or construct a temporary FILE. Minimize and normalize
7850 header inclusions and variable names. Do not libc_hidden_def anything.
7852 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
7853 __obstack_vprintf_internal.
7854 (__obstack_vprintf_chk): Convert into a wrapper that calls
7855 __obstack_vprintf_internal (these two functions already had the
7856 same code) and move to new file...
7857 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
7859 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
7860 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
7861 * debug/Makefile (routines): Add vobprintf_chk.
7863 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7864 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7865 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
7866 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7867 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
7868 (__nldbl___obstack_vfprintf_chk):
7869 Directly call the corresponding vxxprintf_internal function,
7870 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
7871 duplicate comparison of slen with 0 or maxlen from the corresponding
7872 non-__nldbl function.
7874 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
7875 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
7876 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
7877 Remove libc_hidden_proto.
7879 * stdio-common/vfprintf-internal.c
7880 (__vfprintf_internal, __vfwprintf_internal):
7881 Do not check _IO_FLAGS2_FORTIFY.
7882 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
7883 * libio/libioP.h: Update prototype of __vsprintf_internal and add
7884 a comment explaining why it has the maxlen argument.
7885 (_IO_acquire_lock_clear_flags2_fct): Remove.
7886 (_IO_acquire_lock_clear_flags2): Remove.
7887 (_IO_release_lock): Remove conditional statement which will
7889 (_IO_acquire_lock): Remove variable which is now unused.
7890 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7891 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7893 * stdio-common/Makefile (tests): Add tst-bz11319 and
7894 tst-bz11319-fortify2.
7895 (CFLAGS-tst-bz11319-fortify2.c): New macro.
7896 * stdio-common/tst-bz11319-fortify2.c: New file.
7897 * stdio-common/tst-bz11319.c: Likewise.
7899 2018-12-05 Zack Weinberg <zackw@panix.com>
7900 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7902 * misc/syslog.c: Include libioP.h, not iolibio.h.
7903 (__vsyslog_internal): New function with the former body of
7904 __vsyslog_chk; takes mode_flags argument same as
7905 __v*printf_internal. Call __vfprintf_internal directly.
7907 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
7908 Remove libc_hidden_def.
7909 (__syslog, __syslog_chk): Use __vsyslog_internal.
7910 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
7912 * include/sys/syslog.h: Add multiple inclusion guard.
7913 Add prototype for __vsyslog_internal.
7914 Remove declaration and libc_hidden_proto for __vsyslog_chk.
7916 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
7917 Use __vsyslog_internal.
7919 2018-12-05 Zack Weinberg <zackw@panix.com>
7920 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7922 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
7923 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
7924 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
7926 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
7927 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
7929 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
7930 Include wctype.h here if COMPILE_WPRINTF is defined.
7931 Define __vfprintf_internal or __vfwprintf_internal, depending
7933 Temporarily, on entry to this function, update mode_flags
7934 according to the environmental settings corresponding to
7935 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
7936 Throughout, check mode_flags instead of __ldbl_is_dbl and
7937 _IO_FLAGS2_FORTIFY on the destination FILE.
7938 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
7939 Include vfprintf-internal.c. Don't include wctype.h.
7940 * stdio-common/vfprintf.c: New file. Just define __vfprintf
7941 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
7943 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
7944 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
7946 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
7948 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
7949 and add mode_flags argument; use __vfprintf_internal.
7950 (__vdprintf): New function. Alias vdprintf to this.
7951 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
7952 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
7953 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
7954 (__obstack_printf): Use __obstack_printf_internal.
7955 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
7956 public aliases __vsnprintf and vsnprintf.
7957 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
7959 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
7960 public aliases _IO_vsprintf and vsprintf.
7961 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
7962 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
7963 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
7964 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
7965 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
7967 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
7968 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
7969 * stdio-common/fprintf.c, stdio-common/fxprintf.c
7970 * stdio-common/printf.c: Use __vfprintf_internal.
7972 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
7973 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
7974 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
7976 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
7977 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
7978 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
7979 __vfwprintf_internal.
7981 * libio/libio.h: Remove libc_hidden_proto and declaration for
7983 Remove declaration of _IO_vfwprintf.
7984 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
7986 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
7988 * include/stdio.h: Add prototype for __vasprintf.
7989 (__vsnprintf): Remove declaration, because there are no more
7991 * include/wchar.h (__vfwprintf, __vswprintf): Remove
7992 declaration, because there are no more internal calls.
7994 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
7995 __vsnprintf_internal, instead of _IO_vsnprintf.
7996 * argp/argp-help.c (__argp_error, __argp_failure): Use
7997 __vasprintf_internal, instead of _IO_vasprintf.
7998 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
7999 redefine, because there are no more internal calls.
8001 2018-12-05 Zack Weinberg <zackw@panix.com>
8002 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8004 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
8005 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
8006 Include libio/strfile.h instead of libioP.h.
8007 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
8008 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
8009 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
8010 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
8011 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
8012 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
8013 necessary. Do not set __no_long_double. Normalize variable names.
8014 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
8015 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
8016 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
8017 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
8018 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
8019 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
8020 Call __vfscanf_internal / __vfwscanf_internal directly, passing
8021 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
8022 Do not set __no_long_double. Normalize variable names.
8024 2018-12-05 Zack Weinberg <zackw@panix.com>
8025 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8027 * stdio-common/isoc99_scanf.c
8028 * stdio-common/isoc99_fscanf.c
8029 * stdio-common/isoc99_sscanf.c
8030 * stdio-common/isoc99_vscanf.c
8031 * stdio-common/isoc99_vfscanf.c
8032 * stdio-common/isoc99_vsscanf.c
8033 * wcsmbs/isoc99_wscanf.c
8034 * wcsmbs/isoc99_fwscanf.c
8035 * wcsmbs/isoc99_swscanf.c
8036 * wcsmbs/isoc99_vwscanf.c
8037 * wcsmbs/isoc99_vfwscanf.c
8038 * wcsmbs/isoc99_vswscanf.c:
8039 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
8040 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
8041 No need to lock and unlock the FILE passed to that function.
8043 * stdio-common/vfscanf-internal.c
8044 (__vfscanf_internal, __vfwscanf_internal):
8045 Don't look at _IO_FLAGS2_SCANF_STD.
8046 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
8047 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
8048 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
8050 2018-12-05 Zack Weinberg <zackw@panix.com>
8051 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8053 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
8054 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
8055 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
8056 * libio/strfile.h: Add multiple inclusion guard.
8057 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
8059 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
8060 consistency with the other version of this file.
8061 (ldbl_compat_symbol): New macro.
8062 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
8065 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
8066 Define __vfscanf_internal or __vfwscanf_internal, depending on
8067 COMPILE_WSCANF; don't define any other public symbols.
8068 Remove errval and code to set errp.
8069 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
8070 as the mode_flags argument.
8071 (encode_error, conv_error, input_error): Don't set errval.
8072 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
8073 Include vfscanf-internal.c.
8074 * stdio-common/vfscanf.c: New file defining the public entry
8075 point vfscanf, which calls __vfscanf_internal.
8076 * stdio-common/vfwscanf.c: New file defining the public entry
8077 point vfwscanf, which calls __vfwscanf_internal.
8079 * stdio-common/iovfscanf.c: New file.
8080 * stdio-common/iovfwscanf.c: Likewise.
8082 * stdio-common/Makefile (routines): Add vfscanf-internal,
8083 vfwscanf-internal, iovfscanf, iovfwscanf.
8084 * stdio-common/Versions: Mention GLIBC_2.29, so that
8085 it can be used in SHLIB_COMPAT expressions.
8086 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
8087 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
8088 Call __vfscanf_internal, instead of _IO_vfscanf.
8089 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
8091 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
8094 * libio/iovsscanf.c: Clean up includes, when possible. Use
8095 _IO_strfile_read or _IO_strfile_readw, when needed. Call
8096 __vfscanf_internal or __vfwscanf_internal directly.
8097 * libio/iovswscanf.c: Likewise.
8098 * libio/swscanf.c: Likewise.
8099 * libio/vscanf.c: Likewise.
8100 * libio/vwscanf.c: Likewise.
8101 * libio/wscanf.c: Likewise.
8102 * stdio-common/isoc99_fscanf.c: Likewise.
8103 * stdio-common/isoc99_scanf.c: Likewise.
8104 * stdio-common/isoc99_sscanf.c: Likewise.
8105 * stdio-common/isoc99_vfscanf.c: Likewise.
8106 * stdio-common/isoc99_vscanf.c: Likewise.
8107 * stdio-common/isoc99_vsscanf.c: Likewise.
8108 * stdio-common/scanf.c: Likewise.
8109 * stdio-common/sscanf.c: Likewise.
8110 * wcsmbs/isoc99_fwscanf.c: Likewise.
8111 * wcsmbs/isoc99_swscanf.c: Likewise.
8112 * wcsmbs/isoc99_vfwscanf.c: Likewise.
8113 * wcsmbs/isoc99_vswscanf.c: Likewise.
8114 * wcsmbs/isoc99_vwscanf.c: Likewise.
8115 * wcsmbs/isoc99_wscanf.c: Likewise.
8117 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
8120 (__tz_compute): Replace time_t with __time64_t.
8121 (__tz_convert): Replace time_t* with __time64_t.
8122 (__offtime): Replace time_t* with __time64_t.
8124 (__gmtime_r): Adjust call to __tz_convert.
8127 (__localtime_r): Likewise.
8128 (localtime): Likewise.
8129 * time/offtime.c: Replace time_t with __time64_t.
8130 * time/tzset.c: Likewise.
8132 2018-12-04 Joseph Myers <joseph@codesourcery.com>
8134 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
8135 dynamic linker unless [$(run-built-tests) = yes].
8137 2018-12-03 DJ Delorie <dj@delorie.com>
8139 * support/test-container.c (check_for_unshare_hints): New.
8140 (main): Call it if unshare fails. Add support for "su" scriptlet
8143 2018-12-03 Joseph Myers <joseph@codesourcery.com>
8145 * scripts/gen-as-const.py (compute_c_consts): Take an argument
8146 'START' to indicate that start text should be output.
8147 (gen_test): Likewise.
8148 (main): Generate 'START' for first symbol or '--' line, or at end
8149 of input if not previously generated.
8151 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
8154 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
8155 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
8156 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
8157 ALWAYS_USE_VSYSCALL.
8159 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8162 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
8165 2018-12-03 Carlos O'Donell <carlos@redhat.com>
8168 * locale/programs/localedef.c: Declare boolean hard_links default true.
8169 (options): Add --no-hard-links option.
8170 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
8171 * locale/programs/localedef.h: Declare prototype for hard_links.
8172 * locale/programs/locfile.c (write_locale_data): Don't use hard
8173 links if hard_links is false.
8175 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
8177 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
8179 (__cache_sysconf): Likewise.
8180 (init_cacheinfo): Likewise.
8181 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
8182 populate COMMON_CPUID_INDEX_80000007 and
8183 COMMON_CPUID_INDEX_80000008.
8184 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
8185 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
8186 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
8187 (init_cpu_features): Use _Static_assert on
8188 index_arch_Fast_Unaligned_Load.
8189 __get_cpuid_registers and __get_arch_feature. Updated for
8190 cpu_features_basic. Set stepping in cpu_features.
8191 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
8192 (FEATURE_INDEX_2): New.
8193 (FEATURE_INDEX_MAX): Changed to enum.
8194 (COMMON_CPUID_INDEX_D_ECX_1): New.
8195 (COMMON_CPUID_INDEX_80000007): Likewise.
8196 (COMMON_CPUID_INDEX_80000008): Likewise.
8197 (cpuid_registers): Likewise.
8198 (cpu_features_basic): Likewise.
8199 (CPU_FEATURE_USABLE): Likewise.
8200 (bit_arch_XXX_Usable): Likewise.
8201 (cpu_features): Use cpuid_registers and cpu_features_basic.
8202 (bit_arch_XXX): Reweritten.
8203 (bit_cpu_XXX): Likewise.
8204 (index_cpu_XXX): Likewise.
8205 (reg_XXX): Likewise.
8206 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
8208 (CHECK_CPU_FEATURE): New.
8209 (CHECK_CPU_FEATURE_USABLE): Likewise.
8210 (cpu_kinds): Likewise.
8211 (do_test): Print vendor, family, model and stepping. Check
8212 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
8213 (TEST_FUNCTION): Removed.
8214 Include <support/test-driver.c> instead of
8215 "../../test-skeleton.c".
8216 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
8217 Check POPCNT instead of POPCOUNT.
8218 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
8220 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8222 * scripts/gen-as-const.py (main): Avoid emitting empty line when
8223 there is no element in `consts'.
8225 2018-12-01 Florian Weimer <fweimer@redhat.com>
8227 * support/support_capture_subprocess.c
8228 (support_capture_subprocess): Check that pipe descriptors have
8229 expected values. Close original pipe descriptors in subprocess.
8231 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8234 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
8235 attr with __pthread_default_barrierattr.
8236 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
8237 attr with __pthread_default_condattr.
8238 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
8239 attr with __pthread_default_mutexattr.
8240 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
8241 attr with __pthread_default_rwlockattr.
8243 2018-12-01 Kemi Wang <kemi.wang@intel.com>
8245 * manual/tunables.texi (POSIX Thread Tunables): New node.
8246 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
8247 * nptl/nptl-init.c: Include pthread_mutex_conf.h
8248 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
8249 __pthread_tunables_init.
8250 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
8251 (max_adaptive_count): Define.
8252 * nptl/pthread_mutex_conf.c: New file.
8253 * nptl/pthread_mutex_conf.h: New file.
8254 * sysdeps/generic/adaptive_spin_count.h: New file.
8255 * sysdeps/nptl/dl-tunables.list: New file.
8256 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8257 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
8258 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
8261 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8264 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
8265 * stdlib/on_exit.c (__on_exit): Likewise.
8266 * stdlib/Makefile (tests): Add tst-bz20544.
8267 * stdlib/tst-bz20544.c: New test.
8269 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
8272 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
8273 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
8276 2018-11-30 Florian Weimer <fweimer@redhat.com>
8278 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
8279 Extend error logging.
8280 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
8283 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8285 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
8286 __sigismember instead of sigismember.
8287 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
8288 cancel_handler): New definitions.
8289 (do_system): Use posix_spawn instead of fork and execl and remove
8291 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
8292 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
8293 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
8294 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8295 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8296 * sysdeps/unix/sysv/linux/system.c: Likewise.
8300 * NEWS: Add new semantic for atfork with popen and system.
8301 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
8304 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8307 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
8308 modification order when accessing reloc_result->addr.
8309 * include/link.h (reloc_result): Add field init.
8310 * nptl/Makefile (tests): Add tst-audit-threads.
8311 (modules-names): Add tst-audit-threads-mod1 and
8312 tst-audit-threads-mod2.
8313 Add rules to build tst-audit-threads.
8314 * nptl/tst-audit-threads-mod1.c: New file.
8315 * nptl/tst-audit-threads-mod2.c: Likewise.
8316 * nptl/tst-audit-threads.c: Likewise.
8317 * nptl/tst-audit-threads.h: Likewise.
8319 2018-11-30 Joseph Myers <joseph@codesourcery.com>
8321 * scripts/gen-as-const.py: New file.
8322 * scripts/gen-as-const.awk: Remove.
8323 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
8325 ($(objpfx)test-as-const-%.c): Likewise.
8327 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8329 * elf/dl-exception.c: Include <_itoa.h>.
8331 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8333 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
8334 returned by __f_setlk.
8336 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8337 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8339 * elf/Makefile (tests-internal): Add tst-create_format1.
8340 * elf/dl-exception.c (_dl_exception_create_format): Support
8342 * elf/tst-create_format1.c: New file.
8344 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
8346 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
8347 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
8349 * argp/argp-help.c (__argp_failure): Likewise.
8351 2018-11-29 Mao Han <han_mao@c-sky.com>
8353 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
8354 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
8355 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
8356 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
8357 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
8358 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
8359 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
8360 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
8361 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
8362 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
8363 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
8364 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
8365 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
8366 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
8367 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
8368 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
8369 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
8370 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
8371 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
8372 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
8373 (R_CKCORE_TLS_TPOFF32): New defines.
8375 2018-11-29 Florian Weimer <fweimer@redhat.com>
8377 * posix/Makefile (before-compile): Remove testcases.h and
8379 (generated): Add testcases.h and ptestcases.h.
8380 (testcases.h, ptestcases.h): Move to $(objpfx).
8381 (runtests.o): Add dependency on testcases.h.
8382 (runptests.o): Add dependency on ptestcases.h.
8383 * posix/testcases.h, posix/ptestcases.h: Remove files.
8384 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
8385 not touch posix/testcases.h and posix/ptestcases.h.
8387 2018-11-28 Florian Weimer <fweimer@redhat.com>
8389 support: Add signal support to support_capture_subprocess_check.
8390 * support/capture_subprocess.h (support_capture_subprocess_check):
8391 Adjust comment and rename parameter.
8392 * support/support_capture_subprocess_check.c
8393 (print_actual_status): New function.
8394 (support_capture_subprocess_check): Support negative
8395 status_or_signal. Call print_actual_status.
8396 * support/tst-support_capture_subprocess.c (do_test): Call
8397 support_capture_subprocess_check.
8398 * libio/tst-vtables-common.c (termination_status)
8399 (init_termination_status): Remove.
8400 (check_for_termination): Adjust support_capture_subprocess_check
8402 (do_test): Remove call to init_termination_status.
8404 2018-11-28 Joseph Myers <joseph@codesourcery.com>
8406 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
8407 source directory instead of a copy.
8408 (CommandList.create_copy_dir): Remove.
8410 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
8412 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8414 2018-11-28 Florian Weimer <fweimer@redhat.com>
8416 * support/support.h (support_quote_string): Do not use str
8419 2018-11-27 Joseph Myers <joseph@codesourcery.com>
8421 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
8422 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
8424 2018-11-27 Florian Weimer <fweimer@redhat.com>
8426 * support/support.h (support_quote_string): Declare.
8427 * support/support_quote_string.c: New file.
8428 * support/tst-support_quote_string.c: Likewise.
8429 * support/Makefile (libsupport-routines): Add
8430 support_quote_string.
8431 (tests): Add tst-support_quote_string.
8433 2018-11-27 Florian Weimer <fweimer@redhat.com>
8437 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
8438 descriptor leak in case of ENODEV error.
8440 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
8443 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
8444 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
8445 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
8447 2018-11-26 Carlos O'Donell <carlos@redhat.com>
8449 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
8450 Error for unknown lines.
8452 2018-11-26 Joseph Myers <joseph@codesourcery.com>
8454 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8455 Touch additional files.
8457 2018-11-26 Florian Weimer <fweimer@redhat.com>
8460 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
8463 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
8466 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
8467 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
8468 SHARED. Include sysdep.h.
8469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
8470 ALWAYS_USE_VSYSCALL.
8471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
8472 ALWAYS_USE_VSYSCALL.
8474 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
8477 * nptl/Makefile (tests-static): Add tst-cond11-static.
8479 * nptl/tst-cond11-static.c: New File.
8480 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
8481 tst-affinity-static.
8483 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
8485 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
8486 (USE_VSYSCALL): Likewise.
8487 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
8488 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
8490 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
8492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
8495 2018-11-23 Joseph Myers <joseph@codesourcery.com>
8498 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8499 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
8502 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
8504 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
8505 (tst-cet-legacy-1a-ARGS): New.
8506 ($(objpfx)tst-cet-legacy-1a): New target.
8507 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
8509 2018-11-22 Joseph Myers <joseph@codesourcery.com>
8511 * conform/conformtest.py (CompileSubTest.__init__): Set
8512 self.run_early to False.
8513 (ExecuteSubTest.__init__): Likewise.
8514 (HeaderTests.run): Try running all non-optional, non-XFAILed
8515 compilation tests in a single execution of the compiler.
8517 * conform/conformtest.py (CompileSubTest): New class.
8518 (ExecuteSubTest): Likewise.
8519 (ElementTest.run): Rename to gen_subtests. Append tests to
8520 self.subtests instead of running them.
8521 (ConstantTest.run): Likewise.
8522 (SymbolTest.run): Likewise.
8523 (TypeTest.run): Likewise.
8524 (TagTest.run): Likewise.
8525 (FunctionTest.run): Likewise.
8526 (VariableTest.run): Likewise.
8527 (MacroFunctionTest.run): Likewise.
8528 (MacroStrTest.run): Likewise.
8529 (HeaderTests.handle_test_line): Generate subtests for tests.
8530 (HeaderTests.run): Run subtests for tests.
8532 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8534 * math/Versions (GLIBC_2.29): Add pow.
8535 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
8537 * math/w_pow.c: New file.
8538 * sysdeps/i386/fpu/w_pow.c: New file.
8539 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
8540 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
8541 and add necessary aliases.
8542 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
8543 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
8544 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8545 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8546 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8547 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8548 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8549 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8550 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8551 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8552 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8553 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8554 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8555 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8556 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8561 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8562 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8563 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8564 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8565 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8566 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8567 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8568 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
8570 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
8571 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
8572 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
8574 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8576 * math/Versions (GLIBC_2.29): Add log2.
8577 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
8579 * math/w_log2.c: New file.
8580 * sysdeps/i386/fpu/w_log2.c: New file.
8581 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
8582 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
8583 and add necessary aliases.
8584 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
8585 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
8586 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8587 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8588 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8589 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8590 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8591 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8592 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8593 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8594 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8595 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8596 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8597 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8598 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8603 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8604 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8605 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8606 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8607 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8608 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8609 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8611 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8613 * math/Versions (GLIBC_2.29): Add log.
8614 * math/w_log_compat.c (__log_compat): Change to versioned compat
8616 * math/w_log.c: New file.
8617 * sysdeps/i386/fpu/w_log.c: New file.
8618 * sysdeps/ia64/fpu/e_log.S: Update.
8619 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
8620 and add necessary aliases.
8621 * sysdeps/ieee754/dbl-64/w_log.c: New file.
8622 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
8623 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8624 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8625 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8626 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8627 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8628 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8629 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8630 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8631 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8632 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8633 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8634 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8635 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8640 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8641 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8642 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8643 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8644 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8645 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8646 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8647 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
8649 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
8650 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
8651 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
8652 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
8654 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8656 * math/Versions (GLIBC_2.29): Add exp and exp2.
8657 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
8658 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
8659 * math/w_exp_compat.c (__exp_compat): Likewise.
8660 * math/w_exp.c: New file.
8661 * math/w_exp2.c: New file.
8662 * sysdeps/i386/fpu/w_exp.c: New file.
8663 * sysdeps/i386/fpu/w_exp2.c: New file.
8664 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
8665 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
8666 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
8667 and add necessary aliases.
8668 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
8669 and add necessary aliases.
8670 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
8671 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
8672 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
8673 * sysdeps/m68k/m680x0/fpu/w_exp2.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_exp-avx.c (__exp1): Remove.
8699 (__ieee754_exp): Rename to __exp.
8700 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
8701 (__ieee754_exp): Rename to __exp.
8702 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
8703 (__ieee754_exp): Rename to __exp.
8704 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
8706 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
8708 2018-11-20 DJ Delorie <dj@redhat.com>
8710 * malloc/malloc.c (tcache_entry): Add key field.
8711 (tcache_put): Set it.
8712 (tcache_get): Likewise.
8713 (_int_free): Check for double free in tcache.
8714 * malloc/tst-tcfree1.c: New.
8715 * malloc/tst-tcfree2.c: New.
8716 * malloc/Makefile: Run the new tests.
8717 * manual/probes.texi: Document memory_tcache_double_free probe.
8719 * dlfcn/dlerror.c (check_free): Prevent double frees.
8721 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
8723 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
8725 2018-11-20 Joseph Myers <joseph@codesourcery.com>
8727 * conform/conformtest.py (ElementTest.run): Use unique identifiers
8728 in tests. Use names for format arguments.
8729 (ConstantTest.run): Likewise.
8730 (SymbolTest.run): Likewise.
8731 (TypeTest.run): Likewise.
8732 (TagTest.run): Likewise.
8733 (FunctionTest.run): Likewise.
8734 (VariableTest.run): Likewise.
8735 (MacroFunctionTest.run): Likewise.
8736 (MacroStrTest.run): Likewise.
8737 (HeaderTests.__init__): Set self.num_tests.
8738 (HeaderTests.handle_test_line): Set test.num. Increment
8741 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
8743 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
8744 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
8747 2018-11-19 Mao Han <han_mao@c-sky.com>
8749 * scripts/config.guess: Update to version 2018-08-29.
8750 * scripts/config.sub: Update to version 2018-08-29.
8752 2018-11-19 Florian Weimer <fweimer@redhat.com>
8754 support: Print timestamps in timeout handler.
8755 * support/support_test_main.c (print_timestamp): New function.
8756 (signal_handler): Use it to print the termination time and the
8757 time of the last write to standard output.
8759 2018-11-16 Zack Weinberg <zackw@panix.com>
8760 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8762 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
8763 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
8765 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
8766 and add flags argument. Check flags instead of __ldbl_is_dbl when
8767 deciding whether to set is_long_double.
8768 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
8769 passing zero for flags argument.
8770 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
8772 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8773 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
8774 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
8775 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
8776 variable names. Remove libc_hidden_def/libc_hidden_proto from
8777 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
8778 longer called from within the library.
8779 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
8780 for __nldbl___vstrfmon_l, declare it explicitly.
8782 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
8784 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8786 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
8788 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
8789 F_SETLK64, F_SETLKW64, respectively.
8790 * sysdeps/mach/hurd/f_setlk.c: New file.
8791 * sysdeps/mach/hurd/f_setlk.h: New file.
8792 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
8794 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
8795 (__libc_fcntl): Move non-flock operations to...
8796 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
8797 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
8799 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
8801 mktime: DEBUG_MKTIME cleanup
8802 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
8803 And it’s no longer needed now that glibc and Gnulib both have
8804 their own testing mechanisms for mktime.
8805 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
8807 mktime: fix non-EOVERFLOW errno handling
8809 mktime was not properly reporting failures when the underlying
8810 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
8811 them like EOVERFLOW failures, and set errno to EOVERFLOW.
8812 The problem could happen on non-glibc platforms, with Gnulib.
8813 * time/mktime.c (guess_time_tm): Remove, replacing with ...
8814 (tm_diff): ... this simpler function, which does not change errno.
8815 All callers changed to deal with errno themselves.
8816 (ranged_convert, __mktime_internal): Return failure immediately if
8817 the underlying function reports any failure other than EOVERFLOW.
8818 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
8821 mktime: fix bug with Y2038 DST transition
8823 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
8824 mishandle a DST transition that jumps over the Y2038 boundary.
8825 No such DST transitions are known so this is only a theoretical
8826 bug, but we might as well do things right.
8828 mktime: make more room for overflow
8830 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
8831 This is so that we can add tm_diff results to a previous guess,
8832 which will be useful in a later patch.
8834 mktime: simplify offset guess
8836 * time/mktime.c (__mktime_internal): Omit excess precision.
8838 mktime: new test for mktime failure
8840 Based on a test suggested by Albert Aribaud in:
8841 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
8842 * time/Makefile (tests): Add bug-mktime4.
8843 * time/bug-mktime4.c: New file.
8845 mktime: fix EOVERFLOW bug
8847 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
8848 Include libc-config.h, not config.h, for __set_errno.
8849 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
8851 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8853 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
8854 __attribute_copy__ to copy attributes from name. Drop static qualifier
8855 to avoid warnings about leaf attribute not having effect on static
8858 2018-11-13 Florian Weimer <fweimer@redhat.com>
8860 * malloc/malloc.c (fastbin_push_entry): New function.
8861 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
8862 (REMOVE_FB): Remove macro.
8863 (_int_malloc): Use fastbin_pop_entry and reindent.
8864 (_int_free): Use fastbin_push_entry.
8865 (malloc_consolidate): Use atomic_exchange_acquire.
8867 2018-11-13 Joseph Myers <joseph@codesourcery.com>
8869 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
8870 alias attribute, not with strong_alias.
8872 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
8873 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
8874 with additional parameter thread.
8875 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
8876 in terms of __hidden_ver2.
8877 (hidden_tls_def): New macro.
8878 (libc_hidden_tls_def): Likewise.
8879 (rtld_hidden_tls_def): Likewise.
8880 (libm_hidden_tls_def): Likewise.
8881 (libmvec_hidden_tls_def): Likewise.
8882 (libresolv_hidden_tls_def): Likewise.
8883 (librt_hidden_tls_def): Likewise.
8884 (libdl_hidden_tls_def): Likewise.
8885 (libnss_files_hidden_tls_def): Likewise.
8886 (libnsl_hidden_tls_def): Likewise.
8887 (libnss_nisplus_hidden_tls_def): Likewise.
8888 (libutil_hidden_tls_def): Likewise.
8889 (libutil_hidden_tls_def): Likweise.
8890 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
8891 libc_hidden_tls_def.
8892 (__sim_disabled_exceptions_thread): Likewise.
8893 (__sim_round_mode_thread): Likewise.
8895 * sysdeps/sparc/sparc-ifunc.h [SHARED]
8896 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
8897 copy attributes from name.
8899 2018-11-12 Joseph Myers <joseph@codesourcery.com>
8901 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
8902 Use __attribute_copy__ to copy attributes from name.
8904 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
8905 with __hidden_ver1 call.
8906 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
8907 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
8908 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
8909 (__cosf): Do not declare here.
8910 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
8911 (__sincosf): Do not declare here.
8912 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
8913 (__sinf): Do not declare here.
8915 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
8916 (__BIG_ENDIAN): Likewise.
8917 (__BYTE_ORDER): Likewise.
8918 (strong_alias): Likewise.
8919 (_strong_alias): Likewise.
8921 2018-11-12 Florian Weimer <fweimer@redhat.com>
8923 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
8924 function. Move after the definition of in_smallbin_range. Do not
8925 use __builtin_expect for paths that lead to a noreturn function.
8926 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
8927 because it is unclear whether this is in fact an unlikely
8929 (_int_malloc, _int_free): Adjust.
8930 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
8932 * malloc/arena.c (heap_trim): Likewise.
8934 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8936 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
8937 it, free it if needed.
8938 (reauthenticate): Test and use ccwdir.
8939 (child_init_port): In non-resetids case, test and use ccwdir.
8940 (child_chdir): New nested function to set ccwdir.
8941 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
8942 * hurd/hurd/port.h (_hurd_port_move): New function.
8943 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
8944 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
8945 * hurd/Versions (_hurd_port_move): Export function.
8946 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
8948 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
8949 of dtablesize for allocating dtable_cloexec.
8951 2018-11-09 Martin Sebor <msebor@redhat.com>
8953 * include/libc-symbols.h (__attribute_copy__): Define macro unless
8954 it's already defined.
8955 (_strong_alias): Use __attribute_copy__.
8956 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
8957 * misc/sys/cdefs.h (__attribute_copy__): New macro.
8958 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
8959 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
8960 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
8961 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
8962 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
8963 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
8964 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
8965 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
8966 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
8967 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
8968 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
8969 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
8970 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
8971 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
8972 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
8973 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
8974 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
8976 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8978 * misc/tst-efgcvt.c: Include support/check.h and
8979 support/test-driver.c. Do not include test-skeleton.c.
8980 (error_count): Remove.
8981 (output_error): Replace increments to error_count with calls to
8982 support_record_failure.
8983 (output_r_error): Likewise.
8984 (special): Likewise.
8985 (do_test): Unconditionally return zero.
8986 (TEST_FUNCTION): Remove.
8988 2018-11-09 Joseph Myers <joseph@codesourcery.com>
8990 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
8992 ($(linknamespace-header-tests)): Likewise.
8994 * conform/conformtest.py: New file.
8995 * conform/conformtest.pl: Remove.
8996 * conform/GlibcConform.pm: Likewise.
8997 * conform/glibcconform.py (KEYWORDS_C90): New constant.
8998 (KEYWORDS_C99): Likewise.
8999 (KEYWORDS): Likewise.
9000 * conform/Makefile ($(conformtest-header-tests)): Use
9001 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
9002 option. Use --header instead of --headers.
9003 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
9005 * conform/data/spawn.h-data: Likewise.
9006 * conform/data/fcntl.h-data (openat): Add space after function
9008 * conform/data/wchar.h-data (wcscasecmp): Likewise.
9009 (wcscasecmp_l): Likewise.
9010 * conform/data/termios.h-data (c_cc): Add space after element
9013 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9015 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
9016 instead of manually comparing and reporting mismatching strings.
9017 * misc/tst-ldbl-error.c (do_one_test): Likewise.
9018 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
9020 2018-11-08 Joseph Myers <joseph@codesourcery.com>
9022 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
9023 __ASSUME_SOCKETCALL.
9024 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9025 (__ASSUME_SOCKETCALL): Remove.
9026 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9027 (__ASSUME_SOCKETCALL): Likewise.
9028 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9029 (__ASSUME_SOCKETCALL): Likewise.
9030 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9031 (__ASSUME_SOCKETCALL): Likewise.
9032 * sysdeps/unix/sysv/linux/s390/kernel-features.h
9033 (__ASSUME_SOCKETCALL): Likewise.
9034 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9035 (__ASSUME_SOCKETCALL): Likewise.
9036 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9037 (__ASSUME_SOCKETCALL): Likewise.
9039 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
9042 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
9043 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
9044 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
9045 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
9046 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
9049 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
9052 * resolv/tst-resolv-network.c: Add test for getnetbyname.
9054 2018-11-07 Joseph Myers <joseph@codesourcery.com>
9057 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9058 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9059 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9060 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9062 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9064 * support/support_test_compare_string.c
9065 (support_test_compare_string): Fix printf format.
9067 2018-11-07 Florian Weimer <fweimer@redhat.com>
9069 Implement TEST_COMPARE_STRING.
9070 * support/check.h (TEST_COMPARE_STRING): Define.
9071 (support_test_compare_string): Declare.
9072 * support/Makefile (libsupport-routines): Add
9073 support_test_compare_string.
9074 (tests): Add tst-test_compare_string.
9075 * support/support_test_compare_string.c: New file.
9076 * support/tst-test_compare_string.c: Likewise.
9078 2018-11-07 Andreas Schwab <schwab@suse.de>
9081 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
9082 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
9085 2018-11-06 Joseph Myers <joseph@codesourcery.com>
9088 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9089 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
9090 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
9091 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
9094 2018-11-06 Florian Weimer <fweimer@redhat.com>
9097 * posix/Makefile (routines): Add spawn_faction_addchdir.
9098 (tests): Add tst-spawn-chdir.
9099 * posix/Versions (GLIBC_2.29): Add
9100 posix_spawn_file_actions_addchdir_np.
9101 * posix/spawn_faction_addchdir.c: New file.
9102 * posix/spawn_faction_destroy.c
9103 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
9104 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
9105 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
9107 * posix/tst-spawn-chdir.c: New file.
9108 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
9109 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9110 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9111 posix_spawn_file_actions_addchdir_np.
9112 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9114 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9116 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9117 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9119 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9121 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9123 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9125 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9127 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9129 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9130 (GLIBC_2.29): Likewise.
9131 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9132 (GLIBC_2.29): Likewise.
9133 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9134 (GLIBC_2.29): Likewise.
9135 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9136 (GLIBC_2.29): Likewise.
9137 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9140 (GLIBC_2.29): Likewise.
9141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9142 (GLIBC_2.29): Likewise.
9143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9144 (GLIBC_2.29): Likewise.
9145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9146 (GLIBC_2.29): Likewise.
9147 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9149 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9151 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9153 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9154 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9156 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9158 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9160 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9163 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9165 * misc/Makefile (tests): Add tst-ldbl-error.
9166 * misc/tst-ldbl-error.c: New file.
9168 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9170 * misc/Makefile (tests): Add tst-ldbl-warn.
9171 * misc/tst-ldbl-warn.c: New file.
9173 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9175 * argp/Makefile (tests): Add tst-ldbl-argp.
9176 * argp/tst-ldbl-argp.c: New file.
9178 2018-11-05 Arjun Shankar <arjun@redhat.com>
9180 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
9181 __gconv_path_elem and call __gconv_get_path unconditionally.
9183 2018-11-05 Andreas Schwab <schwab@suse.de>
9186 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
9187 creating the first helper thread failed.
9189 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9191 * sysdeps/mach/hurd/msync.c: New file.
9193 2018-11-02 Florian Weimer <fweimer@redhat.com>
9195 * support/shell-container.c (copy_func): Call
9196 support_copy_file_range instead of copy_file_range to support
9197 cross-device copies.
9199 2018-11-02 Florian Weimer <fweimer@redhat.com>
9201 * support/test-container.c: Include <libc-pointer-arith.h> for
9204 2018-11-01 Zong Li <zong@andestech.com>
9206 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
9207 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
9208 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
9209 (__FP_FRAC_SET_8): Add implementation for RV32 use.
9211 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
9212 variable to avoid overlap arguments.
9214 2018-11-01 Joseph Myers <joseph@codesourcery.com>
9216 * posix/bug-regex22.c (main): Use puts with distinct error
9217 messages for unexpected success of re_compile_pattern, not printf
9218 with NULL argument to %s.
9220 * stdio-common/bug22.c: Include <libc-diag.h>.
9221 (do_test): Disable -Wformat-overflow= warnings around fprintf
9222 calls outputting more than INT_MAX characters.
9223 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
9224 around printf call with NULL %s argument.
9227 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
9228 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
9230 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9231 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9232 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9233 (__ASSUME_SENDTO_SYSCALL): Likewise.
9234 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9235 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
9237 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9238 (__ASSUME_CONNECT_SYSCALL): Likewise.
9239 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9240 (__ASSUME_RECVFROM_SYSCALL): Likewise.
9241 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
9243 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
9245 [__LINUX_KERNEL_VERSION >= 0x040400]
9246 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9247 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
9250 (setsockopt): Likewise.
9252 2018-11-01 Fredrik Noring <noring@nocrew.org>
9254 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
9255 with the ISA override.
9257 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
9259 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
9262 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9264 * manual/errno.texi (EIEIO): Document how translators should
9265 translate the error message.
9266 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
9267 printing trailing whitespaces refused by git.
9268 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
9269 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9270 * hurd/Makefile (user-interfaces): Add pci.
9272 2018-10-30 Joseph Myers <joseph@codesourcery.com>
9274 * conform/linknamespace.py: New file.
9275 * conform/linknamespace.pl: Remove file.
9276 * conform/Makefile ($(linknamespace-header-tests)): Use
9277 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
9280 2018-10-30 Florian Weimer <fweimer@redhat.com>
9282 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
9285 2018-10-30 Florian Weimer <fweimer@redhat.com>
9287 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
9289 2018-10-30 Florian Weimer <fweimer@redhat.com>
9291 * stdlib/tst-strtod-overflow.c (do_test): Switch to
9292 support_blob_repeat.
9294 2018-10-30 Florian Weimer <fweimer@redhat.com>
9296 Avoid spurious test failures in stdlib/test-bz22786.
9297 * support/Makefile (libsupport-routines): Add blob_repeat.
9298 (tests): Add tst-support_blob_repeat.
9299 * support/blob_repeat.h: New file.
9300 * support/blob_repeat.c: Likewise.
9301 * support/tst-support_blob_repeat.c: Likewise.
9302 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
9303 support_blob_repeat_allocate.
9305 2018-10-30 Andreas Schwab <schwab@suse.de>
9308 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
9309 Don't use tail call.
9310 * elf/tst-unwind-main.c: New file.
9311 * elf/Makefile (tests): Add tst-unwind-main.
9312 (CFLAGS-tst-unwind-main.c): Define.
9314 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
9317 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
9319 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
9321 2018-10-29 Joseph Myers <joseph@codesourcery.com>
9323 * conform/glibcconform.py: Do not import shutil.
9324 (list_exported_functions): Use tempfile.TemporaryDirectory instead
9327 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
9328 critic_missing for versions before 3.4.
9329 * configure: Regenerated.
9330 * manual/install.texi (Tools for Compilation): Document
9331 requirement for Python to build glibc.
9332 * INSTALL: Regenerated.
9333 * Rules [PYTHON]: Make code unconditional.
9334 * benchtests/Makefile [PYTHON]: Likewise.
9335 * conform/Makefile [PYTHON]: Likewise.
9336 * manual/Makefile [PYTHON]: Likewise.
9337 * math/Makefile [PYTHON]: Likewise.
9339 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9341 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
9342 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
9343 answer to interrupt_operation, return EIEIO instead of EINTR.
9344 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
9345 _hurd_intr_rpc_msg_about_to global point to start of controlled
9346 assembly snippet. Make it check canceled flag.
9347 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
9348 the _hurd_intr_rpc_msg_about_to point.
9349 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
9350 issue, remove cancel flag check.
9352 2018-10-26 Joseph Myers <joseph@codesourcery.com>
9354 * scripts/build-many-glibcs.py: Remove compatibility for missing
9355 os.cpu_count and re.fullmatch.
9357 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
9360 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
9361 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
9362 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
9364 2018-10-25 Joseph Myers <joseph@codesourcery.com>
9366 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
9369 2018-10-25 Florian Weimer <fweimer@redhat.com>
9373 XFAIL siginfo_t si_band conform test on sparc64.
9374 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
9375 (__SI_BAND_TYPE): Only override long int default type on sparc64.
9376 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9377 (conformtest-xfail-conds): Add sparc64-linux.
9378 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
9380 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
9382 2018-10-25 Joseph Myers <joseph@codesourcery.com>
9384 * elf/elf.h (NT_MIPS_DSP): New macro.
9385 (NT_MIPS_FP_MODE): Likewise.
9387 2018-10-25 Zong Li <zong@andestech.com>
9389 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
9390 name by adding the file extension (.so).
9392 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
9394 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
9395 (test-xfail-ISO11/threads.h/linknamespace,
9396 test-xfail-ISO11/threads.h/conform): Add.
9398 2018-10-24 Joseph Myers <joseph@codesourcery.com>
9400 * math/gen-libm-test.py: Import os.
9401 (ALL_FLOATS_MANUAL): New constant.
9402 (ALL_FLOATS_SUFFIX): Likewise.
9403 (Ulps.all_functions): New function.
9404 (real_all_ulps): Likewise.
9405 (generate_err_table_sub): Likewise.
9406 (generate_err_table): Likewise.
9407 (main): Handle -s and -m options.
9408 * manual/libm-err-tab.pl: Remove.
9409 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
9410 instead of libm-err-tab.pl.
9411 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
9413 * manual/install.texi (Tools for Compilation): Document
9414 requirement for Python to build manual.
9415 * INSTALL: Regenerated.
9417 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
9419 * bits/time64.h: New file.
9420 * include/time.h: Replace internal_time_t with __time64_t.
9421 * posix/bits/types (__time64_t): Add.
9422 * stdlib/Makefile: Add bits/time64.h to includes.
9423 * time/tzfile.c: Replace internal_time_t with __time64_t.
9425 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9427 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
9428 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
9429 __posix_spawn_file_actions_init, __posix_spawnattr_init,
9430 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
9431 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
9433 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
9434 * posix/spawn_faction_addclose.c
9435 (__posix_spawn_file_actions_addclose): Add hidden definition.
9436 * posix/spawn_faction_adddup2.c
9437 (__posix_spawn_file_actions_adddup2): Likewise.
9438 * posix/spawn_faction_destroy.c
9439 (__posix_spawn_file_actions_destroy): Likewise.
9440 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
9442 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
9443 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
9444 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
9446 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
9447 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
9450 2018-10-24 Andreas Schwab <schwab@suse.de>
9453 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
9455 * elf/cache.c (print_cache): Likewise.
9457 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
9459 * bits/timesize.h: New file.
9460 * stdlib/Makefile (headers): Add bits/timesize.h.
9461 * sysdeps/unix/sysv/linux/bits/msq-pad.h
9462 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
9463 * sysdeps/unix/sysv/linux/bits/sem-pad.h
9464 (__SEM_PAD_AFTER_TIME): Likewise.
9465 * sysdeps/unix/sysv/linux/bits/shm-pad.h
9466 (__SHM_PAD_AFTER_TIME): Likewise.
9467 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
9468 (__MSQ_PAD_BEFORE_TIME): Likewise.
9469 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
9470 (__SEM_PAD_BEFORE_TIME): Likewise.
9471 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
9472 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9473 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
9474 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
9475 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
9476 (__MSQ_PAD_BEFORE_TIME): Likewise.
9477 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
9478 (__SEM_PAD_BEFORE_TIME): Likewise.
9479 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
9480 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9481 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
9482 (__MSQ_PAD_BEFORE_TIME): Likewise.
9483 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
9484 (__SEM_PAD_BEFORE_TIME): Likewise.
9485 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
9486 (__SHM_PAD_BEFORE_TIME): Likewise.
9487 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
9488 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9489 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
9491 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
9493 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
9494 USE_RDTSCP is defined.
9495 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
9496 USE_RDTSCP is defined.
9498 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9500 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
9504 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
9505 independently of other flags.
9507 2018-10-23 Florian Weimer <fweimer@redhat.com>
9509 * time/tst-mktime2.c (N_STRINGS): Remove.
9510 (set_timezone): New function.
9511 (spring_forward_gap): Call it. Use FAIL_EXIT1.
9512 (mktime_test1): Report localtime failure and check errno value.
9514 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
9515 (do_test): Remove alarm call. Use set_timezone and array_length.
9517 2018-10-23 Andreas Schwab <schwab@suse.de>
9519 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
9520 (__start_context): Use END instead of PSEUDO_END.
9522 2018-10-22 Joseph Myers <joseph@codesourcery.com>
9524 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9527 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9531 * wcsmbs/c32rtomb.c: New file.
9532 * wcsmbs/mbrtoc32.c: Likewise.
9533 * wcsmbs/tst-c32-state.c: Likewise.
9534 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
9535 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
9536 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
9537 (tests): Add tst-c32-state.
9538 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
9541 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
9543 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
9544 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
9546 2018-10-19 Joseph Myers <joseph@codesourcery.com>
9549 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
9550 pair and return 0 in that case, and use saved character to
9551 interpret following character.
9552 * wcsmbs/tst-c16-surrogate.c: New file.
9553 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
9554 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
9555 Depend on $(gen-locales)
9557 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
9560 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
9561 (struct siginfo_t): Use correct type for si_band.
9563 2018-10-19 Florian Weimer <fweimer@redhat.com>
9566 * resource/bits/types/struct_rusage.h (struct rusage): Update
9567 comment on struct. Remove extraneous field comment.
9569 2018-10-18 David S. Miller <davem@davemloft.net>
9571 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
9572 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
9573 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
9574 sysdep_routines in subdir elf.
9575 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
9576 version for __vdso_clock_gettime.
9577 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
9579 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9580 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9582 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9584 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
9586 * sysdeps/i386/init-arch.h: Removed.
9587 * sysdeps/i386/i586/init-arch.h: Likewise.
9588 * sysdeps/i386/i686/init-arch.h: Likewise.
9589 * sysdeps/i386/i686/hp-timing.h: Likewise.
9590 * sysdeps/x86_64/hp-timing.h: Likewise.
9591 * sysdeps/i386/isa.h: New file.
9592 * sysdeps/i386/i586/isa.h: Likewise.
9593 * sysdeps/i386/i686/isa.h: Likewise.
9594 * sysdeps/x86_64/isa.h: Likewise.
9595 * sysdeps/x86/hp-timing.h: New file.
9596 * sysdeps/x86/init-arch.h: Include <isa.h>.
9598 2018-10-17 Joseph Myers <joseph@codesourcery.com>
9600 * math/libm-test-pow.inc (pow_test_data): Do not allow
9601 divide-by-zero exception for pow(+/- 0, -Inf).
9603 2018-10-17 Zack Weinberg <zackw@panix.com>
9605 * manual/job.texi (Job Control is Optional): Remove node, as
9606 job control has not been optional in quite some time.
9607 (Job Control): Mention briefly that systems older than
9608 POSIX.1-2001 might not support job control.
9609 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
9610 defined on systems conforming to POSIX.1-2001.
9612 2018-10-17 Arjun Shankar <arjun@redhat.com>
9615 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
9617 * (__gconv_read_conf): Mark function static.
9618 * (once): New static variable.
9619 * (__gconv_load_conf): New function.
9620 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
9621 * iconv/gconv_db.c (once): Remove static variable.
9622 * (__gconv_compare_alias): Use __gconv_load_conf instead of
9624 * (__gconv_find_transform): Likewise.
9625 * iconv/tst-iconv-mt.c: New test.
9626 * iconv/Makefile: Add tst-iconv_mt.
9628 2018-10-17 Joseph Myers <joseph@codesourcery.com>
9630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9632 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
9633 (shmatt_t): Define as __syscall_ulong_t.
9634 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
9635 and [__SHM_PAD_AFTER_TIME].
9636 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
9637 Define shm_segsz and associated padding based on
9638 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
9639 Use __syscall_ulong_t instead of unsigned long int.
9640 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
9642 [__USE_MISC] (struct shm_info): Likewise.
9643 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
9644 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
9645 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
9646 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
9647 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
9648 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9649 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
9650 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
9651 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9652 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9653 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9657 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
9658 (SHMLBA): Remove macro.
9659 (__getpagesize): Remove function declaration.
9660 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
9662 (SHMLBA): Remove macro.
9663 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
9665 (SHMLBA): Remove macro.
9666 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
9668 (SHMLBA): Remove macro.
9669 (__getpagesize): Remove function declaration.
9670 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
9672 (SHMLBA): Remove macro.
9673 (__getshmlba): Remove function declaration.
9674 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
9675 (SHMLBA): Remove macro.
9676 (__getpagesize): Remove function declaration.
9677 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
9678 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
9679 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9680 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
9681 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
9682 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
9683 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
9684 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
9685 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
9686 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
9688 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
9691 * nptl/tst-mutex10.c: New File.
9692 * nptl/Makefile (tests): Add tst-mutex10.
9693 (tst-mutex10-ENV): New variable.
9694 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
9695 Ensure that elision path is used if elision is available.
9696 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
9698 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
9700 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
9701 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
9702 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
9703 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
9705 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
9706 (__pthread_mutex_cond_lock_adjust): Likewise.
9707 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9709 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
9710 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9711 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9712 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
9714 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9715 Use atomic_load_relaxed and atomic_store_relaxed.
9716 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
9717 Use atomic_store_relaxed.
9719 2018-10-17 Andreas Schwab <schwab@suse.de>
9721 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
9722 * crypt/badsalttest.c (TIMEOUT): Likewise.
9723 * crypt/sha256c-test.c (TIMEOUT): Likewise.
9724 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
9725 * io/test-lfs.c (TIMEOUT): Likewise.
9726 * libio/tst-atime.c (TIMEOUT): Likewise.
9727 * localedata/tst-leaks.c (TIMEOUT): Likewise.
9728 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
9729 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
9730 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
9731 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
9732 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
9733 * nptl/tst-cond11.c (TIMEOUT): Likewise.
9734 * nptl/tst-cond14.c (TIMEOUT): Likewise.
9735 * nptl/tst-cond15.c (TIMEOUT): Likewise.
9736 * nptl/tst-cond24.c (TIMEOUT): Likewise.
9737 * nptl/tst-cond25.c (TIMEOUT): Likewise.
9738 * nptl/tst-kill2.c (TIMEOUT): Likewise.
9739 * nptl/tst-kill3.c (TIMEOUT): Likewise.
9740 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
9741 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
9742 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
9743 * nptl/tst-once2.c (TIMEOUT): Likewise.
9744 * nptl/tst-once3.c (TIMEOUT): Likewise.
9745 * nptl/tst-once4.c (TIMEOUT): Likewise.
9746 * nptl/tst-robust8.c (TIMEOUT): Likewise.
9747 * nptl/tst-robust9.c (TIMEOUT): Likewise.
9748 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
9749 * nptl/tst-sem14.c (TIMEOUT): Likewise.
9750 * nptl/tst-sem6.c (TIMEOUT): Likewise.
9751 * nptl/tst-signal3.c (TIMEOUT): Likewise.
9752 * nptl/tst-spin4.c (TIMEOUT): Likewise.
9753 * nptl/tst-tls3.c (TIMEOUT): Likewise.
9754 * nptl/tst-tls4.c (TIMEOUT): Likewise.
9755 * posix/tst-chmod.c (TIMEOUT): Likewise.
9756 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
9757 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
9758 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
9759 * posix/tst-regex2.c (TIMEOUT): Likewise.
9760 * posix/tst-waitid.c (TIMEOUT): Likewise.
9761 * rt/tst-aio.c (TIMEOUT): Likewise.
9762 * rt/tst-aio10.c (TIMEOUT): Likewise.
9763 * rt/tst-aio4.c (TIMEOUT): Likewise.
9764 * rt/tst-aio5.c (TIMEOUT): Likewise.
9765 * rt/tst-aio6.c (TIMEOUT): Likewise.
9766 * rt/tst-aio64.c (TIMEOUT): Likewise.
9767 * rt/tst-aio7.c (TIMEOUT): Likewise.
9768 * rt/tst-aio9.c (TIMEOUT): Likewise.
9769 * rt/tst-clock.c (TIMEOUT): Likewise.
9770 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
9771 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
9772 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
9773 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
9774 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
9775 * rt/tst-timer4.c (TIMEOUT): Likewise.
9776 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
9777 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
9778 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
9779 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
9780 * time/tst-ftime.c (TIMEOUT): Likewise.
9781 * timezone/tst-tzset.c (TIMEOUT): Likewise.
9783 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
9785 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
9786 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
9789 2018-10-15 Joseph Myers <joseph@codesourcery.com>
9791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9793 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
9794 instead of <bits/wordsize.h>.
9795 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
9796 and [__SEM_PAD_AFTER_TIME].
9797 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
9798 __syscall_ulong_t instead of unsigned long int.
9799 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
9800 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
9801 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
9802 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
9803 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
9804 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
9805 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
9806 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
9807 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9808 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9809 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9811 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
9813 regex: simplify by using intprops.h
9815 * posix/regex_internal.h [_LIBC]: Include intprops.h.
9816 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
9817 intprops.h defines them.
9819 regex: __builtin_expect → __glibc_unlikely
9821 This refactoring was prompted by a problem when the regex code is
9822 used as part of Gnulib and when the builder’s compiler does not grok
9823 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
9824 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
9825 Although this refactoring does not fix the problem directly,
9826 we might as well have Gawk use the now-preferred glibc style for when
9827 __builtin_expect is unavailable.
9828 * posix/regex_internal.h (BE): Remove.
9829 All uses replaced by __glibc_unlikely or __glibc_likely.
9831 2018-10-11 Joseph Myers <joseph@codesourcery.com>
9833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9835 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
9836 instead of <bits/wordsize.h>.
9837 (msgqnum_t): Define as __syscall_ulong_t.
9838 (msglen_t): Likewise.
9839 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
9840 and [__MSQ_PAD_AFTER_TIME].
9841 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
9842 __syscall_ulong_t instead of unsigned long int.
9843 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
9844 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
9845 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
9846 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
9847 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
9848 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
9849 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
9850 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
9851 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9852 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9853 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9855 2018-10-10 Joseph Myers <joseph@codesourcery.com>
9857 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
9858 (struct shmid_ds): Condition padding after time fields on
9860 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
9861 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
9862 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9864 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
9865 (struct semid_ds): Condition padding after time fields on
9867 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
9868 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
9869 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
9870 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9872 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
9873 (struct msqid_ds): Condition padding after time fields on
9875 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
9876 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
9877 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
9878 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9880 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9882 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
9884 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9886 * libio/tst-readline.c (TIMEOUT): Define.
9888 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
9890 mktime fix for Gnulib + coreutils
9892 This fix affects only Gnulib. Problem discovered when
9893 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
9895 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
9896 Do not define since it is not used. Defining an unused static
9897 function prompts a warning from GCC when Coreutils is configured
9898 with --enable-gcc-warnings.
9900 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9902 * benchtests/scripts/compare_bench.py (main): set float type on
9905 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
9908 * localedata/locales/kl_GL (mon): Update, the relative case.
9909 (alt_mon): Add, fill with month names in the nominative case.
9910 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
9911 (d_fmt): Set to "%b %d %Y".
9913 2018-10-04 Joseph Myers <joseph@codesourcery.com>
9915 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
9916 <bits/mman-linux.h>.
9917 (PROT_READ): Don't define here.
9918 (PROT_WRITE): Likewise.
9919 (PROT_EXEC): Likewise.
9920 (PROT_NONE): Likewise.
9921 (PROT_GROWSDOWN): Likewise.
9922 (PROT_GROWSUP): Likewise.
9923 (MAP_SHARED): Likewise.
9924 (MAP_PRIVATE): Likewise.
9925 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
9926 [__USE_MISC] (MAP_FILE): Likewise.
9927 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
9928 [__USE_MISC] (MAP_ANON): Likewise.
9929 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
9930 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
9931 (MCL_CURRENT): Likewise.
9932 (MCL_FUTURE): Likewise.
9933 (MCL_ONFAULT): Likewise.
9934 [__USE_MISC] (MADV_NORMAL): Likewise.
9935 [__USE_MISC] (MADV_RANDOM): Likewise.
9936 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
9937 [__USE_MISC] (MADV_WILLNEED): Likewise.
9938 [__USE_MISC] (MADV_DONTNEED): Likewise.
9939 [__USE_MISC] (MADV_FREE): Likewise.
9940 [__USE_MISC] (MADV_REMOVE): Likewise.
9941 [__USE_MISC] (MADV_DONTFORK): Likewise.
9942 [__USE_MISC] (MADV_DOFORK): Likewise.
9943 [__USE_MISC] (MADV_HWPOISON): Likewise.
9944 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
9945 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
9946 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
9947 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
9948 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
9949 (__MAP_ANONYMOUS): New macro.
9950 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
9951 <bits/mman-linux.h> inclusion.
9952 (MAP_FIXED): Likewise.
9953 (MS_SYNC): Likewise.
9954 (MS_ASYNC): Likewise.
9955 (MS_INVALIDATE): Likewise.
9956 [__USE_MISC] (MADV_MERGEABLE): Likewise.
9957 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
9958 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
9959 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
9960 [__USE_MISC] (MADV_DONTDUMP): Likewise.
9961 [__USE_MISC] (MADV_DODUMP): Likewise.
9962 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
9963 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
9966 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
9968 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
9969 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
9970 Add test-nldbl-redirect.
9971 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
9972 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
9973 $(objpfx)libnldbl_nonshared.a.
9975 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
9977 * support/support.h (support_objdir_elf_ldso): New variable.
9978 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
9979 * support/Makefile (CFLAGS-support_paths.c): Add definition
9980 for OBJDIR_ELF_LDSO_PATH.
9981 * support/test-container.c (main): Search for the ld.so
9982 which is also used by the testsuite.
9984 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
9987 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
9988 should be "sap" rather than "sab".
9989 (day): Fix spelling of Sunday, should be "sapaat" rather than
9992 2018-10-02 Joseph Myers <joseph@codesourcery.com>
9994 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9996 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
9999 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
10000 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
10001 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
10003 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10005 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
10007 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
10009 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
10011 (CFLAGS-elision-unlock.c): Likewise.
10012 (CFLAGS-elision-timed.c): Likewise.
10013 (CFLAGS-elision-trylock.c): Likewise.
10014 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
10016 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10019 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
10020 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
10021 new fd_to_filename interface.
10022 * libio/freopen64.c (freopen64): Likewise.
10023 * libio/tst-memstream.h: New file.
10024 * libio/tst-memstream4.c: Likewise.
10025 * libio/tst-wmemstream4.c: Likewise.
10026 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
10027 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
10028 and remove internal dynamic allocation.
10030 2018-10-01 Joseph Myers <joseph@codesourcery.com>
10032 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
10033 (MREMAP_MAYMOVE): Do not define here.
10034 [__USE_GNU] (MREMAP_FIXED): Likewise.
10035 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
10036 (MREMAP_MAYMOVE): Define here instead.
10037 [__USE_GNU] (MREMAP_FIXED): Likewise.
10038 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
10039 (MREMAP_MAYMOVE): Remove.
10040 [__USE_GNU] (MREMAP_FIXED): Likewise.
10042 2018-09-28 Joseph Myers <joseph@codesourcery.com>
10044 * math/fromfp.h: Do not include <math_private.h>.
10045 * math/s_cacosh_template.c: Likewise.
10046 * math/s_casin_template.c: Likewise.
10047 * math/s_casinh_template.c: Likewise.
10048 * math/s_ccos_template.c: Likewise.
10049 * math/s_cproj_template.c: Likewise.
10050 * math/s_fdim_template.c: Likewise.
10051 * math/s_fmaxmag_template.c: Likewise.
10052 * math/s_fminmag_template.c: Likewise.
10053 * math/s_iseqsig_template.c: Likewise.
10054 * math/s_ldexp_template.c: Likewise.
10055 * math/s_nextdown_template.c: Likewise.
10056 * math/w_log1p_template.c: Likewise.
10057 * math/w_scalbln_template.c: Likewise.
10058 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10059 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10060 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10061 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10062 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10063 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10064 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10065 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10066 * sysdeps/i386/fpu/s_atanl.c: Likewise.
10067 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10068 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10069 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10070 * sysdeps/i386/fpu/s_logbl.c: Likewise.
10071 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10072 * sysdeps/i386/fpu/s_significandl.c: Likewise.
10073 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
10074 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
10075 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10076 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10077 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10078 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10079 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10080 * sysdeps/ieee754/k_standardf.c: Likewise.
10081 * sysdeps/ieee754/k_standardl.c: Likewise.
10082 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10083 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10084 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
10085 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10086 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10087 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10088 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10089 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10090 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10091 * sysdeps/ieee754/s_signgam.c: Likewise.
10092 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10093 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
10094 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
10095 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10096 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10097 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10098 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10099 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10100 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10101 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10102 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10103 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10104 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10105 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10106 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10107 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10108 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10109 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10110 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10111 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10112 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10113 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10114 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10115 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10116 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10117 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10118 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10119 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10120 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10121 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10122 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10123 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10124 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10125 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10126 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10127 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10128 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
10130 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10132 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
10135 * sysdeps/i386/dl-cet.c: Removed.
10136 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
10138 (_dl_runtime_profile_shstk): Likewise.
10139 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
10140 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
10142 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10145 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
10146 do_test_with_invalid_iov): New tests.
10147 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
10148 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
10149 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
10151 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
10152 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
10153 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
10155 2018-09-27 Joseph Myers <joseph@codesourcery.com>
10157 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10158 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
10159 (MATH_REDIRECT_BINARY_ARGS): New macro.
10160 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10161 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
10162 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
10164 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
10165 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10166 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
10167 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10168 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10169 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10170 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
10175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
10177 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
10178 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
10179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
10181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
10183 * sysdeps/generic/math_private_calls.h
10184 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
10185 Do not declare and define as an inline function.
10186 * math/divtc3.c (__divtc3): Use copysign functions instead of
10187 __copysign variants.
10188 * math/multc3.c (__multc3): Likewise.
10189 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
10190 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
10191 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10192 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10194 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10195 (__ieee754_yn): Likewise.
10196 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10197 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
10198 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10199 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10200 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
10202 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10203 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10205 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10207 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10209 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10210 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10212 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10213 (__ieee754_ynf): Likewise.
10214 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10215 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10216 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10217 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10219 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10220 (__ieee754_ynl): Likewise.
10221 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10222 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10223 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10225 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10226 (__ieee754_ynl): Likewise.
10227 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
10228 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10229 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10230 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10232 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10234 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
10235 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10236 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
10237 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10238 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10240 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10241 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
10242 using MATH_REDIRECT.
10243 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
10245 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
10246 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10247 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10248 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
10249 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
10253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
10254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
10255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
10256 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10257 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10259 (round): Redirect to __round.
10260 (__roundl): Call round instead of __round.
10261 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
10263 [_ARCH_PWR5X] (__roundf): Likewise.
10264 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
10265 functions instead of __round variants.
10266 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10267 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10269 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10271 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10273 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
10274 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
10276 (__ieee754_expl): Call roundl instead of __roundl.
10278 2018-09-27 Andreas Schwab <schwab@suse.de>
10281 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
10282 (do_test): Make st1 static.
10284 2018-09-26 Andreas Schwab <schwab@suse.de>
10287 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
10288 * elf/Makefile (tests): Add tst-unwind-ctor.
10289 (modules-names): Add tst-unwind-ctor-lib.
10290 ($(objpfx)tst-unwind-ctor): Depend on
10291 $(objpfx)tst-unwind-ctor-lib.so.
10293 2018-09-26 Joseph Myers <joseph@codesourcery.com>
10295 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
10296 file. Most contents moved from ....
10297 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
10298 and include <bits/mman-map-flags-generic.h>.
10299 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10300 (sysdep_headers): Add bits/mman-map-flags-generic.h.
10301 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
10302 <bits/mman-map-flags-generic.h>.
10303 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
10304 macros defined in <bits/mman-map-flags-generic.h>.
10305 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
10306 <bits/mman-map-flags-generic.h>.
10307 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
10308 defined in <bits/mman-map-flags-generic.h>.
10310 2018-09-26 Andreas Schwab <schwab@suse.de>
10312 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
10315 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
10316 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10317 Fangrui Song <maskray@google.com>
10320 * config.make.in (have-textrel_ifunc): New define.
10321 * configure.ac: Add check if linker supports textrel relocation with
10323 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
10325 (CFLAGS-tst-ifunc-textrel.c): New rule.
10326 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
10327 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
10328 * elf/tst-ifunc-textrel.c: New file.
10330 2018-09-25 Joseph Myers <joseph@codesourcery.com>
10332 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10333 <bits/procfs-prregset.h>.
10334 (prgregset_t): Define using __prgregset_t.
10335 (prfpregset_t): Define using __prfpregset_t.
10336 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10337 (sysdep_headers): Add bits/procfs-prregset.h.
10338 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
10339 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
10340 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
10341 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
10343 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10344 <bits/procfs-id.h> and <bits/procfs-extra.h>.
10345 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
10347 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10348 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
10349 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
10350 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
10351 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
10352 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
10353 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
10354 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
10355 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
10356 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
10357 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
10358 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
10359 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
10360 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
10361 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
10362 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
10363 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
10364 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
10365 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
10366 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
10367 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
10368 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
10369 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10370 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
10372 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
10373 AArch64 version. Include <bits/procfs.h>.
10374 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10375 (sysdep_headers): Add bits/procfs.h.
10376 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
10377 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
10378 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
10379 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
10380 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
10381 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
10382 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
10383 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
10384 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
10385 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
10386 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
10387 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
10388 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
10389 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
10390 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
10391 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
10392 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
10394 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10396 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
10399 2018-09-25 Arjun Shankar <arjun@redhat.com>
10401 * iconv/gconv_int.h (__gconv_path_elem): Remove.
10402 (__gconv_max_path_elem_len): Likewise.
10403 (__gconv_nmodules): Likewise.
10404 (__gconv_get_path): Likewise.
10405 (path_elem): Move to ...
10406 * iconv/gconv_conf.c: ... here.
10407 (__gconv_get_path): Mark function static.
10408 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
10409 * iconv/gconv_open.c: ... here.
10411 2018-09-24 Andreas Schwab <schwab@suse.de>
10413 * scripts/haveversions.awk: New file.
10414 * Makerules ($(common-objpfx)Versions.def)
10415 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10416 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10418 * Makeconfig ($(common-objpfx)Versions.def)
10419 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10420 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10422 ($(common-objpfx)Versions.mk): New rule. Include it.
10423 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
10424 Emit error if build-obsolete-nsl = yes.
10425 * manual/install.texi (Configuring and compiling): Describe
10426 --enable-obsolete-nsl as unavaiable after version 2.28.
10427 * INSTALL: Regenerate.
10429 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10431 * NEWS: Add note about new TLE support on powerpc64le.
10432 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
10433 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
10435 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
10436 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
10437 * sysdeps/powerpc/powerpc32/sysdep.h,
10438 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
10439 ABORT_TRANSACTION): Remove macros.
10440 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
10441 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
10442 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
10443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
10444 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10445 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
10447 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
10449 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
10452 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
10453 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
10454 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
10455 which is the same as in it_IT.
10456 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
10457 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
10459 2018-09-20 Joseph Myers <joseph@codesourcery.com>
10461 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10462 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
10463 using MATH_REDIRECT.
10464 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
10466 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
10467 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10468 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
10469 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10470 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10471 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
10473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
10474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
10475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
10476 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10477 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10478 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10479 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10480 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
10481 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
10482 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
10483 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10484 (ceil): Redirect to __ceil.
10485 (floor): Redirect to __floor.
10486 (trunc): Redirect to __trunc.
10487 (__truncl): Call trunc instead of __trunc.
10488 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
10490 [_ARCH_PWR5X] (__truncf): Likewise.
10491 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
10492 trunc functions instead of __trunc variants.
10493 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10495 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10497 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10499 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10502 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
10503 [__i586__ || __pentium__].
10504 [__i486__]: Handle explicitly.
10505 (HAS_CPUID): Define to 1 if above macros are undefined.
10506 (HAS_I586): Likewise.
10507 (HAS_I686): Likewise.
10509 2018-09-20 Florian Weimer <fweimer@redhat.com>
10511 * misc/tst-gethostid.c: New file.
10512 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
10513 (tst-gethostid): Link with -ldl.
10515 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
10517 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
10518 value from gethostbyname_r.
10520 2018-09-19 Carlos O'Donell <carlos@redhat.com>
10522 * stdlib/tst-setcontext9.c (f1): Rename to...
10524 (f1b): New function implementing lower half of f1 in alternate stack.
10526 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
10528 Fix mktime localtime offset confusion
10530 * include/time.h (__mktime_internal): The localtime offset is now
10531 of type long int instead of time_t. This is the longstanding type
10532 in glibc, and it is more than enough to represent difference
10533 between localtime and gmtime even if it is 32 bits and time_t is
10534 64. Changing it now will let us avoid an unnecessary change when
10535 time_t is widened to 64 bits on 32-bit platforms.
10536 * time/mktime-internal.h (mktime_offset_t): Now long int.
10538 Merge mktime, timegm from upstream Gnulib
10539 [BZ #23603][BZ #16346]
10540 This fixes some obscure problems with integer overflow.
10541 Although it looks scary, it is almost all a byte-for-byte copy
10542 from Gnulib, and the Gnulib code has been tested reasonably well.
10543 * include/intprops.h: New file, copied from Gnulib.
10544 * include/verify.h, time/mktime-internal.h:
10545 New tiny files, simplified from Gnulib.
10546 * time/mktime.c: Copy from Gnulib. This has the following changes:
10547 Do not include config.h if DEBUG_MKTIME is nonzero.
10548 Include stdbool.h, intprops.h, verify.h.
10549 Include string.h only if needed.
10550 Include stdlib.h on MS-Windows.
10551 Include mktime-internal.h.
10552 (DEBUG_MKTIME): Default to 0, and simplify later uses.
10553 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
10554 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
10555 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
10556 simplify later conditionals; default the others to zero. Use
10557 these conditionals to express only the code needed on the current
10558 platform. In uses of these conditionals, explicitly spell out how
10559 _LIBC affects things, so it’s easier to review from a glibc
10561 (WRAPV): Remove; no longer needed now that we have
10562 systematic overflow checking.
10563 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
10564 compartmentalize tzset issues. Move system-dependent tzsettish
10565 code here from mktime.
10566 (verify): Remove; now done by verify.h. All uses changed.
10567 (long_int): Use a more-conservative definition, to avoid
10569 (SHR): Remove, replacing with ...
10570 (shr): New function, which means we needn’t worry about side
10571 effects in args, and conversion analysis is simpler.
10572 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
10573 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
10574 (time_t_avg, time_t_add_ok): Remove.
10575 (mktime_min, mktime_max): New constants.
10576 (leapyear, isdst_differ): Use bool for booleans.
10577 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
10578 Use long_int, not time_t, for mktime differences.
10579 (long_int_avg): New function, replacing time_t_avg.
10580 INT_ADD_WRAPV replaces time_t_add_ok.
10581 (guess_time_tm): 6th arg is now long_int, not time_t const *.
10583 (convert_time): New function.
10584 (ranged_convert): Use it.
10585 (__mktime_internal): Last arg now points to mktime_offset_t, not
10586 time_t. All uses changed. This is a no-op on glibc, where
10587 mktime_offset_t is always time_t. Use int, not time_t, for UTC
10588 offset guess. Directly check for integer overflow instead of
10589 using a heuristic that works only 99.9...% of the time.
10590 Access *OFFSET only once, to avoid an unlikely race if the
10591 compiler delays a load and if this cascades into a signed integer
10593 (mktime): Move tzsettish code to my_tzset, and move
10594 localtime_offset to within mktime so that it doesn’t
10595 need a separate ifdef.
10596 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
10597 instead of localtime.
10598 * time/timegm.c: Copy from Gnulib. This has the following changes:
10599 Include mktime-internal.h.
10600 [!_LIBC]: Include config.h and time.h. Do not include
10601 timegm.h or time_r.h. Make __mktime_internal a macro,
10602 and include mktime-internal.h to get its declaration.
10603 (timegm): Temporary is now mktime_offset_t, not time_t.
10604 This affects only Gnulib.
10606 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10609 * string/test-strstr.c (pr23637): New function.
10610 (test_main): Add tests with longer needles.
10611 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
10612 * string/strstr.c (AVAILABLE): Likewise.
10614 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10616 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
10618 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10620 * NEWS: Mention pow improvements.
10621 * math/Makefile (type-double-routines): Add e_pow_log_data.
10622 * sysdeps/generic/math_private.h (__exp1): Remove.
10623 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
10624 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
10625 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
10627 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
10628 (exp_inline): Remove.
10629 (__ieee754_exp): Only single double input is handled.
10630 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
10631 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
10632 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
10633 (__pow_log_data): Define.
10634 * sysdeps/ieee754/dbl-64/upow.h: Remove.
10635 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
10636 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
10637 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
10639 (CFLAGS-e_pow-fma4.c): Likewise.
10641 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
10643 Simplify tzfile fstat failure code
10645 * time/tzfile.c (__tzfile_read): Simplify slightly.
10647 Fix tzfile low-memory assertion failure
10649 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
10650 when registering time zone abbreviations.
10652 2018-09-18 Joseph Myers <joseph@codesourcery.com>
10654 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
10655 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
10656 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10657 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10658 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
10659 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
10660 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
10661 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10662 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10664 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
10666 (__ceill): Call ceil instead of __ceil.
10667 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
10669 (__floorl): Call floor instead of __floor.
10671 2018-09-17 Joseph Myers <joseph@codesourcery.com>
10673 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10674 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
10675 using MATH_REDIRECT.
10676 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
10678 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
10679 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10680 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10681 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
10682 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10683 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10684 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10685 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
10686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
10687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
10688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
10689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
10690 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10691 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10692 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10694 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
10695 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
10696 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
10698 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
10699 functions instead of __ceil variants.
10700 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10701 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10703 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10705 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10706 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10708 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10709 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10712 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
10714 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
10715 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
10716 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
10717 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
10718 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
10719 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
10720 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
10721 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
10722 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
10723 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
10724 (ILL_BADIADDR): Remove constant.
10725 (TRAP_BRANCH): Likewise.
10726 (TRAP_HWBKPT): Likewise.
10728 2018-09-14 Joseph Myers <joseph@codesourcery.com>
10731 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
10732 Remove [_MIPS_SIM = _ABIN32] conditional case.
10733 (struct elf_prpsinfo): Likewise.
10736 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
10737 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
10738 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
10740 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
10741 elf_prpsinfo): Likewise.
10742 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
10743 elf_prpsinfo): Likewise.
10744 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
10747 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10748 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
10749 using MATH_REDIRECT.
10750 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
10752 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
10753 * sysdeps/alpha/fpu/s_rint.c: Likewise.
10754 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
10755 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10758 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
10759 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10760 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10761 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10762 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
10763 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
10764 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
10765 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
10766 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
10767 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10768 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10769 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
10770 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
10772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
10773 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
10774 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
10775 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10776 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10777 * sysdeps/x86_64/fpu/math_private.h: Remove file.
10778 * math/e_scalb.c (invalid_fn): Use rint functions instead of
10780 * math/e_scalbf.c (invalid_fn): Likewise.
10781 * math/e_scalbl.c (invalid_fn): Likewise.
10782 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10784 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10786 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10787 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
10788 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10790 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10792 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10794 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
10795 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
10797 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10798 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
10800 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10801 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
10802 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10803 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
10804 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10805 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
10806 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10807 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
10808 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10809 && !NO_MATH_REDIRECT] (floor): Likewise.
10810 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
10812 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
10813 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10814 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10815 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
10816 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10817 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10818 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10819 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
10820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
10821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
10822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
10823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
10824 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10825 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10826 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10827 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10828 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10829 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10830 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
10832 [_ARCH_PWR5X] (__floorf): Likewise.
10833 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
10835 [__SSE4_1__] (__floorf): Likewise.
10836 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
10837 instead of __floor variants.
10838 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
10839 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
10840 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
10841 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
10842 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
10843 * math/w_tgamma_compat.c (__tgamma): Likewise.
10844 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
10845 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
10846 * math/w_tgammal_compat.c (__tgammal): Likewise.
10847 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
10848 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10850 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10851 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
10852 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10853 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10855 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10856 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
10858 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10859 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
10861 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10862 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
10864 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10865 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10866 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10867 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
10868 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10869 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10871 2018-09-12 Joseph Myers <joseph@codesourcery.com>
10873 * elf/Makefile (modules-names-tests): New variable.
10875 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10877 * NEWS: Mention log2 improvements.
10878 * math/Makefile (type-double-routines): Add e_log2_data.
10879 * sysdeps/i386/fpu/e_log2_data.c: New file.
10880 * sysdeps/ia64/fpu/e_log2_data.c: New file.
10881 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
10882 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
10883 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
10884 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
10885 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
10887 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10889 * NEWS: Mention log improvement.
10890 * math/Makefile (type-double-routines): Add e_log_data.
10891 * sysdeps/i386/fpu/e_log_data.c: New file.
10892 * sysdeps/ia64/fpu/e_log_data.c: New file.
10893 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
10894 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
10895 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
10896 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
10897 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
10898 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
10900 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
10901 Xuepeng Guo <xuepeng.guo@intel.com>
10904 * sysdeps/i386/start.S: Include <sysdep.h>
10905 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
10906 enabled. Add cfi_undefined (eip).
10908 2018-09-11 Joseph Myers <joseph@codesourcery.com>
10910 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
10912 (EXTRACT_WORDS64): Likewise.
10913 (INSERT_WORDS64): Likewise.
10914 (GET_FLOAT_WORD): Likewise.
10915 (SET_FLOAT_WORD): Likewise.
10917 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
10919 (Config.build_gcc): Use --disable-libsanitizer for first GCC
10920 build, but not for second build if --full-gcc. Use
10921 --enable-languages=all for second build if --full-gcc.
10922 (get_parser): Add --full-gcc option.
10923 (main): Update call to Context.
10925 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
10928 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
10929 Single Quotation Mark).
10930 (thousands_sep): Likewise.
10931 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
10932 * localedata/locales/it_IT (thousands_sep): Use ".".
10933 (grouping): Use "3;3".
10935 2018-09-10 Joseph Myers <joseph@codesourcery.com>
10937 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10938 x86_64 and i686 configs using --enable-obsolete-rpc
10939 --enable-obsolete-nsl.
10941 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10943 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10945 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10947 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
10948 Increment size of new_argv by one.
10950 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
10953 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
10954 * localedata/locales/ar_IN (d_fmt): Likewise.
10955 * localedata/locales/bhb_IN (d_fmt): Likewise.
10956 * localedata/locales/bho_IN (d_fmt): Likewise.
10957 * localedata/locales/bn_BD (d_fmt): Likewise.
10958 * localedata/locales/bn_IN (d_fmt): Likewise.
10959 * localedata/locales/doi_IN (d_fmt): Likewise.
10960 * localedata/locales/gu_IN (d_fmt): Likewise.
10961 * localedata/locales/hi_IN (d_fmt): Likewise.
10962 * localedata/locales/hne_IN (d_fmt): Likewise.
10963 * localedata/locales/kn_IN (d_fmt): Likewise.
10964 * localedata/locales/mag_IN (d_fmt): Likewise.
10965 * localedata/locales/mai_IN (d_fmt): Likewise.
10966 * localedata/locales/mjw_IN (d_fmt): Likewise.
10967 * localedata/locales/ml_IN (d_fmt): Likewise.
10968 * localedata/locales/mni_IN (d_fmt): Likewise.
10969 * localedata/locales/mr_IN (d_fmt): Likewise.
10970 * localedata/locales/pa_IN (d_fmt): Likewise.
10971 * localedata/locales/raj_IN (d_fmt): Likewise.
10972 * localedata/locales/sat_IN (d_fmt): Likewise.
10973 * localedata/locales/sd_IN (d_fmt): Likewise.
10974 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
10975 * localedata/locales/ta_IN (d_fmt): Likewise.
10976 * localedata/locales/ta_LK (d_fmt): Likewise.
10977 * localedata/locales/tcy_IN (d_fmt): Likewise.
10978 * localedata/locales/ur_IN (d_fmt): Likewise.
10980 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
10981 * localedata/locales/ks_IN (d_fmt): Likewise.
10982 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
10984 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
10985 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
10986 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
10987 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
10989 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
10991 * NEWS: Mention exp and exp2 improvements.
10992 * math/Makefile (libm-support): Remove t_exp.
10993 (type-double-routines): Add math_err and e_exp_data.
10994 * sysdeps/aarch64/libm-test-ulps: Update.
10995 * sysdeps/arm/libm-test-ulps: Update.
10996 * sysdeps/i386/fpu/e_exp_data.c: New file.
10997 * sysdeps/i386/fpu/math_err.c: New file.
10998 * sysdeps/i386/fpu/t_exp.c: Remove.
10999 * sysdeps/ia64/fpu/e_exp_data.c: New file.
11000 * sysdeps/ia64/fpu/math_err.c: New file.
11001 * sysdeps/ia64/fpu/t_exp.c: Remove.
11002 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
11003 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
11004 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
11005 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
11006 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
11007 * sysdeps/ieee754/dbl-64/math_config.h: New file.
11008 * sysdeps/ieee754/dbl-64/math_err.c: New file.
11009 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
11010 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
11011 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
11012 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
11013 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
11014 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
11015 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
11016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11019 2018-09-05 Joseph Myers <joseph@codesourcery.com>
11021 * sysdeps/alpha/fpu/math_private.h: Remove.
11023 * sysdeps/generic/math_private.h
11024 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
11025 Move this inline function ....
11026 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
11027 * include/math.h [!_ISOMAC]: To here....
11029 2018-09-04 Joseph Myers <joseph@codesourcery.com>
11031 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
11033 [!FE_HAVE_ROUNDING_MODES]: And this code ....
11034 * include/fenv.h [!_ISOMAC]: ... to here.
11035 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
11036 (feraiseexcept): Likewise.
11037 * math/fromfp.h: Do not include <fenv_private.h>.
11038 * math/s_cexp_template.c: Likewise.
11039 * math/s_csin_template.c: Likewise.
11040 * math/s_csinh_template.c: Likewise.
11041 * math/s_ctan_template.c: Likewise.
11042 * math/s_ctanh_template.c: Likewise.
11043 * math/s_iseqsig_template.c: Likewise.
11044 * math/w_acos_compat.c: Likewise.
11045 * math/w_acosf_compat.c: Likewise.
11046 * math/w_acosl_compat.c: Likewise.
11047 * math/w_asin_compat.c: Likewise.
11048 * math/w_asinf_compat.c: Likewise.
11049 * math/w_asinl_compat.c: Likewise.
11050 * math/w_j0_compat.c: Likewise.
11051 * math/w_j0f_compat.c: Likewise.
11052 * math/w_j0l_compat.c: Likewise.
11053 * math/w_j1_compat.c: Likewise.
11054 * math/w_j1f_compat.c: Likewise.
11055 * math/w_j1l_compat.c: Likewise.
11056 * math/w_jn_compat.c: Likewise.
11057 * math/w_jnf_compat.c: Likewise.
11058 * math/w_log10_compat.c: Likewise.
11059 * math/w_log10f_compat.c: Likewise.
11060 * math/w_log10l_compat.c: Likewise.
11061 * math/w_log2_compat.c: Likewise.
11062 * math/w_log2f_compat.c: Likewise.
11063 * math/w_log2l_compat.c: Likewise.
11064 * math/w_log_compat.c: Likewise.
11065 * math/w_logf_compat.c: Likewise.
11066 * math/w_logl_compat.c: Likewise.
11067 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11068 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11069 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11070 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11071 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11072 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11073 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11074 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11075 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11076 * sysdeps/ieee754/k_standardl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11079 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11082 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11083 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11084 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11089 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11090 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11092 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11093 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11094 * math/w_ilogb_template.c: Include <fenv.h> instead of
11096 * math/w_llogb_template.c: Likewise.
11097 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11098 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11100 2018-09-03 Joseph Myers <joseph@codesourcery.com>
11102 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
11103 * math/fromfp.h: Include <fenv_private.h>.
11104 * math/math-narrow.h: Likewise.
11105 * math/s_cexp_template.c: Likewise.
11106 * math/s_csin_template.c: Likewise.
11107 * math/s_csinh_template.c: Likewise.
11108 * math/s_ctan_template.c: Likewise.
11109 * math/s_ctanh_template.c: Likewise.
11110 * math/s_iseqsig_template.c: Likewise.
11111 * math/w_acos_compat.c: Likewise.
11112 * math/w_acosf_compat.c: Likewise.
11113 * math/w_acosl_compat.c: Likewise.
11114 * math/w_asin_compat.c: Likewise.
11115 * math/w_asinf_compat.c: Likewise.
11116 * math/w_asinl_compat.c: Likewise.
11117 * math/w_ilogb_template.c: Likewise.
11118 * math/w_j0_compat.c: Likewise.
11119 * math/w_j0f_compat.c: Likewise.
11120 * math/w_j0l_compat.c: Likewise.
11121 * math/w_j1_compat.c: Likewise.
11122 * math/w_j1f_compat.c: Likewise.
11123 * math/w_j1l_compat.c: Likewise.
11124 * math/w_jn_compat.c: Likewise.
11125 * math/w_jnf_compat.c: Likewise.
11126 * math/w_llogb_template.c: Likewise.
11127 * math/w_log10_compat.c: Likewise.
11128 * math/w_log10f_compat.c: Likewise.
11129 * math/w_log10l_compat.c: Likewise.
11130 * math/w_log2_compat.c: Likewise.
11131 * math/w_log2f_compat.c: Likewise.
11132 * math/w_log2l_compat.c: Likewise.
11133 * math/w_log_compat.c: Likewise.
11134 * math/w_logf_compat.c: Likewise.
11135 * math/w_logl_compat.c: Likewise.
11136 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11137 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11138 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11139 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11141 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11142 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11143 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11144 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11146 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11147 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11148 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
11149 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11150 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11151 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11152 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11153 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11154 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11155 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11156 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11157 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11158 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11159 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11160 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11161 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11162 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11163 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11164 * sysdeps/ieee754/float128/float128_private.h: Likewise.
11165 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11166 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11167 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11168 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11169 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11170 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11171 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11172 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11173 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11174 * sysdeps/ieee754/k_standardl.c: Likewise.
11175 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11177 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11178 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11179 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11180 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11181 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11182 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11183 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11185 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11186 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11187 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11188 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11189 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11190 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11191 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11192 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11193 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11194 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11196 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11197 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11198 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11199 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11200 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11201 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11202 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11203 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11204 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11205 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11206 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11209 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11211 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11212 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11213 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11214 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11215 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11216 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11217 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11218 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11219 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11220 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11221 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11222 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11223 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11224 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11225 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11226 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11227 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11228 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11229 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11230 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11231 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11232 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11233 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11234 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11235 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11236 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11237 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11238 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11239 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11240 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11241 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11242 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11243 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11244 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11245 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11247 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11250 * include/stdio.h (__libc_fatal): Mention newline in comment.
11251 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
11252 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
11253 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11254 * nss/nsswitch.c (__nss_next2): Likewise.
11255 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
11256 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
11257 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
11258 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11259 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
11260 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
11261 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
11262 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
11263 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
11264 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
11265 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
11266 * sysdeps/unix/sysv/linux/netlink_assert_response.c
11267 (__netlink_assert_response): Likewise.
11269 2018-08-31 Joseph Myers <joseph@codesourcery.com>
11271 * conform/glibcconform.py: New file.
11272 * conform/list-header-symbols.py: Likewise.
11273 * conform/list-header-symbols.pl: Remove.
11274 * conform/Makefile (tests-special): Only add linknamespace tests
11276 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
11278 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
11281 * support/Makefile (libsupport-routines): Add
11282 support_copy_file_range and xcopy_file_range.
11283 * support/support.h: Include <sys/types.h>.
11284 (support_copy_file_range): New prototype.
11285 * support/support_copy_file_range.c: New file. Copied and
11286 modified from io/copy_file_range-compat.c.
11287 * support/test-container.c (copy_one_file): Call xcopy_file_rang
11288 instead of copy_file_range.
11289 * support/xcopy_file_range.c: New file.
11290 * support/xunistd.h (xcopy_file_range): New prototype.
11292 2018-08-30 Carlos O'Donell <carlos@redhat.com>
11294 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
11295 xpthread_create and xpthread_join.
11297 2018-08-30 Florian Weimer <fweimer@redhat.com>
11299 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
11301 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
11303 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
11306 2018-08-29 Joseph Myers <joseph@codesourcery.com>
11308 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
11309 and minus_oflow as non-finite.
11311 2018-08-28 Joseph Myers <joseph@codesourcery.com>
11313 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
11314 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
11315 moved to fenv_private.h except for ...
11316 (TOINT_INTRINSICS): Kept in math_private.h.
11317 (roundtoint): Likewise.
11318 (converttoint): Likewise.
11319 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
11320 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11321 * sysdeps/arm/math_private.h: Remove.
11322 * sysdeps/generic/fenv_private.h: New file. Contents moved from
11324 * sysdeps/generic/math_private.h: ... this file. Include
11325 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
11326 Include <fenv_private.h>. Remove functions and macros moved to
11328 * sysdeps/i386/fpu/math_private.h: Remove.
11329 * sysdeps/mips/math_private.h: Move to ....
11330 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
11331 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
11332 [__mips_hard_float] conditional. Include next <fenv_private.h>.
11333 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
11334 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11335 * sysdeps/powerpc/fpu/math_private.h: Do not include
11337 * sysdeps/riscv/rvf/math_private.h: Move to ....
11338 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
11339 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
11341 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
11342 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11343 * sysdeps/sparc/fpu/math_private.h: Remove.
11344 * sysdeps/i386/fpu/fenv_private.h: Move to ....
11345 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
11346 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
11348 * sysdeps/x86_64/fpu/math_private.h: Do not include
11349 <sysdeps/i386/fpu/fenv_private.h>.
11351 2018-08-28 Florian Weimer <fweimer@redhat.com>
11354 * posix/tst-regcomp-truncated.c: New file.
11355 * posix/Makefile (tests): Add it.
11356 (tst-regcomp-truncated.out): Depend on generated locales.
11358 2018-08-28 Florian Weimer <fweimer@redhat.com>
11360 * support/test-container.c (main): Treat unshare failure with
11361 EPERM as an unsupported test.
11363 2018-08-28 Florian Weimer <fweimer@redhat.com>
11366 nscd: Fix use-after-free in addgetnetgrentX and its callers.
11367 * nscd/netgroupcache.c
11368 (addgetnetgrentX): Add tofreep parameter. Do not free
11369 heap-allocated buffer.
11370 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
11371 (addgetnetgrentX_ignore): New function.
11372 (addgetnetgrent): Call it.
11373 (readdgetnetgrent): Likewise.
11375 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11377 * string/memmem.c: Use memcmp for first match.
11379 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
11382 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
11384 2018-08-27 DJ Delorie <dj@redhat.com>
11386 * support/Makefile (others): Don't list programs explicitly as a
11387 dependency of "others".
11389 2018-08-27 Joseph Myers <joseph@codesourcery.com>
11391 * sysdeps/generic/math-tests-trap-force.h: New file.
11392 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
11393 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
11394 * sysdeps/powerpc/math-tests.h: Remove file.
11395 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
11397 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
11398 Torvald Riegel <triegel@redhat.com>
11401 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
11402 Update r to include the set wake-request flag if waiters are
11403 remaining after spinning.
11405 2018-08-27 Joseph Myers <joseph@codesourcery.com>
11407 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
11409 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
11412 regex: fix uninitialized memory access
11413 I introduced this bug into gnulib in commit
11414 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
11415 eventually it was merged into glibc. The bug was found by
11416 project-repo <bugs@feusi.co> and reported here:
11417 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
11418 Diagnosis and draft fix reported by Assaf Gordon here:
11419 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
11420 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
11421 * posix/regex_internal.c (build_wcs_upper_buffer):
11422 Fix bug when mbrtowc returns 0.
11424 2018-08-24 Carlos O'Donell <carlos@redhat.com>
11426 * po/be.po: Update translation.
11428 2018-08-24 DJ Delorie <dj@delorie.com>
11430 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
11433 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11436 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
11437 create temporary files in source tree.
11439 2018-08-24 Joseph Myers <joseph@codesourcery.com>
11441 * sysdeps/generic/math-tests-trap.h: New file.
11442 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
11443 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
11444 * sysdeps/aarch64/math-tests.h: Remove file.
11445 * sysdeps/arm/math-tests.h: Likewise.
11446 * sysdeps/riscv/math-tests.h: Likewise.
11447 * sysdeps/aarch64/math-tests-trap.h: New file.
11448 * sysdeps/arm/math-tests-trap.h: Likewise.
11449 * sysdeps/riscv/math-tests-trap.h: Likewise.
11451 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
11453 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
11454 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
11455 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
11456 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
11457 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
11458 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
11459 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11460 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
11461 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
11462 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11463 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11464 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11465 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11466 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
11467 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
11468 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
11469 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11470 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11472 2018-08-23 Joseph Myers <joseph@codesourcery.com>
11474 * sysdeps/generic/math-tests-exceptions.h: New file.
11475 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
11476 (EXCEPTION_TESTS_float): Do not define here.
11477 (EXCEPTION_TESTS_double): Likewise.
11478 (EXCEPTION_TESTS_long_double): Likewise.
11479 (EXCEPTION_TESTS_float128): Likewise.
11480 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
11482 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
11483 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
11484 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
11485 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
11486 * sysdeps/mips/math-tests.h: Likewise.
11487 * sysdeps/nios2/math-tests.h: Likewise.
11488 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11489 (EXCEPTION_TESTS_float): Do not define here.
11490 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
11491 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
11492 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
11494 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11496 * NEWS: Move optimized sinf entry to 2.29.
11498 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11500 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
11502 2018-08-22 DJ Delorie <dj@redhat.com>
11504 * Makefile (testroot.pristine): New rules to initialize the
11505 test-in-container "testroot".
11506 * Makerules (all-testsuite): Add tests-container.
11507 * Rules (tests-expected): Add tests-container.
11508 (binaries-all-tests): Likewise.
11509 (tests-container): New, run these tests in the testroot container.
11510 * support/Makefile (others): Add *-container, support_paths.c,
11511 xmkdirp, and links-dso-program.
11512 * support/links-dso-program-c.c: New.
11513 * support/links-dso-program.cc: New.
11514 * support/test-container.c: New.
11515 * support/shell-container.c: New.
11516 * support/echo-container.c: New.
11517 * support/true-container.c: New.
11518 * support/xmkdirp.c: New.
11519 * support/xsymlink.c: New.
11520 * support/support_paths.c: New.
11521 * support/support.h: Add support paths prototypes.
11522 * support/xunistd.h: Add xmkdirp () and xsymlink ().
11524 * nss/tst-nss-test3.c: Convert to test-in-container.
11525 * nss/tst-nss-test3.root/: New.
11527 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
11529 regex: port Gnulib code to z/OS POSIX environment
11530 Problem reported by Arnold Robbins in:
11531 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
11532 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
11535 2018-08-22 Joseph Myers <joseph@codesourcery.com>
11537 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
11538 (ROUNDING_TESTS_double): Remove.
11539 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
11540 (ROUNDING_TESTS_double): Remove.
11541 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
11542 (ROUNDING_TESTS_double): Remove.
11543 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
11544 (ROUNDING_TESTS_float): Remove.
11545 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
11546 (ROUNDING_TESTS_float): Remove.
11547 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
11548 (ROUNDING_TESTS_float): Remove.
11549 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
11550 !TEST_MATHVEC here.
11551 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11552 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11554 * sysdeps/generic/math-tests-rounding.h: New file.
11555 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
11556 (ROUNDING_TESTS_float): Do not define here.
11557 (ROUNDING_TESTS_double): Likewise.
11558 (ROUNDING_TESTS_long_double): Likewise.
11559 (ROUNDING_TESTS_float128): Likewise.
11560 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
11561 (ROUNDING_TESTS_double): Undefine before defining.
11562 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
11563 (ROUNDING_TESTS_double): Undefine before defining.
11564 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
11565 (ROUNDING_TESTS_double): Undefine before defining.
11566 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
11567 (ROUNDING_TESTS_float): Undefine before defining.
11568 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
11569 (ROUNDING_TESTS_float): Undefine before defining.
11570 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
11571 (ROUNDING_TESTS_float): Undefine before defining.
11572 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
11573 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
11575 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
11576 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
11577 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
11578 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11579 (ROUNDING_TESTS_float): Do not define here.
11580 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
11581 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
11582 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
11583 (ROUNDING_TESTS_float): Likewise.
11584 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
11585 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
11586 * sysdeps/mips/math-tests.h [__mips_soft_float]
11587 (ROUNDING_TESTS_float): Likewise.
11588 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
11589 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
11590 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
11591 (ROUNDING_TESTS_double): Likewise.
11592 (ROUNDING_TESTS_long_double): Likewise.
11594 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
11596 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
11597 (PF_XDP): New macro.
11598 (AF_XDP): New macro.
11599 (SOL_XDP): New macro.
11601 2018-08-21 Joseph Myers <joseph@codesourcery.com>
11603 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
11604 (TCP_INQ): Likewise.
11605 (TCP_CM_INQ): Likewise.
11606 (TCP_REPAIR_ON): Likewise.
11607 (TCP_REPAIR_OFF): Likewise.
11608 (TCP_REPAIR_OFF_NO_WP): Likewise.
11609 (struct tcp_zerocopy_receive): New type.
11611 2018-08-21 Florian Weimer <fweimer@redhat.com>
11613 * support/support.h (support_descriptor_supports_holes): Declare.
11614 * support/Makefile (libsupport-routines): Add
11615 support_descriptor_supports_holes.
11616 * support/support_descriptor_supports_holes.c: New file.
11617 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
11618 and stop testing if holes are not supported.
11619 * io/test-lfs.c (do_prepare): Likewise.
11620 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
11622 * timezone/tst-tzset.c (create_tz_file): Likewise.
11623 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
11625 (do_prepare): Set it.
11626 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
11628 2018-08-21 Florian Weimer <fweimer@redhat.com>
11631 * Makeconfig (+cflags): Do not sort (and deduplicate).
11633 2018-08-21 Florian Weimer <fweimer@redhat.com>
11635 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
11636 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
11638 2018-08-20 Florian Weimer <fweimer@redhat.com>
11640 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
11641 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
11643 2018-08-20 Joseph Myers <joseph@codesourcery.com>
11645 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
11646 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
11647 and ssi_arch members.
11649 * elf/elf.c (NT_VMCOREDD): New macro.
11650 (AT_MINSIGSTKSZ): Likewise.
11652 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11654 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11655 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
11656 s_cosf-ppc64 and s_cosf-power8.
11657 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
11658 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11659 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11660 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
11662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
11663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
11664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
11665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11667 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
11668 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11670 2018-08-17 Florian Weimer <fweimer@redhat.com>
11672 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11674 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
11676 * malloc/malloc.c (_int_malloc): Additional binning code checks.
11678 2018-08-16 Florian Weimer <fweimer@redhat.com>
11680 * configure.ac: Add --with-nonshared-cflags option.
11681 * config.make.in (extra-nonshared-cflags): Set variable.
11682 * Makeconfig (CFLAGS-.oS): Use it.
11683 * manual/install.texi (Configuring and compiling): Document
11684 --with-nonshared-cflags.
11685 * configure: Regenerate.
11686 * INSTALL: Likewise.
11688 2018-08-16 Florian Weimer <fweimer@redhat.com>
11690 * Makeconfig (ASFLAGS): Always append required assembler flags.
11692 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
11694 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
11695 (malloc_consolidate): Likewise.
11697 2018-08-16 Pochang Chen <johnchen902@gmail.com>
11699 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
11701 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
11703 * benchtests/bench-strlen.c (do_test): Allocate buffers before
11706 * benchtests/bench-strlen.c: Print performance numbers in json.
11708 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11710 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11711 (sysdep_routines): Build strcmp-power9 and strncmp-power9
11712 only for little endian.
11713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11714 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
11715 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
11716 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
11717 Add check for little endian.
11718 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11719 (__strcmp_power9): Add check for little endian.
11720 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
11721 Add check for little endian.
11722 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11723 (__strncmp_power9): Add check for little endian.
11724 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
11725 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
11726 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
11727 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
11728 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
11730 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
11732 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
11733 [!STRLEN](STRLEN): Set to __strlen.
11734 * sysdeps/aarch64/multiarch/strlen.c: New file.
11735 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
11736 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
11737 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
11738 (__libc_ifunc_impl_list): Add strlen.
11739 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
11740 strlen_generic and strlen_asimd.
11742 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11744 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
11745 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
11746 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11748 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11750 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
11752 2018-08-14 Florian Weimer <fweimer@redhat.com>
11755 * include/stdio.h (__vfxprintf): Declare.
11756 * stdio-common/fxprintf.c (__vfxprintf): New function.
11757 (__fxprintf): Call it.
11758 * misc/err.c (convert_and_print): Remove function.
11759 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
11760 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
11761 * misc/Makefile (tests): Add tst-warn-wide.
11762 * misc/tst-warn-wide.c: New file.
11764 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
11765 Szabolcs Nagy <szabolcs.nagy@arm.com>
11767 * NEWS: Mention sinf, cosf, sincosf.
11768 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
11769 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
11770 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
11771 constants rather than including generic sincosf.h.
11772 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
11773 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
11774 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
11775 (reduced_cos): Remove.
11776 (sinf_poly): New function.
11777 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
11779 2018-08-14 Florian Weimer <fweimer@redhat.com>
11783 * nss/nss_files/files-alias.c (get_next_alias): During :include:
11784 processing, bail out if no room, and close the stream before
11786 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
11787 (tst-nss-files-alias-leak): Link with libdl.
11788 (tst-nss-files-alias-leak.out): Depend on nss_files.
11790 * nss/tst-nss-files-alias-leak.c: New file.
11792 2018-08-14 Florian Weimer <fweimer@redhat.com>
11794 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
11795 server_user, stat_user.
11797 2018-08-13 Joseph Myers <joseph@codesourcery.com>
11799 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11801 (io_pgetevents): New syscall.
11804 * manual/install.texi (Configuring and compiling): Do not list
11805 tools used for testing pretty printers here.
11806 (Tools for Compilation): List Python, PExpect and GDB here.
11807 Update descriptions of uses of Perl and Python.
11808 * INSTALL: Regenerate.
11810 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11813 2018-08-13 Florian Weimer <fweimer@redhat.com>
11815 * misc/error.c (error): Add missing va_end call.
11816 (error_at_line): Likewise.
11818 2018-08-13 Florian Weimer <fweimer@redhat.com>
11820 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
11822 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11824 * benchtests/scripts/benchout.schema.json (properties): Add
11827 * benchtests/bench-skeleton.c (main): Add duration and
11828 iterations attributes.
11830 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
11832 regex: Gnulib unibyte RRI uses bytes not chars
11833 Adjust the non-glibc code to agree with what Gawk needs for
11834 rational range interpretation (RRI) for regular expression ranges.
11835 In unibyte locales, Gawk wants ranges to use the underlying byte
11836 rather than the character code point. This change does not affect
11838 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
11839 In unibyte locales, use the byte value rather than
11840 running it through btowc.
11842 2018-08-10 Joseph Myers <joseph@codesourcery.com>
11844 * sysdeps/generic/math-tests-snan.h: New file.
11845 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
11846 (SNAN_TESTS_float): Do not define here.
11847 (SNAN_TESTS_double): Likewise.
11848 (SNAN_TESTS_long_double): Likewise.
11849 (SNAN_TESTS_float128): Likewise.
11850 * sysdeps/i386/fpu/math-tests-snan.h: New file.
11851 * sysdeps/i386/fpu/math-tests.h: Remove file.
11852 * sysdeps/ia64/math-tests-snan.h: New file.
11853 * sysdeps/ia64/math-tests.h: Remove file.
11854 * sysdeps/x86/math-tests.h: Likewise.
11855 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
11857 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11858 Szabolcs Nagy <szabolcs.nagy@arm.com>
11860 * math/Makefile: Add s_sincosf_data.c.
11861 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
11862 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
11863 (sincosf_poly): Likewise.
11864 (reduce_small): Likewise.
11865 (reduce_large): Likewise.
11866 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
11867 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
11868 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
11869 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
11871 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11872 Szabolcs Nagy <szabolcs.nagy@arm.com>
11874 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
11875 (converttoint): Use lround.
11876 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
11877 document the semantics when TOINT_INTRINSICS is set.
11878 (converttoint): Likewise.
11879 (TOINT_RINT): Remove.
11880 (TOINT_SHIFT): Remove.
11881 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
11884 2018-08-10 Florian Weimer <fweimer@redhat.com>
11887 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
11889 (__old_getdents64): Use getdents64. Convert entries without
11891 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
11892 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
11893 tst-readdir64-compat.
11895 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11897 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
11900 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11902 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
11903 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
11904 code to s390x-mcount.h and #include it.
11905 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
11906 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11909 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11911 * stdlib/Versions: Remove __fentry__.
11912 * sysdeps/i386/Versions: Add __fentry__.
11913 * sysdeps/x86_64/Versions: Add __fentry__.
11915 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11917 * sysdeps/s390/Makefile: Register the new tests.
11918 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
11919 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
11920 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
11921 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
11922 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
11923 * sysdeps/s390/tst-dl-runtime.c: New file.
11925 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11927 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11930 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11932 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11935 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11937 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11940 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11942 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11945 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11947 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11948 Use symbolic offsets for stack variables.
11950 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11952 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11953 Use symbolic offsets for stack variables.
11955 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11957 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11958 Use symbolic offsets for stack variables.
11960 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11962 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11963 Use symbolic offsets for stack variables.
11965 2018-08-09 Joseph Myers <joseph@codesourcery.com>
11967 * math/gen-libm-test.py: New file.
11968 * math/gen-libm-test.pl: Remove.
11969 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
11970 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
11972 ($(libm-test-c-noauto-obj)): Likewise.
11973 ($(libm-test-c-auto-obj)): Likewise.
11974 ($(libm-test-c-narrow-obj)): Likewise.
11975 (regen-ulps): Likewise.
11976 * math/README.libm-test: Update references to gen-libm-test.pl.
11977 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
11978 referencing gen-libm-test.pl.
11979 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
11980 * math/libm-test-support.c: Likewise.
11981 * math/libm-test-support.h: Likewise.
11982 * sysdeps/generic/libm-test-ulps: Likewise.
11984 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
11986 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
11989 2018-08-08 Joseph Myers <joseph@codesourcery.com>
11991 * math/libm-test-nextdown.inc (do_test): Move comment to ....
11992 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
11994 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
11996 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
11998 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
11999 __pthread_setspecific): Add hidden proto.
12000 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
12001 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
12003 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12005 * benchtests/bench-string.h (buf1_size, buf2_size): New
12007 (init_sizes): New function.
12008 (test_init): Use it.
12009 (alloc_buf, exit_error): New functions.
12010 (alloc_bufs): Use ALLOC_BUF.
12011 (realloc_bufs): Remove.
12012 * benchtests/bench-memcmp.c (do_test): Adjust.
12013 * benchtests/bench-memset-large.c (do_test): Likewise.
12014 * benchtests/bench-memset-walk.c (do_test): Likewise.
12015 * benchtests/bench-memset.c (do_test): Likewise.
12016 * benchtests/bench-strncmp.c (do_test): Likewise.
12018 2018-08-06 Andreas Schwab <schwab@suse.de>
12020 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
12021 of CONST_THREAD_AREA.
12023 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
12025 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
12026 (STATE_SAVE_MASK): Likewise.
12027 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
12028 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
12029 (STATE_SAVE_MASK): Likewise.
12030 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
12031 instead of <cpu-features.h>.
12033 2018-08-03 DJ Delorie <dj@redhat.com>
12035 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
12036 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
12038 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
12040 2018-08-03 Joseph Myers <joseph@codesourcery.com>
12042 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
12043 after TEST_* calls.
12044 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
12045 * math/libm-test-logb.inc (logb_test_data): Likewise.
12047 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
12049 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
12050 * string/strstr.c (AVAILABLE): Likewise.
12052 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12054 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
12056 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
12057 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
12058 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
12060 2018-08-03 Carlos O'Donell <carlos@redhat.com>
12062 * po/be.po: Update translation.
12064 * po/be.po: Update translation.
12066 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12068 * sysdeps/x86/cpu-features-offsets.sym
12069 (rtld_global_ro_offsetof): Removed.
12070 (CPU_FEATURES_SIZE): Likewise.
12071 (CPUID_OFFSET): Likewise.
12072 (CPUID_SIZE): Likewise.
12073 (CPUID_EAX_OFFSET): Likewise.
12074 (CPUID_EBX_OFFSET): Likewise.
12075 (CPUID_ECX_OFFSET): Likewise.
12076 (CPUID_EDX_OFFSET): Likewise.
12077 (FAMILY_OFFSET): Likewise.
12078 (MODEL_OFFSET): Likewise.
12079 (FEATURE_OFFSET): Likewise.
12080 (FEATURE_SIZ): Likewise.
12081 (COMMON_CPUID_INDEX_1): Likewise.
12082 (COMMON_CPUID_INDEX_7): Likewise.
12083 (FEATURE_INDEX_1): Likewise.
12084 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
12086 2018-08-02 Carlos O'Donell <carlos@redhat.com>
12088 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
12089 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
12090 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
12091 (install-locales): Depend on install-locale-archive.
12092 (install-locale-archive): Define.
12093 (install-locale-files): Define.
12094 (build-one-locale): Define macro.
12095 * manual/install.texi (Running make install): Document.
12096 * manual/INSTALL: Regenerate.
12098 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
12100 * benchtests/scripts/compare_strings.py: Import traceback.
12101 (parse_file): Pretty-print error.
12103 * NEWS: Mention the change.
12104 * elf/dl-tunables.list: Rename tune namespace to cpu.
12105 * sysdeps/powerpc/dl-tunables.list: Likewise.
12106 * sysdeps/x86/dl-tunables.list: Likewise.
12107 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
12109 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
12110 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
12111 * manual/README.tunables: Likewise.
12112 * manual/tunables.texi: Likewise.
12113 * sysdeps/powerpc/cpu-features.c: Likewise.
12114 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
12115 (init_cpu_features): Likewise.
12116 * sysdeps/x86/cpu-features.c: Likewise.
12117 * sysdeps/x86/cpu-features.h: Likewise.
12118 * sysdeps/x86/cpu-tunables.c: Likewise.
12119 * sysdeps/x86_64/Makefile: Likewise.
12120 * sysdeps/x86/dl-cet.c: Likewise.
12122 2018-08-02 Joseph Myers <joseph@codesourcery.com>
12125 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
12126 [__mips_hard_float].
12127 (FE_UNDERFLOW): Likewise.
12128 (FE_OVERFLOW): Likewise.
12129 (FE_DIVBYZERO): Likewise.
12130 (FE_INVALID): Likewise.
12131 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
12132 (FE_TOWARDZERO): Define only if [__mips_hard_float].
12133 (FE_UPWARD): Likewise.
12134 (FE_DOWNWARD): Likewise.
12135 (__FE_UNDEFINED): Define if [!__mips_hard_float]
12136 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
12137 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
12138 [__mips_hard_float].
12139 (FP_ROUNDMODE): Likewise.
12140 (FP_RND_NEAREST): Likewise.
12141 (FP_RND_ZERO): Likewise.
12142 (FP_RND_PINF): Likewise.
12143 (FP_RND_MINF): Likewise.
12144 (FP_EX_INVALID): Likewise.
12145 (FP_EX_OVERFLOW): Likewise.
12146 (FP_EX_UNDERFLOW): Likewise.
12147 (FP_EX_DIVZERO): Likewise.
12148 (FP_EX_INEXACT): Likewise.
12149 (FP_INIT_ROUNDMODE): Likewise.
12150 * sysdeps/mips/nofpu/fesetenv.c: New file.
12151 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
12153 2018-08-01 Joseph Myers <joseph@codesourcery.com>
12155 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
12156 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
12157 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
12158 conditional on [FE_UPWARD].
12160 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
12162 regex: fix memory leak in Gnulib
12163 Problem and fix reported by Assaf Gordon in:
12164 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
12165 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
12166 range_ends members too, as they are defined in 'struct
12167 re_charset_t' even if not _LIBC. This affects only Gnulib.
12169 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
12171 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
12173 (get_common_indices): This.
12174 (init_cpu_features): Updated.
12176 2018-08-01 Joseph Myers <joseph@codesourcery.com>
12178 * sysdeps/generic/math-tests-snan-payload.h: New file.
12179 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
12180 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
12181 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
12182 * sysdeps/generic/math-tests.h: Include
12183 <math-tests-snan-payload.h>.
12184 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12185 * sysdeps/hppa/math-tests.h: Remove file.
12186 * sysdeps/mips/math-tests.h [!__mips_nan2008]
12187 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12188 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
12191 * sysdeps/generic/math-tests-snan-cast.h: New file.
12192 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
12193 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
12194 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
12195 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
12197 2018-08-01 Carlos O'Donel <carlos@redhat.com>
12199 * version.h (RELEASE): Set to "development".
12200 (VERSION): Set to "2.28.9000".
12201 * NEWS (2.29): New section.
12203 * version.h (RELEASE): Set to "stable".
12204 (VERSION): Set to "2.28".
12205 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
12206 * NEWS: Add the list of bugs fixed in 2.28.
12208 * po/ca.po: Update to latest version.
12209 * po/cs.po: Likewise
12210 * po/da.po: Likewise
12211 * po/el.po: Likewise
12212 * po/eo.po: Likewise
12213 * po/es.po: Likewise
12214 * po/fi.po: Likewise
12215 * po/fr.po: Likewise
12216 * po/gl.po: Likewise
12217 * po/hu.po: Likewise
12218 * po/ia.po: Likewise
12219 * po/id.po: Likewise
12220 * po/it.po: Likewise
12221 * po/ja.po: Likewise
12222 * po/ko.po: Likewise
12223 * po/lt.po: Likewise
12224 * po/nb.po: Likewise
12225 * po/nl.po: Likewise
12226 * po/pt_BR.po: Likewise
12227 * po/ru.po: Likewise
12228 * po/rw.po: Likewise
12229 * po/sk.po: Likewise
12230 * po/sl.po: Likewise
12231 * po/tr.po: Likewise
12232 * po/zh_CN.po: Likewise
12233 * po/zh_TW.po: Likewise
12235 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12237 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
12239 (init): ... before initializing libpthread.
12241 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
12242 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
12243 (__mach_setup_tls): ... new function.
12244 (mach_setup_tls): New alias.
12245 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
12246 __mach_setup_thread.
12247 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
12248 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
12249 * mach/Versions [libc] (mach_setup_tls): Add symbol.
12250 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
12252 2018-07-31 Carlos O'Donell <carlos@redhat.com>
12254 * manual/install.texi: Update versions.
12255 * INSTALL: Regenerate.
12257 * manual/contrib.texi (Contributors): Update contributions.
12259 2018-07-31 Carlos O'Donell <carlos@redhat.com>
12261 * po/be.po: Update translations.
12263 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12265 * sysdeps/sh/libm-test-ulps: Update.
12267 2018-07-30 Carlos O'Donell <carlos@redhat.com>
12269 * po/bg.po: Update translations.
12270 * po/de.po: Likewise.
12271 * po/hr.po: Likewise.
12272 * po/pt_BR.po: Likewise.
12273 * po/sv.po: Likewise.
12274 * po/vi.po: Likewise.
12276 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12279 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12280 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
12281 (CFLAGS-tst-cet-property-1.o): New.
12282 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
12283 ($(objpfx)tst-cet-property-2): Likewise.
12284 ($(objpfx)tst-cet-property-2.out): Likewise.
12285 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
12286 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
12287 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
12288 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
12289 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
12291 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12294 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
12296 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12298 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
12299 __sbrk): Do not set attribute_hidden.
12300 * sysdeps/mach/hurd/not-errno.h: New file.
12301 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12302 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
12304 2018-07-27 Carlos O'Donell <carlos@redhat.com>
12306 * po/uk.po: Update translations.
12307 * po/cs.po: Likewise.
12308 * po/pl.po: Likewise.
12310 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
12312 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
12313 parse beyond the note end.
12315 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12317 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
12318 kernel does not support OFD locks.
12319 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
12321 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12323 * sysdeps/mach/hurd/Versions (libc): Make __access and
12324 __access_noerrno external so they can override the ld symbols.
12325 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
12326 __writev, __open64, __access_noerrno extern so they can be overrided.
12327 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
12328 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12330 2018-07-26 Carlos O'Donell <carlos@redhat.com>
12332 * po/libc.pot: Regenerate.
12334 2018-07-26 Joseph Myers <joseph@codesourcery.com>
12336 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
12338 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12341 * sysdeps/x86/cpu-features.c (get_extended_indices): New
12343 (init_cpu_features): Call get_extended_indices for both Intel
12345 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
12346 Remove "for AMD" comment.
12348 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12351 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
12352 COMMON_CPUID_INDEX_80000001.
12354 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
12356 * string/tst-xbzero-opt.c (use_test_buffer): New function.
12357 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
12359 2018-07-26 Florian Weimer <fweimer@redhat.com>
12361 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
12362 aliases for symbols not in the implementation namespace.
12364 2018-07-25 Carlos O'Donell <carlos@redhat.com>
12367 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
12368 lowercase in LATIN script.
12369 * localedata/Makefile (test-input): Add en_US.UTF-8.
12370 * localedata/en_US.UTF-8.in: New file.
12371 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
12372 and restore old tests.
12373 * posix/tst-regexloc.c (do_test): Add back range expression test.
12375 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12377 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
12379 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12381 * nptl/threads.h: Move to ...
12382 * sysdeps/nptl/threads.h: ... here.
12383 * sysdeps/hurd/stdc-predef.h: New file.
12385 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12387 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12388 tst-cet-setcontext-1 if CET is enabled.
12389 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
12390 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
12392 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12394 * include/threads.h: Move to ...
12395 * sysdeps/nptl/threads.h: ... here.
12396 * sysdeps/htl/threads.h: New file.
12397 * conform/Makefile (linknamespace-libs-ISO11): Use
12398 static-thread-library instead of linking libpthread.
12399 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
12401 2018-07-25 Florian Weimer <fweimer@redhat.com>
12403 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
12404 nanoseconds into seconds.
12405 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
12406 (do_test): Likewise.
12407 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
12408 (do_test): Likewise. Avoid nanosecond overflow and spurious
12409 timeouts due to system load.
12410 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
12411 (child_wait): Increment it.
12412 (do_test): Wait as long as necessary until all expected threads
12415 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
12416 H.J. Lu <hongjiu.lu@intel.com>
12418 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
12420 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
12421 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
12422 (__push___start_context): New.
12423 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
12425 (__getcontext): Record the current shadow stack base. Save the
12426 caller's shadow stack pointer and base.
12427 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
12428 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
12429 (__push___start_context): New prototype.
12430 (__makecontext): Call __push___start_context to allocate a new
12431 shadow stack, push __start_context onto the new stack as well
12432 as the new shadow stack.
12433 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
12435 (__setcontext): Restore the target shadow stack.
12436 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
12438 (__swapcontext): Record the current shadow stack base. Save
12439 the caller's shadow stack pointer and base. Restore the target
12441 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12442 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
12443 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
12445 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12447 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
12448 tst-setcontext8 and tst-setcontext9.
12449 * stdlib/tst-setcontext6.c: New file.
12450 * stdlib/tst-setcontext7.c: Likewise.
12451 * stdlib/tst-setcontext8.c: Likewise.
12452 * stdlib/tst-setcontext9.c: Likewise.
12454 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12456 * stdlib/Makefile ((tests): Add tst-setcontext5.
12457 * stdlib/tst-setcontext5.c: New file.
12459 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12461 * stdlib/Makefile (tests): Add tst-setcontext4.
12462 * stdlib/tst-setcontext4.c: New file.
12464 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12466 * stdlib/Makefile (tests): Add tst-swapcontext1.
12467 * stdlib/tst-swapcontext1.c: New test.
12469 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12471 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
12472 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
12473 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
12474 and tst-cet-legacy-4c.
12475 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
12476 and tst-cet-legacy-mod-4.
12477 (CFLAGS-tst-cet-legacy-2.c): New.
12478 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
12479 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
12480 (CFLAGS-tst-cet-legacy-3.c): Likewise.
12481 (CFLAGS-tst-cet-legacy-4.c): Likewise.
12482 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
12483 ($(objpfx)tst-cet-legacy-1): Likewise.
12484 ($(objpfx)tst-cet-legacy-2): Likewise.
12485 ($(objpfx)tst-cet-legacy-2.out): Likewise.
12486 ($(objpfx)tst-cet-legacy-2a): Likewise.
12487 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
12488 ($(objpfx)tst-cet-legacy-4): Likewise.
12489 ($(objpfx)tst-cet-legacy-4.out): Likewise.
12490 ($(objpfx)tst-cet-legacy-4a): Likewise.
12491 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
12492 (tst-cet-legacy-4a-ENV): Likewise.
12493 ($(objpfx)tst-cet-legacy-4b): Likewise.
12494 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
12495 (tst-cet-legacy-4b-ENV): Likewise.
12496 ($(objpfx)tst-cet-legacy-4c): Likewise.
12497 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
12498 (tst-cet-legacy-4c-ENV): Likewise.
12499 * sysdeps/x86/tst-cet-legacy-1.c: New file.
12500 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
12501 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
12502 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
12503 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
12504 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
12505 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
12506 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
12507 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
12508 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
12509 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
12511 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12513 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12514 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12516 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12517 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12520 2018-07-25 Andreas Schwab <schwab@suse.de>
12523 * locale/weightwc.h (findidx): Handle the case where usrc is a
12524 prefix of cp but one character too short.
12526 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12528 * NEWS: Add ISO C threads addition.
12530 2018-07-24 Florian Weimer <fweimer@redhat.com>
12532 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12533 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
12534 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
12537 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12539 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
12540 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
12541 <sys/prctl.h> and <asm/prctl.h>.
12542 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
12543 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
12545 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
12546 ARCH_CET_LEGACY_BITMAP.
12547 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
12548 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
12549 * sysdeps/x86/libc-start.c: Include <startup.h>.
12551 2018-07-24 Florian Weimer <fweimer@redhat.com>
12553 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
12554 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
12556 2018-07-24 Rical Jasan <rj@2c3t.io>
12557 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12558 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12561 * manual/debug.texi: Update adjacent chapter name.
12562 * manual/probes.texi: Likewise.
12563 * manual/threads.texi (ISO C Threads): New section.
12564 (POSIX Threads): Convert to a section.
12566 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12567 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12570 * nptl/Makefile (tests): Add new test files.
12571 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
12572 * nptl/tst-cnd-basic.c: Likewise.
12573 * nptl/tst-cnd-broadcast.c: Likewise.
12574 * nptl/tst-cnd-timedwait.c: Likewise.
12575 * nptl/tst-mtx-basic.c: Likewise.
12576 * nptl/tst-mtx-recursive.c: Likewise.
12577 * nptl/tst-mtx-timedlock.c: Likewise.
12578 * nptl/tst-mtx-trylock.c: Likewise.
12579 * nptl/tst-thrd-basic.c: Likewise.
12580 * nptl/tst-thrd-detach.c: Likewise.
12581 * nptl/tst-thrd-sleep.c: Likewise.
12582 * nptl/tst-tss-basic.c: Likewise.
12584 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12587 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12588 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
12590 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12591 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12592 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12593 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12594 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12595 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12596 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12597 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12598 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12599 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12600 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12601 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
12608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12609 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12610 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12611 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12612 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12613 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12614 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12615 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12616 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12617 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
12618 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
12619 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
12620 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
12621 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
12623 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12624 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12625 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12626 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12627 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12628 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12629 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12630 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12631 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12632 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12633 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12634 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12641 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12642 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12643 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12644 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12645 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12646 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12647 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12648 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12651 * conform/data/threads.h-data (thread_local): New macro.
12652 (TSS_DTOR_ITERATIONS): Likewise.
12654 (tss_dtor_t): Likewise.
12655 (tss_create): New function.
12656 (tss_get): Likewise.
12657 (tss_set): Likewise.
12658 (tss_delete): Likewise.
12659 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
12660 tss_get, and tss_set objects.
12661 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12662 * nptl/tss_create.c: New file.
12663 * nptl/tss_delete.c: Likewise.
12664 * nptl/tss_get.c: Likewise.
12665 * nptl/tss_set.c: Likewise.
12666 * sysdeps/nptl/threads.h (thread_local): New define.
12667 (TSS_DTOR_ITERATIONS): Likewise.
12668 (tss_t): New typedef.
12669 (tss_dtor_t): Likewise.
12670 (tss_create): New prototype.
12671 (tss_get): Likewise.
12672 (tss_set): Likewise.
12673 (tss_delete): Likewise.
12676 * conform/data/threads.h-data (cnd_t): New type.
12677 (cnd_init): New function.
12678 (cnd_signal): Likewise.
12679 (cnd_broadcast): Likewise.
12680 (cnd_wait): Likewise.
12681 (cnd_timedwait): Likewise.
12682 (cnd_destroy): Likewise.
12683 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
12684 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
12686 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12687 * nptl/cnd_broadcast.c: New file.
12688 * nptl/cnd_destroy.c: Likewise.
12689 * nptl/cnd_init.c: Likewise.
12690 * nptl/cnd_signal.c: Likewise.
12691 * nptl/cnd_timedwait.c: Likewise.
12692 * nptl/cnd_wait.c: Likewise.
12693 * sysdeps/nptl/threads.h (cnd_t): New type.
12694 (cnd_init): New prototype.
12695 (cnd_signa): Likewise.
12696 (cnd_broadcast): Likewise.
12697 (cnd_wait): Likewise.
12698 (cnd_timedwait): Likewise.
12699 (cnd_destroy): Likewise.
12702 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
12703 (once_flag): New type.
12704 (call_once): New function.
12705 * nptl/Makefile (libpthread-routines): Add call_once object.
12706 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
12707 * nptl/call_once.c: New file.
12708 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
12709 (once_flag): New type.
12710 (call_once): New prototype.
12713 * conform/data/threads.h-data (mtx_plain): New constant.
12714 (mtx_recursive): Likewise.
12715 (mtx_timed): Likewise.
12717 (mtx_init): New function.
12718 (mtx_lock): Likewise.
12719 (mtx_timedlock): Likewise.
12720 (mtx_trylock): Likewise.
12721 (mtx_unlock): Likewise.
12722 (mtx_destroy): Likewise.
12723 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
12724 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
12725 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
12726 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
12727 * nptl/mtx_destroy.c: New file.
12728 * nptl/mtx_init.c: Likewise.
12729 * nptl/mtx_lock.c: Likewise.
12730 * nptl/mtx_timedlock.c: Likewise.
12731 * nptl/mtx_trylock.c: Likewise.
12732 * nptl/mtx_unlock.c: Likewise.
12733 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
12734 (mtx_recursive): Likewise.
12735 (mtx_timed): Likewise.
12737 (mtx_init): New prototype.
12738 (mtx_lock): Likewise.
12739 (mtx_timedlock): Likewise.
12740 (mtx_trylock): Likewise.
12741 (mtx_unlock): Likewise.
12742 (mtx_destroy): Likewise.
12745 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
12746 (linknamespace-libs-ISO11): Add libpthread.a.
12747 * conform/data/threads.h-data: New file: add C11 thrd_* types and
12749 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
12750 * nptl/Makefile (headers): Add threads.h.
12751 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
12752 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
12754 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
12755 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
12756 thrd_join, thrd_sleep, and thrd_yield symbols.
12757 * nptl/descr.h (struct pthread): Add c11 field.
12758 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
12759 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
12760 routine with expected function prototype.
12761 (__pthread_create_2_1): Add C11 threads check based on attribute
12763 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
12764 * nptl/thrd_create.c: New file.
12765 * nptl/thrd_current.c: Likewise.
12766 * nptl/thrd_detach.c: Likewise.
12767 * nptl/thrd_equal.c: Likewise.
12768 * nptl/thrd_exit.c: Likewise.
12769 * nptl/thrd_join.c: Likewise.
12770 * nptl/thrd_priv.h: Likewise.
12771 * nptl/thrd_sleep.c: Likewise.
12772 * nptl/thrd_yield.c: Likewise.
12773 * include/threads.h: Likewise.
12775 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12777 * bits/indirect-return.h: New file.
12778 * misc/sys/cdefs.h (__glibc_has_attribute): New.
12779 * sysdeps/x86/bits/indirect-return.h: Likewise.
12780 * stdlib/Makefile (headers): Add bits/indirect-return.h.
12781 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
12782 (swapcontext): Add __INDIRECT_RETURN.
12783 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
12784 (prepare_test_buffer): Use it.
12786 2018-07-24 Andreas Schwab <schwab@suse.de>
12789 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
12790 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
12792 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12794 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
12795 Redefine if shadow stack is enabled.
12796 (SYSCALL_ERROR_LABEL): Likewise.
12797 (__vfork): Pop shadow stack and jump back to to caller directly
12798 when shadow stack is in use.
12799 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
12800 Redefine if shadow stack is enabled.
12801 (SYSCALL_ERROR_LABEL): Likewise.
12802 (__vfork): Pop shadow stack and jump back to to caller directly
12803 when shadow stack is in use.
12805 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12807 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
12810 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
12813 2018-07-20 Joseph Myers <joseph@codesourcery.com>
12815 * scripts/build-many-glibcs.py (Context.checkout): Default
12816 binutils version to 2.31 branch.
12818 2018-07-20 Zong Li <zong@andestech.com>
12820 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
12821 URL of gcc's tarball.
12823 2018-07-20 Florian Weimer <fweimer@redhat.com>
12826 * posix/regcomp.c (build_equiv_class): When comparing weights, do
12827 not compare an extra byte after the end of the weights.
12829 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12831 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
12833 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
12835 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
12836 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
12837 * scripts/check-execstack.awk: Consider `xfail' variable containing a
12838 list of libraries whose stack executability is expected.
12839 * elf/Makefile ($(objpfx)check-execstack.out): Pass
12840 $(check-execstack-xfail) to check-execstack.awk through `xfail'
12842 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
12843 libc.so libpthread.so.
12845 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
12847 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
12849 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
12851 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
12853 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
12855 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12857 * benchtests/scripts/compare_bench.py (__main__): use the argparse
12858 library to improve command line parsing.
12859 (__main__): make schema file as optional parameter (--schema),
12860 defaulting to benchtests/scripts/benchout.schema.json.
12861 (main): move out of the parsing stuff to __main_ and leave it
12862 only as caller of main comparison functions.
12864 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
12866 * NEWS: Add a note for Intel CET status.
12867 * manual/install.texi: Likewise.
12868 * INSTALL: Regenerated.
12870 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
12873 * localedata/locales/oc_FR (mon): Rename to...
12874 (alt_mon): This, then update October (typo fix).
12875 (mon): New content (genitive case, month names preceded by
12879 * localedata/locales/oc_FR (abday): Update all items.
12880 (day): Update Wednesday and Saturday (typo fixes).
12881 (abmon): Update all items, except May.
12882 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
12883 (LC_IDENTIFICATION): Bump the revision number and date.
12884 Keep the "category" entries in alphabetic order.
12885 (LC_ADDRESS): Remove no longer needed comment.
12886 (LC_COLLATE): Use “copy "ca_ES"”.
12887 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
12890 2018-07-18 Joseph Myers <joseph@codesourcery.com>
12892 * grp/tst_fgetgrent.c: Include <unistd.h>.
12893 (main): Use mkstemp instead of tmpnam.
12894 * io/test-utime.c (main): Likewise.
12895 * posix/annexc.c (macrofile): Change to modifiable array.
12896 (main): Remove macrofile here.
12897 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12899 (check_header): Do not remove macrofile here.
12900 * posix/bug-getopt1.c: Include <stdlib.h>.
12901 (do_test): Use mkstemp instead of tmpnam.
12902 * posix/bug-getopt2.c: Include <stdlib.h>.
12903 (do_test): Use mkstemp instead of tmpnam.
12904 * posix/bug-getopt3.c: Include <stdlib.h>.
12905 (do_test): Use mkstemp instead of tmpnam.
12906 * posix/bug-getopt4.c: Include <stdlib.h>.
12907 (do_test): Use mkstemp instead of tmpnam.
12908 * posix/bug-getopt5.c: Include <stdlib.h>.
12909 (do_test): Use mkstemp instead of tmpnam.
12910 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
12911 (main): Use mkstemp instead of tmpnam.
12912 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
12913 (main): Use mkstemp instead of tmpnam.
12914 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
12915 (main): use mkstemp instead of tmpnam.
12916 * stdlib/isomac.c (macrofile): Change to modifiable array.
12917 (main): Remove macrofile here.
12918 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12920 (check_header): Do not remove macrofile here.
12922 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12924 * manual/tunables.texi: Document glibc.tune.x86_ibt and
12925 glibc.tune.x86_shstk.
12927 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12929 * NEWS: Mention --enable-cet.
12930 * manual/install.texi: Document --enable-cet.
12931 * INSTALL: Regenerated.
12933 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12935 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
12936 Add _CET_NOTRACK before indirect jump to jump table.
12938 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12940 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
12941 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12944 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12946 * sysdeps/i386/i686/multiarch/strcat-sse2.S
12947 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12950 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12952 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
12953 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12956 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12958 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
12959 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12962 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12964 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
12965 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12967 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
12969 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12971 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
12972 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12975 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12977 * sysdeps/i386/i686/multiarch/memset-sse2.S
12978 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12981 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12983 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
12984 indirect jump to jump table.
12986 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12988 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
12989 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12991 (MEMCPY): Likewise.
12993 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12995 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
12996 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12998 (MEMCPY): Likewise.
13000 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13002 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13003 _CET_NOTRACK before indirect jump to jump table.
13005 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13007 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
13008 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13011 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13013 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
13014 indirect jump to jump table.
13016 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
13019 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
13020 (LOCALES): Likewise.
13021 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
13022 * localedata/locales/sah_RU: New file.
13023 * localedata/sah_RU.UTF-8.in: New file.
13025 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13027 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
13029 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13030 _CET_ENDBR to indirect jump targets and adjust jump destination
13032 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
13034 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13035 _CET_ENDBR to indirect jump targets and adjust jump destination
13037 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
13039 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
13040 _CET_ENDBR to indirect jump targets and adjust jump destination
13043 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13045 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13048 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13050 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
13052 (_dl_tlsdesc_undefweak): Likewise.
13053 (_dl_tlsdesc_dynamic): Likewise.
13054 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
13055 (_dl_tlsdesc_resolve_rel): Likewise.
13056 (_dl_tlsdesc_resolve_rela): Likewise.
13057 (_dl_tlsdesc_resolve_hold): Likewise.
13058 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
13059 (_dl_tlsdesc_undefweak): Likewise.
13060 (_dl_tlsdesc_dynamic): Likewise.
13061 (_dl_tlsdesc_resolve_rela): Likewise.
13062 (_dl_tlsdesc_resolve_hold): Likewise.
13064 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13066 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
13068 * sysdeps/x86_64/crti.S (_init): Likewise.
13071 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
13074 * localedata/locales/os_RU (mon): Rename to...
13076 (mon): Import from CLDR (genitive case).
13078 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13080 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
13081 cet-tunables.h> when CET is enabled.
13083 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
13086 * configure.ac: Add --enable-cet.
13087 * configure: Regenerated.
13088 * elf/Makefille (all-built-dso): Add a comment.
13089 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
13090 Include <dl-prop.h>.
13091 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
13093 * elf/dl-open.c: Include <dl-prop.h>.
13094 (dl_open_worker): Call _dl_open_check.
13095 * elf/rtld.c: Include <dl-prop.h>.
13096 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
13098 * sysdeps/generic/dl-prop.h: New file.
13099 * sysdeps/i386/dl-cet.c: Likewise.
13100 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
13101 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
13102 * sysdeps/x86/cet-tunables.h: Likewise.
13103 * sysdeps/x86/check-cet.awk: Likewise.
13104 * sysdeps/x86/configure: Likewise.
13105 * sysdeps/x86/configure.ac: Likewise.
13106 * sysdeps/x86/dl-cet.c: Likewise.
13107 * sysdeps/x86/dl-procruntime.c: Likewise.
13108 * sysdeps/x86/dl-prop.h: Likewise.
13109 * sysdeps/x86/libc-start.h: Likewise.
13110 * sysdeps/x86/link_map.h: Likewise.
13111 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
13113 (_dl_runtime_profile): Likewise.
13114 (_dl_runtime_resolve_shstk): New.
13115 (_dl_runtime_profile_shstk): Likewise.
13116 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
13118 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
13119 (CFLAGS-.os): Likewise.
13120 (CFLAGS-.op): Likewise.
13121 (CFLAGS-.oS): Likewise.
13122 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
13124 (tests-special): Add $(objpfx)check-cet.out.
13125 (cet-built-dso): New.
13126 (+$(cet-built-dso:=.note)): Likewise.
13127 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
13128 ($(objpfx)check-cet.out): New.
13129 (generated): Add check-cet.out.
13130 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
13132 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
13133 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13134 (init_cpu_features): Call get_cet_status to check CET status
13135 and update dl_x86_feature_1 with CET status. Call
13136 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
13137 (set_x86_shstk). Disable and lock CET in libc.a.
13138 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
13139 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
13140 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13141 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
13142 (_CET_ENDBR): Define if not defined.
13143 (ENTRY): Add _CET_ENDBR.
13144 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
13146 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
13148 (_dl_runtime_profile): Likewise.
13150 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
13153 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
13154 restore r2 on longjmp.
13155 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
13157 Added rules to build test tst-setjmp-bug21895-static.
13158 Added module setjmp-bug21895 and rules to build a shared object from it.
13159 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
13160 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
13162 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
13164 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
13165 * benchtests/bench-strstr.c: Likewise.
13166 * string/memmem.c (FASTSEARCH): Define.
13167 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
13168 Add support for FASTSEARCH.
13169 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
13170 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
13171 (FASTSEARCH): Define.
13172 * string/test-strcasestr.c: Rename __strnlen to strnlen.
13173 * string/test-strstr.c: Likewise.
13175 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
13177 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
13178 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
13180 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
13181 H.J. Lu <hongjiu.lu@intel.com>
13183 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
13184 (__longjmp): Restore shadow stack pointer if shadow stack is
13185 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13186 isn't defined for __longjmp_cancel.
13187 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
13188 (_setjmp): Save shadow stack pointer if shadow stack is enabled
13189 and SHADOW_STACK_POINTER_OFFSET is defined.
13190 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
13191 (setjmp): Save shadow stack pointer if shadow stack is enabled
13192 and SHADOW_STACK_POINTER_OFFSET is defined.
13193 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
13194 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13195 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13196 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
13198 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13199 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13200 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
13201 Remove jmp_buf-ssp.sym.
13202 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13204 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13205 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13206 * sysdeps/x86/Makefile (gen-as-const-headers): Add
13208 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
13209 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
13210 (__longjmp): Restore shadow stack pointer if shadow stack is
13211 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13212 isn't defined for __longjmp_cancel.
13213 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
13214 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13215 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13217 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
13220 * nptl/pthread_create.c: Include <tls-setup.h>.
13221 (__pthread_create_2_1): Call tls_setup_tcbhead.
13222 * sysdeps/generic/tls-setup.h: New file.
13223 * sysdeps/x86/nptl/tls-setup.h: Likewise.
13224 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13225 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
13227 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
13229 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13230 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
13231 (X86_FEATURE_1_SHSTK): Likewise.
13232 (CET_ENABLED): Likewise.
13233 (IBT_ENABLED): Likewise.
13234 (SHSTK_ENABLED): Likewise.
13236 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
13239 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
13240 (LOCALES): Likewise.
13241 * localedata/dsb_DE.UTF-8.in: New file.
13242 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
13244 2018-07-12 Florian Weimer <fweimer@redhat.com>
13246 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
13247 __mprotect, not mprotect.
13249 2018-07-11 Florian Weimer <fweimer@redhat.com>
13251 * io/Makefile (headers): Add bits/statx.h.
13253 2018-07-10 Mike FABIAN <mfabian@redhat.com>
13255 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
13256 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
13258 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
13259 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
13262 2018-07-10 Florian Weimer <fweimer@redhat.com>
13264 * io/Makefile (routines): Add statx.
13265 (tests-internal): Add tst-statx.
13266 * io/Versions (GLIBC_2.28): Export statx.
13267 * io/bits/statx.h: New file.
13268 * io/sys/stat.h [__USE_GNU]: Include it.
13269 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
13270 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
13272 * io/statx.c: New file.
13273 * io/statx_generic.: Likewise.
13274 * io/tst-statx.: Likewise.
13275 * include/bits/statx.h: Likewise.
13276 * sysdeps/unix/sysv/linux/kernel-features.h
13277 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
13278 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13279 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
13280 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
13282 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13283 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
13284 * sysdeps/unix/sysv/linux/statx.c: New file.
13285 * manual/filesys.texi: Note that statx is undocumented.
13286 * sysdeps/**/libc*.abilist: Update.
13288 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13290 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
13291 a kernel issue which lead to test failure in some cases.
13293 2018-07-10 Florian Weimer <fweimer@redhat.com>
13296 * posix/regexec.c (check_node_accept_bytes): When comparing
13297 weights, do not compare an extra byte after the end of the
13300 2018-07-10 Florian Weimer <fweimer@redhat.com>
13302 * libio/readline.c: Fix copyright year.
13303 * libio/tst-readline.c Likewise.
13304 * nss/tst-nss-files-hosts-getent.c: Likewise.
13306 2018-07-06 Florian Weimer <fweimer@redhat.com>
13309 * nss/nss_files/files-XXX.c (internal_getent): Use
13310 __libc_readline_unlocked. Seek back to the start of the line if
13311 parsing failes with ERANGE.
13312 (get_contents_ret, get_contents): Remove.
13313 * nss/tst-nss-files-hosts-getent.c: New file.
13314 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
13315 (tst-nss-files-hosts-getent): Link with -ldl.
13317 2018-07-06 Florian Weimer <fweimer@redhat.com>
13319 * include/stdio.h (__libc_readline_unlocked): Declare.
13320 (__ftello64, __fseeko64): Declare aliases.
13321 * libio/readline.c: New file.
13322 * libio/tst-readline.c: Likewise.
13323 (routines): Add readline.
13324 (tests-internal): Add tst-readlime.
13325 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
13326 __libc_readline_unlocked.
13327 * libio/fseeko.c (__fseeko): Rename from fseeko.
13328 (fseeko): Add alias.
13329 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
13330 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
13331 (fseeko64): Add alias.
13332 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
13333 * libio/ftello64.c (__ftello64): Rename from ftello64.
13334 (ftello64): Add alias.
13336 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13338 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
13341 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13343 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
13344 Use dl_hwcap without masking.
13345 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
13346 Remove HWCAP_CPUID.
13348 2018-07-06 Florian Weimer <fweimer@redhat.com>
13350 * conform/conformtest.pl (checknamespace): Escape literal braces
13351 in regular expressions.
13353 2018-07-06 Amit Pawar <amit.pawar@amd.com>
13355 * sysdeps/x86/cpu-features.c (get_common_indeces):
13356 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
13357 * sysdeps/x86/cpu-features.c (init_cpu_features):
13358 AVX_Fast_Unaligned_Load is disabled for Excavator core.
13360 2018-07-05 Florian Weimer <fweimer@redhat.com>
13362 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
13364 (CFLAGS-elf-init.oS): Likewise.
13366 2018-07-05 Florian Weimer <fweimer@redhat.com>
13367 Carlos O'Donell <carlos@redhat.com>
13369 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
13370 $(no-stack-protector). stack_chk_fail_local.c can be compiled
13371 with stack protector enabled because there is no risk of infinite
13374 2018-07-05 Maciej W. Rozycki <macro@mips.com>
13378 * libc-abis (ABSOLUTE): New ABI.
13379 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
13380 * NEWS: Mention the new ABI.
13382 2018-07-05 Florian Weimer <fweimer@redhat.com>
13385 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
13386 (RENAME_WHITEOUT): Define.
13387 [__USE_GNU] (renameat2): Declare.
13388 * stdio-common/Makefile (routines): Add renameat2.
13389 (tests): Add tst-renameat2.
13390 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
13391 * stdio-common/renameat2.c: New file.
13392 * stdio-common/tst-renameat2.c: Likewise.
13393 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
13394 * manual/filesys.texi (Temporary Files): Note that renameat2 is
13396 * sysdeps/unix/sysv/linux/kernel-features.h
13397 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
13398 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13399 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13400 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13401 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13402 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13403 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
13404 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13405 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
13406 * include/stdio.h (__renameat): Add alias for renameat.
13407 * stdio-common/renameat.c (__renameat): Rename from renameat.
13408 Add hidden definition and alias.
13409 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13410 * sysdeps/mach/hurd/renameat.c: Likewise.
13411 * sysdeps/**/libc*.abilist: Add renameat2.
13413 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13415 * posix/bug-regex33.c: Fix build after regex sync.
13417 2018-07-04 Carlos O'Donell <carlos@redhat.com>
13420 * localedata/tst-langinfo-setlocale.c: New file.
13421 * localedata/tst-langinfo-setlocale-static.c: New file.
13422 * localedata/tst-langinfo-newlocale.c: New file.
13423 * localedata/tst-langinfo-newlocale-static.c: New file.
13424 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
13425 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
13426 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
13427 (tests-static): Remove tst-langinfo-static. Add
13428 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
13429 (tests-special): Remove $(objpfx)tst-langinfo.out,
13430 $(objpfx)tst-langinfo-static.out. Add
13431 $(objpfx)tst-langinfo-setlocale.out,
13432 $(objpfx)tst-langinfo-newlocale.out,
13433 $(objpfx)tst-langinfo-setlocale-static.out,
13434 $(objpfx)tst-langinfo-newlocale-static.out.
13435 ($(objpfx)tst-langinfo.out): Remove.
13436 ($(objpfx)tst-langinfo-static.out): Remove.
13437 ($(objpfx)tst-langinfo-newlocale.out): New target.
13438 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
13439 (test-xfail-tst-langinfo-newlocale-static): Add.
13440 ($(objpfx)tst-langinfo-setlocale.out): New target.
13441 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
13442 * localedata/tst-langinfo.c: Call test_locale.
13443 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
13446 2018-07-04 Florian Weimer <fweimer@redhat.com>
13448 testrun.sh: Implement --tool=strace, --tool=valgrind
13449 * Makefile (testrun-script): Define variable.
13450 (testrun.sh): Use variable.
13451 * manual/install.texi (Tools for Compilation): make 4.0 or later
13453 * configure.ac: Check for make 4.0 or later.
13454 * INSTALL: Regenerate.
13455 * configure: Likewise.
13457 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13463 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
13464 * posix/PCRE.tests: Remove invalid test.
13465 * posix/bug-regex28.c: Fix expected values for used syntax.
13466 * posix/bug-regex37.c: New file.
13467 * posix/bug-regex38.c: Likewise.
13468 * posix/regcomp.c: Sync with gnulib.
13469 * posix/regex.c: Likewise.
13470 * posix/regex.h: Likewise.
13471 * posix/regex_internal.c: Likewise.
13472 * posix/regex_internal.h: Likewise.
13473 * posix/regexec.c: Likewise.
13475 2018-06-26 Mike FABIAN <mfabian@redhat.com>
13478 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
13479 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
13480 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
13481 * localedata/unicode-gen/PropList.txt: likewise.
13482 * localedata/unicode-gen/UnicodeData.txt: likewise.
13483 * localedata/charmaps/UTF-8: Regenerate.
13484 * localedata/locales/i18n_ctype: likewise.
13485 * localedata/locales/tr_TR: likewise.
13486 * localedata/locales/translit_circle: likewise.
13487 * localedata/locales/translit_cjk_compat: likewise.
13488 * localedata/locales/translit_combining: likewise.
13489 * localedata/locales/translit_compat: likewise.
13490 * localedata/locales/translit_font: likewise.
13491 * localedata/locales/translit_fraction: likewise.
13493 2018-07-03 Florian Weimer <fweimer@redhat.com>
13496 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
13497 * stdio-common/tst-printf.sh: Adjust expected output.
13498 * LICENSES: Update.
13500 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13502 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
13505 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13507 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
13508 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
13509 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
13510 * stdio-common/tst-printfsz-islongdouble.c: New file.
13511 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
13512 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
13513 [subdir == stdio-common] (routines): Add ieee128-printf_size.
13514 [subdir == stdio-common] (tests-internal): Add
13515 test-printf-size-ieee128, and test-printf-size-ibm128.
13516 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
13517 (CFLAGS-test-printf-size-ibm128.c): New variables.
13518 [subdir == stdio-common] (tests-special): Add
13519 $(objpfx)test-printf-size-ieee128.out and
13520 $(objpfx)test-printf-size-ibm128.out.
13521 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
13522 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
13523 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
13524 __printf_sizeieee128.
13525 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
13527 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
13529 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
13532 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13534 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
13535 (exp2f_inline): Likewise.
13536 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
13537 (__math_uflowf): Likewise.
13538 (__math_may_uflowf): Likewise.
13539 (__math_divzerof): Likewise.
13540 (__math_invalidf): Likewise.
13541 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
13542 (__math_oflowf): Likewise.
13543 (__math_uflowf): Likewise.
13544 (__math_may_uflowf): Likewise.
13545 (__math_divzerof): Likewise.
13546 (__math_invalidf): Likewise.
13548 2018-06-29 DJ Delorie <dj@redhat.com>
13549 Carlos O'Donell <carlos@redhat.com>
13552 * include/libc-symbols.h: Comment the freeres framework.
13553 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
13554 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
13555 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
13556 * dlfcn/dlerror.c: Include libc-symbols.h
13557 (__dlerror_main_freeres): New function.
13558 * dlfcn/dlfreeres.c: New file.
13559 * dlfcn/sdlfreeres.c: New file.
13560 * include/dlfcn.h: Declare __dlerror_main_freeres.
13561 * malloc/set-freeres.c: Declare __libdl_freeres, and
13562 __libpthread_freeres.
13563 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
13564 the releavant libraries are loaded.
13565 * malloc/thread-freeres.c: Add comments.
13566 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
13567 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
13568 * nptl/allocatestack.c (__nptl_free_stacks): New function.
13569 (__free_stacks): Rename to...
13570 (free_stacks): ...this. Mark static.
13571 (queue_stack): Call free_stacks.
13572 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
13573 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
13574 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
13575 ptr_freeres element from struct.
13576 (pthread_functions): Remove .ptr_freeres from struct initializer.
13577 [SHARED] (nptl_freeres): Remove.
13578 * nptl/nptlfreeres.c: New file.
13580 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
13581 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
13583 (__free_stacks): Rename to...
13584 (__nptl_stacks_freeres): ...this.
13585 (__shm_directory_freeres): Declare.
13586 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
13587 (__nptl_unwind_freeres): ...this.
13588 * resolv/res-close.c: Add comment.
13589 * resolv/resolv_conf.c: Include libc-symbols.h.
13590 * string/strerror_l.c: Include libc-symbols.h.
13591 * sunrpc/rpc_thread.c: Include libc-symbols.h.
13592 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
13593 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
13594 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
13596 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13598 * stdlib/tst-strfmon_l.c: Add tests for long double.
13600 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
13603 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
13604 * localedata/locales/dsb_DE: New file.
13606 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13609 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
13611 (alt_mon): New entry, import from CLDR (nominative case).
13613 2018-06-29 Sylvain Lesage <severo@rednegra.net>
13616 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
13618 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
13620 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13621 Use vector registers.
13623 * sysdeps/aarch64/multiarch/memmove_falkor.S
13624 (__memcpy_falkor): Use vector registers.
13626 2018-06-29 Martin Sebor <msebor@redhat.com>
13628 * manual/stdio.texi (Customizing Printf): Mention interaction
13629 with GCC built-ins.
13631 2018-06-29 Maciej W. Rozycki <macro@mips.com>
13634 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
13635 `st_value' is 0 if `st_shndx' is SHN_ABS.
13636 * elf/tst-absolute-zero.c: New file.
13637 * elf/tst-absolute-zero-lib.c: New file.
13638 * elf/tst-absolute-zero-lib.lds: New file.
13639 * elf/Makefile (tests): Add `tst-absolute-zero'.
13640 (modules-names): Add `tst-absolute-zero-lib'.
13641 (LDLIBS-tst-absolute-zero-lib.so): New variable.
13642 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
13643 ($(objpfx)tst-absolute-zero: New dependency.
13645 2018-06-29 Zack Weinberg <zackw@panix.com>
13647 * configure.ac: New command-line option --disable-crypt.
13648 Force --disable-nss-crypt when --disable-crypt is given, with a
13649 warning if it was explicitly enabled.
13650 * configure: Regenerate.
13651 * config.make.in: New boolean substitution variable $(build-crypt).
13652 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
13653 when $(build-crypt).
13654 * manual/install.texi: Document --disable-crypt.
13655 * INSTALL: Regenerate.
13657 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
13658 which is never set.
13659 * conform/Makefile: Only include libcrypt.a in
13660 linknamespace-libs-xsi and linknamespace-libs-XPG4
13661 when $(build-crypt).
13662 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
13663 USE_CRYPT to 1 when $(build-crypt).
13664 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
13665 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
13666 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
13668 2018-06-29 Zack Weinberg <zackw@panix.com>
13670 * crypt/crypt.h, posix/unistd.h: Update comments and
13671 prototypes for crypt and crypt_r.
13673 * manual/crypt.texi (Cryptographic Functions): New initial
13675 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
13676 (Unpredictable Bytes): Improve initial exposition. Clarify error
13677 behavior of getentropy and getrandom.
13678 * manual/examples/genpass.c: Generate a salt using getentropy
13679 instead of the current time. Use hash $5$ (SHA-2-256).
13680 * manual/examples/testpass.c: Demonstrate validation against
13681 hashes generated with three different one-way functions.
13683 * manual/intro.texi: crypt.texi does not need an overview
13686 * manual/nss.texi, manual/memory.texi, manual/socket.texi
13687 * manual/terminal.texi: Consistently refer to "passphrases"
13688 * instead of "passwords", and to the "user database" instead
13689 * of the "password database".
13690 * manual/users.texi: Similarly. Add notes about how actual
13691 passphrase hashes are now stored in the shadow database.
13692 Remove 20-year-old junk todo note.
13694 2018-06-29 Zack Weinberg <zackw@panix.com>
13696 * manual/crypt.texi: Use a normal top-level @node declaration.
13697 Move most of the introductory text to the 'crypt' section.
13698 Move the example programs below the @deftypefun for 'crypt_r'.
13699 Move the 'getpass' section...
13700 * manual/terminal.texi: ...here.
13702 2018-06-29 Zack Weinberg <zackw@panix.com>
13703 Florian Weimer <fweimer@redhat.com>
13705 * posix/unistd.h: Do not declare encrypt.
13706 (_XOPEN_CRYPT): Remove macro definition.
13707 (crypt): Declare only for _USE_MISC.
13708 * stdlib/stdlib.h: Do not declare setkey.
13709 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
13710 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
13712 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
13713 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
13714 into compat symbols. Don't define initial_perm if it's not
13716 * crypt/cert.c: Link explicitly with the expected versions for
13717 setkey and encrypt. If they are not available at all, mark
13718 the test as unsupported.
13720 * sunrpc/des_crypt.c: Unconditionally block linkage with
13721 cbc_crypt and ecb_crypt for new binaries.
13722 * sunrpc/des_soft.c: Unconditionally block linkage with
13723 des_setparity for new binaries.
13725 * manual/crypt.texi: Remove the entire "DES Encryption"
13726 section. Also remove the paragraph talking about FIPS 140-2
13727 from the introduction.
13728 * manual/string.texi (strfry, memfrob): Revise. Recommend use
13729 of libgcrypt for "real" encryption, not DES.
13730 * manual/conf.texi (Constants for Sysconf): Mention that
13731 _XOPEN_CRYPT is no longer impelemented.
13733 * conform/data/unistd.h-data: Remove crypt function declaration.
13735 2018-06-29 Florian Weimer <fweimer@redhat.com>
13738 * malloc/hooks.c: Update comments on restoring of dumped heaps.
13739 (disallow_malloc_check): Remove variable.
13740 (__malloc_check_init): Adjust.
13741 (malloc_set_state): Update comment.
13742 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
13745 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13748 * localedata/locales/ast_ES (mon): Rename to...
13750 (mon): Import from CLDR (genitive case).
13752 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
13753 Jakub Sitnicki <jkbs@redhat.com>
13756 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
13757 on NLM_F_DUMP_INTR.
13759 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
13761 * manual/llio.texi: Remove spurious space.
13763 2018-06-28 Florian Weimer <fweimer@redhat.com>
13766 * time/bits/types/struct_timespec.h: Change header inclusion guard to
13769 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13771 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
13772 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
13773 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
13774 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
13775 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
13776 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
13777 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
13779 2018-06-27 Maciej W. Rozycki <macro@mips.com>
13782 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
13783 Copy and null-terminate entries that are not terminated, in
13784 addition to empty ones.
13786 2018-06-27 Florian Weimer <fweimer@redhat.com>
13789 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
13790 (extend_alloca_account): Remove.
13791 * manual/stdio.texi (Variable Arguments Output): Update comment.
13793 2018-06-27 Joseph Myers <joseph@codesourcery.com>
13795 * nptl/sockperf.c: Remove file.
13797 2018-06-27 Florian Weimer <fweimer@redhat.com>
13800 * elf/dl-deps.c (_dl_map_object_deps): Use struct
13801 scratch_buffer instead of extend_alloca.
13803 2018-06-27 Florian Weimer <fweimer@redhat.com>
13806 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
13807 scratch_buffer instead of extend_alloca. Update comments.
13809 2018-06-27 Florian Weimer <fweimer@redhat.com>
13812 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
13813 instead of extend_alloca.
13815 2018-06-26 Joseph Myers <joseph@codesourcery.com>
13818 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
13819 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
13821 * scripts/test-installation.pl: Put temporary files in build
13822 directory, not /tmp.
13823 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
13824 (CFLAGS-bug4.c): Likewise.
13825 (CFLAGS-bug5.c): Likewise.
13826 (CFLAGS-test-fseek.c): Likewise.
13827 (CFLAGS-test-popen.c): Likewise.
13828 (CFLAGS-test_rdwr.c): Likewise.
13829 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
13831 * stdio-common/bug4.c (main): Likewise.
13832 * stdio-common/bug5.c (main): Likewise.
13833 * stdio-common/test-fseek.c (TESTFILE): Likewise.
13834 * stdio-common/test-popen.c (do_test): Likewise.
13835 * stdio-common/test_rdwr.c (main): Likewise.
13837 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
13839 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
13840 (sem_open): Set sem.newsem.pad to zero for valgrind.
13842 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13845 * NEWS: Mention fcntl64 addition.
13846 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
13847 * login/utmp_file.c: Likewise.
13848 * sysdeps/posix/fdopendir.c: Likewise.
13849 * sysdeps/posix/opendir.c: Likewise.
13850 * sysdeps/unix/pt-fcntl.c: Likewise.
13851 * include/fcntl.h (__libc_fcntl64, __fcntl64,
13852 __fcntl64_nocancel_adjusted): New prototype.
13853 (__fcntl_nocancel_adjusted): Remove prototype.
13854 * io/Makefile (routines): Add fcntl64.
13855 (CFLAGS-fcntl64.c): New rule.
13856 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
13857 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
13858 * io/fcntl.h (fcntl64): Add prototype and redirect if
13859 __USE_FILE_OFFSET64 is defined.
13860 * io/fcntl64.c: New file.
13861 * manual/llio.text: Add a note for which commands fcntl acts a
13862 cancellation point.
13863 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
13864 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
13865 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
13867 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
13868 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
13870 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
13871 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
13872 to __fcntl64_nocancel.
13873 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
13874 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
13875 to __fcntl64_nocancel.
13876 * sysdeps/generic/not-cancel.h: Likewise.
13877 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
13878 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
13879 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13880 (fcntl64): New symbol.
13881 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13882 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13883 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13886 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13887 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13888 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13889 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13890 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13891 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
13892 fcntl64): Likewise.
13893 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13894 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
13895 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13896 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13897 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13898 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13899 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13900 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13901 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13906 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13907 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13910 2018-06-26 Florian Weimer <fweimer@redhat.com>
13912 Run thread shutdown functions in an explicit order.
13913 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
13915 (__libc_thread_freeres): Call thread shutdown functions
13917 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
13918 * include/string.h (__strerror_thread_freeres): Declare.
13919 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
13920 arena_thread_freeres. No longer static. Remove thread shutdown
13922 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
13924 * resolv/res-close.c (__res_thread_freeres): Renamed from
13925 res_thread_freeres. No longer static. Remove thread shutdown
13927 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
13928 * resolv/resolv_conf.c (freeres): Remove incorrect section
13929 attribute and use libc_freeres_fn.
13930 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
13931 strerror_thread_freeres. No longer static. Remove thread
13932 shutdown hook registration.
13933 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
13934 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
13935 shutdown hook registration.
13936 * Makerules (shlib.lds): Do not provide section boundary symbols
13937 for __libc_thread_subfreeres.
13938 * manual/memory.texi (Basic Allocation): Update comment.
13940 2018-06-26 Florian Weimer <fweimer@redhat.com>
13942 Remove always-defined _RPC_THREAD_SAFE_ macro.
13943 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
13944 Do not define _RPC_THREAD_SAFE_.
13945 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
13947 * sunrpc/clnt_perr.c: Likewise.
13948 * sunrpc/clnt_raw.c: Likewise.
13949 * sunrpc/clnt_simp.c: Likewise.
13950 * sunrpc/key_call.c: Likewise.
13951 * sunrpc/rpc_common.c: Likewise.
13952 * sunrpc/rpc_main.c: Likewise.
13953 * sunrpc/rpc_thread.c: Likewise.
13954 * sunrpc/svc.c: Likewise.
13955 * sunrpc/svc_raw.c: Likewise.
13956 * sunrpc/svc_simple.c: Likewise.
13957 * sumrpc/svcauth_des.c: Likewise.
13959 2018-06-26 Florian Weimer <fweimer@redhat.com>
13961 * libio/Makefile (tests-internal): Add tst-vtables,
13962 tst-vtables-interposed.
13963 * libio/tst-vtables.c: New file.
13964 * libio/tst-vtables-common.c: Likewise.
13965 * libio/tst-vtables-interposed.c: Likewise.
13967 2018-06-26 Florian Weimer <fweimer@redhat.com>
13969 * support/support_test_main.c (support_test_main): Only call
13970 setvbuf if not disables.
13971 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
13972 * support/test-driver.h (struct test_config): Add no_setvbuf member.
13974 2018-06-26 Florian Weimer <fweimer@redhat.com>
13977 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
13979 2018-06-25 Florian Weimer <fweimer@redhat.com>
13982 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13983 Use struct scratch_buffer instead of extend_alloca.
13985 2018-06-25 Florian Weimer <fweimer@redhat.com>
13988 * nss/getent.c (initgroups_keys): Use dynarray instead of
13991 2018-06-25 Florian Weimer <fweimer@redhat.com>
13994 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
13995 Use struct scratch_buffer instead of extend_alloca.
13997 2018-06-25 Florian Weimer <fweimer@redhat.com>
14000 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
14001 back to malloc directly, without stack allocations.
14003 2018-06-25 Florian Weimer <fweimer@redhat.com>
14006 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
14009 2018-06-25 Florian Weimer <fweimer@redhat.com>
14012 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
14014 * nscd/hstcache.c (addhstbyX): Likewise.
14015 * nscd/pwdcache.c (addpwbyX): Likewise.
14016 * nscd/servicescache.c (addservbyX): Likewise.
14018 2018-06-25 Florian Weimer <fweimer@redhat.com>
14021 * nscd/connections.c (read_cmdline): New function.
14022 (restart): Use it. Update comment.
14024 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14027 * localedata/locales/csb_PL (mon): Rename to...
14029 (abmon): Rename to...
14030 (ab_alt_mon): This.
14031 (mon): Add with proper genitive forms, copy from Wikipedia.
14034 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14037 * localedata/locales/csb_PL (mon): Fix typos:
14038 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
14039 (yesstr): Add, value is "jo".
14040 (nostr): Add, value is "nié".
14042 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14044 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
14045 all log1p and significand functions on m680x0.
14046 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
14047 of s_significand.c..
14048 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14049 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
14050 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
14051 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
14052 s_log1p.c and include it..
14054 2018-06-21 Vincent Chen <vincentc@andestech.com>
14056 * elf/elf.h (R_NDS32_NONE): New define.
14057 (R_NDS32_32_RELA): Likewise.
14058 (R_NDS32_COPY): Likewise.
14059 (R_NDS32_GLOB_DAT): Likewise.
14060 (R_NDS32_JUMP_SLOT): Likewise.
14061 (R_NDS32_RELATIVE): Likewise.
14062 (R_NDS32_TLS_TPOFF): Likewise.
14063 (R_NDS32_TLS_DESC): Likewise.
14065 2018-06-21 Mark Wielaard <mark@klomp.org>
14067 * elf/elf.h (R_BPF_MAP_FD): Removed.
14068 (R_BPF_64_64, R_BPF_64_32): New.
14070 2018-06-21 Florian Weimer <fweimer@redhat.com>
14073 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
14074 Renamed from libc_feholdsetround_ctx.
14075 (default_libc_feresetround_ctx): Renamed from
14076 libc_feresetround_ctx.
14077 (default_libc_feholdsetround_noex_ctx): Renamed from
14078 libc_feholdsetround_noex_ctx.
14079 (default_libc_feresetround_noex_ctx): Renamed from
14080 libc_feresetround_noex_ctx.
14081 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
14082 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
14083 forwardning to the old implementations under the new names.
14084 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
14085 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
14086 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
14087 (libc_feresetround_ctx): Forward to default implements for i386
14088 and MATH_SET_BOTH_ROUNDING_MODES.
14089 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
14090 Add -DMATH_SET_BOTH_ROUNDING_MODES.
14092 2018-06-20 Joseph Myers <joseph@codesourcery.com>
14094 * string/tst-cmp.c: Include <libc-diag.h>.
14095 (strncmp_max): Disable -Wstringop-overflow= around call to
14097 (strncasecmp_max): Disable -Wstringop-overflow= around call to
14100 * string/bug-strpbrk1.c: Include <libc-diag.h>.
14101 (main): Disable -Wunused-value around call to strpbrk.
14102 * string/bug-strspn1.c: Include <libc-diag.h>.
14103 (main): Disable -Wunused-value around call to strspn.
14105 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14106 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14108 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
14109 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
14111 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14113 * math/Makefile (libm-calls): Move s_significandF to...
14114 (gen-libm-calls): ... here.
14115 * math/s_significand_template.c: New file.
14116 * math/s_significand.c: Removed.
14117 * math/s_significandf.c: Removed.
14118 * math/s_significandl.c: Removed.
14119 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
14120 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
14122 * math/e_exp2_template.c (declare_mgen_finite_alias,
14123 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
14124 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
14125 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
14127 2018-06-20 Florian Weimer <fweimer@redhat.com>
14129 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
14131 2018-06-19 Joseph Myers <joseph@codesourcery.com>
14134 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
14135 floating-point number to strtod functions rather than possibly
14136 negating result of those functions.
14137 * stdio-common/tst-scanf-round.c: New file.
14138 * stdio-common/Makefile (tests): Add tst-scanf-round.
14139 ($(objpfx)tst-scanf-round): Depend on $(libm).
14141 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14143 * sysdeps/mach/hurd/localplt.data: Move to...
14144 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
14145 R_386_GLOB_DAT like on Linux i386.
14147 2018-06-18 Joseph Myers <joseph@codesourcery.com>
14149 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
14150 (SHM_STAT_ANY): New macro.
14151 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
14152 (SHM_STAT_ANY): Likewise.
14153 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
14154 (SHM_STAT_ANY): Likewise.
14155 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
14156 (SHM_STAT_ANY): Likewise.
14157 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
14158 (SHM_STAT_ANY): Likewise.
14159 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
14160 (SHM_STAT_ANY): Likewise.
14161 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
14162 (SHM_STAT_ANY): Likewise.
14163 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
14164 (SHM_STAT_ANY): Likewise.
14165 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
14166 (SHM_STAT_ANY): Likewise.
14167 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
14168 (SHM_STAT_ANY): Likewise.
14169 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
14170 (SHM_STAT_ANY): Likewise.
14171 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
14172 (SHM_STAT_ANY): Likewise.
14174 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
14175 (SEM_STAT_ANY): New macro.
14176 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
14177 (SEM_STAT_ANY): Likewise.
14178 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
14179 (SEM_STAT_ANY): Likewise.
14180 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
14181 (SEM_STAT_ANY): Likewise.
14182 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
14183 (SEM_STAT_ANY): Likewise.
14184 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
14185 (SEM_STAT_ANY): Likewise.
14186 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
14187 (SEM_STAT_ANY): Likewise.
14188 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
14189 (SEM_STAT_ANY): Likewise.
14190 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
14191 (SEM_STAT_ANY): Likewise.
14192 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
14193 (SEM_STAT_ANY): Likewise.
14195 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
14196 (MSG_STAT_ANY): New macro.
14197 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
14198 (MSG_STAT_ANY): Likewise.
14199 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
14200 (MSG_STAT_ANY): Likewise.
14201 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
14202 (MSG_STAT_ANY): Likewise.
14203 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
14204 (MSG_STAT_ANY): Likewise.
14205 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
14206 (MSG_STAT_ANY): Likewise.
14207 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
14208 (MSG_STAT_ANY): Likewise.
14209 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
14210 (MSG_STAT_ANY): Likewise.
14211 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
14212 (MSG_STAT_ANY): Likewise.
14213 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
14214 (MSG_STAT_ANY): Likewise.
14216 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14217 (MAP_TYPE): Change value to 0x2b.
14219 2018-06-18 Florian Weimer <fweimer@redhat.com>
14222 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
14223 socket with SOCK_CLOEXEC.
14225 2018-06-18 Joseph Myers <joseph@codesourcery.com>
14228 * sysdeps/powerpc/powerpc64/le/Makefile
14229 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
14230 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
14231 (gnulib-tests): Also add $(f128-loader-link) for
14232 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
14234 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
14236 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
14237 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
14239 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
14240 (sendfile64): New strong alias.
14241 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
14242 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
14243 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
14244 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
14246 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
14247 ___pthread_get_cleanup_stack.
14248 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
14249 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
14250 * mach/shortcut.awk: Make syscall stubs include
14251 <mach-shortcuts-hidden.h> and add hidden definition.
14252 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
14253 (__mach_msg): Add hidden prototype.
14254 * mach/msg.c: Include <mach.h>.
14255 (__mach_msg): Add hidden definition.
14256 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
14257 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
14258 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
14259 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
14260 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
14261 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
14262 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
14263 prototype and definition.
14264 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
14265 hidden target for _hurd_self_sigstate.
14267 2018-06-15 Joseph Myers <joseph@codesourcery.com>
14270 * stdlib/tst-strtod-nan-sign-main.c: New file.
14271 * stdlib/tst-strtod-nan-sign.c: Likewise.
14272 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
14273 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
14274 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
14275 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
14276 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
14278 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
14281 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
14284 2018-06-14 Florian Weimer <fweimer@redhat.com>
14287 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
14288 that the result stays within the ISO-8859-1 range.
14289 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
14290 characters are defined in IBM273.
14292 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
14294 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
14295 __mach_task_self): Remove attribute_hidden.
14297 2018-06-14 Joseph Myers <joseph@codesourcery.com>
14299 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
14300 ignore -Wrestrict for one test.
14302 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
14303 Szabolcs Nagy <szabolcs.nagy@arm.com>
14305 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
14307 2018-06-14 Florian Weimer <fweimer@redhat.com>
14309 * scripts/update-abilist.sh: Accept empty list of files to patch.
14311 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
14313 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
14314 test-xfail-check-abi-libmachuser): Add.
14315 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
14316 __libc_read and __libc_write to __read and __write.
14317 * sysdeps/hurd/include/hurd/port.h: New file.
14318 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
14319 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
14320 __thread_switch, __evc_wait): Move declarations to...
14321 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
14323 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
14324 use PLT to call _hurd_self_sigstate.
14326 2018-06-13 Joseph Myers <joseph@codesourcery.com>
14329 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
14330 MAX_EXP as overflowing.
14331 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
14333 (round_str): Output also whether result overflows in each rounding
14335 * stdlib/tst-strtod-round-data: Add more tests.
14336 * stdlib/tst-strtod-round-data.h: Regenerated.
14337 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
14338 (TEST): Handle extra arguments for overflow flags.
14339 (struct test_overflow): New type.
14340 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
14341 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
14342 (test_in_one_mode): Take argument with overflow information.
14343 (do_test): Update calls to test_in_one_mode.
14345 2018-06-12 Carlos O'Donell <carlos@redhat.com>
14347 * elf/dl-load (_dl_dst_substitute): Correct comment.
14348 (_dl_dst_count): Likewise.
14350 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
14351 lll_futex_timed_wait.
14353 2018-06-12 Joseph Myers <joseph@codesourcery.com>
14356 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
14358 * math/test-nan-const.c: New file.
14359 * math/Makefile (tests): Add test-nan-const.
14360 (CFLAGS-test-nan-const.c): New variable.
14362 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14364 * benchtests/scripts/compare_strings.py (process_results): Add
14365 funcs argument. Compare only functions which are selected.
14366 (main): Check if base function is among selected functions.
14367 Pass selected functions to process_results.
14368 (__main__): Add -f/--functions argument.
14370 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
14371 Hongbo Zhang <hongbo.zhang@linaro.org>
14373 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
14374 __memcpy_falkor for phecda core.
14375 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
14376 __memmove_falkor for phecda core.
14377 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
14378 __memset_falkor for phecda core.
14379 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
14381 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
14382 macro to identify phecda core.
14384 2018-06-12 Carlos O'Donell <carlos@redhat.com>
14385 Andreas Schwab <schwab@suse.de>
14386 Dmitry V. Levin <ldv@altlinux.org>
14387 Florian Weimer <fweimer@redhat.com>
14394 * elf/dl-dst.h: Remove DL_DST_COUNT.
14395 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
14396 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
14397 (is_dst): Comment. Support ELF gABI.
14398 (_dl_dst_count): Comment. Simplify and count DSTs.
14399 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
14400 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
14403 2018-06-12 Zack Weinberg <zackw@panix.com>
14405 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
14406 * sysdeps/unix/sysv/linux/dl-sysdep.c
14407 Include not-cancel.h. Use __close_nocancel instead of __close,
14408 __open64_nocancel instead of __open, __read_nocancel instead of
14409 __libc_read, and __write_nocancel instead of __libc_write.
14411 * csu/check_fds.c (check_one_fd)
14412 * sysdeps/posix/fdopendir.c (__fdopendir)
14413 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
14414 instead of __fcntl and/or __libc_fcntl.
14416 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
14417 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
14418 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
14419 Use __open64_nocancel instead of __open_nocancel.
14421 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
14422 hidden_proto declarations to the end and issue them if either
14423 IS_IN(libc) or IS_IN(rtld).
14424 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
14425 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
14426 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
14427 read_nocancel, waitpid_nocancel, write_nocancel.
14429 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
14430 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
14431 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
14433 * nptl/pt-fcntl.c: New file.
14434 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
14435 (libpthread-routines): Add pt-fcntl.
14436 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
14437 (__libc_fcntl): Remove attribute_hidden.
14438 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
14439 __fcntl_nocancel_adjusted, not fcntl_common.
14440 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
14441 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
14442 to fcntl_nocancel.c.
14443 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
14444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
14445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14446 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
14448 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
14449 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
14450 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
14451 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
14452 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
14453 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
14454 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
14455 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
14456 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
14457 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
14458 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
14459 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
14460 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
14461 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
14462 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
14463 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
14464 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
14465 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
14466 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
14467 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
14469 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
14470 libpthread-routines.
14471 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
14474 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
14475 __libc_read, and __write instead of __libc_write. Define
14476 __open64 in addition to __open.
14478 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14482 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
14483 to _private_tm[3] and add __glibc_reserved2.
14484 Add _Static_assert of offset of __private_ss == 0x30.
14485 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
14486 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
14488 2018-06-12 Florian Weimer <fweimer@redhat.com>
14490 x86: Make strncmp usable from rtld.
14491 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
14492 __strncmp_ia32 if in libc (and not in rtld).
14493 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
14494 strncmp if not in libc (and not to __strncmp_sse2).
14496 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
14499 * localedata/locales/gd_GB (mon): Rename to...
14501 (mon): Import from CLDR (genitive case).
14502 * localedata/locales/hsb_DE (mon): Rename to...
14504 (mon): Import from CLDR (genitive case).
14505 * localedata/locales/wa_BE (mon): Rename to...
14507 (mon): Add, fill with the proper genitive forms, but CLDR data
14508 is incomplete; completed according to the comments in this file.
14509 (d_t_fmt): Do not use "di" before the month name, no longer needed.
14511 * localedata/locales/wa_BE (country_name): Reword
14512 "Beljike" -> "Beldjike".
14514 2018-06-11 Joseph Myers <joseph@codesourcery.com>
14517 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
14518 cases of non-finite arguments.
14519 * math/libm-test-fma.inc (fma_test_data): Add more tests.
14521 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
14524 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
14526 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14529 * include/unistd.h (__execvpex): New prototype.
14530 * posix/Makefile (tests): Add tst-spawn4.
14531 (tests-internal): Add tst-spawn4-compat.
14532 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
14533 * posix/tst-spawn4-compat.c: New file.
14534 * posix/tst-spawn4.c: Likewise.
14535 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
14536 binaries as shell scripts.
14537 * sysdeps/posix/spawni.c (__spawni): Likewise.
14539 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
14542 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
14543 ($(all-built-dso:=.dynsym): New target.
14544 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
14545 ($(objpfx)check-initfini.out): New target.
14546 (generated): Add check-initfini.out.
14547 * scripts/check-initfini.awk: New file.
14548 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
14550 * sysdeps/alpha/crti.S (_init): Mark as hidden.
14552 * sysdeps/arm/crti.S (_init): Mark as hidden.
14554 * sysdeps/hppa/crti.S (_init): Mark as hidden.
14556 * sysdeps/i386/crti.S (_init): Mark as hidden.
14558 * sysdeps/ia64/crti.S (_init): Mark as hidden.
14560 * sysdeps/m68k/crti.S (_init): Mark as hidden.
14562 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
14564 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
14566 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
14568 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
14570 * sysdeps/nios2/crti.S (_init): Mark as hidden.
14572 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
14574 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
14576 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
14578 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
14580 * sysdeps/sh/crti.S (_init): Mark as hidden.
14582 * sysdeps/sparc/crti.S (_init): Mark as hidden.
14584 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
14587 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14589 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
14590 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
14591 and TF redirection to KFtype and KF only when the default
14592 long double type is not the IEEE 128-bit floating point type.
14594 2018-06-05 Joseph Myers <joseph@codesourcery.com>
14596 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
14598 (HWCAP_USCAT): Likewise.
14599 (HWCAP_ILRCPC): Likewise.
14600 (HWCAP_FLAGM): Likewise.
14601 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14603 (_dl_aarch64_cap_flags): Add new flag names.
14605 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14606 (MAP_FIXED_NOREPLACE): New macro.
14607 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
14608 (MAP_FIXED_NOREPLACE): Likewise.
14609 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
14610 (MAP_FIXED_NOREPLACE): Likewise.
14611 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14612 (MAP_FIXED_NOREPLACE): Likewise.
14613 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14614 (MAP_FIXED_NOREPLACE): Likewise.
14615 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14616 (MAP_FIXED_NOREPLACE): Likewise.
14617 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14618 (MAP_FIXED_NOREPLACE): Likewise.
14619 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
14620 (MAP_FIXED_NOREPLACE): Likewise.
14621 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14622 (MAP_FIXED_NOREPLACE): Likewise.
14623 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
14624 (MAP_FIXED_NOREPLACE): Likewise.
14625 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14626 (MAP_FIXED_NOREPLACE): Likewise.
14627 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14628 (MAP_FIXED_NOREPLACE): Likewise.
14629 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
14630 (MAP_FIXED_NOREPLACE): Likewise.
14631 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
14632 (MAP_FIXED_NOREPLACE): Likewise.
14633 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
14634 (MAP_FIXED_NOREPLACE): Likewise.
14636 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14639 2018-06-04 Joseph Myers <joseph@codesourcery.com>
14641 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14644 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14646 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
14648 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
14650 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14652 * benchtests/scripts/compare_string.py: (process_results) Catch
14653 exception in non-existent base_func and catch exception in
14654 non-existent attribute.
14655 (parse_file) Catch exception if input file does not exist.
14657 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14659 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
14660 options to avoid diff calculation and omit header, respectively.
14661 (main): process --no-diff and --no-header
14663 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14664 H.J. Lu <hongjiu.lu@intel.com>
14666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14667 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
14669 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14670 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
14671 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
14672 and __wcsncmp_sse2.
14673 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
14674 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
14675 AVX unaligned load is fast and vzeroupper is preferred.
14676 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
14677 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
14678 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
14679 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
14680 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
14681 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
14682 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
14683 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
14684 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
14685 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
14688 2018-06-01 Florian Weimer <fweimer@redhat.com>
14690 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
14691 configuring with --disable-multi-arch, building with
14692 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
14695 2018-06-01 Florian Weimer <fweimer@redhat.com>
14697 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
14698 results from building with “-march=x86-64 -mtune=generic
14699 -mfpmath=sse” and running on a Haswell-era CPU.
14701 2018-06-01 Joseph Myers <joseph@codesourcery.com>
14704 * soft-fp/sqrttf2.c: Remove file.
14705 * soft-fp/sqrtdf2.c: Move to ....
14706 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
14708 (__sqrtdf2): Make conditional on
14709 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14711 * soft-fp/sqrtsf2.c: Move to ....
14712 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
14714 (__sqrtsf2): Make conditional on
14715 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14717 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
14718 (gcc-double-routines): Remove sqrtdf2.
14719 (gcc-quad-routines): Remove sqrttf2.
14720 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14721 Do not filter out sqrtsf2 and sqrtdf2.
14722 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14723 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
14725 2018-06-01 Florian Weimer <fweimer@redhat.com>
14727 * sysdeps/generic/libcidn.abilist: Remove file.
14729 2018-06-01 Florian Weimer <fweimer@redhat.com>
14732 * libio/strfile.h (struct _IO_str_fields): Rename members to
14733 discourage their use and add comment.
14734 (_IO_STR_DYNAMIC): Remove unused macro.
14735 * libio/strops.c (_IO_str_init_static_internal): Do not use
14736 callback pointers. Call malloc and free.
14737 (_IO_str_overflow): Do not use callback pointers. Call malloc
14739 (enlarge_userbuf): Likewise.
14740 (_IO_str_finish): Call free.
14741 * libio/wstrops.c (_IO_wstr_init_static): Initialize
14742 _allocate_buffer_unused.
14743 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
14745 (enlarge_userbuf): Likewise.
14746 (_IO_wstr_finish): Call free.
14747 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
14748 _allocate_buffer_unused, _free_buffer_unused.
14749 * libio/memstream.c (__open_memstream): Likewise.
14750 * libio/vasprintf.c (_IO_vasprintf): Likewise.
14751 * libio/wmemstream.c (open_wmemstream): Likewise.
14753 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14755 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
14758 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14760 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
14761 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
14762 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
14764 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
14766 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
14768 2018-05-29 Florian Weimer <fweimer@redhat.com>
14770 * support/Makefile (libsupport-routines): Add
14771 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
14772 xpthread_barrierattr_setpshared.
14773 * support/xpthread_barrierattr_destroy.c: New file.
14774 * support/xpthread_barrierattr_init.c: Likewise.
14775 * support/xpthread_barrierattr_setpshared.c: Likewise.
14777 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
14780 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
14781 _r_debug and update DT_DEBUG for debugger.
14783 2018-05-29 Florian Weimer <fweimer@redhat.com>
14785 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
14786 (tst-strtod5i.out): Likewise.
14788 2018-05-25 Joseph Myers <joseph@codesourcery.com>
14790 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
14791 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
14792 (sparc64-quad-routines): New variable. Moved from ....
14793 [$(subdir) = soft-fp] (sysdep_routines): Add
14794 $(sparc64-quad-routines). Moved from ....
14795 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
14796 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
14797 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
14799 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
14800 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
14801 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
14802 * sysdeps/sparc/sparc64/qp_add.c: ... here.
14803 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
14804 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
14805 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
14806 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
14807 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
14808 * sysdeps/sparc/sparc64/qp_div.c: ... here.
14809 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
14810 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
14811 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
14812 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
14813 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
14814 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
14815 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
14816 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
14817 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
14818 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
14819 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
14820 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
14821 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
14822 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
14823 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
14824 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
14825 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
14826 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
14827 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
14828 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
14829 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
14830 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
14831 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
14832 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
14833 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
14834 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
14835 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
14836 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
14837 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
14838 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
14839 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
14840 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
14841 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
14842 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
14843 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
14844 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
14845 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
14846 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
14847 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
14848 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
14849 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
14850 * sysdeps/sparc/sparc64/qp_util.c: ... here.
14851 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
14852 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
14853 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
14854 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
14855 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
14856 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
14858 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
14859 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
14860 (sparc32-quad-routines): New variable. Moved from ....
14861 [$(subdir) = soft-fp] (sysdep_routines): Add
14862 $(sparc32-quad-routines). Moved from ....
14863 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
14864 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
14866 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
14867 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
14868 * sysdeps/sparc/sparc32/q_add.c: ... here.
14869 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
14870 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
14871 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
14872 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
14873 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
14874 * sysdeps/sparc/sparc32/q_div.c: ... here.
14875 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
14876 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
14877 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
14878 * sysdeps/sparc/sparc32/q_feq.c: ... here.
14879 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
14880 * sysdeps/sparc/sparc32/q_fge.c: ... here.
14881 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
14882 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
14883 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
14884 * sysdeps/sparc/sparc32/q_fle.c: ... here.
14885 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
14886 * sysdeps/sparc/sparc32/q_flt.c: ... here.
14887 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
14888 * sysdeps/sparc/sparc32/q_fne.c: ... here.
14889 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
14890 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
14891 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
14892 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
14893 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
14894 * sysdeps/sparc/sparc32/q_mul.c: ... here.
14895 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
14896 * sysdeps/sparc/sparc32/q_neg.c: ... here.
14897 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
14898 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
14899 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
14900 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
14901 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
14902 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
14903 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
14904 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
14905 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
14906 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
14907 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
14908 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
14909 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
14910 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
14911 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
14912 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
14913 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
14914 * sysdeps/sparc/sparc32/q_sub.c: ... here.
14915 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
14916 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
14917 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
14918 * sysdeps/sparc/sparc32/q_util.c: ... here.
14919 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
14920 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
14921 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
14922 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
14924 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14925 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14927 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
14928 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
14929 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
14930 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
14932 2018-05-24 Joseph Myers <joseph@codesourcery.com>
14934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
14936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14938 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
14939 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
14941 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14944 * math/math.h [C++] (iseqsig): Fix parameter type for the long
14947 2018-05-23 Joseph Myers <joseph@codesourcery.com>
14949 * sysdeps/sh/Implies: Remove sh/soft-fp.
14950 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
14951 * sysdeps/sh/sfp-machine.h: ... here.
14953 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14955 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14956 (__mempcpy_erms): Skip zero length.
14957 (__memmove_erms): Likewise.
14958 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14959 (__memset_erms): Likewise.
14961 2018-05-23 Joseph Myers <joseph@codesourcery.com>
14963 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
14964 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14965 Add functions moved from ....
14966 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
14967 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
14968 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
14970 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
14971 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
14972 * sysdeps/alpha/e_sqrtl.c: ... here.
14973 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
14974 * sysdeps/alpha/local-soft-fp.h: ... here.
14975 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
14976 * sysdeps/alpha/ots_add.c: ... here.
14977 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
14978 * sysdeps/alpha/ots_cmp.c: ... here.
14979 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
14980 * sysdeps/alpha/ots_cmpe.c: ... here.
14981 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
14982 * sysdeps/alpha/ots_cvtqux.c: ... here.
14983 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
14984 * sysdeps/alpha/ots_cvtqx.c: ... here.
14985 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
14986 * sysdeps/alpha/ots_cvttx.c: ... here.
14987 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
14988 * sysdeps/alpha/ots_cvtxq.c: ... here.
14989 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
14990 * sysdeps/alpha/ots_cvtxt.c: ... here.
14991 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
14992 * sysdeps/alpha/ots_div.c: ... here.
14993 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
14994 * sysdeps/alpha/ots_mul.c: ... here.
14995 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
14996 * sysdeps/alpha/ots_nintxq.c: ... here.
14997 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
14998 * sysdeps/alpha/ots_sub.c: ... here.
14999 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
15000 * sysdeps/alpha/sfp-machine.h: ... here.
15002 2018-05-23 Florian Weimer <fweimer@redhat.com>
15010 Switch to extern IDNA implementation (libidn2).
15011 * libidn: Remove subdirectory.
15012 * LICENSES: Do not mention licensing conditions for the removed
15014 * config.h.in (HAVE_LIBIDN): Remove.
15015 * include/dlfcn.h (__libc_dlopen): Update comment.
15016 * include/idna.h: Remove file.
15017 * inet/Makefile (routines): Add idna.
15018 (tests-static, tests-internal): Add tst-idna_name_classify.
15019 (LOCALES): Generate locales for tests.
15020 (tst-idna_name_classify.out): Depend on generated locales.
15021 * inet/idna_name_classify.c: New file.
15022 * inet/tst-idna_name_classify.c: Likewise.
15023 * inet/net-internal.h (__idna_to_dns_encoding)
15024 (__idna_from_dns_encoding): Declare.
15025 * inet/net-internal.h (enum idna_name_classification): Define.
15026 (__idna_name_classify): Declare.
15027 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
15028 __idna_from_dns_encoding.
15029 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
15030 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
15031 name as a fallback in case of encoding errors.
15032 (getnameinfo): Use DEPRECATED_NI_IDN.
15033 * inet/idna.c: New file.
15034 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
15035 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
15036 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
15037 (modules-names): Add tst-no-libidn2.
15038 (extra-test-objs): Add tst-no-libidn2.os.
15039 (LDFLAGS-tst-no-libidn2.so): Set soname.
15040 (LOCALES): Set, and generate locales.
15041 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
15042 (tst-resolv-ai_idn-latin1): Likewise.
15043 (tst-resolv-ai_idn-nolibidn2): Likewise.
15044 (tst-resolv-ai_idn.out): Depend on locales.
15045 (tst-resolv-ai_idn-latin1.out): Depend on locales.
15046 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
15048 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
15049 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
15050 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
15051 * resolv/tst-resolv-ai_idn.c: New file.
15052 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
15053 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
15054 * resolv/tst-no-libidn2.c: Likewise.
15055 * support/support_format_addrinfo.c (format_ai_flags): Do not
15056 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
15057 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
15058 (gaih_inet): Call __idna_to_dns_encoding and
15059 __idna_from_dns_encoding, and use the original (punycode) name if
15060 __idna_from_dns_encoding fails due to an encoding error.
15061 (getaddrinfo): Use DEPRECATED_AI_IDN.
15062 * sysdeps/unix/inet/Subdirs (libidn): Remove.
15063 * sysdeps/unix/inet/configure: Remove file.
15064 * sysdeps/unix/inet/configure.ac: Likewise.
15066 2018-05-23 Florian Weimer <fweimer@redhat.com>
15068 Implement allocate_once.
15069 * include/allocate_once.h: New file.
15070 * misc/allocate_once.c: Likewise.
15071 * misc/tst-allocate_once.c: Likewise.
15072 * misc/Makefile (routines): Add allocate_once.
15073 (tests-internal): Add tst-allocate_once.
15074 (generated): Add tst-allocate_once.mtrace,
15075 tst-allocate_once-mem.out.
15076 (tests-special): Add tst-allocate_once-mem.out.
15077 (tst-allocate_once-ENV): Set MALLOC_TRACE.
15078 (tst-allocate_once-mem.out): Call mtrace.
15079 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
15081 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15084 * string/test-memcpy.c (do_test1): New function.
15085 (test_main): Call it.
15087 2018-05-23 Andreas Schwab <schwab@suse.de>
15091 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
15092 (L(preloop_large)): Save initial destination pointer in %r11 and
15093 use it instead of %rax after the loop.
15094 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
15096 2018-05-22 Joseph Myers <joseph@codesourcery.com>
15098 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
15099 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
15100 -I../soft-fp. Moved from ....
15101 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
15102 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
15103 * sysdeps/aarch64/e_sqrtl.c: ... here.
15104 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
15105 * sysdeps/aarch64/sfp-machine.h: ... here.
15107 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
15108 -Wmaybe-uninitialized around access to fq[0].
15109 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15113 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
15114 aliases for non-libc case of versioned symbols.
15115 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
15116 (llseek): Define as compat symbol if
15117 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
15119 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
15120 Make into a compat symbol, disabled for minimum symbol version
15121 GLIBC_2.28 and later.
15122 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
15124 2018-05-22 Florian Weimer <fweimer@redhat.com>
15126 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
15127 not add -mpreferred-stack-boundary=4.
15128 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
15129 (stack-align-test-flags): Likewise.
15130 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
15132 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
15133 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
15134 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
15135 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
15136 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
15137 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
15138 (CFLAGS-tst-align2.c): Likewise.
15140 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15142 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
15143 (index_arch_Prefer_FSRM): Likewise.
15144 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
15145 Also check Prefer_FSRM.
15146 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
15147 Also return OPTIMIZE (erms) for Prefer_FSRM.
15149 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15151 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
15152 (index_cpu_FSRM): Likewise.
15153 (reg_FSRM): Likewise.
15155 2018-05-18 Joseph Myers <joseph@codesourcery.com>
15157 * math/gen-tgmath-tests.py: Import sys.
15158 (Tests.__init__): Initialize macros_seen.
15159 (Tests.add_tests): Add macro to macros_seen. Only generate tests
15160 if requested to do so for this macro.
15161 (Tests.add_all_tests): Take argument for macro for which to
15163 (Tests.check_macro_list): New function.
15164 (main): Handle check-list argument and argument specifying macro
15165 for which to generate tests.
15166 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
15167 [PYTHON] (tgmath3-macro-tests): Likewise.
15168 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
15169 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
15170 not test-tgmath3.c.
15171 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
15172 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
15174 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
15175 [PYTHON] ($(foreach
15176 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
15178 [PYTHON] (tests-special): Add
15179 $(objpfx)test-tgmath3-macro-list.out.
15180 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
15182 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
15183 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
15187 * time/tzset.c (SECSPERDAY): Cast to time_t.
15188 * time/tst-y2039.c: New file.
15189 * time/Makefile (tests): Add tst-y2039.
15191 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15193 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15194 (PREFETCH_ONE_SET): Remove duplicate line.
15196 2018-05-17 Florian Weimer <fweimer@redhat.com>
15198 * sysdeps/generic/math-type-macros-double.h: Include
15199 <math-nan-payload-double.h> after <libm-alias-double.h>.
15200 * sysdeps/generic/math-type-macros-float.h: Include
15201 <math-nan-payload-float.h> after <libm-alias-float.h>.
15202 * sysdeps/generic/math-type-macros-float128.h: Include
15203 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
15204 * sysdeps/generic/math-type-macros-ldouble.h: Include
15205 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
15207 2018-05-17 Andreas Schwab <schwab@suse.de>
15209 * resolv/res_send.c (__res_context_send): Don't set errno when
15210 returing error after malloc failure.
15212 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
15214 * nptl/allocatestack.c (allocate_stack): Remove the
15215 !__ASSUME_PRIVATE_FUTEX paths.
15216 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
15217 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15219 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
15220 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15221 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15222 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15223 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
15224 !__ASSUME_PRIVATE_FUTEX path.
15225 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
15226 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
15227 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15228 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
15229 !__ASSUME_PRIVATE_FUTEX macros.
15230 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15231 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
15232 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15233 * sysdeps/unix/sysv/linux/kernel-features.h
15234 (__ASSUME_PRIVATE_FUTEX): Removed.
15236 2018-05-17 Joseph Myers <joseph@codesourcery.com>
15238 * math/Makefile (libm-narrow-fns): Add div.
15239 (libm-test-funcs-narrow): Likewise.
15240 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
15241 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
15242 * math/gen-auto-libm-tests.c (test_functions): Add div.
15243 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
15244 (NARROW_DIV_ROUND_TO_ODD): Likewise.
15245 (NARROW_DIV_TRIVIAL): Likewise.
15246 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
15248 (__ddivl): Likewise.
15249 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
15251 (CFLAGS-nldbl-ddiv.c): New variable.
15252 (CFLAGS-nldbl-fdiv.c): Likewise.
15253 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15255 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
15257 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
15258 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
15259 * math/auto-libm-test-in: Add tests of div.
15260 * math/auto-libm-test-out-narrow-div: New generated file.
15261 * math/libm-test-narrow-div.inc: New file.
15262 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
15263 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
15264 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
15265 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
15266 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
15267 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
15268 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
15269 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
15270 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
15271 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
15272 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
15273 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
15274 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
15275 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
15276 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
15277 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
15278 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
15279 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
15280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15281 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15282 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15283 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15284 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15285 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15286 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15287 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15288 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15289 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15290 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15291 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15292 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15293 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15298 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15299 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15300 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15301 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15302 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15303 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15304 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15305 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15307 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15310 * nscd/nscd-client.h (sendfileall): Remove prototype.
15311 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
15312 (handle_request): Use writeall instead of sendfileall.
15313 * nscd/aicache.c (addhstaiX): Likewise.
15314 * nscd/grpcache.c (cache_addgr): Likewise.
15315 * nscd/hstcache.c (cache_addhst): Likewise.
15316 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15317 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
15318 * nscd/pwdcache.c (cache_addpw): Likewise.
15319 * nscd/servicescache.c (cache_addserv): Likewise.
15320 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
15321 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
15322 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
15325 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
15327 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
15328 Include <string/strncat.c>.
15329 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
15331 (__GI___strncat): New hidden alias.
15333 2018-05-16 Joseph Myers <joseph@codesourcery.com>
15335 * sysdeps/mips/mips32/libm-test-ulps: Update.
15336 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15338 2018-05-16 Florian Weimer <fweimer@redhat.com>
15340 * support/Makefile (libsupport-routines): Add support_quote_blob,
15341 support_test_compare_blob.
15342 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
15343 * support/check.h (TEST_COMPARE_BLOB): Define.
15344 (support_test_compare_blob): Declare.
15345 * support/support.h (support_quote_blob): Declare.
15346 * support/support_quote_blob.c: New file.
15347 * support/support_test_compare_blob.c: Likewise.
15348 * support/tst-support_quote_blob.c: Likewise.
15349 * support/tst-test_compare_blob.c: Likewise.
15351 2018-05-16 Florian Weimer <fweimer@redhat.com>
15353 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
15354 of <strtod_nan_double.h>.
15355 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
15356 instead of SET_MANTISSA.
15357 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
15358 of include <strtod_nan_float.h>.
15359 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
15360 instead of <strtod_nan_ldouble.h>.
15361 * stdlib/strtod_nan_double.h: Move to ...
15362 * sysdeps/generic/math-nan-payload-double.h: ... here.
15363 (FLOAT): Remove definition.
15364 (SET_MANTISSA): Rename to ...
15365 (SET_NAN_PAYLOAD): ... this.
15366 * stdlib/strtod_nan_float.h: Move to ...
15367 * sysdeps/generic/math-nan-payload-float.h: ... here.
15368 (FLOAT): Remove definition.
15369 (SET_MANTISSA): Rename to ...
15370 (SET_NAN_PAYLOAD): ... this.
15371 * sysdeps/generic/math-type-macros-double.h: Include
15372 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
15373 instead of <math-svid-compat.h>.
15374 * sysdeps/generic/math-type-macros-float.h: Include
15375 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
15376 instead of <math-svid-compat.h>.
15377 * sysdeps/generic/math-type-macros-float128.h: Include
15378 <math-nan-payload-float128.h>.
15379 * sysdeps/generic/math-type-macros-ldouble.h: Include
15380 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
15381 instead of <math-svid-compat.h>.
15382 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
15383 check for definition.
15384 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
15385 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
15386 Include <ieee754_float128.h>.
15387 (FLOAT): Remove definition.
15388 (SET_MANTISSA): Rename to ...
15389 (SET_NAN_PAYLOAD): ... this.
15390 * sysdeps/ieee754/float128/strtof128_nan.c: Include
15391 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
15392 Do not include <float128_private.h>.
15393 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
15394 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
15395 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
15396 (FLOAT): Remove definition.
15397 (SET_MANTISSA): Rename to ...
15398 (SET_NAN_PAYLOAD): ... this.
15399 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
15400 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
15401 (FLOAT): Remove definition.
15402 (SET_MANTISSA): Rename to ...
15403 (SET_NAN_PAYLOAD): ... this.
15404 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
15405 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
15406 (FLOAT): Remove definition.
15407 (SET_MANTISSA): Rename to ...
15408 (SET_NAN_PAYLOAD): ... this.
15409 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
15410 of "../stdlib/strtod_nan_double.h".
15411 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
15412 of "../stdlib/strtod_nan_float.h".
15413 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
15414 instead of "../stdlib/strtod_nan_ldouble.h".
15415 * manual/arith.texi (Parsing of Floats): Adjust comment.
15417 2018-05-16 Joseph Myers <joseph@codesourcery.com>
15419 * math/Makefile (libm-narrow-fns): Add mul.
15420 (libm-test-funcs-narrow): Likewise.
15421 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
15422 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
15423 * math/gen-auto-libm-tests.c (test_functions): Add mul.
15424 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
15425 (NARROW_MUL_ROUND_TO_ODD): Likewise.
15426 (NARROW_MUL_TRIVIAL): Likewise.
15427 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
15428 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
15430 (__dmull): Likewise.
15431 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
15433 (CFLAGS-nldbl-dmul.c): New variable.
15434 (CFLAGS-nldbl-fmul.c): Likewise.
15435 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15437 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
15439 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
15440 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
15441 * math/auto-libm-test-in: Add tests of mul.
15442 * math/auto-libm-test-out-narrow-mul: New generated file.
15443 * math/libm-test-narrow-mul.inc: New file.
15444 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
15445 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
15446 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
15447 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
15448 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
15449 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
15450 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
15451 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
15452 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
15453 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
15454 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
15455 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
15456 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
15457 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
15458 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
15459 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
15460 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
15461 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
15462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15463 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15464 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15465 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15466 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15467 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15468 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15469 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15470 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15471 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15472 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15473 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15474 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15475 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15480 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15481 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15482 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15483 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15484 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15485 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15486 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15487 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15489 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15491 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15492 with *%eax in call.
15494 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15496 * sysdeps/i386/ldsodefs.h: Removed.
15497 * sysdeps/x86_64/ldsodefs.h: Moved to ...
15498 * sysdeps/x86/ldsodefs.h: This.
15499 (La_i86_regs): New.
15500 (La_i86_retval): Likewise.
15501 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
15502 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
15504 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15506 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
15509 2018-05-13 Alan Modra <amodra@gmail.com>
15511 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
15512 R_PARISC_TLS_DTPOFF32 reloc addend.
15514 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15516 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
15517 * math/math.h: Restrict the prototype definition for the functions
15518 issignaling(_Float128) and iszero(_Float128); and template
15519 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
15520 __HAVE_FLOAT128_UNLIKE_LDBL.
15521 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
15522 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15523 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
15524 __f128() constants; define the type _Float128 as long double;
15525 and reuse long double in __CFLOAT128.
15527 2018-05-11 Joseph Myers <joseph@codesourcery.com>
15529 * sysdeps/generic/math_private.h: Do not include
15531 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
15533 * math/fromfp.h: Include <math-barriers.h>.
15534 * math/math-narrow.h: Likewise.
15535 * math/s_nextafter.c: Likewise.
15536 * math/s_nexttowardf.c: Likewise.
15537 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
15538 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
15539 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
15540 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
15541 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15542 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15543 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15544 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15545 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15546 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15547 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15548 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15549 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15550 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15551 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
15552 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15553 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15554 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15555 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15556 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15557 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15558 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15559 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15560 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15561 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15562 * sysdeps/ieee754/k_standardl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15564 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15565 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15566 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15567 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15568 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15569 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15570 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15571 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15572 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15573 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15574 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15575 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15576 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15577 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15578 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15579 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
15580 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
15581 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15582 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15583 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
15584 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
15586 2018-05-11 Florian Weimer <fweimer@redhat.com>
15588 Use 64-bit epoch values in the time zone file parser.
15589 * include/time.h (internal_time_t): Define.
15590 (__tzfile_compute): Use it.
15591 * time/tzfile.c (struct leap): Use internal_time_t for epoch
15593 (transitions): Switch to internal_time_t.
15594 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
15596 (__tzfile_compute): Use internal_time_t for timer argument. Check
15597 for truncation before calling __offtime.
15599 2018-05-11 Florian Weimer <fweimer@redhat.com>
15602 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
15603 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
15605 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
15606 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
15607 export without --enable-obsolete-rpc.
15608 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
15609 symbol. This should not have been exported, ever.
15611 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
15614 * localedata/locales/gd_GB (abmon): Fix typo in May:
15615 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
15617 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
15619 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15620 Use multiple registers to copy data in loop tail.
15622 * sysdeps/aarch64/multiarch/memmove_falkor.S
15623 (__memmove_falkor): Use multiple registers to move data in
15626 2018-05-10 Joseph Myers <joseph@codesourcery.com>
15628 * math/math-underflow.h: New file.
15629 * sysdeps/generic/math_private.h: Do not include <float.h>.
15630 (fabs_tg): Remove macro. Moved to math-underflow.h.
15631 (min_of_type_f): Likewise.
15632 (min_of_type_): Likewise.
15633 (min_of_type_l): Likewise.
15634 (min_of_type_f128): Likewise.
15635 (min_of_type): Likewise.
15636 (math_check_force_underflow): Likewise.
15637 (math_check_force_underflow_nonneg): Likewise.
15638 (math_check_force_underflow_complex): Likewise.
15639 * math/e_exp2_template.c: Include <math-underflow.h>.
15640 * math/k_casinh_template.c: Likewise.
15641 * math/s_catan_template.c: Likewise.
15642 * math/s_catanh_template.c: Likewise.
15643 * math/s_ccosh_template.c: Likewise.
15644 * math/s_cexp_template.c: Likewise.
15645 * math/s_clog10_template.c: Likewise.
15646 * math/s_clog_template.c: Likewise.
15647 * math/s_csin_template.c: Likewise.
15648 * math/s_csinh_template.c: Likewise.
15649 * math/s_csqrt_template.c: Likewise.
15650 * math/s_ctan_template.c: Likewise.
15651 * math/s_ctanh_template.c: Likewise.
15652 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15653 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15654 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15655 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15656 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15657 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15658 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15660 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15661 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15662 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15663 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15664 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15665 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15666 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15667 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15668 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15669 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15670 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15671 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15672 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15673 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15674 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15675 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15676 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15677 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15678 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15679 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15680 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15681 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15682 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15683 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15684 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15685 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15686 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15687 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15688 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15689 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15690 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15691 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15692 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15693 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15694 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15695 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15696 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15697 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15698 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15699 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15700 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15701 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15702 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15703 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15704 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15705 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15706 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15707 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15708 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15709 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15710 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15711 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15712 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15713 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15714 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15715 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15716 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15717 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15718 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15719 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15720 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15721 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15722 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15723 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15724 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15725 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
15726 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15727 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15728 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15729 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15730 * sysdeps/x86/fpu/powl_helper.c: Likewise.
15731 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
15732 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
15733 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15734 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15735 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15737 2018-05-09 Joseph Myers <joseph@codesourcery.com>
15739 * sysdeps/generic/math-barriers.h: New file.
15740 * sysdeps/generic/math_private.h [!math_opt_barrier]
15741 (math_opt_barrier): Move to math-barriers.h.
15742 [!math_opt_barrier] (math_force_eval): Likewise.
15743 * sysdeps/aarch64/fpu/math-barriers.h: New file.
15744 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
15746 (math_force_eval): Likewise.
15747 * sysdeps/alpha/fpu/math-barriers.h: New file.
15748 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
15750 (math_force_eval): Likewise.
15751 * sysdeps/x86/fpu/math-barriers.h: New file.
15752 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
15754 (math_force_eval): Likewise.
15755 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
15756 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
15757 multiple-include guard for rename.
15758 * sysdeps/powerpc/fpu/math-barriers.h: New file.
15759 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
15761 (math_force_eval): Likewise.
15763 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15767 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
15769 * stdlib/Makefile (test-bz22786): New test.
15770 * stdlib/test-bz22786.c: New test.
15772 2018-05-09 Joseph Myers <joseph@codesourcery.com>
15774 * include/math-narrow-eval.h: New file. Contents moved from ....
15775 * sysdeps/generic/math_private.h: ... here.
15776 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
15777 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15778 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
15779 * stdlib/strtod_l.c: Likewise.
15780 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15781 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15782 * sysdeps/i386/fpu/s_fdim.c: Likewise.
15783 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15784 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15785 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15786 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15787 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15788 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15789 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15790 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15791 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
15792 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15793 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15794 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15795 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15796 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15797 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15798 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15799 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15800 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15801 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15802 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15803 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15804 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15805 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15806 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15807 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15808 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15810 2018-05-08 Andreas Schwab <schwab@suse.de>
15812 * sysdeps/nptl/internaltypes.h: Fix comment.
15814 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
15816 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15817 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
15820 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15822 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
15823 of I into loop header.
15824 * benchtests/bench-memmove-walk.c
15825 (test_main): Likewise.
15827 2018-05-07 Alexandre Oliva <oliva@gnu.org>
15830 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15831 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15833 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15836 * elf/dl-load.c (open_verify): Fix stack overflow.
15837 * elf/Makefile (tst-big-note): New test.
15838 * elf/tst-big-note-lib.S: New.
15839 * elf/tst-big-note.c: New.
15841 2018-05-04 Joseph Myers <joseph@codesourcery.com>
15843 * scripts/abilist.awk: Ignore absolute symbols.
15844 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
15845 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
15846 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
15847 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
15848 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
15849 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
15850 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15851 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
15852 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
15853 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
15854 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
15855 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
15856 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
15857 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
15858 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
15859 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15860 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
15861 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
15862 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15863 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
15864 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15865 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
15866 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
15867 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
15868 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
15869 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
15870 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
15871 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
15872 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15873 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
15874 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
15875 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15876 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
15877 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15878 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
15879 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
15880 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
15881 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
15882 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
15883 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
15884 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
15885 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15886 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
15887 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
15888 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15889 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
15890 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15891 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
15892 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
15893 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
15894 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
15895 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
15896 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
15897 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
15898 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15899 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
15900 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
15901 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15902 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
15903 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15904 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
15905 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
15906 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
15907 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
15908 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
15909 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
15910 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
15911 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15912 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
15913 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
15914 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15915 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
15916 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15917 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
15918 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
15919 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
15920 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
15921 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
15922 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
15923 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
15924 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15925 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
15926 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
15927 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15928 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
15929 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15930 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
15931 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
15932 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
15933 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
15934 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
15935 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15937 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
15938 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15939 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
15940 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
15941 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15942 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
15943 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
15944 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
15945 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
15946 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
15947 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
15948 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
15949 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15951 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
15952 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15953 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
15954 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
15955 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15956 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
15957 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
15958 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
15959 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
15960 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
15961 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
15962 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
15963 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
15964 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
15965 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15966 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
15967 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
15968 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15969 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
15970 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
15971 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
15972 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
15973 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
15974 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
15975 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15976 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
15977 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15979 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
15980 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
15981 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
15982 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
15983 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15984 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
15985 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
15986 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
15987 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
15988 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
15989 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
15990 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
15991 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
15992 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
15993 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
15994 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
15995 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
15996 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
15997 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15998 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16000 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
16001 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
16002 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
16003 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16004 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
16005 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
16006 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
16007 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
16008 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
16009 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
16010 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16011 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
16012 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
16013 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16014 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
16015 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
16016 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
16017 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
16018 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16019 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
16020 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
16021 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16022 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
16023 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
16024 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
16025 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
16026 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
16027 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
16028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
16029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
16031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
16034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
16035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
16036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
16037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
16039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
16041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
16042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
16045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
16050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
16051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
16057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
16058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
16063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
16064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
16065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
16069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
16070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
16078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
16079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
16080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
16087 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16088 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
16090 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16091 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16092 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
16093 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16094 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16095 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16096 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
16097 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
16098 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16099 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
16100 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16101 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
16102 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
16103 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16105 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16106 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
16107 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
16108 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16109 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
16110 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
16111 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
16112 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
16113 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
16114 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
16115 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
16116 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16118 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16119 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
16120 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
16121 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16122 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
16123 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
16124 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
16125 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
16126 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
16127 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
16128 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
16129 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
16130 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
16131 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16132 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
16133 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
16134 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16135 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
16136 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
16137 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
16138 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
16139 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
16140 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
16141 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
16142 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16144 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
16145 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16146 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
16147 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
16148 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16149 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
16150 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
16151 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
16152 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
16153 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
16154 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
16155 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
16156 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16158 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
16159 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16160 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
16161 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
16162 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16163 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
16164 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
16165 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
16166 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
16167 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
16168 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
16169 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
16170 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
16171 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
16172 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16173 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
16174 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
16175 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16176 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
16177 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
16178 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
16179 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
16180 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
16181 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
16182 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16183 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
16184 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
16185 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
16186 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16187 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
16188 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
16189 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16190 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
16191 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
16192 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
16193 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
16194 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
16195 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
16197 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16200 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
16201 Use atomic_load_acquire to load __tid.
16203 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16205 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
16206 Restore the pointer into %rdx, after syscall and use %rdx,
16207 instead of %rsi, to restore context.
16209 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16211 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
16212 Pop the pointer into %rdx after syscall and use %rdx, instead
16213 of %rsi, to restore context.
16215 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16217 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
16218 handlers after setjmp.
16219 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
16221 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
16222 <libc-pointer-arith.h>.
16223 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
16224 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
16225 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
16226 _JUMP_BUF_SIGSET_BITS_PER_WORD.
16227 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
16228 * sysdeps/x86/__longjmp_cancel.S: New file.
16229 * sysdeps/x86/longjmp.c: Likewise.
16230 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
16232 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16234 * NEWS: Add ustat.h deprecation entry.
16235 * bits/ustat.h: Remove file.
16236 * misc/sys/ustat.h: Likewise.
16237 * misc/ustat.h: Likewise.
16238 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
16239 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
16240 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
16241 compatibility mode.
16242 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
16243 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
16244 generic Linux implementation.
16246 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16248 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
16249 * math/w_expl_compat.c: Likewise.
16250 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
16252 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
16254 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16256 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16258 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
16259 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
16260 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
16262 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
16263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16264 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16265 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
16266 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
16269 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16271 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
16273 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
16274 * math/w_asin_template.c: Likewise.
16275 * math/w_atanh_template.c: Likewise.
16277 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16279 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
16280 to powerpc/powerpc64/be for big-endian.
16281 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
16284 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
16285 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
16286 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
16287 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
16288 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16289 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
16290 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
16291 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
16292 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
16293 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16294 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
16295 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
16296 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
16297 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
16298 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
16299 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
16300 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
16301 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
16302 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
16303 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
16304 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
16305 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16306 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
16307 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
16308 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
16309 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16310 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
16311 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
16312 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
16313 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16314 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16315 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16317 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
16318 adjusted to imply powerpc64 and older processors on powerpc64/be.
16319 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
16320 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
16321 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
16322 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
16323 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
16324 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
16325 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
16326 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
16327 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
16328 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
16329 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
16330 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
16331 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
16332 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
16333 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
16334 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
16335 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
16336 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
16337 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
16338 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
16339 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
16340 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
16341 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
16342 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
16343 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
16344 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
16345 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
16346 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
16347 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
16348 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
16349 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
16351 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
16352 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
16353 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
16354 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
16356 * sysdeps/powerpc/powerpc64/be/Implies: New file.
16357 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
16358 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
16359 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
16361 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
16362 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
16363 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
16364 * sysdeps/powerpc/powerpc64le/configure: Likewise.
16365 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
16366 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
16367 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
16368 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
16369 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
16370 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
16371 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
16373 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
16374 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
16375 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
16376 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
16377 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
16378 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
16379 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
16380 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
16381 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
16382 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
16383 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
16385 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
16386 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
16387 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
16388 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
16389 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
16390 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
16391 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
16392 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
16393 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
16394 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
16395 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
16396 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
16398 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
16399 and adjusted to imply olders processors.
16400 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
16401 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
16402 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
16403 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
16404 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
16405 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
16406 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
16407 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
16408 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
16409 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
16410 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
16412 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
16414 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
16415 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
16417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
16419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
16420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
16422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
16424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
16426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
16428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
16429 powerpc64 and adjusted.
16430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
16431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
16432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
16435 2018-04-27 Joseph Myers <joseph@codesourcery.com>
16437 * sysdeps/tile: Remove.
16438 * sysdeps/unix/sysv/linux/tile: Likewise.
16439 * README (tilegx-*-linux-gnu): Remove from list of supported
16441 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
16442 contribution of support for generic Linux kernel syscall
16444 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
16445 tilegx configurations.
16446 (Config.install_linux_headers): Do not handle tile.
16447 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
16449 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
16450 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
16451 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16452 conditional undefine and redefine.
16453 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
16455 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16456 conditional undefine and redefine.
16458 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
16460 * signal/tst-sigaction.c: New file to test BZ #23069.
16461 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
16463 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16466 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
16467 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
16468 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
16469 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16471 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16473 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
16474 _DIRENT_MATCHES_DIRENT64 is not defined.
16475 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
16476 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
16478 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
16479 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
16481 2018-04-25 Joseph Myers <joseph@codesourcery.com>
16483 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
16484 version to GCC 8 branch.
16486 2018-04-24 Joseph Myers <joseph@codesourcery.com>
16488 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
16489 (check_no_hidden): Use type of original function when declaring
16492 * sysdeps/unix/sysv/linux/sys/ptrace.h
16493 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
16494 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
16495 (struct __ptrace_seccomp_metadata): New type.
16496 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16497 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16498 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
16499 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16500 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
16501 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16502 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16503 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16504 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
16505 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16506 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
16507 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16508 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
16509 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16510 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
16511 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16513 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16515 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
16517 * dirent/versionsort.c (versionsort): Likewise.
16518 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
16519 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
16520 * dirent/versionsort64.c (versionsort64): Likewise.
16521 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
16522 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
16523 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
16524 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
16525 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
16526 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
16527 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
16528 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
16529 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
16530 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
16531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
16532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
16533 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
16534 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
16536 2018-04-23 Joseph Myers <joseph@codesourcery.com>
16538 * elf/elf.h (NT_PPC_PKEY): New macro.
16540 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
16543 * localedata/locales/hr_HR: fix thousands_sep and
16546 2018-04-20 Joseph Myers <joseph@codesourcery.com>
16548 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
16549 (XTABS): Define to TAB3.
16551 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16553 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16555 * dirent/scandir-tail-common.c: New file.
16556 * dirent/scandir-tail.c: Use scandir-tail-common.c.
16557 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
16558 * dirent/scandir.c: Use scandir-tail-common.c.
16559 * dirent/scandirat.c: Likewise.
16560 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
16561 * dirent/scandir64.c (scandir64): Always build and alias to scandir
16562 if _DIRENT_MATCHES_DIRENT64 is defined.
16563 * dirent/scandirat64.c (scandirat64): Likewise.
16564 * include/dirent.h (__scandir_tail): Only define iff
16565 _DIRENT_MATCHES_DIRENT64 is not defined.
16566 (__scandir64_tail): Define regardless.
16567 (__scandirat, scandirat64): Remove libc_hidden_proto.
16568 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
16569 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
16570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
16571 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
16572 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16573 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
16574 * sysdeps/unix/sysv/linux/scandir64.c: New file.
16576 2018-04-20 Joseph Myers <joseph@codesourcery.com>
16578 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
16580 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16582 (_dl_aarch64_cap_flags): Add asimdfhm.
16584 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
16586 * sysdeps/nios2/libm-test-ulps: Update.
16588 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16590 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
16591 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
16593 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
16595 (_DIRENT_MATCHES_DIRENT64): Undef
16596 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
16597 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
16598 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
16599 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
16600 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
16601 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
16602 use getdents64 syscalls as base.
16603 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
16604 symbol if required.
16605 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
16606 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
16607 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
16608 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
16609 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
16610 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
16611 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
16612 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
16613 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16614 (__get_clockfreq_via_proc_openprom): Use __getdents64.
16615 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
16617 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16619 * scripts/test_printers_common.py (init_test): Disable lock elision.
16621 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16623 * math/test-tgmath.c (count_double, count_float,
16624 count_ldouble, count_cdouble, count_cfloat,
16625 count_cldouble): Use volatile int.
16627 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16629 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
16630 (conformtest-xfail-conds): Add i386-gnu.
16631 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
16633 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
16634 ipc_perm.cuid, ipc_perm.cgid): Likewise.
16635 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
16636 msqid_ds.msg_lrpid): Likewise.
16637 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
16639 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
16640 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
16641 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
16642 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
16644 (struct statvfs64): Likewise.
16645 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
16647 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
16648 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
16649 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
16650 instead of wait_queue.
16651 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
16652 instead of vm_area_struct.
16653 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
16654 struct sched_param definition to it.
16655 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16656 * bits/types/struct_sched_param.h: New file.
16657 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
16658 <bits/types/struct_sched_param.h> instead of <sched.h>.
16659 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
16660 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
16661 generic version but include <bits/pthreadtypes.h> to make struct
16662 sigevent's sigev_notify_attributes field a pthread_attr_t*.
16663 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
16665 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
16666 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
16667 [__USE_XOPEN] (OFDEL): New macro.
16668 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
16669 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
16670 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
16672 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
16673 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
16674 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
16676 * sysdeps/i386/sys/ucontext.h: Likewise.
16677 * sysdeps/m68k/sys/ucontext.h: Likewise.
16678 * sysdeps/mips/sys/ucontext.h: Likewise.
16679 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
16680 * sysdeps/mach/hurd/i386/Makefile
16681 (test-xfail-POSIX/fcntl.h/conform): Add.
16682 (test-xfail-POSIX/signal.h/conform): Add.
16683 (test-xfail-POSIX/semaphore.h/conform): Add.
16684 (test-xfail-POSIX/regex.h/conform): Add.
16685 (test-xfail-POSIX/aio.h/conform): Add.
16686 (test-xfail-POSIX/mqueue.h/conform): Add.
16687 (test-xfail-POSIX/sys/types.h/conform): Add.
16688 (test-xfail-UNIX98/fcntl.h/conform): Add.
16689 (test-xfail-UNIX98/netdb.h/conform): Add.
16690 (test-xfail-UNIX98/signal.h/conform): Add.
16691 (test-xfail-UNIX98/semaphore.h/conform): Add.
16692 (test-xfail-UNIX98/regex.h/conform): Add.
16693 (test-xfail-UNIX98/aio.h/conform): Add.
16694 (test-xfail-UNIX98/ftw.h/conform): Add.
16695 (test-xfail-UNIX98/mqueue.h/conform): Add.
16696 (test-xfail-UNIX98/netinet/in.h/conform): Add.
16697 (test-xfail-UNIX98/sys/wait.h/conform): Add.
16698 (test-xfail-UNIX98/sys/sem.h/conform): Add.
16699 (test-xfail-UNIX98/sys/uio.h/conform): Add.
16700 (test-xfail-UNIX98/sys/socket.h/conform): Add.
16701 (test-xfail-UNIX98/sys/types.h/conform): Add.
16702 (test-xfail-UNIX98/stdlib.h/conform): Add.
16703 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
16704 (test-xfail-POSIX2008/fcntl.h/conform): Add.
16705 (test-xfail-POSIX2008/netdb.h/conform): Add.
16706 (test-xfail-POSIX2008/signal.h/conform): Add.
16707 (test-xfail-POSIX2008/semaphore.h/conform): Add.
16708 (test-xfail-POSIX2008/regex.h/conform): Add.
16709 (test-xfail-POSIX2008/aio.h/conform): Add.
16710 (test-xfail-POSIX2008/mqueue.h/conform): Add.
16711 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
16712 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
16713 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
16714 (test-xfail-POSIX2008/sys/types.h/conform): Add.
16715 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
16716 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
16717 (test-xfail-XOPEN2K/netdb.h/conform): Add.
16718 (test-xfail-XOPEN2K/signal.h/conform): Add.
16719 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
16720 (test-xfail-XOPEN2K/regex.h/conform): Add.
16721 (test-xfail-XOPEN2K/aio.h/conform): Add.
16722 (test-xfail-XOPEN2K/ftw.h/conform): Add.
16723 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
16724 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
16725 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
16726 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
16727 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
16728 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
16729 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
16730 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
16731 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
16732 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
16733 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
16734 (test-xfail-XOPEN2K8/signal.h/conform): Add.
16735 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
16736 (test-xfail-XOPEN2K8/regex.h/conform): Add.
16737 (test-xfail-XOPEN2K8/aio.h/conform): Add.
16738 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
16739 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
16740 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
16741 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
16742 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
16743 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
16744 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
16745 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
16746 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
16747 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
16748 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
16750 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
16751 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
16753 2018-04-18 Joseph Myers <joseph@codesourcery.com>
16755 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16756 --enable-obsolete for powerpc-linux-gnuspe.
16758 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16760 * conform/data/sys/un.h-data: Allow sun_ prefix.
16761 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
16763 * sysdeps/mach/include/mach.h: Likewise.
16764 * sysdeps/mach/include/mach/mig_support.h: Likewise.
16765 * sysdeps/mach/include/mach_error.h: Likewise.
16767 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16769 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
16770 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
16771 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
16772 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
16774 2018-04-16 Andreas Schwab <schwab@suse.de>
16777 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
16779 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16781 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
16782 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
16784 2018-04-12 DJ Delorie <dj@redhat.com>
16786 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16789 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16791 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
16792 (struct kernel_sigaction): Use the same definition on 31bit as is used
16795 2018-04-09 Florian Weimer <fweimer@redhat.com>
16798 * resolv/res_send.c (send_dg): Use designated initializers instead
16799 of assignment to zero-initialize other fields of struct mmsghdr.
16801 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16803 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
16804 __READDIR_ALIAS): Undefine after usage.
16805 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
16806 __READDIR_R_ALIAS): Likewise.
16807 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
16808 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
16809 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
16810 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
16811 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
16812 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
16813 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16814 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16815 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
16816 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
16817 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
16818 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
16819 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16820 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
16821 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
16822 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
16823 * sysdeps/unix/sysv/linux/readdir.c: New file.
16824 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
16825 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
16826 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
16828 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16830 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
16832 * manual/charset.texi (Converting a Character): Fix typo.
16834 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16838 * sysdeps/arm/libm-test-ulps: Update.
16840 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
16841 as base implementation.
16842 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16843 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16844 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16845 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16846 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16847 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
16848 remove unrequired definitions and update comments.
16849 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
16850 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
16851 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
16852 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
16853 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
16854 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
16855 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
16856 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
16857 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
16858 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
16859 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
16860 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16861 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16862 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
16863 and RESET_SA_RESTORER hooks.
16865 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
16867 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16869 2018-04-05 Florian Weimer <fweimer@redhat.com>
16871 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
16872 integer overflow, memory leak on error, and indeterminate errno
16873 value. Add a null wide character to terminate the result string.
16874 * manual/charset.texi (Converting a Character): Mention embedded
16875 null bytes in the mbrtowc input string. Explain what happens in
16876 the -2 result case. Do not claim that mbrtowc is simple or
16877 obvious to use. Adjust the description of the code example. Use
16878 @code, not @var, for concrete variables.
16880 2018-04-05 Florian Weimer <fweimer@redhat.com>
16882 * manual/examples/mbstouwcs.c: New file.
16883 * manual/charset.texi (Converting a Character): Include it.
16885 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16887 * include/dirent.h (dirfd): Add hidden proto.
16888 * dirent/dirfd.c (dirfd): Add hidden def.
16889 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
16890 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
16892 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16894 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
16895 sin, cos and sincos to 1 ULP.
16897 2018-04-04 Maciej W. Rozycki <macro@mips.com>
16900 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
16902 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
16903 * elf/tst-absolute-sym.c: New file.
16904 * elf/tst-absolute-sym-lib.c: New file.
16905 * elf/tst-absolute-sym-lib.lds: New file.
16906 * elf/Makefile (tests): Add `tst-absolute-sym'.
16907 (modules-names): Add `tst-absolute-sym-lib'.
16908 (LDLIBS-tst-absolute-sym-lib.so): New variable.
16909 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
16910 ($(objpfx)tst-absolute-sym): New dependency.
16913 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
16915 (SYMBOL_ADDRESS): New macro.
16916 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
16917 SYMBOL_ADDRESS for symbol address calculation.
16918 * elf/dl-runtime.c (_dl_fixup): Likewise.
16919 (_dl_profile_fixup): Likewise.
16920 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
16921 * elf/rtld.c (dl_main): Likewise.
16922 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
16923 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
16924 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
16925 (elf_machine_rela): Likewise.
16926 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
16927 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
16928 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16929 (elf_machine_rela): Likewise.
16930 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16931 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
16932 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
16933 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
16935 (elf_machine_reloc): Likewise.
16936 (elf_machine_got_rel): Likewise.
16937 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
16938 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
16939 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16941 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16943 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
16944 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16946 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16948 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16949 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16951 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16953 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
16954 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16956 2018-04-04 Zack Weinberg <zackw@panix.com>
16958 * sysdeps/generic/internal-signals.h: Include signal.h,
16959 sigsetops.h, and stdbool.h.
16960 (__libc_signal_block_all): Actually block all signals.
16961 (__libc_signal_block_app): Likewise.
16962 (__libc_signal_restore_set): Actually restore the signal mask.
16964 2018-04-04 Florian Weimer <fweimer@redhat.com>
16966 inet: Actually build and run tst-deadline.
16967 * inet/Makefile (tests-internal): Add tst-deadline and do not
16968 overwrite the variable.
16969 (tests-static-internal): Remove variable.
16971 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
16974 * bits/uio-ext.h (RWF_APPEND): New.
16975 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
16976 * manual/llio.texi: Document RWF_APPEND.
16977 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
16978 (RWF_SUPPORTED): Add RWF_APPEND.
16980 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16983 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
16984 check for internal nptl signals.
16985 * nptl/sigaction.c (__sigaction): Likewise.
16986 * signal/sigaddset.c (sigaddset): Likewise.
16987 * signal/sigdelset.c (sigdelset): Likewise.
16988 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16989 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
16991 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
16992 to filter out internal nptl signals.
16993 * signal/tst-sigset.c (do_test): Check ech signal indidually and
16994 also check realtime signals using standard macros.
16995 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
16996 __is_internal_signal, __libc_signal_block_all,
16997 __libc_signal_block_app, __libc_signal_restore_set): New functions.
16998 * sysdeps/nptl/sigfillset.c: Remove file.
16999 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
17000 Change return to bool.
17001 (__clear_internal_signals): Remove SIGTIMER clean since it is
17002 equal to SIGCANEL on Linux.
17003 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
17004 signal set was constructed using standard functions.
17006 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17008 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
17009 ifname is too long.
17010 * hurd/hurdsig.c (interrupted_reply_port_location): Use
17011 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
17012 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
17014 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
17015 * signal/sigaddset.c: Include <sigsetopts.h>.
17016 * signal/sigdelset.c: Likewise.
17018 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17020 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
17022 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
17023 logic as sin and cos.
17025 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17027 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
17028 inputs. Return correct sign.
17029 (do_sincos): Remove small input check before do_sin, let do_sin set
17034 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17036 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
17037 (do_cos_slow): Likewise.
17038 (do_sin_slow): Likewise.
17039 (reduce_and_compute): Likewise.
17044 (sloww1): Likewise.
17045 (sloww2): Likewise.
17047 (bslow1): Likewise.
17048 (bslow2): Likewise.
17049 (cslow2): Likewise.
17051 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17053 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
17054 (do_cos): Remove corp parameter and calculations.
17055 (do_sin): Likewise.
17056 (do_sincos): Remove cor variable.
17057 (__sin): Use do_sincos for huge inputs.
17059 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17060 (reduce_and_compute_sincos): Remove unused function.
17062 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17064 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
17065 reduce_sincos, improve accuracy to 136 bits.
17066 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
17067 (__sin): Use improved reduction and simplified do_sincos calculation.
17069 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17071 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17073 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
17074 (do_sincos_2): Likewise.
17075 (__sin): Remove middle range reduction case.
17077 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
17080 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17082 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
17083 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
17086 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
17088 2018-04-03 Joseph Myers <joseph@codesourcery.com>
17090 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17093 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17095 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
17096 Remove definitions.
17097 (opendir_oflags): Use O_DIRECTORY regardless.
17098 (__opendir, __opendirat): Remove need_isdir_precheck usage.
17099 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
17101 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17103 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
17104 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
17106 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
17107 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
17108 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
17109 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
17110 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
17111 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
17113 * htl/Makefile: Bump licence to LGPL 2.1+.
17114 * htl/alloca_cutoff.c: Likewise.
17115 * htl/cthreads-compat.c: Likewise.
17116 * htl/lockfile.c: Likewise.
17117 * htl/pt-alloc.c: Likewise.
17118 * htl/pt-cancel.c: Likewise.
17119 * htl/pt-cleanup.c: Likewise.
17120 * htl/pt-create.c: Likewise.
17121 * htl/pt-dealloc.c: Likewise.
17122 * htl/pt-detach.c: Likewise.
17123 * htl/pt-exit.c: Likewise.
17124 * htl/pt-getattr.c: Likewise.
17125 * htl/pt-initialize.c: Likewise.
17126 * htl/pt-internal.h: Likewise.
17127 * htl/pt-join.c: Likewise.
17128 * htl/pt-self.c: Likewise.
17129 * htl/pt-setcancelstate.c: Likewise.
17130 * htl/pt-setcanceltype.c: Likewise.
17131 * htl/pt-sigmask.c: Likewise.
17132 * htl/pt-spin-inlines.c: Likewise.
17133 * htl/pt-testcancel.c: Likewise.
17134 * htl/pt-yield.c: Likewise.
17135 * htl/tests/test-1.c: Likewise.
17136 * htl/tests/test-10.c: Likewise.
17137 * htl/tests/test-11.c: Likewise.
17138 * htl/tests/test-12.c: Likewise.
17139 * htl/tests/test-13.c: Likewise.
17140 * htl/tests/test-14.c: Likewise.
17141 * htl/tests/test-15.c: Likewise.
17142 * htl/tests/test-16.c: Likewise.
17143 * htl/tests/test-17.c: Likewise.
17144 * htl/tests/test-2.c: Likewise.
17145 * htl/tests/test-3.c: Likewise.
17146 * htl/tests/test-4.c: Likewise.
17147 * htl/tests/test-5.c: Likewise.
17148 * htl/tests/test-6.c: Likewise.
17149 * htl/tests/test-7.c: Likewise.
17150 * htl/tests/test-8.c: Likewise.
17151 * htl/tests/test-9.c: Likewise.
17152 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
17153 * sysdeps/htl/bits/cancelation.h: Likewise.
17154 * sysdeps/htl/bits/pthread-np.h: Likewise.
17155 * sysdeps/htl/bits/pthread.h: Likewise.
17156 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
17157 * sysdeps/htl/bits/semaphore.h: Likewise.
17158 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
17159 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
17160 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
17161 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
17162 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
17163 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
17164 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
17165 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
17166 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
17167 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
17168 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
17169 * sysdeps/htl/old_pt-atfork.c: Likewise.
17170 * sysdeps/htl/pt-atfork.c: Likewise.
17171 * sysdeps/htl/pt-attr-destroy.c: Likewise.
17172 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
17173 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
17174 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
17175 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
17176 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
17177 * sysdeps/htl/pt-attr-getscope.c: Likewise.
17178 * sysdeps/htl/pt-attr-getstack.c: Likewise.
17179 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
17180 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
17181 * sysdeps/htl/pt-attr-init.c: Likewise.
17182 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
17183 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
17184 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
17185 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
17186 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
17187 * sysdeps/htl/pt-attr-setscope.c: Likewise.
17188 * sysdeps/htl/pt-attr-setstack.c: Likewise.
17189 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
17190 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
17191 * sysdeps/htl/pt-attr.c: Likewise.
17192 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
17193 * sysdeps/htl/pt-barrier-init.c: Likewise.
17194 * sysdeps/htl/pt-barrier-wait.c: Likewise.
17195 * sysdeps/htl/pt-barrier.c: Likewise.
17196 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
17197 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
17198 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
17199 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
17200 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
17201 * sysdeps/htl/pt-cond-destroy.c: Likewise.
17202 * sysdeps/htl/pt-cond-init.c: Likewise.
17203 * sysdeps/htl/pt-cond-signal.c: Likewise.
17204 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
17205 * sysdeps/htl/pt-cond-wait.c: Likewise.
17206 * sysdeps/htl/pt-cond.c: Likewise.
17207 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
17208 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
17209 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
17210 * sysdeps/htl/pt-condattr-init.c: Likewise.
17211 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
17212 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
17213 * sysdeps/htl/pt-destroy-specific.c: Likewise.
17214 * sysdeps/htl/pt-equal.c: Likewise.
17215 * sysdeps/htl/pt-getconcurrency.c: Likewise.
17216 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
17217 * sysdeps/htl/pt-getschedparam.c: Likewise.
17218 * sysdeps/htl/pt-getspecific.c: Likewise.
17219 * sysdeps/htl/pt-init-specific.c: Likewise.
17220 * sysdeps/htl/pt-key-create.c: Likewise.
17221 * sysdeps/htl/pt-key-delete.c: Likewise.
17222 * sysdeps/htl/pt-key.h: Likewise.
17223 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
17224 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
17225 * sysdeps/htl/pt-mutex-init.c: Likewise.
17226 * sysdeps/htl/pt-mutex-lock.c: Likewise.
17227 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
17228 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
17229 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
17230 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
17231 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
17232 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
17233 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
17234 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
17235 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
17236 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
17237 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
17238 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
17239 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
17240 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
17241 * sysdeps/htl/pt-mutexattr.c: Likewise.
17242 * sysdeps/htl/pt-once.c: Likewise.
17243 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
17244 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
17245 * sysdeps/htl/pt-rwlock-init.c: Likewise.
17246 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
17247 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
17248 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
17249 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
17250 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
17251 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
17252 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
17253 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
17254 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
17255 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
17256 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
17257 * sysdeps/htl/pt-setconcurrency.c: Likewise.
17258 * sysdeps/htl/pt-setschedparam.c: Likewise.
17259 * sysdeps/htl/pt-setschedprio.c: Likewise.
17260 * sysdeps/htl/pt-setspecific.c: Likewise.
17261 * sysdeps/htl/pt-spin.c: Likewise.
17262 * sysdeps/htl/pt-startup.c: Likewise.
17263 * sysdeps/htl/pthread.h: Likewise.
17264 * sysdeps/htl/sem-close.c: Likewise.
17265 * sysdeps/htl/sem-destroy.c: Likewise.
17266 * sysdeps/htl/sem-getvalue.c: Likewise.
17267 * sysdeps/htl/sem-init.c: Likewise.
17268 * sysdeps/htl/sem-open.c: Likewise.
17269 * sysdeps/htl/sem-post.c: Likewise.
17270 * sysdeps/htl/sem-timedwait.c: Likewise.
17271 * sysdeps/htl/sem-trywait.c: Likewise.
17272 * sysdeps/htl/sem-unlink.c: Likewise.
17273 * sysdeps/htl/sem-wait.c: Likewise.
17274 * sysdeps/hurd/htl/pt-kill.c: Likewise.
17275 * sysdeps/i386/htl/pt-machdep.h: Likewise.
17276 * sysdeps/mach/htl/pt-block.c: Likewise.
17277 * sysdeps/mach/htl/pt-spin.c: Likewise.
17278 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
17279 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
17280 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
17281 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
17282 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
17283 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
17284 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
17285 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
17286 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
17287 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
17288 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
17289 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
17290 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
17291 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
17292 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
17293 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
17294 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
17295 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
17296 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
17297 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
17298 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
17299 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
17300 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
17301 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
17302 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
17303 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
17304 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
17305 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
17306 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
17307 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
17308 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
17309 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
17310 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
17311 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
17312 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
17313 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
17314 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
17315 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
17316 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
17317 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
17318 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
17319 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
17320 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
17322 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
17323 * README: Remove the mention of out-of-tree patches needed for
17326 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
17327 (UTIME_NOW, UTIME_OMIT): Define macros.
17329 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
17330 instead of pthread_detach.
17331 (__cthread_fork): Call __pthread_create instead of pthread_create.
17332 (__cthread_keycreate): Call __pthread_key_create instead of
17333 pthread_key_create.
17334 (__cthread_getspecific): Call __pthread_getspecific instead of
17335 pthread_getspecific.
17336 (__cthread_setspecific): Call __pthread_setspecific instead of
17337 pthread_setspecific.
17338 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
17339 __pthread_mutex_unlock instead of pthread_mutex_lock and
17340 pthread_mutex_unlock.
17341 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
17342 ___pthread_get_cleanup_stack.
17343 (__pthread_get_cleanup_stack): New strong alias.
17344 * htl/pt-create.c: Include <pthreadP.h>.
17345 (entry_point): Call __pthread_exit instead of pthread_exit.
17346 (pthread_create): Rename to __pthread_create.
17347 (pthread_create): New strong alias.
17348 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
17349 (pthread_detach): New strong alias.
17350 (__pthread_detach): Call __pthread_cond_broadcast instead of
17351 pthread_cond_broadcast.
17352 * htl/pt-exit.c: Include <pthreadP.h>.
17353 (__pthread_exit): Call __pthread_setcancelstate and
17354 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
17355 __pthread_get_cleanup_stack.
17356 * htl/pt-testcancel.c: Include <pthreadP.h>.
17357 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
17358 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
17359 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
17360 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
17361 pthread_attr_getstacksize.
17362 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
17363 Rename to __pthread_attr_getstackaddr.
17364 (pthread_attr_getstackaddr): New strong alias.
17365 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
17366 Rename to __pthread_attr_getstacksize.
17367 (pthread_attr_getstacksize): New strong alias.
17368 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
17369 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
17370 (pthread_attr_setstack): New strong alias.
17371 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
17372 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
17373 pthread_attr_getstacksize, pthread_attr_setstacksize and
17374 pthread_attr_setstackaddr.
17375 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
17376 Rename to __pthread_attr_setstackaddr.
17377 (pthread_attr_setstackaddr): New strong alias.
17378 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
17379 Rename to __pthread_attr_setstacksize.
17380 (pthread_attr_setstacksize): New strong alias.
17381 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
17382 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
17384 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
17385 (__pthread_key_create): New hidden def.
17386 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
17387 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
17388 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
17389 __pthread_exit, __pthread_key_create, __pthread_getspecific,
17390 __pthread_setspecific, __pthread_setcancelstate,
17391 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
17392 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
17393 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
17395 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
17396 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
17397 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
17398 (pthread_attr_setstackaddr): New strong alias.
17399 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
17400 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
17401 (pthread_attr_setstacksize): New strong alias.
17402 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
17403 (call_exit): Call __pthread_exit instead of pthread_exit.
17404 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
17405 (_pthread_mutex_init): New hidden definition.
17406 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
17407 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
17408 instead of pthread_attr_init and pthread_attr_setstack.
17410 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
17411 __vm_deallocate instead of vm_allocate and vm_deallocate.
17412 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
17414 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
17416 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
17418 * hurd/siginfo.c: Include <libioP.h>.
17419 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
17420 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
17422 * mach/devstream.c: Include <libioP.h>.
17423 (dealloc_ref): Call __mach_port_deallocate instead of
17424 mach_port_deallocate.
17425 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
17426 Call __mach_port_deallocate instead of mach_port_deallocate.
17427 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
17429 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
17431 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
17432 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
17433 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
17435 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
17437 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
17438 instead of sysconf.
17439 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
17440 __clock_gettime instead of clock_gettime.
17441 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
17442 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17443 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
17444 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17445 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
17447 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
17448 __clock_gettime and __nanosleep instead of clock_gettime and
17450 * hurd/catch-signal.c (hurd_catch_signal): Rename to
17451 __hurd_catch_signal.
17452 (hurd_catch_signal): New strong alias.
17453 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
17454 __hurd_catch_signal instead of hurd_catch_signal.
17455 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
17456 * hurd/hurdexec.c (_hurd_init): Add hidden def.
17457 * hurd/hurdinit.c (_hurd_init): Add hidden def.
17458 * hurd/hurdsig.c: Include <mach/mig_support.h>.
17459 (_hurd_thread_sigstate): Add hidden def.
17460 (_hurd_internal_post_signal): Use __mutex_unlock instead of
17462 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
17463 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
17464 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
17465 __hurd_file_name_path_lookup.
17466 (hurd_file_name_path_lookup): New strong alias.
17467 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
17468 hurd_file_name_path_lookup.
17469 * mach/errstring.c (mach_error_type): Add hidden def.
17470 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
17471 * mach/mutex-init.c (__mutex_init): Add hidden def.
17472 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
17473 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
17474 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
17475 * sysdeps/mach/hurd/getcwd.c
17476 (_hurd_canonicalize_directory_name_internal): Rename to
17477 __hurd_canonicalize_directory_name_internal.
17478 (_hurd_canonicalize_directory_name_internal): New strong alias.
17479 (__canonicalize_directory_name_internal, __getcwd): Call
17480 __hurd_canonicalize_directory_name_internal instead of
17481 _hurd_canonicalize_directory_name_internal.
17482 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
17483 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
17485 * sysdeps/hurd/include/hurd.h: New file.
17486 * sysdeps/hurd/include/hurd/fd.h: New file.
17487 * sysdeps/hurd/include/hurd/signal.h: New file.
17488 * sysdeps/mach/include/lock-intern.h: New file.
17489 * sysdeps/mach/include/mach.h: New file.
17490 * sysdeps/mach/include/mach/mig_support.h: New file.
17491 * sysdeps/mach/include/mach_error.h: New file.
17492 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
17494 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
17495 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
17496 _HEADER_H_HIDDEN_DEF macro.
17497 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
17498 _hurd_fd_error_signal): Add hidden prototype.
17499 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
17501 * libio/iolibio.h (_IO_puts): New hidden prototype.
17502 * libio/ioputs.c (_IO_puts): New hidden def.
17503 * sysdeps/mach/hurd/localplt.data: New file.
17505 2018-04-02 Agustina Arzille <avarzille@riseup.net>
17506 Amos Jeffries <squid3@treenet.co.nz>
17507 David Michael <fedora.dm0@gmail.com>
17508 Marco Gerards <marco@gnu.org>
17509 Marcus Brinkmann <marcus@gnu.org>
17510 Neal H. Walfield <neal@gnu.org>
17511 Pino Toscano <toscano.pino@tiscali.it>
17512 Richard Braun <rbraun@sceen.net>
17513 Roland McGrath <roland@gnu.org>
17514 Samuel Thibault <samuel.thibault@ens-lyon.org>
17515 Thomas DiModica <ricinwich@yahoo.com>
17516 Thomas Schwinge <tschwinge@gnu.org>
17518 * htl: New directory.
17519 * sysdeps/htl: New directory.
17520 * sysdeps/hurd/htl: New directory.
17521 * sysdeps/i386/htl: New directory.
17522 * sysdeps/mach/htl: New directory.
17523 * sysdeps/mach/hurd/htl: New directory.
17524 * sysdeps/mach/hurd/i386/htl: New directory.
17525 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
17526 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
17527 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
17529 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17531 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
17532 signals in thread created for runing timers.
17534 2018-04-01 Florian Weimer <fweimer@redhat.com>
17536 * support/support_format_addrinfo.c (support_format_addrinfo):
17537 Include unknown error number in formatted result.
17539 2018-03-29 Florian Weimer <fweimer@redhat.com>
17541 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
17544 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17546 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
17547 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
17548 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17549 (__ASSUME_CLONE_BACKWARDS): Define.
17551 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
17554 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
17555 early when linux sentinel value is set.
17557 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17559 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
17561 2018-03-27 Andreas Schwab <schwab@suse.de>
17564 * resolv/res_send.c (__res_context_send): Return ENOMEM if
17565 allocation of private copy of nsaddr_list fails.
17567 2018-03-26 Joseph Myers <joseph@codesourcery.com>
17570 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
17571 * sysdeps/unix/sysv/linux/umount.c: ... here.
17572 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
17573 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
17574 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
17575 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
17576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
17577 * sysdeps/unix/sysv/linux/umount.S: Likewise.
17578 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
17580 2018-03-26 Andreas Schwab <schwab@suse.de>
17582 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
17583 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
17584 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
17585 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
17586 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
17587 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
17588 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
17589 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
17590 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
17591 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
17592 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
17593 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
17594 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
17595 (R_RISCV_NUM): Define.
17597 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17599 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
17600 TLS declaration of errno.
17601 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
17603 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
17604 (ARCH_SETUP_TLS): Likewise.
17605 * sysdeps/mach/hurd/libc-start.h: New file copied from
17606 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
17607 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
17608 instead of __libc_setup_tls.
17609 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
17610 __libc_setup_tls before initializing libpthread and running _hurd_init
17611 which starts the signal thread.
17612 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
17614 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17616 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
17619 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
17620 after it is defined.
17622 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
17623 Max Horn <max@quendi.de>
17627 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
17629 * string/test-memmove.c (do_test2): New testcase.
17631 2018-03-22 Joseph Myers <joseph@codesourcery.com>
17633 * sysdeps/generic/frame.h: Remove file.
17634 * sysdeps/arm/frame.h: Likewise.
17635 * sysdeps/hppa/frame.h: Likewise.
17636 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
17638 (GET_FRAME): Likewise.
17639 (GET_STACK): Likewise.
17640 (CALL_SIGHANDLER): Likewise.
17641 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
17643 (GET_FRAME): Likewise.
17644 (GET_STACK): Likewise.
17645 (CALL_SIGHANDLER): Likewise.
17646 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
17647 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17648 (GET_FRAME): Likewise.
17649 (GET_STACK): Likewise.
17650 (CALL_SIGHANDLER): Likewise.
17651 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
17652 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17653 (GET_FRAME): Likewise.
17654 (GET_STACK): Likewise.
17655 (ADVANCE_STACK_FRAME): Likewise.
17656 (CALL_SIGHANDLER): Likewise.
17657 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
17658 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17659 (GET_FRAME): Likewise.
17660 (GET_STACK): Likewise.
17661 (CALL_SIGHANDLER): Likewise.
17662 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
17663 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17664 (GET_FRAME): Likewise.
17665 (GET_STACK): Likewise.
17666 (CALL_SIGHANDLER): Likewise.
17667 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
17668 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17669 (GET_FRAME): Likewise.
17670 (GET_STACK): Likewise.
17671 (CALL_SIGHANDLER): Likewise.
17672 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
17673 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17674 (GET_FRAME): Likewise.
17675 (GET_STACK): Likewise.
17676 (CALL_SIGHANDLER): Likewise.
17677 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
17678 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17679 (GET_FRAME): Likewise.
17680 (GET_STACK): Likewise.
17681 (CALL_SIGHANDLER): Likewise.
17682 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
17683 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17684 (GET_FRAME): Likewise.
17685 (GET_STACK): Likewise.
17686 (CALL_SIGHANDLER): Likewise.
17687 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
17688 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17689 (GET_FRAME): Likewise.
17690 (GET_STACK): Likewise.
17691 (CALL_SIGHANDLER): Likewise.
17692 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
17693 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17694 (GET_FRAME): Likewise.
17695 (GET_STACK): Likewise.
17696 (CALL_SIGHANDLER): Likewise.
17697 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
17698 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17699 (GET_FRAME): Likewise.
17700 (GET_STACK): Likewise.
17701 (CALL_SIGHANDLER): Likewise.
17702 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
17703 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17704 (FIRST_FRAME_POINTER): Likewise.
17705 (ADVANCE_STACK_FRAME): Likewise.
17706 (GET_STACK): Likewise.
17707 (GET_FRAME): Likewise.
17708 (CALL_SIGHANDLER): Likewise.
17709 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
17710 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17711 (ADVANCE_STACK_FRAME): Likewise.
17712 (GET_STACK): Likewise.
17713 (GET_FRAME): Likewise.
17714 (CALL_SIGHANDLER): Likewise.
17715 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
17716 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17717 (GET_FRAME): Likewise.
17718 (GET_STACK): Likewise.
17719 (CALL_SIGHANDLER): Likewise.
17720 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
17721 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17722 (GET_FRAME): Likewise.
17723 (GET_STACK): Likewise.
17724 (CALL_SIGHANDLER): Likewise.
17726 2018-03-21 Joseph Myers <joseph@codesourcery.com>
17728 * sysdeps/x86_64/backtrace.c: Move to ....
17729 * debug/backtrace.c: ... here.
17730 * sysdeps/aarch64/backtrace.c: Remove file.
17731 * sysdeps/alpha/backtrace.c: Likewise.
17732 * sysdeps/hppa/backtrace.c: Likewise.
17733 * sysdeps/ia64/backtrace.c: Likewise.
17734 * sysdeps/mips/backtrace.c: Likewise.
17735 * sysdeps/nios2/backtrace.c: Likewise.
17736 * sysdeps/riscv/backtrace.c: Likewise.
17737 * sysdeps/sh/backtrace.c: Likewise.
17738 * sysdeps/tile/backtrace.c: Likewise.
17740 2018-03-20 Joseph Myers <joseph@codesourcery.com>
17743 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
17746 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
17749 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
17750 possibly overflowing computations.
17752 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
17754 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
17755 values from Linux-specific section now that it is in the GNU section.
17756 * sysdeps/gnu/errlist.c: Regenerate.
17758 2018-03-20 Joseph Myers <joseph@codesourcery.com>
17760 * math/Makefile (libm-narrow-fns): Add sub.
17761 (libm-test-funcs-narrow): Likewise.
17762 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
17763 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
17764 * math/gen-auto-libm-tests.c (test_functions): Add sub.
17765 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
17766 (NARROW_SUB_ROUND_TO_ODD): Likewise.
17767 (NARROW_SUB_TRIVIAL): Likewise.
17768 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
17770 (__dsubl): Likewise.
17771 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
17773 (CFLAGS-nldbl-dsub.c): New variable.
17774 (CFLAGS-nldbl-fsub.c): Likewise.
17775 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17777 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
17779 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
17780 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
17781 * math/auto-libm-test-in: Add tests of sub.
17782 * math/auto-libm-test-out-narrow-sub: New generated file.
17783 * math/libm-test-narrow-sub.inc: New file.
17784 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17785 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
17786 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
17787 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
17788 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
17789 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
17790 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
17791 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
17792 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
17793 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
17794 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
17795 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
17796 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
17797 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
17798 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
17799 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
17800 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
17801 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
17802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17803 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17804 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17805 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17806 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17807 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17808 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17809 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17810 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17811 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17812 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17813 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17814 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17815 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17820 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17821 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17822 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17823 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17824 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17825 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17826 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17827 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17828 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17829 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17831 2018-03-19 Joseph Myers <joseph@codesourcery.com>
17834 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
17836 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
17838 * benchtests/bench-timing.h (attribute_hidden): Undefine.
17840 2018-03-18 Richard Braun <rbraun@sceen.net>
17842 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
17845 2018-03-18 Agustina Arzille <avarzille@riseup.net>
17847 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
17848 (__libc_cleanup_fct): Define function.
17849 (__libc_cleanup_region_start, __libc_cleanup_region_end,
17850 __libc_cleanup_end): Rewrite implementation using
17851 __attribute__ ((__cleanup__)).
17852 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
17853 * hurd/Makefile (routines): Add hurdlock.
17854 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
17856 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
17857 * hurd/hurdpid.c: Include <lowlevellock.h>
17858 (_S_msg_proc_newids): Use lll_wait to synchronize.
17859 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
17860 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
17861 * mach/Makefile (lock-headers): Remove machine-lock.h.
17862 * mach/lock-intern.h: Include <lowlevellock.h> instead of
17864 (__spin_lock_t): New type.
17865 (__SPIN_LOCK_INITIALIZER): New macro.
17866 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
17867 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
17868 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
17869 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
17870 (__mutex_init): Initialize with lll.
17871 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
17872 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
17874 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17875 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
17876 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
17877 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
17878 (__setpgid): Use lll for synchronization.
17879 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
17880 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
17881 instead of <cthreads.h>.
17882 (_IO_lock_inexpensive): New macro
17883 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
17884 (__libc_lock_self0): New declaration.
17885 (__libc_lock_owner_self): New macro.
17886 (__libc_key_t): Remove type.
17887 (_LIBC_LOCK_INITIALIZER): New macro.
17888 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
17889 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
17890 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
17891 __libc_lock_define_initialized_recursive,
17892 __rtld_lock_define_initialized_recursive,
17893 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
17894 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
17895 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
17896 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
17897 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
17898 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
17899 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
17901 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
17902 * hurd/hurdlock.c: New file.
17903 * hurd/hurdlock.h: New file.
17904 * mach/lowlevellock.h: New file
17906 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17908 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
17909 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
17910 when opening a symlink with O_NOFOLLOW.
17911 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
17912 path when flags contains O_NOFOLLOW.
17913 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
17914 if flags contains O_DIRECTORY and the result is a directory.
17915 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
17916 oneself when the pointer given in D is nul (as set by ext2fs).
17917 * sysdeps/mach/hurd/mlockall.c: New file.
17918 * sysdeps/mach/hurd/munlockall.c: New file.
17920 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17922 * hurd/hurdsig.c: Include <pthread.h>.
17923 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
17924 get the signal thread stack layout.
17925 * hurd/Makefile (headers): Remove threadvar.h.
17926 (inline-headers): Remove threadvar.h.
17927 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
17928 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
17929 __hurd_threadvar_max, __hurd_errno_location.
17930 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
17931 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
17932 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
17933 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
17934 unless TLS is not initialized yet, in which case we do not need a
17935 critical section yet anyway.
17936 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
17938 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
17940 (__hurd_threadvar_index): Remove enum.
17941 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
17942 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
17944 (__hurd_reply_port0): New variable declaration.
17945 (__hurd_local_reply_port): New macro.
17946 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
17947 (interrupted_reply_port_location): Add thread_t parameter. Use it
17948 with THREAD_TCB to access thread-local variables.
17949 (_hurdsig_abort_rpcs): Pass ss->thread to
17950 interrupted_reply_port_location.
17951 (_hurd_internal_post_signal): Likewise.
17952 (_hurdsig_init): Use presence of cthread_fork instead of
17953 __hurd_threadvar_stack_mask to start signal thread by hand.
17954 Remove signal thread threadvar initialization.
17955 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
17956 * hurd/sigunwind.c: Include <hurd/threadvar.h>
17957 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
17959 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
17961 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
17962 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
17963 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
17964 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
17965 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
17966 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
17967 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
17969 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
17970 <hurd/threadvar.h>.
17971 [IS_IN(rtld)] (rtld_errno): New variable.
17972 [IS_IN(rtld)] (__errno_location): New weak function.
17973 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
17974 * sysdeps/mach/hurd/errno.c: Remove file.
17975 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
17976 (__fork): Remove THREADVAR_SPACE macro and its use.
17977 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
17979 (init): Do not initialize threadvar.
17980 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
17982 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
17983 __hurd_local_reply_port instead of threadvar.
17984 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
17985 _hurd_sigstate fields.
17986 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
17987 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
17988 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
17989 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
17990 instead of threadvar.
17991 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
17992 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
17993 (use_threadvar, global_reply_port): Remove variables.
17994 (__hurd_reply_port0): New variable.
17995 (__mig_get_reply_port): Use __hurd_local_reply_port and
17996 __hurd_reply_port0 instead of threadvar.
17997 (__mig_dealloc_reply_port): Likewise.
17998 (__mig_init): Do not initialize threadvar.
17999 * sysdeps/mach/hurd/profil.c: Fix comment.
18000 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
18001 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
18002 cthread_keycreate, cthread_getspecific, cthread_setspecific to
18003 __cthread_fork, __cthread_detach, __pthread_getattr_np,
18004 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
18005 __cthread_setspecific.
18006 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
18007 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
18008 __cthread_t instead of cthread_fork, cthread_detach,
18009 pthread_getattr_np, pthread_attr_getstack.
18010 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
18011 __cthread_keycreate.
18012 (cthread_getspecific): Rename to __cthread_getspecific.
18013 (cthread_setspecific): Rename to __cthread_setspecific.
18014 (__libc_getspecific): Use __cthread_getspecific instead of
18015 cthread_getspecific.
18016 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
18017 __cthread_keycreate instead of cthread_keycreate.
18018 (__libc_setspecific): Use __cthread_setspecific instead of
18019 cthread_setspecific.
18020 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
18022 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
18023 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
18024 testing whether it is defined.
18026 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18028 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
18030 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
18031 * sysdeps/mach/i386/thread_state.h
18032 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
18034 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
18036 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
18038 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
18039 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
18041 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
18043 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
18044 descriptor instead of creating a new one.
18045 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
18047 * mach/setup-thread.c: Include <ldsodefs.h>.
18048 (__mach_setup_thread): Call _dl_allocate_tls, pass
18049 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
18050 MACHINE_THREAD_STATE_FLAVOR, before getting
18051 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
18052 MACHINE_THREAD_STATE_FLAVOR with the result.
18053 * hurd/hurdfault.c (_hurdsig_fault_init): Call
18054 MACHINE_THREAD_STATE_FIX_NEW.
18055 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
18056 too. Add original thread parameter.
18058 2018-03-16 Joseph Myers <joseph@codesourcery.com>
18060 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
18061 Remove inline function.
18063 * sysdeps/i386/fpu/libm-test-ulps: Update.
18064 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18066 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
18068 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
18071 2018-03-15 Joseph Myers <joseph@codesourcery.com>
18073 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
18074 (__sincos_code): Remove define and undefine.
18075 [__FAST_MATH__] (__sincos): Remove inline function.
18076 [__FAST_MATH__] (__sincosf): Remove inline function.
18077 [__FAST_MATH__] (__sincosl): Remove inline function.
18078 (__atan2l): Remove inline functions.
18079 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
18080 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
18082 (floor): Remove inline function.
18084 [__FAST_MATH__] (__ldexp_code): Remove macro.
18085 [__FAST_MATH__] (ldexp): Remove inline function.
18086 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
18087 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
18088 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
18089 [__USE_ISOC99] (__lrint_code): Remove macro.
18090 [__USE_ISOC99] (__llrint_code): Likewise.
18091 [__USE_ISOC99] (lrintf): Remove inline function.
18092 [__USE_ISOC99] (lrint): Likewise.
18093 [__USE_ISOC99] (lrintl): Likewise.
18094 [__USE_ISOC99] (llrint): Likewise.
18095 [__USE_ISOC99] (llrintf): Likewise.
18096 [__USE_ISOC99] (llrintl): Likewise.
18098 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18100 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
18101 (__ieee754_sqrtf): Remove.
18102 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
18103 (__ieee754_sqrtf): Remove.
18104 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
18105 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18106 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
18107 (__ieee754_sqrtf): Remove.
18108 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
18109 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
18112 (__ieee754_sqrt): Remove.
18113 (__ieee754_sqrtf): Remove.
18114 (__ieee754_sqrtl): Remove.
18115 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18116 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
18117 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
18118 (__ieee754_sqrtf): Remove.
18119 (__ieee754_sqrtl): Remove.
18121 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18123 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
18124 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
18125 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18126 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
18127 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
18128 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18129 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18130 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18132 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
18133 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
18134 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
18135 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
18136 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
18137 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
18138 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18139 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
18140 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
18141 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18142 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
18143 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
18144 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
18145 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
18146 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
18147 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18148 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18149 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18150 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
18151 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
18152 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18153 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18154 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
18155 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
18156 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
18157 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
18158 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18159 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18160 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
18161 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18162 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18163 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
18164 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18165 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
18166 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18167 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18168 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
18169 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
18170 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
18171 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
18173 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18175 * include/math.h (sqrt): Declare with asm redirect.
18178 (sqrtf128): Likewise.
18179 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
18180 nonlib and libnldbl with -fmath-errno.
18181 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
18182 * math/w_sqrt_template.c: Likewise.
18183 * math/w_sqrtf_compat.c: Likewise.
18184 * math/w_sqrtl_compat.c: Likewise.
18185 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
18186 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
18187 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
18190 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18192 * benchtests/Makefile: Define _ISOMAC.
18193 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
18194 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
18195 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
18196 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
18197 * benchtests/bench-timing.h: Define attribute_hidden.
18199 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
18201 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
18204 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18207 * localedata/locales/cs_CZ (mon): Rename to...
18209 (mon): Import from CLDR (genitive case).
18211 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18214 * localedata/locales/el_CY (abmon): Rename to...
18215 (ab_alt_mon): This.
18216 (abmon): Import from CLDR (abbreviated genitive case).
18217 * localedata/locales/el_GR (abmon): Rename to...
18218 (ab_alt_mon): This.
18219 (abmon): Import from CLDR (abbreviated genitive case).
18221 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18224 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
18226 2018-03-15 Robert Buj <robert.buj@gmail.com>
18229 * localedata/locales/ca_ES (abmon): Rename to...
18230 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18231 (mon): Rename to...
18233 (abmon): Import from CLDR (genitive case, month names preceded by
18236 (abday): Synchronize with CLDR.
18237 (d_t_fmt): Likewise.
18241 (LC_TIME): Improve indentation.
18242 (LC_TELEPHONE): Likewise.
18243 (LC_NAME): Likewise.
18244 (LC_ADDRESS): Likewise.
18246 2018-03-14 Joseph Myers <joseph@codesourcery.com>
18248 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
18249 (lrintf): Remove definitions used only with old GCC.
18250 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
18251 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
18252 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
18253 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
18254 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
18255 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
18256 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
18257 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
18258 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
18259 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
18260 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
18261 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
18262 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
18263 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
18264 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
18265 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
18266 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
18267 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
18268 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
18269 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
18270 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
18271 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
18272 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
18273 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
18274 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
18275 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
18276 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
18277 [__FAST_MATH__] (__M_SQRT2): Remove macro.
18279 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18281 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
18282 instruction to unbreak builds with binutils 2.26 and older.
18284 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18286 * sysdeps/aarch64/strncmp.S (count): New macro.
18287 (strncmp): Store misaligned length in SRC1 in COUNT.
18288 (mutual_align): Adjust.
18289 (misaligned8): Load dword at a time when it is safe.
18291 2018-03-12 Zack Weinberg <zackw@panix.com>
18295 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
18296 if the _IO_EOF_SEEN bit is already set; update commentary.
18297 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
18298 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18300 * support/support_openpty.c, support/tty.h: New files.
18301 * support/Makefile (libsupport-routines): Add support_openpty.
18303 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
18305 * libio/Makefile (tests): Add tst-fgetc-after-eof.
18306 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
18308 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
18310 * po/pt_BR.po: Update translations.
18312 2018-03-12 David Michael <fedora.dm0@gmail.com>
18314 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
18315 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
18316 get a port to the startup server.
18318 2018-03-11 Zack Weinberg <zackw@panix.com>
18320 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
18321 before nldbl-compat.h.
18323 2018-03-10 Zack Weinberg <zackw@panix.com>
18325 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
18326 math.h or math_private.h.
18328 * sysdeps/alpha/fpu/s_isnan.c
18329 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
18330 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
18331 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
18332 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
18333 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
18334 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
18335 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
18336 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
18337 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
18338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
18339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
18340 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
18341 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
18342 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
18343 Include math_private.h.
18345 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
18346 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
18347 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
18348 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
18349 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
18350 * sysdeps/powerpc/power7/fpu/s_logb.c:
18351 Include math.h and math_private.h.
18353 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
18354 uses of $at in .set noat / .set at.
18356 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
18358 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
18359 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
18360 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
18361 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
18364 2018-03-09 Florian Weimer <fweimer@redhat.com>
18366 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
18369 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
18372 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
18373 Add nop before __startcontext, add explaining comments.
18375 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18378 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
18380 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
18381 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
18382 Do not build hardware transactional code for __SPE__.
18383 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18384 (__lll_trylock_elision): Likewise.
18385 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18386 (__lll_unlock_elision): Likewise.
18388 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
18389 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
18390 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18391 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
18392 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
18393 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
18394 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
18395 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
18396 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
18397 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
18398 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
18399 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
18400 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
18401 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
18402 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
18403 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
18404 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
18405 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
18406 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
18407 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
18408 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
18409 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18410 (__ASSUME_CLONE_BACKWARDS): Define.
18411 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
18412 __clone2 if __NR_clone2 is defined.
18413 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18414 (__ASSUME_CLONE_BACKWARDS): Likewise.
18415 * sysdeps/unix/sysv/linux/i386/kernel-features.h
18416 (__ASSUME_CLONE_BACKWARDS): Likewise.
18417 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18418 (__ASSUME_CLONE2): Likewise.
18419 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18420 (__ASSUME_CLONE_BACKWARDS3): Likewise.
18421 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
18422 variants and the define architecture can use.
18423 (__ASSUME_CLONE_DEFAULT): Define as default.
18424 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18425 (__ASSUME_CLONE_BACKWARDS): Likewise.
18426 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18427 (__ASSUME_CLONE_BACKWARDS): Likewise.
18428 * sysdeps/unix/sysv/linux/s390/kernel-features.h
18429 (__ASSUME_CLONE_BACKWARDS2): Likewise.
18431 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
18433 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
18435 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
18438 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
18439 (do_test_limit): Likewise.
18441 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
18442 for every implementation.
18443 (do_test): Likewise.
18445 * benchtests/bench-strncmp.c: Convert output to json.
18447 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18449 * io/futimens.c: Add missing start-of-file descriptive comment.
18450 * io/utime.c: Likewise.
18451 * misc/futimesat.c: Likewise.
18452 * misc/utimes.c: Likewise.
18453 * sysdeps/mach/hurd/futimesat.c: Likewise.
18454 * sysdeps/mach/hurd/utimes.c: Likewise.
18455 * sysdeps/posix/utime.c: Likewise.
18456 * sysdeps/posix/utimes.c: Likewise.
18457 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
18458 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18459 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
18460 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
18462 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18464 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
18466 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
18467 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
18468 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
18469 (__futimens): Move implementation to...
18470 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
18471 utime_tvalue_from_tspec): ... new helper functions.
18472 (hurd_futimens): New function.
18473 * sysdeps/mach/hurd/futimesat.c: New file.
18474 * sysdeps/mach/hurd/utimensat.c: New file.
18476 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
18478 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
18479 UTIME_OMIT): New macros.
18480 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
18481 before reverting to converting time spec to time value and calling
18483 * sysdeps/mach/hurd/utime-helper.c: New file.
18484 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
18485 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
18486 reverting to utime_tvalue_from_tval and __file_utimes.
18487 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
18488 (__lutimes): Just call hurd_futimens after lookup.
18489 * sysdeps/mach/hurd/utimes.c: Likewise.
18491 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18493 * bits/sigaction.h: Add include guard.
18494 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
18495 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
18496 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
18497 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
18498 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
18499 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
18500 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
18501 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
18502 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
18504 2018-03-05 Joseph Myers <joseph@codesourcery.com>
18506 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
18507 -Wmaybe-uninitialized for -Os.
18508 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
18511 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18513 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
18514 __INO_T_MATCHES_INO64_T is defined.
18515 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
18516 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
18518 * dirent/alphasort64.c: Likewise.
18519 * dirent/scandir.c: Likewise.
18520 * dirent/scandir64-tail.c: Likewise.
18521 * dirent/scandir64.c: Likewise.
18522 * dirent/scandirat.c: Likewise.
18523 * dirent/scandirat64.c: Likewise.
18524 * dirent/versionsort.c: Likewise.
18525 * dirent/versionsort64.c: Likewise.
18526 * include/dirent.h: Likewise.
18528 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
18529 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
18530 for socketpair endpoint.
18531 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
18532 WRITE_BUFFER_SIZE as buffer size for sending socket.
18533 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
18534 issue on system where send is implemented with sendto syscall.
18535 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
18536 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
18537 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
18538 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
18541 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
18542 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
18543 sa_restorer for vDSO case.
18544 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
18546 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18548 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
18549 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
18550 * hurd/hurd/ioctl.h: Include <mach/port.h>
18551 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
18552 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
18553 <mach/mach_types.h> and <mach/message.h>.
18554 (headers): Move mach/param.h to bits/mach/param.h.
18555 * sysdeps/mach/i386/mach/param.h: Move file to ...
18556 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
18557 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
18559 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
18560 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
18561 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
18562 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
18563 trivial, for C++ conformity.
18564 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
18565 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
18566 Process mig output through $(migheadersed).
18567 * hurd/Makefile (migheadersed): Define variable.
18568 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
18569 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
18571 * hurd/hurd.h: Include <bits/types/sigset_t.h>
18572 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
18573 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
18574 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
18575 <bits/types/sigset_t.h>.
18576 [!defined __USE_GNU]: Do not #error out.
18577 (struct hurd_sigstate): Use _NSIG instead of NSIG.
18578 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
18579 Include <stddef.h> and <bits/types/sigset_t.h>
18580 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
18581 instead of sighandler_t.
18582 * stdlib/errno.h (error_t): Move definition to...
18583 * bits/types/error_t.h: ... new header.
18584 * stdlib/Makefile (headers): Add bits/types/error_t.h.
18585 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
18586 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
18587 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
18588 * hurd/hurd.h: Include <bits/types/error_t.h>
18589 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
18590 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
18591 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
18592 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
18593 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
18594 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
18595 * sysdeps/mach/hurd/futimens.c: New file.
18597 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
18600 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
18601 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
18602 * nscd/gai.c (__nss_hosts_database): Readd definition.
18603 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
18604 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
18605 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
18607 2018-03-02 Joseph Myers <joseph@codesourcery.com>
18609 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
18610 (ifunc_one): Likewise.
18612 2018-03-01 DJ Delorie <dj@delorie.com>
18615 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
18618 2018-03-01 Maciej W. Rozycki <macro@mips.com>
18620 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
18621 `match_pid' parameter.
18622 (td_ta_thr_iter): Update accordingly.
18624 2018-03-01 Florian Weimer <fweimer@redhat.com>
18626 * nptl/Makefile (install-lib-ldscripts): Remove.
18627 (install): Remove rule.
18628 ($(inst_libdir)/libpthread.so): Likewise.
18630 2018-03-01 Mike FABIAN <mfabian@redhat.com>
18633 * localedata/locales/an_ES: update month and day names,
18634 improve d_fmt, improve postal_fmt, add country_post,
18637 2018-03-01 Mike FABIAN <mfabian@redhat.com>
18639 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
18640 Ukrainian instead of Bulgarian.
18642 2018-03-01 Florian Weimer <fweimer@redhat.com>
18644 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
18647 2018-03-01 Florian Weimer <fweimer@redhat.com>
18649 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
18650 * nptl/Makefile (routines): Add pthread_atfork.
18651 (static-only-routines): Set to pthread_atfork.
18652 (libpthread-routines): Remove pthread_atfork.
18653 (libpthread-static-only-routines): Remove.
18654 (install): Update comment.
18655 (libpthread.so): Do not install libpthread_nonshared.a.
18656 (tests): Do not link with libpthread_nonshared.a.
18657 (generated): Remove libpthread_nonshared.a.
18658 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
18659 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
18660 with libpthread_nonshared.a.
18662 2018-02-28 Joseph Myers <joseph@codesourcery.com>
18665 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
18666 (libc_feholdexcept_setroundf128): New macro.
18667 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
18670 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
18672 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
18673 * include/inttypes.h: New file.
18675 2018-02-27 Joseph Myers <joseph@codesourcery.com>
18677 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
18678 -Os in two more places.
18680 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18682 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
18683 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
18684 be sorted correctly at the moment because of a bug.
18686 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18688 [BZ #22550] - es_ES locale (and other es_* locales): collation should
18689 treat ñ as a primary different character, sync the collation
18690 for Spanish with CLDR.
18691 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
18692 * localedata/Makefile: Add new test files.
18693 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
18694 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
18696 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
18697 * localedata/am_ET.UTF-8.in: New test file.
18698 * localedata/az_AZ.UTF-8.in: Likewise.
18699 * localedata/be_BY.UTF-8.in: Likewise.
18700 * localedata/ber_DZ.UTF-8.in: Likewise.
18701 * localedata/ber_MA.UTF-8.in: Likewise.
18702 * localedata/bg_BG.UTF-8.in: Likewise.
18703 * localedata/br_FR.UTF-8.in: Likewise.
18704 * localedata/cmn_TW.UTF-8.in: Likewise.
18705 * localedata/crh_UA.UTF-8.in: Likewise.
18706 * localedata/csb_PL.UTF-8.in: Likewise.
18707 * localedata/cv_RU.UTF-8.in: Likewise.
18708 * localedata/cy_GB.UTF-8.in: Likewise.
18709 * localedata/dz_BT.UTF-8.in: Likewise.
18710 * localedata/eo.UTF-8.in: Likewise.
18711 * localedata/es_ES.UTF-8.in: Likewise.
18712 * localedata/fa_IR.UTF-8.in: Likewise.
18713 * localedata/fi_FI.UTF-8.in: Likewise.
18714 * localedata/fil_PH.UTF-8.in: Likewise.
18715 * localedata/fur_IT.UTF-8.in: Likewise.
18716 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
18717 * localedata/ha_NG.UTF-8.in: Likewise.
18718 * localedata/ig_NG.UTF-8.in: Likewise.
18719 * localedata/ik_CA.UTF-8.in: Likewise.
18720 * localedata/kk_KZ.UTF-8.in: Likewise.
18721 * localedata/ku_TR.UTF-8.in: Likewise.
18722 * localedata/ky_KG.UTF-8.in: Likewise.
18723 * localedata/ln_CD.UTF-8.in: Likewise.
18724 * localedata/mi_NZ.UTF-8.in: Likewise.
18725 * localedata/ml_IN.UTF-8.in: Likewise.
18726 * localedata/mn_MN.UTF-8.in: Likewise.
18727 * localedata/mr_IN.UTF-8.in: Likewise.
18728 * localedata/mt_MT.UTF-8.in: Likewise.
18729 * localedata/nb_NO.UTF-8.in: Likewise.
18730 * localedata/om_KE.UTF-8.in: Likewise.
18731 * localedata/os_RU.UTF-8.in: Likewise.
18732 * localedata/ps_AF.UTF-8.in: Likewise.
18733 * localedata/ro_RO.UTF-8.in: Likewise.
18734 * localedata/ru_RU.UTF-8.in: Likewise.
18735 * localedata/sc_IT.UTF-8.in: Likewise.
18736 * localedata/se_NO.UTF-8.in: Likewise.
18737 * localedata/sq_AL.UTF-8.in: Likewise.
18738 * localedata/sv_SE.UTF-8.in: Likewise.
18739 * localedata/szl_PL.UTF-8.in: Likewise.
18740 * localedata/tg_TJ.UTF-8.in: Likewise.
18741 * localedata/tk_TM.UTF-8.in: Likewise.
18742 * localedata/tt_RU.UTF-8.in: Likewise.
18743 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
18744 * localedata/ug_CN.UTF-8.in: Likewise.
18745 * localedata/uz_UZ.UTF-8.in: Likewise.
18746 * localedata/vi_VN.UTF-8.in: Likewise.
18747 * localedata/yi_US.UTF-8.in: Likewise.
18748 * localedata/yo_NG.UTF-8.in: Likewise.
18749 * localedata/zh_CN.UTF-8.in: Likewise.
18750 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
18751 file and fix bugs in the collation.
18752 * localedata/locales/az_AZ: Likewise.
18753 * localedata/locales/be_BY: Likewise.
18754 * localedata/locales/ber_DZ: Likewise.
18755 * localedata/locales/ber_MA: Likewise.
18756 * localedata/locales/bg_BG: Likewise.
18757 * localedata/locales/br_FR: Likewise.
18758 * localedata/locales/br_FR@euro: Likewise.
18759 * localedata/locales/ca_ES: Likewise.
18760 * localedata/locales/cns11643_stroke: Likewise.
18761 * localedata/locales/crh_UA: Likewise.
18762 * localedata/locales/cs_CZ: Likewise.
18763 * localedata/locales/csb_PL: Likewise.
18764 * localedata/locales/cv_RU: Likewise.
18765 * localedata/locales/cy_GB: Likewise.
18766 * localedata/locales/da_DK: Likewise.
18767 * localedata/locales/dz_BT: Likewise.
18768 * localedata/locales/en_CA: Likewise.
18769 * localedata/locales/eo: Likewise.
18770 * localedata/locales/es_CU: Likewise.
18771 * localedata/locales/es_EC: Likewise.
18772 * localedata/locales/es_ES: Likewise.
18773 * localedata/locales/es_US: Likewise.
18774 * localedata/locales/et_EE: Likewise.
18775 * localedata/locales/fa_IR: Likewise.
18776 * localedata/locales/fi_FI: Likewise.
18777 * localedata/locales/fil_PH: Likewise.
18778 * localedata/locales/fur_IT: Likewise.
18779 * localedata/locales/gez_ER@abegede: Likewise.
18780 * localedata/locales/ha_NG: Likewise.
18781 * localedata/locales/hr_HR: Likewise.
18782 * localedata/locales/hsb_DE: Likewise.
18783 * localedata/locales/hu_HU: Likewise.
18784 * localedata/locales/ig_NG: Likewise.
18785 * localedata/locales/ik_CA: Likewise.
18786 * localedata/locales/is_IS: Likewise.
18787 * localedata/locales/iso14651_t1_pinyin: Likewise.
18788 * localedata/locales/kk_KZ: Likewise.
18789 * localedata/locales/ku_TR: Likewise.
18790 * localedata/locales/ky_KG: Likewise.
18791 * localedata/locales/ln_CD: Likewise.
18792 * localedata/locales/lt_LT: Likewise.
18793 * localedata/locales/lv_LV: Likewise.
18794 * localedata/locales/mi_NZ: Likewise.
18795 * localedata/locales/ml_IN: Likewise.
18796 * localedata/locales/mn_MN: Likewise.
18797 * localedata/locales/mr_IN: Likewise.
18798 * localedata/locales/mt_MT: Likewise.
18799 * localedata/locales/nb_NO: Likewise.
18800 * localedata/locales/om_KE: Likewise.
18801 * localedata/locales/os_RU: Likewise.
18802 * localedata/locales/pl_PL: Likewise.
18803 * localedata/locales/ps_AF: Likewise.
18804 * localedata/locales/ro_RO: Likewise.
18805 * localedata/locales/ru_RU: Likewise.
18806 * localedata/locales/ru_UA: Likewise.
18807 * localedata/locales/sc_IT: Likewise.
18808 * localedata/locales/se_NO: Likewise.
18809 * localedata/locales/si_LK: Likewise.
18810 * localedata/locales/sq_AL: Likewise.
18811 * localedata/locales/sv_FI: Likewise.
18812 * localedata/locales/sv_FI@euro: Likewise.
18813 * localedata/locales/sv_SE: Likewise.
18814 * localedata/locales/szl_PL: Likewise.
18815 * localedata/locales/tg_TJ: Likewise.
18816 * localedata/locales/ti_ER: Likewise.
18817 * localedata/locales/tk_TM: Likewise.
18818 * localedata/locales/tl_PH: Likewise.
18819 * localedata/locales/tr_TR: Likewise.
18820 * localedata/locales/tt_RU: Likewise.
18821 * localedata/locales/tt_RU@iqtelif: Likewise.
18822 * localedata/locales/ug_CN: Likewise.
18823 * localedata/locales/uk_UA: Likewise.
18824 * localedata/locales/uz_UZ: Likewise.
18825 * localedata/locales/uz_UZ@cyrillic: Likewise.
18826 * localedata/locales/vi_VN: Likewise.
18827 * localedata/locales/yi_US: Likewise.
18828 * localedata/locales/yo_NG: Likewise.
18830 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18832 * gen-locales.mk: Make test files which contain @ modifiers in their
18834 * localedata/gen-locale.sh: Likewise.
18836 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18838 * posix/tst-fnmatch.input: Fix results for range expressions
18840 * posix/tst-regexloc.c: Do not use a range expression for
18841 de_DE.ISO-8859-1 locale.
18843 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18845 * posix/bug-regex5.c: Fix test case because with the new
18846 iso14651_t1_common file, the da_DK locale now has 6 collating elements
18847 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
18850 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18852 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
18853 downloaded from ISO, the collation order of @-. and space has changed.
18854 Therefore, this test file needed to be adapted.
18855 * localedata/fr_CA.UTF-8.in: Likewise.
18856 * localedata/fr_FR.UTF-8.in: Likewise.
18857 * localedata/uk_UA.UTF-8.in: Likewise.
18859 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18861 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
18862 order of ȥ in the new iso14651_t1_common file.
18863 * localedata/pl_PL.UTF-8.in: Likewise.
18865 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18867 * localedata/locales/iso14651_t1_common: Add sections for various
18868 scripts to the iso14651_t1_common file.
18870 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18872 * localedata/locales/iso14651_t1_common: Use the code point of a
18873 character in the fourth collation level instead of IGNORE for all
18874 entries which have IGNORE on all 4 levels.
18876 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18878 * localedata/locales/iso14651_t1_common: Add some convenient collation
18879 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
18880 rules similar to those in CLDR.
18882 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18884 * localedata/locales/iso14651_t1_common: The new version of this
18885 file downloaded from ISO contained several syntax errors which
18886 are fixed by this patch.
18888 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18890 * localedata/locales/iso14651_t1_common: replace all <U.....>
18891 with <U000.....> because glibc understands only 4 digit or 8 digit
18893 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18895 * localedata/locales/iso14651_t1_common: Necessary changes
18896 to make the file downloaded from ISO usable by glibc.
18898 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18901 * localedata/locales/iso14651_t1_common: Update file to
18902 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
18904 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18906 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
18907 of <nptl/pthreadP.h>
18908 (thread_attr_compare): Move function to...
18909 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
18910 * sysdeps/nptl/timer_routines.h: ... new header.
18911 * sysdeps/mach/hurd/gai_misc.h: New file.
18913 2018-02-26 Joseph Myers <joseph@codesourcery.com>
18915 * string/strcoll_l.c: Include <libc-diag.h>.
18916 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
18917 declarations of seq1 and seq2.
18920 * stdlib/atoi.c (atoi): Use libc_hidden_def.
18921 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
18923 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
18927 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
18928 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
18929 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
18930 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
18931 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
18932 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
18934 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18936 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
18937 macros used in __ptrace_request.
18939 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
18942 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
18944 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
18945 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
18946 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
18949 2018-02-23 Joseph Myers <joseph@codesourcery.com>
18952 * ctype/ctype.c (tolower): Use libc_hidden_def.
18953 (toupper): Likewise.
18954 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
18955 [!_ISOMAC] (toupper): Likewise.
18957 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18959 * localedata/Makefile: Remove --quiet argument when
18962 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18965 * localedata/locales/pt_BR (LC_TIME): use / instead of -
18967 * localedata/locales/pt_PT (LC_TIME): likewise
18969 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18972 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
18973 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
18974 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
18976 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18980 * nptl/Makefile (routines): Remove unregister-atfork.
18981 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
18982 (fork_handler_alloc): Remove function.
18983 (fork_handlers, fork_handler_init): New variables.
18984 (__fork_lock): Rename to atfork_lock.
18985 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
18986 to use a dynamic array to add/remove atfork handlers.
18987 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18988 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
18989 Remove declaration.
18990 (fork_handler): Remove next, refcntr, and need_signal member.
18991 (__run_fork_handler_type): New enum.
18992 (__run_fork_handlers): New prototype.
18993 * nptl/register-atfork.c: Remove file.
18994 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
18996 * sysdeps/nptl/nptl-signals.h: Move to ...
18997 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
18999 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
19000 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
19001 unnecessary check for SIGTIMER.
19002 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
19003 remove unnecessary removal of SIGTIMER.
19004 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
19005 include-signals.h rename.
19006 * nptl/pthreadP.h: Likewise.
19007 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
19008 __is_internal_signal instead of __nptl_is_internal_signal.
19010 2018-02-22 Andrew Waterman <andrew@sifive.com>
19013 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
19014 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
19015 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
19016 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
19018 2018-02-22 DJ Delorie <dj@delorie.com>
19020 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
19022 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
19024 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
19025 do_misaligned, not misaligned8.
19027 2018-02-22 Steve Ellcey <sellcey@cavium.com>
19029 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
19030 Add memcpy_thunderx2.
19031 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
19033 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
19034 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
19035 and IS_THUNDERX2PA checks.
19036 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
19037 Use macro to set name appropriately.
19038 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
19039 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
19040 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
19042 (IS_THUNDERX2): New macro.
19044 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
19046 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19048 2018-02-21 Zack Weinberg <zackw@panix.com>
19050 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
19051 Define here, unconditionally.
19052 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
19053 * libio/libioP.h: Remove #if 0 blocks.
19054 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
19055 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
19056 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
19058 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
19059 Assume weak_alias is always defined.
19061 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
19062 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
19063 Remove #if 0 and #ifdef TODO blocks.
19064 Assume text_set_element is always defined.
19066 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
19067 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
19068 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
19070 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
19071 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
19072 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
19073 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
19074 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
19075 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
19076 Reformat bit flags for _flags field to make occupancy clearer.
19078 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
19079 Keep definitions consistent with those in libio/libio.h.
19081 * libio/libio.h (_IO_file_flags): Remove macro.
19082 All uses changed to _flags.
19084 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
19085 (__HAVE_COLUMN, _IO_BE): Don't define.
19086 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
19087 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
19088 * libio/libioP.h (EOF): Don't define.
19089 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
19090 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
19091 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
19092 testing _IO_UNIFIED_JUMPTABLES.
19094 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
19095 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
19096 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
19097 (_IO_size_t): Delete; all uses changed to size_t.
19098 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
19099 (_IO_off_t): Delete; all uses changed to off_t.
19100 (_IO_off64_t): Delete; all uses changed to off64_t.
19101 (_IO_pid_t): Delete; all uses changed to pid_t.
19102 (_IO_uid_t): Delete; all uses changed to uid_t.
19103 (_IO_wint_t): Delete; all uses changed to wint_t.
19104 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
19105 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
19106 (_IO_cookie_io_functions_t): Delete; all uses changed to
19107 cookie_io_functions_t.
19108 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
19109 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
19110 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
19111 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
19113 * libio/iofopncook.c: Remove unnecessary forward declarations.
19114 * libio/iolibio.h: Correct outdated commentary.
19115 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
19116 * stdio-common/fxprintf.c (__fxprintf_nocancel):
19117 Remove unnecessary casts.
19118 * stdio-common/getline.c: Use _IO_getdelim directly.
19119 Don't redefine ssize_t.
19120 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
19121 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
19122 Remove outdated comments.
19123 * stdio-common/vfscanf.c: Don't redefine va_list.
19125 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
19126 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
19127 Remove preprocessor conditionals on _LIBC and __USE_GNU,
19128 which are always true, and __cplusplus, which is always false.
19130 2018-02-21 Joseph Myers <joseph@codesourcery.com>
19134 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
19135 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
19136 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
19137 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
19139 [!_ISOMAC] (putc_unlocked): Likewise.
19140 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
19141 define inline if [__USE_EXTERN_INLINES].
19142 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
19147 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
19148 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
19149 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
19150 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
19151 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
19153 * time/tzfile.c (__tzfile_read): Likewise.
19155 2018-02-21 Mike FABIAN <mfabian@redhat.com>
19158 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
19160 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
19162 * io/fcntl.h: Fix a typo in a comment.
19164 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
19167 * include/features.h: Add _ISOC11_SOURCE to test for whether to
19168 define _DEFAULT_SOURCE.
19169 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
19171 2018-02-21 Florian Weimer <fweimer@redhat.com>
19174 * elf/cache.c (save_cache): Call fsync on temporary file before
19176 (save_aux_cache): Call fdatasync on temporary file before renaming
19179 2018-02-21 Florian Weimer <fweimer@redhat.com>
19182 * include/caller.h: Remove file.
19183 * elf/dl-caller.c: Likewise.
19184 * elf/Makefile (dl-routines): Remove dl-caller.
19185 (shared-only-routines): Do not add dl-caller.
19186 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
19188 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
19190 (dl_open_worker): Do not call __check_caller.
19191 (_dl_open): Do not set caller_dl_open member.
19192 * elf/rtld.c (_rtld_global_ro): Do not initialize
19193 _dl_check_caller member.
19194 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
19195 _dl_check_caller member.
19196 (_dl_check_caller): Remove declaration.
19197 * sysdeps/unix/sysv/linux/dl-execstack.c
19198 (_dl_make_stack_executable): Do not call __check_caller.
19200 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19202 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
19203 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
19205 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
19207 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
19210 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
19213 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
19214 of 199606L, 200112L, and 200809L.
19215 (_XOPEN_SOURCE): Document special values of 600 and 700.
19216 (_ISOC11_SOURCE): Document macro.
19217 (_ATFILE_SOURCE): Likewise.
19218 (_FORTIFY_SOURCE): Likewise.
19220 2018-02-19 Joseph Myers <joseph@codesourcery.com>
19224 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
19225 and define as weak alias of __ferror_unlocked. Use
19227 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
19229 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
19230 function if [__USE_EXTERN_INLINES].
19231 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
19234 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
19237 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
19239 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19242 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
19243 the GLIBC_2.1 version.
19245 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19248 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
19249 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
19250 intl/tst-gettext-de.po from po/de.po by removing the
19251 POT-Creation-Date line.
19252 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
19254 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
19257 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19259 * mach/Makefile (headers): Add mach/param.h.
19260 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
19261 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
19262 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
19263 (__ptsname_r): Move implementation to...
19264 (__ptsname_internal): ... new function. Add filling the STP
19267 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
19269 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
19272 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
19274 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
19277 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19279 * nptl/Makefile (tst-mutex8-ENV): Delete.
19280 * nptl/tst-mutex8.c (check_type):
19281 Add runtime check if mutex will be elided.
19283 2018-02-15 Joseph Myers <joseph@codesourcery.com>
19287 * manual/install.texi (Configuring and compiling): Describe
19288 passing CC and CFLAGS on configure command line, not as
19289 environment variables. Use @code markup on those variables.
19290 Specify what options go in CC and what go in CFLAGS. Note the
19291 requirement to compile with optimization.
19292 * INSTALL: Regenerated.
19295 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
19296 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
19297 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
19298 __sigprocmask instead of sigprocmask.
19299 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
19301 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
19302 __sigsetjmp and sigprocmask.
19305 * include/argz.h (argz_next): Use libc_hidden_proto.
19306 (__argz_next): Likewise.
19307 * string-argz-next.c (__argz_next): Use libc_hidden_def.
19308 (argz_next): Use libc_hidden_weak.
19311 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
19313 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
19317 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
19319 * libio/iofputs.c (fputs): Use libc_hidden_weak.
19323 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
19324 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
19325 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
19326 (__feof_unlocked): New declaration, and inline function if
19327 [__USE_EXTERN_INLINES].
19328 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
19329 instead of feof_unlocked.
19330 * intl/localealias.c [_LIBC] (FEOF): Likewise.
19331 * nss/nsswitch.c (nss_parse_file): Likewise.
19332 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
19334 * time/getdate.c (__getdate_r): Likewise.
19335 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
19336 Define as macro to call __feof_unlocked.
19338 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19340 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
19342 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19344 * math/Makefile: Remove mpexp.c and mplog.c
19345 * sysdeps/i386/fpu/mpexp.c: Delete file.
19346 * sysdeps/i386/fpu/mplog.c: Likewise.
19347 * sysdeps/ia64/fpu/mpexp.c: Likewise.
19348 * sysdeps/ia64/fpu/mplog.c: Likewise.
19349 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
19350 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
19351 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
19352 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19353 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
19354 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
19355 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
19356 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
19357 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
19358 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19359 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
19360 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
19361 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19362 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
19363 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
19364 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19366 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
19368 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19370 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19372 * sysdeps/sh/libm-test-ulps: Update.
19374 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19376 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
19379 2018-02-12 Zack Weinberg <zackw@panix.com>
19382 * posix/sys/types.h: Don't include sys/sysmacros.h.
19383 * misc/sys/sysmacros.h: Remove the conditional deprecation
19384 warnings for the macros defined by this header.
19386 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19388 * manual/probes.texi: Remove slowexp probes.
19389 * math/Makefile: Remove slowexp.
19390 * sysdeps/generic/math_private.h (__slowexp): Remove.
19391 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
19392 document error bounds.
19393 * sysdeps/i386/fpu/slowexp.c: Remove.
19394 * sysdeps/ia64/fpu/slowexp.c: Remove.
19395 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
19396 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
19397 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
19398 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
19399 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
19400 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
19401 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
19402 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
19403 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
19404 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
19405 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
19407 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
19410 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
19411 * benchtests/pow-inputs: Update comment for slow path cases.
19412 * manual/probes.texi (slowpow_p10): Delete removed probe.
19413 (slowpow_p10): Likewise.
19414 * math/Makefile: Remove halfulp.c and slowpow.c.
19415 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
19416 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
19417 (__halfulp): Remove.
19418 (__slowpow): Remove.
19419 * sysdeps/i386/fpu/halfulp.c: Delete file.
19420 * sysdeps/i386/fpu/slowpow.c: Likewise.
19421 * sysdeps/ia64/fpu/halfulp.c: Likewise.
19422 * sysdeps/ia64/fpu/slowpow.c: Likewise.
19423 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
19424 improve comments and add error analysis.
19425 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
19426 (power1): Remove function:
19427 (log1): Remove error argument, add error analysis.
19428 (my_log2): Remove function.
19429 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
19430 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19431 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
19432 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
19433 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
19434 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
19435 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
19436 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
19437 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
19438 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
19439 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
19440 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19441 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
19442 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19444 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
19446 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
19447 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
19449 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
19452 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
19453 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
19454 and PTRACE_SETHBPREGS.
19456 2018-02-10 Zack Weinberg <zackw@panix.com>
19459 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
19461 * malloc/tst-malloc-stats-cancellation.c: New test case.
19462 * malloc/Makefile: Add new test case.
19464 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
19466 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
19468 2018-02-10 Joseph Myers <joseph@codesourcery.com>
19470 * math/Makefile (libm-narrow-fns): Add add.
19471 (libm-test-funcs-narrow): Likewise.
19472 * math/Versions (GLIBC_2.28): Add narrowing add functions.
19473 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
19474 * math/gen-auto-libm-tests.c (test_functions): Add add.
19475 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
19476 (NARROW_ADD_ROUND_TO_ODD): Likewise.
19477 (NARROW_ADD_TRIVIAL): Likewise.
19478 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
19480 (__daddl): Likewise.
19481 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
19483 (CFLAGS-nldbl-dadd.c): New variable.
19484 (CFLAGS-nldbl-fadd.c): Likewise.
19485 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19487 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
19489 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
19490 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
19491 * math/auto-libm-test-in: Add tests of add.
19492 * math/auto-libm-test-out-narrow-add: New generated file.
19493 * math/libm-test-narrow-add.inc: New file.
19494 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
19495 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
19496 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
19497 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
19498 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
19499 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
19500 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
19501 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
19502 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
19503 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
19504 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
19505 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
19506 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
19507 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
19508 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
19509 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
19510 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
19511 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
19512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19513 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19514 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19515 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19516 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19517 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19518 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19519 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19520 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19521 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19522 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19523 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19524 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19525 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19530 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19531 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19532 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19533 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19534 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19535 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19536 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19537 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19538 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19539 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19541 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
19542 (f128-pairs): New variable.
19543 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
19544 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
19546 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
19547 Also make tests add $(f128-loader-link) to gnulib-tests.
19549 2018-02-09 DJ Delorie <dj@redhat.com>
19552 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
19553 64-bit ELF type for 64-bit ELF objects.
19555 2018-02-09 Joseph Myers <joseph@codesourcery.com>
19557 * math/libm-test-driver.c (snan_tests_arg): New variable.
19558 * math/libm-test-support.h (snan_tests_arg): New declaration.
19559 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
19561 * math/Makefile (test-type-pairs): New variable.
19562 (test-type-pairs-f64xf128-yes): Likewise.
19563 (tests): Add test-narrow-macros.
19564 (libm-test-funcs-narrow): New variable.
19565 (libm-test-c-narrow): Likewise.
19566 (generated): Add $(libm-test-c-narrow).
19567 (libm-tests-base-narrow): New variable.
19568 (libm-tests-narrow): Likewise.
19569 (libm-tests): Add $(libm-tests-narrow).
19570 (libm-tests-for-type): Handle $(libm-tests-narrow).
19571 (libm-test-c-narrow-obj): New variable.
19572 ($(libm-test-c-narrow-obj)): New rule.
19573 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
19574 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
19575 $(o-iterator) to set dependencies and CFLAGS.
19576 * math/gen-auto-libm-tests.c: Document use for narrowing
19578 (output_for_one_input_case): Take argument NARROW.
19579 (generate_output): Likewise. Update call to
19580 output_for_one_input_case.
19581 (main): Take --narrow option. Update call to generate_output.
19582 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
19583 (apply_lit): Update call to _apply_lit.
19584 (apply_arglit): New function.
19585 (parse_args): Handle "a" arguments.
19586 (parse_auto_input): Handle format names using ":".
19587 * math/README.libm-test: Document "a" parameter type.
19588 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
19589 (ARG_TYPE_TRUE_MIN): Likewise.
19590 (ARG_TYPE_MAX): Likwise.
19591 (ARG_MIN_EXP): Likewise.
19592 (ARG_MAX_EXP): Likewise.
19593 (ARG_MANT_DIG): Likewise.
19594 (TEST_COND_arg_ibm128): Likewise.
19595 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
19596 (TEST_COND_arg_fmt): New macro.
19597 (init_max_error): Update prototype.
19598 * math/libm-test-support.c (test_ibm128): New variable.
19599 (init_max_error): Take argument testing_ibm128 and set test_ibm128
19600 instead of using [TEST_COND_ibm128] conditional.
19601 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
19602 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
19603 [TEST_NARROW] (TEST_MSG): New definition.
19604 (arg_plus_zero): New macro.
19605 (arg_minus_zero): Likewise.
19606 (arg_plus_infty): Likewise.
19607 (arg_minus_infty): Likewise.
19608 (arg_qnan_value_pl): Likewise.
19609 (arg_qnan_value): Likewise.
19610 (arg_snan_value_pl): Likewise.
19611 (arg_snan_value): Likewise.
19612 (arg_max_value): Likewise.
19613 (arg_min_value): Likewise.
19614 (arg_min_subnorm_value): Likewise.
19615 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
19616 (RUN_TEST_LOOP_aa_f): New macro.
19617 (TEST_SUFF): New macro.
19618 (TEST_SUFF_STR): Likewise.
19619 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
19620 (TEST_COND_any_ibm128): New macro.
19621 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
19622 this_func. Update call to init_max_error.
19623 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
19624 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
19625 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
19626 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
19627 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
19628 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
19629 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
19630 * math/test-math-scalar.h (TEST_NARROW): Likewise.
19631 * math/test-math-vector.h (TEST_NARROW): Likewise.
19632 * math/test-arg-double.h: New file.
19633 * math/test-arg-float128.h: Likewise.
19634 * math/test-arg-float32x.h: Likewise.
19635 * math/test-arg-float64.h: Likewise.
19636 * math/test-arg-float64x.h: Likewise.
19637 * math/test-arg-ldouble.h: Likewise.
19638 * math/test-math-narrow.h: Likewise.
19639 * math/test-narrow-macros.c: Likewise.
19640 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
19641 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
19642 test-narrow-macros-ldbl-64.
19643 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
19645 * math/bits/mathcalls-narrow.h: New file.
19646 * include/bits/mathcalls-narrow.h: Likewise.
19647 * math/math-narrow.h: Likewise.
19648 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
19649 (__MATHCALL_NARROW_ARGS_2): Likewise.
19650 (__MATHCALL_NARROW_ARGS_3): Likewise.
19651 (__MATHCALL_NARROW_NORMAL): Likewise.
19652 (__MATHCALL_NARROW_REDIR): Likewise.
19653 (__MATHCALL_NARROW): Likewise.
19654 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
19655 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
19657 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19658 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
19659 (libm-narrow-fns): New variable.
19660 (libm-narrow-types-basic): Likewise.
19661 (libm-narrow-types-ldouble-yes): Likewise.
19662 (libm-narrow-types-float128-yes): Likewise.
19663 (libm-narrow-types-float128-alias-yes): Likewise.
19664 (libm-narrow-types): Likewise.
19665 (libm-routines): Add narrowing functions.
19666 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
19667 (libc_feholdexcept_setroundf128): New macro.
19668 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
19669 * sysdeps/ieee754/float128/float128_private.h: Include
19670 <math/math-narrow.h>.
19671 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
19672 Undefine and redefine.
19673 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
19674 (libm_alias_float_ldouble): Undefine and redefine.
19675 (libm_alias_double_ldouble): Likewise.
19677 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
19679 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
19681 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
19684 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
19686 * manual/creature.texi: Convert references to gcc.info to gcc.
19687 * manual/stdio.texi: Likewise.
19688 * manual/string.texi: Likewise.
19690 2018-02-07 Joseph Myers <joseph@codesourcery.com>
19693 * posix/bits/types.h (__int_least8_t): New typedef.
19694 (__uint_least8_t): Likewise.
19695 (__int_least16_t): Likewise.
19696 (__uint_least16_t): Likewise.
19697 (__int_least32_t): Likewise.
19698 (__uint_least32_t): Likewise.
19699 (__int_least64_t): Likewise.
19700 (__uint_least64_t): Likewise.
19701 * sysdeps/generic/stdint.h (int_least8_t): Define using
19703 (int_least16_t): Define using __int_least16_t.
19704 (int_least32_t): Define using __int_least32_t.
19705 (int_least64_t): Define using __int_least64_t.
19706 (uint_least8_t): Define using __uint_least8_t.
19707 (uint_least16_t): Define using __uint_least16_t.
19708 (uint_least32_t): Define using __uint_least32_t.
19709 (uint_least64_t): Define using __uint_least64_t.
19710 * wcsmbs/uchar.h: Include <bits/types.h>.
19711 (char16_t): Define using __uint_least16_t conditional only on
19713 (char32_t): Define using __uint_least32_t conditional only on
19715 * wcsmbs/test-char-types.c: New file.
19716 * wcsmbs/Makefile (tests): Add test-char-types.
19718 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
19721 2018-02-07 Zack Weinberg <zackw@panix.com>
19723 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
19724 Delete all contents except for definitions of _G_HAVE_MMAP and
19725 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
19726 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
19727 sysdeps/unix/sysv/linux/_G_config.h. Make same content
19730 * libio/libio.h: Don't include bits/_G_config.h here.
19731 Include stddef.h with __need_wchar_t defined. Include
19732 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
19733 Define _IO_iconv_t here, directly.
19734 Don't define _IO_HAVE_ST_BLKSIZE.
19735 * libio/libioP.h: Include _G_config.h here. Move include of
19736 shlib-compat.h up with rest of includes. Simplify conditionals
19737 controlling definition of _IO_JUMPS_OFFSET.
19739 * csu/init.c: Remove always-true #if around entire file.
19740 Don't include stdio.h. Set _IO_stdin_used to hardwired
19741 constant 0x20001, and update commentary.
19742 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
19743 Replace all uses of _G_va_list with __gnuc_va_list.
19744 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
19745 instead of #if _IO_HAVE_ST_BLKSIZE.
19746 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
19747 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
19750 * libio/bits/libio.h: Move back to libio/libio.h and adjust
19751 multiple-include guard to match.
19752 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
19754 Remove preprocessor conditionals that are always true and/or
19755 redundant to other preprocessor conditionals in the same nest.
19756 Include shlib-compat.h unconditionally.
19757 Error out if _LIBC is not defined, or if _ISOMAC is defined,
19758 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
19759 defined after including stdio.h.
19760 Use __BEGIN_DECLS/__END_DECLS.
19762 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
19763 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
19764 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
19766 2018-02-07 Zack Weinberg <zackw@panix.com>
19768 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
19769 New single-type headers split from _G_config.h.
19770 * libio/bits/types/cookie_io_functions_t.h
19771 * libio/bits/types/struct_FILE.h
19772 New single-type headers split from libio.h.
19774 * libio/Makefile: Install the above new headers. Don't install
19775 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
19777 * libio/_G_config.h, libio/libio.h: Delete file.
19779 * libio/bits/libio.h: Remove improper-inclusion guard.
19780 Include stdio.h and don't repeat anything that it does.
19781 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
19782 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
19783 __io_read_fn as cookie_read_function_t,
19784 __io_write_fn as cookie_write_function_t,
19785 __io_seek_fn as cookie_seek_function_t,
19786 __io_close_fn as cookie_close_function_t,
19787 and _IO_cookie_io_functions_t as cookie_io_functions_t.
19788 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
19789 here, in the "compatibility defines" section. Remove an #if 0
19790 block. Use the "body" macros from bits/types/struct_FILE.h to
19791 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
19792 and _IO_ferror_unlocked.
19793 Move prototypes of __uflow and __overflow...
19795 * libio/stdio.h: ...here. Don't include bits/libio.h.
19796 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
19797 directly from stdarg.h. Include bits/types/__fpos_t.h,
19798 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
19799 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
19800 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
19801 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
19802 cookie_io_functions_t, not _IO_cookie_io_functions_t;
19803 __ssize_t, not _IO_ssize_t. Unconditionally define
19804 BUFSIZ as 8192 and EOF as (-1).
19806 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
19807 macros from bits/types/struct_FILE.h instead of _IO_* macros
19808 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
19809 instead of _IO_ssize_t.
19810 * libio/bits/stdio2.h: Similarly.
19812 * libio/iolibio.h: Add multiple-include guard.
19813 Include bits/libio.h after stdio.h.
19814 * libio/libioP.h: Add multiple-include guard.
19815 Include stdio.h and bits/libio.h before iolibio.h.
19817 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
19818 * include/bits/types/cookie_io_functions_t.h
19819 * include/bits/types/struct_FILE.h: New wrappers.
19821 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
19822 Get definitions of _G_fpos_t and _G_fpos64_t from
19823 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
19824 respectively. Remove improper-inclusion guards.
19826 * conform/data/stdio.h-data: Update expectations of va_list.
19827 * scripts/check-installed-headers.sh: Remove special case for
19828 libio.h and _G_config.h.
19830 2018-02-07 Joseph Myers <joseph@codesourcery.com>
19834 * include/sys/sysmacros.h [!_ISOMAC]
19835 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
19836 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
19837 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
19838 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
19840 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
19841 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
19843 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
19844 Undefine and redefine to add use __gnu_dev_ prefix.
19845 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
19847 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
19848 and define as hidden inline function.
19849 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
19851 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
19853 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
19854 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
19855 (gnu_dev_minor): Likewise.
19856 (gnu_dev_makedev): Likewise.
19857 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
19859 * posix/wordexp.c (exec_comm_child): Likewise.
19860 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
19861 instead of minor and __gnu_dev_major instead of major.
19862 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
19863 __gnu_dev_major instead of major.
19864 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
19865 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
19866 instead of gnu_dev_minor.
19867 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
19868 (SLAVE_P): Likewise.
19869 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
19870 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
19874 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
19876 * locale/weightwc.h (findidx): Likewise.
19878 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
19880 * manual/probes.texi (slowlog): Delete documentation of removed probe.
19881 (slowlog_inexact): Likewise
19882 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
19883 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
19885 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
19888 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
19889 missing second underscore to parameter name.
19891 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19897 * bits/byteswap.h: Update file comment. Do not include
19898 <bits/byteswap-16.h>.
19899 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
19901 (__bswap_16): Define as inline function.
19902 (__bswap_constant_32): Reformat definition.
19903 (__bswap_32): Always define as inline function, not macro, using
19904 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
19905 otherwise __bswap_constant_32.
19906 (__bswap_constant_64): Reformat definition. Do not use
19907 __extension__ here.
19908 (__bswap_64): Always define as inline function, not macro. Use
19909 __extension__ on function definition. Use __builtin_bswap64 if
19910 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
19911 * string/test-endian-file-scope.c: New file.
19912 * string/test-endian-sign-conversion.c: Likewise.
19913 * string/Makefile (headers): Remove bits/byteswap-16.h.
19914 (tests): Add test-endian-file-scope and
19915 test-endian-sign-conversion.
19916 (CFLAGS-test-endian-sign-conversion.c): New variable.
19917 * bits/byteswap-16.h: Remove file.
19918 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
19919 * sysdeps/ia64/bits/byteswap.h: Likewise.
19920 * sysdeps/m68k/bits/byteswap.h: Likewise.
19921 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19922 * sysdeps/s390/bits/byteswap.h: Likewise.
19923 * sysdeps/tile/bits/byteswap.h: Likewise.
19924 * sysdeps/x86/bits/byteswap-16.h: Likewise.
19925 * sysdeps/x86/bits/byteswap.h: Likewise.
19928 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
19929 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
19930 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
19931 199901L] (__restrict): Define to restrict.
19934 * string/testcopy.c: Include <support/support.h>. Do not include
19935 <malloc.h>. Use <support/test-driver.c>.
19936 (main): Rename to do_test. Make static. Use xmalloc instead of
19940 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
19941 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
19942 (SSIZE_MAX): Define to INT_MAX.
19943 * posix/test-ssize-max.c: New file.
19944 * posix/Makefile (tests): Add test-ssize-max.
19947 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
19948 <support/support.h>. Do not include <malloc.h>.
19949 (query_auxv): Use xmalloc instead of malloc.
19952 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
19953 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
19956 2018-02-06 Florian Weimer <fweimer@redhat.com>
19959 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19960 Use scratch_buffer instead of extend_alloca.
19962 2018-02-06 Zack Weinberg <zackw@panix.com>
19964 * libio/stdio.h: Don't define getc or putc as macros.
19965 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
19966 not _IO_getc and _IO_putc.
19968 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
19969 * stdio-common/tstgetln.c: Don't redefine ssize_t.
19971 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19973 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
19974 (TCP_FASTOPEN_NO_COOKIE): Likewise.
19976 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
19979 * elf/elf.h (NT_PRFPREG): New macro.
19980 (NT_S390_VXRS_LOW): Likewise.
19981 (NT_S390_VXRS_HIGH): Likewise.
19982 (NT_S390_GS_CB): Likewise.
19983 (NT_S390_GS_BC): Likewise.
19984 (NT_S390_RI_CB): Likewise.
19986 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
19987 (MAP_SYNC): New macro.
19988 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
19990 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
19991 (MAP_SYNC): Likewise.
19992 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
19993 (MAP_SYNC): Likewise.
19994 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
19995 (MAP_SYNC): Likewise.
19996 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
19997 (MAP_SYNC): Likewise.
19998 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
19999 (MAP_SYNC): Likewise.
20000 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
20001 (MAP_SYNC): Likewise.
20002 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
20004 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
20007 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
20008 (MAP_SHARED_VALIDATE): New macro.
20009 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20010 (MAP_SHARED_VALIDATE): Likewise.
20012 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20014 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
20015 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
20016 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20018 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20020 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
20021 (DT_NUM): Updated to 35.
20023 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20025 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
20026 __builtin_expect with __glibc_likely and __glibc_unlikely.
20027 (elf_machine_rela): Likewise.
20028 (elf_machine_lazy_rel): Likewise.
20030 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20032 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
20033 __builtin_expect with __glibc_likely and __glibc_unlikely.
20034 (elf_machine_lazy_rel): Likewise.
20036 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20039 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
20041 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
20043 2018-02-05 Andreas Schwab <schwab@suse.de>
20046 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
20049 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20051 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
20052 not check against PTHREAD_STACK_MIN.
20054 2018-02-02 Sean McKean <smckean83@gmail.com>
20057 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
20059 2018-02-02 Florian Weimer <fweimer@redhat.com>
20062 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
20063 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
20064 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
20065 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
20066 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
20067 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
20068 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
20069 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
20070 * manual/llio.texi (Scatter-Gather): Mention offset -1.
20071 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
20072 * misc/tst-preadvwritev2.c (do_test): Call it.
20073 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
20075 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
20077 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
20079 * benchtests/bench-memcmp.c: Print json instead of plain text.
20081 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
20084 2018-02-01 Joseph Myers <joseph@codesourcery.com>
20086 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20088 (s390_sthyi): New syscall.
20090 * sysdeps/generic/ldbl-classify-compat.h: New file.
20091 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
20092 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
20093 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
20094 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
20095 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
20096 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
20097 * sysdeps/ieee754/dbl-64/s_finite.c: Include
20098 <ldbl-classify-compat.h>.
20099 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20100 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
20101 <ldbl-classify-compat.h>.
20102 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20103 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
20104 <ldbl-classify-compat.h>.
20105 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20106 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
20107 <ldbl-classify-compat.h>.
20108 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20109 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
20110 <ldbl-classify-compat.h>.
20111 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
20113 <ldbl-classify-compat.h>.
20114 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20115 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
20116 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20117 * sysdeps/m68k/coldfire/math_private.h: Remove file.
20118 * sysdeps/microblaze/math_private.h: Likewise.
20119 * sysdeps/nios2/math_private.h: Likewise.
20120 * sysdeps/sh/math_private.h: Likewise.
20122 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
20123 * sysdeps/m68k/coldfire/math_private.h: ... here.
20124 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
20125 * sysdeps/tile/math_private.h: Likewise.
20126 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
20128 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
20131 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
20133 (libc_fetestexcept): Likewise.
20134 (libc_feupdateenv_test): Likewise.
20135 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
20136 (libc_fetestexcept): Likewise.
20137 (libc_feupdateenv_test): Likewise.
20138 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
20139 (libc_fetestexcept): Likewise.
20140 (libc_feupdateenv_test): Likewise.
20141 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
20142 (libc_fetestexcept): Likewise.
20143 (libc_feupdateenv_test): Likewise.
20145 * sysdeps/generic/math_private.h
20146 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
20147 New inline function.
20148 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
20151 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
20152 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
20153 * sysdeps/generic/math_private.h
20154 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
20156 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
20158 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
20160 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
20162 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
20164 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
20166 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
20167 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
20168 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
20169 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
20170 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
20171 (__fegetenv): Likewise.
20172 (fesetenv): Likewise.
20173 (__fesetenv): Likewise.
20174 (feupdateenv): Likewise.
20175 (__feupdateenv): Likewise.
20176 (fegetround): Likewise.
20177 (__fegetround): Likewise.
20178 (fesetround): Likewise.
20179 (__fesetround): Likewise.
20181 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
20182 (feraiseexcept): New macro.
20183 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
20184 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
20186 (__feraiseexcept): Likewise.
20187 (feclearexcept): Likewise.
20188 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
20189 (__feraiseexcept): Likewise.
20190 (feclearexcept): Likewise.
20191 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
20192 (__feraiseexcept): Likewise.
20193 (feclearexcept): Likewise.
20194 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
20195 (__feraiseexcept): Likewise.
20196 (feclearexcept): Likewise.
20197 (fetestexcept): Likewise.
20199 * sysdeps/m68k/coldfire/math-tests.h: New file.
20201 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
20202 * sysdeps/m68k/bits/fenv.h: ... here.
20203 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
20205 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
20207 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
20209 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
20211 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
20213 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
20215 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
20216 (__FE_UNDEFINED): New enum constant.
20217 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
20219 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
20221 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
20223 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
20224 to match generic bits/fenv.h.
20225 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
20228 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
20230 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
20231 * soft-fp/half.h (union _FP_UNION_H): Likewise.
20232 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
20233 * soft-fp/single.h (union _FP_UNION_S): Likewise.
20235 2018-02-01 Carlos O'Donell <carlos@redhat.com>
20236 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
20237 Joseph Myers <joseph@codesourcery.com>
20240 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
20241 (__log1p): Disable -Wmaybe-uninitialized for -Os around
20242 computation using c.
20243 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
20244 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
20245 computation using c.
20247 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20249 * version.h (RELEASE): Set to "development".
20250 (VERSION): Set to "2.27.9000".
20251 * NEWS (2.28): New section.
20253 * version.h (RELEASE): Set to "stable".
20254 (VERSION): Set to "2.27".
20255 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
20257 * NEWS: Add the list of bugs fixed in 2.27.
20259 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20261 * stdlib/test-atexit-race-common.c (do_test): Check stack size
20262 against PTHREAD_STACK_MIN.
20264 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20266 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
20268 (Rafal Luzynski, Andreas Schwab): Update.
20270 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
20273 * NEWS: List the languages which actually use the alternative
20274 months feature in this release. Also explain that "alt_mon" and
20275 "ab_alt_mon" are optional.
20277 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
20280 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
20282 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
20284 * manual/install.texi (Tools for Compilation): Update the newest
20285 versions of gcc, binutils, texinfo, gawk, bison, and sed.
20286 * INSTALL: Regenerated.
20288 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20290 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
20291 instead of __builtin_expect.
20293 2018-01-30 Florian Weimer <fweimer@redhat.com>
20295 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
20297 * nss/tst-nss-getpwent.c (do_test): Likewise.
20299 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
20302 * localedata/locales/hr_HR (mon): Rename to...
20304 (mon): Import from CLDR (genitive case).
20305 (d_t_fmt): Update the comment.
20307 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
20309 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
20310 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
20311 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
20313 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20315 * mach/Versions: Fix version when __mach_host_self_ was added.
20316 * hurd/Versions: Fix version when _hurd_exec_paths was added.
20317 * sysdeps/mach/hurd/i386/ld.abilist: New file.
20318 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
20319 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
20320 * sysdeps/mach/hurd/i386/libc.abilist: New file.
20321 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
20322 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
20323 * sysdeps/mach/hurd/i386/libm.abilist: New file.
20324 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
20325 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
20326 * sysdeps/mach/hurd/i386/librt.abilist: New file.
20327 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
20328 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
20329 || to respect codestyle.
20330 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
20331 (do_test_bz20181): Rename accordingly.
20332 * malloc/malloc.c: Include <assert.h>.
20333 (assert): Do not define.
20334 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
20335 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
20336 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
20337 * sysdeps/mach/hurd/hp-timing.h: New file.
20338 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
20340 2018-01-29 Darius Rad <darius@bluespec.com>
20342 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
20344 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
20346 * sysdeps/init_array/crti.S (.section .init_array): Add
20347 PREINIT_FUNCTION when defined.
20348 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
20349 * config.h.in: Regenerate.
20350 * manual/platform.texi: Add RISC-V documenation for
20351 __riscv_flush_icache.
20352 * sysdeps/riscv/__longjmp.S: New file.
20353 * sysdeps/riscv/backtrace.c: Likewise.
20354 * sysdeps/riscv/bits/endian.h: Likewise.
20355 * sysdeps/riscv/bits/setjmp.h: Likewise.
20356 * sysdeps/riscv/bits/wordsize.h: Likewise.
20357 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
20358 * sysdeps/riscv/bsd-setjmp.c: Likewise.
20359 * sysdeps/riscv/dl-trampoline.S: Likewise.
20360 * sysdeps/riscv/gccframe.h: Likewise.
20361 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
20362 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
20363 * sysdeps/riscv/machine-gmon.h: Likewise.
20364 * sysdeps/riscv/memusage.h: Likewise.
20365 * sysdeps/riscv/setjmp.S: Likewise.
20366 * sysdeps/riscv/sys/asm.h: Likewise.
20367 * sysdeps/riscv/tls-macros.h: Likewise.
20368 * sysdeps/riscv/dl-tls.h: New file.
20369 * sysdeps/riscv/libc-tls.c: Likewise.
20370 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
20371 * sysdeps/riscv/nptl/tls.h: Likewise.
20372 * sysdeps/riscv/stackinfo.h: Likewise.
20373 * sysdeps/riscv/bits/fenv.h: New file.
20374 * sysdeps/riscv/e_sqrtl.c: Likewise.
20375 * sysdeps/riscv/fpu_control.h: Likewise.
20376 * sysdeps/riscv/math-tests.h: Likewise.
20377 * sysdeps/riscv/nofpu/Implies: Likewise.
20378 * sysdeps/riscv/sfp-machine.h: Likewise.
20379 * sysdeps/riscv/tininess.h: Likewise.
20380 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
20381 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
20382 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
20383 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
20384 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
20385 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
20386 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
20387 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
20388 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
20389 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
20390 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
20391 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
20392 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
20393 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
20394 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
20395 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
20396 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
20397 * sysdeps/riscv/rvd/s_finite.c: Likewise.
20398 * sysdeps/riscv/rvd/s_fma.c: Likewise.
20399 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
20400 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
20401 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
20402 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
20403 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
20404 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
20405 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
20406 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
20407 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
20408 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
20409 * sysdeps/riscv/rvf/fegetround.c: Likewise.
20410 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
20411 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
20412 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
20413 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
20414 * sysdeps/riscv/rvf/fesetround.c: Likewise.
20415 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
20416 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
20417 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
20418 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
20419 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
20420 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
20421 * sysdeps/riscv/rvf/math_private.h: Likewise.
20422 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
20423 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
20424 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
20425 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
20426 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
20427 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
20428 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
20429 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
20430 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
20431 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
20432 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
20433 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
20434 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
20435 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
20436 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
20437 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
20438 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
20439 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
20440 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
20441 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
20442 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
20443 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20444 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
20445 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
20446 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
20447 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
20448 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
20449 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
20450 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
20451 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
20452 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
20453 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
20454 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
20455 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
20456 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
20457 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
20458 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
20459 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
20460 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
20461 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
20462 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
20463 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
20464 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
20465 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
20466 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
20467 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
20468 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
20469 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
20470 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
20471 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
20472 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
20473 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
20474 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
20475 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
20476 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
20477 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
20478 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
20479 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
20480 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
20481 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
20482 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
20483 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
20484 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
20485 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
20486 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20487 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
20488 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
20489 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
20490 * sysdeps/riscv/Implies: New file.
20491 * sysdeps/riscv/Makefile: Likewise.
20492 * sysdeps/riscv/configure: Likewise.
20493 * sysdeps/riscv/configure.ac: Likewise.
20494 * sysdeps/riscv/nptl/Makefile: Likewise.
20495 * sysdeps/riscv/preconfigure: Likewise.
20496 * sysdeps/riscv/rv64/Implies-after: Likewise.
20497 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
20498 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
20499 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
20500 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
20501 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
20502 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
20503 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
20504 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
20505 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
20506 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
20507 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
20508 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
20509 (Config): Likewise.
20511 2018-01-29 Florian Weimer <fweimer@redhat.com>
20514 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
20515 libnsl_hidden_proto.
20516 * include/rpcsvc/yp.h (yp_xdrall): Declare with
20517 libnsl_hidden_proto.
20518 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
20519 * nis/Makefile (libnsl-routines): Add nss-default only for
20520 build-obsolete-nsl.
20521 * nis/nis_defaults.c (__nis_default_ttl): Add
20522 libnsl_hidden_nolink_def.
20523 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
20525 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
20526 * nis/ypclnt.c (yp_maplist): Likewise.
20528 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
20530 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20531 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
20533 2018-01-29 Joseph Myers <joseph@codesourcery.com>
20535 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
20536 clean -dxfq for git updates when replacing sources.
20538 * scripts/build-many-glibcs.py (Config.build_gcc): Use
20539 --disable-libcilkrts unconditionally, not just for the final GCC
20542 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20545 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20548 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
20551 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20554 * localedata/locales/be_BY (mon): Rename to...
20555 (alt_mon): This, then synchronize with CLDR (nominative case).
20556 (abmon): Rename to...
20557 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20558 (mon): Import from CLDR (genitive case).
20560 * localedata/locales/be_BY@latin (mon): Rename to...
20562 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
20564 * localedata/locales/be_BY@latin (lang_name): Reworded to
20565 "biełaruskaja mova".
20567 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20570 * localedata/locales/el_CY (mon): Renamed to...
20572 (mon): Import from CLDR (genitive case).
20573 * localedata/locales/el_GR: Likewise.
20575 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20578 * localedata/locales/ru_RU (mon): Rename to...
20580 (abmon): Rename to...
20581 (ab_alt_mon): This.
20582 (mon): Import from CLDR (genitive case).
20583 (abmon): Copy from the old content except the 5th month which is
20584 now in the genitive case, even when abbreviated.
20585 * localedata/locales/ru_UA: Likewise.
20586 * time/tst-strptime.c (day_tests): Add an actual example of
20587 a difference between %b and %Ob in Russian.
20589 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20591 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
20592 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
20594 * resolv/res-close.c: Include <stdlib.h>.
20595 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
20596 <sys/wait.h>, <time.h>, <sys/uio.h>.
20597 (NOT_CANCEL_H): Add inclusion guard.
20598 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
20599 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
20600 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
20602 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
20603 vm_address_t * to ElfW(Addr) * for dl_main parameter.
20604 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
20606 * sysdeps/pthread/timer_create.c (timer_create): Do not use
20607 timer_ptr2id to cast struct timer_node * to void *.
20608 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
20609 --disable-libcilkrts to gcc configure.
20610 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
20611 and make them the default for now.
20612 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
20613 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
20614 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
20615 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
20616 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
20618 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
20619 __task_terminate would ever return successfully.
20620 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
20622 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
20623 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
20624 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
20625 critical section to make code simpler and avoid warning.
20626 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
20627 critical section to make code simpler and avoid warning.
20628 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
20629 const char * instead of char *.
20630 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
20631 __hurd_file_name_split, hurd_file_name_split,
20632 __hurd_directory_name_split, hurd_directory_name_split,
20633 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
20634 hurd_file_name_path_lookup): Make lookup function parameter take a
20635 const char *name instead of char *name.
20636 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
20637 __hurd_directory_name_split): Likewise.
20638 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
20639 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
20640 * sysdeps/mach/hurd/check_native.c: New file.
20641 * sysdeps/mach/hurd/check_pf.c: New file.
20642 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
20643 (__freeifaddrs): Define macro to freeifaddrs.
20644 * sysdeps/mach/hurd/libhurduser.abilist: New file.
20645 * sysdeps/mach/libmachuser.abilist: New file.
20646 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
20647 (do_test_bz20181): Rename accordingly.
20648 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
20649 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
20651 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
20652 version only if __USE_EXTERN_INLINES is defined.
20653 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
20654 __hurd_sockfail): Likewise.
20655 (_hurd_fd_get): Always declare functions, and provide inline versions
20656 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
20657 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
20658 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
20659 _hurd_port_set): Always declare functions, and provide inline versions
20660 only if __USE_EXTERN_INLINES and _LIBC are defined and
20662 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
20663 _hurd_critical_section_unlock): Likewise.
20664 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
20665 * __hurd_threadvar_location): Likewise.
20666 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
20667 _hurd_userlink_clear): Likewise.
20668 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
20669 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
20670 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
20671 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
20672 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
20673 __spin_lock_locked): Likewise.
20674 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
20675 __spin_lock_locked): Likewise.
20676 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
20677 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
20678 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
20679 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
20680 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
20681 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
20682 _POSIX_NO_TRUNC): Define to 0.
20683 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
20684 check size against PTHREAD_STACK_MIN.
20685 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
20686 IS_IN(libpthread)]: Include <sigsetops.h>.
20687 * mach/Makefile (user-interfaces): Add mach/gnumach.
20688 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
20689 * sysdeps/mach/configure (mach_interface_list): Regenerate.
20690 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
20691 instead of invalid -1.
20692 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
20693 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
20694 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
20697 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
20699 * hurd/fcntl-internal.h: New file.
20701 2018-01-27 James Clarke <jrtc27@jrtc27.com>
20703 * sysdeps/hppa/fpu/libm-test-ulps: Update.
20705 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20707 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
20710 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
20711 Build only shared objects.
20713 2018-01-26 Carlos O'Donell <carlos@redhat.com>
20715 * README: Update for hppa.
20717 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20719 * sysdeps/sparc/fpu/libm-test-ulps: Update
20720 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
20722 2018-01-26 Carlos O'Donell <carlos@redhat.com>
20726 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20729 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20730 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20731 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20732 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20735 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20738 * bits/types/__cancel_jmp_buf_tag.h: New file.
20739 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20740 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20741 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20742 * nptl/Makefile (headers): Add
20743 bits/types/__cancel_jmp_buf_tag.h.
20744 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20745 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20746 * sysdeps/nptl/pthread.h: Include
20747 <bits/types/__cancel_jmp_buf_tag.h>.
20748 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20750 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20752 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
20755 * localedata/locales/uk_UA (mon): Renamed to...
20757 (alt_digits): "0" removed and then renamed to...
20759 (date_fmt): Definition changed not to use the alternative
20762 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
20764 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
20765 FLAG_RISCV_FLOAT_ABI_DOUBLE.
20766 * elf/elf.h (EF_RISCV_RVC): New define.
20767 (EF_RISCV_FLOAT_ABI): Likewise.
20768 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
20769 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
20770 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20771 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
20772 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
20774 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20776 2018-01-25 Andreas Schwab <schwab@suse.de>
20778 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
20780 * sysdeps/gnu/configure: Regenerate.
20781 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20782 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20784 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20785 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20786 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
20787 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20788 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20790 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20792 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
20793 URL, and run autoconf, make it the default for now.
20795 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20797 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20798 soft-float ColdFire configuration.
20800 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
20801 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
20802 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
20804 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
20807 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
20809 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
20811 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
20814 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
20815 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
20816 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
20819 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20822 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
20823 Rename to __reserved and add comment.
20824 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
20825 Rename to __reserved.
20827 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20829 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20830 i686-gnu configurations.
20831 (Context.run_builds): Include mig, gnumach and hurd in components
20833 (Context.checkout): Add mig, gnumach and hurd to components.
20834 (Context.checkout_tar): Add URL mappings for mig, gnumach and
20836 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
20837 (Config.build): Install gnumach headers, build mig and install
20838 hurd headers for 'gnu' OS.
20839 (Config.install_gnumach_headers): New function.
20840 (Config.install_hurd_headers): Likewise.
20841 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
20842 when building for 'gnu' OS.
20844 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
20846 * manual/tunables.texi (Hardware Capability Tunables): Fix
20849 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
20851 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
20852 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
20853 (ALTMON_11, ALTMON_12): Improve documentation.
20854 * manual/time.texi (strftime): Likewise.
20856 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20859 * localedata/locales/pl_PL: Alternative month names added,
20860 primary month names are genitive now.
20861 * time/tst-strptime.c (day_tests): Actually use a genitive case
20862 of a month name in Polish language.
20864 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20867 * manual/locale.texi: Document ALTMON_1..12 constants for
20868 nl_langinfo. Specify when to use ALTMON instead of MON.
20869 * manual/time.texi (strftime, strptime): Document GNU extension
20870 permitting O modifier with %B and %b. Specify when to use
20873 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20876 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
20877 names, define them as the same as abbreviated month names explicitly.
20878 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
20879 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
20880 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
20881 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
20882 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
20883 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
20884 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
20885 _NL_WABALTMON_12): New enum constants.
20886 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
20887 wab_alt_mon, and ab_alt_mon_defined members.
20888 (time_output): Output ab_alt_mon and wab_alt_mon members.
20889 (time_read): Read them, initialize them as copies of abmon and wabmon
20890 respectively if they are missing, initialize ab_alt_mon_defined.
20891 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
20892 * locale/programs/locfile-kw.h: Regenerate.
20893 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
20894 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
20896 * time/strftime_l.c (a_altmonth, aam_len): New macros.
20897 [!COMPILE_WIDE] (ABALTMON_1): New macro.
20898 (__strftime_internal): Handle %Ob and %Oh formats.
20899 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
20900 (__strptime_internal): Handle %Ob and %Oh formats.
20901 * time/tst-strptime.c (day_tests): Add more tests to parse different
20902 forms of month names including the new %Ob format specifier.
20904 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20907 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
20908 define them as the same as primary full month names explicitly.
20909 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
20910 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
20911 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
20912 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
20913 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
20914 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
20915 _NL_WALTMON_12): New enum constants.
20916 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
20917 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
20919 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
20920 walt_mon, and alt_mon_defined members.
20921 (time_output): Output alt_mon and walt_mon members.
20922 (time_read): Read them, initialize them as copies of mon and wmon
20923 respectively if they are missing, initialize alt_mon_defined.
20924 * locale/programs/locfile-kw.gperf (alt_mon): Define.
20925 * locale/programs/locfile-kw.h: Regenerate.
20926 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
20927 * localedata/tst-langinfo.c (map): Add tests for the new constants
20928 ALTMON_1 .. ALTMON_12.
20929 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
20931 * time/strftime_l.c (f_altmonth): New macro.
20932 (__strftime_internal): Handle %OB format.
20933 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
20934 (__strptime_internal): Handle %OB format.
20935 * time/tst-strptime.c (day_tests): Add tests to parse different forms
20936 of month names including the new %OB format specifier.
20938 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20941 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
20942 from ABORT_TRANSACTION.
20943 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
20944 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
20945 ABORT_TRANSACTION_IMPL): Likewise.
20946 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
20947 Linux code, but remove the code that aborts transactions.
20949 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20951 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
20953 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
20955 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
20956 in date: "2004-14-09" should be "2004-09-14".
20957 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
20958 "2003-15-09" should be "2003-09-15".
20960 2018-01-18 Arjun Shankar <arjun@redhat.com>
20966 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
20968 (_int_memalign): check for integer overflow before calling
20970 * malloc/tst-malloc-too-large.c: New test.
20971 * malloc/Makefile: Add tst-malloc-too-large.
20973 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
20975 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
20976 in date: "2017-24-07" should be "2017-07-24".
20977 * localedata/locales/mai_IN: Likewise.
20978 * localedata/locales/mai_NP: Likewise.
20980 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
20982 * po/ru.po: Update translations.
20984 2018-01-17 Joseph Myers <joseph@codesourcery.com>
20987 * sysdeps/hppa/backtrace.c: New file.
20989 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
20992 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
20993 align La_x86_64_retval to VEC_SIZE.
20995 2018-01-16 Joseph Myers <joseph@codesourcery.com>
20997 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
20998 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
21000 2018-01-16 Florian Weimer <fweimer@redhat.com>
21002 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
21003 Move tst-thread-exit-clobber ...
21004 [$(CXX)] (tests-unsupported): ... to here.
21006 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21008 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
21009 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
21010 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21011 (_dl_aarch64_cap_flags): Update.
21012 (_DL_HWCAP_COUNT): Update.
21014 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21016 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
21017 (_DL_HWCAP_LAST): Remove.
21018 (_DL_HWCAP_COUNT): Move to ...
21019 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21020 (_DL_HWCAP_COUNT): ... here.
21022 2018-01-16 Florian Weimer <fweimer@redhat.com>
21024 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
21025 mode with GNU extensions.
21027 2018-01-15 Alan Hayward <alan.hayward@arm.com>
21029 * elf/elf.h (NT_ARM_SVE): Define.
21031 2018-01-15 Florian Weimer <fweimer@redhat.com>
21034 * nptl/tst-minstack-throw.cc: New file.
21035 * nptl/Makefile (tests): Add tst-minstack-throw.
21036 (LDLIBS-tst-minstack-throw): Link with libstdc++.
21037 [!CXX] (tests-unsupported): Add tst-minstack-throw.
21039 2018-01-15 Joseph Myers <joseph@codesourcery.com>
21041 * scripts/build-many-glibcs.py (Context.checkout): Default
21042 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
21045 2018-01-13 Carlos O'Donell <carlos@redhat.com>
21048 * elf/elf.h (DF_1_STUB): Define.
21049 (DF_1_PIE): Define.
21051 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21054 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
21055 Do not add 0.5 to integer or out-of-range arguments.
21057 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21059 * po/bg.po: Update translations.
21060 * po/cs.po: Likewise.
21061 * po/de.po: Likewise.
21062 * po/ko.po: Likewise.
21063 * po/pl.po: Likewise.
21064 * po/sv.po: Likewise.
21065 * po/uk.po: Likewise.
21066 * po/vi.po: Likewise.
21068 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21070 * aarch64/start.S (_start): Use __wrap_main.
21071 (__wrap_main): New local symbol.
21073 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21077 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
21078 generic_getcwd if the path returned by getcwd syscall is not absolute.
21079 * io/tst-getcwd-abspath.c: New test.
21080 * io/Makefile (tests): Add tst-getcwd-abspath.
21082 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
21084 * malloc/malloc.c (malloc_consolidate): Add size check.
21086 2018-01-12 Florian Weimer <fweimer@redhat.com>
21088 * support/write_message.c (write_message): Preserve errno.
21089 * support/check.c (print_failure): Likewise.
21090 * support/support_test_verify_impl.c (support_test_verify_impl):
21092 * support/support_test_compare_failure.c
21093 (support_test_compare_failure): Likewise.
21095 2018-01-12 Florian Weimer <fweimer@redhat.com>
21098 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
21099 Prevent installation of libnsl.so.
21100 (libnsl-inhibit-o): Do not build (or install) static libraries.
21102 2018-01-12 Egmont Koblinger <egmont@gmail.com>
21105 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
21106 before the day number which may produce a double space.
21107 (date_fmt): Likewise.
21109 2018-01-12 Joseph Myers <joseph@codesourcery.com>
21111 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
21112 instead of fegetenv.
21114 2018-01-11 Joseph Myers <joseph@codesourcery.com>
21117 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
21118 comment to say exceptions are discarded.
21119 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
21121 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
21124 2018-01-11 Florian Weimer <fweimer@redhat.com>
21126 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
21129 2018-01-11 Florian Weimer <fweimer@redhat.com>
21132 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
21133 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
21135 2018-01-10 Joseph Myers <joseph@codesourcery.com>
21138 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
21139 negative arguments in test for NaN or infinity argument.
21141 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
21143 * po/libc.pot: Regenerate.
21145 2018-01-10 Florian Weimer <fweimer@redhat.com>
21148 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
21149 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
21151 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21153 * hurd/hurd/fd.h: Include <fcntl.h>
21154 (__hurd_at_flags): New function.
21155 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
21156 with call to __hurd_at_flags.
21157 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
21158 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
21160 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
21161 (__access_noerrno): Use __faccessat_common instead of access_common.
21162 (__access): Likewise.
21163 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
21164 with a call to __faccessat.
21165 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
21166 (__faccessat_common): ... this. Move implementation of __access into it when
21167 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
21168 reauthenticate_cwdir_at helper to implement AT mechanism.
21169 (__faccessat_noerrno): New function, just calls __faccessat_common.
21170 (__faccessat): New function, just calls __faccessat_common.
21171 (faccessat): Define weak alias.
21173 2018-01-10 Joseph Myers <joseph@codesourcery.com>
21176 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21177 (CFLAGS-s_fmaxmagl.c): New variable.
21178 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
21181 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
21182 long int for arguments of possibly overflowing addition or
21184 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21186 2018-01-09 Joseph Myers <joseph@codesourcery.com>
21189 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21190 (CFLAGS-e_remainderl.c): New variable.
21193 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
21195 (CFLAGS-s_cacoshl.c): Likewise.
21196 (CFLAGS-s_casinhl.c): Likewise.
21197 (CFLAGS-s_catanl.c): Likewise.
21198 (CFLAGS-s_catanhl.c): Likewise.
21199 (CFLAGS-s_cexpl.c): Likewise.
21200 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
21201 (CFLAGS-s_csinhl.c): Likewise.
21202 (CFLAGS-s_clogl.c): Likewise.
21203 (CFLAGS-s_clog10l.c): Likewise.
21204 (CFLAGS-s_csinl.c): Likewise.
21205 (CFLAGS-s_csqrtl.c): Likewise.
21207 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
21208 2017-01-09 Svante Signell <svante.signell@gmail.com>
21210 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
21211 (_hurd_exec_paths): New function.
21212 * hurd/hurd.h (_hurd_exec): Deprecate function.
21213 (_hurd_exec_paths): Declare function.
21214 * hurd/Versions: Export _hurd_exec_paths.
21215 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
21216 (__execve): Use __getcwd to build absolute path, and use
21217 _hurd_exec_paths instead of _hurd_exec.
21218 * sysdeps/mach/hurd/spawni.c: Likewise.
21219 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
21222 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
21224 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
21225 test instead of failing in case of ENOENT returned by posix_openpt.
21227 2018-01-08 Florian Weimer <fweimer@redhat.com>
21229 resolv: Support binary labels in test framework.
21230 * support/resolv_test.c (struct to_be_freed): Remove.
21231 (struct compressed_name): New.
21232 (allocate_compressed_name, ascii_tolower)
21233 (compare_compressed_name): New functions.
21234 (struct resolv_response_builder): Update type of
21235 compression_offsets for use with tsearch. Rempve to_be_freed.
21236 (response_push_pointer_to_free): Remove function.
21237 (resolv_response_add_name): Rewrite using struct compressed_name
21238 and tsearch instead of hsearch_r.
21239 (response_builder_allocate): Remove initialization of
21240 compression_offsets.
21241 (response_builder_free): Update for removal of to_be_freed. Use
21242 tdestroy instead of hdestroy_r.
21243 * resolv/Makefile (tests): Add tst-resolv-binary.
21244 (tst-resolv-binary): Link with -lresolv -lpthread.
21246 2018-01-08 Florian Weimer <fweimer@redhat.com>
21248 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
21249 time. Pass positive flag instead of negative flag to
21250 support_test_compare_failure.
21251 (support_test_compare_failure): Change negative parameter to
21253 * support/support_test_compare_failure.c (report)
21254 (support_test_compare_failure): Likewise.
21255 * support/tst-test_compare.c (return_ssize_t, return_int): New.
21256 (do_test): Check int/size_t, ssize_t/size_t comparisons.
21258 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
21261 * nptl/descr.h (stackblock, stackblock_size): Update comments.
21262 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
21263 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
21265 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21267 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
21269 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21270 Add s_sincosf-sse2 and s_sincosf-fma.
21271 (CFLAGS-s_sincosf-fma.c): New.
21272 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
21273 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
21274 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
21275 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
21276 __sincosf is defined.
21278 2018-01-08 Florian Weimer <fweimer@redhat.com>
21280 * nptl/tst-thread-exit-clobber.cc: New file.
21281 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
21283 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
21284 (tests): Add tst-thread-exit-clobber.
21285 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
21287 2018-01-08 Florian Weimer <fweimer@redhat.com>
21289 * support/check.h (support_static_assert): Define.
21290 (TEST_COMPARE): Use it.
21292 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
21294 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
21295 [!__RLIM_T_MATCHES_RLIM64_T]
21296 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
21297 __getrlimit64. Add libc_hidden_weak.
21299 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
21301 * elf/elf.h (R_RISCV_NONE): New define.
21302 (R_RISCV_32): Likewise.
21303 (R_RISCV_64): Likewise.
21304 (R_RISCV_RELATIVE): Likewise.
21305 (R_RISCV_COPY): Likewise.
21306 (R_RISCV_JUMP_SLOT): Likewise.
21307 (R_RISCV_TLS_DTPMOD32): Likewise.
21308 (R_RISCV_TLS_DTPMOD64): Likewise.
21309 (R_RISCV_TLS_DTPREL32): Likewise.
21310 (R_RISCV_TLS_DTPREL64): Likewise.
21311 (R_RISCV_TLS_TPREL32): Likewise.
21312 (R_RISCV_TLS_TPREL64): Likewise.
21313 * Makerules (make-link-multidir): Make directories before linking into
21315 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
21317 (VDSO_HASH_LINUX_4_15): Likewise.
21318 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
21319 in subdirectories of lib.
21320 * nptl/Makefile (/librt.so): Always depend on
21321 "$(shared-thread-library)".
21323 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21325 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
21326 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
21327 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
21329 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
21330 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
21332 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
21333 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
21334 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
21335 * sysdeps/gnu/glob-lstat-compat.c: New file.
21336 * sysdeps/gnu/glob64-lstat-compat.c: New file.
21337 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
21339 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21341 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
21342 Reserve 16 chars to reloc_addr before calling _itoa_word.
21344 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21347 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
21348 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
21350 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
21351 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
21353 * resource/tst-getrlimit.c: Add copyright header.
21355 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21356 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21358 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21359 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
21360 Define __GI_getrlimit64 as weak alias of __getrlimit64.
21361 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
21363 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21364 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
21365 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
21366 RLIM64_INFINITY): Fix values to match the kernel ones.
21367 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
21368 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
21369 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
21370 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
21371 getrlimit64@@GLIBC_2_27.
21372 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
21374 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
21375 getrlimit, setrlimit, getrlimit64 and setrlimit64.
21376 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
21377 setrlimit, getrlimit64 and setrlimit64.
21379 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21382 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
21383 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
21385 2018-01-04 Joseph Myers <joseph@codesourcery.com>
21387 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
21388 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
21389 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
21391 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21395 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
21396 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
21400 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
21401 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
21402 * sysdeps/alpha/fpu/s_floor.c: Likewise.
21403 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
21405 2018-01-04 Florian Weimer <fweimer@redhat.com>
21408 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21409 Align the stack before calling exit.
21410 * stdlib/tst-makecontext-align.c: New file.
21411 * stdlib/Makefile (tests): Add tst-makecontext-align.
21413 2018-01-04 Florian Weimer <fweimer@redhat.com>
21415 Add support for calling dlvsym from libc.so.
21416 * include/dlfcn.h (__libc_dlvsym): Declare.
21417 * elf/Makefile (tests-static-internal): Add
21418 tst-libc_dlvsym-static.
21419 (tests-internal): Add tst-libc_dlvsym.
21420 (modules-names): Add tst-libc_dlvsym-dso.
21421 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
21422 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
21423 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
21424 object tst-libc_dlvsym-dso.so needs to be built before running
21426 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
21427 * elf/Versions: Export __libc_dlvsym.
21428 * elf/dl-libc.c (struct do_dlvsym_args): New.
21429 (do_dlvsym, __libc_dlvsym): New functions.
21430 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
21431 (_dl_open_hook2): New variable.
21432 (__libc_register_dl_open_hook): Set it.
21433 * elf/tst-libc_dlvsym-dso.c: New file.
21434 * elf/tst-libc_dlvsym-static.c: Likewise.
21435 * elf/tst-libc_dlvsym.c: Likewise.
21436 * elf/tst-libc_dlvsym.h: Likewise.
21438 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
21440 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
21441 include <sys/mount.h>.
21443 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
21445 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
21446 Add __NO_MATH_ERRNO__ check.
21448 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21450 * sysdeps/mips/mips32/libm-test-ulps: Update.
21451 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21453 2018-01-02 Florian Weimer <fweimer@redhat.com>
21455 * misc/tst-pselect.c: Add copyright header.
21457 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21459 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
21461 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
21463 (settrlimit): Rename into setrlimit.
21464 (__sttrlimit): Rename into __setrlimit.
21466 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
21467 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
21468 never defined in that case.
21470 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21472 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
21474 * sysdeps/arm/libm-test-ulps: Update.
21476 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
21477 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
21479 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21481 * NEWS: Add cosf and sincosf to list of optimized functions.
21483 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21486 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
21487 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
21488 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
21489 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
21491 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
21494 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
21496 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
21497 making a copy of it.
21499 2018-01-01 Joseph Myers <joseph@codesourcery.com>
21501 * manual/texinfo.tex: Update to version 2017-12-26.21 with
21502 trailing whitespace removed.
21503 * scripts/config.guess: Update to version 2018-01-01.
21504 * scripts/config.sub: Update to version 2018-01-01.
21505 * scripts/move-if-change: Update from gnulib.
21507 * NEWS: Update copyright dates.
21508 * catgets/gencat.c (print_version): Likewise.
21509 * csu/version.c (banner): Likewise.
21510 * debug/catchsegv.sh: Likewise.
21511 * debug/pcprofiledump.c (print_version): Likewise.
21512 * debug/xtrace.sh (do_version): Likewise.
21513 * elf/ldconfig.c (print_version): Likewise.
21514 * elf/ldd.bash.in: Likewise.
21515 * elf/pldd.c (print_version): Likewise.
21516 * elf/sotruss.sh: Likewise.
21517 * elf/sprof.c (print_version): Likewise.
21518 * iconv/iconv_prog.c (print_version): Likewise.
21519 * iconv/iconvconfig.c (print_version): Likewise.
21520 * locale/programs/locale.c (print_version): Likewise.
21521 * locale/programs/localedef.c (print_version): Likewise.
21522 * login/programs/pt_chown.c (print_version): Likewise.
21523 * malloc/memusage.sh (do_version): Likewise.
21524 * malloc/memusagestat.c (print_version): Likewise.
21525 * malloc/mtrace.pl: Likewise.
21526 * manual/libc.texinfo: Likewise.
21527 * nptl/version.c (banner): Likewise.
21528 * nscd/nscd.c (print_version): Likewise.
21529 * nss/getent.c (print_version): Likewise.
21530 * nss/makedb.c (print_version): Likewise.
21531 * posix/getconf.c (main): Likewise.
21532 * scripts/test-installation.pl: Likewise.
21533 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21535 * All files with FSF copyright notices: Update copyright dates
21536 using scripts/update-copyrights.
21537 * locale/programs/charmap-kw.h: Regenerated.
21538 * locale/programs/locfile-kw.h: Likewise.
21540 2017-12-31 Zack Weinberg <zackw@panix.com>
21542 * libio/bits/libio-ldbl.h: Correct check for improper
21543 inclusion. Add own multiple include guard.
21545 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
21546 Dmitry V. Levin <ldv@altlinux.org>
21550 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
21551 string token expansion. Check for NULL pointer or empty string possibly
21552 returned by expand_dynamic_string_token.
21553 (decompose_rpath): Check for empty path after dynamic string
21556 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
21559 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
21561 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
21562 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
21563 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
21564 and PTRACE_SYSCALL.
21565 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
21566 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21567 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21568 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21569 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21570 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21572 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
21573 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21574 __ptrace_peeksiginfo_flags, ptrace): Move to ...
21575 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
21576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21577 bits/ptrace-shared.h.
21578 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
21579 <bits/ptrace-shared.h>.
21580 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21581 __ptrace_peeksiginfo_flags, ptrace): Remove.
21582 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21583 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21584 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21585 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21586 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21588 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21591 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
21592 end of the loop. Improve comments.
21594 2017-12-29 Zack Weinberg <zackw@panix.com>
21597 * manual/errno.texi (Checking for Errors): Explicitly say that errno
21598 might be set on success.
21600 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21603 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
21604 is unchanged on success.
21606 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
21608 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
21610 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
21611 expand_dynamic_string_token): Likewise.
21612 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
21615 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
21618 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
21619 is set and name contains ':', and all code depending on these checks.
21621 2017-12-24 Zack Weinberg <zackw@panix.com>
21623 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
21624 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
21626 * libio/libio.h: Rename the original version of this file to
21627 libio/bits/libio.h. Error out if not included by stdio.h or the
21629 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
21630 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
21631 if not included by bits/libio.h or the stub _G_config.h.
21632 * sysdeps/unix/sysv/linux/_G_config.h: Move to
21633 sysdeps/unix/sysv/linux/bits. Error out if not included by
21634 bits/libio.h or the stub _G_config.h.
21635 * libio/stdio.h: Include bits/libio.h, not libio.h.
21636 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
21637 well as libio.h and _G_config.h.
21639 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
21640 * libio/strfile.h, stdio-common/vfscanf.c
21641 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
21642 Include stdio.h, not _G_config.h nor libio.h.
21643 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
21644 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
21646 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
21648 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
21651 * stdlib/getrandom.c (getrandom): Fix comment.
21652 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
21654 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
21657 * manual/arith.texi (strtoul): Fix a typo.
21660 * manual/arith.texi (finite): Fix the description of the return
21663 2017-12-22 Eric Blake <ebb9@byu.net>
21665 Avoid gcc warnings on cygwin
21666 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
21667 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
21668 Avoid unused variable.
21670 2017-12-22 Florian Weimer <fweimer@redhat.com>
21672 * io/Makefile (routines): Add copy_file_range.
21673 (tests): Add tst-copy_file_range.
21674 (tests-static, tests-internal): Add tst-copy_file_range-compat.
21675 * io/Versions (GLIBC_2.27): Export copy_file_range.
21676 * io/copy_file_range-compat.c: New file.
21677 * io/copy_file_range.c: Likewise.
21678 * io/tst-copy_file_range-compat.c: Likewise.
21679 * io/tst-copy_file_range.c: Likewise.
21680 * manual/llio.texi (Copying File Data): New section.
21681 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
21682 * support/Makefile (libsupport-routines): Add support-xfstat,
21683 xftruncate, xlseek.
21684 * support/support-xfstat.c: New file.
21685 * support/xftruncate.c: Likewise.
21686 * support/xlseek.c: Likewise.
21687 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
21688 * sysdeps/unix/sysv/linux/**.abilist: Update.
21689 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
21691 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
21693 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21694 disable-multi-arch variant to aarch64-linux-gnu.
21696 2017-12-20 Joseph Myers <joseph@codesourcery.com>
21698 * manual/texinfo.tex: Update to version 2017-12-18.20 with
21699 trailing whitespace removed.
21700 * scripts/config.guess: Update to version 2017-12-17.
21701 * scripts/config.sub: Update to version 2017-11-23.
21702 * scripts/install-sh: Update to version 2017-09-23.17.
21703 * scripts/move-if-change: Update to version 2017-09-13 06:45.
21705 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21707 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
21708 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21709 * sysdeps/tile/_mcount.S (__mcount): Likewise.
21710 * sysdeps/tile/crti.S (_init, _fini): Likewise.
21711 * sysdeps/tile/crtn.S: Likewise.
21712 * sysdeps/tile/dl-start.S (_start): Likewise.
21713 * sysdeps/tile/dl-trampoline.S: Likewise.
21714 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
21715 * sysdeps/tile/start.S (_start): Likewise.
21716 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
21717 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
21718 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
21719 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
21720 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
21721 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
21722 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
21724 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
21726 * sysdeps/tile/preconfigure: Remove tilegx folder.
21727 * sysdeps/tile/tilegx/Implies: Move definitions to ...
21728 * sysdeps/tile/Implies: ... here.
21729 * sysdeps/tile/tilegx/Makefile: Move rules to ...
21730 * sysdeps/tile/Makefile: ... here.
21731 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
21732 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
21733 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
21734 * sysdeps/tile/bits/wordsize.h: ... here.
21735 * sysdeps/tile/tilegx/*: Move to ...
21736 * sysdeps/tile/*: ... here.
21737 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
21738 * sysdeps/tile/tilegx32/Implies: ... here.
21739 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
21740 * sysdeps/tile/tilegx64/Implies: ... here.
21741 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
21743 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
21744 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
21745 * sysdeps/unix/sysv/linux/tile/*: ... here.
21746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
21747 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
21748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
21749 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
21751 * README: Remove tilepro-*-linux-gnu from supported architecture.
21752 * scripts/build-many-glibcs.py: Likewise.
21753 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21754 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
21755 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
21756 elf_machine_matches_host, elf_machine_dynamic,
21757 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
21758 howto, elf_machine_rela): Likewise.
21759 * sysdeps/tile/dl-start.S (_start): Likewise.
21760 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
21761 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
21762 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
21763 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
21764 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
21765 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21767 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
21768 * sysdeps/tile/preconfigure: Likewise.
21769 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
21770 POINTER_CHK_GUARD): Likewise.
21771 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
21772 * sysdeps/tile/start.S (_start): Likewise.
21773 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
21775 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
21776 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
21778 * sysdeps/unix/sysv/linux/tile/bits/environments.h
21779 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
21780 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
21782 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
21783 * sysdeps/tile/tilepro/Implies: Remove file.
21784 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
21785 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
21786 * sysdeps/tile/tilepro/memchr.c: Likewise.
21787 * sysdeps/tile/tilepro/memcpy.S: Likewise.
21788 * sysdeps/tile/tilepro/memset.c: Likewise.
21789 * sysdeps/tile/tilepro/memusage.h: Likewise.
21790 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
21791 * sysdeps/tile/tilepro/strchr.c: Likewise.
21792 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
21793 * sysdeps/tile/tilepro/strlen.c: Likewise.
21794 * sysdeps/tile/tilepro/strrchr.c: Likewise.
21795 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
21796 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
21797 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21798 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
21799 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
21800 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21802 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
21803 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21804 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
21805 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
21806 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21807 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
21808 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
21809 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
21810 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
21811 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
21812 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
21813 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
21814 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
21815 tilepro mention in comment.
21817 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
21818 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
21819 * nptl/pthread_join_common.c: New file: common function used on
21820 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
21821 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
21822 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
21823 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21824 (cleanup): Move definition to pthread_join_common.c.
21825 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
21826 Remove superflous checks.
21827 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
21830 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
21832 * sysdeps/aarch64/libm-test-ulps: Update.
21834 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21836 * sysdeps/aarch64/memset.S (MEMSET): Define.
21838 2017-12-20 Florian Weimer <fweimer@redhat.com>
21841 nptl: Provide full implementation of pthread_self in libc.so.
21842 * nptl/Makefile (routines): Add pthread_self.
21843 (libpthread-routines): Replace pthread_self with
21844 compat-pthread_self.
21845 * nptl/forward.c (pthread_self): Remove.
21846 * nptl/nptl-init.c (pthread_functions): Do not initialize
21848 * nptl/pthread_self.c (pthread_self): Remove weak alias.
21849 * nptl/compat-pthread_self.c: New file.
21850 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
21851 Remove ptr_pthread_self.
21853 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
21855 * posix/regcomp.c: Fix spelling in comments.
21856 * posix/regex.h: Likewise.
21857 * posix/regex_internal.c: Likewise.
21858 * posix/regexec.c: Likewise.
21860 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
21863 * math/Makefile [C++] (tests): Add test for iseqsig.
21864 * math/math.h [C++] (iseqsig): New implementation, which does
21865 not rely on __MATH_TG/__builtin_types_compatible_p.
21866 * math/test-math-iseqsig.cc: New file.
21867 * sysdeps/powerpc/powerpc64le/Makefile
21868 (CFLAGS-test-math-iseqsig.cc): New variable.
21870 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
21872 * elf/dl-load.c (is_trusted_path): Remove.
21873 (fillin_rpath): Remove check_trusted argument and its use,
21874 all callers changed.
21876 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21879 * Makeconfig (link-pie-before-libc): Replace -pie with
21880 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
21881 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
21882 (tst-dlopen-aout-no-pie): New.
21883 (LDFLAGS-tst-prelink): Removed.
21884 (tst-prelink-no-pie): New.
21885 (LDFLAGS-tst-main1): Removed.
21886 (tst-main1-no-pie): New.
21887 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
21888 (tst-gmon-no-pie): New.
21890 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21892 * manual/install.texi: Document that --enable-static-pie
21894 * INSTALL: Regenerated.
21896 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
21899 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
21902 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21906 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21910 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21912 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21913 <errno.h>. Include "eexp.tbl".
21914 (half): New constant.
21916 (__ieee754_exp): Rewrite.
21917 (__slowexp): Remove prototype.
21918 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21919 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21920 * sysdeps/i386/fpu/slowexp.c: Likewise.
21921 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21922 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21923 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21924 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21925 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21926 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21927 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21929 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21930 (CPPFLAGS-slowexp.c): Remove variable.
21931 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21932 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21933 (CFLAGS-slowexp-fma.c): Remove variable.
21934 (CFLAGS-slowexp-fma4.c): Likewise.
21935 (CFLAGS-slowexp-avx.c): Likewise.
21936 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21938 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21939 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21940 * math/Makefile (type-double-routines): Remove slowexp.
21941 * manual/probes.texi (slowexp_p6): Remove.
21942 (slowexp_p32): Likewise.
21944 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21946 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
21949 * lib/glob.c (glob): Do not pass NULL to mempcpy.
21951 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21955 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21957 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21958 <errno.h>. Include "eexp.tbl".
21959 (half): New constant.
21961 (__ieee754_exp): Rewrite.
21962 (__slowexp): Remove prototype.
21963 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21964 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21965 * sysdeps/i386/fpu/slowexp.c: Likewise.
21966 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21967 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21968 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21969 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21970 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21971 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21972 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21974 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21975 (CPPFLAGS-slowexp.c): Remove variable.
21976 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21977 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21978 (CFLAGS-slowexp-fma.c): Remove variable.
21979 (CFLAGS-slowexp-fma4.c): Likewise.
21980 (CFLAGS-slowexp-avx.c): Likewise.
21981 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21983 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21984 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21985 * math/Makefile (type-double-routines): Remove slowexp.
21986 * manual/probes.texi (slowexp_p6): Remove.
21987 (slowexp_p32): Likewise.
21989 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21990 James Clarke <jrtc27@jrtc27.com>
21993 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
21996 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21999 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
22002 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22005 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22006 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22007 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22008 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22011 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22014 * bits/types/__cancel_jmp_buf_tag.h: New file.
22015 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22016 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22017 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22018 * nptl/Makefile (headers): Add
22019 bits/types/__cancel_jmp_buf_tag.h.
22020 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22021 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22022 * sysdeps/nptl/pthread.h: Include
22023 <bits/types/__cancel_jmp_buf_tag.h>.
22024 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22026 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22028 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22030 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22031 --enable-static-pie variants to x86_64, x32 and i686.
22033 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22036 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
22037 argument for attrubutes. All callers changed.
22038 (__inline_mathop1): Likewise. All callers changed.
22039 (__inline_mathop): Likewise. All callers changed.
22040 [__USE_MISC] (scalbn): Use __inline_forward instead of
22041 __inline_forward_c.
22042 [__USE_ISOC99] (scalbln): Likewise.
22043 [__USE_ISOC99] (nearbyint): Likewise.
22044 [__USE_ISOC99] (lrint): Likewise.
22045 [__USE_MISC] (scalbnf): Likewise.
22046 [__USE_ISOC99] (scalblnf): Likewise.
22047 [__USE_ISOC99] (nearbyintf): Likewise.
22048 [__USE_ISOC99] (lrintf): Likewise.
22049 [__USE_MISC] (scalbnl): Likewise.
22050 [__USE_ISOC99] (scalblnl): Likewise.
22051 [__USE_ISOC99] (nearbyintl): Likewise.
22052 [__USE_ISOC99] (lrintl): Likewise.
22053 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
22054 __inline_mathop and __m81_defun changed.
22056 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
22057 CPU or FPU for ARM hard-float configurations.
22059 2017-12-18 Joseph Myers <joseph@codesourcery.com>
22061 * nptl/tst-attr3.c: Include <libc-diag.h>.
22062 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
22064 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
22066 * string/tester.c (test_strncat): Also disable -Warray-bounds
22067 warnings for two tests.
22069 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22072 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
22073 $(cc-pie-default) == yes.
22074 * config.make.in (cc-pie-default): New.
22075 * configure.ac (libc_cv_pie_default): Renamed to ...
22076 (libc_cv_cc_pie_default): This.
22077 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
22078 * configure: Regenerated.
22080 2017-12-18 Florian Weimer <fweimer@redhat.com>
22083 ld.so: Harden dl-libc/libdl hooks.
22084 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
22085 (rtld_active): New function.
22086 * dlfcn/dladdr.c (__dladdr): Call it.
22087 * dlfcn/dladdr1.c (__dladdr1): Likewise.
22088 * dlfcn/dlclose.c (__dlcose): Likewise.
22089 * dlfcn/dlerror.c (__dlerror): Likewise.
22090 * dlfcn/dlinfo.c (__dlinfo): Likewise.
22091 * dlfcn/dlmopen.c (__dlmopen): Likewise.
22092 * dlfcn/dlopen.c (__dlopen): Likewise.
22093 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22094 * dlfcn/dlsym.c (__dlsym): Likewise.
22095 * dlfcn/dlvsym.c (__dlvsym): Likewise.
22096 * libio/vtables.c (_IO_vtable_check): Likewise.
22097 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
22098 (__libc_dlclose): Likewise.
22099 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
22102 2017-12-18 Joseph Myers <joseph@codesourcery.com>
22105 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
22106 buffers for readlink input and output.
22108 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
22111 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
22112 inhibit_stack_protector.
22115 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
22116 inhibit_stack_protector.
22118 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
22121 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
22122 code and invocation.
22124 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
22126 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
22128 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
22131 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
22133 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22135 * sysdeps/s390/fpu/libm-test-ulps: Update.
22137 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22141 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22143 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
22144 constants to s_sincosf.h file.
22145 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22146 * sysdeps/ieee754/flt-32/s_sincosf.c: New
22148 * sysdeps/ieee754/flt-32/s_sincosf.h:
22151 2017-12-12 Carlos O'Donell <carlos@redhat.com>
22154 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
22157 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
22160 * INSTALL: Regenerated.
22161 * Makeconfig (real-static-start-installed-name): New.
22162 (pic-default): Updated for --enable-static-pie.
22163 (pie-default): New for --enable-static-pie.
22164 (default-pie-ldflag): Likewise.
22165 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
22166 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
22167 Replace $(static-start-installed-name) with
22168 $(real-static-start-installed-name).
22169 (+prectorT): Updated for --enable-static-pie.
22170 (+postctorT): Likewise.
22171 (CFLAGS-.o): Add $(pie-default).
22172 (CFLAGS-.op): Likewise.
22173 * NEWS: Mention --enable-static-pie.
22174 * config.h.in (ENABLE_STATIC_PIE): New.
22175 * configure.ac (--enable-static-pie): New configure option.
22176 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
22177 (have-static-pie): Likewise.
22178 Enable static PIE if linker supports --no-dynamic-linker.
22179 (ENABLE_STATIC_PIE): New AC_DEFINE.
22180 (enable-static-pie): New LIBC_CONFIG_VAR.
22181 * configure: Regenerated.
22182 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
22183 gr$(start-installed-name) for --enable-static-pie.
22184 (extra-objs): Likewise.
22185 (install-lib): Likewise.
22186 (extra-objs): Add static-reloc.o and static-reloc.os
22187 ($(objpfx)$(start-installed-name)): Also depend on
22188 $(objpfx)static-reloc.o.
22189 ($(objpfx)r$(start-installed-name)): New.
22190 ($(objpfx)g$(start-installed-name)): Also depend on
22191 $(objpfx)static-reloc.os.
22192 ($(objpfx)gr$(start-installed-name)): New.
22193 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
22195 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
22197 * csu/static-reloc.c: New file.
22198 * elf/Makefile (routines): Add dl-reloc-static-pie.
22199 (elide-routines.os): Likewise.
22200 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
22201 (tst-tls1-static-non-pie-no-pie): New.
22202 * elf/dl-reloc-static-pie.c: New file.
22203 * elf/dl-support.c (_dl_get_dl_main_map): New function.
22204 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
22205 STATIC_PIE_BOOTSTRAP.
22206 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22207 * gmon/Makefile (tests): Add tst-gmon-static-pie.
22208 (tests-static): Likewise.
22209 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
22210 (tst-gmon-static-no-pie): New.
22211 (CFLAGS-tst-gmon-static-pie.c): Likewise.
22212 (CRT-tst-gmon-static-pie): Likewise.
22213 (tst-gmon-static-pie-ENV): Likewise.
22214 (tests-special): Likewise.
22215 ($(objpfx)tst-gmon-static-pie.out): Likewise.
22216 (clean-tst-gmon-static-pie-data): Likewise.
22217 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
22218 * gmon/tst-gmon-static-pie.c: New file.
22219 * manual/install.texi: Document --enable-static-pie.
22220 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
22221 (_dl_get_dl_main_map): Likewise.
22222 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
22223 * sysdeps/x86_64/configure.ac: Likewise.
22224 * sysdeps/i386/configure: Regenerated.
22225 * sysdeps/x86_64/configure: Likewise.
22226 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
22227 (ASFLAGS-.op): Likewise.
22229 2017-12-15 Joseph Myers <joseph@codesourcery.com>
22231 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
22232 * posix/tst-mmap-offset.c (fname): Use /tmp.
22233 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
22235 2017-12-15 Steve Ellcey <sellcey@cavium.com>
22237 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
22239 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
22241 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
22244 2017-12-15 Joseph Myers <joseph@codesourcery.com>
22246 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
22247 --with-float=hard for arm-linux-gnueabihf configurations.
22250 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
22251 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
22252 ($(mo-installed)): Use $(objpfx)%.mo.
22253 (realclean): Remove rule.
22255 * po/Makefile (linguas): Remove rule and dependencies.
22256 (linguas.mo): Likewise.
22257 (.PHONY): Do not depend on linguas and linguas.mo.
22258 (podir): Remove variable.
22259 (pofiles): Likewise.
22260 [$(pofiles)] (%.po): Remove rule.
22262 * sysdeps/sparc/sparc32/Makefile
22263 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
22264 start-of-line whitespace in argument of echo.
22265 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
22266 with whitespace. Generate __wrap_.udiv alias.
22267 * sysdeps/sparc/sparc32/rem.S: Regenerated.
22268 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22269 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22270 * sysdeps/sparc/sparc32/urem.S: Likewise.
22272 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22274 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
22275 for aligned inputs.
22277 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
22279 * benchtests/bench-strcmp.c: Print output in JSON format.
22281 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
22283 2017-12-14 Florian Weimer <fweimer@redhat.com>
22287 * elf/dl-load.c (_dl_init_paths): Compute number of components in
22288 the expanded path string.
22290 2017-12-14 Florian Weimer <fweimer@redhat.com>
22294 * elf/dl-load.c (system_dirs): Update comment.
22295 (nsystem_dirs_len): Use array_length.
22296 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
22298 2017-12-14 Florian Weimer <fweimer@redhat.com>
22300 Simplify compiling most of support/ outside of glibc.
22301 * support/check_addrinfo.c: Include <string.h>.
22302 * support/check_dns_packet.c: Likewise.
22303 * support/check_hostent.c: Likewise.
22304 * support/support_can_chroot.c: Include <support/xunistd.h>.
22305 * support/support_format_addrinfo.c: Include <stdlib.h>
22306 * support/support_format_dns_packet.c: Include <stdbool.h>.
22307 * support/support_format_hostent.c: Include <stdlib.h>.
22308 * support/support_format_netent.c: Likewise.
22309 * support/support_write_string.c: Include <support/xunistd.h>.
22310 * support/xdlfcn.c: Include <stddef.h>.
22312 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
22314 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
22316 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22317 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22319 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22320 (sysdeps_routines): Add memset-niagara7.
22321 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
22323 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
22325 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
22326 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22327 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
22328 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
22329 Add niagara7 option.
22330 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
22333 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22334 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
22335 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
22337 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
22339 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
22340 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
22341 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22342 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
22343 and __memmove_niagara7.
22344 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
22345 Add niagara7 option.
22346 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
22347 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
22348 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
22349 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
22350 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
22352 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
22354 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
22355 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
22356 * sysdeps/sparc/sparc64/memmove.S: Likewise.
22357 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
22359 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
22360 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
22361 _dl_sparc_cap_flags array.
22362 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
22364 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
22366 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
22367 time whenever possible.
22369 2017-12-12 Carlos O'Donell <carlos@redhat.com>
22371 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
22372 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
22374 2017-12-12 Joseph Myers <joseph@codesourcery.com>
22376 * soft-fp/fmadf4.c: Move to ....
22377 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
22378 * soft-fp/fmasf4.c: Move to ....
22379 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
22380 * soft-fp/fmatf4.c: Move to ....
22381 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
22382 * sysdeps/ieee754/soft-fp/Makefile: New file.
22383 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
22384 * sysdeps/arm/preconfigure: Regenerated.
22385 * sysdeps/arm/nofpu/Implies: New file.
22386 * sysdeps/arm/s_fma.c: Remove file.
22387 * sysdeps/arm/s_fmaf.c: Likewise.
22388 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
22389 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
22390 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
22391 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
22392 * sysdeps/microblaze/s_fma.c: Remove file.
22393 * sysdeps/microblaze/s_fmaf.c: Likewise.
22394 * sysdeps/mips/mips32/nofpu/Implies: New file.
22395 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
22396 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
22397 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
22398 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
22399 * sysdeps/mips/ieee754/s_fma.c: Remove file.
22400 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
22401 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
22403 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
22404 * sysdeps/nios2/s_fma.c: Remove file.
22405 * sysdeps/nios2/s_fmaf.c: Likewise.
22406 * sysdeps/sh/nofpu/Implies: New file.
22407 * sysdeps/sh/s_fma.c: Remove file.
22408 * sysdeps/sh/s_fmaf.c: Likewise.
22409 * sysdeps/tile/Implies: Add ieee754/soft-fp.
22410 * sysdeps/tile/s_fma.c: Remove file.
22411 * sysdeps/tile/s_fmaf.c: Likewise.
22413 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
22415 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22416 Add s_cosf-sse2 and s_cosf-fma.
22417 (CFLAGS-s_cosf-fma.c): New.
22418 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
22419 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
22420 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
22422 2017-12-12 Steve Ellcey <sellcey@cavium.com>
22424 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
22426 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22428 * libio/Makefile (tests): Add tst-bz22415.
22429 (tst-bz22415-ENV): New rule.
22430 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
22431 (tests-special): Add tst-bz22415-mem.out.
22432 ($(objpfx)tst-bz22415-mem.out): New rule.
22433 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
22434 in case of a successful seek operation.
22435 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22436 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
22437 buffer is required.
22438 * libio/tst-bz22415.c: New test.
22440 * sysdeps/ia64/fpu/libm-test-ulps: Update.
22442 2017-12-12 James Clarke <jrtc27@jrtc27.com>
22444 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
22445 __IPC_64 to 0 to avoid IPC_64 being set.
22447 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22450 * math/bits/mathcalls.h (nextafter): Remove const.
22451 (nexttoward): Likewise.
22453 2017-12-12 Joseph Myers <joseph@codesourcery.com>
22455 * configure.ac (--with-fp): Remove configure option.
22456 (with_fp_cond): New variable.
22457 (libc_cv_with_fp): New configure test. Use this variable instead
22459 * configure: Regenerated.
22460 * config.make.in (with-fp): Use @libc_cv_with_fp@.
22461 * manual/install.texi (Configuring and compiling): Remove
22463 * INSTALL: Regenerated.
22464 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
22465 * sysdeps/mips/preconfigure (with_fp_cond): Define.
22466 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
22467 * sysdeps/sh/preconfigure (with_fp_cond): Define.
22468 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
22469 use --without-fp to configure glibc.
22471 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
22473 * manual/locale.texi (nl_langinfo): Fix a typo.
22475 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
22478 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
22480 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22482 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
22483 (CFLAGS-argp-parse.c): Likewise.
22484 (CFLAGS-argp-fmtstream.c): Likewise.
22485 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
22486 (CPPFLAGS-sha512-crypt.c): Likewise.
22487 (CPPFLAGS-md5-crypt.c): Likewise.
22488 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
22489 (CFLAGS-stack_chk_fail_local.c): Likewise.
22490 (CFLAGS-backtrace.c): Likewise.
22491 (CFLAGS-sprintf_chk.c): Likewise.
22492 (CFLAGS-snprintf_chk.c): Likewise.
22493 (CFLAGS-vsprintf_chk.c): Likewise.
22494 (CFLAGS-vsnprintf_chk.c): Likewise.
22495 (CFLAGS-asprintf_chk.c): Likewise.
22496 (CFLAGS-vasprintf_chk.c): Likewise.
22497 (CFLAGS-obprintf_chk.c): Likewise.
22498 (CFLAGS-dprintf_chk.c): Likewise.
22499 (CFLAGS-vdprintf_chk.c): Likewise.
22500 (CFLAGS-printf_chk.c): Likewise.
22501 (CFLAGS-fprintf_chk.c): Likewise.
22502 (CFLAGS-vprintf_chk.c): Likewise.
22503 (CFLAGS-vfprintf_chk.c): Likewise.
22504 (CFLAGS-gets_chk.c): Likewise.
22505 (CFLAGS-fgets_chk.c): Likewise.
22506 (CFLAGS-fgets_u_chk.c): Likewise.
22507 (CFLAGS-fread_chk.c): Likewise.
22508 (CFLAGS-fread_u_chk.c): Likewise.
22509 (CFLAGS-swprintf_chk.c): Likewise.
22510 (CFLAGS-vswprintf_chk.c): Likewise.
22511 (CFLAGS-wprintf_chk.c): Likewise.
22512 (CFLAGS-fwprintf_chk.c): Likewise.
22513 (CFLAGS-vwprintf_chk.c): Likewise.
22514 (CFLAGS-vfwprintf_chk.c): Likewise.
22515 (CFLAGS-fgetws_chk.c): Likewise.
22516 (CFLAGS-fgetws_u_chk.c): Likewise.
22517 (CFLAGS-read_chk.c): Likewise.
22518 (CFLAGS-pread_chk.c): Likewise.
22519 (CFLAGS-pread64_chk.c): Likewise.
22520 (CFLAGS-recv_chk.c): Likewise.
22521 (CFLAGS-recvfrom_chk.c): Likewise.
22522 (CFLAGS-tst-longjmp_chk.c): Likewise.
22523 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
22524 (CFLAGS-tst-longjmp_chk2.c): Likewise.
22525 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
22526 (CFLAGS-tst-longjmp_chk3.c): Likewise.
22527 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22528 (CFLAGS-tst-chk1.c): Likewise.
22529 (CFLAGS-tst-chk2.c): Likewise.
22530 (CFLAGS-tst-chk3.c): Likewise.
22531 (CFLAGS-tst-chk4.cc): Likewise.
22532 (CFLAGS-tst-chk5.cc): Likewise.
22533 (CFLAGS-tst-chk6.cc): Likewise.
22534 (CFLAGS-tst-lfschk1.c): Likewise.
22535 (CFLAGS-tst-lfschk2.c): Likewise.
22536 (CFLAGS-tst-lfschk3.c): Likewise.
22537 (CFLAGS-tst-lfschk4.cc): Likewise.
22538 (CFLAGS-tst-lfschk5.cc): Likewise.
22539 (CFLAGS-tst-lfschk6.cc): Likewise.
22540 (CFLAGS-tst-ssp-1.c): Likewise.
22541 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
22542 (CFLAGS-scandir64.c): Likewise.
22543 (CFLAGS-scandir-tail.c): Likewise.
22544 (CFLAGS-scandir64-tail.c): Likewise.
22545 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
22546 (CFLAGS-dl-tunables.c): Likewise.
22547 (CFLAGS-dl-runtime.c): Likewise.
22548 (CFLAGS-dl-lookup.c): Likewise.
22549 (CFLAGS-dl-iterate-phdr.c): Likewise.
22550 (CFLAGS-vismain.c): Likewise.
22551 (CFLAGS-tst-linkall-static.c): Likewise.
22552 (CFLAGS-tst-linkall-static.c): Likewise.
22553 (CPPFLAGS-dl-load.c): Likewise.
22554 (CFLAGS-ldconfig.c): Likewise.
22555 (CFLAGS-dl-cache.c): Likewise.
22556 (CFLAGS-cache.c): Likewise.
22557 (CFLAGS-rtld.c): Likewise.
22558 (CFLAGS-multiload.c): Likewise.
22559 (CFLAGS-filtmod1.c): Likewise.
22560 (CFLAGS-tst-align.c): Likewise.
22561 (CFLAGS-tst-align2.c): Likewise.
22562 (CFLAGS-tst-alignmod.c): Likewise.
22563 (CFLAGS-tst-alignmod2.c): Likewise.
22564 (CPPFLAGS-tst-execstack.c): Likewise.
22565 (CFLAGS-tst-ptrguard1-static.c): Likewise.
22566 (CFLAGS-tst-latepthreadmod.c): Likewise.
22567 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
22568 (CFLAGS-getgrnam_r.c): Likewise.
22569 (CFLAGS-getgrent_r.c): Likewise.
22570 (CFLAGS-getgrent.c): Likewise.
22571 (CFLAGS-fgetgrent.c): Likewise.
22572 (CFLAGS-fgetgrent_r.c): Likewise.
22573 (CFLAGS-putgrent.c): Likewise.
22574 (CFLAGS-initgroups.c): Likewise.
22575 (CFLAGS-getgrgid.c): Likewise.
22576 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
22577 (CFLAGS-getsgent.c): Likewise.
22578 (CFLAGS-fgetsgent.c): Likewise.
22579 (CFLAGS-fgetsgent_r.c): Likewise.
22580 (CFLAGS-putsgent.c): Likewise.
22581 (CFLAGS-getsgnam.c): Likewise.
22582 (CFLAGS-getsgnam_r.c): Likewise.
22583 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
22584 (CFLAGS-iconv_charmap.c): Likewise.
22585 (CFLAGS-dummy-repertoire.c): Likewise.
22586 (CFLAGS-charmap.c): Likewise.
22587 (CFLAGS-linereader.c): Likewise.
22588 (CFLAGS-simple-hash.c): Likewise.
22589 (CFLAGS-gconv_conf.c): Likewise.
22590 (CFLAGS-iconvconfig.c): Likewise.
22591 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
22592 (CFLAGS-gethstbyad.c): Likewise.
22593 (CFLAGS-gethstbynm_r.c): Likewise.
22594 (CFLAGS-gethstbynm.c): Likewise.
22595 (CFLAGS-gethstbynm2_r.c): Likewise.
22596 (CFLAGS-gethstbynm2.c): Likewise.
22597 (CFLAGS-gethstent_r.c): Likewise.
22598 (CFLAGS-gethstent.c): Likewise.
22599 (CFLAGS-rcmd.c): Likewise.
22600 (CFLAGS-getnetbynm_r.c): Likewise.
22601 (CFLAGS-getnetbynm.c): Likewise.
22602 (CFLAGS-getnetbyad_r.c): Likewise.
22603 (CFLAGS-getnetbyad.c): Likewise.
22604 (CFLAGS-getnetent_r.c): Likewise.
22605 (CFLAGS-getnetent.c): Likewise.
22606 (CFLAGS-getaliasent_r.c): Likewise.
22607 (CFLAGS-getaliasent.c): Likewise.
22608 (CFLAGS-getrpcent_r.c): Likewise.
22609 (CFLAGS-getrpcent.c): Likewise.
22610 (CFLAGS-getservent_r.c): Likewise.
22611 (CFLAGS-getservent.c): Likewise.
22612 (CFLAGS-getprtent_r.c): Likewise.
22613 (CFLAGS-getprtent.c): Likewise.
22614 (CFLAGS-either_ntoh.c): Likewise.
22615 (CFLAGS-either_hton.c): Likewise.
22616 (CFLAGS-getnetgrent.c): Likewise.
22617 (CFLAGS-getnetgrent_r.c): Likewise.
22618 (CFLAGS-tst-checks-posix.c): Likewise.
22619 (CFLAGS-tst-sockaddr.c): Likewise.
22620 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
22621 (CFLAGS-tst-translit.c): Likewise.
22622 (CFLAGS-tst-gettext2.c): Likewise.
22623 (CFLAGS-tst-codeset.c): Likewise.
22624 (CFLAGS-tst-gettext3.c): Likewise.
22625 (CFLAGS-tst-gettext4.c): Likewise.
22626 (CFLAGS-tst-gettext5.c): Likewise.
22627 (CFLAGS-tst-gettext6.c): Likewise.
22628 * io/Makefile (CFLAGS-open.c): Likewise.
22629 (CFLAGS-open64.c): Likewise.
22630 (CFLAGS-creat.c): Likewise.
22631 (CFLAGS-creat64.c): Likewise.
22632 (CFLAGS-fcntl.c): Likewise.
22633 (CFLAGS-poll.c): Likewise.
22634 (CFLAGS-ppoll.c): Likewise.
22635 (CFLAGS-lockf.c): Likewise.
22636 (CFLAGS-statfs.c): Likewise.
22637 (CFLAGS-fstatfs.c): Likewise.
22638 (CFLAGS-statvfs.c): Likewise.
22639 (CFLAGS-fstatvfs.c): Likewise.
22640 (CFLAGS-fts.c): Likewise.
22641 (CFLAGS-fts64.c): Likewise.
22642 (CFLAGS-ftw.c): Likewise.
22643 (CFLAGS-ftw64.c): Likewise.
22644 (CFLAGS-lockf.c): Likewise.
22645 (CFLAGS-posix_fallocate.c): Likewise.
22646 (CFLAGS-posix_fallocate64.c): Likewise.
22647 (CFLAGS-fallocate.c): Likewise.
22648 (CFLAGS-fallocate64.c): Likewise.
22649 (CFLAGS-read.c): Likewise.
22650 (CFLAGS-write.c): Likewise.
22651 (CFLAGS-test-stat.c): Likewise.
22652 (CFLAGS-test-lfs.c): Likewise.
22653 * libio/Makefile (CFLAGS-fileops.c): Likewise.
22654 (CFLAGS-fputc.c): Likewise.
22655 (CFLAGS-fputwc.c): Likewise.
22656 (CFLAGS-freopen64.c): Likewise.
22657 (CFLAGS-freopen.c): Likewise.
22658 (CFLAGS-fseek.c): Likewise.
22659 (CFLAGS-fseeko64.c): Likewise.
22660 (CFLAGS-fseeko.c): Likewise.
22661 (CFLAGS-ftello64.c): Likewise.
22662 (CFLAGS-ftello.c): Likewise.
22663 (CFLAGS-fwide.c): Likewise.
22664 (CFLAGS-genops.c): Likewise.
22665 (CFLAGS-getc.c): Likewise.
22666 (CFLAGS-getchar.c): Likewise.
22667 (CFLAGS-getwc.c): Likewise.
22668 (CFLAGS-getwchar.c): Likewise.
22669 (CFLAGS-iofclose.c): Likewise.
22670 (CFLAGS-iofflush.c): Likewise.
22671 (CFLAGS-iofgetpos64.c): Likewise.
22672 (CFLAGS-iofgetpos.c): Likewise.
22673 (CFLAGS-iofgets.c): Likewise.
22674 (CFLAGS-iofgetws.c): Likewise.
22675 (CFLAGS-iofputs.c): Likewise.
22676 (CFLAGS-iofputws.c): Likewise.
22677 (CFLAGS-iofread.c): Likewise.
22678 (CFLAGS-iofsetpos64.c): Likewise.
22679 (CFLAGS-iofsetpos.c): Likewise.
22680 (CFLAGS-ioftell.c): Likewise.
22681 (CFLAGS-iofwrite.c): Likewise.
22682 (CFLAGS-iogetdelim.c): Likewise.
22683 (CFLAGS-iogetline.c): Likewise.
22684 (CFLAGS-iogets.c): Likewise.
22685 (CFLAGS-iogetwline.c): Likewise.
22686 (CFLAGS-ioputs.c): Likewise.
22687 (CFLAGS-ioseekoff.c): Likewise.
22688 (CFLAGS-ioseekpos.c): Likewise.
22689 (CFLAGS-iosetbuffer.c): Likewise.
22690 (CFLAGS-iosetvbuf.c): Likewise.
22691 (CFLAGS-ioungetc.c): Likewise.
22692 (CFLAGS-ioungetwc.c): Likewise.
22693 (CFLAGS-oldfileops.c): Likewise.
22694 (CFLAGS-oldiofclose.c): Likewise.
22695 (CFLAGS-oldiofgetpos64.c): Likewise.
22696 (CFLAGS-oldiofgetpos.c): Likewise.
22697 (CFLAGS-oldiofsetpos64.c): Likewise.
22698 (CFLAGS-oldiofsetpos.c): Likewise.
22699 (CFLAGS-peekc.c): Likewise.
22700 (CFLAGS-putc.c): Likewise.
22701 (CFLAGS-putchar.c): Likewise.
22702 (CFLAGS-putwc.c): Likewise.
22703 (CFLAGS-putwchar.c): Likewise.
22704 (CFLAGS-rewind.c): Likewise.
22705 (CFLAGS-wfileops.c): Likewise.
22706 (CFLAGS-wgenops.c): Likewise.
22707 (CFLAGS-oldiofopen.c): Likewise.
22708 (CFLAGS-iofopen.c): Likewise.
22709 (CFLAGS-iofopen64.c): Likewise.
22710 (CFLAGS-oldtmpfile.c): Likewise.
22711 (CFLAGS-tst_putwc.c): Likewise.
22712 * locale/Makefile (CFLAGS-md5.c): Likewise.
22713 (CFLAGS-charmap.c): Likewise.
22714 (CFLAGS-locfile.c): Likewise.
22715 (CFLAGS-charmap-dir.c): Likewise.
22716 * login/Makefile (CFLAGS-grantpt.c): Likewise.
22717 (CFLAGS-getpt.c): Likewise.
22718 (CFLAGS-pt_chown.c): Likewise.
22719 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
22720 (CFLAGS-obstack.c): Likewise.
22721 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
22722 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
22723 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
22724 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
22725 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
22726 (CFLAGS-test-tgmath.c): Likewise.
22727 (CFLAGS-test-tgmath2.c): Likewise.
22728 (CFLAGS-test-tgmath-ret.c): Likewise.
22729 (CFLAGS-test-powl.c): Likewise.
22730 (CFLAGS-test-snan.c): Likewise.
22731 (CFLAGS-test-signgam-finite.c): Likewise.
22732 (CFLAGS-test-signgam-finite-c99.c): Likewise.
22733 (CFLAGS-test-signgam-finite-c11.c): Likewise.
22734 (CFLAGS-test-signgam-uchar.c): Likewise.
22735 (CFLAGS-test-signgam-uchar-init.c): Likewise.
22736 (CFLAGS-test-signgam-uchar-static.c): Likewise.
22737 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22738 (CFLAGS-test-signgam-uint.c): Likewise.
22739 (CFLAGS-test-signgam-uint-init.c): Likewise.
22740 (CFLAGS-test-signgam-uint-static.c): Likewise.
22741 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22742 (CFLAGS-test-signgam-ullong.c): Likewise.
22743 (CFLAGS-test-signgam-ullong-init.c): Likewise.
22744 (CFLAGS-test-signgam-ullong-static.c): Likewise.
22745 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22746 (CFLAGS-test-math-cxx11.cc): Likewise.
22747 (CFLAGS-test-math-isinff.cc): Likewise.
22748 (CFLAGS-test-math-iszero.cc): Likewise.
22749 (CFLAGS-test-math-issignaling.cc): Likewise.
22750 (CFLAGS-test-math-iscanonical.cc): Likewise.
22751 (CFLAGS-test-iszero-excess-precision.c): Likewise.
22752 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
22753 (CFLAGS-test-flt-eval-method.c): Likewise.
22754 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
22755 (CFLAGS-test-finite-macros.c): Likewise.
22756 * misc/Makefile (CFLAGS-select.c): Likewise.
22757 (CFLAGS-tsearch.c): Likewise.
22758 (CFLAGS-lsearch.c): Likewise.
22759 (CFLAGS-pselect.c): Likewise.
22760 (CFLAGS-readv.c): Likewise.
22761 (CFLAGS-writev.c): Likewise.
22762 (CFLAGS-preadv.c): Likewise.
22763 (CFLAGS-preadv64.c): Likewise.
22764 (CFLAGS-pwritev.c): Likewise.
22765 (CFLAGS-pwritev64.c): Likewise.
22766 (CFLAGS-preadv2.c): Likewise.
22767 (CFLAGS-preadv64v2.c): Likewise.
22768 (CFLAGS-pwritev2.c): Likewise.
22769 (CFLAGS-pwritev64v2.c): Likewise.
22770 (CFLAGS-usleep.c): Likewise.
22771 (CFLAGS-syslog.c): Likewise.
22772 (CFLAGS-error.c): Likewise.
22773 (CFLAGS-getpass.c): Likewise.
22774 (CFLAGS-mkstemp.c): Likewise.
22775 (CFLAGS-mkstemp64.c): Likewise.
22776 (CFLAGS-getsysstats.c): Likewise.
22777 (CFLAGS-getusershell.c): Likewise.
22778 (CFLAGS-err.c): Likewise.
22779 (CFLAGS-tst-tsearch.c): Likewise.
22780 (CFLAGS-msync.c): Likewise.
22781 (CFLAGS-fdatasync.c): Likewise.
22782 (CFLAGS-fsync.c): Likewise.
22783 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
22784 (CFLAGS-unwind.c): Likewise.
22785 (CFLAGS-unwind-forcedunwind.c): Likewise.
22786 (CFLAGS-pthread_cancel.c): Likewise.
22787 (CFLAGS-pthread_setcancelstate.c): Likewise.
22788 (CFLAGS-pthread_setcanceltype.c): Likewise.
22789 (CFLAGS-cancellation.c): Likewise.
22790 (CFLAGS-libc-cancellation.c): Likewise.
22791 (CFLAGS-pthread_exit.c): Likewise.
22792 (CFLAGS-forward.c): Likewise.
22793 (CFLAGS-pthread_testcancel.c): Likewise.
22794 (CFLAGS-pthread_join.c): Likewise.
22795 (CFLAGS-pthread_timedjoin.c): Likewise.
22796 (CFLAGS-pthread_once.c): Likewise.
22797 (CFLAGS-pthread_cond_wait.c): Likewise.
22798 (CFLAGS-sem_wait.c): Likewise.
22799 (CFLAGS-sem_timedwait.c): Likewise.
22800 (CFLAGS-fcntl.c): Likewise.
22801 (CFLAGS-lockf.c): Likewise.
22802 (CFLAGS-pread.c): Likewise.
22803 (CFLAGS-pread64.c): Likewise.
22804 (CFLAGS-pwrite.c): Likewise.
22805 (CFLAGS-pwrite64.c): Likewise.
22806 (CFLAGS-wait.c): Likewise.
22807 (CFLAGS-waitpid.c): Likewise.
22808 (CFLAGS-sigwait.c): Likewise.
22809 (CFLAGS-msgrcv.c): Likewise.
22810 (CFLAGS-msgsnd.c): Likewise.
22811 (CFLAGS-tcdrain.c): Likewise.
22812 (CFLAGS-open.c): Likewise.
22813 (CFLAGS-open64.c): Likewise.
22814 (CFLAGS-pause.c): Likewise.
22815 (CFLAGS-recv.c): Likewise.
22816 (CFLAGS-send.c): Likewise.
22817 (CFLAGS-accept.c): Likewise.
22818 (CFLAGS-sendto.c): Likewise.
22819 (CFLAGS-connect.c): Likewise.
22820 (CFLAGS-recvfrom.c): Likewise.
22821 (CFLAGS-recvmsg.c): Likewise.
22822 (CFLAGS-sendmsg.c): Likewise.
22823 (CFLAGS-close.c): Likewise.
22824 (CFLAGS-read.c): Likewise.
22825 (CFLAGS-write.c): Likewise.
22826 (CFLAGS-nanosleep.c): Likewise.
22827 (CFLAGS-sigsuspend.c): Likewise.
22828 (CFLAGS-msync.c): Likewise.
22829 (CFLAGS-fdatasync.c): Likewise.
22830 (CFLAGS-fsync.c): Likewise.
22831 (CFLAGS-pt-system.c): Likewise.
22832 (CFLAGS-tst-cleanup2.c): Likewise.
22833 (CFLAGS-tst-cleanupx2.c): Likewise.
22834 (CFLAGS-flockfile.c): Likewise.
22835 (CFLAGS-ftrylockfile.c): Likewise.
22836 (CFLAGS-funlockfile.c): Likewise.
22837 (CFLAGS-tst-initializers1.c): Likewise.
22838 (CFLAGS-tst-initializers1-c89.c): Likewise.
22839 (CFLAGS-tst-initializers1-c99.c): Likewise.
22840 (CFLAGS-tst-initializers1-c11.c): Likewise.
22841 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
22842 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
22843 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22844 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
22845 (CFLAGS-nscd_getgr_r.c): Likewise.
22846 (CFLAGS-nscd_gethst_r.c): Likewise.
22847 (CFLAGS-nscd_getai.c): Likewise.
22848 (CFLAGS-nscd_initgroups.c): Likewise.
22849 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
22850 (CFLAGS-pause.c): Likewise.
22851 (CFLAGS-pread.c): Likewise.
22852 (CFLAGS-pread64.c): Likewise.
22853 (CFLAGS-pwrite.c): Likewise.
22854 (CFLAGS-pwrite64.c): Likewise.
22855 (CFLAGS-sleep.c): Likewise.
22856 (CFLAGS-wait.c): Likewise.
22857 (CFLAGS-waitid.c): Likewise.
22858 (CFLAGS-waitpid.c): Likewise.
22859 (CFLAGS-getopt.c): Likewise.
22860 (CFLAGS-wordexp.c): Likewise.
22861 (CFLAGS-sysconf.c): Likewise.
22862 (CFLAGS-pathconf.c): Likewise.
22863 (CFLAGS-fpathconf.c): Likewise.
22864 (CFLAGS-spawn.c): Likewise.
22865 (CFLAGS-spawnp.c): Likewise.
22866 (CFLAGS-spawni.c): Likewise.
22867 (CFLAGS-glob.c): Likewise.
22868 (CFLAGS-glob64.c): Likewise.
22869 (CFLAGS-getconf.c): Likewise.
22870 (CFLAGS-nanosleep.c): Likewise.
22871 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
22872 (CFLAGS-getpwent.c): Likewise.
22873 (CFLAGS-getpw.c): Likewise.
22874 (CFLAGS-fgetpwent_r.c): Likewise.
22875 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
22876 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
22877 (CFLAGS-mq_timedreceive.c): Likewise.
22878 (CFLAGS-mq_timedsend.c): Likewise.
22879 (CFLAGS-clock_nanosleep.c): Likewise.
22880 (CFLAGS-librt-cancellation.c): Likewise.
22881 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
22882 (CFLAGS-getspent.c): Likewise.
22883 (CFLAGS-fgetspent.c): Likewise.
22884 (CFLAGS-fgetspent_r.c): Likewise.
22885 (CFLAGS-putspent.c): Likewise.
22886 (CFLAGS-getspnam.c): Likewise.
22887 (CFLAGS-getspnam_r.c): Likewise.
22888 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
22889 (CFLAGS-sigsuspend.c): Likewise.
22890 (CFLAGS-sigtimedwait.c): Likewise.
22891 (CFLAGS-sigwait.c): Likewise.
22892 (CFLAGS-sigwaitinfo.c): Likewise.
22893 (CFLAGS-sigreturn.c): Likewise.
22894 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22895 (CFLAGS-vfwprintf.c): Likewise.
22896 (CFLAGS-tmpfile.c): Likewise.
22897 (CFLAGS-tmpfile64.c): Likewise.
22898 (CFLAGS-tempname.c): Likewise.
22899 (CFLAGS-psignal.c): Likewise.
22900 (CFLAGS-vprintf.c): Likewise.
22901 (CFLAGS-cuserid.c): Likewise.
22902 (CFLAGS-errlist.c): Likewise.
22903 (CFLAGS-siglist.c): Likewise.
22904 (CFLAGS-scanf15.c): Likewise.
22905 (CFLAGS-scanf17.c): Likewise.
22906 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
22907 (CFLAGS-msort.c): Likewise.
22908 (CFLAGS-qsort.c): Likewise.
22909 (CFLAGS-system.c): Likewise.
22910 (CFLAGS-fmtmsg.c): Likewise.
22911 (CFLAGS-strfmon.c): Likewise.
22912 (CFLAGS-strfmon_l.c): Likewise.
22913 (CFLAGS-strfromd.c): Likewise.
22914 (CFLAGS-strfromf.c): Likewise.
22915 (CFLAGS-strfroml.c): Likewise.
22916 (CFLAGS-tst-bsearch.c): Likewise.
22917 (CFLAGS-tst-qsort.c): Likewise.
22918 (CFLAGS-tst-makecontext2.c): Likewise.
22919 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
22920 (CFLAGS-xnlm_prot.c): Likewise.
22921 (CFLAGS-xrstat.c): Likewise.
22922 (CFLAGS-xyppasswd.c): Likewise.
22923 (CFLAGS-xklm_prot.c): Likewise.
22924 (CFLAGS-xrex.c): Likewise.
22925 (CFLAGS-xsm_inter.c): Likewise.
22926 (CFLAGS-xmount.c): Likewise.
22927 (CFLAGS-xrusers.c): Likewise.
22928 (CFLAGS-xspray.c): Likewise.
22929 (CFLAGS-xnfs_prot.c): Likewise.
22930 (CFLAGS-xrquota.c): Likewise.
22931 (CFLAGS-xkey_prot.c): Likewise.
22932 (CFLAGS-auth_unix.c): Likewise.
22933 (CFLAGS-key_call.c): Likewise.
22934 (CFLAGS-pmap_rmt.c): Likewise.
22935 (CFLAGS-clnt_perr.c): Likewise.
22936 (CFLAGS-openchild.c): Likewise.
22937 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
22938 (CFLAGS-msgsnd.c): Likewise.
22939 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
22940 * time/Makefile (CFLAGS-tzfile.c): Likewise.
22941 (CFLAGS-tzset.c): Likewise.
22942 (CFLAGS-getdate.c): Likewise.
22943 (CFLAGS-test_time.c): Likewise.
22944 (CPPFLAGS-tst-tzname.c): Likewise.
22945 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
22946 (CFLAGS-zic.c): Likewise.
22947 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
22948 (CFLAGS-wcswidth.c): Likewise.
22949 (CFLAGS-wcstol.c): Likewise.
22950 (CFLAGS-wcstoul.c): Likewise.
22951 (CFLAGS-wcstoll.c): Likewise.
22952 (CFLAGS-wcstoull.c): Likewise.
22953 (CFLAGS-wcstod.c): Likewise.
22954 (CFLAGS-wcstold.c): Likewise.
22955 (CFLAGS-wcstof128.c): Likewise.
22956 (CFLAGS-wcstof.c): Likewise.
22957 (CFLAGS-wcstol_l.c): Likewise.
22958 (CFLAGS-wcstoul_l.c): Likewise.
22959 (CFLAGS-wcstoll_l.c): Likewise.
22960 (CFLAGS-wcstoull_l.c): Likewise.
22961 (CFLAGS-wcstod_l.c): Likewise.
22962 (CFLAGS-wcstold_l.c): Likewise.
22963 (CFLAGS-wcstof128_l.c): Likewise.
22964 (CFLAGS-wcstof_l.c): Likewise.
22965 (CPPFLAGS-tst-wchar-h.c): Likewise.
22966 (CPPFLAGS-wcstold_l.c): Likewise.
22968 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
22970 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
22972 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22973 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22975 * manual/tunables.texi (Hardware Capability Tunables): Document
22976 glibc.tune.cached_memopt.
22977 * sysdeps/powerpc/cpu-features.c: New file.
22978 * sysdeps/powerpc/cpu-features.h: New file.
22979 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
22980 _dl_powerpc_cpu_features.
22981 * sysdeps/powerpc/dl-tunables.list: New file.
22982 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
22983 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22984 (INIT_ARCH): Initialize use_aligned_memopt.
22985 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
22986 IS_IN(rtld))]: Restrict dl_platform_init availability and
22987 initialize CPU features used by tunables.
22988 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
22989 Add memcpy-power8-cached.
22990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
22991 __memcpy_power8_cached.
22992 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22993 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
22996 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22998 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
22999 (CFLAGS-noinl-tester.c): Likewise.
23000 (CFLAGS-tst-strlen.c): Likewise.
23001 (CFLAGS-stratcliff.c): Likewise.
23002 (CFLAGS-test-ffs.c): Likewise.
23003 (CFLAGS-tst-inlcall.c): Likewise.
23004 (CFLAGS-tst-xbzero-opt.c): Likewise.
23005 (CFLAGS-memcpy.c): Likewise.
23006 (CFLAGS-wordcopy.c): Likewise.
23008 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23010 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
23011 Store r15 on stack and add cfi rule.
23012 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23015 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
23018 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
23021 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23023 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23024 Add s_sinf-sse2 and s_sinf-fma.
23025 (CFLAGS-s_sinf-fma.c): New.
23026 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
23027 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
23028 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
23030 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23032 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
23034 2017-12-07 Joseph Myers <joseph@codesourcery.com>
23037 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
23038 part of result to imaginary part of argument if it is zero and the
23039 real part of the argument is not finite.
23040 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
23041 of result to real part of argument if it is zero and the imaginary
23042 part of the argument is not finite.
23044 2017-12-07 Mike FABIAN <mfabian@redhat.com>
23047 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
23048 and to the list of locales to be built for testing.
23049 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
23050 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
23051 and build the collation rules upon that.
23053 2017-12-07 Joseph Myers <joseph@codesourcery.com>
23055 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
23056 * manual/math.texi (Mathematics): Document support for _Float32.
23057 * math/Makefile (test-types): Add float32.
23058 * math/Versions (GLIBC_2.27): Add _Float32 functions.
23059 * stdlib/Versions (GLIBC_2.27): Likewise.
23060 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23061 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23062 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23063 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23064 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23065 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23066 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23067 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23068 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23069 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23070 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23071 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23072 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23073 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23074 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23075 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23076 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23077 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23078 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23079 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23080 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23081 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23083 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23084 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23085 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23086 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23087 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23105 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23106 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23107 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23108 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23109 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23110 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23111 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23112 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23113 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23114 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23123 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23124 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23125 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23126 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23127 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23128 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23129 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23130 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23132 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23134 * stdlib/strtof.c: Include <bits/floatn.h>
23135 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
23136 and later undefine as macro. Define as weak alias if
23138 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
23139 and later undefine as macro. Define as weak alias if
23141 * stdlib/strtof_l.c: Include <bits/floatn.h>
23142 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
23143 and later undefine as macro. Define as weak alias if
23145 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
23146 and later undefine as macro. Define as weak alias if
23149 * stdlib/strfromf.c: Include <bits/floatn.h>.
23150 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
23151 and later undefine as macro and define as weak alias.
23153 * math/test-float32.h: New file.
23155 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
23156 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
23157 (libm_alias_float_other_r): Create f32 alias.
23158 (libm_alias_float_r): Use semicolon before call to
23159 libm_alias_float_other_r.
23161 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
23162 second argument to libm_alias_float_other.
23163 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
23164 second argument to libm_alias_float_other.
23165 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
23166 argument to libm_alias_float_other.
23169 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
23170 real part of result for argument 0 + i * NaN.
23171 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
23172 results for tests of 0 + i * NaN.
23174 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23176 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23178 2017-12-06 David S. Miller <davem@davemloft.net>
23180 * sysdeps/sparc/fpu/libm-test-ulps: Update
23181 exp_{downward,towardzero,upward} ulps.
23183 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23185 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
23188 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
23190 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
23192 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
23194 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
23197 2017-12-06 Mike FABIAN <mfabian@redhat.com>
23200 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
23201 and to the list of locales to be built for testing.
23202 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
23203 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
23204 and build the collation rules upon that.
23206 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23208 * NEWS: Add sinf to list of optimized functions.
23210 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23212 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
23213 (__HAVE_FLOAT32X): Likewise.
23214 * manual/math.texi (Mathematics): Document support for _Float64
23216 * math/Makefile (test-types): Add float64 and float32x.
23217 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
23219 * stdlib/Versions (GLIBC_2.27): Likewise.
23220 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23221 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23222 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23223 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23224 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23225 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23226 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23227 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23228 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23229 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23230 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23231 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23232 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23233 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23234 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23235 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23236 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23237 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23238 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23239 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23240 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23241 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23243 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23244 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23245 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23246 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23247 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23264 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23265 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23266 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23267 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23268 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23269 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23270 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23271 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23272 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23273 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23274 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23276 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23282 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23283 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23284 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23285 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23286 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23287 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23288 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23289 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23291 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23293 * bits/floatn-common.h: Include <bits/long-double.h>.
23294 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23295 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
23296 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23297 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
23298 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23299 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
23300 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23301 (__builtin_huge_valf64): Use __builtin_huge_vall.
23302 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23303 (__builtin_inff64): Use __builtin_infl.
23304 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23305 (__builtin_nanf64): Use __builtin_nanl.
23306 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23307 (__builtin_nansf64): Use __builtin_nansl.
23309 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
23310 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23311 Carlos O'Donnell <carlos@redhat.com>
23313 * elf/dl-tunables.list: Add elision parameters.
23314 * manual/tunables.texi: Add entries about elision tunable.
23315 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
23316 Add callback functions to dynamically enable/disable elision.
23317 Add multiple callbacks functions to set elision parameters.
23318 Deleted __libc_enable_secure check.
23319 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
23320 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
23321 * configure: Regenerated.
23322 * configure.ac: Option enable_lock_elision was deleted.
23323 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
23324 * config.make.in: Remove references to enable_lock_elision.
23325 * manual/install.texi: Elision configure option was removed.
23326 * INSTALL: Regenerated to remove enable_lock_elision.
23328 Disable elision so it can verify error case for destroying a mutex.
23329 * sysdeps/powerpc/nptl/elide.h:
23330 Cleanup ENABLE_LOCK_ELISION check.
23331 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
23332 * sysdeps/s390/configure: Regenerated.
23333 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
23334 * nptl/tst-mutex8.c:
23335 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
23336 * sysdeps/powerpc/powerpc32/sysdep.h:
23337 Deleted all ENABLE_LOCK_ELISION checks.
23338 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23339 * sysdeps/powerpc/sysdep.h: Likewise.
23340 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
23341 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
23342 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23343 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23344 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23345 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
23346 enable-lock-elision.
23348 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23350 * stdlib/strtod.c: Include <bits/floatn.h>.
23351 (BUILD_DOUBLE): New macro.
23352 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23353 (strtof64): Define and later undefine as macro. Define as weak
23354 alias if [!USE_WIDE_CHAR].
23355 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23356 (wcstof64): Define and later undefine as macro. Define as weak
23357 alias if [USE_WIDE_CHAR].
23358 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23359 (strtof32x): Define and later undefine as macro. Define as weak
23360 alias if [!USE_WIDE_CHAR].
23361 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23362 (wcstof32x): Define and later undefine as macro. Define as weak
23363 alias if [USE_WIDE_CHAR].
23364 * stdlib/strtod_l.c: Include <bits/floatn.h>.
23365 (BUILD_DOUBLE): New macro.
23366 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23367 (strtof64_l): Define and later undefine as macro. Define as weak
23368 alias if [!USE_WIDE_CHAR].
23369 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23370 (wcstof64_l): Define and later undefine as macro. Define as weak
23371 alias if [USE_WIDE_CHAR].
23372 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23373 (strtof32x_l): Define and later undefine as macro. Define as weak
23374 alias if [!USE_WIDE_CHAR].
23375 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23376 (wcstof32x_l): Define and later undefine as macro. Define as weak
23377 alias if [USE_WIDE_CHAR].
23379 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23381 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
23382 (reduced): Use ones as double instead of integer.
23384 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
23386 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
23388 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23390 * stdlib/strfromd.c: Include <bits/floatn.h>.
23391 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
23392 and later undefine as macro and define as weak alias.
23393 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
23396 * math/test-float32x.h: New file.
23397 * math/test-float64.h: Likewise.
23399 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
23400 (libm_alias_double_other_r_f64): New macro.
23401 (libm_alias_double_other_r_f32x): Likewise.
23402 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23403 libm_alias_double_other_r_f32x.
23404 (libm_alias_double_r): Use semicolon before call to
23405 libm_alias_double_other_r.
23406 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
23408 (libm_alias_double_other_r_f64): New macro.
23409 (libm_alias_double_other_r_f32x): Likewise.
23410 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23411 libm_alias_double_other_r_f32x.
23413 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
23415 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
23417 (SINF_FUNC): Likewise. Replace floor with simple casts.
23419 2017-12-05 Mike FABIAN <mfabian@redhat.com>
23422 * localedata/Makefile: Add et_EE.UTF-8 to test-input
23423 and to the list of locales to be built for testing.
23424 * localedata/et_EE.UTF-8.in: New file for testing the collation.
23425 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
23426 and build the collation rules upon that.
23428 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
23430 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
23431 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
23432 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
23433 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
23434 instead of __insn__xxx.
23435 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
23436 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
23437 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
23438 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
23439 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
23440 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
23442 2017-12-05 Florian Weimer <fweimer@redhat.com>
23444 Linux: Implement interfaces for memory protection keys
23445 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
23447 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
23448 * support/xunistd.h (xsysconf): Declare.
23449 * support/xraise.c: New file.
23450 * support/xsigaction.c: Likewise.
23451 * support/xsignal.c: Likewise.
23452 * support/xsysconf.c: Likewise.
23453 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
23454 pkey_set, pkey_get, pkey_mprotect.
23455 [misc] (tests): Add tst-pkey.
23456 (tst-pkey): Link with -lpthread.
23457 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
23458 pkey_free, pkey_set, pkey_get, pkey_mprotect.
23459 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
23460 (PKEY_DISABLE_WRITE): Define.
23461 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
23463 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
23464 (SEGV_PKUERR): Add.
23465 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
23466 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
23467 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
23468 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
23470 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
23471 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
23472 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
23473 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
23474 * sysdeps/unix/sysv/linux/**.abilist: Update.
23476 2017-12-05 Florian Weimer <fweimer@redhat.com>
23478 * support/tst-test_compare.c (subprocess): Use long long instead
23479 of long argument for consistent type width across 32-bit and
23480 64-bit architectures.
23481 (do_test): Adjust expected output.
23483 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23485 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
23486 (cosf): Define using libm_alias_float.
23487 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
23488 (fabsf): Define using libm_alias_float.
23489 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
23490 (fmaf): Define using libm_alias_float.
23491 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
23492 (rintf): Define using libm_alias_float.
23493 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
23494 (sinf): Define using libm_alias_float.
23495 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
23496 <libm-alias-float.h>.
23497 (modff): Define using libm_alias_float.
23498 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
23499 <libm-alias-float.h>.
23500 (logbf): Define using libm_alias_float.
23501 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
23502 <libm-alias-float.h>.
23503 (ceilf): Define using libm_alias_float.
23504 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23505 <libm-alias-float.h>.
23506 (copysignf): Define using libm_alias_float.
23507 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
23508 <libm-alias-float.h>.
23509 (floorf): Define using libm_alias_float.
23510 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23511 <libm-alias-float.h>.
23512 (llrintf): Define using libm_alias_float.
23513 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23514 <libm-alias-float.h>.
23515 (llroundf): Define using libm_alias_float.
23516 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23517 <libm-alias-float.h>.
23518 (lrintf): Define using libm_alias_float.
23519 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23520 <libm-alias-float.h>.
23521 (lroundf): Define using libm_alias_float.
23522 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
23523 <libm-alias-float.h>.
23524 (nearbyintf): Define using libm_alias_float.
23525 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
23526 <libm-alias-float.h>.
23527 (rintf): Define using libm_alias_float.
23528 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
23529 <libm-alias-float.h>.
23530 (roundf): Define using libm_alias_float.
23531 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
23532 <libm-alias-float.h>.
23533 (truncf): Define using libm_alias_float.
23534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
23535 Include <libm-alias-float.h>.
23536 (ceilf): Define using libm_alias_float.
23537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
23538 Include <libm-alias-float.h>.
23539 (copysignf): Define using libm_alias_float.
23540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
23541 Include <libm-alias-float.h>.
23542 (floorf): Define using libm_alias_float.
23543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
23544 Include <libm-alias-float.h>.
23545 (llrintf): Define using libm_alias_float.
23546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
23547 Include <libm-alias-float.h>.
23548 (llroundf): Define using libm_alias_float.
23549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
23550 Include <libm-alias-float.h>.
23551 (logbf): Define using libm_alias_float.
23552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
23553 Include <libm-alias-float.h>.
23554 (lrintf): Define using libm_alias_float.
23555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
23556 Include <libm-alias-float.h>.
23557 (lroundf): Define using libm_alias_float.
23558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
23559 Include <libm-alias-float.h>.
23560 (modff): Define using libm_alias_float.
23561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
23562 Include <libm-alias-float.h>.
23563 (roundf): Define using libm_alias_float.
23564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
23565 Include <libm-alias-float.h>.
23566 (truncf): Define using libm_alias_float.
23567 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
23568 <libm-alias-float.h>.
23569 (llrintf): Define using libm_alias_float.
23570 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23571 <libm-alias-float.h>.
23572 (llroundf): Define using libm_alias_float.
23573 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
23574 <libm-alias-float.h>.
23575 (ceilf): Define using libm_alias_float.
23576 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
23577 <libm-alias-float.h>.
23578 (floorf): Define using libm_alias_float.
23579 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23580 <libm-alias-float.h>.
23581 (llroundf): Define using libm_alias_float.
23582 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23583 <libm-alias-float.h>.
23584 (lroundf): Define using libm_alias_float.
23585 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
23586 <libm-alias-float.h>.
23587 (roundf): Define using libm_alias_float.
23588 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
23589 <libm-alias-float.h>.
23590 (truncf): Define using libm_alias_float.
23591 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23592 <libm-alias-float.h>.
23593 (copysignf): Define using libm_alias_float.
23594 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
23595 <libm-alias-float.h>.
23596 (llrintf): Define using libm_alias_float.
23597 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23598 <libm-alias-float.h>.
23599 (llroundf): Define using libm_alias_float.
23600 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23601 <libm-alias-float.h>.
23602 (lrintf): Define using libm_alias_float.
23603 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23604 <libm-alias-float.h>.
23605 (lroundf): Define using libm_alias_float.
23606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
23607 <libm-alias-float.h>.
23608 (ceilf): Define using libm_alias_float.
23609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
23610 <libm-alias-float.h>.
23611 (copysignf): Define using libm_alias_float.
23612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
23613 <libm-alias-float.h>.
23614 (cosf): Define using libm_alias_float.
23615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
23616 <libm-alias-float.h>.
23617 (floorf): Define using libm_alias_float.
23618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
23619 <libm-alias-float.h>.
23620 (llrintf): Define using libm_alias_float.
23621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
23622 <libm-alias-float.h>.
23623 (llroundf): Define using libm_alias_float.
23624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
23625 <libm-alias-float.h>.
23626 (logbf): Define using libm_alias_float.
23627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
23628 <libm-alias-float.h>.
23629 (modff): Define using libm_alias_float.
23630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
23631 <libm-alias-float.h>.
23632 (roundf): Define using libm_alias_float.
23633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
23634 <libm-alias-float.h>.
23635 (sinf): Define using libm_alias_float.
23636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
23637 <libm-alias-float.h>.
23638 (truncf): Define using libm_alias_float.
23639 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
23640 <libm-alias-float.h>.
23641 (ceilf): Define using libm_alias_float.
23642 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23643 <libm-alias-float.h>.
23644 (copysignf): Define using libm_alias_float.
23645 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
23646 <libm-alias-float.h>.
23647 (floorf): Define using libm_alias_float.
23648 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23649 <libm-alias-float.h>.
23650 (llrintf): Define using libm_alias_float.
23651 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
23652 <libm-alias-float.h>.
23653 (llroundf): Define using libm_alias_float.
23654 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
23655 <libm-alias-float.h>.
23656 (nearbyintf): Define using libm_alias_float.
23657 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
23658 <libm-alias-float.h>.
23659 (rintf): Define using libm_alias_float.
23660 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
23661 <libm-alias-float.h>.
23662 (roundf): Define using libm_alias_float.
23663 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
23664 <libm-alias-float.h>.
23665 (truncf): Define using libm_alias_float.
23666 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
23667 <libm-alias-float.h>.
23668 (ceilf): Define using libm_alias_float.
23669 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
23670 <libm-alias-float.h>.
23671 (floorf): Define using libm_alias_float.
23672 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23673 <libm-alias-float.h>.
23674 (llroundf): Define using libm_alias_float.
23675 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
23676 <libm-alias-float.h>.
23677 (roundf): Define using libm_alias_float.
23678 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
23679 <libm-alias-float.h>.
23680 (truncf): Define using libm_alias_float.
23681 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23682 <libm-alias-float.h>.
23683 (copysignf): Define using libm_alias_float.
23684 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23685 <libm-alias-float.h>.
23686 (llrintf): Define using libm_alias_float.
23687 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23688 <libm-alias-float.h>.
23689 (llroundf): Define using libm_alias_float.
23690 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
23691 <libm-alias-float.h>.
23692 (cosf): Define using libm_alias_float.
23693 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23694 <libm-alias-float.h>.
23695 (llrintf): Define using libm_alias_float.
23696 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23697 <libm-alias-float.h>.
23698 (llroundf): Define using libm_alias_float.
23699 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
23700 <libm-alias-float.h>.
23701 (sinf): Define using libm_alias_float.
23703 2017-12-04 Florian Weimer <fweimer@redhat.com>
23705 * support/check.h (TEST_COMPARE): Define.
23706 (support_test_compare_failure): Declare.
23707 * support/Makefile (libsupport-routines): Add
23708 support_test_compare_failure.
23709 (tests): Add tst-test_compare.
23710 * support /support_test_compare_failure.c: New file.
23711 * support/tst-test_compare.c: Likewise.
23713 2017-12-04 Mike FABIAN <mfabian@redhat.com>
23716 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
23717 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
23718 available, this rewrite of the collation rules does reproduce
23719 the test file in the same order.
23721 2017-12-04 Mike FABIAN <mfabian@redhat.com>
23724 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
23725 digraphs in the month and day names. Using single code points for
23726 digraphs is deprecated. While there are dedicated Unicode
23727 codepoints, for the digraphs, these are included for backwards
23728 compatibility and modern texts use a sequence of Basic Latin
23729 characters. See: https://www.unicode.org/faq/ligature_digraph.html
23730 This makes the month and day names agree exactly with CLDR now,
23731 CLDR does not use the single code points for the digraphs either.
23733 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
23735 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
23737 2017-12-04 Joseph Myers <joseph@codesourcery.com>
23739 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
23742 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
23744 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
23745 Define only for libc.so.
23747 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
23749 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23750 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
23751 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
23752 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
23753 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23755 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23758 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
23760 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
23763 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
23764 PREINIT_FUNCTION_WEAK is nonzero.
23765 (gmon_initializer): New function. Put procedure label for it in
23766 .init_array section.
23767 (_init): Don't call PREINIT_FUNCTION.
23768 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
23769 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
23770 value when map argument is null.
23772 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
23773 depi instruction from PIC pc-relative sequence.
23774 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
23775 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
23776 (elf_machine_load_address): Likewise.
23777 (elf_machine_runtime_setup): Likewise.
23779 2017-12-02 Joseph Myers <joseph@codesourcery.com>
23781 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
23782 <libm-alias-double.h>.
23783 (logb): Define using libm_alias_double.
23784 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23785 <libm-alias-double.h>.
23786 (copysign): Define using libm_alias_double.
23787 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
23788 <libm-alias-double.h>.
23789 (llrint): Define using libm_alias_double.
23790 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
23791 <libm-alias-double.h>.
23792 (llround): Define using libm_alias_double.
23793 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23794 <libm-alias-double.h>.
23795 (lrint): Define using libm_alias_double.
23796 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23797 <libm-alias-double.h>.
23798 (lround): Define using libm_alias_double.
23799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23800 Include <libm-alias-double.h>.
23801 (copysign): Define using libm_alias_double.
23802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
23803 Include <libm-alias-double.h>.
23804 (llrint): Define using libm_alias_double.
23805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
23806 Include <libm-alias-double.h>.
23807 (llround): Define using libm_alias_double.
23808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
23809 <libm-alias-double.h>.
23810 (logb): Define using libm_alias_double.
23811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
23812 Include <libm-alias-double.h>.
23813 (lrint): Define using libm_alias_double.
23814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
23815 Include <libm-alias-double.h>.
23816 (lround): Define using libm_alias_double.
23817 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
23818 <libm-alias-double.h>.
23819 (llrint): Define using libm_alias_double.
23820 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23821 <libm-alias-double.h>.
23822 (llround): Define using libm_alias_double.
23823 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23824 <libm-alias-double.h>.
23825 (llround): Define using libm_alias_double.
23826 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23827 <libm-alias-double.h>.
23828 (lround): Define using libm_alias_double.
23829 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23830 <libm-alias-double.h>.
23831 (copysign): Define using libm_alias_double.
23832 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
23833 <libm-alias-double.h>.
23834 (llrint): Define using libm_alias_double.
23835 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23836 <libm-alias-double.h>.
23837 (llround): Define using libm_alias_double.
23838 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23839 <libm-alias-double.h>.
23840 (lrint): Define using libm_alias_double.
23841 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23842 <libm-alias-double.h>.
23843 (lround): Define using libm_alias_double.
23844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
23845 <libm-alias-double.h>.
23846 (copysign): Define using libm_alias_double.
23847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
23848 <libm-alias-double.h>.
23849 (llrint): Define using libm_alias_double.
23851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
23852 <libm-alias-double.h>.
23853 (llround): Define using libm_alias_double.
23854 (lround): Likewise.
23855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
23856 <libm-alias-double.h>.
23857 (logb): Define using libm_alias_double.
23858 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23859 <libm-alias-double.h>.
23860 (copysign): Define using libm_alias_double.
23861 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23862 <libm-alias-double.h>.
23863 (llrint): Define using libm_alias_double.
23865 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
23866 <libm-alias-double.h>.
23867 (llround): Define using libm_alias_double.
23868 (lround): Likewise.
23869 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23870 <libm-alias-double.h>.
23871 (llround): Define using libm_alias_double.
23872 (lround): Likewise.
23873 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23874 <libm-alias-double.h>.
23875 (copysign): Define using libm_alias_double.
23876 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23877 <libm-alias-double.h>.
23878 (llrint): Define using libm_alias_double.
23880 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23881 <libm-alias-double.h>.
23882 (llround): Define using libm_alias_double.
23883 (lround): Likewise.
23884 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23885 <libm-alias-double.h>.
23886 (llrint): Define using libm_alias_double.
23888 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23889 <libm-alias-double.h>.
23890 (llround): Define using libm_alias_double.
23891 (lround): Likewise.
23893 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23896 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
23897 compat symbol based on llround.
23899 * sysdeps/powerpc/power7/fpu/s_logb.c
23900 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
23901 symbol based on __logb, not on logb.
23902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
23903 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
23905 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23907 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
23908 (rint): Define using libm_alias_double.
23909 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
23910 <libm-alias-double.h>.
23911 (modf): Define using libm_alias_double.
23912 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
23913 <libm-alias-double.h>.
23914 (ceil): Define using libm_alias_double.
23915 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
23916 <libm-alias-double.h>.
23917 (floor): Define using libm_alias_double.
23918 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
23919 <libm-alias-double.h>.
23920 (nearbyint): Define using libm_alias_double.
23921 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
23922 <libm-alias-double.h>.
23923 (rint): Define using libm_alias_double.
23924 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
23925 <libm-alias-double.h>.
23926 (round): Define using libm_alias_double.
23927 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
23928 <libm-alias-double.h>.
23929 (trunc): Define using libm_alias_double.
23930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
23931 <libm-alias-double.h>.
23932 (ceil): Define using libm_alias_double.
23933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
23934 Include <libm-alias-double.h>.
23935 (floor): Define using libm_alias_double.
23936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
23937 <libm-alias-double.h>.
23938 (modf): Define using libm_alias_double.
23939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
23940 Include <libm-alias-double.h>.
23941 (round): Define using libm_alias_double.
23942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
23943 Include <libm-alias-double.h>.
23944 (trunc): Define using libm_alias_double.
23945 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
23946 <libm-alias-double.h>.
23947 (ceil): Define using libm_alias_double.
23948 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
23949 <libm-alias-double.h>.
23950 (floor): Define using libm_alias_double.
23951 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
23952 <libm-alias-double.h>.
23953 (round): Define using libm_alias_double.
23954 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
23955 <libm-alias-double.h>.
23956 (trunc): Define using libm_alias_double.
23957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
23958 <libm-alias-double.h>.
23959 (ceil): Define using libm_alias_double.
23960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
23961 <libm-alias-double.h>.
23962 (floor): Define using libm_alias_double.
23963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
23964 <libm-alias-double.h>.
23965 (modf): Define using libm_alias_double.
23966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
23967 <libm-alias-double.h>.
23968 (round): Define using libm_alias_double.
23969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
23970 <libm-alias-double.h>.
23971 (trunc): Define using libm_alias_double.
23972 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
23973 <libm-alias-double.h>.
23974 (ceil): Define using libm_alias_double.
23975 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
23976 <libm-alias-double.h>.
23977 (floor): Define using libm_alias_double.
23978 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
23979 <libm-alias-double.h>.
23980 (nearbyint): Define using libm_alias_double.
23981 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
23982 <libm-alias-double.h>.
23983 (rint): Define using libm_alias_double.
23984 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
23985 <libm-alias-double.h>.
23986 (round): Define using libm_alias_double.
23987 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
23988 <libm-alias-double.h>.
23989 (trunc): Define using libm_alias_double.
23990 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
23991 <libm-alias-double.h>.
23992 (ceil): Define using libm_alias_double.
23993 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
23994 <libm-alias-double.h>.
23995 (floor): Define using libm_alias_double.
23996 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
23997 <libm-alias-double.h>.
23998 (round): Define using libm_alias_double.
23999 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
24000 <libm-alias-double.h>.
24001 (trunc): Define using libm_alias_double.
24003 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
24004 (fabs): Define using libm_alias_double.
24005 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
24006 (fma): Define using libm_alias_double.
24007 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
24008 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
24009 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
24010 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
24012 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24014 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
24016 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
24017 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
24018 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
24021 due redirect macro.
24023 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
24025 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
24027 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24029 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
24030 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
24031 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
24032 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
24034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24035 (libm-sysdep_routines): Add s_nearbyintf-generic and
24036 s_nearbyint-generic.
24037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
24039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
24040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
24042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
24044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
24046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24050 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
24051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
24053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
24054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
24056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
24057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
24058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24061 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
24062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
24064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
24065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
24067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
24068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
24069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
24071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24072 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
24073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
24075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
24076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
24078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
24079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
24080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24083 (sysdep_calls): New rule.
24084 (sysdep_routines): Use sysdep_calls as base.
24085 (libm-sysdep_routines): Add generic rule for symbols shared with
24086 libc. Add s_copysign-generic and s_copysign-generic objects.
24087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
24089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
24090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
24092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
24093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
24094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
24096 2017-12-01 Mike FABIAN <mfabian@redhat.com>
24099 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
24100 the list of locales to be built for testing.
24101 * localedata/is_IS.UTF-8.in: New file.
24102 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
24105 2017-12-01 Joseph Myers <joseph@codesourcery.com>
24107 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
24108 <libm-alias-float.h>.
24109 (fabsf): Define using libm_alias_float.
24111 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24113 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
24115 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24117 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
24118 <libm-alias-float.h>.
24119 (fabsf): Define using libm_alias_float.
24120 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
24121 <libm-alias-float.h>.
24122 (lrintf): Define using libm_alias_float.
24123 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
24124 <libm-alias-float.h>.
24125 (rintf): Define using libm_alias_float.
24127 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
24128 <libm-alias-double.h>.
24129 (fabs): Define using libm_alias_double.
24130 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
24131 <libm-alias-double.h>.
24132 (lrint): Define using libm_alias_double.
24133 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
24134 <libm-alias-double.h>.
24135 (rint): Define using libm_alias_double.
24137 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
24138 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
24139 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
24140 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
24141 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
24142 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
24143 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
24144 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
24145 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
24146 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
24147 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
24148 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
24149 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
24150 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
24151 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
24152 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
24153 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
24154 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
24156 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
24157 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
24158 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
24160 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
24161 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
24162 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
24164 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
24165 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
24166 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
24167 s_expm1_template.c.
24168 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
24169 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
24170 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
24172 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
24173 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
24174 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
24175 s_floor_template.c.
24176 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
24177 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
24178 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
24179 s_frexp_template.c.
24180 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
24181 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
24182 s_lrint_template.c.
24183 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
24184 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
24185 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
24187 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
24188 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
24189 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
24190 s_nearbyint_template.c.
24191 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
24192 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
24193 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
24194 s_remquo_template.c.
24195 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
24196 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
24197 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
24199 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
24200 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
24201 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
24203 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
24204 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
24205 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
24206 s_sincos_template.c.
24207 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
24208 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
24209 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
24211 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
24212 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
24213 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
24215 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
24216 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
24217 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
24218 s_trunc_template.c.
24219 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
24220 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
24221 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
24222 s_atan.c instead of including s_atan.c.
24223 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
24224 s_atanf.c instead of including s_atanf.c.
24225 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
24226 s_atanl.c instead of including s_atanl.c.
24227 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
24228 instead of s_atan.c.
24229 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
24230 instead of s_atanf.c.
24231 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
24232 instead of s_atanl.c.
24234 * scripts/update-copyrights: Do not handle intl/plural.c
24237 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
24240 * configure.ac (BISON): Require to be present.
24241 * configure: Regenerated.
24242 * intl/Makefile (generated): Add plural.c.
24243 [$(BISON) != no]: Make code unconditional.
24244 (plural.c): Change rule to $(objpfx)plural.c.
24245 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
24246 * intl/plural.c: Remove.
24247 * manual/install.texi (Tools for Compilation): Document bison as
24249 * INSTALL: Regenerated.
24251 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24253 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
24254 <libm-alias-double.h>.
24255 (llrint): Define using libm_alias_double.
24256 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
24257 <libm-alias-float.h>.
24258 (llrintf): Define using libm_alias_float.
24259 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
24260 <libm-alias-ldouble.h>.
24261 (llrintl): Define using libm_alias_ldouble.
24263 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
24264 declare_mgen_alias instead of weak_alias.
24265 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
24266 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
24267 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
24269 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24271 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24273 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
24274 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
24275 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
24277 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24278 Add submul_1-generic.
24279 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
24280 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
24281 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
24283 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24284 Add addmul_1-generic.
24285 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
24286 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
24287 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
24289 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24291 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
24292 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
24293 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
24295 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24297 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
24298 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
24299 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
24301 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24303 According to CLDR, collation rules for Serbian and Bosnian
24304 should be the same as for Croatian.
24307 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
24308 and to the list of locales to be built for testing.
24309 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24310 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24311 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
24312 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
24314 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24316 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
24317 to make test case pass.
24318 * localedata/hr_HR.UTF-8.in: Add more test strings.
24320 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24322 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
24324 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
24326 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
24327 the list of locales to built for testing.
24328 * localedata/hr_HR.UTF-8.in: New file.
24330 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
24333 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
24335 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
24336 CLDR (except use ligatures for the digraphs, CLDR does not use
24337 the ligatures), add first_workday, some fixes in the date and time
24339 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
24341 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
24342 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
24343 Add int_p_cs_precedes and int_n_cs_precedes.
24344 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
24345 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
24347 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
24348 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
24350 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
24351 and lang_lib. Change postal_fmt.
24353 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24355 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
24357 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24358 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
24359 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24360 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
24361 * sysdeps/generic/setjmpP.h: New file.
24362 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
24363 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
24364 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
24365 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
24366 Add jmp_buf-ssp.sym.
24367 (tests): Add tst-saved_mask-1.
24369 2017-11-30 Arjun Shankar <arjun@redhat.com>
24373 * malloc/malloc.c (__libc_malloc): Use checked_request2size
24374 instead of request2size.
24376 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
24379 (__lllrint): Remove alias.
24380 (lllrint): Likewise.
24381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
24382 (__lllrintf): Likewise.
24383 (lllrintf): Likewise.
24385 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
24386 <libm-alias-float.h>.
24387 (copysignf): Define using libm_alias_float.
24388 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
24389 <libm-alias-float.h>.
24390 (fabsf): Define using libm_alias_float.
24391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24392 Include <libm-alias-float.h>.
24393 (copysignf): Define using libm_alias_float.
24394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
24395 <libm-alias-float.h>.
24396 (fabsf): Define using libm_alias_float.
24397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
24398 <libm-alias-float.h>.
24399 (fdimf): Define using libm_alias_float.
24400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
24401 <libm-alias-float.h>.
24402 (fmaf): Define using libm_alias_float.
24403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
24404 <libm-alias-float.h>.
24405 (llrintf): Define using libm_alias_float.
24406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24407 Include <libm-alias-float.h>.
24408 (nearbyintf): Define using libm_alias_float.
24409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
24410 <libm-alias-float.h>.
24411 (rintf): Define using libm_alias_float.
24412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
24413 <libm-alias-float.h>.
24414 (llrintf): Define using libm_alias_float.
24415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
24416 <libm-alias-float.h>.
24417 (lrintf): Define using libm_alias_float.
24418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
24419 <libm-alias-float.h>.
24420 (nearbyintf): Define using libm_alias_float.
24421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
24422 <libm-alias-float.h>.
24423 (rintf): Define using libm_alias_float.
24424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
24425 <libm-alias-float.h>.
24426 (ceilf): Define using libm_alias_float.
24427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
24428 <libm-alias-float.h>.
24429 (floorf): Define using libm_alias_float.
24430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
24431 <libm-alias-float.h>.
24432 (fmaf): Define using libm_alias_float.
24433 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
24434 <libm-alias-float.h>.
24435 (lrintf): Define using libm_alias_float.
24436 (llrintf): Likewise.
24437 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
24438 <libm-alias-float.h>.
24439 (nearbyintf): Define using libm_alias_float.
24440 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
24441 <libm-alias-float.h>.
24442 (rintf): Define using libm_alias_float.
24443 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
24444 <libm-alias-float.h>.
24445 (truncf): Define using libm_alias_float.
24446 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
24447 <libm-alias-float.h>.
24448 (copysignf): Define using libm_alias_float.
24449 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
24450 <libm-alias-float.h>.
24451 (fabsf): Define using libm_alias_float.
24452 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
24453 <libm-alias-float.h>.
24454 (lrintf): Define using libm_alias_float.
24455 (llrintf): Likewise.
24456 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
24457 <libm-alias-float.h>.
24458 (nearbyintf): Define using libm_alias_float.
24459 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
24460 <libm-alias-float.h>.
24461 (rintf): Define using libm_alias_float.
24463 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24465 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24466 <libm-alias-double.h>.
24467 (copysign): Define using libm_alias_double.
24468 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
24469 <libm-alias-double.h>.
24470 (fabs): Define using libm_alias_double.
24471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24472 Include <libm-alias-double.h>.
24473 (copysign): Define using libm_alias_double.
24474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24475 <libm-alias-double.h>.
24476 (fabs): Define using libm_alias_double.
24477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
24478 <libm-alias-double.h>.
24479 (fdim): Define using libm_alias_double.
24480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
24481 <libm-alias-double.h>.
24482 (fma): Define using libm_alias_double.
24483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
24484 <libm-alias-double.h>.
24485 (llrint): Define using libm_alias_double.
24486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
24487 Include <libm-alias-double.h>.
24488 (nearbyint): Define using libm_alias_double.
24489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
24490 <libm-alias-double.h>.
24491 (rint): Define using libm_alias_double.
24492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24493 <libm-alias-double.h>.
24494 (fabs): Define using libm_alias_double.
24495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
24496 <libm-alias-double.h>.
24497 (llrint): Define using libm_alias_double.
24498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
24499 <libm-alias-double.h>.
24500 (nearbyint): Define using libm_alias_double.
24501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
24502 <libm-alias-double.h>.
24503 (rint): Define using libm_alias_double.
24504 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
24505 <libm-alias-double.h>.
24506 (ceil): Define using libm_alias_double.
24507 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
24508 <libm-alias-double.h>.
24509 (floor): Define using libm_alias_double.
24510 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
24511 <libm-alias-double.h>.
24512 (fma): Define using libm_alias_double.
24513 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
24514 <libm-alias-double.h>.
24515 (lrint): Define using libm_alias_double.
24516 (llrint): Likewise.
24517 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
24518 <libm-alias-double.h>.
24519 (nearbyint): Define using libm_alias_double.
24520 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
24521 <libm-alias-double.h>.
24522 (rint): Define using libm_alias_double.
24523 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
24524 <libm-alias-double.h>.
24525 (trunc): Define using libm_alias_double.
24526 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
24527 <libm-alias-double.h>.
24528 (copysign): Define using libm_alias_double.
24529 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
24530 <libm-alias-double.h>.
24531 (fabs): Define using libm_alias_double.
24532 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
24533 <libm-alias-double.h>.
24534 (lrint): Define using libm_alias_double.
24535 (llrint): Likewise.
24536 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
24537 <libm-alias-double.h>.
24538 (nearbyint): Define using libm_alias_double.
24539 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
24540 <libm-alias-double.h>.
24541 (rint): Define using libm_alias_double.
24544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24546 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24548 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24549 SPARC --disable-multi-arch glibc variants.
24551 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
24552 <libm-alias-float.h>.
24553 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24555 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
24556 <libm-alias-float.h>.
24557 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24559 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
24560 <libm-alias-float.h>.
24561 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24563 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
24564 <libm-alias-float.h>.
24565 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24567 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
24568 <libm-alias-float.h>.
24569 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24571 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
24572 <libm-alias-float.h>.
24573 (ceilf): Define using libm_alias_float.
24574 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
24575 <libm-alias-float.h>.
24576 (floorf): Define using libm_alias_float.
24577 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
24578 <libm-alias-float.h>.
24579 (fmaf): Define using libm_alias_float.
24580 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
24581 <libm-alias-float.h>.
24582 (nearbyintf): Define using libm_alias_float.
24583 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
24584 <libm-alias-float.h>.
24585 (rintf): Define using libm_alias_float.
24586 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
24587 <libm-alias-float.h>.
24588 (truncf): Define using libm_alias_float.
24589 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24590 (copysignf): Define using libm_alias_float.
24591 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
24592 (cosf): Define using libm_alias_float.
24593 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24594 (fabsf): Define using libm_alias_float.
24595 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24596 (fmaxf): Define using libm_alias_float.
24597 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
24598 (fminf): Define using libm_alias_float.
24599 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24600 (llrintf): Define using libm_alias_float.
24601 [!__ILP32__] (lrintf): Likewise.
24602 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
24603 (sincosf): Define using libm_alias_float.
24604 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
24605 (sinf): Define using libm_alias_float.
24606 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24607 (lrintf): Define using libm_alias_float.
24609 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
24610 <libm-alias-double.h>.
24611 (atan): Define using libm_alias_double.
24612 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
24613 <libm-alias-double.h>.
24614 (ceil): Define using libm_alias_double.
24615 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
24616 <libm-alias-double.h>.
24617 (floor): Define using libm_alias_double.
24618 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
24619 <libm-alias-double.h>.
24620 (fma): Define using libm_alias_double.
24621 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
24622 <libm-alias-double.h>.
24623 (nearbyint): Define using libm_alias_double.
24624 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
24625 <libm-alias-double.h>.
24626 (rint): Define using libm_alias_double.
24627 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
24628 <libm-alias-double.h>.
24629 (sin): Define using libm_alias_double.
24631 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
24632 <libm-alias-double.h>.
24633 (tan): Define using libm_alias_double.
24634 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
24635 <libm-alias-double.h>.
24636 (trunc): Define using libm_alias_double.
24637 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
24638 (copysign): Define using libm_alias_double.
24639 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
24640 (fabs): Define using libm_alias_double.
24641 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
24642 (fmax): Define using libm_alias_double.
24643 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
24644 (fmin): Define using libm_alias_double.
24645 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
24646 (llrint): Define using libm_alias_double.
24647 [!__ILP32__] (lrint): Likewise.
24648 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
24649 (lrint): Define using libm_alias_double.
24651 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24653 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24654 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
24656 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
24657 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
24658 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
24659 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
24660 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
24661 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24663 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24664 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
24666 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
24667 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
24668 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
24669 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
24670 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
24671 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24673 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24674 (libm-sysdep_routines): Add s_nearbyint-generic and
24675 s_nearbyintf-generic objects.
24676 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
24677 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
24678 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
24679 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
24680 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
24681 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
24683 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24684 Add s_finitef-generic and s_finite-generic objects.
24685 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
24686 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
24687 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
24688 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
24689 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
24690 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
24692 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24693 Add s_isinff-generic and s_isinf-generic objects.
24694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
24695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
24696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
24697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
24698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
24699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24701 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24702 Add s_isnanf-generic and s_isnan-generic objects.
24703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
24704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
24705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
24706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
24707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
24708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24710 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
24712 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
24714 (sysdep_routines): Use sysdep_calls as base.
24715 (libm-sysdep_routines): Add generic rule for symbols shared with
24716 libc. Add s_signbit-generic and s_signbitf-generic objects.
24717 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
24718 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
24719 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
24720 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
24721 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
24722 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24724 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24726 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
24727 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
24728 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
24729 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
24730 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
24731 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
24732 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
24733 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
24734 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
24735 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
24736 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
24737 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
24738 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
24739 libm_alias_float_r.
24740 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
24741 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
24743 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
24744 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
24745 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
24746 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
24747 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
24748 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
24749 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
24750 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
24751 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
24752 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
24754 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
24756 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
24757 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
24758 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
24759 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
24760 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
24761 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
24762 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
24763 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
24764 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
24765 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
24766 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
24767 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
24768 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
24769 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
24770 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
24771 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
24772 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
24773 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
24774 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
24776 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
24777 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
24778 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
24779 * sysdeps/ia64/fpu/w_lgammaf_main.c
24780 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
24781 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
24783 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24784 Alexandre Oliva <aoliva@redhat.com>
24787 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
24788 * localedata/fr_CA.UTF-8.in: New file with test data for backward
24790 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
24792 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
24793 * localedata/locales/de_DE (LC_COLLATE): Likewise.
24794 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
24795 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
24796 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
24797 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
24798 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
24799 instead of “ifdef DIACRIT_BACKWARD”.
24801 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24803 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
24804 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
24805 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
24806 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
24807 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
24808 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
24809 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
24810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
24811 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
24812 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
24813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
24814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
24815 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
24816 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
24817 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
24818 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24819 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
24820 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
24821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24822 ($(have-as-vis3) == yes): Remove conditional.
24823 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
24825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
24827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
24829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
24831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
24833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
24834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
24835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
24836 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
24837 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
24838 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
24839 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
24840 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
24842 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24844 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
24845 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
24846 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
24847 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
24848 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
24849 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
24850 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
24851 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
24852 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
24853 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
24854 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
24855 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
24856 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
24857 libm_alias_double_r.
24858 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
24860 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
24861 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
24862 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
24863 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
24864 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
24865 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
24866 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
24867 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
24868 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
24869 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
24870 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
24872 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
24874 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
24875 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
24876 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
24877 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
24878 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
24879 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
24880 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
24881 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
24882 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
24883 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
24884 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
24885 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
24886 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
24887 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
24888 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
24889 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
24890 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
24891 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
24893 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
24894 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
24895 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
24896 * sysdeps/ia64/fpu/w_lgamma_main.c
24897 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
24898 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
24900 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
24902 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
24903 address of $global$ into %dp register earlier. Use pc-relative
24904 instruction sequence for PIC case.
24906 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24908 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
24909 (asinhf): Define using libm_alias_float.
24910 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
24911 (atanf): Define using libm_alias_float.
24912 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
24913 (cbrtf): Define using libm_alias_float.
24914 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
24915 (ceilf): Define using libm_alias_float.
24916 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24917 (copysignf): Define using libm_alias_float.
24918 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
24919 (expm1f): Define using libm_alias_float.
24920 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
24921 (fabsf): Define using libm_alias_float.
24922 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
24923 (floorf): Define using libm_alias_float.
24924 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24925 (fmaxf): Define using libm_alias_float.
24926 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
24927 (fminf): Define using libm_alias_float.
24928 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
24929 (frexpf): Define using libm_alias_float.
24930 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24931 (llrintf): Define using libm_alias_float.
24932 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
24933 (logbf): Define using libm_alias_float.
24934 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24935 (lrintf): Define using libm_alias_float.
24936 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
24937 (nearbyintf): Define using libm_alias_float.
24938 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
24939 (remquof): Define using libm_alias_float.
24940 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
24941 (rintf): Define using libm_alias_float.
24942 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
24943 (truncf): Define using libm_alias_float.
24944 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
24945 <libm-alias-float.h>.
24946 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24948 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
24949 <libm-alias-float.h>.
24950 (expf): Define using libm_alias_float, or libm_alias_float_other
24952 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
24953 <libm-alias-float.h>.
24954 (log2f): Define using libm_alias_float, or libm_alias_float_other
24956 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
24957 <libm-alias-float.h>.
24958 (logf): Define using libm_alias_float, or libm_alias_float_other
24960 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
24961 <libm-alias-float.h>.
24962 (powf): Define using libm_alias_float, or libm_alias_float_other
24964 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
24965 <libm-alias-float.h>.
24966 (cosf): Define using libm_alias_float.
24967 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
24968 <libm-alias-float.h>.
24969 (sincosf): Define using libm_alias_float.
24970 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
24971 <libm-alias-float.h>.
24972 (sinf): Define using libm_alias_float.
24973 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24974 (fmaxf): Define using libm_alias_float.
24975 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
24976 (fminf): Define using libm_alias_float.
24977 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24978 <libm-alias-float.h>.
24979 (fmaf): Define using libm_alias_float.
24981 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
24982 (asinh): Define using libm_alias_double.
24983 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
24984 (atan): Define using libm_alias_double.
24985 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
24986 (cbrt): Define using libm_alias_double.
24987 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
24988 (ceil): Define using libm_alias_double.
24989 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
24990 (copysign): Define using libm_alias_double.
24991 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
24992 (expm1): Define using libm_alias_double.
24993 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
24994 (fabs): Define using libm_alias_double.
24995 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
24996 (fdim): Define using libm_alias_double.
24997 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
24998 (floor): Define using libm_alias_double.
24999 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
25000 (fmax): Define using libm_alias_double.
25001 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
25002 (fmin): Define using libm_alias_double.
25003 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
25004 (frexp): Define using libm_alias_double.
25005 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
25006 (llrint): Define using libm_alias_double.
25007 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
25008 (logb): Define using libm_alias_double.
25009 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
25010 (lrint): Define using libm_alias_double.
25011 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
25012 (nearbyint): Define using libm_alias_double.
25013 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
25014 (remquo): Define using libm_alias_double.
25015 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
25016 (rint): Define using libm_alias_double.
25017 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
25018 (trunc): Define using libm_alias_double.
25019 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
25020 (fmax): Define using libm_alias_double.
25021 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
25022 (fmin): Define using libm_alias_double.
25023 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
25024 (fma): Define using libm_alias_double.
25026 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
25029 * elf/dl-hwcaps.c (ROUND): Removed.
25030 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
25031 and ELF_NOTE_NEXT_OFFSET.
25032 * elf/dl-load.c (ROUND): Removed.
25033 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25034 * elf/readelflib.c (ROUND): Removed.
25035 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25036 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
25037 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
25038 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
25040 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25042 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25043 [!__fmaf] (fmaf): Define using libm_alias_float.
25045 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
25046 [!__fma] (fma): Define using libm_alias_double.
25047 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
25049 2017-11-28 Mike FABIAN <mfabian@redhat.com>
25052 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
25053 and implement the collation rules for cs from CLDR on top of that.
25054 * Makefile: Add cs_CZ.UTF-8 to test-input.
25055 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
25057 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
25059 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
25061 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25062 Icarus Sparry <icarus.w.sparry@intel.com>
25064 * benchtests/Makefile:Add BENCHSET to allow subsets of
25065 benchmarks to be run.
25066 * benchtests/README: Add documentation for: Running subsets of
25069 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25071 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
25072 range of tests names.
25074 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
25075 result from property and remove "max", min" and "mean" from
25076 required properties based on benchtests/bench-skeleton.c.
25078 2017-11-28 Florian Weimer <fweimer@redhat.com>
25081 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
25082 due to Internet requirement.
25083 * posix/Makefile (tests): Remove tst-getaddrinfo4,
25085 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
25087 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25089 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25090 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
25091 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25092 (sysdep_routines): Add memset-ultra1.
25093 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
25095 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
25096 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
25097 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
25098 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
25099 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
25100 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
25101 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
25102 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25104 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
25106 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
25107 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
25108 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
25109 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
25110 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
25111 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
25112 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
25114 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25115 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
25116 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25117 (sysdep_routines): Add memcpy-ultra1.
25118 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
25119 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
25121 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25123 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
25124 (cfloat_versions): Take function argument without trailing 'f'.
25125 Call libm_alias_float_other.
25126 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
25127 * sysdeps/alpha/fpu/cargf.c: Likewise.
25128 * sysdeps/alpha/fpu/cimagf.c: Likewise.
25129 * sysdeps/alpha/fpu/conjf.c: Likewise.
25130 * sysdeps/alpha/fpu/crealf.c: Likewise.
25131 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
25132 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
25133 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
25134 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
25135 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
25136 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
25137 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
25138 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
25139 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
25140 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
25141 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
25142 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
25143 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
25144 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
25145 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
25146 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
25147 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
25148 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
25149 (clog10f): Use libm_alias_float_other.
25150 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25151 (ceilf): Define using libm_alias_float.
25152 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
25153 (copysignf): Define using libm_alias_float.
25154 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25155 (fabsf): Define using libm_alias_float.
25156 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
25157 (floorf): Define using libm_alias_float.
25158 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
25159 (fmaxf): Define using libm_alias_float.
25160 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
25161 (fminf): Define using libm_alias_float.
25162 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25163 (lrintf): Define using libm_alias_float.
25164 (llrintf): Likewise.
25165 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25166 (lroundf): Define using libm_alias_float.
25167 (llroundf): Likewise.
25168 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
25169 (rintf): Define using libm_alias_float.
25170 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
25171 (truncf): Define using libm_alias_float.
25173 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25174 (ceilf): Define using libm_alias_float.
25175 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
25176 (floorf): Define using libm_alias_float.
25177 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25178 (fmaf): Define using libm_alias_float.
25179 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
25180 (fmaxf): Define using libm_alias_float.
25181 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
25182 (fminf): Define using libm_alias_float.
25183 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
25184 (llrintf): Define using libm_alias_float.
25185 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
25186 (llroundf): Define using libm_alias_float.
25187 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25188 (lrintf): Define using libm_alias_float.
25189 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25190 (lroundf): Define using libm_alias_float.
25191 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
25192 <libm-alias-float.h>.
25193 (nearbyintf): Define using libm_alias_float.
25194 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
25195 (rintf): Define using libm_alias_float.
25196 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
25197 (roundf): Define using libm_alias_float.
25198 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
25199 (truncf): Define using libm_alias_float.
25201 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
25202 (ceil): Define using libm_alias_double.
25203 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
25204 (copysign): Define using libm_alias_double.
25205 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
25206 (fabs): Define using libm_alias_double.
25207 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
25208 (floor): Define using libm_alias_double.
25209 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
25210 (fmax): Define using libm_alias_double.
25211 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
25212 (fmin): Define using libm_alias_double.
25213 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
25214 (lrint): Define using libm_alias_double.
25215 (llrint): Likewise.
25216 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
25217 (lround): Define using libm_alias_double.
25218 (llround): Likewise.
25219 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
25220 (rint): Define using libm_alias_double.
25221 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
25222 (trunc): Define using libm_alias_double.
25224 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25225 (libm_alias_double_r): Add semicolon after weak_alias call.
25227 2017-11-27 Joseph Myers <joseph@codesourcery.com>
25229 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
25230 (ceil): Define using libm_alias_double.
25231 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
25232 (floor): Define using libm_alias_double.
25233 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
25234 (fma): Define using libm_alias_double.
25235 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
25236 (fmax): Define using libm_alias_double.
25237 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
25238 (fmin): Define using libm_alias_double.
25239 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
25240 (llrint): Define using libm_alias_double.
25241 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
25242 (llround): Define using libm_alias_double.
25243 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
25244 (lrint): Define using libm_alias_double.
25245 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
25246 (lround): Define using libm_alias_double.
25247 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
25248 (nearbyint): Define using libm_alias_double.
25249 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
25250 (rint): Define using libm_alias_double.
25251 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
25252 (round): Define using libm_alias_double.
25253 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
25254 (trunc): Define using libm_alias_double.
25256 2017-11-27 Florian Weimer <fweimer@redhat.com>
25258 * sysdeps/unix/sysv/linux/mlock2.c: New file.
25259 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
25260 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
25261 (tests): Add tst-mlock2.
25262 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
25263 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
25264 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
25265 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
25266 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
25267 for mlock. Document mlock2.
25269 2017-11-27 Joseph Myers <joseph@codesourcery.com>
25271 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
25272 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
25274 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
25276 * sysdeps/x86/Makeconfig: New file.
25277 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
25278 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25279 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
25280 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25281 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25282 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25283 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
25285 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25286 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25287 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25288 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25289 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25290 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25291 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25292 * manual/math.texi (Mathematics): Document support for _Float64x.
25293 * math/Versions (GLIBC_2.27): Add _Float64x functions.
25294 * stdlib/Versions (GLIBC_2.27): Likewise.
25295 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25296 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25297 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25298 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25299 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25300 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25301 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25302 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25303 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25304 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25305 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25306 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25311 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25312 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25313 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25314 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25315 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25316 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25317 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25318 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25319 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25320 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25321 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25322 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25323 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25324 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25326 2017-11-27 Andreas Schwab <schwab@suse.de>
25328 * elf/Makefile (dl-routines): Add dl-sort-maps.
25329 * elf/dl-sort-maps.c: New file.
25330 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
25331 (_dl_sort_maps): Declare.
25332 * elf/dl-fini.c (_dl_sort_fini): Remove.
25333 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
25334 * elf/dl-close.c (_dl_close_worker): Likewise.
25335 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
25337 * elf/dl-open.c (dl_open_worker): Likewise.
25339 2017-11-24 Joseph Myers <joseph@codesourcery.com>
25341 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
25342 using libm_alias_float128.
25343 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
25345 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
25347 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
25348 (setpayloadsigf128): Likewise.
25349 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
25351 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
25354 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
25355 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
25356 -mfloat128 to CFLAGS.
25358 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
25360 (CFLAGS-libm-test-support-float64x.c): New variable.
25361 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
25362 $(f128-loader-link) to gnulib-tests.
25364 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
25365 (libm_alias_float128_other_r): If
25366 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
25368 (libm_alias_float128_r): Add semicolon after weak_alias call.
25369 * sysdeps/generic/libm-alias-ldouble.h
25370 (libm_alias_ldouble_other_r_f128): New macro.
25371 (libm_alias_ldouble_other_r_f64x): Likewise.
25372 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25373 and libm_alias_ldouble_other_r_f64x.
25374 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
25375 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25376 (libm_alias_ldouble_other_r_f128): New macro.
25377 (libm_alias_ldouble_other_r_f64x): Likewise.
25378 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25379 and libm_alias_ldouble_other_r_f64x.
25381 * stdlib/strfroml.c: Always include <stdlib.h>.
25382 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
25383 undefine as macro and define as weak alias.
25384 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
25385 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
25387 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
25388 Define and later undefine as macro and define as weak alias.
25390 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25391 Define and later undefine as macro. Define as weak alias if
25393 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
25394 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25395 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
25396 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25397 Define and later undefine as macro. Define as weak alias if
25399 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
25400 Define and later undefine as macro. Define as weak alias if
25402 * sysdeps/ieee754/float128/strtof128_l.c
25403 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
25404 Define and later undefine as macro. Define as weak alias if
25406 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
25407 Define and later undefine as macro. Define as weak alias if
25409 * sysdeps/ieee754/ldbl-128/strtold_l.c
25410 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25411 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25412 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25413 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25414 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
25415 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25416 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25417 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25418 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25419 * sysdeps/ieee754/ldbl-96/strtold_l.c
25420 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25421 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25422 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25423 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25425 * math/test-float64x.h: New file.
25426 * math/Makefile (type-float64x-yes): New variable.
25427 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
25429 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
25430 function-like macro.
25431 (min_of_type_): Likewise.
25432 (min_of_type_l): Likewise.
25433 (min_of_type_f128): Likewise.
25434 (min_of_type): Pass () as last argument of __MATH_TG.
25436 * stdlib/tst-strtod-round-skeleton.c
25437 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
25440 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
25441 for combinations of long double with _Float64 and _Float64x.
25443 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
25444 (__DECL_SIMD_cosf32): Likewise.
25445 (__DECL_SIMD_cosf64): Likewise.
25446 (__DECL_SIMD_cosf32x): Likewise.
25447 (__DECL_SIMD_cosf64x): Likewise.
25448 (__DECL_SIMD_cosf128x): Likewise.
25449 (__DECL_SIMD_sinf16): Likewise.
25450 (__DECL_SIMD_sinf32): Likewise.
25451 (__DECL_SIMD_sinf64): Likewise.
25452 (__DECL_SIMD_sinf32x): Likewise.
25453 (__DECL_SIMD_sinf64x): Likewise.
25454 (__DECL_SIMD_sinf128x): Likewise.
25455 (__DECL_SIMD_sincosf16): Likewise.
25456 (__DECL_SIMD_sincosf32): Likewise.
25457 (__DECL_SIMD_sincosf64): Likewise.
25458 (__DECL_SIMD_sincosf32x): Likewise.
25459 (__DECL_SIMD_sincosf64x): Likewise.
25460 (__DECL_SIMD_sincosf128x): Likewise.
25461 (__DECL_SIMD_logf16): Likewise.
25462 (__DECL_SIMD_logf32): Likewise.
25463 (__DECL_SIMD_logf64): Likewise.
25464 (__DECL_SIMD_logf32x): Likewise.
25465 (__DECL_SIMD_logf64x): Likewise.
25466 (__DECL_SIMD_logf128x): Likewise.
25467 (__DECL_SIMD_expf16): Likewise.
25468 (__DECL_SIMD_expf32): Likewise.
25469 (__DECL_SIMD_expf64): Likewise.
25470 (__DECL_SIMD_expf32x): Likewise.
25471 (__DECL_SIMD_expf64x): Likewise.
25472 (__DECL_SIMD_expf128x): Likewise.
25473 (__DECL_SIMD_powf16): Likewise.
25474 (__DECL_SIMD_powf32): Likewise.
25475 (__DECL_SIMD_powf64): Likewise.
25476 (__DECL_SIMD_powf32x): Likewise.
25477 (__DECL_SIMD_powf64x): Likewise.
25478 (__DECL_SIMD_powf128x): Likewise.
25480 * stdlib/Versions (libc): Move entries for wcstof128 and
25481 wcstof128_l to ....
25482 * wcsmbs/Versions (libc): ... here.
25483 Include <float128-abi.h>.
25485 2017-11-24 Florian Weimer <fweimer@redhat.com>
25487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25488 bits/mman-shared.h.
25489 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
25490 <bits/mman-shared.h>.
25491 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
25493 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
25494 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
25495 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
25496 <bits/mman-shared.h>.
25498 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25501 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
25502 posix_memalign/free.
25503 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
25505 2017-11-22 Mike FABIAN <mfabian@redhat.com>
25508 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
25509 and implement the collation rules for pl from CLDR on top of that.
25510 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
25511 of locales to be built for testing.
25512 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
25514 2017-11-23 Joseph Myers <joseph@codesourcery.com>
25516 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
25517 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
25518 libm_alias_ldouble_other.
25519 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
25520 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
25521 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
25522 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
25523 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
25524 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
25525 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
25526 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
25527 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
25528 libm_alias_ldouble_r.
25529 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
25530 libm_alias_ldouble_other.
25531 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
25532 (log10l): Likewise.
25533 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
25534 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
25535 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
25536 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
25537 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
25538 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
25539 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
25540 (atan2l): Likewise.
25541 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
25542 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
25543 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
25544 libm_alias_ldouble.
25545 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
25547 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
25548 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
25549 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
25551 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
25552 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
25553 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
25554 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
25555 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
25556 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
25557 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
25558 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
25559 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
25560 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
25561 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
25562 libm_alias_ldouble.
25563 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
25564 libm_alias_ldouble_other.
25565 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
25566 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
25567 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
25568 libm_alias_ldouble.
25569 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
25570 libm_alias_ldouble_other.
25571 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
25572 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
25573 * sysdeps/ia64/fpu/w_lgammal_main.c
25574 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
25575 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
25577 2017-11-23 Florian Weimer <fweimer@redhat.com>
25579 * malloc/malloc.c (tcache_thread_shutdown): Rename from
25580 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
25581 alike. Remove freeres marker.
25582 * malloc/arena.c (arena_thread_freeres): Call
25583 tcache_thread_shutdown.
25585 2017-11-23 Florian Weimer <fweimer@redhat.com>
25588 Export nscd hash function as __nss_hash.
25589 * include/nss.h (__nss_hash): Declare.
25590 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
25592 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
25593 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
25595 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
25596 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
25597 * nss/Makefiles (routines): Add nss_hash.
25598 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
25599 * nss/nss_hash.c: Rename from nis/nis_hash.c.
25600 (__nss_hash): Rename from __nis_hash. Define hidden alias.
25601 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
25603 2017-11-23 Florian Weimer <fweimer@redhat.com>
25606 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
25607 Return error code, not -1.
25608 * signal/tst-sigwait-eintr.c: New file.
25609 * signal/Makefile (tests): Add tst-sigwait-eintr.
25611 2017-11-23 Florian Weimer <fweimer@redhat.com>
25613 Linux: Add memfd_create system call wrapper
25614 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
25616 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
25617 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
25618 [__USE_GNU] (memfd_create): Declare.
25619 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
25620 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
25621 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
25622 * sysdeps/unix/sysv/linux/**.abilist: Update.
25623 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
25625 2017-11-22 Joseph Myers <joseph@codesourcery.com>
25627 * localedata/gen-locale.sh: Fix typo in variable name.
25629 * resolv/res_debug.c (p_secstodate): Condition definition on
25630 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
25631 directly as __p_secstodate, and as a compat symbol. Do not use
25632 libresolv_hidden_def.
25633 * resolv/resolv.h (p_secstodate): Remove macro and function
25635 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
25636 using p_secstodate.
25637 * include/resolv.h (__p_secstodate): Do not use
25638 libresolv_hidden_proto.
25639 * resolv/Makefile (tests): Move tst-p_secstodate to ....
25640 (tests-internal): ... here.
25641 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
25642 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
25643 and declare and use __p_secstodate and use compat_symbol_reference
25645 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
25646 implementation returning 77.
25649 * resolv/res_debug.c: Include <libc-diag.h>.
25650 (p_secstodate): Assert time_t at least as wide as u_long. On
25651 overflow, use integer seconds since the epoch as output, or use
25652 "<overflow>" as output and set errno to EOVERFLOW if integer
25653 seconds since the epoch would be 14 or more characters.
25654 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
25656 * resolv/tst-p_secstodate.c: New file.
25657 * resolv/Makefile (tests): Add tst-p_secstodate.
25658 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
25660 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
25661 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25662 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
25664 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
25666 * posix/regcomp.c (init_word_char): Add comments.
25668 2017-11-22 Joseph Myers <joseph@codesourcery.com>
25671 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
25672 strlen to compute length of ut_user and set trailing NUL byte of
25675 2017-11-21 Mike FABIAN <mfabian@redhat.com>
25678 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
25679 using “copy "iso14651_t1"” and then implementing the
25680 collation rules for lv from CLDR on top of that.
25681 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
25682 of locales to be built for testing.
25683 * lv_LV.UTF-8.in: New file with test data to test the Latvian
25686 2017-11-21 Joseph Myers <joseph@codesourcery.com>
25688 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25689 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
25690 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
25691 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
25692 [__USE_MISC] (MADV_HWPOISON): New macro.
25693 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
25695 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25697 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
25698 -Wmissing-braces on GCC 4.9.
25700 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25702 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
25703 * sysdeps/s390/s390-32/start.S (_start): Likewise
25704 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
25705 (thread_start): Likewise.
25706 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
25707 (thread_start): Likewise.
25708 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
25709 (__makecontext_ret): Likewise.
25710 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
25711 (__makecontext_ret): Likewise.
25713 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25715 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
25716 __wcschrnul): Remove attribute_hidden.
25718 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
25720 regex: don't assume uint64_t or uint32_t
25721 This avoids -Werror=overflow errors for 32-bit systems in
25722 the 64-bit case. Problem reported by Joseph Myers in:
25723 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
25724 Also, when this code is used in Gnulib it ports to platforms
25725 that lack uint64_t and uint32_t. The C standard doesn't guarantee
25726 them, and on some 32-bit compilers there is no uint64_t.
25727 Problem reported by Gianluigi Tiesi in:
25728 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
25729 * posix/regcomp.c (init_word_char): Don't assume that the types
25730 uint64_t and uint32_t exist. Adapted from Gnulib patch
25731 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
25732 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
25734 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
25736 * sysdeps/aarch64/memset-reg.h: New file.
25737 * sysdeps/aarch64/memset.S: Use it.
25738 (__memset): Rename to MEMSET macro.
25739 [ZVA_MACRO]: Use zva_macro.
25740 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
25741 Add memset_generic and memset_falkor.
25742 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25743 (__libc_ifunc_impl_list): Add memset ifuncs.
25744 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
25745 local variable zva_size.
25746 * sysdeps/aarch64/multiarch/memset.c: New file.
25747 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
25748 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
25749 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
25750 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
25751 (DCZID_DZP_MASK): New macro.
25752 (DCZID_BS_MASK): Likewise.
25753 (init_cpu_features): Read and set zva_size.
25754 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
25755 (struct cpu_features): New member zva_size.
25757 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
25758 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
25759 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
25761 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
25762 backwards. Fix timing computation.
25763 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
25764 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
25765 on memset by N at a time. Fix timing computation.
25767 2017-11-20 Florian Weimer <fweimer@redhat.com>
25769 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
25770 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
25772 2017-11-19 Florian Weimer <fweimer@redhat.com>
25774 manual: Document mprotect
25775 * manual/memory.texi (Memory Protection): New section.
25776 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
25777 documentation of PROT_* flags and reference the Memory Protection
25780 2017-11-19 Florian Weimer <fweimer@redhat.com>
25782 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
25783 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
25784 (Scatter-Gather): ... to here. Remove misleading comment.
25786 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
25788 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
25791 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
25792 when /proc/<pid>/setgroups does not exist.
25794 2017-11-18 Florian Weimer <fweimer@redhat.com>
25796 * sysdeps/unix/sysv/linux/tst-ttyname.c
25797 (become_root_in_mount_ns): Remove.
25798 (do_in_chroot_1): Call support_enter_mount_namespace.
25799 (do_in_chroot_2): Likewise.
25800 (do_test): Call support_become_root early.
25802 2017-11-18 Florian Weimer <fweimer@redhat.com>
25804 * support/namespace.h (support_enter_mount_namespace): Declare.
25805 * support/support_enter_mount_namespace.c: New file.
25806 * support/Makefile (libsupport-routines): Add
25807 support_enter_mount_namespace.
25809 2017-11-18 Florian Weimer <fweimer@redhat.com>
25811 * support/temp_file.c (support_create_temp_directory): Use
25812 test_dir and do not rely on the presence of the XXXXXX suffix.
25813 * support/temp_file.h (support_create_temp_directory): Update
25815 * support/tst-xreadlink.c (do_test): Adjust.
25816 * support/support_chroot.c (support_chroot_create): Likewise.
25818 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25820 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
25822 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
25825 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25827 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25828 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25829 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25830 (ceill): Define using libm_alias_ldouble.
25831 * sysdeps/x86_64/fpu/s_copysignl.S: Include
25832 <libm-alias-ldouble.h>.
25833 (copysignl): Define using libm_alias_ldouble.
25834 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25835 (fabsl): Define using libm_alias_ldouble.
25836 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25837 (floorl): Define using libm_alias_ldouble.
25838 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25839 (fmaxl): Define using libm_alias_ldouble.
25840 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25841 (fminl): Define using libm_alias_ldouble.
25842 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25843 (llrintl): Define using libm_alias_ldouble.
25844 (lrintl): Likewise.
25845 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
25846 <libm-alias-ldouble.h>.
25847 (nearbyintl): Define using libm_alias_ldouble.
25848 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25849 (truncl): Define using libm_alias_ldouble.
25850 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
25851 <libm-alias-ldouble.h>.
25852 (lrintl): Define using libm_alias_ldouble.
25854 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25855 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25856 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
25857 (asinhl): Define using libm_alias_ldouble.
25858 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
25859 (atanl): Define using libm_alias_ldouble.
25860 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
25861 (cbrtl): Define using libm_alias_ldouble.
25862 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25863 (ceill): Define using libm_alias_ldouble.
25864 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
25865 (copysignl): Define using libm_alias_ldouble.
25866 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25867 (fabsl): Define using libm_alias_ldouble.
25868 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25869 (floorl): Define using libm_alias_ldouble.
25870 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25871 (fmaxl): Define using libm_alias_ldouble.
25872 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25873 (fminl): Define using libm_alias_ldouble.
25874 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
25875 (frexpl): Define using libm_alias_ldouble.
25876 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25877 (llrintl): Define using libm_alias_ldouble.
25878 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
25879 (logbl): Define using libm_alias_ldouble.
25880 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
25881 (lrintl): Define using libm_alias_ldouble.
25882 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
25883 (nearbyintl): Define using libm_alias_ldouble.
25884 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
25885 (nextafterl): Define using libm_alias_ldouble.
25886 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
25887 (remquol): Define using libm_alias_ldouble.
25888 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
25889 (rintl): Define using libm_alias_ldouble.
25890 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25891 (truncl): Define using libm_alias_ldouble.
25892 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25893 (fmaxl): Define using libm_alias_ldouble.
25894 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25895 (fminl): Define using libm_alias_ldouble.
25897 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
25898 to C syntax instead of availability and properties of types.
25899 * bits/floatn.h [!__ASSEMBLER]: Likewise.
25900 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
25901 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
25902 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
25903 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
25904 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
25906 2017-11-17 Florian Weimer <fweimer@redhat.com>
25908 support_become_root: Enable file creation in namespaces.
25909 * support/support_become_root.c (setup_mapping): New function.
25910 (support_become_root): Call it.
25912 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25914 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
25917 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25919 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
25920 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
25922 2017-11-16 Joseph Myers <joseph@codesourcery.com>
25924 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
25926 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25929 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25931 * INSTALL: Fix botched up regeneration.
25933 * NEWS: Update sourceare link to https.
25934 * configure.ac: Likewise.
25935 * crypt/md5test-giant.c: Likewise.
25936 * dlfcn/bug-atexit1.c: Likewise.
25937 * dlfcn/bug-atexit2.c: Likewise.
25938 * localedata/README: Likewise.
25939 * malloc/tst-mallocfork.c: Likewise.
25940 * manual/install.texi: Likewise.
25941 * nptl/tst-pthread-getattr.c: Likewise.
25942 * stdio-common/tst-fgets.c: Likewise.
25943 * stdio-common/tst-fwrite.c: Likewise.
25944 * sunrpc/Makefile: Likewise.
25945 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
25946 * wcsmbs/tst-mbrtowc2.c: Likewise.
25947 * configure: Regenerate.
25948 * INSTALL: Regenerate.
25950 2017-11-15 Martin Sebor <msebor@redhat.com>
25952 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
25953 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
25954 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
25956 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25959 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
25960 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
25963 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
25964 Defer is_pty check until end of the function.
25965 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25968 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
25969 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
25970 (ttyname): Likewise.
25971 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
25972 (__ttyname_r): Likewise.
25974 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
25977 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
25979 * manual/terminal.texi (Is It a Terminal):
25980 Mention ENODEV for ttyname and ttyname_r.
25982 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25984 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
25985 constant and macro.
25987 * sysdeps/unix/sysv/linux/bits/mman-linux.h
25988 [__USE_MISC] (MADV_WIPEONFORK): New macro.
25989 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25990 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25991 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
25992 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25994 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25996 * signal/sigrelse.c (sigrelse): Optimize implementation.
25998 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
25999 (__sigpause): Rely on __sigsuspend to implement single thread
26000 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
26002 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26004 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
26005 kernel version to 4.14.
26007 2017-11-15 Steve Ellcey <sellcey@cavium.com>
26010 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
26011 Check if ifname is too long.
26013 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26015 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
26017 2017-11-15 Mike FABIAN <mfabian@redhat.com>
26019 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
26020 was accidentally lost.
26022 2017-11-15 Mike FABIAN <mfabian@redhat.com>
26024 * localedata/locales/az_IR: Add standard copyright header.
26026 2017-11-15 Florian Weimer <fweimer@redhat.com>
26029 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
26030 not just the top one. Output a new "subheaps" statistic.
26032 2017-11-15 Florian Weimer <fweimer@redhat.com>
26035 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
26036 under the per-arena lock.
26037 * malloc/Makefile (tests): Add tst-malloc_info.
26038 (tst-malloc_info): Link with libpthread.
26039 * malloc/tst-malloc_info.c: New file.
26041 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26044 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
26045 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
26046 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
26047 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
26048 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
26049 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
26050 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
26051 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
26052 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
26053 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
26054 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
26055 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
26056 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
26057 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
26058 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
26059 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
26060 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
26061 (__floating_type): Likewise.
26062 (__real_integer_type): Likewise.
26063 (__complex_integer_type): Likewise.
26064 (__expr_is_real): Likewise.
26065 (__tgmath_real_type_sub): Likewise.
26066 (__tgmath_real_type): Likewise.
26067 (__tgmath_complex_type_sub): Likewise.
26068 (__tgmath_complex_type): Likewise.
26069 (__TGMATH_F128): Likewise.
26070 (__TGMATH_CF128): Likewise.
26071 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
26073 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
26074 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
26076 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
26078 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
26079 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
26080 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
26081 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
26083 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
26084 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
26086 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
26087 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
26088 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
26090 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
26091 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
26092 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
26096 2017-11-14 Joseph Myers <joseph@codesourcery.com>
26098 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
26099 for stpncpy calls for GCC 8.
26100 (test_strncat): Disable -Wstringop-truncation warning for strncat
26101 calls for GCC 8. Disable -Wstringop-overflow= warning for one
26102 strncat call for GCC 7.
26103 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
26105 (test_memcmp): Use memcpy instead of strncpy for calls not copying
26108 * string/bug-strncat1.c: Include <libc-diag.h>.
26109 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
26111 2017-11-13 Claude Paroz <claude@2xlibre.net>
26114 * localedata/locales/aa_DJ: Improved readibility by replacing
26115 <Uxxxx> sequences in the ASCII printable range by their ASCII
26116 character equivalents.
26117 * localedata/locales/aa_ER: Likewise.
26118 * localedata/locales/aa_ER@saaho: Likewise.
26119 * localedata/locales/aa_ET: Likewise.
26120 * localedata/locales/af_ZA: Likewise.
26121 * localedata/locales/agr_PE: Likewise.
26122 * localedata/locales/ak_GH: Likewise.
26123 * localedata/locales/am_ET: Likewise.
26124 * localedata/locales/anp_IN: Likewise.
26125 * localedata/locales/ar_AE: Likewise.
26126 * localedata/locales/ar_BH: Likewise.
26127 * localedata/locales/ar_DZ: Likewise.
26128 * localedata/locales/ar_EG: Likewise.
26129 * localedata/locales/ar_IN: Likewise.
26130 * localedata/locales/ar_IQ: Likewise.
26131 * localedata/locales/ar_JO: Likewise.
26132 * localedata/locales/ar_KW: Likewise.
26133 * localedata/locales/ar_LB: Likewise.
26134 * localedata/locales/ar_LY: Likewise.
26135 * localedata/locales/ar_MA: Likewise.
26136 * localedata/locales/ar_OM: Likewise.
26137 * localedata/locales/ar_QA: Likewise.
26138 * localedata/locales/ar_SA: Likewise.
26139 * localedata/locales/ar_SD: Likewise.
26140 * localedata/locales/ar_SS: Likewise.
26141 * localedata/locales/ar_SY: Likewise.
26142 * localedata/locales/ar_TN: Likewise.
26143 * localedata/locales/ar_YE: Likewise.
26144 * localedata/locales/as_IN: Likewise.
26145 * localedata/locales/ast_ES: Likewise.
26146 * localedata/locales/ayc_PE: Likewise.
26147 * localedata/locales/az_AZ: Likewise.
26148 * localedata/locales/az_IR: Likewise.
26149 * localedata/locales/be_BY: Likewise.
26150 * localedata/locales/be_BY@latin: Likewise.
26151 * localedata/locales/bem_ZM: Likewise.
26152 * localedata/locales/ber_DZ: Likewise.
26153 * localedata/locales/ber_MA: Likewise.
26154 * localedata/locales/bg_BG: Likewise.
26155 * localedata/locales/bhb_IN: Likewise.
26156 * localedata/locales/bho_IN: Likewise.
26157 * localedata/locales/bi_VU: Likewise.
26158 * localedata/locales/bn_BD: Likewise.
26159 * localedata/locales/bn_IN: Likewise.
26160 * localedata/locales/bo_CN: Likewise.
26161 * localedata/locales/bo_IN: Likewise.
26162 * localedata/locales/br_FR: Likewise.
26163 * localedata/locales/brx_IN: Likewise.
26164 * localedata/locales/bs_BA: Likewise.
26165 * localedata/locales/byn_ER: Likewise.
26166 * localedata/locales/ca_AD: Likewise.
26167 * localedata/locales/ca_ES: Likewise.
26168 * localedata/locales/ca_FR: Likewise.
26169 * localedata/locales/ca_IT: Likewise.
26170 * localedata/locales/ce_RU: Likewise.
26171 * localedata/locales/chr_US: Likewise.
26172 * localedata/locales/cmn_TW: Likewise.
26173 * localedata/locales/crh_UA: Likewise.
26174 * localedata/locales/cs_CZ: Likewise.
26175 * localedata/locales/csb_PL: Likewise.
26176 * localedata/locales/cv_RU: Likewise.
26177 * localedata/locales/cy_GB: Likewise.
26178 * localedata/locales/da_DK: Likewise.
26179 * localedata/locales/de_AT: Likewise.
26180 * localedata/locales/de_BE: Likewise.
26181 * localedata/locales/de_CH: Likewise.
26182 * localedata/locales/de_DE: Likewise.
26183 * localedata/locales/de_IT: Likewise.
26184 * localedata/locales/de_LI: Likewise.
26185 * localedata/locales/de_LU: Likewise.
26186 * localedata/locales/doi_IN: Likewise.
26187 * localedata/locales/dv_MV: Likewise.
26188 * localedata/locales/dz_BT: Likewise.
26189 * localedata/locales/el_CY: Likewise.
26190 * localedata/locales/el_GR: Likewise.
26191 * localedata/locales/en_AG: Likewise.
26192 * localedata/locales/en_AU: Likewise.
26193 * localedata/locales/en_BW: Likewise.
26194 * localedata/locales/en_CA: Likewise.
26195 * localedata/locales/en_DK: Likewise.
26196 * localedata/locales/en_GB: Likewise.
26197 * localedata/locales/en_HK: Likewise.
26198 * localedata/locales/en_IE: Likewise.
26199 * localedata/locales/en_IL: Likewise.
26200 * localedata/locales/en_IN: Likewise.
26201 * localedata/locales/en_NG: Likewise.
26202 * localedata/locales/en_NZ: Likewise.
26203 * localedata/locales/en_PH: Likewise.
26204 * localedata/locales/en_SG: Likewise.
26205 * localedata/locales/en_US: Likewise.
26206 * localedata/locales/en_ZA: Likewise.
26207 * localedata/locales/en_ZM: Likewise.
26208 * localedata/locales/en_ZW: Likewise.
26209 * localedata/locales/eo: Likewise.
26210 * localedata/locales/es_AR: Likewise.
26211 * localedata/locales/es_BO: Likewise.
26212 * localedata/locales/es_CL: Likewise.
26213 * localedata/locales/es_CO: Likewise.
26214 * localedata/locales/es_CR: Likewise.
26215 * localedata/locales/es_CU: Likewise.
26216 * localedata/locales/es_DO: Likewise.
26217 * localedata/locales/es_EC: Likewise.
26218 * localedata/locales/es_ES: Likewise.
26219 * localedata/locales/es_GT: Likewise.
26220 * localedata/locales/es_HN: Likewise.
26221 * localedata/locales/es_MX: Likewise.
26222 * localedata/locales/es_NI: Likewise.
26223 * localedata/locales/es_PA: Likewise.
26224 * localedata/locales/es_PE: Likewise.
26225 * localedata/locales/es_PR: Likewise.
26226 * localedata/locales/es_PY: Likewise.
26227 * localedata/locales/es_SV: Likewise.
26228 * localedata/locales/es_US: Likewise.
26229 * localedata/locales/es_UY: Likewise.
26230 * localedata/locales/es_VE: Likewise.
26231 * localedata/locales/et_EE: Likewise.
26232 * localedata/locales/eu_ES: Likewise.
26233 * localedata/locales/eu_ES@euro: Likewise.
26234 * localedata/locales/fa_IR: Likewise.
26235 * localedata/locales/ff_SN: Likewise.
26236 * localedata/locales/fi_FI: Likewise.
26237 * localedata/locales/fil_PH: Likewise.
26238 * localedata/locales/fo_FO: Likewise.
26239 * localedata/locales/fr_BE: Likewise.
26240 * localedata/locales/fr_CA: Likewise.
26241 * localedata/locales/fr_CH: Likewise.
26242 * localedata/locales/fr_FR: Likewise.
26243 * localedata/locales/fr_LU: Likewise.
26244 * localedata/locales/fur_IT: Likewise.
26245 * localedata/locales/fy_DE: Likewise.
26246 * localedata/locales/fy_NL: Likewise.
26247 * localedata/locales/ga_IE: Likewise.
26248 * localedata/locales/gd_GB: Likewise.
26249 * localedata/locales/gez_ER: Likewise.
26250 * localedata/locales/gez_ET: Likewise.
26251 * localedata/locales/gl_ES: Likewise.
26252 * localedata/locales/gu_IN: Likewise.
26253 * localedata/locales/gv_GB: Likewise.
26254 * localedata/locales/ha_NG: Likewise.
26255 * localedata/locales/hak_TW: Likewise.
26256 * localedata/locales/he_IL: Likewise.
26257 * localedata/locales/hi_IN: Likewise.
26258 * localedata/locales/hif_FJ: Likewise.
26259 * localedata/locales/hne_IN: Likewise.
26260 * localedata/locales/hr_HR: Likewise.
26261 * localedata/locales/hsb_DE: Likewise.
26262 * localedata/locales/ht_HT: Likewise.
26263 * localedata/locales/hu_HU: Likewise.
26264 * localedata/locales/hy_AM: Likewise.
26265 * localedata/locales/i18n: Likewise.
26266 * localedata/locales/ia_FR: Likewise.
26267 * localedata/locales/id_ID: Likewise.
26268 * localedata/locales/ig_NG: Likewise.
26269 * localedata/locales/ik_CA: Likewise.
26270 * localedata/locales/is_IS: Likewise.
26271 * localedata/locales/it_CH: Likewise.
26272 * localedata/locales/it_IT: Likewise.
26273 * localedata/locales/iu_CA: Likewise.
26274 * localedata/locales/ja_JP: Likewise.
26275 * localedata/locales/ka_GE: Likewise.
26276 * localedata/locales/kk_KZ: Likewise.
26277 * localedata/locales/kl_GL: Likewise.
26278 * localedata/locales/kn_IN: Likewise.
26279 * localedata/locales/ko_KR: Likewise.
26280 * localedata/locales/kok_IN: Likewise.
26281 * localedata/locales/ks_IN: Likewise.
26282 * localedata/locales/ks_IN@devanagari: Likewise.
26283 * localedata/locales/ku_TR: Likewise.
26284 * localedata/locales/kw_GB: Likewise.
26285 * localedata/locales/ky_KG: Likewise.
26286 * localedata/locales/lb_LU: Likewise.
26287 * localedata/locales/lg_UG: Likewise.
26288 * localedata/locales/li_BE: Likewise.
26289 * localedata/locales/li_NL: Likewise.
26290 * localedata/locales/lij_IT: Likewise.
26291 * localedata/locales/ln_CD: Likewise.
26292 * localedata/locales/lo_LA: Likewise.
26293 * localedata/locales/lt_LT: Likewise.
26294 * localedata/locales/lv_LV: Likewise.
26295 * localedata/locales/lzh_TW: Likewise.
26296 * localedata/locales/mag_IN: Likewise.
26297 * localedata/locales/mai_IN: Likewise.
26298 * localedata/locales/mg_MG: Likewise.
26299 * localedata/locales/mhr_RU: Likewise.
26300 * localedata/locales/mi_NZ: Likewise.
26301 * localedata/locales/mk_MK: Likewise.
26302 * localedata/locales/ml_IN: Likewise.
26303 * localedata/locales/mn_MN: Likewise.
26304 * localedata/locales/mni_IN: Likewise.
26305 * localedata/locales/mr_IN: Likewise.
26306 * localedata/locales/ms_MY: Likewise.
26307 * localedata/locales/mt_MT: Likewise.
26308 * localedata/locales/my_MM: Likewise.
26309 * localedata/locales/nan_TW: Likewise.
26310 * localedata/locales/nan_TW@latin: Likewise.
26311 * localedata/locales/nb_NO: Likewise.
26312 * localedata/locales/nds_DE: Likewise.
26313 * localedata/locales/nds_NL: Likewise.
26314 * localedata/locales/ne_NP: Likewise.
26315 * localedata/locales/nhn_MX: Likewise.
26316 * localedata/locales/niu_NU: Likewise.
26317 * localedata/locales/niu_NZ: Likewise.
26318 * localedata/locales/nl_AW: Likewise.
26319 * localedata/locales/nl_BE: Likewise.
26320 * localedata/locales/nl_NL: Likewise.
26321 * localedata/locales/nn_NO: Likewise.
26322 * localedata/locales/nr_ZA: Likewise.
26323 * localedata/locales/nso_ZA: Likewise.
26324 * localedata/locales/oc_FR: Likewise.
26325 * localedata/locales/om_ET: Likewise.
26326 * localedata/locales/om_KE: Likewise.
26327 * localedata/locales/or_IN: Likewise.
26328 * localedata/locales/os_RU: Likewise.
26329 * localedata/locales/pa_IN: Likewise.
26330 * localedata/locales/pa_PK: Likewise.
26331 * localedata/locales/pap_AW: Likewise.
26332 * localedata/locales/pap_CW: Likewise.
26333 * localedata/locales/pl_PL: Likewise.
26334 * localedata/locales/ps_AF: Likewise.
26335 * localedata/locales/pt_BR: Likewise.
26336 * localedata/locales/pt_PT: Likewise.
26337 * localedata/locales/quz_PE: Likewise.
26338 * localedata/locales/raj_IN: Likewise.
26339 * localedata/locales/ro_RO: Likewise.
26340 * localedata/locales/ru_RU: Likewise.
26341 * localedata/locales/ru_UA: Likewise.
26342 * localedata/locales/rw_RW: Likewise.
26343 * localedata/locales/sa_IN: Likewise.
26344 * localedata/locales/sat_IN: Likewise.
26345 * localedata/locales/sc_IT: Likewise.
26346 * localedata/locales/sd_IN: Likewise.
26347 * localedata/locales/sd_IN@devanagari: Likewise.
26348 * localedata/locales/se_NO: Likewise.
26349 * localedata/locales/sgs_LT: Likewise.
26350 * localedata/locales/shs_CA: Likewise.
26351 * localedata/locales/si_LK: Likewise.
26352 * localedata/locales/sid_ET: Likewise.
26353 * localedata/locales/sk_SK: Likewise.
26354 * localedata/locales/sl_SI: Likewise.
26355 * localedata/locales/sm_WS: Likewise.
26356 * localedata/locales/so_DJ: Likewise.
26357 * localedata/locales/so_ET: Likewise.
26358 * localedata/locales/so_KE: Likewise.
26359 * localedata/locales/so_SO: Likewise.
26360 * localedata/locales/sq_AL: Likewise.
26361 * localedata/locales/sq_MK: Likewise.
26362 * localedata/locales/sr_ME: Likewise.
26363 * localedata/locales/sr_RS: Likewise.
26364 * localedata/locales/sr_RS@latin: Likewise.
26365 * localedata/locales/ss_ZA: Likewise.
26366 * localedata/locales/st_ZA: Likewise.
26367 * localedata/locales/sv_FI: Likewise.
26368 * localedata/locales/sv_SE: Likewise.
26369 * localedata/locales/sw_KE: Likewise.
26370 * localedata/locales/sw_TZ: Likewise.
26371 * localedata/locales/szl_PL: Likewise.
26372 * localedata/locales/ta_IN: Likewise.
26373 * localedata/locales/ta_LK: Likewise.
26374 * localedata/locales/tcy_IN: Likewise.
26375 * localedata/locales/te_IN: Likewise.
26376 * localedata/locales/tg_TJ: Likewise.
26377 * localedata/locales/th_TH: Likewise.
26378 * localedata/locales/the_NP: Likewise.
26379 * localedata/locales/ti_ER: Likewise.
26380 * localedata/locales/ti_ET: Likewise.
26381 * localedata/locales/tig_ER: Likewise.
26382 * localedata/locales/tk_TM: Likewise.
26383 * localedata/locales/tl_PH: Likewise.
26384 * localedata/locales/tn_ZA: Likewise.
26385 * localedata/locales/to_TO: Likewise.
26386 * localedata/locales/tpi_PG: Likewise.
26387 * localedata/locales/tr_CY: Likewise.
26388 * localedata/locales/tr_TR: Likewise.
26389 * localedata/locales/ts_ZA: Likewise.
26390 * localedata/locales/tt_RU: Likewise.
26391 * localedata/locales/tt_RU@iqtelif: Likewise.
26392 * localedata/locales/ug_CN: Likewise.
26393 * localedata/locales/uk_UA: Likewise.
26394 * localedata/locales/unm_US: Likewise.
26395 * localedata/locales/ur_IN: Likewise.
26396 * localedata/locales/ur_PK: Likewise.
26397 * localedata/locales/uz_UZ: Likewise.
26398 * localedata/locales/uz_UZ@cyrillic: Likewise.
26399 * localedata/locales/ve_ZA: Likewise.
26400 * localedata/locales/vi_VN: Likewise.
26401 * localedata/locales/wa_BE: Likewise.
26402 * localedata/locales/wae_CH: Likewise.
26403 * localedata/locales/wal_ET: Likewise.
26404 * localedata/locales/wo_SN: Likewise.
26405 * localedata/locales/xh_ZA: Likewise.
26406 * localedata/locales/yi_US: Likewise.
26407 * localedata/locales/yo_NG: Likewise.
26408 * localedata/locales/yue_HK: Likewise.
26409 * localedata/locales/yuw_PG: Likewise.
26410 * localedata/locales/zh_CN: Likewise.
26411 * localedata/locales/zh_HK: Likewise.
26412 * localedata/locales/zh_SG: Likewise.
26413 * localedata/locales/zh_TW: Likewise.
26414 * localedata/locales/zu_ZA: Likewise.
26416 2017-11-13 Florian Weimer <fweimer@redhat.com>
26418 * support/next_to_fault.h, support/next_to_fault.c: New files.
26419 * support/Makefile (libsupport-routines): Add next_to_fault.
26420 * resolv/tst-inet_pton.c (struct next_to_fault)
26421 (next_to_fault_allocate, next_to_fault_free): Remove.
26422 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
26424 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
26426 * elf/dl-support.c: Include <dl-procruntime.c>.
26427 * include/link.h: Include <link_map.h>.
26428 * sysdeps/generic/dl-procruntime.c: New file.
26429 * sysdeps/generic/link_map.h: Likewise.
26430 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
26431 the writable ld.so namespace.
26433 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
26435 timezone: pacify GCC -Wstringop-truncation
26436 Problem reported by Martin Sebor in:
26437 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
26438 * timezone/zic.c (writezone): Use memcpy, not strncpy.
26440 2017-11-12 Florian Weimer <fweimer@redhat.com>
26442 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
26444 (tests): Add tst-xreadlink.
26445 * support/support.h (xstrndup): Declare.
26446 * support/xunistd.h (xunlink, xreadlink): Declare.
26447 * support/temp_file.h (support_create_temp_directory): Declare.
26448 * support/temp_file.c (support_create_temp_directory): New function.
26449 * support/support_chroot.c (support_chroot_create): Use it.
26450 * support/xreadlink.c: New file.
26451 * support/xstrndup.c: Likewise.
26452 * support/xunlink.c: Likewise.
26453 * support/tst-xreadlink.c: Likewise.
26455 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
26457 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
26459 2017-11-11 Florian Weimer <fweimer@redhat.com>
26463 * resolv/res_comp.c (printable_string, binary_hnok)
26464 (binary_leading_dash): New functions.
26465 (res_hnok): Reimplement using these functions and ns_name_pton.
26466 (res_ownok): Likewise.
26467 (res_mailok): Reimplement using printable_string, ns_name_pton and
26469 (res_dnok): Reimplement using printable_string and ns_name_pton.
26470 * resolv/tst-res_hnok.c (tests): Add additional tests.
26471 (LETTERDIGITS, PRINTABLE): Define.
26472 (do_test): Adjust one_char results.
26474 2017-11-11 Florian Weimer <fweimer@redhat.com>
26477 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
26478 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
26480 2017-11-11 Florian Weimer <fweimer@redhat.com>
26482 * resolv/tst-ns_name_pton.c: New file.
26483 * resolv/Makefile (tests): Add tst-ns_name_pton.
26484 (tst-ns_name_pton): Link against libresolv.
26486 2017-11-11 Florian Weimer <fweimer@redhat.com>
26488 * resolv/tst-res_hnok.c: New file.
26489 * resolv/Makefile (tests): Add tst-res_hnok.
26490 (tst-res_hnok): Link against libresolv.
26492 2017-11-11 Florian Weimer <fweimer@redhat.com>
26494 * resolv/tst-resolv-network.c: Use test framework instead explicit
26497 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
26499 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
26500 <jmp_buf-macros.h>.
26501 [!_ISOMAC] (STR_HELPER): New.
26502 [!_ISOMAC] (STR): Likewise.
26503 [!_ISOMAC] (TEST_SIZE): Likewise.
26504 [!_ISOMAC] (TEST_ALIGN): Likewise.
26505 [!_ISOMAC] (TEST_OFFSET): Likewise.
26506 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
26507 field offsets of jmp_buf as well as sigjmp_buf.
26508 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
26509 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
26510 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
26511 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
26512 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
26513 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
26514 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
26515 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
26516 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
26517 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
26519 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
26521 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
26522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
26524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
26526 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
26527 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
26528 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
26529 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
26530 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
26531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
26533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
26535 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
26536 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
26537 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
26539 2017-11-07 Joseph Myers <joseph@codesourcery.com>
26542 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26543 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
26544 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26545 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
26546 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26547 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
26548 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26549 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
26550 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26551 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
26552 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26553 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
26554 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26555 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
26556 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26557 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
26558 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26559 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
26560 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26561 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
26562 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26563 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
26564 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26565 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
26566 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26567 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
26568 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26569 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
26570 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26571 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
26572 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26573 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
26574 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26575 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
26576 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26577 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
26578 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26579 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
26580 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26581 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
26582 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26583 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
26584 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26585 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
26586 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26587 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
26588 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26589 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
26590 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26591 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
26592 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26593 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
26594 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26595 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
26596 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26597 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
26598 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26599 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
26600 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26601 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
26602 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26603 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
26604 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26605 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
26606 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26607 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
26608 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26609 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
26610 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26611 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
26612 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26613 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
26614 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26615 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
26616 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26617 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
26618 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26619 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
26620 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26621 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
26622 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26623 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
26624 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26625 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
26626 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26627 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
26628 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26629 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
26631 * stdlib/tst-strtod.h (F16): New macro.
26637 (IF_FLOAT16): Likewise.
26638 (IF_FLOAT32): Likewise.
26639 (IF_FLOAT64): Likewise.
26640 (IF_FLOAT32X): Likewise.
26641 (IF_FLOAT64X): Likewise.
26642 (IF_FLOAT128X): Likewise.
26643 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
26644 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
26645 (STRTOD_TEST_FOREACH): Likewise.
26646 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
26647 (CHOOSE_f64): Likewise.
26648 (CHOOSE_f32x): Likewise.
26649 (CHOOSE_f64x): Likewise.
26651 2017-11-07 Andreas Schwab <schwab@suse.de>
26653 * nptl/Makefile (tests-internal): Remove tst-typesizes.
26655 2017-11-07 Mike FABIAN <mfabian@redhat.com>
26658 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
26660 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
26663 2017-11-07 Claude Paroz <claude@2xlibre.net>
26666 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
26668 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
26670 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
26673 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26676 * nptl/allocatestack.c (allocate_stack): Check if
26677 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
26678 __PTHREAD_MUTEX_HAVE_PREV is defined.
26679 * nptl/descr.h (pthread): Likewise.
26680 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26682 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26683 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26684 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
26685 * sysdeps/nptl/bits/thread-shared-types.h
26686 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26688 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
26689 of __WORDSIZE for internal layout.
26690 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
26691 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
26692 instead of __WORDSIZE whether to use an union for __spins and __list
26694 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
26696 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
26697 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26699 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
26700 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26702 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
26703 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26705 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
26706 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26708 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
26709 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26711 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
26712 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26714 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
26715 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26717 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
26718 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26720 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
26721 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26723 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
26724 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26726 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
26727 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26729 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
26730 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26732 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
26733 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26735 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
26736 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26738 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
26739 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26742 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
26744 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
26745 checks for expected input type size.
26746 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26747 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26749 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26750 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
26751 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26752 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
26753 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26754 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
26755 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
26756 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
26757 superflous runtime assert check.
26758 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
26760 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
26762 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26764 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
26766 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
26768 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
26770 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
26771 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
26772 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26774 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26776 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26778 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
26780 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26782 * nptl/pthread_attr_setinheritsched.c
26783 (__pthread_attr_setinheritsched): Likewise.
26784 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
26786 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
26788 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
26789 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
26790 __old_pthread_attr_setstack): Likewise.
26791 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26793 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26795 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
26797 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26798 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26800 * nptl/tst-typesizes.c: Remove file.
26802 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
26803 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
26804 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
26805 checks for internal pthread_mutex_t offsets.
26806 * sysdeps/aarch64/nptl/pthread-offsets.h
26807 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
26808 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
26809 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
26810 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
26811 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
26812 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
26813 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
26814 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
26815 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
26816 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
26817 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
26818 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
26819 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
26820 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
26821 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
26822 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
26823 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
26824 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
26826 2017-11-07 Florian Weimer <fweimer@redhat.com>
26828 * bits/mman-linux.h: Move ...
26829 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
26831 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
26834 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26836 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
26837 Redefine STRNLEN as __strnlen_power8.
26839 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26841 * signal/sighold.c (sighold): Optimize implementation.
26843 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
26844 __NR_rt_sigqueueinfo.
26846 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
26848 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
26849 assume __NR_rt_sigtimedwait.
26850 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
26851 and add LIBC_CANCEL_HANDLED for cancellation marking.
26852 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26854 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26855 (sysdeps_routines): Add memchr_noneon.
26856 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
26857 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
26858 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
26859 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
26860 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
26861 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
26862 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
26864 * sysdeps/arm/arm-ifunc.h: New file.
26865 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
26866 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
26867 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
26868 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
26869 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
26870 (__memcpy_neon): Avoid create hidden alias.
26871 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
26872 (__memcpy_vfp): Likewise.
26873 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26874 (sysdep_routines): Add memcpy_arm.
26875 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
26877 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
26880 * Makerules (make-link-multidir): New.
26881 * config.make.in (multidir): New.
26882 * configure.ac (libc_cv_multidir): New. AC_SUBST.
26883 * configure: Regenerated.
26884 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
26885 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
26886 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
26889 2017-11-06 Joseph Myers <joseph@codesourcery.com>
26892 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
26893 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
26895 2017-11-04 Mike FABIAN <mfabian@redhat.com>
26897 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
26900 2017-11-04 Florian Weimer <fweimer@redhat.com>
26902 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
26904 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26906 * math/math.h [__HAVE_DISTINCT_FLOAT16
26907 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26908 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26909 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26910 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
26911 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
26912 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
26913 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26914 (__MATH_TG_F32): New macro.
26915 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26916 (__MATH_TG_F64X): Likewise.
26917 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26918 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
26920 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
26922 * po/de.po: Update translations.
26923 * po/ru.po: Likewise.
26925 2017-11-03 Florian Weimer <fweimer@redhat.com>
26927 * manual/filesys.texi (Hard Links): Document linkat.
26929 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26931 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
26932 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26933 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26934 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26935 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26936 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26937 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
26938 the same as _Float128.
26939 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26940 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26941 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
26944 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
26946 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
26948 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
26950 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26951 (strtof32x): Likewise.
26952 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26953 (strtof64x): Likewise.
26954 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26955 (strtof128x): Likewise.
26956 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26957 (strfromf16): Likewise.
26958 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26959 (strfromf32): Likewise.
26960 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26961 (strfromf64): Likewise.
26962 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26963 (strfromf32x): Likewise.
26964 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26965 (strfromf64x): Likewise.
26966 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26967 (strfromf128x): Likewise.
26968 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
26969 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
26970 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
26971 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
26972 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
26973 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
26975 2017-11-03 Richard Henderson <rth@twiddle.net>
26977 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
26979 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26981 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
26983 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26985 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
26986 DT_TLSDESC_GOT initialization.
26987 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
26988 (_dl_tlsdesc_resolve_hold): Likewise.
26989 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
26990 (_dl_tlsdesc_resolve_hold): Likewise.
26991 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
26992 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26994 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26996 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
26998 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27001 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
27002 non-lazily for R_ARM_TLS_DESC.
27004 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27007 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
27008 R_ARM_TLS_DESC case.
27009 (elf_machine_lazy_rel): Remove the prelink check.
27011 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27013 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
27014 DT_TLSDESC_GOT initialization.
27015 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
27016 (_dl_tlsdesc_resolve_rela): Likewise.
27017 (_dl_tlsdesc_resolve_hold): Likewise.
27018 (_dl_tlsdesc_undefweak): Remove ldar.
27019 (_dl_tlsdesc_dynamic): Likewise.
27020 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
27021 (_dl_tlsdesc_resolve_rela): Likewise.
27022 (_dl_tlsdesc_resolve_hold): Likewise.
27023 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
27024 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27025 (_dl_tlsdesc_resolve_rela): Likewise.
27026 (_dl_tlsdesc_resolve_hold): Likewise.
27028 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27030 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
27031 binding and initialization non-lazily for R_AARCH64_TLSDESC.
27033 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27035 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
27036 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27038 2017-11-02 Joseph Myers <joseph@codesourcery.com>
27040 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
27042 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
27043 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
27044 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
27045 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
27046 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
27047 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
27048 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
27049 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
27050 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
27051 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
27052 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
27054 2017-11-02 Mike FABIAN <mfabian@redhat.com>
27057 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
27058 * localedata/locales/tpi_PG: Add standard header.
27060 2017-11-02 Florian Weimer <fweimer@redhat.com>
27062 test-errno-linux: quotactl can fail with EPERM in containers.
27063 * sysdeps/unix/sysv/linux/test-errno-linux.c
27064 (LIST, LIST_FORWARD): New macros.
27065 (check_error_in_list): New function.
27066 (test_wrp_rv): Accept list of permitted error codes.
27067 (test_wrp_rv2): Remove.
27068 (test_wrp): Call test_wrp_rv with list of error codes.
27069 (test_wrp2): Accept list of error codes.
27070 (do_test): Adjust. Allow EPERM for quotactl.
27072 2017-11-02 Florian Weimer <fweimer@redhat.com>
27074 * stdio-common/bug16.c (do_test): Use array_length.
27075 * stdio-common/errlist.c (_sys_nerr): Likewise.
27076 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
27077 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
27078 * stdio-common/psiginfo.c (psiginfo): Use array_length.
27079 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
27080 (do_test): Use array_length.
27081 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
27082 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
27083 * stdio-common/tst-printf-round.c (do_test): Likewise.
27084 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
27085 (CHECK): Use array_length.
27086 * stdio-common/tstdiomisc.c (t3, F): Likewise.
27087 * stdio-common/tstscanf.c (main): Likewise.
27088 * stdio-common/vfprintf.c (process_string_arg): Likewise.
27090 2017-11-02 Florian Weimer <fweimer@redhat.com>
27092 Add array_length and array_end macros.
27093 * include/array_length.h: New file.
27095 2017-11-02 Florian Weimer <fweimer@redhat.com>
27098 * posix/tst-glob-tilde.c (do_noescape): New variable.
27099 (one_test): Process it.
27100 (do_test): Set do_noescape. Add unescaping test case.
27102 2017-11-01 Joseph Myers <joseph@codesourcery.com>
27105 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
27106 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
27107 with appropriate macros defined and undefined.
27108 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
27109 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27110 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
27111 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27112 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
27113 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27114 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
27115 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27116 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
27117 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27120 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
27121 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
27122 that for long double. Do not condition define and undefine of
27123 _Mdouble_complex_ on [__CFLOAT128].
27125 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
27127 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27128 of <sysdeps/generic/sysdep.h>.
27129 (ALIGNARG): Removed.
27130 (ASM_SIZE_DIRECTIVE): Likewise.
27133 (ENTRY_CHK): Likewise.
27134 (END_CHK): Likewise.
27135 (syscall_error): Likewise.
27136 (mcount): Likewise.
27137 (PSEUDO_END): Likewise.
27139 (atom_text_section): Likewise.
27140 * sysdeps/x86/sysdep.h: New file.
27141 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27142 of <sysdeps/generic/sysdep.h>.
27143 (ALIGNARG): Removed.
27144 (ASM_SIZE_DIRECTIVE): Likewise.
27147 (ENTRY_CHK): Likewise.
27148 (END_CHK): Likewise.
27149 (syscall_error): Likewise.
27150 (mcount): Likewise.
27151 (PSEUDO_END): Likewise.
27153 (atom_text_section): Likewise.
27155 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
27157 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
27158 category of LC_CTYPE set to "i18n:2012".
27159 * localedata/locales/i18n_ctype: Regenerate.
27161 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
27163 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
27164 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
27165 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27166 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27168 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
27169 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
27170 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
27171 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
27173 2017-10-31 Joseph Myers <joseph@codesourcery.com>
27176 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
27178 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
27180 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
27182 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27183 (CMPLXF32X): Likewise.
27184 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27185 (CMPLXF64X): Likewise.
27186 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27187 (CMPLXF128X): Likewise.
27190 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
27191 (__MATH_EVAL_FMT2): Define to add 0.0f.
27193 2017-10-31 Alan Modra <amodra@gmail.com>
27195 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
27197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
27198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
27199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
27200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
27201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
27202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
27203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
27204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
27205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
27206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
27207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
27208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
27209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
27210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
27211 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
27212 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
27213 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
27214 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
27215 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
27216 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
27217 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
27218 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
27219 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
27220 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
27221 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27222 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
27223 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
27224 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
27225 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
27226 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
27227 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27228 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27229 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
27230 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
27231 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
27232 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
27233 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
27234 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
27235 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
27236 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27237 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
27238 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
27239 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
27240 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
27241 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
27242 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
27243 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
27244 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
27245 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27246 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27247 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
27248 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
27249 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
27250 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
27251 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27252 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
27253 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
27254 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
27255 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27256 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27257 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27258 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
27259 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
27260 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27261 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
27262 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
27263 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
27264 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
27265 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
27267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
27268 include sysdep.h and math_ldbl_opt.h.
27270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
27271 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
27272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
27273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
27274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
27275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
27276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
27277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
27278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
27279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
27280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
27281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
27282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
27283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
27284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
27285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
27286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
27287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
27288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
27289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
27290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
27291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
27292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
27293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
27294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
27295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
27297 2017-10-31 Alan Modra <amodra@gmail.com>
27299 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
27300 string/strncase_l.c, not string/strncase.c.
27301 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
27302 (libc_hidden_def): Redefine.
27304 2017-10-31 Alan Modra <amodra@gmail.com>
27306 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
27307 (__STRCMP, STRCMP, __strcasecmp_l): Define.
27308 (__strcasecmp): Don't define.
27310 2017-10-31 Alan Modra <amodra@gmail.com>
27312 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
27314 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27315 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27316 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27318 2017-10-31 Alan Modra <amodra@gmail.com>
27320 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
27323 2017-10-31 Alan Modra <amodra@gmail.com>
27325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
27326 Redefine only when SHARED.
27328 2017-10-30 Joseph Myers <joseph@codesourcery.com>
27330 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27331 Include <bits/math-finite.h> with appropriate macros defined and
27333 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27334 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27335 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27336 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27337 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27339 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
27340 [!_Mlong_double_] (_Mlong_double_): Likewise.
27341 [!_Mfloat16_] (_Mfloat16_): Likewise.
27342 [!_Mfloat32_] (_Mfloat32_): Likewise.
27343 [!_Mfloat64_] (_Mfloat64_): Likewise.
27344 [!_Mfloat128_] (_Mfloat128_): Likewise.
27345 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
27346 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
27347 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
27348 (_Mdouble_): Define without indirection through those macros.
27349 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
27350 [!_Mfloat128_] (_Mfloat128_): Likewise.
27351 [_Mlong_double_] (_Mlong_double_): Likewise.
27352 (_Mdouble_): Define without indirection through those macros.
27353 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
27354 not add -D_Mlong_double_=double.
27355 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
27356 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
27358 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27360 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
27362 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27364 * sysdeps/x86/libc-start.c: Reformat.
27366 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27369 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
27370 (1): Renamed to ...
27373 (L(Src2)): Likewise.
27374 (L(1)): Renamed to ...
27377 2017-10-30 Joseph Myers <joseph@codesourcery.com>
27379 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
27380 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
27381 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
27382 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
27383 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
27384 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
27385 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
27386 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
27387 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
27388 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
27389 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
27390 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
27391 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
27392 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
27393 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
27394 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
27395 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
27396 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
27397 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
27398 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
27399 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
27400 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
27401 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
27402 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
27403 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
27404 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
27405 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
27406 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
27407 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
27408 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
27409 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
27410 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
27411 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
27412 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
27413 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
27414 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
27415 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
27416 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
27417 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
27418 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
27419 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
27420 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
27421 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
27422 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
27423 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
27424 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
27425 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
27426 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
27427 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
27428 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
27429 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
27430 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
27431 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
27432 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
27433 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
27434 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
27435 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
27436 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
27437 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
27438 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
27439 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
27440 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
27441 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
27442 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
27443 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
27444 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
27446 2017-10-30 Florian Weimer <fweimer@redhat.com>
27448 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
27450 * io/tst-mkdirat.c (do_test): Likewise.
27451 * io/tst-mkfifoat.c (do_test): Likewise.
27452 * io/tst-mknodat.c (do_test): Likewise.
27453 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
27454 * locale/programs/locale.c (select_dirs): Likewise.
27455 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
27456 * posix/bug-glob2.c (my_readdir): Likewise.
27457 * posix/tst-dir.c (main): Likewise.
27458 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
27459 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
27461 2017-10-30 Florian Weimer <fweimer@redhat.com>
27463 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
27466 2017-10-30 Florian Weimer <fweimer@redhat.com>
27468 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
27469 Convert to support/test-driver.c.
27470 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
27471 New macro parameters.
27472 (PRINTF): Remove macro. Use test_verbose conditionals instead.
27473 * posix/tst-gnuglob.c: New file.
27474 * posix/tst-gnuglob64.c: Likewise.
27475 * posix/Makefile (tests): Add tst-gnuglob64.
27477 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
27480 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
27481 and use a better translation for March in “mon”.
27482 * localedata/locales/csb_PL: Use more ASCII to improve the
27483 readability of the source.
27485 2017-10-30 Mike FABIAN <mfabian@redhat.com>
27488 * localedata/locales/km_KH: Use ASCII as much
27489 as possible for better readability of the source and
27490 remove useless comments.
27491 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
27492 was commented out and apparently wrong anyway because it was
27493 using Lao characters. If Buddhist era should be used
27494 for km_KH, a native speaker should write the correct formaat
27496 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
27497 (According to CLDR, the first weekday for Cambodia is Sunday).
27498 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
27499 (These were using Lao characters which must be wrong. If we get
27500 the correct data from a native speaker, we could add it back, until
27501 then it is better not to have name_mr and name_mrs at all than
27504 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
27506 * locale/loadlocale.c: Correct size of
27507 _nl_value_type_LC_<category> arrays.
27509 2017-10-27 Joseph Myers <joseph@codesourcery.com>
27511 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27512 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
27513 with appropriate macros defined and undefined.
27514 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27515 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27516 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27517 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27518 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27520 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
27522 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
27525 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27527 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
27528 with lowercase letters to make it agree with CLDR.
27530 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27533 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
27534 first letters of yesstr and nostr in yesexpr and noexpr,
27535 not for the full words.
27536 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27537 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
27538 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
27539 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
27540 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
27541 first letters of yesstr and nostr in yesexpr and noexpr,
27542 until now only English was matched in yesexpr and noexpr.
27543 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
27544 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
27545 fil but not for tl. As tl and fil are very similar, using fil
27546 is probably better than using English.
27548 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
27551 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
27552 in yesstr and nostr.
27554 2017-10-26 Joseph Myers <joseph@codesourcery.com>
27556 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27557 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
27558 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
27560 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
27562 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
27564 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
27566 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27567 (SNANF128X): Likewise.
27569 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27570 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
27571 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27572 (HUGE_VAL_F32): Likewise.
27573 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27574 (HUGE_VAL_F64): Likewise.
27575 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27576 (HUGE_VAL_F32X): Likewise.
27577 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27578 (HUGE_VAL_F64X): Likewise.
27579 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27580 (HUGE_VAL_F128X): Likewise.
27582 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
27584 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
27585 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
27586 for the br_FR locale.
27588 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
27591 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
27593 2017-10-25 Carlos O'Donell <carlos@redhat.com>
27595 * locale/programs/record-status.h: Define globals, and function
27596 prototypes. Move function bodies...
27597 * locale/programs/record-status.c: ... to here. New file.
27598 * iconv/Makefile (iconv_prog-modules): Add record-status.
27599 * locale/Makefile (lib-modules): Likewise.
27600 * iconv/iconv_prog.c: Remove verbose.
27601 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
27602 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
27603 record a warning about ASCII compatibility.
27604 * locale/programs/ld-monetary.c (monetary_finish): If
27605 warn_int_curr_symbol is true then record a warning about the symbol
27606 not being in our ISO 4217 list.
27607 * locale/programs/locale.c: Include record-status.h. Remove verbose.
27608 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
27609 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
27610 (OPT_NO_WARN): Define.
27611 (OPT_WARN): Define.
27612 (options): Add entry for --no-warnings, and --warnings.
27613 (set_warnings): New function to enable/disable warnings.
27614 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
27615 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
27616 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
27617 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
27618 Pass flags to generate_locale.
27619 (generate_locale): Accept new flag argument and pass it to localedef
27621 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
27622 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
27624 * localedata/Makefile (test-input-data): Use full file name.
27625 * localedata/da_DK.in: Rename to...
27626 * localedata/da_DK.ISO-8859-1.in: ...this.
27627 * localedata/de_DE.in: Rename to...
27628 * localedata/de_DE.ISO-8859-1.in: ...this.
27629 * localedata/en_US.in: Rename to...
27630 * localedata/en_US.ISO-8859-1.in: ...this.
27631 * localedata/fr_FR.in: Rename to...
27632 * localedata/fr_FR.UTF-8.in: ... this.
27633 * localedata/hr_HR.in: Rename to...
27634 * localedata/hr_HR.ISO-8859-2.in: ...this.
27635 * localedata/hu_HU.in: Rename to...
27636 * localedata/hu_HU.UTF-8.in: ...this.
27637 * localedata/si_LK.in: Rename to...
27638 * localedata/si_LK.UTF-8.in: ...this.
27639 * localedata/sv_SE.in: Rename to...
27640 * localedata/sv_SE.ISO-8859-1.in: ...this.
27641 * localedata/tr_TR.in: Rename to...
27642 * localedata/tr_TR.UTF-8.in: ...this.
27643 * localedata/uk_UA.in: Rename to...
27644 * localedata/uk_UA.UTF-8.in: ...this.
27645 * localedata/sort-test.sh: Test file is locale name with the
27648 * localedata/unicode-gen/Makefile (check_i18n): Rename to
27649 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
27651 * localedata/locales/i18n_ctype: Regenerate.
27652 * localedata/locales/tr_TR: Likewise.
27653 * localedata/locales/translit_circle: Likewise.
27654 * localedata/locales/translit_cjk_compat: Likewise.
27655 * localedata/locales/translit_combining: Likewise.
27656 * localedata/locales/translit_compat: Likewise.
27657 * localedata/locales/translit_font: Likewise.
27658 * localedata/locales/translit_fraction: Likewise.
27660 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27662 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
27663 lxvd2x/stxvd2x with lvx/stvx.
27664 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
27666 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
27668 * include/alloc_buffer.h: Replace "if if " with "if " in
27670 * sysdeps/mips/memcpy.S: Likkewise.
27671 * sysdeps/mips/memset.S: Likewise.
27672 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
27674 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
27676 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
27679 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27682 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
27683 yesexpr and noexpr.
27684 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27685 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27686 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27687 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27688 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27689 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27690 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27692 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27694 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
27695 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27696 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27697 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27698 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27699 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
27700 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27701 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27702 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27703 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27704 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27705 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27707 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27709 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
27710 as possible for better readability of the source.
27711 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
27712 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
27713 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
27714 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
27715 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
27716 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
27717 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
27718 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
27719 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27720 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
27721 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
27722 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
27723 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
27724 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
27725 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
27726 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
27727 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
27728 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
27729 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
27730 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
27731 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
27732 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
27733 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
27734 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
27735 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
27736 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
27737 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
27738 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
27739 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
27740 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
27741 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
27742 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27743 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
27744 * localedata/locales/en_US (LC_MESSAGES): Likewise.
27745 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
27746 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
27747 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
27748 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
27749 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
27750 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
27751 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
27752 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
27753 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
27754 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
27755 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
27756 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
27757 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
27758 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
27759 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
27760 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
27761 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
27762 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
27763 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
27764 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27765 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27766 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
27767 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
27768 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27769 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
27770 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
27771 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
27772 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
27773 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
27774 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
27775 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
27776 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
27777 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
27778 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
27779 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
27780 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
27781 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
27782 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
27783 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
27784 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
27785 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27786 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
27787 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
27788 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
27789 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
27790 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
27791 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
27792 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
27793 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
27794 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27795 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
27796 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
27797 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
27798 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27799 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
27800 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
27801 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
27802 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
27803 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27804 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
27805 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
27806 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27807 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
27808 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27809 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
27810 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
27811 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
27812 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
27813 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
27814 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
27815 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
27816 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
27817 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
27818 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
27819 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
27820 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
27821 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
27822 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
27823 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27824 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
27825 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
27826 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
27827 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
27828 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
27829 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
27830 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
27831 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
27832 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
27833 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
27834 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
27835 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
27836 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
27837 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
27838 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
27839 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
27840 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
27841 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
27842 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
27843 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
27844 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
27845 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
27846 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
27847 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
27848 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
27849 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
27850 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
27851 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
27852 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
27853 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
27854 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
27855 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
27856 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27857 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
27858 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
27859 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
27860 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
27861 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
27862 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
27863 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
27864 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
27865 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27866 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
27867 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
27868 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
27869 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
27870 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
27871 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
27872 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
27873 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
27874 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
27875 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
27876 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27877 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
27878 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
27879 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
27880 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
27881 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27882 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27883 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27884 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
27886 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27888 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
27889 (Use first letters of yesstr and nostr correctly instead of using
27892 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27894 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
27895 (Use first letters of yesstr and nostr correctly).
27897 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27899 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
27900 also check for the first characters of yesstr and nostr.
27901 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
27902 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
27904 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27906 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
27907 also check for Chinese characters.
27909 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27911 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
27912 match also for the contents of yesstr and nostr. As the first letter
27913 of yesstr and nostr is equal, checking only for the first letter
27916 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27918 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
27919 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
27921 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27923 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
27924 of main contributor.
27926 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27928 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
27929 instead of using English.
27931 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27933 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
27934 by including the first letters of nostr and yesexpr in the regexp.
27935 Also make it more readable by using ASCII where possible.
27937 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27939 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
27940 the first letter of nostr in the regexp. It agrees with CLDR now.
27941 Also make it more readable by using ASCII where possible.
27943 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27945 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
27946 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
27947 these strings contain a U+17D6 (which somewhat looks like a colon)
27948 instead of a real colon to separate the full words for “yes”
27949 and “no” from the single letter responses.
27951 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27953 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
27954 it agree with CLDR (include the first letter of yesstr).
27955 Also make it more readable by using ASCII where possible.
27957 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27959 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
27960 and improve yesexpr and noexpr. The yesstr and nostr apparently
27961 came from CLDR. And CLDR has a bug there: these strings contain
27962 a U+0903 (which looks like a colon) instead of a real colon
27963 to separate the full words for “yes” and “no” from the single
27966 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27968 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
27969 letters of the full yesstr and nostr in yesexpr and noexpr.
27971 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27973 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
27974 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
27975 * localedata/locales/an_ES: Make source more readable by using ASCII
27978 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27981 * localedata/locales/yuw_PG: New file.
27982 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
27983 * locale/iso-639.def: Add Yau (Uruwa).
27985 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27987 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
27989 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27991 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
27992 (__libc_realloc): Likewise.
27993 (_mid_memalign): Likewise.
27994 (__libc_calloc): Likewise.
27996 2017-10-23 Mike FABIAN <mfabian@redhat.com>
27998 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
27999 by adding the generic +1 and -0 as in all other locales.
28000 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
28001 day names and make it more readable by using ASCII where possible.
28003 2017-10-24 Joseph Myers <joseph@codesourcery.com>
28005 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
28006 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
28008 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28010 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
28011 WNOHANG in waitpid call.
28013 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
28015 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
28016 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
28018 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
28019 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
28020 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
28021 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
28022 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
28023 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
28024 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
28025 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
28028 2017-10-23 Michael Collison <michael.collison@arm.com>
28030 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
28031 with __builtin_sqrt.
28032 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
28033 with __builtin_sqrtf.
28034 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
28035 with __builtin_ceil.
28036 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
28037 with __builtin_ceilf.
28038 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
28039 with __builtin_floor.
28040 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
28041 with __builtin_floorf.
28042 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
28043 with __builtin_fma.
28044 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
28045 with __builtin_fmaf.
28046 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
28047 with __builtin_fmax.
28048 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
28049 with __builtin_fmaxf.
28050 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
28051 with __builtin_fmin.
28052 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
28053 with __builtin_fminf.
28054 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
28055 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
28056 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
28057 with builtin_rint and conversion to int.
28058 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
28059 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
28060 with builtin_llround.
28061 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
28062 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
28063 with builtin_rint and conversion to long int.
28064 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
28065 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
28066 with builtin_lround.
28067 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
28068 with builtin_lroundf.
28069 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
28070 statements with __builtin_nearbyint.
28071 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
28072 statements with __builtin_nearbyintf.
28073 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
28074 with __builtin_rint.
28075 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
28076 with __builtin_rintf.
28077 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
28078 with __builtin_round.
28079 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
28080 with __builtin_roundf.
28081 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
28082 with __builtin_trunc.
28083 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
28084 with __builtin_truncf.
28085 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
28086 and s_l[l]round[f].c too.
28088 2017-10-23 Alan Modra <amodra@gmail.com>
28090 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
28091 Adjust stack after restoring regs. Add missing LR cfi_restore.
28093 2017-10-23 Alan Modra <amodra@gmail.com>
28095 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
28096 Move LR save and frame setup/teardown and LR restore to
28097 immediately around memset call. Provide cfi.
28099 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28101 * sysdeps/i386/fpu/e_powf.S: Removed.
28102 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
28103 * sysdeps/i386/fpu/w_powf.c: Likewise.
28104 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
28105 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28106 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28108 (CFLAGS-e_powf-sse2.c): New.
28109 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
28110 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
28112 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28114 * sysdeps/i386/fpu/e_log2f.S: Removed.
28115 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
28116 * sysdeps/i386/fpu/w_log2f.c: Likewise.
28117 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
28118 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28119 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28121 (CFLAGS-e_log2f-sse2.c): New.
28122 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
28123 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
28125 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28127 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28129 (CFLAGS-e_powf-fma.c): New.
28130 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
28131 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
28133 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28135 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28137 (CFLAGS-e_log2f-fma.c): New.
28138 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
28139 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
28141 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28143 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28145 (CFLAGS-e_logf-fma.c): New.
28146 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
28147 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
28149 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28151 * sysdeps/i386/fpu/e_logf.S: Removed.
28152 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
28153 * sysdeps/i386/fpu/w_logf.c: Likewise.
28154 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
28155 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
28156 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28157 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28159 (CFLAGS-e_logf-sse2.c): New.
28160 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
28161 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
28163 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28165 * sysdeps/i386/fpu/e_exp2f.S: Removed.
28166 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
28167 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
28168 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28169 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28171 (CFLAGS-e_exp2f-sse2.c): New.
28172 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
28173 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
28175 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28177 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28179 (CFLAGS-e_exp2f-fma.c): New.
28180 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
28181 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
28183 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28185 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
28186 * sysdeps/i386/fpu/e_expf.S: Likewise.
28187 * sysdeps/i386/fpu/math_errf.c: Likewise.
28188 * sysdeps/i386/fpu/w_expf.c: Likewise.
28189 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
28190 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28191 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
28192 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
28193 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28194 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28195 Remove e_expf-ia32.
28196 (CFLAGS-e_expf-sse2.c): New.
28197 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
28198 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
28200 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28202 * sysdeps/x86_64/fpu/e_expf.S: Removed.
28203 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
28204 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
28205 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
28207 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
28209 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
28210 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28212 (__redirect_expf): This.
28213 (SYMBOL_NAME): Changed to expf.
28214 (__ieee754_expf): Renamed to ...
28216 (__GI___expf): This.
28217 (__ieee754_expf): Add strong_alias.
28218 (__expf_finite): Likewise.
28220 Include <sysdeps/ieee754/flt-32/e_expf.c>.
28222 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
28225 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
28228 2017-10-21 Florian Weimer <fweimer@redhat.com>
28230 * posix/Makefile (tests): Add tst-glob-tilde.
28231 (tests-special): Add tst-glob-tilde-mem.out
28232 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
28233 (tst-glob-tilde-mem.out): Add mtrace check.
28234 * posix/tst-glob-tilde.c: New file.
28236 2017-10-20 Joseph Myers <joseph@codesourcery.com>
28238 * bits/floatn-common.h: New file.
28239 * math/Makefile (headers): Add bits/floatn-common.h.
28240 * bits/floatn.h: Include <bits/floatn-common.h>.
28241 * sysdeps/ia64/bits/floatn.h: Likewise.
28242 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28243 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
28244 * sysdeps/powerpc/bits/floatn.h: Likewise.
28245 * sysdeps/x86/bits/floatn.h: Likewise.
28247 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28249 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
28250 indicates whether compiler emits an warning for alias for
28251 functions with incompatible types.
28254 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
28255 the auxiliary process is terminated by a signal before calling _exit
28258 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28261 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
28263 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
28264 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
28265 and bit_arch_XSAVEC_Usable if needed.
28266 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
28267 and bit_arch_Use_dl_runtime_resolve_opt.
28268 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
28270 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
28271 (bit_arch_Prefer_No_AVX512): Updated.
28272 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
28273 (bit_arch_XSAVEC_Usable): New.
28274 (STATE_SAVE_OFFSET): Likewise.
28275 (STATE_SAVE_MASK): Likewise.
28276 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
28277 (cpu_features): Add xsave_state_size and xsave_state_full_size.
28278 (index_arch_Use_dl_runtime_resolve_opt): Removed.
28279 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
28280 (index_arch_XSAVEC_Usable): New.
28281 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28282 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
28283 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
28285 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
28286 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
28287 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
28288 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
28289 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
28290 _dl_runtime_resolve_xsavec.
28291 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
28293 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
28294 instead of VEC_SIZE.
28295 (REGISTER_SAVE_BND0): Removed.
28296 (REGISTER_SAVE_BND1): Likewise.
28297 (REGISTER_SAVE_BND3): Likewise.
28298 (REGISTER_SAVE_RAX): Always defined to 0.
28300 (_dl_runtime_resolve_avx): Likewise.
28301 (_dl_runtime_resolve_avx_slow): Likewise.
28302 (_dl_runtime_resolve_avx_opt): Likewise.
28303 (_dl_runtime_resolve_avx512): Likewise.
28304 (_dl_runtime_resolve_avx512_opt): Likewise.
28305 (_dl_runtime_resolve_sse): Likewise.
28306 (_dl_runtime_resolve_sse_vex): Likewise.
28308 (_dl_runtime_resolve_fxsave): Likewise.
28309 (USE_XSAVE): Likewise.
28310 (_dl_runtime_resolve_xsave): Likewise.
28311 (USE_XSAVEC): Likewise.
28312 (_dl_runtime_resolve_xsavec): Likewise.
28313 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
28315 (_dl_runtime_resolve_avx512_opt): Likewise.
28316 (_dl_runtime_resolve_avx): Likewise.
28317 (_dl_runtime_resolve_avx_opt): Likewise.
28318 (_dl_runtime_resolve_sse): Likewise.
28319 (_dl_runtime_resolve_sse_vex): Likewise.
28320 (_dl_runtime_resolve_fxsave): New.
28321 (_dl_runtime_resolve_xsave): Likewise.
28322 (_dl_runtime_resolve_xsavec): Likewise.
28324 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
28328 * posix/glob.c (__glob): Fix one-byte overflow.
28330 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28332 * malloc/malloc.c (sysdep-cancel.h): Add include.
28334 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28336 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
28338 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
28340 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
28341 (tests): Remove $(objpfx)ga_test depdendency.
28342 * resolv/ga_test.c: Remove file.
28344 2017-10-20 Mike FABIAN <mfabian@redhat.com>
28347 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
28348 * localedata/locales/kab_DZ: New file.
28350 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28352 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
28353 _dl_relocate_static_pie instead of _dl_start to compute load
28354 address in static PIE.
28356 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28358 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
28360 2017-10-20 Mike FABIAN <mfabian@redhat.com>
28363 * localedata/SUPPORTED: Add shn_MM/UTF-8.
28364 * localedata/locales/shn_MM: New file.
28366 2017-10-20 Florian Weimer <fweimer@redhat.com>
28369 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
28370 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
28371 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
28372 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
28373 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
28374 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
28376 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
28378 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28380 2017-10-19 Joseph Myers <joseph@codesourcery.com>
28382 * sysdeps/mips/ieee754/bits/floatn.h: New file.
28385 * sysdeps/mips/bits/long-double.h: Move to ....
28386 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
28388 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
28390 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
28392 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
28393 H.J. Lu <hongjiu.lu@intel.com>
28396 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
28397 GLRO(dl_platform) to NULL.
28398 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
28399 (modules-names): Add tst-platformmod-1 and
28400 x86_64/tst-platformmod-2.
28401 (CFLAGS-tst-platform-1.c): New.
28402 (CFLAGS-tst-platformmod-1.c): Likewise.
28403 (CFLAGS-tst-platformmod-2.c): Likewise.
28404 (LDFLAGS-tst-platformmod-2.so): Likewise.
28405 ($(objpfx)tst-platform-1): Likewise.
28406 ($(objpfx)tst-platform-1.out): Likewise.
28407 (tst-platform-1-ENV): Likewise.
28408 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
28409 * sysdeps/x86_64/tst-platform-1.c: New file.
28410 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
28411 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
28413 2017-10-19 Mike FABIAN <mfabian@redhat.com>
28416 * locale/iso-639.def: Add Karbi.
28417 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
28418 * localedata/locales/mjw_IN: New file.
28420 2017-10-18 Joseph Myers <joseph@codesourcery.com>
28422 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
28423 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28424 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
28425 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
28426 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28427 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28428 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
28430 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28431 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28432 * manual/math.texi (Mathematics): Document additional architecture
28433 support for _Float128.
28434 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
28435 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
28436 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28437 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28438 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28439 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28440 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28441 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28442 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28443 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28444 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28445 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28446 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28447 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28448 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28450 2017-10-18 Renlin Li <renlin.li@arm.com>
28452 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
28453 _DYNAMIC symbol to calculate load address.
28455 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
28457 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
28458 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
28460 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
28461 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
28463 2017-10-18 Mike FABIAN <mfabian@redhat.com>
28466 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
28467 and improve readability by using more ASCII.
28468 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
28469 and improve readability by using more ASCII.
28471 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
28473 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
28474 not all targets support atomics on bool.
28476 2017-10-17 Joseph Myers <joseph@codesourcery.com>
28478 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
28479 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
28481 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28482 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
28483 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28484 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
28485 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28486 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
28488 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28490 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
28493 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28496 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
28497 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
28498 (do_check_remalloced_chunk): Fix build bug.
28499 (do_check_malloc_state): Add assert that checks arena->top.
28500 (malloc_consolidate): Remove initialization.
28501 (int_mallinfo): Remove call to malloc_consolidate.
28502 (__libc_mallopt): Clarify why malloc_consolidate is needed.
28504 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28506 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
28507 (have_fastchunks): Remove.
28508 (clear_fastchunks): Remove.
28509 (set_fastchunks): Remove.
28510 (malloc_state): Add have_fastchunks.
28511 (malloc_init_state): Use have_fastchunks.
28512 (do_check_malloc_state): Remove incorrect invariant checks.
28513 (_int_malloc): Use have_fastchunks.
28514 (_int_free): Likewise.
28515 (malloc_consolidate): Likewise.
28517 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28519 * malloc/malloc.c (tcache_put): Inline.
28520 (tcache_get): Inline.
28522 2017-10-17 Jordi Mallach <jordi@gnu.org>
28524 Aurelien Jarno <aurelien@aurel32.net>
28526 * localedata/locales/ca_ES@valencia: New file.
28527 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
28529 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
28532 * math/math.h: Let signbit use the builtin in C++ mode with gcc
28535 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28537 * scripts/build-many-glibcs.py (Context.add_all_configs):
28538 Add arm-linux-gnueabihf multiarch extra_glibcs.
28540 * sysdeps/generic/ifunc-init.h: New file.
28541 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
28543 2017-10-17 Mike FABIAN <mfabian@redhat.com>
28546 * localedata/locales/el_GR: Set n_cs_precedes to 0.
28547 * localedata/locales/el_CY: copy "el_GR" because it is identical.
28548 * stdlib/tst-strfmon_l.c: adapt test case.
28550 2017-10-16 Joseph Myers <joseph@codesourcery.com>
28552 * sysdeps/generic/float128-abi.h: New file.
28553 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
28554 non-__prefixed symbols to ....
28555 * math/Versions: ... here. Include <float128-abi.h>.
28556 * stdlib/Versions ... and here. Include <float128-abi.h>
28558 2017-10-16 Florian Weimer <fweimer@redhat.com>
28560 * version.h (VERSION): Switch to ".9000" as the development
28563 2017-10-16 Florian Weimer <fweimer@redhat.com>
28566 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
28567 compat_symbol_reference to access non-default version.
28569 2017-10-16 Florian Weimer <fweimer@redhat.com>
28571 * malloc/Makefile (others-extras): Set to mcheck-init.o.
28573 2017-10-16 Carlos O'Donell <carlos@redhat.com>
28575 * include/shlib-compat.h (compat_symbol_reference): Update
28578 2017-10-16 Joseph Myers <joseph@codesourcery.com>
28580 * math/Makefile (test-types): Add
28581 $(type-float128-$(float128-alias-fcts)).
28582 * math/test-float128.h (TYPE_STR): Define conditional on
28583 [FLT128_MANT_DIG == LDBL_MANT_DIG].
28584 (ULP_IDX): Likewise.
28585 (ULP_I_IDX): Likewise.
28587 * stdlib/strtold.c: Include <bits/floatn.h>
28588 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
28589 and later undefine as macro. Define as weak alias if
28591 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
28592 and later undefine as macro. Define as weak alias if
28594 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
28595 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
28596 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
28597 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28598 Define and later undefine as macro. Define as weak alias if
28600 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
28602 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
28603 Define and later undefine as macro. Define as weak alias if
28605 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28606 Define and later undefine as macro. Define as weak alias if
28609 2017-10-15 Carlos O'Donell <carlos@redhat.com>
28611 * localedata/collate-test.c (allocate_arrays): Don't use \n in
28612 record_verbose messages.
28614 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
28617 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
28618 to silence -O3 -Wall warning with GCC 7.
28620 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
28622 * Makeconfig (+link-static-before-libc): Use the first of
28623 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
28624 * gmon/Makefile (tests): Add tst-gmon-static.
28625 (tests-static): Likewise.
28626 (CFLAGS-tst-gmon-static.c): New.
28627 (CRT-tst-gmon-static): Likewise.
28628 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
28629 (tst-gmon-static-ENV): Likewise.
28630 (tests-special): Likewise.
28631 ($(objpfx)tst-gmon-static.out): Likewise.
28632 (clean-tst-gmon-static-data): Likewise.
28633 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
28634 * gmon/tst-gmon-static-gprof.sh: New file.
28635 * gmon/tst-gmon-static.c: Likewise.
28637 2017-10-13 Carlos O'Donell <carlos@redhat.com>
28640 * locale/programs/linereader.c (get_string): Don't warn on
28641 non-symbolic character.
28644 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
28648 * locale/programs/record-status.h: New file
28649 * locale/programs/locale.c: Add comment.
28650 * locale/programs/charmap-dir.c: Don't include error.h.
28651 (charmap_opendir): Use record_error.
28652 * locale/programs/charmap.c: Don't include error.h.
28653 (charmap_read): Use record_error, and record_warning.
28654 (parse_charmap): Likewise.
28655 * locale/programs/ld-address.c: Don't include error.h.
28656 (address_finish): Use record_error, and record_warning.
28657 * locale/programs/ld-collate.c: Don't include error.h.
28658 (collate_finish): Use record_error, and record_error_at_line.
28659 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
28660 (ctype_class_new): Likewise.
28661 (ctype_map_new): Likewise.
28662 (set_one_default): Likewise.
28663 (set_class_defaults): Likewise.
28664 (translit_flatten): Likewise.
28665 (allocate_arrays): Use record_error, and record_verbose.
28666 * locale/programs/ld-identification.c: Don't include error.h.
28667 (indentation_finish): Use record_error and record_warning.
28668 * locale/programs/ld-measurement.c: Don't include error.h.
28669 (measurement_finish): Use record_error.
28670 * locale/programs/ld-messages.c
28671 (message_finish): Likewise.
28672 * locale/programs/ld-monetary.c
28673 (monetary_finish): Likewise.
28674 * locale/programs/ld-name.c (name_finish): Use record_error
28675 and record_warning.
28676 * locale/programs/ld-numeric.c
28677 (numeric_finish): Use record_error.
28678 * locale/programs/ld-paper.c: Don't include error.h.
28679 (paper_finish): Use record_error.
28680 * locale/programs/ld-telephone.c: Don't include error.h.
28681 (telephone_finish): Use record_error.
28682 * locale/programs/ld-time.c (time_finish): Likewise.
28683 * locale/programs/linereader.h (lr_error): Make inline func.
28684 * locale/programs/localedef.c: Define recorded_warning_count,
28685 and recorded_error_count.
28686 (main): Use record_error. Use recorded_error_count and
28687 recorded_warning_count to issue correct error returns.
28688 (add_to_readlist): Use record_error.
28689 (find_locale): Likewise.
28690 (load_locale): Likewise.
28691 * locale/programs/localedef.h: Remove be_quiet
28692 and WITH_CUR_LOCALE.
28693 * locale/programs/locarchive.c (compare_from_file): Use
28695 * locale/programs/locfile.c (write_locale_data): Use
28697 * locale/programs/repertoire.c: Dont include error.h.
28698 (repertoire_complain): Use record_error.
28699 * localedata/tst-fmon.sh: Expect failures from localedef.
28700 * localedata/tst-locale.sh: Likewise.
28701 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
28703 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
28704 (REPORTS): Likewise.
28706 (i18n): Rename to...
28707 (i18n_ctype): ...this.
28708 (i18n-report): Rename to...
28709 (i18n_ctype-report): ...this.
28710 * localedata/locales/i18n_ctype: Regenerate.
28711 * localedata/locales/i18n: copy i18n_ctype.
28713 2017-10-13 Joseph Myers <joseph@codesourcery.com>
28715 * stdlib/strfroml.c: Include <bits/floatn.h>.
28716 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
28717 Define before include of <stdlib.h> and undefine afterwards, then
28718 define as weak alias.
28720 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
28721 Undefine and restore default definition. Use
28722 libm_alias_ldouble_other.
28724 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
28727 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
28730 2017-10-13 James Clarke <jrtc27@jrtc27.com>
28732 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28733 Assign sym_map to be map for local symbols, as TLS relocations
28734 use sym_map to determine whether the symbol is defined and to
28735 extract the TLS information.
28736 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28737 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28739 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28742 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
28743 (math_force_eval): Add powerpc version.
28746 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
28748 (do_test): Likewise.
28749 * stdio-common/tst-printf.sh: Likewise.
28750 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
28751 ifdef clause in order to set the carry bit right. Replace r0 by
28752 0 without changing the behavior.
28754 2017-10-13 Joseph Myers <joseph@codesourcery.com>
28756 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
28757 <libm-alias-ldouble.h>.
28758 (fabsl): Define using libm_alias_ldouble.
28759 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
28760 <libm-alias-ldouble.h>.
28761 (fabsl): Define using libm_alias_ldouble.
28763 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
28764 Remove conditional code.
28766 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
28767 Rename to __clog10_internal_l.
28768 (__clog10_internal_l): Define aliases using
28769 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
28772 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28774 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
28775 * benchtests/sincosf-inputs: New file.
28776 * benchtests/cosf-inputs: New file.
28777 * benchtests/sinf-inputs: New file.
28779 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
28781 * posix/tst-spawn.c (do_test): Wait for both children.
28783 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
28786 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
28787 tests-pie): Add tst-gmon-pie.
28788 (CFLAGS-tst-gmon-pie.c): New.
28789 (CRT-tst-gmon-pie): Likewise.
28790 (tst-gmon-pie-ENV): Likewise.
28791 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
28792 ($(objpfx)tst-gmon-pie.out): Likewise.
28793 (clean-tst-gmon-pie-data): Likewise.
28794 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
28795 * gmon/gmon.c [PIC]: Include <link.h>.
28796 [PIC] (callback): New function.
28797 (write_hist): Add an argument for load address. Subtract load
28799 (write_call_graph): Likewise.
28800 (write_gmon): Call __dl_iterate_phdr to get load address, pass
28801 it to write_hist and write_call_graph.
28802 * gmon/tst-gmon-pie.c: New file.
28804 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28806 * math/Makefile (test-types-basic): New variable.
28807 (test-types): Likewise.
28808 (libm-test-support): Use $(test-types) instead of $(types).
28809 (libm-tests-base-normal): Likewise.
28810 (libm-tests-base-finite): Likewise.
28811 (libm-tests-base-inline): Likewise.
28812 (generated): Likewise.
28813 ($(objpfx)libm-test-support-$(t).c): Likewise.
28814 (libm-tests-for-type iterator): Likewise.
28815 (libm-test-support iterator): Likewise.
28816 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
28817 (ulp_idx): Use ULP_IDX.
28818 * math/test-ldouble.h: Include <float.h>.
28819 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
28820 (ULP_IDX): New macro.
28821 (ULP_I_IDX): Likewise.
28822 * math/test-double.h (ULP_IDX): Likewise.
28823 (ULP_I_IDX): Likewise.
28824 * math/test-float.h (ULP_IDX): Likewise.
28825 (ULP_I_IDX): Likewise.
28826 * math/test-float128.h (ULP_IDX): Likewise.
28827 (ULP_I_IDX): Likewise.
28829 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28831 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
28832 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28833 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28834 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
28835 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28836 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
28837 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
28838 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28839 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28840 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28841 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
28842 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28843 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28844 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28845 (SINGLE_THREAD_BY_GLOBAL): Define.
28846 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28848 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28850 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28852 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28854 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
28855 (SINGLE_THREAD_BY_GLOBAL): Likewise.
28856 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28859 2017-10-11 Andreas Schwab <schwab@suse.de>
28861 * nis/Makefile (aux): Remove.
28862 * nscd/Makefile (aux): Add nscd_hash.
28863 (nscd-modules): Likewise.
28864 ($(objpfx)nscd): Don't depend on libnsl.
28865 * nscd/nscd_hash.c: New file.
28866 * nscd/nscd_hash.h: Likewise.
28867 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
28868 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
28869 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
28870 instead of <nis/rpcsvc/nis.h>.
28871 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
28873 2017-10-11 Florian Weimer <fweimer@redhat.com>
28876 Avoid large NSS buffers with many addresses, aliases.
28877 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
28878 using dynarrays and struct alloc_buffer.
28879 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
28880 (tst-nss-files-hosts-multi): Link with -ldl.
28881 * nss/tst-nss-files-hosts-multi.c: New file.
28883 2017-10-11 Florian Weimer <fweimer@redhat.com>
28886 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
28887 scratch_buffer. Eliminate gotos.
28889 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28891 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
28892 libm_alias_ldouble_other.
28893 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
28894 undefine and redefine.
28895 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28896 (exp10l): Do not define here.
28897 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
28898 (weak_alias): Undefine and redefine.
28899 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
28900 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28901 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
28902 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
28904 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
28905 [!__fma] (fma): Define using libm_alias_double.
28906 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
28907 [!__fmaf] (fmaf): Define using libm_alias_float.
28908 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
28909 (fmal): Define using libm_alias_ldouble.
28911 2017-10-10 Joseph Myers <joseph@codesourcery.com>
28913 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
28915 (libm_alias_double_other): Likewise.
28916 (libm_alias_double_r): Use libm_alias_double_other_r.
28917 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
28919 (libm_alias_float_other): Likewise.
28920 (libm_alias_float_r): Use libm_alias_float_other_r.
28921 * sysdeps/generic/libm-alias-float128.h
28922 (libm_alias_float128_other_r): New macro.
28923 (libm_alias_float128_other): Likewise.
28924 (libm_alias_float128_r): Use libm_alias_float128_other_r.
28925 * sysdeps/generic/libm-alias-ldouble.h
28926 (libm_alias_ldouble_other_r): New macro.
28927 (libm_alias_ldouble_other): Likewise.
28928 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28929 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
28930 (libm_alias_double_other_r): New macro.
28931 (libm_alias_double_other): Likewise.
28932 (libm_alias_double_r): Use libm_alias_double_other_r.
28933 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
28934 (libm_alias_ldouble_other_r): New macro.
28935 (libm_alias_ldouble_other): Likewise.
28936 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28937 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
28938 [!USE_AS_COMPAT]: Use libm_alias_double_other.
28939 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
28940 [!USE_AS_COMPAT]: Use libm_alias_float_other.
28941 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
28942 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
28943 * math/w_exp2f.c: Use libm_alias_float_other.
28944 * math/w_expf.c: Likewise.
28945 * math/w_log2f.c: Likewise.
28946 * math/w_logf.c: Likewise.
28947 * math/w_powf.c: Likewise.
28948 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
28949 [!__exp2f]: Use libm_alias_float_other.
28950 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
28951 [!__expf]: Use libm_alias_float_other.
28952 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
28953 [!__log2f]: Use libm_alias_float_other.
28954 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
28955 [!__logf]: Use libm_alias_float_other.
28956 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
28957 [!__powf]: Use libm_alias_float_other.
28959 2017-10-10 Florian Weimer <fweimer@redhat.com>
28961 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
28963 (_nss_files_gethostbyname3_r): Call it.
28965 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28967 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
28968 error. Remove default definition of declare_mgen_alias.
28969 [!declare_mgen_alias_r]: Likewise.
28970 * sysdeps/generic/math-type-macros-double.h
28971 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
28972 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
28973 (declare_mgen_alias_r): Likewise.
28974 * sysdeps/generic/math-type-macros-float128.h
28975 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28976 * sysdeps/generic/math-type-macros-ldouble.h
28977 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28978 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
28980 (declare_mgen_alias_r_s): Likewise.
28981 (declare_mgen_alias_r): Likewise.
28982 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
28983 (lgamma_r): Define using libm_alias_double_r.
28984 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
28985 (lgammaf_r): Define using libm_alias_float_r.
28986 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
28987 (lgammal_r): Define using libm_alias_ldouble_r.
28988 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
28989 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28991 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28993 * lib/glob.c (__glob_pattern_type): Remove now-spurious
28994 extern declaration.
28996 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28998 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
29000 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
29003 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
29004 [__cplusplus >= 201103] (__USE_ISOC99): Define.
29005 * math/Makefile (test-math-cxx11): New test.
29006 * math/test-math-cxx11.cc: New file.
29008 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
29010 * login/openpty.c (openpty): Close slave pty file descriptor on error.
29012 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
29013 call to allocate the slave pty file descriptor.
29015 2017-10-06 Joseph Myers <joseph@codesourcery.com>
29017 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
29018 [!__fma] (fma): Define using libm_alias_double.
29019 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
29020 [!__fma] (fma): Define using libm_alias_double.
29022 * sysdeps/ieee754/float128/float128_private.h: Include
29023 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
29024 (libm_alias_ldouble_r): Undefine and redefine.
29025 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
29026 <libm-alias-ldouble.h>.
29027 (asinhl): Define using libm_alias_ldouble.
29028 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
29029 <libm-alias-ldouble.h>.
29030 (atanl): Define using libm_alias_ldouble.
29031 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
29032 <libm-alias-ldouble.h>.
29033 (cbrtl): Define using libm_alias_ldouble.
29034 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
29035 <libm-alias-ldouble.h>.
29036 (ceill): Define using libm_alias_ldouble.
29037 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
29038 <libm-alias-ldouble.h>.
29039 (copysignl): Define using libm_alias_ldouble.
29040 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
29041 <libm-alias-ldouble.h>.
29042 (cosl): Define using libm_alias_ldouble.
29043 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
29044 <libm-alias-ldouble.h>.
29045 (erfl): Define using libm_alias_ldouble.
29047 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
29048 <libm-alias-ldouble.h>.
29049 (expm1l): Define using libm_alias_ldouble.
29050 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
29051 <libm-alias-ldouble.h>.
29052 (fabsl): Define using libm_alias_ldouble.
29053 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
29054 <libm-alias-ldouble.h>.
29055 (floorl): Define using libm_alias_ldouble.
29056 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
29057 <libm-alias-ldouble.h>.
29058 (fmal): Define using libm_alias_ldouble.
29059 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
29060 <libm-alias-ldouble.h>.
29061 (frexpl): Define using libm_alias_ldouble.
29062 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
29063 libm_alias_ldouble.
29064 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
29065 <libm-alias-ldouble.h>.
29066 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
29067 libm_alias_ldouble.
29068 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
29069 <libm-alias-ldouble.h>.
29070 (getpayloadl): Define using libm_alias_ldouble.
29071 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
29072 <libm-alias-ldouble.h>.
29073 (llrintl): Define using libm_alias_ldouble.
29074 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
29075 <libm-alias-ldouble.h>.
29076 (llroundl): Define using libm_alias_ldouble.
29077 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
29078 <libm-alias-ldouble.h>.
29079 (logbl): Define using libm_alias_ldouble.
29080 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
29081 <libm-alias-ldouble.h>.
29082 (lrintl): Define using libm_alias_ldouble.
29083 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
29084 <libm-alias-ldouble.h>.
29085 (lroundl): Define using libm_alias_ldouble.
29086 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
29087 <libm-alias-ldouble.h>.
29088 (modfl): Define using libm_alias_ldouble.
29089 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
29090 <libm-alias-ldouble.h>.
29091 (nearbyintl): Define using libm_alias_ldouble.
29092 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
29093 <libm-alias-ldouble.h>.
29094 (nextafterl): Define using libm_alias_ldouble.
29095 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
29096 <libm-alias-ldouble.h>.
29097 (nextupl): Define using libm_alias_ldouble.
29098 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
29099 <libm-alias-ldouble.h>.
29100 (remquol): Define using libm_alias_ldouble.
29101 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
29102 <libm-alias-ldouble.h>.
29103 (rintl): Define using libm_alias_ldouble.
29104 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
29105 <libm-alias-ldouble.h>.
29106 (roundevenl): Define using libm_alias_ldouble.
29107 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
29108 <libm-alias-ldouble.h>.
29109 (roundl): Define using libm_alias_ldouble.
29110 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
29111 using libm_alias_ldouble.
29112 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
29113 <libm-alias-ldouble.h>.
29114 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
29115 Define using libm_alias_ldouble.
29116 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
29117 <libm-alias-ldouble.h>.
29118 (sincosl): Define using libm_alias_ldouble.
29119 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
29120 <libm-alias-ldouble.h>.
29121 (sinl): Define using libm_alias_ldouble.
29122 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
29123 <libm-alias-ldouble.h>.
29124 (tanhl): Define using libm_alias_ldouble.
29125 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
29126 <libm-alias-ldouble.h>.
29127 (tanl): Define using libm_alias_ldouble.
29128 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
29129 <libm-alias-ldouble.h>.
29130 (totalorderl): Define using libm_alias_ldouble.
29131 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
29132 <libm-alias-ldouble.h>.
29133 (totalordermagl): Define using libm_alias_ldouble.
29134 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
29135 <libm-alias-ldouble.h>.
29136 (truncl): Define using libm_alias_ldouble.
29137 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
29138 libm_alias_ldouble.
29139 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
29140 libm_alias_ldouble.
29141 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
29142 <libm-alias-ldouble.h>.
29143 (weak_alias): Do not undefine and redefine.
29144 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29145 (copysignl): Define with long_double_symbol only if [IS_IN
29147 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
29148 <libm-alias-ldouble.h>.
29149 (weak_alias): Do not undefine and redefine.
29150 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29151 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
29152 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
29153 <libm-alias-ldouble.h>.
29154 (weak_alias): Do not undefine and redefine.
29155 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29156 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
29157 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
29158 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
29159 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
29160 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
29161 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
29162 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
29163 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
29164 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
29165 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
29166 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
29167 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
29168 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
29169 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
29170 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
29171 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
29172 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
29173 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
29174 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
29175 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
29176 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
29177 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
29178 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
29179 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
29180 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
29182 2017-10-06 Carlos O'Donell <carlos@redhat.com>
29185 * malloc/malloc.c (tcache_shutting_down): Use bool type.
29186 (tcache_thread_freeres): Set tcache_shutting_down before
29187 freeing the tcache.
29188 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
29189 * malloc/tst-malloc-tcache-leak.c: New file.
29191 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29193 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
29194 back to powerpc32 file.
29195 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29196 (memrchr): Add __memrchr_power8 to ifunc list.
29197 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
29198 extra bytes for unaligned inputs.
29200 2017-10-06 Joseph Myers <joseph@codesourcery.com>
29202 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
29203 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
29204 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
29205 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29206 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29208 2017-10-05 Joseph Myers <joseph@codesourcery.com>
29210 * sysdeps/arm/libm-test-ulps: Update.
29212 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
29213 <libm-alias-ldouble.h>.
29214 (asinhl): Define using libm_alias_ldouble.
29215 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
29216 <libm-alias-ldouble.h>.
29217 (cbrtl): Define using libm_alias_ldouble.
29218 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
29219 <libm-alias-ldouble.h>.
29220 (copysignl): Define using libm_alias_ldouble.
29221 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
29222 <libm-alias-ldouble.h>.
29223 (cosl): Define using libm_alias_ldouble.
29224 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
29225 <libm-alias-ldouble.h>.
29226 (erfl): Define using libm_alias_ldouble.
29228 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
29229 <libm-alias-ldouble.h>.
29230 (fmal): Define using libm_alias_ldouble.
29231 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
29232 <libm-alias-ldouble.h>.
29233 (frexpl): Define using libm_alias_ldouble.
29234 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
29235 libm_alias_ldouble.
29236 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
29237 <libm-alias-ldouble.h>.
29238 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
29239 libm_alias_ldouble.
29240 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
29241 <libm-alias-ldouble.h>.
29242 (getpayloadl): Define using libm_alias_ldouble.
29243 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
29244 <libm-alias-ldouble.h>.
29245 (llrintl): Define using libm_alias_ldouble.
29246 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
29247 <libm-alias-ldouble.h>.
29248 (llroundl): Define using libm_alias_ldouble.
29249 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
29250 <libm-alias-ldouble.h>.
29251 (lrintl): Define using libm_alias_ldouble.
29252 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
29253 <libm-alias-ldouble.h>.
29254 (lroundl): Define using libm_alias_ldouble.
29255 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
29256 <libm-alias-ldouble.h>.
29257 (modfl): Define using libm_alias_ldouble.
29258 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
29259 <libm-alias-ldouble.h>.
29260 (nextupl): Define using libm_alias_ldouble.
29261 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
29262 <libm-alias-ldouble.h>.
29263 (remquol): Define using libm_alias_ldouble.
29264 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
29265 <libm-alias-ldouble.h>.
29266 (roundevenl): Define using libm_alias_ldouble.
29267 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
29268 <libm-alias-ldouble.h>.
29269 (roundl): Define using libm_alias_ldouble.
29270 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
29271 using libm_alias_ldouble.
29272 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
29273 <libm-alias-ldouble.h>.
29274 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
29275 <libm-alias-ldouble.h>.
29276 (setpayloadsigl): Define using libm_alias_ldouble.
29277 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
29278 <libm-alias-ldouble.h>.
29279 (sincosl): Define using libm_alias_ldouble.
29280 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
29281 <libm-alias-ldouble.h>.
29282 (sinl): Define using libm_alias_ldouble.
29283 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
29284 <libm-alias-ldouble.h>.
29285 (tanhl): Define using libm_alias_ldouble.
29286 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
29287 <libm-alias-ldouble.h>.
29288 (tanl): Define using libm_alias_ldouble.
29289 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
29290 <libm-alias-ldouble.h>.
29291 (totalorderl): Define using libm_alias_ldouble.
29292 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
29293 <libm-alias-ldouble.h>.
29294 (totalordermagl): Define using libm_alias_ldouble.
29295 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
29296 libm_alias_ldouble.
29297 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
29298 libm_alias_ldouble.
29300 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
29302 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
29304 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
29305 (__libc_ifunc_impl_list): Likewise.
29306 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
29307 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
29309 * benchtests/bench-memmove-walk.c: New file.
29310 * benchtests/Makefile (string-benchset): Add it.
29312 * benchtests/bench-memset-walk.c: New file.
29313 * benchtests/Makefile (string-benchset): Add it.
29315 * benchtests/bench-memcpy-walk.c: New file.
29316 * benchtests/Makefile (string-benchset): Add it.
29318 2017-10-05 Florian Weimer <fweimer@redhat.com>
29320 nscd: Eliminate compilation time dependency in the build output.
29321 * nscd/nscd_stat.c (STATDATA_VERSION)
29322 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
29323 (STATDATA_VERSION_FULL): New macro definitions.
29324 (compilation): Remove.
29325 (struct statdata): Adjust version member.
29326 (send_stats): Set version from STATDATA_VERSION_FULL.
29327 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
29329 2017-10-05 Joseph Myers <joseph@codesourcery.com>
29331 * configure.ac (--enable-add-ons): Remove option.
29332 (machine): Do not mention add-ons in comment.
29333 (LIBC_PRECONFIGURE): Likewise.
29334 (add_ons): Remove variable and sanity checks and logic to locate
29336 (add_ons_automatic): Remove variable.
29337 (configured_add_ons): Likewise.
29338 (add_ons_sfx): Likewise.
29339 (add_ons_pfx): Likewise.
29340 (add_on_subdirs): Likewise.
29341 (sysnames_add_ons): Likewise. Remove loop over add-ons and
29342 consideration of add-ons in Implies handling.
29343 (sysdeps_add_ons): Likewise.
29344 * configure: Regenerated.
29345 * libidn/configure.ac: Remove.
29346 * libidn/configure: Likewise.
29347 * sysdeps/unix/inet/configure.ac: New file.
29348 * sysdeps/unix/inet/configure: New generated file.
29349 * sysdeps/unix/inet/Subdirs: Add libidn.
29350 * Makeconfig (sysdeps-srcdirs): Remove variable.
29351 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
29352 ($(common-objpfx)config.status): Do not depend on add-on files.
29353 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
29355 (all-subdirs): Do not include $(add-on-subdirs).
29356 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
29357 * config.make.in (add-ons): Remove variable.
29358 (add-on-subdirs): Likewise.
29359 (sysdeps-add-ons): Likewise.
29360 * manual/Makefile (add-chapters): Remove.
29361 ($(objpfx)texis): Do not depend on $(add-chapters).
29362 (nonexamples): Do not handle $(add-chapters).
29363 (examples): Do not handle $(add-ons).
29364 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
29366 * manual/install.texi (Installation): Do not mention add-ons.
29367 (--enable-add-ons): Do not document configure option.
29368 * INSTALL: Regenerated.
29369 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
29370 * manual/maint.texi (Hierarchy Conventions): Do not mention
29372 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
29374 * scripts/gen-sorted.awk: Do not handle Subdirs files from
29376 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
29377 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
29379 2017-10-05 Andreas Schwab <schwab@suse.de>
29382 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
29383 (_IO_flush_all_lockp): Always lock list_all_lock.
29384 (_IO_flush_all_linebuffered): Likewise.
29385 (_IO_unbuffer_all): Likewise.
29387 2017-10-05 Florian Weimer <fweimer@redhat.com>
29390 Do not flush stdio streams on abort.
29391 * stdlib/abort.c (fflush): Remove macro definition.
29392 (abort): Remove stages related to stdio flushing.
29394 2017-10-05 Florian Weimer <fweimer@redhat.com>
29396 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
29398 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
29400 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29402 2017-10-05 Florian Weimer <fweimer@redhat.com>
29404 * support/support_format_hostent.c (support_format_hostent): Add
29405 more error information for NETDB_INTERNAL.
29407 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29409 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
29410 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
29411 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
29412 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
29413 AC_DEFINE if multi-arch is enabled.
29414 * sysdeps/i386/configure: Regenerated.
29416 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29418 * Makeconfig (+link-static-before-libc): Use
29419 $(DEFAULT-LDFLAGS-$(@F)).
29420 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
29421 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
29422 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
29424 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29426 * elf/Makefile (tests): Add tst-main1.
29427 (modules-names): Add tst-main1mod.
29428 ($(objpfx)tst-main1): New.
29429 (CRT-tst-main1): Likewise.
29430 (LDFLAGS-tst-main1): Likewise.
29431 (LDLIBS-tst-main1): Likewise.
29432 (tst-main1mod.so-no-z-defs): Likewise.
29433 * elf/tst-main1.c: New file.
29434 * elf/tst-main1mod.c: Likewise.
29436 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29438 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
29440 2017-10-04 Joseph Myers <joseph@codesourcery.com>
29442 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
29443 (fma): Define using libm_alias_double.
29444 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
29445 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
29447 (fmal): Do not define as compat symbol here.
29448 * sysdeps/alpha/fpu/s_fma.c: New file.
29450 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29452 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
29454 2017-10-04 Joseph Myers <joseph@codesourcery.com>
29457 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
29459 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29461 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
29462 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29463 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
29464 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
29465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29466 Include <math_ldbl_opt.h>
29467 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29469 (compat_symbol): Undefine and redefine.
29470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
29472 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29473 (compat_symbol): Undefine and redefine.
29474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
29475 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
29476 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
29477 GLIBC_2_1 for libm.
29478 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
29479 GLIBC_2.0 copysignl symbol.
29480 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29481 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
29483 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
29485 2017-10-04 Florian Weimer <fweimer@redhat.com>
29487 * scripts/check-local-headers.sh: Ignore nspr4 header file
29488 directory in addition to nspr.
29490 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
29493 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
29494 * configure: Regenerate.
29495 * crypt/Makefile (nss-cpp-flags): New variable.
29496 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
29497 (CPPFLAGS-md5-crypt.c): Use it.
29498 * scripts/check-local-headers.sh: Ignore nspr header file
29501 2017-10-04 Andreas Schwab <schwab@suse.de>
29503 * nis/Makefile (services): Remove compat.
29504 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
29505 ($(objpfx)libnss_compat.so): Remove rule.
29506 * nis/Versions (libnss_compat): Remove.
29507 * nss/Makefile (services): Add compat.
29508 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
29509 * nss/Versions (libnss_compat): Define.
29510 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
29511 Don't include <rpc/types.h>. Replace bool_t by bool.
29512 * nss/nss_compat/compat-initgroups.c: Likewise.
29513 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
29514 instead of <rpcsrv/ypclnt.h>.
29515 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
29516 yp_get_default_domain.
29517 * nss/nss_compat/compat-pwd.c: Likewise.
29518 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
29519 yp_get_default_domain.
29520 * nss/nss_compat/nisdomain.c: New file.
29521 * nss/nss_compat/nisdomain.h: Likewise.
29523 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29526 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
29527 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29529 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29532 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
29533 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
29535 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29537 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
29538 "movl main@GOTOFF(%ebx), %eax".
29540 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29542 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
29543 allow undefined _DYNAMIC in PIE libc.a.
29544 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29547 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29549 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
29552 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29554 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
29557 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29559 * math/test-math-iscanonical.cc (error): Replace bool with int.
29561 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29563 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
29564 (modf): Define using libm_alias_double, only if [!__modf].
29565 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
29566 <libm-alias-double.h>.
29567 (modf): Define using libm_alias_double, only if [!__modf].
29568 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
29569 compat symbol here.
29570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
29571 (weak_alias): Do not undefine and redefine.
29572 (strong_alias): Likewise.
29573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
29574 (weak_alias): Likewise.
29575 (strong_alias): Likewise.
29577 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
29578 (logb): Define using libm_alias_double, only if [!__logb].
29579 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
29580 <libm-alias-double.h>.
29581 (logb): Define using libm_alias_double, only if [!__logb].
29582 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
29583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
29584 (weak_alias): Do not undefine and redefine.
29585 (strong_alias): Likewise.
29586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
29587 (weak_alias): Likewise.
29588 (strong_alias): Likewise.
29590 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29592 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
29593 Check SHARED instead PIC.
29595 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29597 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
29598 [!__fmaf] (fmaf): Define using libm_alias_float.
29600 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
29601 (frexp): Define using libm_alias_double.
29602 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
29603 <libm-alias-double.h>.
29604 (frexp): Define using libm_alias_double.
29605 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
29606 compat symbol here.
29608 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29611 * math/math.h: Trivial fix for unbalanced parentheses in comment.
29612 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
29613 (CFLAGS-test-math-iscanonical.cc): New variable.
29614 * math/test-math-iscanonical.cc: New file.
29615 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
29616 Provide a C++ implementation based on function overloading,
29617 rather than using __MATH_TG, which uses C-only builtins.
29618 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
29620 * sysdeps/powerpc/powerpc64le/Makefile
29621 (CFLAGS-test-math-iscanonical.cc): New variable.
29623 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29625 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
29626 (ceil): Define using libm_alias_double.
29627 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
29628 (floor): Define using libm_alias_double.
29629 * sysdeps/ieee754/dbl-64/s_llround.c: Include
29630 <libm-alias-double.h>.
29631 (llround): Define using libm_alias_double.
29632 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29633 <libm-alias-double.h>.
29634 (lround): Define using libm_alias_double.
29635 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
29636 <libm-alias-double.h>.
29637 (nearbyint): Define using libm_alias_double.
29638 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
29639 <libm-alias-double.h>.
29640 (remquo): Define using libm_alias_double.
29641 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
29642 (rint): Define using libm_alias_double.
29643 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
29644 (round): Define using libm_alias_double.
29645 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
29646 (trunc): Define using libm_alias_double.
29647 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
29648 <libm-alias-double.h>.
29649 (ceil): Define using libm_alias_double.
29650 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
29651 <libm-alias-double.h>.
29652 (floor): Define using libm_alias_double.
29653 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
29654 <libm-alias-double.h>.
29655 (llround): Define using libm_alias_double.
29656 [_LP64] (lround): Likewise.
29657 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
29658 <libm-alias-double.h>.
29659 [!_LP64] (lround): Define using libm_alias_double.
29660 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
29661 <libm-alias-double.h>.
29662 (nearbyint): Define using libm_alias_double.
29663 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
29664 <libm-alias-double.h>.
29665 (remquo): Define using libm_alias_double.
29666 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
29667 <libm-alias-double.h>.
29668 (rint): Define using libm_alias_double.
29669 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
29670 <libm-alias-double.h>.
29671 (round): Define using libm_alias_double.
29672 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
29673 <libm-alias-double.h>.
29674 (trunc): Define using libm_alias_double.
29675 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
29676 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
29677 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
29678 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
29679 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
29680 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
29681 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
29682 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
29683 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
29685 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29687 * math/w_remainder.c: New file.
29688 * math/w_remainderf.c: New file.
29689 * math/w_remainderl.c: New file.
29691 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29693 * elf/rtld.c (BOOTSTRAP_MAP): New.
29694 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
29695 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29697 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29699 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29702 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29704 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
29705 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
29706 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
29707 rtld_hidden_data_ver): Define to empty.
29708 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
29709 __assert_perror_fail): Likewise.
29710 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29711 (__rewinddir): Likewise.
29712 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29713 (__profile_frequency): Likewise.
29714 * include/setjmp.h (__sigsetjmp): Likewise.
29715 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
29716 __libc_sigaction): Likewise.
29717 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
29718 not set hidden attribute.
29719 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
29720 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
29721 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
29722 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
29723 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
29724 __fxstatat64): Likewise.
29725 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29726 (__uname): Likewise.
29727 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29728 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
29729 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
29730 (NO_RTLD_HIDDEN): Set.
29731 * sysdeps/mach/hurd/configure: Refresh.
29732 * config.h.in: Refresh.
29734 2017-10-02 Joseph Myers <joseph@codesourcery.com>
29736 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
29737 (atan): Define using libm_alias_double.
29738 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
29739 (tan): Define using libm_alias_double.
29740 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
29741 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
29743 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
29744 define as weak alias of __atan. Do not define any aliases if
29746 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
29747 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
29748 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
29749 as weak alias of __tan. Do not define any aliases if [__tan].
29750 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
29751 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
29752 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
29754 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
29755 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
29756 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
29757 and define as weak alias of __atan.
29758 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
29760 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
29761 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
29762 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
29763 define as weak alias of __tan.
29765 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29767 * math/w_lgamma.c: New file.
29768 * math/w_lgammaf.c: New file.
29769 * math/w_lgammal.c: New file.
29771 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29773 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
29774 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
29775 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
29776 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
29777 * sysdeps/ieee754/flt-32/w_logf.c: New file.
29778 * sysdeps/ieee754/flt-32/w_powf.c: New file.
29779 * sysdeps/i386/fpu/w_log2f.c: New file.
29780 * sysdeps/i386/fpu/w_logf.c: New file.
29781 * sysdeps/i386/fpu/w_powf.c: New file.
29782 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
29783 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
29784 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
29786 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29787 H.J. Lu <hongjiu.lu@intel.com>
29789 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
29790 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
29791 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
29792 * sysdeps/ieee754/flt-32/w_expf.c: New file.
29793 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
29795 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
29796 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
29797 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
29798 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
29799 * sysdeps/i386/fpu/w_exp2f.c: New file.
29800 * sysdeps/i386/fpu/w_expf.c: New file.
29801 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
29802 * sysdeps/x86_64/fpu/w_expf.c: New file.
29804 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29806 * math/Versions (logf): New libm symbol at GLIBC_2.27.
29809 * math/w_log2f.c: New file.
29810 * math/w_logf.c: New file.
29811 * math/w_powf.c: New file.
29812 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
29813 * math/w_logf_compat.c (__logf_compat): Likewise.
29814 * math/w_powf_compat.c (__powf_compat): Likewise.
29815 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
29816 * sysdeps/ia64/fpu/e_logf.S: Likewise.
29817 * sysdeps/ia64/fpu/e_powf.S: Likewise.
29818 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29819 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29820 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29821 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29822 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29823 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29824 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29825 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29826 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29827 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29828 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29829 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29838 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29839 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29840 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29841 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29842 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29847 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29848 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29849 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29851 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29853 * sysdeps/powerpc/powerpc64/multiarch/Makefile
29854 (sysdep_routines): Add memrchr_power8.
29855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29856 (memrchr): Add __memrchr_power8 to list of memrchr functions.
29857 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
29859 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29860 (memrchr): Add __memrchr_power8 to ifunc list.
29861 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
29863 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29866 * sysdeps/unix/sysv/linux/posix_fadvise64.c
29867 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
29869 * sysdeps/unix/sysv/linux/posix_fallocate64.c
29870 (__posix_fallocate64_l64): Likewise.
29872 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29875 * sysdeps/unix/sysv/linux/sched_setaffinity.c
29876 (__sched_setaffinity_new): Add libc_hidden_proto and
29879 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29882 * include/glob.h (__glob64): Add libc_hidden_proto.
29883 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
29886 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29889 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
29892 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29895 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
29897 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29900 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
29903 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29906 * csu/version.c (__libc_print_version): Add attribute_hidden.
29908 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29911 * include/libc-internal.h (__init_misc): Add attribute_hidden.
29913 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29916 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
29918 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29921 * nscd/nscd_helper.c (__nis_hash): New prototype.
29923 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29926 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
29927 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
29929 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29930 * termios/tcgetattr.c (__tcgetattr): Likewise.
29932 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29935 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
29936 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
29937 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
29938 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
29939 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
29941 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29944 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
29946 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29949 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
29950 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
29952 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29955 * intl/hash-string.h (__hash_string): Add attribute_hidden.
29957 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29960 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
29961 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
29963 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29966 * include/ifreq.h: New file.
29967 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
29968 (__ifreq): Likewise.
29969 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
29970 (__ifreq): Likewise.
29972 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29975 * include/idna.h: New file.
29976 * inet/getnameinfo.c: Include <idna.h> instead of
29978 (__idna_to_unicode_lzlz): Removed.
29979 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
29981 (__idna_to_ascii_lz): Removed.
29982 (__idna_to_unicode_lzlz): Likewise.
29984 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29987 * include/plural-exp.h: New file.
29988 * intl/plural-exp.c: Include <plural-exp.h> instead of
29991 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29994 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
29995 "getsourcefilter.h".
29996 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
29997 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
29998 "getsourcefilter.h".
29999 (__get_sol): Removed.
30001 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30004 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
30006 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
30008 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30011 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
30014 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30017 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
30019 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30022 * include/search.h (__tdestroy): Add libc_hidden_proto.
30023 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
30025 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30028 * include/assert.h (__assert_fail_base): Add attribute_hidden.
30030 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30033 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
30036 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30039 * include/signal.h (__kill): Add libc_hidden_proto.
30040 (__sigblock): Likewise.
30041 (__sigprocmask): Likewise.
30042 (__sigaltstack): Likewise.
30043 * signal/kill.c (__kill): Add libc_hidden_def.
30044 * signal/sigblock.c (__sigblock): Likewise.
30045 * signal/sigprocmask.c (__sigprocmask): Likewise.
30046 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
30047 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
30048 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
30049 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
30050 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
30052 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
30054 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
30055 (__sigprocmask): Likewise.
30056 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
30058 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
30059 (__sigprocmask): Likewise.
30060 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
30063 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30066 * include/string.h (__strsep): Add libc_hidden_proto.
30067 * string/strsep.c (__strsep): Add libc_hidden_def.
30069 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30072 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
30074 (__spawni): Likewise.
30076 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30079 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
30080 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
30083 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30086 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
30088 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30091 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
30092 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
30093 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
30094 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
30095 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
30097 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
30098 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
30100 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30103 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
30104 (__dcigettext): Likewise.
30106 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30109 * include/sys/sysinfo.h (__get_nprocs_conf): Add
30111 (__get_nprocs): Likewise.
30112 (__get_phys_pages): Likewise.
30113 (__get_avphys_pages): Likewise.
30114 (__get_child_max): Add attribute_hidden.
30115 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
30116 (__get_nprocs): Likewise.
30117 (__get_phys_pages): Likewise.
30118 (__get_avphys_pages): Likewise.
30119 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
30121 (__get_nprocs): Likewise.
30122 (__get_phys_pages): Likewise.
30123 (__get_avphys_pages): Likewise.
30124 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
30126 (__get_nprocs_conf): Likewise.
30127 (__get_phys_pages): Likewise.
30128 (__get_avphys_pages): Likewise.
30130 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30133 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
30135 (__netlink_close): Likewise.
30136 (__netlink_free_handle): Likewise.
30137 (__netlink_request): Likewise.
30139 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30142 * include/rpc/rpc.h (__rpc_thread_variables): Add
30144 (__rpc_thread_svc_cleanup): Likewise.
30145 (__rpc_thread_clnt_cleanup): Likewise.
30146 (__rpc_thread_key_cleanup): Likewise.
30148 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30151 * include/sys/uio.h (__readv): Add libc_hidden_proto.
30152 (__writev): Likewise.
30153 * misc/readv.c (__readv): Add libc_hidden_def.
30154 * misc/writev.c (__writev): Likewise.
30155 * sysdeps/posix/readv.c (__readv): Likewise.
30156 * sysdeps/posix/writev.c (__writev): Likewise.
30157 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
30158 (__readv): Likewise.
30159 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
30160 (__writev): Likewise.
30162 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30165 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
30166 (__regcomp): Add libc_hidden_proto.
30167 (__regexec): Likewise.
30168 (__regfree): Likewise.
30169 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
30170 (__regfree): Likewise.
30171 * posix/regexec.c (__regexec): Likewise.
30173 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30176 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
30177 (__getutent): Likewise.
30178 (__getutid): Likewise.
30179 (__getutline): Likewise.
30180 (__pututline): Likewise.
30181 (__getutent_r): Likewise.
30182 (__getutid_r): Likewise.
30183 (__getutline_r): Likewise.
30184 (__utmpname): Add attribute_hidden.
30185 (__setutent): Likewise.
30186 (__endutent): Likewise.
30187 * login/getutent.c (__getutent): Add libc_hidden_def.
30188 * login/getutent_r.c (__getutent_r): Likewise.
30189 (__pututline): Likewise.
30190 * login/getutid.c (__getutid): Likewise.
30191 * login/getutid_r.c (__getutid_r): Likewise.
30192 * login/getutline.c (__getutline): Likewise.
30193 * login/getutline_r.c (__getutline_r): Likewise.
30194 * login/updwtmp.c (__updwtmp): Likewise.
30196 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30199 * include/dirent.h (__opendir): Always add attribute_hidden.
30200 (__fdopendir): Likewise.
30201 (__closedir): Likewise.
30202 (__readdir): Likewise.
30203 (__readdir64): Add libc_hidden_proto.
30204 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
30205 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
30206 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
30207 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
30210 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30213 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
30214 * include/netdb.h (__gethostbyaddr_r): Likewise.
30215 (__gethostbyname_r): Likewise.
30216 (__gethostbyname2_r): Likewise.
30217 (__getnetbyaddr_r): Likewise.
30218 (__getnetbyname_r): Likewise.
30219 (__getservbyname_r): Likewise.
30220 (__getservbyport_r): Likewise.
30221 (__getprotobyname_r): Likewise.
30222 (__getprotobynumber_r): Likewise.
30223 (__getnetgrent_r): Likewise.
30224 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
30225 (__getrpcbynumber_r): Likewise.
30226 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
30228 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30231 * include/stdio.h (__fcloseall): Add attribute_hidden.
30232 (__getline): Likewise.
30233 (__path_search): Likewise.
30234 (__gen_tempname): Likewise.
30235 (__libc_message): Likewise.
30236 (__flockfile): Likewise.
30237 (__funlockfile): Likewise.
30238 (__fxprintf): Likewise.
30239 (__fxprintf_nocancel): Likewise.
30241 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30244 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
30245 (__sgetsgent_r): Likewise.
30247 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30250 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
30251 (__statfs64): Likewise.
30252 (__fstatfs64): Likewise.
30253 * include/sys/statvfs.h (__statvfs64): Likewise.
30254 (__fstatvfs64): Likewise.
30255 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
30256 (__statfs_filesize_max): Likewise.
30257 (__statfs_symlinks): Likewise.
30258 (__statfs_chown_restricted): Likewise.
30260 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30263 * include/time.h (__tzstring): Add attribute_hidden.
30264 (__tzfile_read): Likewise.
30265 (__tzfile_compute): Likewise.
30266 (__tzfile_default): Likewise.
30267 (__tzset_parse_tz): Likewise.
30268 (__offtime): Likewise.
30269 (__asctime_r): Likewise.
30270 (__tzset): Likewise.
30271 (__tz_convert): Likewise.
30272 (__getdate_r): Likewise.
30273 (__getclktck): Likewise.
30275 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30278 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
30279 (__nscd_unmap): Likewise.
30280 (__nscd_cache_search): Likewise.
30281 (__nscd_get_nl_timestamp): Likewise.
30282 (__nscd_getpwnam_r): Likewise.
30283 (__nscd_getpwuid_r): Likewise.
30284 (__nscd_getgrnam_r): Likewise.
30285 (__nscd_getgrgid_r): Likewise.
30286 (__nscd_gethostbyname_r): Likewise.
30287 (__nscd_gethostbyname2_r): Likewise.
30288 (__nscd_gethostbyaddr_r): Likewise.
30289 (__nscd_getai): Likewise.
30290 (__nscd_getgrouplist): Likewise.
30291 (__nscd_getservbyname_r): Likewise.
30292 (__nscd_getservbyport_r): Likewise.
30293 (__nscd_innetgr): Likewise.
30294 (__nscd_setnetgrent): Likewise.
30296 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30299 * include/gmp.h: Declare internal functions only if _ISOMAC is
30301 (__mpn_extract_double): Add attribute_hidden.
30302 (__mpn_extract_long_double): Likewise.
30303 (__mpn_extract_float128): Likewise.
30304 (__mpn_construct_float): Likewise.
30305 (__mpn_construct_double): Likewise.
30306 (__mpn_construct_long_double): Likewise.
30307 (__mpn_construct_float128): Likewise.
30308 (mpn_add_1): Likewise.
30309 (mpn_addmul_1): Likewise.
30310 (mpn_add_n): Likewise.
30311 (mpn_cmp): Likewise.
30312 (mpn_divrem): Likewise.
30313 (mpn_lshift): Likewise.
30314 (mpn_mul): Likewise.
30315 (mpn_mul_1): Likewise.
30316 (mpn_rshift): Likewise.
30317 (mpn_sub_1): Likewise.
30318 (mpn_submul_1): Likewise.
30319 (mpn_sub_n): Likewise.
30321 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30324 * include/wchar.h (__wcsnlen): Add attribute_hidden.
30325 (__wcscat): Likewise.
30326 (__btowc): Likewise.
30327 (__wcrtomb): Likewise.
30328 (__mbsrtowcs): Likewise.
30329 (__wcsrtombs): Likewise.
30330 (__mbsnrtowcs): Likewise.
30331 (__wcsnrtombs): Likewise.
30332 (__wcsncpy): Likewise.
30333 (__wcpncpy): Likewise.
30334 (__wmemcpy): Likewise.
30335 (__wmempcpy): Likewise.
30336 (__wmemmove): Likewise.
30337 (__wcschrnul): Likewise.
30338 (__vfwscanf): Likewise.
30339 (__vswprintf): Likewise.
30340 (__fwprintf): Likewise.
30341 (__vfwprintf): Likewise.
30343 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30346 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
30347 (__getgrgid_r): Likewise.
30348 (__getgrnam_r): Likewise.
30349 * include/pwd.h (__getpwuid_r): Likewise.
30350 (__getpwnam_r): Likewise.
30351 (__fgetpwent_r): Likewise.
30352 * include/shadow.h (__getspnam_r): Likewise.
30353 (__sgetspent_r): Likewise.
30354 (__fgetspent_r): Likewise.
30356 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30359 * include/unistd.h (__access): Add attribute_hidden.
30360 (__lseek64): Likewise.
30361 (__libc_pread64): Likewise.
30362 (__pipe2): Likewise.
30363 (__sleep): Likewise.
30364 (__chdir): Likewise.
30365 (__fchdir): Likewise.
30366 (__getcwd): Likewise.
30367 (__rmdir): Likewise.
30368 (__execvpe): Likewise.
30369 (__execve): Likewise.
30370 (__setsid): Likewise.
30371 (__getuid): Likewise.
30372 (__geteuid): Likewise.
30373 (__getgid): Likewise.
30374 (__getegid): Likewise.
30375 (__getgroups): Likewise.
30376 (__group_member): Likewise.
30377 (__ttyname_r): Likewise.
30378 (__isatty): Likewise.
30379 (__readlink): Likewise.
30380 (__unlink): Likewise.
30381 (__gethostname): Likewise.
30382 (__profil): Likewise.
30383 (__getdtablesize): Likewise.
30385 (__ftruncate): Likewise.
30386 (__ftruncate64): Likewise.
30388 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30391 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
30392 * argp/argp-fs-xinl.c: Likewise.
30393 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
30394 * argp/argp-parse.c: Include <argp.h>.
30395 * argp/argp-xinl.c: Likewise.
30396 * include/argp-fmtstream.h: New file.
30397 * include/argp.h (__argp_error): Add attribute_hidden.
30398 (__argp_failure): Likewise.
30399 (__argp_input): Likewise.
30400 (__argp_state_help): Likewise.
30402 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30405 * include/wchar.h (____wcstof_l_internal): New prototype.
30406 (____wcstod_l_internal): Likewise.
30407 (____wcstold_l_internal): Likewise.
30408 (____wcstol_l_internal): Likewise.
30409 (____wcstoul_l_internal): Likewise.
30410 (____wcstoll_l_internal): Likewise.
30411 (____wcstoull_l_internal): Likewise.
30412 (____wcstof128_l_internal): Likewise.
30413 * sysdeps/ieee754/float128/wcstof128.c
30414 (____wcstof128_l_internal): Removed.
30415 * sysdeps/ieee754/float128/wcstof128_l.c
30416 (____wcstof128_l_internal): Likewise.
30417 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
30418 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
30419 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
30420 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
30421 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
30422 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
30423 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
30424 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
30425 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
30426 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
30428 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30431 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
30432 instead of <sys/statvfs.h>.
30433 (__internal_statvfs): Removed.
30434 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
30435 instead of <sys/statvfs.h>.
30436 (__internal_statvfs64): Removed.
30437 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
30438 "internal_statvfs.h" instead of <sys/statvfs.h>.
30439 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
30440 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
30441 instead of <sys/statvfs.h>.
30442 (__internal_statvfs): Removed.
30443 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
30444 instead of <sys/statvfs.h>.
30445 (__internal_statvfs64): Removed.
30447 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30450 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
30451 (__gconv_close): Likewise.
30452 (__gconv): Likewise.
30453 (__gconv_find_transform): Likewise.
30454 (__gconv_lookup_cache): Likewise.
30455 (__gconv_compare_alias_cache): Likewise.
30456 (__gconv_load_cache): Likewise.
30457 (__gconv_get_path): Likewise.
30458 (__gconv_close_transform): Likewise.
30459 (__gconv_release_cache): Likewise.
30460 (__gconv_find_shlib): Likewise.
30461 (__gconv_release_shlib): Likewise.
30462 (__gconv_get_builtin_trans): Likewise.
30463 (__gconv_compare_alias): Likewise.
30464 * include/dlfcn.h (_dlerror_run): Likewise.
30465 * include/stdio.h (__fortify_fail_abort): Likewise.
30466 * include/time.h (__tz_compute): Likewise.
30467 (__strptime_internal): Likewise.
30468 * intl/gettextP.h (_nl_find_domain): Likewise.
30469 (_nl_load_domain): Likewise.
30470 (_nl_find_msg): Likewise.
30471 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
30472 (EXTRACT_PLURAL_EXPRESSION): Likewise.
30473 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
30474 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
30475 (__gai_find_request): Likewise.
30476 (__gai_remove_request): Likewise.
30477 (__gai_notify): Likewise.
30478 (__gai_notify_only): Likewise.
30479 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30480 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30481 (_dl_non_dynamic_init): Likewise.
30482 (_dl_aux_init): Likewise.
30483 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
30484 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30486 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
30487 (__wcsmbs_clone_conv): Likewise.
30488 (__wcsmbs_named_conv): Likewise.
30490 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30493 * include/stdlib.h (__random): Add attribute_hidden.
30494 (__random_r): Likewise.
30495 (__srandom_r): Likewise.
30496 (__initstate_r): Likewise.
30497 (__setstate_r): Likewise.
30498 (__erand48_r): Likewise.
30499 (__nrand48_r): Likewise.
30500 (__jrand48_r): Likewise.
30501 (__srand48_r): Likewise.
30502 (__seed48_r): Likewise.
30503 (__lcong48_r): Likewise.
30504 (__drand48_iterate): Likewise.
30505 (__setenv): Likewise.
30506 (__unsetenv): Likewise.
30507 (__clearenv): Likewise.
30508 (__ptsname_r): Likewise.
30509 (__posix_openpt): Likewise.
30510 (__add_to_environ): Likewise.
30511 (__realpath): Add libc_hidden_proto.
30512 (__ecvt_r): Likewise.
30513 (__fcvt_r): Likewise.
30514 (__qecvt_r): Likewise.
30515 (__qfcvt_r): Likewise.
30516 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
30517 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
30519 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30522 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
30523 * include/time.h (__mktime_internal): Likewise.
30524 * libio/iolibio.h (__fopen_internal): Likewise.
30526 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
30528 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
30530 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
30531 Correct offset used to restore PIC register.
30533 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
30536 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
30537 code to load address of __getcontext_ret when generating PIC code.
30539 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
30541 * elf/Makefile (tests-static-internal): Add
30542 tst-tls1-static-non-pie.
30543 (LDFLAGS-tst-tls1-static-non-pie): New.
30544 * elf/tst-tls1-static-non-pie.c: New file.
30546 2017-09-29 Joseph Myers <joseph@codesourcery.com>
30548 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
30549 (asinh): Define using libm_alias_double.
30550 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
30551 (cbrt): Define using libm_alias_double.
30552 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
30553 <libm-alias-double.h>.
30554 (copysign): Define using libm_alias_double.
30555 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
30556 (erf): Define using libm_alias_double.
30558 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
30559 (expm1): Define using libm_alias_double.
30560 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
30561 (fabs): Define using libm_alias_double.
30562 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
30564 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
30565 <libm-alias-double.h>.
30566 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
30568 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
30569 <libm-alias-double.h>.
30570 (getpayload): Define using libm_alias_double.
30571 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
30572 <libm-alias-double.h>.
30573 (llrint): Define using libm_alias_double.
30574 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
30575 (lrint): Define using libm_alias_double.
30576 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
30577 <libm-alias-double.h>.
30578 (nextup): Define using libm_alias_double.
30579 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
30580 <libm-alias-double.h>.
30581 (roundeven): Define using libm_alias_double.
30582 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
30584 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
30585 <libm-alias-double.h>.
30586 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
30587 using libm_alias_double.
30588 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
30589 (cos): Define using libm_alias_double.
30591 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
30592 <libm-alias-double.h>.
30593 (sincos): Define using libm_alias_double.
30594 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
30595 (tanh): Define using libm_alias_double.
30596 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
30597 <libm-alias-double.h>.
30598 (totalorder): Define using libm_alias_double.
30599 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
30600 <libm-alias-double.h>.
30601 (totalordermag): Define using libm_alias_double.
30602 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
30604 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
30606 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
30607 <libm-alias-double.h>.
30608 (getpayload): Define using libm_alias_double.
30609 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
30610 <libm-alias-double.h>.
30611 (roundeven): Define using libm_alias_double.
30612 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
30613 <libm-alias-double.h>.
30614 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
30615 <libm-alias-double.h>.
30616 (totalorder): Define using libm_alias_double.
30617 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
30618 <libm-alias-double.h>.
30619 (totalordermag): Define using libm_alias_double.
30620 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
30621 libc compat symbol here.
30622 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
30623 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
30624 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
30625 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
30626 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
30627 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
30628 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
30629 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
30630 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
30631 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
30633 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30635 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
30636 _dl_relocate_static_pie instead of _dl_start to compute load
30637 address in static PIE. Return 0 if _DYNAMIC is undefined for
30640 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30642 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
30643 _DYNAMIC is undefined for static executable.
30645 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30647 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
30649 2017-09-29 Joseph Myers <joseph@codesourcery.com>
30651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30653 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30655 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
30656 (__ieee754_lgamma_r): Use fabs rather than __fabs.
30657 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30658 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30659 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
30660 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
30661 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
30662 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
30663 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
30664 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30665 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
30666 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
30667 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30668 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30669 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30670 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30671 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
30673 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30675 * math/bits/cmathcalls.h (cimag): Remove inline.
30676 (creal): Remove inline.
30677 (conj): Remove inline.
30679 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30681 * math/Makefile (type-float-routines): Add e_powf_log2_data.
30682 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
30683 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
30684 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
30685 (issignalingf_inline): Likewise.
30686 (POWF_LOG2_TABLE_BITS): Likewise.
30687 (POWF_LOG2_POLY_ORDER): Likewise.
30688 (POWF_SCALE_BITS): Likewise.
30689 (POWF_SCALE): Likewise.
30690 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
30691 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
30692 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
30694 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30696 * math/Makefile (type-float-routines): Add e_log2f_data.
30697 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
30698 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
30699 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
30700 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
30701 * sysdeps/i386/fpu/e_log2f_data.c: New file.
30702 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
30703 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
30705 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30707 * math/Makefile (type-float-routines): Add e_logf_data.
30708 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
30709 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
30710 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
30711 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
30712 * sysdeps/i386/fpu/e_logf_data.c: New file.
30713 * sysdeps/ia64/fpu/e_logf_data.c: New file.
30714 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
30716 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
30718 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
30719 undefined _DYNAMIC in PIE libc.a.
30720 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30723 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30725 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
30726 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
30727 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
30728 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
30729 (__signbit): Remove.
30730 (__signbitl): Remove.
30731 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
30732 (__signbit): Remove.
30733 (__signbitl): Remove.
30734 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
30735 (__signbit): Remove.
30736 (__signbitl): Remove.
30737 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
30738 (__signbit): Remove.
30739 (__signbitl): Remove.
30740 * sysdeps/tile/bits/mathinline.h: Delete file.
30741 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
30742 (__signbit): Remove.
30743 (__signbitl): Remove.
30745 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30747 * math/math.h: Improve handling of C99 isgreater macros.
30748 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
30749 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
30750 * sysdeps/powerpc/bits/mathinline.h: Likewise.
30751 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30752 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
30754 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
30756 * sysdeps/aarch64/libm-test-ulps: Update.
30758 2017-09-28 Joseph Myers <joseph@codesourcery.com>
30761 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30762 math_opt_barrier on argument when doing arithmetic on it.
30763 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30764 Likewise. Use math_force_eval not math_opt_barrier after
30766 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
30767 math_opt_barrier on argument when doing arithmetic on it.
30768 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30771 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
30773 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
30775 (__freeifaddrs): Likewise.
30777 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30779 * include/dirent.h (__dirfd): New declaration.
30780 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
30782 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
30783 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
30784 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
30785 * include/unistd.h (__revoke): New declaration.
30786 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
30788 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
30789 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
30791 * include/dirent.h (__seekdir): New declaration.
30792 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
30793 redefine as weak alias.
30794 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
30796 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
30797 and use libc_hidden_def on them.
30798 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
30800 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
30801 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
30802 instead of getifaddrs and freeifaddrs.
30804 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30807 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
30808 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
30809 (__dso_handle): Remove declaration.
30810 * dlfcn/tstatexit.c (__dso_handle): Removed.
30811 (main): Don't check __dso_handle.
30812 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
30813 (main): Don't check __dso_handle.
30814 * include/dso_handle.h: New file.
30815 * malloc/mtrace.c: Include <dso_handle.h>.
30816 (mtrace): Pass __dso_handle directly.
30817 * nptl/pthread_atfork.c: Include <dso_handle.h>.
30818 (__dso_handle): Remove declaration.
30819 (__pthread_atfork): Pass __dso_handle directly.
30820 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
30821 (__dso_handle): Removed.
30822 * posix/wordexp-test.c: Include <dso_handle.h>.
30823 (__dso_handle): Remove declaration.
30824 (__app_register_atfork): Pass __dso_handle directly.
30825 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
30826 (__dso_handle): Remove declaration.
30827 (at_quick_exit): Pass __dso_handle directly.
30828 * stdlib/atexit.c: Include <dso_handle.h>.
30829 (__dso_handle): Remove declaration.
30830 (atexit): Pass __dso_handle directly.
30831 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
30832 (__dso_handle): Removed.
30834 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30836 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
30839 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
30841 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
30842 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
30843 values to correct default value for given type.
30845 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30848 * elf/Makefile (tests): Add tst-debug1.
30849 ($(objpfx)tst-debug1): New.
30850 ($(objpfx)tst-debug1.out): Likewise.
30851 ($(objpfx)tst-debug1mod1.so): Likewise.
30852 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
30853 with p_filesz == 0.
30854 * elf/tst-debug1.c: New file.
30856 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30858 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
30859 Define using __ifunc.
30861 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30863 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
30866 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30869 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
30871 2017-09-26 Florian Weimer <fweimer@redhat.com>
30873 * resolv/Makefile (tests-internal): Fix typo in comment.
30875 2017-09-26 Florian Weimer <fweimer@redhat.com>
30877 * resolv/nss_dns/dns-host.c: Fix typo in comment.
30879 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30881 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
30882 Use an union instead of a max_align_t array for __space,
30883 so that __space is the same size on all platforms.
30884 * malloc/scratch_buffer_grow_preserve.c
30885 (__libc_scratch_buffer_grow_preserve): Likewise.
30888 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
30890 * posix/Makefile (routines): Add glob-lstat-compat and
30891 glob64-lstat-compat.
30892 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
30893 * posix/glob-lstat-compat.c: New file.
30894 * posix/glob64-lstat-compat.c: Likewise.
30895 * posix/tst-glob_lstat_compat.c: Likewise.
30896 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
30897 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
30898 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
30899 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
30901 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
30902 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30903 * posix/glob.c (glob_lstat): New function.
30904 (glob): Rename to __glob and add versioned symbol to 2.27.
30905 (glob_in_dir): Use glob_lstat.
30906 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
30907 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
30908 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
30910 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
30911 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
30912 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
30913 gl_lstat on glob call.
30914 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
30915 and glob64 symbols.
30916 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30917 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
30918 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
30919 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
30920 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
30921 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
30922 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
30923 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
30924 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
30925 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30926 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30927 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
30928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
30930 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
30931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
30932 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30933 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30934 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
30935 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30936 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
30938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
30939 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
30940 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
30941 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
30943 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
30945 * configure.ac (AS): Require binutils 2.25 or later.
30946 * configure: Regenerated.
30948 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30951 * stdlib/test-atexit-race-common.c (do_test): Minimize required
30954 2017-09-25 DJ Delorie <dj@redhat.com>
30957 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
30960 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
30962 * sysdeps/ieee754/dbl-64/sincos32.h
30963 [SINCCOS32_H]: Remove define.
30964 [SINCOS32_H]: Define.
30966 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30968 * math/Versions (expf): New libm symbol at GLIBC_2.27.
30970 * math/w_exp2f.c: New file.
30971 * math/w_expf.c: New file.
30972 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
30973 * math/w_expf_compat.c (__expf_compat): Likewise.
30974 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
30975 * sysdeps/ia64/fpu/e_expf.S: Likewise.
30976 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30977 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30978 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30979 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30980 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30981 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30982 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30983 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30984 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30985 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30986 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30987 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30996 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30997 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30998 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30999 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31000 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31005 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31006 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31007 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31009 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31011 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
31012 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
31013 (roundtoint, converttoint): Likewise.
31014 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
31015 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
31016 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
31017 * sysdeps/ieee754/flt-32/math_config.h: New file.
31018 * sysdeps/ieee754/flt-32/math_errf.c: New file.
31019 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
31020 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
31021 * sysdeps/i386/fpu/math_errf.c: New file.
31022 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
31023 * sysdeps/ia64/fpu/math_errf.c: New file.
31024 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
31025 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
31027 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
31029 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
31030 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
31031 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
31032 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
31033 to make sure that these symbols are defined.
31034 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
31036 (__need_NULL): Do not define.
31037 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
31039 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
31040 CMGROUP_MAX, cmsgcred): Do not define.
31041 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
31043 * bits/socket.h: Likewise.
31044 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
31045 __gettimeofday instead of gettimeofday.
31046 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
31047 instead of settimeofday.
31049 2017-09-22 Joseph Myers <joseph@codesourcery.com>
31051 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
31052 (asinhf): Define using libm_alias_float.
31053 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
31054 (atanf): Define using libm_alias_float.
31055 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
31056 (cbrtf): Define using libm_alias_float.
31057 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
31058 (ceilf): Define using libm_alias_float.
31059 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
31060 <libm-alias-float.h>.
31061 (copysignf): Define using libm_alias_float.
31062 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
31063 (cosf): Define using libm_alias_float.
31064 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
31065 (erff): Define using libm_alias_float.
31067 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
31068 (expm1f): Define using libm_alias_float.
31069 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
31070 (fabsf): Define using libm_alias_float.
31071 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
31072 (floorf): Define using libm_alias_float.
31073 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
31074 (frexpf): Define using libm_alias_float.
31075 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
31077 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
31078 <libm-alias-float.h>.
31079 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
31081 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
31082 <libm-alias-float.h>.
31083 (getpayloadf): Define using libm_alias_float.
31084 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
31085 <libm-alias-float.h>.
31086 (llrintf): Define using libm_alias_float.
31087 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
31088 <libm-alias-float.h>.
31089 (llroundf): Define using libm_alias_float.
31090 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
31091 (logbf): Define using libm_alias_float.
31092 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
31093 (lrintf): Define using libm_alias_float.
31094 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
31095 (lroundf): Define using libm_alias_float.
31096 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
31097 (modff): Define using libm_alias_float.
31098 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
31099 <libm-alias-float.h>.
31100 (nearbyintf): Define using libm_alias_float.
31101 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
31102 <libm-alias-float.h>.
31103 (nextafterf): Define using libm_alias_float.
31104 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
31105 <libm-alias-float.h>.
31106 (nextupf): Define using libm_alias_float.
31107 * sysdeps/ieee754/flt-32/s_remquof.c: Include
31108 <libm-alias-float.h>.
31109 (remquof): Define using libm_alias_float.
31110 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
31111 (rintf): Define using libm_alias_float.
31112 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
31113 <libm-alias-float.h>.
31114 (roundevenf): Define using libm_alias_float.
31115 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
31116 (roundf): Define using libm_alias_float.
31117 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
31118 using libm_alias_float.
31119 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
31120 <libm-alias-float.h>.
31121 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
31122 Define using libm_alias_float.
31123 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
31124 <libm-alias-float.h>.
31125 (sincosf): Define using libm_alias_float.
31126 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
31127 (sinf): Define using libm_alias_float.
31128 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
31129 (tanf): Define using libm_alias_float.
31130 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
31131 (tanhf): Define using libm_alias_float.
31132 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
31133 <libm-alias-float.h>.
31134 (totalorderf): Define using libm_alias_float.
31135 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
31136 <libm-alias-float.h>.
31137 (totalordermagf): Define using libm_alias_float.
31138 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
31139 (truncf): Define using libm_alias_float.
31140 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
31142 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
31145 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31148 math/math.h: Let fpclassify use the builtin in C++ mode, even
31149 when optimazing for size.
31151 2017-09-22 Joseph Myers <joseph@codesourcery.com>
31153 * csu/Makefile (generated): Do not add version-info.h.
31154 (before-compile): Likewise.
31155 (all-Banner-files): Remove variable.
31156 ($(objpfx)version-info.h): Remove rule.
31157 * csu/version.c (banner): Do not include "version-info.h".
31158 * libidn/Banner: Remove.
31159 * manual/contrib.texi (Simon Josefsson): New entry.
31161 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31163 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31164 Remove conditionals on LDBL_MANT_DIG.
31165 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31166 (__ieee754_lgammal_r): Likewise.
31168 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31170 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
31172 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
31173 _Float128 and L(). Replace _Float128 with long double and L(x)
31174 with xL, throughout the file.
31175 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31176 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31177 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31178 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31180 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31182 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
31183 sysdeps/ieee754/ldbl-128ibm.
31184 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
31185 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
31186 of including it. Keep _Float128 and L() intact. These will be
31187 reviewed by a separate patch.
31188 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31189 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31190 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31191 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31193 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
31196 (__finitef128): Define to __redirect___finitef128.
31197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
31198 (__isinff128): Define to __redirect___isinff128.
31199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
31200 (__isnanf128): Define to __redirect___isnanf128.
31202 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31204 * sysdeps/powerpc/powerpc64le/Makefile
31205 (CFLAGS-tst-strtod-nan-locale.c): New variable.
31206 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
31208 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
31209 Carlos O'Donell <carlos@redhat.com>
31212 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
31213 * stdlib/test-dlclose-exit-race.c: New file.
31214 * stdlib/test-dlclose-exit-race-helper.c: New file.
31215 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
31217 2017-09-21 Joseph Myers <joseph@codesourcery.com>
31219 * crypt/Banner: Remove file.
31220 * nptl/Banner: Likewise.
31221 * resolv/Banner: Likewise.
31222 * soft-fp/Banner: Likewise.
31223 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
31224 ($(objpfx)version.d): Remove dependency on banner.h.
31225 ($(objpfx)version.os): Likewise.
31226 * nptl/version.c (banner): Do not include banner.h.
31227 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
31228 Jelinek and BIND code.
31230 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31231 Carlos O'Donell <carlos@redhat.com>
31233 * support/xdlfcn.h: New file.
31234 * support/xdlfcn.c: New file.
31235 * support/Makefile (libsupport-routines): Add xdlfcn.
31236 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
31238 2017-09-20 Joseph Myers <joseph@codesourcery.com>
31241 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31242 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
31243 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
31244 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
31245 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
31246 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
31247 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
31248 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
31250 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31251 Ricky Zhou <rickyz@google.com>
31252 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
31255 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
31257 (__new_exitfn): Fail registration when we finished at_exit processing.
31258 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31259 * stdlib/on_exit.c (__on_exit): Likewise.
31260 * stdlib/exit.c (__exit_funcs_done): New variable.
31261 (__run_exit_handlers): Use __exit_funcs_lock.
31262 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
31264 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
31265 (test-cxa_atexit-race, test-on_exit-race): New tests.
31266 * stdlib/test-atexit-race-common.c: New file.
31267 * stdlib/test-atexit-race.c: New file.
31268 * stdlib/test-at_quick_exit-race.c: New file.
31269 * stdlib/test-cxa_atexit-race.c: New file.
31270 * stdlib/test-on_exit-race.c: New file.
31272 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
31274 * benchtests/Makefile: Add exp2f and log2f benchmarks.
31275 * benchtests/exp2f-inputs: Copy of expf-inputs.
31276 * benchtests/log2f-inputs: Copy of logf-inputs.
31278 2017-09-19 Joseph Myers <joseph@codesourcery.com>
31280 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
31281 Explicitly take address of first element of array arguments in
31282 call to INLINE_SYSCALL.
31284 2017-09-19 Andreas Schwab <schwab@suse.de>
31287 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
31289 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
31291 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
31292 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
31293 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31294 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
31295 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31296 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31297 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31298 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31299 * posix/Makefile (tests): Add tst-fexecve.
31300 * posix/tst-fexecve.c: New file.
31302 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31304 * benchtests/Makefile: Add logf benchmark.
31305 * benchtests/logf-inputs: Add reduced trace from wrf_r.
31307 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31309 * benchtests/Makefile: Add expf benchmark.
31310 * benchtests/expf-inputs: Add reduced trace from wrf_r.
31312 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31314 * csu/Makefile: Add -funwind-tables to libc-start.c.
31315 * debug/Makefile: Add -funwind-tables to backtrace.c.
31316 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
31317 * sysdeps/arm/Makefile: Likewise.
31318 * sysdeps/i386/Makefile: Likewise.
31319 * sysdeps/m68k/Makefile: Likewise.
31320 * sysdeps/mips/Makefile: Likewise.
31321 * sysdeps/nios2/Makefile: Likewise.
31322 * sysdeps/sh/Makefile: Likewise.
31323 * sysdeps/sparc/Makefile: Likewise.
31325 2017-09-19 Joseph Myers <joseph@codesourcery.com>
31327 * benchtests/Makefile (bench-math): Add trunc and truncf.
31328 (CFLAGS-bench-trunc.c): New variable.
31329 (CFLAGS-bench-truncf.c): Likewise.
31330 * benchtests/trunc-inputs: New file.
31331 * benchtests/truncf-inputs: Likewise.
31333 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31335 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
31337 2017-09-18 Joseph Myers <joseph@codesourcery.com>
31339 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
31340 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
31342 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31343 (exp10l): Define as weak alias.
31344 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
31345 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
31347 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
31348 (remainderl): Define as weak alias.
31350 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
31351 (fmal): Define using libm_alias_ldouble.
31352 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
31353 (acoshl): Define using libm_alias_ldouble.
31354 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
31355 (acosl): Define using libm_alias_ldouble.
31356 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
31357 (asinl): Define using libm_alias_ldouble.
31358 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
31359 (atan2l): Define using libm_alias_ldouble.
31360 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
31361 (atanhl): Define using libm_alias_ldouble.
31362 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
31363 (coshl): Define using libm_alias_ldouble.
31364 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
31365 (exp10l): Define using libm_alias_ldouble.
31366 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
31367 (exp2l): Define using libm_alias_ldouble.
31368 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
31369 (expl): Define using libm_alias_ldouble.
31370 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
31371 (fmodl): Define using libm_alias_ldouble.
31372 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
31373 (hypotl): Define using libm_alias_ldouble.
31374 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
31375 (j0l): Define using libm_alias_ldouble.
31377 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
31378 (j1l): Define using libm_alias_ldouble.
31380 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
31381 (jnl): Define using libm_alias_ldouble.
31383 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
31384 (log10l): Define using libm_alias_ldouble.
31385 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
31386 (log2l): Define using libm_alias_ldouble.
31387 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
31388 (logl): Define using libm_alias_ldouble.
31389 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
31390 (powl): Define using libm_alias_ldouble.
31391 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
31392 (remainderl): Define using libm_alias_ldouble.
31393 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
31394 (sinhl): Define using libm_alias_ldouble.
31395 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
31396 (sqrtl): Define using libm_alias_ldouble.
31397 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
31398 (tgammal): Define using libm_alias_ldouble.
31399 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
31400 (exp10l): Do not use long_double_symbol here.
31401 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31402 [LIBM_SVID_COMPAT] (remainderl): Likewise.
31403 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
31404 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31405 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31406 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31407 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31408 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31409 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31410 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31411 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31412 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31413 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31414 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31415 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31416 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31417 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31418 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31419 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31420 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31421 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31422 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31424 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
31426 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
31427 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
31429 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
31431 * io/read.c (read): Add libc_hidden_weak.
31432 * sysdeps/mach/hurd/read.c (read): Likewise.
31433 * io/write.c (write): Likewise.
31434 * sysdeps/mach/hurd/write.c (write): Likewise.
31435 * io/pread64.c (__pread64): Likewise.
31436 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
31437 * posix/pread64.c (__pread64): Add libc_hidden_def.
31439 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
31441 * benchtests/scripts/compare_strings.py: New option -g.
31442 (draw_graph): Print a message that a graph is being generated.
31443 (process_results): Generate graph only if -g is passed.
31444 (main): Process option -g.
31446 * benchtests/scripts/compare_strings.py (process_results):
31447 Better spacing for output.
31449 * benchtests/scripts/compare_strings.py: Use argparse.
31450 * benchtests/README: Document existence of compare_strings.py.
31452 2017-09-15 Joseph Myers <joseph@codesourcery.com>
31454 * math/s_fma.c: Include <libm-alias-double.h>.
31455 (fma): Define using libm_alias_double.
31456 * math/s_nextafter.c: Include <libm-alias-double.h>.
31457 (nextafter): Define using libm_alias_double.
31458 * math/w_acos_compat.c: Include <libm-alias-double.h>.
31459 (acos): Define using libm_alias_double.
31460 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
31461 (aocsh): Define using libm_alias_double.
31462 * math/w_asin_compat.c: Include <libm-alias-double.h>.
31463 (asin): Define using libm_alias_double.
31464 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
31465 (atan2): Define using libm_alias_double.
31466 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
31467 (atanh): Define using libm_alias_double.
31468 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
31469 (cosh): Define using libm_alias_double.
31470 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
31471 (exp10): Define using libm_alias_double.
31472 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
31473 (exp2): Define using libm_alias_double.
31474 * math/w_exp_compat.c: Include <libm-alias-double.h>.
31475 (exp): Define using libm_alias_double.
31476 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
31477 (fmod): Define using libm_alias_double.
31478 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
31479 (hypot): Define using libm_alias_double.
31480 * math/w_j0_compat.c: Include <libm-alias-double.h>.
31481 (j0): Define using libm_alias_double.
31483 * math/w_j1_compat.c: Include <libm-alias-double.h>.
31484 (j1): Define using libm_alias_double.
31486 * math/w_jn_compat.c: Include <libm-alias-double.h>.
31487 (jn): Define using libm_alias_double.
31489 * math/w_log10_compat.c: Include <libm-alias-double.h>.
31490 (log10): Define using libm_alias_double.
31491 * math/w_log2_compat.c: Include <libm-alias-double.h>.
31492 (log2): Define using libm_alias_double.
31493 * math/w_log_compat.c: Include <libm-alias-double.h>.
31494 (log): Define using libm_alias_double.
31495 * math/w_pow_compat.c: Include <libm-alias-double.h>.
31496 (pow): Define using libm_alias_double.
31497 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
31498 (remainder): Define using libm_alias_double.
31499 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
31500 (sinh): Define using libm_alias_double.
31501 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
31502 (sqrt): Define using libm_alias_double.
31503 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
31504 (tgamma): Define using libm_alias_double.
31505 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
31506 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
31507 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
31508 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
31509 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
31510 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
31511 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
31512 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
31513 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
31514 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
31515 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
31516 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
31517 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
31518 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
31519 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
31520 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
31521 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
31522 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
31523 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
31524 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
31525 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
31526 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
31527 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
31528 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
31529 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
31531 * math/e_acoshl.c: Remove.
31532 * math/e_acosl.c: Likewise.
31533 * math/e_asinl.c: Likewise.
31534 * math/e_atan2l.c: Likewise.
31535 * math/e_atanhl.c: Likewise.
31536 * math/e_coshl.c: Likewise.
31537 * math/e_expl.c: Likewise.
31538 * math/e_fmodl.c: Likewise.
31539 * math/e_gammal_r.c: Likewise.
31540 * math/e_hypotl.c: Likewise.
31541 * math/e_j0l.c: Likewise.
31542 * math/e_j1l.c: Likewise.
31543 * math/e_jnl.c: Likewise.
31544 * math/e_lgammal_r.c: Likewise.
31545 * math/e_log10l.c: Likewise.
31546 * math/e_log2l.c: Likewise.
31547 * math/e_logl.c: Likewise.
31548 * math/e_powl.c: Likewise.
31549 * math/e_rem_pio2l.c: Likewise.
31550 * math/e_sinhl.c: Likewise.
31551 * math/e_sqrtf128.c: Likewise.
31552 * math/e_sqrtl.c: Likewise.
31553 * math/k_cosl.c: Likewise.
31554 * math/k_sinl.c: Likewise.
31555 * math/k_tanl.c: Likewise.
31556 * math/s_asinhl.c: Likewise.
31557 * math/s_atanl.c: Likewise.
31558 * math/s_cbrtl.c: Likewise.
31559 * math/s_erfl.c: Likewise.
31560 * math/s_expm1l.c: Likewise.
31561 * math/s_log1pl.c: Likewise.
31562 * math/s_tanhl.c: Likewise.
31564 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
31568 [$(subdir) = math] (sysdep_calls): New variable. Has the
31569 previous contents of sysdep_routines, but re-sorted..
31570 [$(subdir) = math] (sysdep_routines): Re-use the contents from
31572 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
31573 defined in sysdep_calls and replace by the respective m_* names.
31574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
31575 (compat_symbol): Undefine to avoid duplicated compat symbols in
31578 2017-09-15 Joseph Myers <joseph@codesourcery.com>
31580 * math/s_fmaf.c: Include <libm-alias-float.h>.
31581 (fmaf): Define using libm_alias_float.
31582 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
31583 (acosf): Define using libm_alias_float.
31584 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
31585 (acoshf): Define using libm_alias_float.
31586 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
31587 (asinf): Define using libm_alias_float.
31588 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
31589 (atan2f): Define using libm_alias_float.
31590 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
31591 (atanhf): Define using libm_alias_float.
31592 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
31593 (coshf): Define using libm_alias_float.
31594 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
31595 (exp10f): Define using libm_alias_float.
31596 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
31597 (fmodf): Define using libm_alias_float.
31598 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
31599 (hypotf): Define using libm_alias_float.
31600 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
31601 (j0f): Define using libm_alias_float.
31603 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
31604 (j1f): Define using libm_alias_float.
31606 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
31607 (jnf): Define using libm_alias_float.
31609 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
31610 (log10f): Define using libm_alias_float.
31611 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
31612 (log2f): Define using libm_alias_float.
31613 * math/w_logf_compat.c: Include <libm-alias-float.h>.
31614 (logf): Define using libm_alias_float.
31615 * math/w_powf_compat.c: Include <libm-alias-float.h>.
31616 (powf): Define using libm_alias_float.
31617 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
31618 (remainderf): Define using libm_alias_float.
31619 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
31620 (sinhf): Define using libm_alias_float.
31621 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
31622 (sqrtf): Define using libm_alias_float.
31623 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
31624 (tgammaf): Define using libm_alias_float.
31626 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31628 * include/math.h (roundeven): Change hidden_proto call to
31630 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
31632 [NO_LONG_DOUBLE] (__j0l): New strong alias.
31633 (y0): Rename to __y0 and define as weak alias.
31634 [NO_LONG_DOUBLE] (__y0l): New strong alias.
31635 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
31637 (y0f): Rename to __y0f and define as weak alias.
31638 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
31640 [NO_LONG_DOUBLE] (__j1l): New strong alias.
31641 (y1): Rename to __y1 and define as weak alias.
31642 [NO_LONG_DOUBLE] (__y1l): New strong alias.
31643 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
31645 (y1f): Rename to __y1f and define as weak alias.
31646 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
31648 [NO_LONG_DOUBLE] (__jnl): New strong alias.
31649 (yn): Rename to __yn and define as weak alias.
31650 [NO_LONG_DOUBLE] (__ynl): New strong alias.
31651 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
31653 (ynf): Rename to __ynf and define as weak alias.
31654 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
31655 (fromfp): Define as weak alias.
31656 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
31657 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
31658 (fromfpx): Define as weak alias.
31659 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
31660 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
31661 __getpayload and define as weak alias.
31662 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31663 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
31664 __roundeven and define as weak alias.
31665 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31666 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
31668 (setpayload): Define as weak alias.
31669 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
31670 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
31672 (setpayloadsig): Define as weak alias.
31673 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
31674 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
31675 __totalorder and define as weak alias.
31676 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31677 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
31678 to __totalordermag and define as weak alias.
31679 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31680 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
31681 (ufromfp): Define as weak alias.
31682 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
31683 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
31685 (ufromfpx): Define as weak alias.
31686 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
31687 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
31688 Rename to __getpayload and define as weak alias.
31689 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31690 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
31691 Rename to __roundeven and define as weak alias.
31692 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31693 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
31694 Rename to __totalorder and define as weak alias.
31695 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31696 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
31697 (totalordermag): Rename to __totalordermag and define as weak
31699 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31700 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
31702 (__roundevenl): Likewise.
31703 (__totalorderl): Likewise.
31704 (__totalordermagl): Likewise
31705 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
31707 (fromfpf128): Define as weak alias.
31708 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
31710 (fromfpxf128): Define as weak alias.
31711 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
31713 (setpayloadf128): Define as weak alias.
31714 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
31715 __setpayloadsigf128.
31716 (setpayloadsigf128): Define as weak alias.
31717 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
31719 (ufromfpf128): Define as weak alias.
31720 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
31722 (ufromfpxf128): Define as weak alias.
31723 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
31724 (fromfpf): Define as weak alias.
31725 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
31727 (fromfpxf): Define as weak alias.
31728 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
31729 __getpayloadf and define as weak alias.
31730 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
31731 __roundevenf and define as weak alias.
31732 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
31734 (setpayloadf): Define as weak alias.
31735 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
31737 (setpayloadsigf): Define as weak alias.
31738 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
31739 __totalorderf and define as weak alias.
31740 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
31741 Rename to __totalordermagf and define as weak alias.
31742 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
31744 (ufromfpf): Define as weak alias.
31745 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
31747 (ufromfpxf): Define as weak alias.
31748 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
31750 (fromfpl): Define as weak alias.
31751 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
31753 (fromfpxl): Define as weak alias.
31754 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
31755 to __getpayloadl and define as weak alias.
31756 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
31757 __roundevenl and define as weak alias.
31758 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
31760 (setpayloadl): Define as weak alias.
31761 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
31763 (setpayloadsigl): Define as weak alias.
31764 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
31765 to __totalorderl and define as weak alias.
31766 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
31767 Rename to __totalordermagl and define as weak alias.
31768 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
31770 (ufromfpl): Define as weak alias.
31771 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
31773 (ufromfpxl): Define as weak alias.
31774 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
31776 (fromfpl): Define as weak alias.
31777 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
31779 (fromfpxl): Define as weak alias.
31780 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
31781 Rename to __getpayloadl and define as weak alias.
31782 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
31783 to __roundevenl and define as weak alias. Call __roundeven
31784 instead of roundeven.
31785 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
31787 (setpayloadl): Define as weak alias.
31788 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
31790 (setpayloadsigl): Define as weak alias.
31791 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
31792 Rename to __totalorderl and define as weak alias.
31793 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
31794 Rename to __totalordermagl and define as weak alias.
31795 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
31797 (ufromfpl): Define as weak alias.
31798 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
31800 (ufromfpxl): Define as weak alias.
31801 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
31803 (fromfpl): Define as weak alias.
31804 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
31806 (fromfpxl): Define as weak alias.
31807 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
31808 __getpayloadl and define as weak alias.
31809 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
31810 __roundevenl and define as weak alias.
31811 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
31813 (setpayloadl): Define as weak alias.
31814 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
31816 (setpayloadsigl): Define as weak alias.
31817 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
31818 __totalorderl and define as weak alias.
31819 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
31820 Rename to __totalordermagl and define as weak alias.
31821 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
31823 (ufromfpl): Define as weak alias.
31824 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
31826 (ufromfpxl): Define as weak alias.
31828 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
31830 * benchtests/bench-string.h (realloc_bufs): New function.
31831 (test_init): Call it.
31832 * benchtests/bench-memset-large.c (do_test): Likewise.
31833 * benchtests/bench-memset.c (do_test): Likewise.
31835 * benchtests/bench-memset-large.c: Print output in JSON
31837 * benchtests/bench-memset.c: Likewise.
31839 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31842 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
31843 * iconvdata/Makefile: Add IBM858.
31844 * iconvdata/gconv-modules: Likewise.
31845 * iconvdata/tst-tables.sh: Likewise.
31846 * iconvdata/ibm858.c: New file.
31847 * localedata/charmaps/IBM858: Likewise.
31849 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
31852 * locales/niu_NZ (LC_TIME): copy "niu_NU".
31853 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
31855 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31858 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
31859 and add tel_int_fmt.
31861 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31863 * sysdeps/generic/libm-alias-float128.h: New file.
31864 * sysdeps/generic/math-type-macros-float128.h: Include
31865 <libm-alias-float128.h>.
31866 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31868 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31870 * sysdeps/generic/libm-alias-ldouble.h: New file.
31871 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
31872 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
31873 * sysdeps/generic/math-type-macros-ldouble.h: Include
31874 <libm-alias-ldouble.h>.
31875 [!declare_mgen_alias] (declare_mgen_alias): Define to use
31876 libm_alias_ldouble.
31878 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
31880 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
31881 * math/w_exp_compat.c: ... here.
31882 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
31883 * math/w_expf_compat.c: ... here.
31884 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
31885 * math/w_expl_compat.c: ... here.
31886 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
31887 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
31888 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
31889 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31891 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31893 * math/w_scalbln_template.c (strong_alias): Do not undefine and
31895 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
31897 (ldexpl): Only define as compat symbol for libc, not libm.
31898 (scalbnl): Define as compat symbol for libc here.
31899 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
31900 define for [IS_IN (libc)].
31901 (__ldexpl_2): Remove alias.
31902 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
31903 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
31904 name in long_double_symbol call.
31905 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
31906 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31907 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31908 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
31909 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
31911 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
31912 Define as compat symbol.
31914 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31916 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
31917 * sysdeps/unix/sysv/linux/alpha/Makefile
31918 [$(subdir) = csu] (sysdep_routines): Remove rule.
31920 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31922 * sysdeps/generic/libm-alias-double.h: New file.
31923 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
31924 * sysdeps/generic/math-type-macros-double.h: Include
31925 <libm-alias-double.h>.
31926 [declare_mgen_alias] (declare_mgen_alias): Define to use
31928 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
31929 (M_LIBM_NEED_COMPAT): Remove macro.
31930 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
31931 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
31932 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
31934 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31935 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31936 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31937 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31938 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31939 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31940 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31941 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31942 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31943 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31944 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31945 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31946 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31947 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31948 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31949 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31950 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31951 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31952 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31953 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31954 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31955 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31956 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31957 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31958 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31959 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31960 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31961 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
31962 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
31964 (declare_mgen_alias): New macro.
31965 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
31966 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
31967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
31968 (M_LIBM_NEED_COMPAT): Remove macro.
31969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
31970 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
31971 <first-versions.h>.
31972 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
31973 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
31975 2017-09-12 Joseph Myers <joseph@codesourcery.com>
31977 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
31978 (declare_mgen_alias_2): Remove.
31979 * sysdeps/generic/math-type-macros-double.h
31980 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
31982 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
31984 (ldexp): Define with declare_mgen_alias.
31985 (scalbn): Likewise.
31987 2017-09-12 Steve Ellcey <sellcey@cavium.com>
31989 * grp/initgroups.c: Include config.h.
31990 (DEFAULT_CONFIG): New macro.
31991 (internal_getgrouplist): Use DEFAULT_CONFIG.
31992 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31993 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
31994 (DEFAULT_DEFCONFIG): New macro.
31995 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
31996 * nss/grp-lookup.c: Include config.h
31997 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
31998 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
31999 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
32000 * manual/nss.texi: Update default values section.
32002 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
32005 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
32007 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
32008 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32009 Handle MathVec_Prefer_No_AVX512.
32010 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
32011 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
32014 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
32016 * posix/sched_primax.c (__sched_get_priority_max): Add
32018 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
32019 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32020 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32021 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
32022 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
32023 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
32024 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
32025 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
32028 2017-09-11 Joseph Myers <joseph@codesourcery.com>
32030 * sysdeps/generic/libm-alias-float.h: New file.
32031 * sysdeps/generic/math-type-macros-float.h: Include
32032 <libm-alias-float.h>.
32033 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
32035 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
32038 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
32039 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
32040 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
32041 (HWCAP_IMPORTANT): Likewise.
32042 (HWCAP_X86_64): New enum.
32043 (HWCAP_X86_AVX512_1): Updated.
32044 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
32045 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
32046 (modules-names): Add x86_64/tst-x86_64mod-1.
32047 (LDFLAGS-tst-x86_64mod-1.so): New.
32048 ($(objpfx)tst-x86_64-1): Likewise.
32049 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
32050 (tst-x86_64-1-clean): Likewise.
32051 * sysdeps/x86_64/tst-x86_64-1.c: New file.
32052 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
32054 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32056 * po/sv.po: Update translations.
32057 * po/fr.po: Likewise.
32059 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32061 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
32063 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
32065 * elf/rtld-Rules: Fix $(error) use.
32067 2017-09-09 Mike FABIAN <mfabian@redhat.com>
32070 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
32071 * locale/iso-639.def: Change “Bengali” to “Bangla”.
32072 * localedata/locales/bn_BD: “Bengali” was still used in some
32073 comments. Change it to “Bangla”.
32075 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
32077 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
32079 2017-09-08 Steve Ellcey <sellcey@cavium.com>
32081 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
32082 thunderx2t99p1 to list of cpu names.
32083 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32084 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
32086 2017-09-08 Steve Ellcey <sellcey@cavium.com>
32088 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
32089 Use strcmp instead of tunable_is_name.
32091 2017-09-08 Joseph Myers <joseph@codesourcery.com>
32093 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32094 (F_GET_RW_HINT): New macro.
32095 [__USE_GNU] (F_SET_RW_HINT): Likewise.
32096 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
32097 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
32098 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
32099 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
32100 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
32101 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
32102 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
32103 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
32105 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32106 (F_ADD_SEALS): New macro.
32107 [__USE_GNU] (F_GET_SEALS): Likewise.
32108 [__USE_GNU] (F_SEAL_SEAL): Likewise.
32109 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
32110 [__USE_GNU] (F_SEAL_GROW): Likewise.
32111 [__USE_GNU] (F_SEAL_WRITE): Likewise.
32113 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32115 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
32116 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
32117 * posix/glob_internal.h (__glob_pattern_type):
32118 * posix/glob.c (glob):
32119 * posix/glob_pattern_p.c (__glob_pattern_p):
32122 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
32123 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32124 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
32125 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
32126 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
32128 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
32129 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
32130 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32131 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32132 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32133 * sysdeps/wordsize-64/glob.c: Likewise.
32134 * sysdeps/wordsize-64/glob64.c: Likewise.
32135 * sysdeps/wordsize-64/globfree.c: Likewise.
32136 * sysdeps/wordsize-64/globfree64.c: Likewise.
32137 * sysdeps/unix/sysv/linux/glob.c: New file.
32138 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
32139 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
32140 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
32141 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32142 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
32143 adds !GLOB_NO_OLD_VERSION as an extra condition.
32144 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
32145 using relative path instead of absolute one.
32146 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
32147 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32148 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32149 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
32150 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
32151 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
32154 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
32155 (glob): Use the same scratch buffer for both getlogin_r and
32156 getpwnam_r. Don’t require preallocation of the login name. This
32157 simplifies storage allocation, and corrects the handling of
32161 * posix/glob.c (glob): Port recent patches to platforms
32162 lacking getpwnam_r.
32163 (glob): Fix longstanding misuse of errno after getpwnam_r, which
32164 returns an error number rather than setting errno.
32166 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
32167 instead of GCC extension.
32168 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
32169 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
32170 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
32174 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
32175 * posix/bug-glob1.c: Remove file.
32176 * posix/tst-glob_symlinks.c: New file.
32177 * posix/glob.c (__lstat64): New macro.
32178 (is_dir): New function.
32179 (glob, glob_in_dir): Match symlinks even if they are dangling.
32180 (link_stat, link_exists_p): Remove. All uses removed.
32184 * posix/glob.c (struct readdir_result): Remove skip_entry member.
32185 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
32190 * posix/Makefile (routines): Add globfree, globfree64, and
32192 * posix/flexmember.h: New file.
32193 * posix/glob_internal.h: Likewise.
32194 * posix/glob_pattern_p.c: Likewise.
32195 * posix/globfree.c: Likewise.
32196 * posix/globfree64.c: Likewise.
32197 * sysdeps/gnu/globfree64.c: Likewise.
32198 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
32199 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32200 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
32201 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32202 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32203 * sysdeps/wordsize-64/globfree.c: Likewise.
32204 * sysdeps/wordsize-64/globfree64.c: Likewise.
32205 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
32206 [NDEBUG): Remove comments.
32207 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
32208 (dirent_type): New type. Use uint_fast8_t not
32209 uint8_t, as C99 does not require uint8_t.
32210 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
32211 (struct readdir_result): Use dirent_type. Do not define skip_entry
32212 unless it is needed; this saves a byte on platforms lacking d_ino.
32213 (readdir_result_type, readdir_result_skip_entry):
32214 New functions, replacing ...
32215 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
32216 these functions, which were removed. This makes the callers
32217 easier to read. All callers changed.
32218 (D_INO_TO_RESULT): Now empty if there is no d_ino.
32219 (size_add_wrapv, glob_use_alloca): New static functions.
32220 (glob, glob_in_dir): Check for size_t overflow in several places,
32221 and fix some size_t checks that were not quite right.
32222 Remove old code using SHELL since Bash no longer
32224 (glob, prefix_array): Separate MS code better.
32225 (glob_in_dir): Remove old Amiga and VMS code.
32226 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
32228 (glob_in_dir): Do not rely on undefined behavior in accessing
32229 struct members beyond their bounds. Use a flexible array member
32231 (link_stat): Rename from link_exists2_p and return -1/0 instead of
32232 0/1. Caller changed.
32233 (glob): Fix memory leaks.
32234 * posix/glob64 (globfree64): Move to separate file.
32235 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
32236 (globfree64): Remove hidden alias.
32237 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
32239 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
32241 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
32243 Move compat code to separate file.
32244 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
32247 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
32249 * resolv/tst-resolv-qtypes.c (domain): Changed to
32250 "const char domain[] =".
32252 2017-09-07 Joseph Myers <joseph@codesourcery.com>
32254 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
32257 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
32258 (TCP_MD5SIG_EXT): Likewise.
32259 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
32260 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
32261 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
32263 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
32265 2017-09-07 Mike FABIAN <mfabian@redhat.com>
32267 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
32269 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
32272 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
32274 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
32276 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
32277 before assuming that the file is empty. Avoid testing buffer content
32280 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32283 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32285 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
32287 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
32289 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
32291 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32293 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
32295 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
32298 2017-09-06 Florian Weimer <fweimer@redhat.com>
32300 * malloc/dynarray_emplace_enlarge.c
32301 (__libc_dynarray_emplace_enlarge): Add missing else.
32303 2017-09-06 Florian Weimer <fweimer@redhat.com>
32306 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
32307 case of failure to obtain the global conf object.
32309 2017-09-06 Florian Weimer <fweimer@redhat.com>
32312 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
32313 dynarray allocation failure.
32315 2017-09-06 Florian Weimer <fweimer@redhat.com>
32317 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
32318 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
32319 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
32321 (response): Call them. Add 'p', '6' flag processing.
32322 (test_reverse): New function.
32323 (test_get2_any): Call it.
32324 (test_no_inet6): Add 'p' test.
32325 (test_inet6): Likewise.
32327 2017-09-06 Florian Weimer <fweimer@redhat.com>
32329 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
32330 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
32332 (test_gai): Adjust query names. Add additional tests.
32333 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
32334 test_get2. Adjust query names. Add additional tests.
32335 (test_no_inet6): New function, extracted from threadfunc.
32336 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
32337 Add additional tests.
32339 2017-09-06 Mike FABIAN <mfabian@redhat.com>
32342 * localedata/unicode-gen/utf8_gen.py: Set the width for
32343 characters with Prepended_Concatenation_Mark property to 1
32344 * localedata/charmaps/UTF-8: Updated using the improved script.
32346 2017-09-06 Mike FABIAN <mfabian@redhat.com>
32349 * localedata/unicode-gen/utf8_gen.py: Improve the script to
32350 use the range notation for all ranges of neighbouring characters
32351 with the same width.
32353 2017-09-05 Joseph Myers <joseph@codesourcery.com>
32355 * sysdeps/generic/math-type-macros-double.h: Include
32356 <math-svid-compat.h>.
32357 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32358 * sysdeps/generic/math-type-macros-float.h: Include
32359 <math-svid-compat.h>.
32360 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32361 * sysdeps/generic/math-type-macros-ldouble.h: Include
32362 <math-svid-compat.h>.
32363 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32364 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
32366 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
32367 * math/w_acosf_compat.c: Likewise.
32368 * math/w_acosh_compat.c: Likewise.
32369 * math/w_acoshf_compat.c: Likewise.
32370 * math/w_acoshl_compat.c: Likewise.
32371 * math/w_acosl_compat.c: Likewise.
32372 * math/w_asin_compat.c: Likewise.
32373 * math/w_asinf_compat.c: Likewise.
32374 * math/w_asinl_compat.c: Likewise.
32375 * math/w_atan2_compat.c: Likewise.
32376 * math/w_atan2f_compat.c: Likewise.
32377 * math/w_atan2l_compat.c: Likewise.
32378 * math/w_atanh_compat.c: Likewise.
32379 * math/w_atanhf_compat.c: Likewise.
32380 * math/w_atanhl_compat.c: Likewise.
32381 * math/w_cosh_compat.c: Likewise.
32382 * math/w_coshf_compat.c: Likewise.
32383 * math/w_coshl_compat.c: Likewise.
32384 * math/w_exp10_compat.c: Likewise.
32385 * math/w_exp10f_compat.c: Likewise.
32386 * math/w_exp10l_compat.c: Likewise.
32387 * math/w_exp2_compat.c: Likewise.
32388 * math/w_exp2f_compat.c: Likewise.
32389 * math/w_exp2l_compat.c: Likewise.
32390 * math/w_fmod_compat.c: Likewise.
32391 * math/w_fmodf_compat.c: Likewise.
32392 * math/w_fmodl_compat.c: Likewise.
32393 * math/w_hypot_compat.c: Likewise.
32394 * math/w_hypotf_compat.c: Likewise.
32395 * math/w_hypotl_compat.c: Likewise.
32396 * math/w_j0_compat.c: Likewise.
32397 * math/w_j0f_compat.c: Likewise.
32398 * math/w_j0l_compat.c: Likewise.
32399 * math/w_j1_compat.c: Likewise.
32400 * math/w_j1f_compat.c: Likewise.
32401 * math/w_j1l_compat.c: Likewise.
32402 * math/w_jn_compat.c: Likewise.
32403 * math/w_jnf_compat.c: Likewise.
32404 * math/w_jnl_compat.c: Likewise.
32405 * math/w_lgamma_r_compat.c: Likewise.
32406 * math/w_lgammaf_r_compat.c: Likewise.
32407 * math/w_lgammal_r_compat.c: Likewise.
32408 * math/w_log10_compat.c: Likewise.
32409 * math/w_log10f_compat.c: Likewise.
32410 * math/w_log10l_compat.c: Likewise.
32411 * math/w_log2_compat.c: Likewise.
32412 * math/w_log2f_compat.c: Likewise.
32413 * math/w_log2l_compat.c: Likewise.
32414 * math/w_log_compat.c: Likewise.
32415 * math/w_logf_compat.c: Likewise.
32416 * math/w_logl_compat.c: Likewise.
32417 * math/w_pow_compat.c: Likewise.
32418 * math/w_powf_compat.c: Likewise.
32419 * math/w_powl_compat.c: Likewise.
32420 * math/w_remainder_compat.c: Likewise.
32421 * math/w_remainderf_compat.c: Likewise.
32422 * math/w_remainderl_compat.c: Likewise.
32423 * math/w_sinh_compat.c: Likewise.
32424 * math/w_sinhf_compat.c: Likewise.
32425 * math/w_sinhl_compat.c: Likewise.
32426 * math/w_sqrt_compat.c: Likewise.
32427 * math/w_sqrtf_compat.c: Likewise.
32428 * math/w_sqrtl_compat.c: Likewise.
32429 * math/w_tgamma_compat.c: Likewise.
32430 * math/w_tgammaf_compat.c: Likewise.
32431 * math/w_tgammal_compat.c: Likewise.
32432 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
32433 [LIBM_SVID_COMPAT].
32434 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
32435 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
32436 [LIBM_SVID_COMPAT].
32437 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
32438 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
32439 [LIBM_SVID_COMPAT].
32440 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
32441 * sysdeps/i386/fpu/w_sqrt.c: New file.
32442 * sysdeps/ia64/fpu/w_acos.c: Likewise.
32443 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
32444 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
32445 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
32446 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
32447 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
32448 * sysdeps/ia64/fpu/w_asin.c: Likewise.
32449 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
32450 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
32451 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
32452 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
32453 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
32454 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
32455 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
32456 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
32457 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
32458 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
32459 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
32460 * sysdeps/ia64/fpu/w_exp.c: Likewise.
32461 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
32462 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
32463 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
32464 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
32465 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
32466 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
32467 * sysdeps/ia64/fpu/w_expf.c: Likewise.
32468 * sysdeps/ia64/fpu/w_expl.c: Likewise.
32469 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
32470 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
32471 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
32472 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
32473 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
32474 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
32475 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
32476 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
32477 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
32478 * sysdeps/ia64/fpu/w_log.c: Likewise.
32479 * sysdeps/ia64/fpu/w_log10.c: Likewise.
32480 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
32481 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
32482 * sysdeps/ia64/fpu/w_log2.c: Likewise.
32483 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
32484 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
32485 * sysdeps/ia64/fpu/w_logf.c: Likewise.
32486 * sysdeps/ia64/fpu/w_logl.c: Likewise.
32487 * sysdeps/ia64/fpu/w_pow.c: Likewise.
32488 * sysdeps/ia64/fpu/w_powf.c: Likewise.
32489 * sysdeps/ia64/fpu/w_powl.c: Likewise.
32490 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
32491 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
32492 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
32493 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
32494 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
32495 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
32496 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
32497 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
32498 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
32499 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
32500 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
32501 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
32502 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
32503 [LIBM_SVID_COMPAT].
32504 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32505 * sysdeps/ieee754/k_standard.c: Likewise.
32506 * sysdeps/ieee754/k_standardf.c: Likewise.
32507 * sysdeps/ieee754/k_standardl.c: Likewise.
32508 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32509 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32510 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32511 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
32512 long_double_symbol call on [LIBM_SVID_COMPAT].
32513 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32514 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32515 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32516 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32517 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32518 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32519 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32520 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32521 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32522 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32523 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32524 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
32525 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32526 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32527 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32528 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32529 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
32530 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32531 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32532 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32533 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
32534 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
32536 2017-09-05 Steve Ellcey <sellcey@cavium.com>
32538 * include/shlib-compat.h (TEST_COMPAT): New Macro.
32539 * malloc/tst-mallocstate.c: Convert from test-skeleton
32540 to test-driver. Ifdef code using TEST_COMPAT macro.
32541 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
32542 * math/test-matherr.c: Likewise.
32544 2017-09-05 Joseph Myers <joseph@codesourcery.com>
32547 * debug/pcprofiledump.c (main): Use byte-swapped mask when
32548 comparing word with byte-swapped constant.
32550 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
32553 * locale/iso-639.def: add Miskito.
32554 * localedata/SUPPORTED: Add miq_NI/UTF-8.
32555 * localedata/locales/miq_NI: New file.
32557 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
32560 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
32561 (__mkdir): Likewise.
32562 * io/chmod.c (__chmod): Add libc_hidden_def.
32563 * io/mkdir.c (__mkdir): Likewise.
32564 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
32565 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
32566 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
32567 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
32569 2017-09-04 Joseph Myers <joseph@codesourcery.com>
32571 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
32575 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
32576 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
32578 2017-09-04 Florian Weimer <fweimer@redhat.com>
32580 * math/math.h: Issue warning if log is defined.
32582 2017-09-04 Joseph Myers <joseph@codesourcery.com>
32584 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
32585 kernel version to 4.13.
32587 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
32589 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
32590 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
32592 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
32593 just <bits/types.h>.
32594 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
32595 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
32596 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
32597 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
32598 * misc/preadv2.c: Include <errno.h>.
32599 * misc/preadv64v2.c: Include <errno.h>.
32600 * misc/pwritev2.c: Include <errno.h>.
32601 * misc/pwritev64v2.c: Include <errno.h>.
32602 * sysdeps/posix/preadv2.c: Include <errno.h>.
32603 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
32604 Fix <unistd.h> inclusion.
32605 * sysdeps/posix/pwritev2.c: Include <errno.h>.
32606 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
32607 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
32608 __strtoul_internal): New functions.
32609 * sysdeps/posix/pause.c: Include <sigsetops.h>.
32610 * sysdeps/posix/system.c: Include <sigsetops.h>.
32611 * sysdeps/mach/hurd/i386/Makefile
32612 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
32613 [$(subdir) = csu] (sysdep-only-routines): Likewise.
32614 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
32615 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
32616 __feraiseexcept_renamed to feraiseexcept instead of
32617 __GI_feraiseexcept.
32618 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
32619 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
32620 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
32621 RWF_NOWAIT): Define to 0 if undefined already.
32622 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
32624 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
32625 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
32627 2017-09-01 Joseph Myers <joseph@codesourcery.com>
32629 * manual/math.texi (pow10): Do not document.
32630 (pow10f): Likewise.
32631 (pow10l): Likewise.
32632 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
32633 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
32634 * math/libm-test-exp10.inc (pow10_test): Remove.
32635 (do_test): Do not call pow10.
32636 * math/w_exp10_compat.c (pow10): Make into compat symbol.
32637 [NO_LONG_DOUBLE] (pow10l): Likewise.
32638 * math/w_exp10f_compat.c (pow10f): Likewise.
32639 * math/w_exp10l_compat.c (pow10l): Likewise.
32640 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
32641 (pow10): Make into compat symbol.
32642 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
32643 (pow10f): Make into compat symbol.
32644 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
32645 (pow10l): Make into compat symbol.
32646 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
32648 (CFLAGS-nldbl-pow10.c): Remove variable..
32649 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
32650 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
32651 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
32652 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
32653 Undefine and redefine.
32654 (pow10l): Make into compat symbol.
32655 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
32656 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32657 * sysdeps/arm/libm-test-ulps: Likewise.
32658 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
32659 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32660 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
32661 * sysdeps/microblaze/libm-test-ulps: Likewise.
32662 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32663 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32664 * sysdeps/nios2/libm-test-ulps: Likewise.
32665 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32666 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32667 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32668 * sysdeps/sh/libm-test-ulps: Likewise.
32669 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32670 * sysdeps/tile/libm-test-ulps: Likewise.
32671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32673 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32675 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
32677 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32679 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
32680 "../ChangeLog.old/ChangeLog.8".
32681 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
32682 "../ChangeLog.old/ChangeLog.14".
32684 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32686 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
32689 2017-09-01 Joseph Myers <joseph@codesourcery.com>
32691 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
32693 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32695 * csu/version.c (banner): Remove "by Roland McGrath et al.".
32696 * nptl/Banner: Remove "by Ulrich Drepper et al.".
32698 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32700 * stdlib/tst-atexit-common.c (do_test): Test support for at least
32701 32 atexit handlers.
32703 2017-09-01 Zack Weinberg <zackw@panix.com>
32705 * math/math.h (HUGE_VAL): Improve commentary.
32707 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32708 Andreas Schwab <schwab@suse.de>
32711 * include/stdio.h (__gen_tempfd): New function.
32712 * stdio-common/Makefile (routines): Add gentempfd.
32713 * stdio-common/gentempfd.c: New file.
32714 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
32715 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
32716 unnamed file first.
32718 2017-09-01 Florian Weimer <fweimer@redhat.com>
32722 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
32723 result to determine success or failure, not the errno value.
32724 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
32725 (tst-nss-files-hosts-erange): Link with -ldl.
32726 * nss/tst-nss-files-hosts-erange.c: New file.
32727 * nss/tst-resolv-basic.c (response): Handle nodata.example.
32728 (do_test): Add NO_DATA tests.
32729 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
32730 (do_test): Call it.
32732 2017-09-01 Florian Weimer <fweimer@redhat.com>
32735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
32736 coming from gethostbyname2_r.
32738 2017-09-01 Florian Weimer <fweimer@redhat.com>
32740 * support/namespace.h (struct support_chroot_configuration): Add
32742 (struct support_chroot): Add path_hosts, path_host_conf.
32743 * support/support_chroot.c (write_file): New function.
32744 (support_chroot_create): Call it to process /etc/resolv.conf,
32745 /etc/hosts, /etc/host.conf.
32746 (support_chroot_free): Update.
32748 2017-09-01 Florian Weimer <fweimer@redhat.com>
32750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
32751 status indicates it is set.
32753 2017-09-01 Florian Weimer <fweimer@redhat.com>
32756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
32757 function lookup failures more reliable.
32759 2017-09-01 Florian Weimer <fweimer@redhat.com>
32761 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
32762 (getcanonname): Likewise.
32763 (gaih_inet): Likewise.
32765 2017-09-01 Florian Weimer <fweimer@redhat.com>
32767 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
32768 (getcanonname): Likewise.
32769 (gaih_inet): Likewise.
32771 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32772 Richard Henderson <rth@twiddle.net>
32774 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
32775 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
32776 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
32777 (IREG_SIZE, OREG_SIZE): New macros.
32778 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
32779 (IREG_SIZE, OREG_SIZE): New macros.
32780 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
32781 (IREG_SIZE): New macro.
32782 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
32783 (IREG_SIZE): New macro.
32784 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
32786 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
32787 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32788 (__CONCATX): Handle exceptions correctly on large values that may
32790 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
32791 Initialize if not already set.
32792 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32794 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32796 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
32797 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
32799 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
32801 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
32803 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
32805 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
32807 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
32809 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
32811 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
32812 (NO_CANCELLATION): Likewise.
32813 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
32815 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
32817 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
32819 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
32820 (NO_CANCELLATION): Likewise.
32821 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
32822 (NO_CANCELLATION): Likewise.
32823 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
32825 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
32827 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
32829 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
32831 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
32833 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
32834 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
32836 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32838 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
32841 2017-08-31 Florian Weimer <fweimer@redhat.com>
32843 * include/libc-symbols.h (internal_function): Remove.
32845 2017-08-31 Florian Weimer <fweimer@redhat.com>
32847 * stdlib/fmtmsg.c (internal_addseverity): Remove
32850 2017-08-31 Florian Weimer <fweimer@redhat.com>
32852 * stdio-common/printf_fp.c (group_number): Remove
32854 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
32856 2017-08-31 Florian Weimer <fweimer@redhat.com>
32858 * posix/fnmatch.c (internal_function): Remove definition.
32859 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
32860 * posix/regcomp.c (peek_token, init_word_char)
32861 (duplicate_node_closure, fetch_token, peek_token)
32862 (peek_token_bracket, build_range_exp, build_collating_symbol):
32864 * posix/regex_internal.c (re_string_construct_common)
32865 (create_ci_newstate, create_cd_newstate, re_string_allocate)
32866 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
32867 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
32868 (re_string_translate_buffer, re_string_reconstruct)
32869 (re_string_peek_byte_case, re_string_fetch_byte_case)
32870 (re_string_destruct, re_string_context_at, re_node_set_alloc)
32871 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
32872 (re_node_set_add_intersect, re_node_set_init_union)
32873 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
32874 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
32875 (re_dfa_add_node, calc_state_hash, re_acquire_state)
32876 (re_acquire_state_context): Likewise.
32877 * posix/regex_internal.h (internal_function): Remove definition.
32878 (re_string_realloc_buffers, build_wcs_buffer)
32879 (build_wcs_upper_buffer, build_upper_buffer)
32880 (re_string_translate_buffer, re_string_context_at)
32881 (re_string_char_size_at, re_string_wchar_at)
32882 (re_string_elem_size_at): Likewise.
32883 * posix/regexec.c (match_ctx_init, match_ctx_clean)
32884 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
32885 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
32886 (re_search_internal, re_search_2_stub, re_search_stub)
32887 (re_copy_regs, prune_impossible_nodes, check_matching)
32888 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
32889 (free_fail_stack_return, sift_states_iter_mb)
32890 (sift_states_backward, build_sifted_states)
32891 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
32892 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
32893 (check_subexp_limits, sift_states_bkref, merge_state_array)
32894 (find_recover_state, transit_state, merge_state_with_log)
32895 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
32896 (transit_state_mb, transit_state_bkref, get_subexp)
32897 (get_subexp_sub, find_subexp_node, check_arrival)
32898 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
32899 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
32900 (check_node_accept_bytes, find_collation_sequence_value)
32901 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
32902 (acquire_init_state_context, check_halt_node_context)
32903 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
32904 (sub_epsilon_src_nodes): Likewise.
32905 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
32906 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
32907 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
32908 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
32909 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
32910 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
32911 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
32912 * sysdeps/posix/ttyname.c (getttyname): Likewise.
32913 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
32914 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
32915 (PREADV): Likewise.
32916 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
32917 (PREADV): Likewise.
32918 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
32919 (PWRITEV): Likewise.
32920 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
32921 (PWRITEV): Likewise.
32922 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
32923 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
32925 2017-08-31 Florian Weimer <fweimer@redhat.com>
32927 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
32928 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
32929 Remove internal_function.
32930 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32931 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
32932 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
32933 (__deallocate_stack, __libc_pthread_init)
32934 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
32935 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
32936 (__libc_disable_asynccancel, __librt_disable_asynccancel):
32938 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
32939 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
32940 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
32942 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
32943 (__pthread_mutex_unlock_usercnt): Likewise.
32945 2017-08-31 Florian Weimer <fweimer@redhat.com>
32947 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
32948 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
32949 (fts_safe_changedir): Remove internal_function.
32950 * io/ftw.c (internal_function): Remove definition.
32951 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
32953 2017-08-31 Florian Weimer <fweimer@redhat.com>
32955 * inet/deadline.c (__deadline_current_time)
32956 (__deadline_from_timeval, __deadline_to_ms): Remove
32958 * inet/getnameinfo.c (nrl_domainname): Likewise.
32959 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
32960 * inet/inet6_option.c (add_pad): Likewise.
32961 * inet/net-internal.h (__deadline_current_time)
32962 (__deadline_from_timeval, __deadline_to_ms): Likewise.
32963 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
32964 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
32965 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
32967 2017-08-31 Joseph Myers <joseph@codesourcery.com>
32969 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
32970 include <bits/nan.h>.
32971 * math/Makefile (headers): Remove bits/nan.h.
32972 * bits/nan.h: Remove.
32973 * sysdeps/ieee754/bits/nan.h: Likewise.
32974 * sysdeps/mips/bits/nan.h: Likewise.
32976 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
32977 not include <bits/inf.h>.
32978 * math/Makefile (headers): Remove bits/inf.h.
32979 * bits/inf.h: Remove.
32980 * sysdeps/ieee754/bits/inf.h: Likewise.
32982 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
32983 bits/huge_vall.h or bits/huge_val_flt128.h.
32984 (HUGE_VAL): Define directly here.
32985 [__USE_ISOC99] (HUGE_VALF): Likewise.
32986 [__USE_ISOC99] (HUGE_VALL): Likewise.
32987 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32988 (HUGE_VAL_F128): Likewise.
32989 * math/Makefile (headers): Remove bits/huge_val.h,
32990 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
32991 * bits/huge_val.h: Remove.
32992 * bits/huge_val_flt128.h: Likewise.
32993 * bits/huge_valf.h: Likewise.
32994 * bits/huge_vall.h: Likewise.
32995 * sysdeps/ia64/bits/huge_vall.h: Likewise.
32996 * sysdeps/ieee754/bits/huge_val.h: Likewise.
32997 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
32998 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
32999 * sysdeps/sh/bits/huge_val.h: Likewise.
33000 * sysdeps/sparc/bits/huge_vall.h: Likewise.
33001 * sysdeps/x86/bits/huge_vall.h: Likewise.
33003 2017-08-31 Florian Weimer <fweimer@redhat.com>
33005 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
33007 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
33009 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
33010 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33011 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
33012 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
33013 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33014 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33015 * elf/dl-libc.c (dlerror_run): Likewise.
33016 * elf/dl-load.c (add_name_to_object, decompose_rpath)
33017 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
33018 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
33019 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
33021 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
33022 (_dl_higher_prime_number, _dl_strtoul): Likewise.
33023 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
33024 * elf/dl-profile.c (_dl_start_profile): Likewise.
33025 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
33026 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
33028 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
33029 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
33030 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
33031 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
33032 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
33033 (_dl_allocate_tls_storage): Likewise.
33034 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
33035 (_dl_check_all_versions): Likewise.
33036 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
33037 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
33038 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
33039 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33040 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
33041 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
33042 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
33043 internal_function from __dl_start.
33044 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
33045 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
33046 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
33047 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
33048 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
33049 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
33050 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
33051 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
33052 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
33053 (_dl_next_ld_env_entry, _dl_important_hwcaps)
33054 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
33055 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
33056 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
33057 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
33058 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
33060 (struct rtld_global_ro): Remove internal_function from the
33061 _dl_lookup_symbol_x member.
33062 (_dl_symbol_value): Remove. No longer defined anywhere.
33063 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
33065 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33066 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33067 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
33068 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
33069 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
33070 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
33071 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
33072 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
33073 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
33074 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
33075 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33076 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33078 2017-08-31 Florian Weimer <fweimer@redhat.com>
33080 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
33081 Remove internal_function.
33082 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33084 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33087 2017-08-31 Florian Weimer <fweimer@redhat.com>
33089 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
33090 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
33091 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
33093 2017-08-31 Florian Weimer <fweimer@redhat.com>
33095 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
33096 (__gai_enqueue_request): Remove internal_function.
33097 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
33098 (__gai_remove_request, __gai_notify, __gai_notify_only)
33099 (__gai_sigqueue): Likewise.
33100 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
33101 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
33102 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
33103 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33106 2017-08-31 Florian Weimer <fweimer@redhat.com>
33108 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
33109 * include/dirent.h (__opendirat, __getdents, __getdents64)
33110 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
33111 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
33112 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33113 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
33115 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
33117 2017-08-31 Florian Weimer <fweimer@redhat.com>
33119 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
33121 (GETCWD_RETURN_TYPE): Likewise.
33123 2017-08-31 Florian Weimer <fweimer@redhat.com>
33125 * include/time.h (__tz_compute, __strptime_internal): Remove
33127 * time/strptime_l.c (__strptime_internal): Likewise.
33128 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
33130 2017-08-31 Florian Weimer <fweimer@redhat.com>
33132 * iconv/gconv.c (__gconv): Remove internal_function.
33133 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
33134 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
33135 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
33136 (__gconv_release_cache): Likewise.
33137 * iconv/gconv_close.c (__gconv_close): Likewise.
33138 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
33139 (read_conf_file, __gconv_get_path): Likewise.
33140 * iconv/gconv_db.c (derivation_lookup, add_derivation)
33141 (__gconv_release_step, gen_steps, increment_counter)
33142 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
33143 (__gconv_close_transform, free_modules_db): Likewise.
33144 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
33146 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
33147 (__gconv_find_transform, __gconv_lookup_cache)
33148 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
33149 (__gconv_close_transform, __gconv_release_cache)
33150 (__gconv_loaded_object, __gconv_release_shlib)
33151 (__gconv_compare_alias): Likewise.
33152 * iconv/gconv_open.c (__gconv_open): Likewise.
33153 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
33154 * iconv/iconvconfig.c (add_module): Likewise.
33155 * intl/dcigettext.c (plural_lookup, guess_category_value)
33156 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
33157 * intl/eval-plural.h (plural_eval): Likewise.
33158 * intl/finddomain.c (_nl_find_domain): Likewise.
33159 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
33160 (_nl_load_domain, _nl_find_msg): Likewise.
33161 (internal_function): Remove definition.
33162 * intl/loadinfo.h (internal_function): Likewise.
33163 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
33165 * intl/localealias.c (internal_function): Remove definition.
33166 (read_alias_file): Remove internal_function.
33167 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
33168 * intl/plural-exp.h (internal_function): Remove definition.
33169 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
33171 * intl/plural.c: Regenerate.
33172 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
33173 * locale/coll-lookup.c (__collidx_table_lookup)
33174 (__collseq_table_lookup): Likewise.
33175 * locale/coll-lookup.h (__collidx_table_lookup)
33176 (__collseq_table_lookup): Likewise.
33177 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
33178 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33179 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
33180 (_nl_unload_locale): Likewise.
33181 * locale/localeinfo.h (struct __locale_data): Remove
33182 internal_function from cleanup member.
33183 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
33184 (_nl_remove_locale, _nl_load_locale_from_archive)
33185 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
33186 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
33187 (_nl_cleanup_time): Remove internal_function.
33188 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
33189 (_nl_parse_alt_digit): Likewise.
33190 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
33191 (_nl_select_era_entry): Likewise.
33192 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
33193 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33194 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
33195 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33196 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
33198 2017-08-31 Florian Weimer <fweimer@redhat.com>
33200 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
33201 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
33202 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
33203 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
33205 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
33206 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
33207 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
33208 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33210 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
33212 2017-08-31 Florian Weimer <fweimer@redhat.com>
33214 * misc/getttyent.c (skip, value): Remove internal_function.
33215 * misc/syslog.c (openlog_internal): Likewise.
33216 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
33218 2017-08-31 Florian Weimer <fweimer@redhat.com>
33220 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
33221 (__nss_rewrite_field): Remove internal_function.
33222 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33223 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33224 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33225 * nss/nsswitch.c (nss_parse_file, nss_getline)
33226 (nss_parse_service_list, nss_new_service): Likewise.
33227 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
33228 * nss/valid_field.c (__nss_valid_field): Likewise.
33229 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
33231 2017-08-31 Florian Weimer <fweimer@redhat.com>
33233 * malloc/arena.c (__malloc_fork_lock_parent)
33234 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
33235 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
33236 internal_function from defintions.
33237 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
33238 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
33239 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
33240 internal_function from declarations.
33241 * malloc/malloc.c (internal_function): Do not define.
33242 (mem2mem_check): Remove internal_function from declaration.
33243 (munmap_chunk, mremap_chunk): Remove internal_function.
33244 * malloc/mtrace.c (tr_where): Likewise.
33246 2017-08-31 Florian Weimer <fweimer@redhat.com>
33248 * include/rpc/pmap_clnt.h (__get_socket): Remove
33250 * sunrpc/auth_des.c (synchronize): Likewise.
33251 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
33252 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
33253 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
33254 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
33255 (key_call): Likewise.
33256 * sunrpc/pm_getport.c (__get_socket): Likewise.
33257 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
33258 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
33259 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
33260 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
33261 (invalidate): Likewise.
33262 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
33263 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
33264 (set_input_fragment, get_input_bytes): Likewise.
33266 2017-08-31 Florian Weimer <fweimer@redhat.com>
33268 * malloc/malloc.c (_int_free): Remove locked variable and related
33271 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
33274 * Makerules (build-module-helper-objlist): Filter out
33275 $(elf-objpfx)sofini.os.
33276 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
33279 2017-08-31 Florian Weimer <fweimer@redhat.com>
33281 * libio/fcloseall.c: Assume weak_alias is defined.
33282 * libio/feof.c: Likewise.
33283 * libio/fileno.c: Likewise.
33284 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
33285 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33287 (_IO_file_open): Call __open directly.
33288 (_IO_new_file_sync): Assume ESPIPE is defined.
33289 (_IO_file_seekoff_maybe_mmap): Call __read directly.
33290 (_IO_new_file_write): Call __write directly.
33291 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
33292 * libio/ftello64.c (__ftello64): Assume EIO is defined.
33293 * libio/genops.c: Assume _LIBC is defined.
33294 (save_for_backup): Remove internal_function.
33295 * libio/getc.c: Assume weak_alias is defined.
33296 * libio/getwc.c: Likewise.
33297 * libio/iofclose.c: Assume _LIBC is defined.
33298 * libio/iofdopen.c: Likewise.
33299 (_IO_fcntl): Remove macro definition.
33300 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
33301 Call __fcntl directly.
33302 * libio/iofflush.c: Assume weak_alias is defined.
33303 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
33305 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
33306 * libio/iofgets.c: Likewise.
33307 * libio/iofopen.c: Assume _LIBC is defined.
33308 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
33309 * libio/iofputs.c: Assume weak_alias is defined.
33310 * libio/iofread.c: Likewise.
33311 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
33312 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
33313 * libio/ioftell.c: Assume weak_alias is defined.
33314 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
33315 * libio/iofwide.c: Assume _LIBC is defined.
33316 (_IO_fwide): Drop SHARED conditional because it is implied by
33318 * libio/iofwrite.c: Assume weak_alias is defined.
33319 * libio/iogetdelim.c: Likewise.
33320 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
33321 * libio/iogetwline.c (wmemcpy): Remove macro definition.
33322 (_IO_getwline): Call __wmemcpy directly.
33323 * libio/iopopen.c: Assume _LIBC is defined.
33324 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33325 (_IO_close): Remove macro definitions.
33326 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
33328 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
33330 * libio/ioputs.c: Assume weak_alias is defined.
33331 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
33332 * libio/iosetbuffer.c: Assume weak_alias is defined.
33333 * libio/iosetvbuf.c: Likewise.
33334 * libio/ioungetc.c: Likewise.
33335 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
33336 libc_hidden_def, libc_hidden_weak, NULL are defined.
33337 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
33338 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
33340 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33342 (_IO_old_file_init_internal): Drop SHARED conditional because it
33343 is implied by SHLIB_COMPAT.
33344 (_IO_old_file_fopen): Call __open directly.
33345 (_IO_old_file_sync): Assume ESPIPE is defined.
33346 (_IO_old_file_write): Call __write directly.
33347 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
33348 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
33349 Call __fcntl directly.
33350 * libio/oldiofgetpos.c: Assume weak_alias is defined.
33351 (_IO_old_fgetpos): Assume EIO is defined.
33352 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
33353 (_IO_old_fgetpos64): Assume EIO is defined.
33354 * libio/oldiofsetpos.c: Assume weak_alias is defined.
33355 (_IO_old_fsetpos): Assume EIO is defined.
33356 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
33357 (_IO_old_fsetpos64): Assume EIO is defined.
33358 * libio/oldiopopen.c: Assume _LIBC is defined.
33359 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33360 (_IO_close): Remove macro definitions.
33361 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
33363 (_IO_old_proc_close): Call __close, __waitpid directly.
33364 * libio/put.c: Assume weak_alias is defined.
33365 * libio/stdfiles.c: Assume _LIBC is defined.
33366 * libio/stdio.c: Likewise.
33367 * libio/wfileops.c: Likewise.
33368 (_IO_wfile_sync): Assume ESPIPE is defined.
33369 * libio/wgenops.c: Assume _LIBC is defined.
33370 (save_for_wbackup): Remove internal_function.
33372 2017-08-31 Florian Weimer <fweimer@redhat.com>
33374 * malloc/malloc.c (top_check): Change return type to void. Remove
33376 * malloc/hooks.c (top_check): Likewise.
33377 (malloc_check, realloc_check, memalign_check): Adjust.
33379 2017-08-30 Joseph Myers <joseph@codesourcery.com>
33382 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33383 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
33384 sigcontext and namespace requirements.
33385 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33386 * sysdeps/m68k/sys/ucontext.h: Likewise.
33387 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
33388 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
33389 <bits/sigcontext.h>.
33390 (__ctx): Define earlier.
33391 (mcontext_t): Define structure contents rather than using struct
33393 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
33394 __glibc_reserved1 instead of __reserved.
33395 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
33396 <bits/sigcontext.h>.
33397 (__ctx): Define earlier.
33398 (mcontext_t): Define structure contents rather than using struct
33400 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
33401 mcontext_t instead of struct sigcontext.
33402 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
33403 <bits/sigcontext.h>.
33404 (__ctx): Define earlier.
33405 (mcontext_t): Define structure contents rather than using struct
33407 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
33408 <bits/sigcontext.h>.
33409 (__ctx): Define earlier.
33410 (mcontext_t): Define structure contents rather than using struct
33412 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
33413 mcontext_t instead of struct sigcontext.
33414 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
33415 mcontext_t instead of struct sigcontext.
33416 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
33417 <bits/sigcontext.h>.
33418 (__ctx): New macro.
33419 (struct __ia64_fpreg_mcontext): New type.
33420 (mcontext_t): Define structure contents rather than using struct
33422 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
33423 (uc_sigmask): Define using __ctx.
33424 (uc_stack): Likewise.
33425 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
33426 <bits/sigcontext.h>.
33427 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33428 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
33429 <bits/sigcontext.h>.
33430 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
33431 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
33432 <bits/sigcontext.h>.
33433 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
33434 <bits/sigcontext.h>.
33435 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
33436 <bits/sigcontext.h>.
33437 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
33438 <bits/sigcontext.h>.
33439 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
33440 <bits/sigcontext.h>.
33441 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
33442 <bits/sigcontext.h>.
33443 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
33444 <bits/sigcontext.h>.
33445 (__ctx): Define earlier.
33446 (mcontext_t): Define structure contents rather than using struct
33448 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
33449 <bits/sigcontext.h>. Include <bits/types.h>.
33450 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
33451 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
33452 (test-xfail-XPG42/ucontext.h/conform): Likewise.
33453 (test-xfail-UNIX98/signal.h/conform): Likewise.
33454 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33455 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33456 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33457 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33458 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33459 (test-xfail-POSIX2008/signal.h/conform): Likewise.
33460 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33461 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33462 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33464 2017-08-30 Florian Weimer <fweimer@redhat.com>
33466 * malloc/dynarray_emplace_enlarge.c
33467 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
33468 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
33469 * malloc/tst-dynarray.c (test_long_overflow): New function.
33470 (do_test): Call it.
33472 2017-08-30 Florian Weimer <fweimer@redhat.com>
33474 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
33475 (set_arena_corrupt): Remove definitions.
33476 (mtrim): Do not check for corrupt arena.
33477 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
33480 2017-08-30 Florian Weimer <fweimer@redhat.com>
33483 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
33485 (ptmalloc_init): Do not set or use check_action.
33486 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
33487 call to malloc_printerr. Remove return statement.
33488 (free_check): Likewise. Remove arena unlock.
33489 (top_check): Update comment. Adjust call to malloc_printerr.
33490 Remove heap repair code.
33491 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
33492 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
33493 (sysmalloc): Adjust call to malloc_printerr.
33494 (munmap_chunk, __libc_realloc): Likewise. Remove return
33496 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
33497 Remove errout label and corresponding gotos.
33498 (_int_free): Likewise. Remove arena unlock.
33499 (do_set_mallopt_check): Do not set check_action.
33500 (malloc_printerr): Adjust parameter list. Do not mark arena as
33502 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
33504 * manual/probes.texi (Memory Allocation Probes): Remove
33505 memory_mallopt_check_action.
33507 2017-08-30 Steve Ellcey <sellcey@cavium.com>
33509 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
33510 Use pointer to uint64_t instead of long int for sp.
33512 2017-08-30 Florian Weimer <fweimer@redhat.com>
33515 * malloc/malloc.c (malloc_printerr): Always terminate the process,
33516 without printing a backtrace. Do not leak any information in the
33518 * manual/memory.texi (Heap Consistency Checking): Update.
33519 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
33521 2017-08-30 Florian Weimer <fweimer@redhat.com>
33523 Do not scale NPTL tests with available number of CPUs.
33524 * nptl/tst-cond16.c (count): Set to constant value of 8.
33525 * nptl/tst-cond18.c (count): Likewise.
33527 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33530 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
33531 Define to take a second argument that is a macro that
33532 concatentates a suffix, not the suffix itself.
33533 (__CONCAT_d): New macro.
33534 (__CONCAT_f): Likewise.
33535 (__CONCAT_l): Likewise.
33537 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
33539 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
33542 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33543 Aurelien Jarno <aurelien@aurel32.net>
33544 Maciej W. Rozycki <macro@imgtec.com>
33547 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
33548 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
33549 `mips16-syscall6' and `mips16-syscall7'.
33550 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
33551 (CFLAGS-mips16-syscall7.c): Remove.
33552 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
33553 Remove `__mips16_syscall5', `__mips16_syscall6' and
33554 `__mips16_syscall7'.
33555 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
33556 (__mips16_syscall0): Rename `__mips16_syscall_return' to
33557 `__mips_syscall_return'.
33558 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
33559 (__mips16_syscall1): Likewise.
33560 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
33561 (__mips16_syscall2): Likewise.
33562 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
33563 (__mips16_syscall3): Likewise.
33564 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
33565 (__mips16_syscall4): Likewise.
33566 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
33568 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
33570 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
33572 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
33573 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
33574 `__mips16_syscall5'. Remove prototype.
33575 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
33576 `__mips16_syscall6'. Remove prototype.
33577 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
33578 `__mips16_syscall7'. Remove prototype.
33579 (__nomips16, __mips16_syscall_return): Move to...
33580 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
33581 (__nomips16, __mips_syscall_return): ... here.
33582 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
33583 `__mips16_syscall_return' to `__mips_syscall_return'.
33584 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
33585 `internal_syscall##nr'.
33586 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
33587 `internal_syscall##nr'.
33588 (FORCE_FRAME_POINTER): Remove.
33589 (__mips_syscall5): New prototype.
33590 (internal_syscall5): Rewrite to call `__mips_syscall5'.
33591 (__mips_syscall6): New prototype.
33592 (internal_syscall6): Rewrite to call `__mips_syscall6'.
33593 (__mips_syscall7): New prototype.
33594 (internal_syscall7): Rewrite to call `__mips_syscall7'.
33595 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
33596 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
33597 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
33598 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
33599 (sysdep_routines): Add libc-do-syscall.
33600 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
33601 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
33603 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33606 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
33607 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
33608 (advise_stack_range): New function.
33609 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
33610 stack non required to advise_stack_range at allocatestack.c
33612 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33614 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
33616 2017-08-29 Florian Weimer <fweimer@redhat.com>
33619 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
33620 __end_fct. Mangle __end_fct after setting it to NULL.
33621 * iconv/Makefile (tests): Add tst-gconv-init-failure.
33622 (modules-names, modules-names-tests): Add
33623 tst-gconv-init-failure-mod.
33624 (gconv-modules): New target.
33625 (tst-gconv-init-failure-mod.so): Link against libsupport.
33626 (tst-gconv-init-failure): Depend on gconv-modules,
33627 tst-gconv-init-failure-mod.so.
33628 * iconv/tst-gconv-init-failure-mod.c: New file.
33629 * iconv/tst-gconv-init-failure.c: Likewise.
33630 * iconv/test-gconv-modules: Likewise.
33632 2017-08-29 Florian Weimer <fweimer@redhat.com>
33635 * iconv/gconv_db.c (free_derivation): Remove redundant
33637 (gen_steps): Unconditionally mangle __btowc_fct after
33639 (increment_counter): Likewise. Do not call init_fct for internal
33642 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33645 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33646 (_MSUF_): Remove macro.
33647 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
33649 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33650 (__REDIRFROM_X): New macro.
33651 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
33653 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
33654 (__REDIRTO_X): Likewise.
33655 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
33657 (__MATH_REDIRCALL_2): Likewise.
33658 (__MATH_REDIRCALL_INTERNAL): Likewise.
33659 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33660 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
33661 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
33662 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33663 * math/test-finite-macros.c: New file.
33664 * math/Makefile (tests): Add test-finite-macros.
33665 (CFLAGS-test-finite-macros.c): New variable.
33667 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
33668 Jeff Law <law@redhat.com>
33671 Mangle NULL pointers in iconv/gconv.
33672 * iconv/gconv_cache.c (find_module): Demangle init_fct before
33673 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
33674 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
33675 is non-NULL before demangling the end_fct. Check for NULL
33676 end_fct after demangling.
33677 (__gconv_release_step): Demangle the end_fct before checking
33678 it for NULL. Remove assert on __shlibc_handle != NULL.
33679 (gen_steps): Don't check btowc_fct for NULL before mangling.
33680 Demangle init_fct before checking for NULL.
33681 (increment_counter): Likewise.
33682 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
33683 end_fct for NULL before mangling.
33684 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
33687 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
33690 * locale/iso-639.def: add Morisyen.
33692 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33695 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
33696 (iszero): New C++ implementation that does not use
33697 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
33698 signaling nans are enabled, since __builtin_types_compatible_p
33699 is a C-only feature.
33700 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
33701 defined, include ieee754_float128.h for access to the union and
33702 member ieee854_float128.ieee.
33703 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
33704 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
33705 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33706 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
33707 options of test-math-zero on powerpc64le.
33709 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
33711 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
33712 Change double to float.
33714 2017-08-28 Joseph Myers <joseph@codesourcery.com>
33716 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
33718 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
33719 conditional code; define contents only for [LIBM_SVID_COMPAT].
33721 2017-08-28 Florian Weimer <fweimer@redhat.com>
33723 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
33724 (abi-lp64_be-options): Remove.
33725 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
33726 (abi-hard-options): Likewise.
33727 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
33728 (abi-o32_hard-options, abi-o32_soft_2008-options)
33729 (abi-o32_hard_2008-options, abi-n32_soft-options)
33730 (abi-n32_hard-options, abi-n32_soft_2008-options)
33731 (abi-n32_hard_2008-options, abi-n64_soft-options)
33732 (abi-n64_hard-options, abi-n64_soft_2008-options)
33733 (abi-n64_hard_2008-options): Likewise.
33734 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
33735 (abi-64-v1-options, abi-64-v2-options): Likewise.
33736 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
33737 (abi-64-options): Likewise.
33738 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
33739 (abi-64-options): Likewise.
33740 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
33741 (abi-64-options): Likewise.
33742 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
33743 (abi-64-options, abi-x32-options): Likewise.
33745 2017-08-28 Florian Weimer <fweimer@redhat.com>
33747 Store supported list of SYS_* system calls in the source tree.
33748 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
33749 (bits/syscall.h): Generate from list file.
33750 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
33751 [$(subdir) = misc] (tests): Add tst-syscall-list.
33752 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
33753 [$(subdir) = misc] (tst-syscall-list-macros.list)
33754 [$(subdir) = misc] (tst-syscall-list-nr.list)
33755 (tst-syscall-list-sys.list): Helper targets for new
33756 tst-syscall-list test.
33757 [$(subdir) = misc] (tst-syscall-list.out): Run test script
33758 tst-syscall-list.sh.
33759 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
33760 target. Do not include bits/syscall.d.
33761 [$(subdir) = misc] (generated): Do not update.
33762 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
33763 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
33764 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
33765 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
33767 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
33769 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
33770 (tst-cxa_atexit, tst-on_exit): Likewise.
33771 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
33772 tst-cxa_atexit, and tst-on_exit.
33773 * stdlib/tst-atexit-common.c: New file.
33774 * stdlib/tst-atexit.c: New file.
33775 * stdlib/tst-at_quick_exit.c: New file.
33776 * stdlib/tst-cxa_atexit.c: New file.
33777 * stdlib/tst-on_exit.c: New file.
33779 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33781 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
33782 * mach/stack_chk_fail_local.c: New file.
33783 * hurd/stack_chk_fail_local.c: New file.
33784 * mach/Machrules ($(interface-library)-routines): Add
33785 stack_chk_fail_local.
33786 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
33787 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
33788 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
33789 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
33790 * hurd/Makefile (CFLAGS-hurdstartup.o,
33791 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
33793 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
33795 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33796 (index_cpu_*, index_arch_*): Removed.
33798 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33800 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
33801 Use uint64_t instead of unsigned long.
33803 2017-08-25 Joseph Myers <joseph@codesourcery.com>
33805 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
33806 [__HAVE_DISTINCT_FLOAT128].
33808 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
33809 of <bits/math-finite.h>.
33810 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
33811 inclusion of <bits/math-finite.h>.
33812 * math/bits/math-finite.h (__REDIRTO_X): Do not define
33813 conditionally on [__MATH_DECLARING_LDOUBLE && defined
33814 __NO_LONG_DOUBLE_MATH].
33815 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
33816 (__MATH_REDIRCALL_2): Likewise.
33817 (__MATH_REDIRCALL_INTERNAL): Likewise.
33818 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33819 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
33820 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
33824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
33826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
33828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
33830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
33832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
33834 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33835 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33836 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33837 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
33839 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
33840 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
33841 w_sqrtf_compat-ppc32.
33843 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33845 * math/math.h [defined __cplusplus] (issignaling): In the long
33846 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
33847 is not defined. Call __issignaling, otherwise.
33849 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33851 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
33852 syscall definitions and replace __builtin_expect with __glibc_likely.
33853 * sysdeps/unix/syscall-template.S: Update comment about cancellable
33855 (SYSCALL_CANCELLABLE): Removedefinition
33856 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
33858 (PSEUDO_END): Likewise.
33859 [IS_IN (libpthread)] (CENABLE): Likewise.
33860 [IS_IN (libpthread)] (CDISABLE): Likewise.
33861 [IS_IN (libc)] (CENABLE): Likewise.
33862 [IS_IN (libc)] (CENABLE): Likewise.
33863 [IS_IN (librt)] (CDISABLE): Likewise.
33864 [IS_IN (librt)] (CDISABLE): Likewise.
33865 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33866 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
33868 (PSEUDO_END): Likewise.
33869 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
33870 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
33871 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33872 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33873 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33874 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33875 (CENABLE): Likewise.
33876 (CDISABLE): Likewise.
33877 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33878 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
33880 (PSEUDO_END): Likewise.
33881 [IS_IN (libpthread)] (CENABLE): Likewise.
33882 [IS_IN (libpthread)] (CDISABLE): Likewise.
33883 [IS_IN (libc)] (CENABLE): Likewise.
33884 [IS_IN (libc)] (CENABLE): Likewise.
33885 [IS_IN (librt)] (CDISABLE): Likewise.
33886 [IS_IN (librt)] (CDISABLE): Likewise.
33887 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33888 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
33890 (PSEUDO_END): Likewise.
33891 [IS_IN (libpthread)] (CENABLE): Likewise.
33892 [IS_IN (libpthread)] (CDISABLE): Likewise.
33893 [IS_IN (libc)] (CENABLE): Likewise.
33894 [IS_IN (libc)] (CENABLE): Likewise.
33895 [IS_IN (librt)] (CDISABLE): Likewise.
33896 [IS_IN (librt)] (CDISABLE): Likewise.
33897 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33898 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
33900 (PSEUDO_END): Likewise.
33901 [IS_IN (libpthread)] (CENABLE): Likewise.
33902 [IS_IN (libpthread)] (CDISABLE): Likewise.
33903 [IS_IN (libc)] (CENABLE): Likewise.
33904 [IS_IN (libc)] (CENABLE): Likewise.
33905 [IS_IN (librt)] (CDISABLE): Likewise.
33906 [IS_IN (librt)] (CDISABLE): Likewise.
33907 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33908 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
33910 (PSEUDO_END): Likewise.
33911 [IS_IN (libpthread)] (CENABLE): Likewise.
33912 [IS_IN (libpthread)] (CDISABLE): Likewise.
33913 [IS_IN (libc)] (CENABLE): Likewise.
33914 [IS_IN (libc)] (CENABLE): Likewise.
33915 [IS_IN (librt)] (CDISABLE): Likewise.
33916 [IS_IN (librt)] (CDISABLE): Likewise.
33917 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33918 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
33920 (PSEUDO_END): Likewise.
33921 [IS_IN (libpthread)] (CENABLE): Likewise.
33922 [IS_IN (libpthread)] (CDISABLE): Likewise.
33923 [IS_IN (libc)] (CENABLE): Likewise.
33924 [IS_IN (libc)] (CENABLE): Likewise.
33925 [IS_IN (librt)] (CDISABLE): Likewise.
33926 [IS_IN (librt)] (CDISABLE): Likewise.
33927 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33928 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
33930 (PSEUDO_END): Likewise.
33931 [IS_IN (libpthread)] (CENABLE): Likewise.
33932 [IS_IN (libpthread)] (CDISABLE): Likewise.
33933 [IS_IN (libc)] (CENABLE): Likewise.
33934 [IS_IN (libc)] (CENABLE): Likewise.
33935 [IS_IN (librt)] (CDISABLE): Likewise.
33936 [IS_IN (librt)] (CDISABLE): Likewise.
33937 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33938 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
33940 (PSEUDO_END): Likewise.
33941 [IS_IN (libpthread)] (CENABLE): Likewise.
33942 [IS_IN (libpthread)] (CDISABLE): Likewise.
33943 [IS_IN (libc)] (CENABLE): Likewise.
33944 [IS_IN (libc)] (CENABLE): Likewise.
33945 [IS_IN (librt)] (CDISABLE): Likewise.
33946 [IS_IN (librt)] (CDISABLE): Likewise.
33947 (SINGLE_THREAD_P): Likewise.
33948 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
33950 (PSEUDO_END): Likewise.
33951 [IS_IN (libpthread)] (CENABLE): Likewise.
33952 [IS_IN (libpthread)] (CDISABLE): Likewise.
33953 [IS_IN (libc)] (CENABLE): Likewise.
33954 [IS_IN (libc)] (CENABLE): Likewise.
33955 [IS_IN (librt)] (CDISABLE): Likewise.
33956 [IS_IN (librt)] (CDISABLE): Likewise.
33957 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33958 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
33960 (PSEUDO_END): Likewise.
33961 [IS_IN (libpthread)] (CENABLE): Likewise.
33962 [IS_IN (libpthread)] (CDISABLE): Likewise.
33963 [IS_IN (libc)] (CENABLE): Likewise.
33964 [IS_IN (libc)] (CENABLE): Likewise.
33965 [IS_IN (librt)] (CDISABLE): Likewise.
33966 [IS_IN (librt)] (CDISABLE): Likewise.
33967 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33968 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
33969 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33970 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
33971 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
33973 (PSEUDO_END): Likewise.
33974 [IS_IN (libpthread)] (CENABLE): Likewise.
33975 [IS_IN (libpthread)] (CDISABLE): Likewise.
33976 [IS_IN (libc)] (CENABLE): Likewise.
33977 [IS_IN (libc)] (CENABLE): Likewise.
33978 [IS_IN (librt)] (CDISABLE): Likewise.
33979 [IS_IN (librt)] (CDISABLE): Likewise.
33980 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33981 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
33983 (PSEUDO_END): Likewise.
33984 [IS_IN (libpthread)] (CENABLE): Likewise.
33985 [IS_IN (libpthread)] (CDISABLE): Likewise.
33986 [IS_IN (libc)] (CENABLE): Likewise.
33987 [IS_IN (libc)] (CENABLE): Likewise.
33988 [IS_IN (librt)] (CDISABLE): Likewise.
33989 [IS_IN (librt)] (CDISABLE): Likewise.
33990 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33991 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
33993 (PSEUDO_END): Likewise.
33994 [IS_IN (libpthread)] (CENABLE): Likewise.
33995 [IS_IN (libpthread)] (CDISABLE): Likewise.
33996 [IS_IN (libc)] (CENABLE): Likewise.
33997 [IS_IN (libc)] (CENABLE): Likewise.
33998 [IS_IN (librt)] (CDISABLE): Likewise.
33999 [IS_IN (librt)] (CDISABLE): Likewise.
34000 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34001 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
34002 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34003 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
34004 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
34006 (PSEUDO_END): Likewise.
34007 [IS_IN (libpthread)] (CENABLE): Likewise.
34008 [IS_IN (libpthread)] (CDISABLE): Likewise.
34009 [IS_IN (libc)] (CENABLE): Likewise.
34010 [IS_IN (libc)] (CENABLE): Likewise.
34011 [IS_IN (librt)] (CDISABLE): Likewise.
34012 [IS_IN (librt)] (CDISABLE): Likewise.
34013 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34014 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
34016 (PSEUDO_END): Likewise.
34017 [IS_IN (libpthread)] (CENABLE): Likewise.
34018 [IS_IN (libpthread)] (CDISABLE): Likewise.
34019 [IS_IN (libc)] (CENABLE): Likewise.
34020 [IS_IN (libc)] (CENABLE): Likewise.
34021 [IS_IN (librt)] (CDISABLE): Likewise.
34022 [IS_IN (librt)] (CDISABLE): Likewise.
34023 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34025 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
34027 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
34029 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34031 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34033 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34036 * string/stratcliff.c (do_test): Declare size, nchars, inner,
34037 middle and outer with size_t instead of int. Repleace %d and
34038 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
34039 "MAX (outer, nchars - 64)" to support unsigned outer and
34040 nchars. Also exit loop when outer == 0.
34042 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34044 * include/fcntl.h (__fcntl_nocancel): Remove definition.
34045 * include/signal.h (__sigsuspend_nocancel): Likewise.
34046 * include/time.h (__nanosleep_nocancel): Likewise.
34047 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
34048 * login/utmp_file.c: Include non cancellable syscall header.
34049 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
34052 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34054 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
34055 .byte sequences with AVX512F instructions.
34056 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
34057 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
34058 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
34059 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
34061 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
34064 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
34065 Steve Ellcey <sellcey@cavium.com>
34067 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
34068 Use PTR_REG macro in cmp instruction.
34070 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34072 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
34073 Change the return type of the ifunc resolver to match the return
34074 type of the target function.
34076 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34078 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
34079 (preadv64): Likewise.
34080 (pwrite64(: Likewise.
34081 (pwritev64): Likewise.
34083 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34084 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
34085 (LOAD_ARGS_0): Likewise.
34086 (LOAD_ARGS_1): Likewise.
34087 (LOAD_ARGS_2): Likewise.
34088 (LOAD_ARGS_3): Likewise.
34089 (LOAD_ARGS_4): Likewise.
34090 (LOAD_ARGS_5): Likewise.
34091 (LOAD_ARGS_6): Likewise.
34092 (LOAD_REGS_0): Likewise.
34093 (LOAD_REGS_1): Likewise.
34094 (LOAD_REGS_2): Likewise.
34095 (LOAD_REGS_3): Likewise.
34096 (LOAD_REGS_4): Likewise.
34097 (LOAD_REGS_5): Likewise.
34098 (LOAD_REGS_6): Likewise.
34099 (ASM_ARGS_0): Likewise.
34100 (ASM_ARGS_1): Likewise.
34101 (ASM_ARGS_2): Likewise.
34102 (ASM_ARGS_3): Likewise.
34103 (ASM_ARGS_4): Likewise.
34104 (ASM_ARGS_5): Likewise.
34105 (ASM_ARGS_6): Likewise.
34106 (LOAD_ARGS_TYPES_1): Likewise.
34107 (LOAD_ARGS_TYPES_2): Likewise.
34108 (LOAD_ARGS_TYPES_3): Likewise.
34109 (LOAD_ARGS_TYPES_4): Likewise.
34110 (LOAD_ARGS_TYPES_5): Likewise.
34111 (LOAD_ARGS_TYPES_6): Likewise.
34112 (LOAD_REGS_TYPES_1): Likewise.
34113 (LOAD_REGS_TYPES_2): Likewise.
34114 (LOAD_REGS_TYPES_3): Likewise.
34115 (LOAD_REGS_TYPES_4): Likewise.
34116 (LOAD_REGS_TYPES_5): Likewise.
34117 (LOAD_REGS_TYPES_6): Likewise.
34118 (TYPEFY): New define.
34119 (ARGIFY): Likewise.
34120 (internal_syscall0): Likewise.
34121 (internal_syscall1): Likewise.
34122 (internal_syscall2): Likewise.
34123 (internal_syscall3): Likewise.
34124 (internal_syscall4): Likewise.
34125 (internal_syscall5): Likewise.
34126 (internal_syscall6): Likewise.
34127 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
34128 (INTERNAL_SYSCALL_NCS): Remove define.
34129 (internal_syscall1): Add define.
34131 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34133 * math/w_remainder_compat.c: Remove duplicate inclusion of
34134 math-svid-compat.h.
34135 * math/w_remainderf_compat.c: Likewise.
34136 * math/w_remainderl_compat.c: Likewise.
34138 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34142 2017-08-22 Joseph Myers <joseph@codesourcery.com>
34145 * math/tgmath.h (__floating_type): Simplify definitions.
34146 (__real_integer_type): New macro.
34147 (__complex_integer_type): Likewise.
34148 (__expr_is_real): Likewise.
34149 (__tgmath_real_type_sub): Update comment to describe handling of
34151 (__tgmath_complex_type_sub): New macro.
34152 (__tgmath_complex_type): Likewise.
34153 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34154 (__TGMATH_CF128): Use __expr_is_real.
34155 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
34157 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34158 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
34159 * math/gen-tgmath-tests.py (Type.create_type): Create complex
34162 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34164 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
34166 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
34168 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
34171 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
34172 nanosleep_not_cancel with __nanosleep_nocancel.
34173 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
34174 (__nanosleep_nocancel): New macro.
34175 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
34177 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
34179 (__nanosleep_nocancel): New prototype.
34181 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
34182 pause_not_cancel with __pause_nocancel.
34183 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
34184 (__pause_nocancel): New macro.
34185 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
34187 (__pause_nocancel): New prototype.
34188 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
34190 2017-08-22 Martin Sebor <msebor@redhat.com>
34192 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
34193 to return a pointer to the same type as the target function.
34195 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34199 * include/printf.h (__printf_fphex): Add attribute_hidden.
34200 (__guess_grouping): New prototype.
34201 * stdio-common/printf_fp.c (__guess_grouping): Removed.
34202 * stdio-common/reg-printf.c (__register_printf_specifier): Add
34203 libc_hidden_proto and libc_hidden_def.
34204 * stdlib/strfmon_l.c (__guess_grouping): Removed.
34205 (__vstrfmon_l): Remove the third argument passed to
34208 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34210 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
34211 definition for issignaling that does not rely on __MATH_TG,
34212 since __MATH_TG uses __builtin_types_compatible_p, which is only
34213 available in C mode.
34214 (CFLAGS-test-math-issignaling.cc): New variable.
34215 * math/Makefile [CXX] (tests): Add test-math-issignaling.
34216 * math/test-math-issignaling.cc: New test for C++ implementation
34217 of type-generic issignaling.
34218 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34219 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
34220 options of test-math-issignaling on powerpc64le.
34222 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34224 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34226 (hidden_proto): Likewise.
34227 (hidden_tls_proto): Likewise.
34228 (__hidden_proto): Likewise.
34230 2017-08-22 Florian Weimer <fweimer@redhat.com>
34232 math: Statically link tests of internal functionality.
34233 * math/Makefile (tests): Remove atest-exp, atest-sincos,
34235 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
34236 (gmp-objs): Remove assignment.
34237 (atest-exp, atest-sincos, atest-exp2): Remove targets.
34239 2017-08-22 Joseph Myers <joseph@codesourcery.com>
34242 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
34244 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
34246 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
34249 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
34250 variable definitions above inclusion of ../Rules.
34252 2017-08-21 Joseph Myers <joseph@codesourcery.com>
34254 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
34255 case calling __builtin_unreachable.
34257 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34259 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
34260 __waitpid_nocancel.
34261 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
34262 (__waitpid_nocancel): New macro.
34263 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
34265 (__waitpid_nocancel): Replace macro with a function.
34266 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
34269 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
34271 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
34272 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
34274 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
34275 __writev_nocancel_nostatus.
34276 (write_call_graph): Likewise.
34277 (write_bb_counts): Likewise.
34278 * resolv/herror.c (herror): Likewise.
34279 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
34281 (__writev_nocancel_nostatus): New macro.
34282 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
34284 (__writev_nocancel_nostatus): New function.
34286 2017-08-21 Joseph Myers <joseph@codesourcery.com>
34289 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34291 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34293 (hidden_proto): Likewise.
34294 (hidden_tls_proto): Likewise.
34295 (__hidden_proto): Likewise.
34298 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
34299 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
34304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
34308 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
34309 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34310 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34311 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34312 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
34313 GLIBC_2.0 sqrtl symbol.
34315 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
34316 [__USE_MISC] (_LIB_VERSION): Likewise.
34317 [__USE_MISC] (struct exception): Likewise.
34318 [__USE_MISC] (matherr): Likewise.
34319 [__USE_MISC] (DOMAIN): Likewise.
34320 [__USE_MISC] (SING): Likewise.
34321 [__USE_MISC] (OVERFLOW): Likewise.
34322 [__USE_MISC] (UNDERFLOW): Likewise.
34323 [__USE_MISC] (TLOSS): Likewise.
34324 [__USE_MISC] (PLOSS): Likewise.
34325 [__USE_MISC] (HUGE): Likewise.
34326 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
34327 * math/math-svid-compat.h: New file.
34328 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
34330 * include/math.h [!_ISOMAC] (__matherr): Remove.
34331 * manual/arith.texi (FP Exceptions): Do not document matherr.
34332 * math/Makefile (tests): Change test-matherr to test-matherr-3.
34333 (tests-internal): New variable.
34334 (install-lib): Do not add libieee.a.
34335 (non-lib.a): Likewise.
34336 (extra-objs): Do not add libieee.a and ieee-math.o.
34337 (CPPFLAGS-s_lib_version.c): Remove variable.
34338 ($(objpfx)libieee.a): Remove rule.
34339 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
34340 * math/ieee-math.c: Remove.
34341 * math/libm-test-support.c (matherr): Remove.
34342 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
34343 and license notices. Include <math-svid-compat.h> and
34345 (matherr): Undefine as macro. Use compat_symbol_reference.
34346 (_LIB_VERSION): Likewise.
34347 * math/test-matherr-2.c: New file.
34348 * math/test-matherr-3.c: Likewise.
34349 * sysdeps/generic/math_private.h (__kernel_standard): Remove
34351 (__kernel_standard_f): Likewise.
34352 (__kernel_standard_l): Likewise.
34353 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
34354 <math_private.h>. Include <math-svid-compat.h>.
34355 (_LIB_VERSION): Undefine as macro.
34356 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
34357 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
34358 [LIBM_SVID_COMPAT], use compat_symbol.
34359 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
34360 <math_private.h>. Include <math-svid-compat.h>.
34361 (matherr): Undefine as macro.
34362 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
34364 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
34365 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
34366 compat_symbol_reference.
34367 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
34368 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
34369 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
34370 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
34371 (MATHERR_D): Remove declaration.
34372 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
34373 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
34374 [LIBM_BUILD] (pmatherrf): Likewise.
34375 [LIBM_BUILD] (pmatherr): Likewise.
34376 [LIBM_BUILD] (pmatherrl): Likewise.
34377 (DOMAIN): Likewise.
34379 (OVERFLOW): Likewise.
34380 (UNDERFLOW): Likewise.
34383 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
34384 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
34386 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
34387 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
34389 * math/lgamma-compat.h: Include <math-svid-compat.h>.
34390 * math/w_acos_compat.c: Likewise.
34391 * math/w_acosf_compat.c: Likewise.
34392 * math/w_acosh_compat.c: Likewise.
34393 * math/w_acoshf_compat.c: Likewise.
34394 * math/w_acoshl_compat.c: Likewise.
34395 * math/w_acosl_compat.c: Likewise.
34396 * math/w_asin_compat.c: Likewise.
34397 * math/w_asinf_compat.c: Likewise.
34398 * math/w_asinl_compat.c: Likewise.
34399 * math/w_atan2_compat.c: Likewise.
34400 * math/w_atan2f_compat.c: Likewise.
34401 * math/w_atan2l_compat.c: Likewise.
34402 * math/w_atanh_compat.c: Likewise.
34403 * math/w_atanhf_compat.c: Likewise.
34404 * math/w_atanhl_compat.c: Likewise.
34405 * math/w_cosh_compat.c: Likewise.
34406 * math/w_coshf_compat.c: Likewise.
34407 * math/w_coshl_compat.c: Likewise.
34408 * math/w_exp10_compat.c: Likewise.
34409 * math/w_exp10f_compat.c: Likewise.
34410 * math/w_exp10l_compat.c: Likewise.
34411 * math/w_exp2_compat.c: Likewise.
34412 * math/w_exp2f_compat.c: Likewise.
34413 * math/w_exp2l_compat.c: Likewise.
34414 * math/w_fmod_compat.c: Likewise.
34415 * math/w_fmodf_compat.c: Likewise.
34416 * math/w_fmodl_compat.c: Likewise.
34417 * math/w_hypot_compat.c: Likewise.
34418 * math/w_hypotf_compat.c: Likewise.
34419 * math/w_hypotl_compat.c: Likewise.
34420 * math/w_j0_compat.c: Likewise.
34421 * math/w_j0f_compat.c: Likewise.
34422 * math/w_j0l_compat.c: Likewise.
34423 * math/w_j1_compat.c: Likewise.
34424 * math/w_j1f_compat.c: Likewise.
34425 * math/w_j1l_compat.c: Likewise.
34426 * math/w_jn_compat.c: Likewise.
34427 * math/w_jnf_compat.c: Likewise.
34428 * math/w_jnl_compat.c: Likewise.
34429 * math/w_lgamma_main.c: Likewise.
34430 * math/w_lgamma_r_compat.c: Likewise.
34431 * math/w_lgammaf_main.c: Likewise.
34432 * math/w_lgammaf_r_compat.c: Likewise.
34433 * math/w_lgammal_main.c: Likewise.
34434 * math/w_lgammal_r_compat.c: Likewise.
34435 * math/w_log10_compat.c: Likewise.
34436 * math/w_log10f_compat.c: Likewise.
34437 * math/w_log10l_compat.c: Likewise.
34438 * math/w_log2_compat.c: Likewise.
34439 * math/w_log2f_compat.c: Likewise.
34440 * math/w_log2l_compat.c: Likewise.
34441 * math/w_log_compat.c: Likewise.
34442 * math/w_logf_compat.c: Likewise.
34443 * math/w_logl_compat.c: Likewise.
34444 * math/w_pow_compat.c: Likewise.
34445 * math/w_powf_compat.c: Likewise.
34446 * math/w_powl_compat.c: Likewise.
34447 * math/w_remainder_compat.c: Likewise.
34448 * math/w_remainderf_compat.c: Likewise.
34449 * math/w_remainderl_compat.c: Likewise.
34450 * math/w_scalb_compat.c: Likewise.
34451 * math/w_scalbf_compat.c: Likewise.
34452 * math/w_scalbl_compat.c: Likewise.
34453 * math/w_sinh_compat.c: Likewise.
34454 * math/w_sinhf_compat.c: Likewise.
34455 * math/w_sinhl_compat.c: Likewise.
34456 * math/w_sqrt_compat.c: Likewise.
34457 * math/w_sqrtf_compat.c: Likewise.
34458 * math/w_sqrtl_compat.c: Likewise.
34459 * math/w_tgamma_compat.c: Likewise.
34460 * math/w_tgammaf_compat.c: Likewise.
34461 * math/w_tgammal_compat.c: Likewise.
34462 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
34463 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34464 * sysdeps/ieee754/k_standard.c: Likewise.
34465 * sysdeps/ieee754/k_standardf.c: Likewise.
34466 * sysdeps/ieee754/k_standardl.c: Likewise.
34467 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34468 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34469 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34470 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34471 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34472 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34473 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34474 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
34475 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34480 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
34481 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34482 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34483 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34485 2017-08-21 Florian Weimer <fweimer@redhat.com>
34488 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
34489 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
34490 Move before inclusion of ../Rules.
34492 2017-08-21 Florian Weimer <fweimer@redhat.com>
34495 * assert/assert.h (assert): Use static_cast (bool) for C++.
34496 Use the ternary operator in the warning branch for GNU C.
34497 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
34498 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
34499 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
34500 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
34501 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
34503 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34506 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34507 (__syscall_clock_gettime): Add attribute_hidden.
34508 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
34509 (__start_context): Likewise.
34511 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34513 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34515 (hidden_proto): Likewise.
34516 (hidden_tls_proto): Likewise.
34517 (__hidden_proto): Likewise.
34519 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34521 * include/libc-symbols.h (attribute_hidden): Enable hidden
34522 visibility in libc.a compiled with PIE.
34524 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34527 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
34528 Add attribute_hidden.
34530 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34533 * Makerules (all-nonlib): Add $(others-extras).
34534 * catgets/Makefile (others-extras): New.
34535 * elf/Makefile (others-extras): Likewise.
34536 * nss/Makefile (others-extras): Likewise.
34538 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34541 * csu/libc-start.c (__libc_multiple_libcs): Removed.
34542 * elf/dl-open.c: Include <libc-internal.h>.
34543 (__libc_multiple_libcs): Removed.
34544 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
34546 * include/libc-internal.h (__libc_multiple_libcs): New.
34547 * misc/sbrk.c: Include <libc-internal.h>.
34548 (__libc_multiple_libcs): Removed.
34550 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34553 * grp/initgroups.c (__nss_group_database): Removed.
34554 (__nss_initgroups_database): Likewise.
34555 * nscd/gai.c (__nss_hosts_database): Likewise.
34556 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
34557 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
34558 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
34559 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
34560 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
34561 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
34563 * nss/nsswitch.c (__nss_database_custom): Define only if
34564 USE_NSCD is defined.
34565 (__nss_configure_lookup): Use __nss_database_custom only if
34566 USE_NSCD is defined.
34567 * nss/nsswitch.h (__nss_database_custom): Declare only if
34568 USE_NSCD is defined. Add attribute_hidden.
34569 (__nss_setent): Add attribute_hidden.
34570 (__nss_endent): Likewise.
34571 (__nss_getent_r): Likewise.
34572 (__nss_getent): Likewise.
34573 (DEFINE_DATABASE): Declare __nss_##arg##_database.
34575 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34578 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
34579 libc_hidden_proto and libc_hidden_def.
34581 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34584 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
34585 Add libc_hidden_proto.
34586 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
34587 Add libc_hidden_def.
34589 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34592 * gmon/Makefile (routines): Remove bb_init_func and
34594 (elide-routines.os): Removed.
34595 * gmon/bb_exit_func.c: Likewise.
34596 * gmon/bb_init_func.c: Likewise.
34597 * include/sys/gmon.h (__bb): Likewise.
34598 (__bb_init_func): Likewise.
34599 (__bb_exit_func): Likewise.
34600 * sysdeps/alpha/bb_init_func.S: Likewise.
34602 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34604 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
34605 * include/setjmp.h (____longjmp_chk): Here. Add
34608 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
34611 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
34613 (__strspn_sse2): Likewise.
34615 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34617 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
34618 (close_not_cancel_no_status): Likewise.
34619 (__close_nocancel): New macro.
34620 (__close_nocancel_nostatus): Likewise.
34621 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
34623 (close_not_cancel): Likewise.
34624 (close_not_cancel_no_status): Likewise.
34625 (__close_nocancel): New prototype.
34626 (__close_nocancel_nostatus): New function.
34627 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
34628 * catgets/open_catalog.c (__open_catalog): Replace
34629 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
34630 * gmon/gmon.c (write_gmon): Likewise.
34631 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34632 * intl/loadmsgcat.c (close): Likewise.
34633 * io/ftw.c (open_dir_stream): Likewise.
34634 (ftw_startup): Likewise.
34635 * libio/fileops.c (_IO_file_open): Likewise.
34636 (_IO_file_close_mmap): Likewise.
34637 (_IO_file_close): Likewise.
34638 * libio/iopopen.c (_IO_dup2): Likewise.
34639 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34640 * locale/loadlocale.c (_nl_load_locale): Likewise.
34641 * login/utmp_file.c (pututline_file): Likewise.
34642 (endutent_file): Likewise.
34643 * misc/daemon.c (daemon): Likewise.
34644 * nscd/nscd_getai.c (__nscd_getai): Likewise.
34645 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34646 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34647 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34648 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34649 * nscd/nscd_helper.c (open_socket): Likewise.
34650 (__nscd_open_socket): Likewise.
34651 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34652 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
34653 (__nscd_innetgr): Likewise.
34654 * nss/nss_db/db-open.c (internal_setent): Likewise.
34655 * resolv/res-close.c (__res_iclose): Likewise.
34656 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
34657 * sysdeps/posix/closedir.c (__closedir): Likewise.
34658 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
34659 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34660 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34661 (opendir_tail): Likewise.
34662 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34663 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
34664 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34665 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34666 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34667 (gethostid): Likewise.
34668 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34669 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34671 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34672 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
34673 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34674 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34676 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
34677 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
34678 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34680 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
34681 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34683 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34685 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34686 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34687 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34690 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
34691 (openat_not_cancel_3): Likewise.
34692 (openat64_not_cancel_3): Likewise).
34693 (openat_not_cancel_3): Likewise).
34694 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
34696 (openat_not_cancel_3): Likewise.
34697 (openat64_not_cancel): Likewise.
34698 (openat64_not_cancel_3): Likewise.
34699 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
34700 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
34701 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
34702 __open{64}_nocancel.
34703 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34704 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34705 * sysdeps/posix/opendir.c (__opendirat): Likewise.
34707 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34710 * include/argz.h (__argz_create_sep): New function prototype.
34711 (__argz_append): Likewise.
34712 (__argz_add): Likewise.
34713 (__argz_add_sep): Likewise.
34714 (__argz_delete): Likewise.
34715 (__argz_insert): Likewise.
34716 (__argz_replace): Likewise.
34717 * string/argz.h (__argz_create_sep): Removed.
34718 (__argz_append): Likewise.
34719 (__argz_add): Likewise.
34720 (__argz_add_sep): Likewise.
34721 (__argz_delete): Likewise.
34722 (__argz_insert): Likewise.
34723 (__argz_replace): Likewise.
34725 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34727 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
34728 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
34729 (GNU_PROPERTY_STACK_SIZE): Likewie.
34730 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
34731 (GNU_PROPERTY_LOPROC): Likewise.
34732 (GNU_PROPERTY_HIPROC): Likewise.
34733 (GNU_PROPERTY_LOUSER): Likewise.
34734 (GNU_PROPERTY_HIUSER): Likewise.
34735 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
34736 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
34737 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
34738 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
34739 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
34740 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
34741 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
34742 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
34743 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
34744 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
34745 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
34746 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
34747 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
34748 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
34749 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
34750 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
34751 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
34752 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
34753 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
34754 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
34755 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
34756 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
34757 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
34759 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34761 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
34764 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34767 * math/math.h (isinf): Check if in C or C++ mode before using
34768 __builtin_types_compatible_p, since this is a C mode feature.
34770 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34772 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
34773 (__write_nocancel): New macro.
34774 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
34775 Rewrite as a function prototype.
34776 (write_not_cancel): Remove macro.
34777 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
34778 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
34779 (write_gmon): Likewise.
34780 * libio/fileops.c (_IO_new_file_write): Likewise.
34781 * login/utmp_file.c (pututline_file): Likewise.
34782 (updwtmp_file): Likewise.
34783 * stdio-common/psiginfo.c (psiginfo): Likewise.
34784 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34785 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34786 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34788 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34791 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
34792 (__read_nocancel): New macro.
34793 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34795 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
34797 (__read_nocancel): New prototype.
34798 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
34799 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
34800 with __read_nocancel.
34801 * intl/loadmsgcat.c (read): Likewise.
34802 * libio/fileops.c (_IO_file_read): Likewise.
34803 * locale/loadlocale.c (_nl_load_locale): Likewise.
34804 * login/utmp_file.c (getutent_r_file): Likewise.
34805 (internal_getut_r): Likewise.
34806 (getutline_r_file): Likewise.
34807 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34808 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34809 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34810 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34812 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
34813 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34814 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34816 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34818 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34820 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34822 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34824 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34827 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
34828 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
34831 2017-08-17 DJ Delorie <dj@redhat.com>
34833 * bug17079.c: Update to new test harness.
34834 * test-digits-dots.c: Likewise.
34835 * test-netdb.c: Likewise.
34836 * tst-field.c: Likewise.
34837 * tst-nss-getpwent.c: Likewise.
34838 * tst-nss-static.c: Likewise.
34839 * tst-nss-test1.c: Likewise.
34840 * tst-nss-test2.c: Likewise.
34841 * tst-nss-test3.c: Likewise.
34842 * tst-nss-test4.c: Likewise.
34843 * tst-nss-test5.c: Likewise.
34845 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34847 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
34848 (open_not_cancel_2): Likewise.
34849 (open_nocancel): New macro.
34850 (open64_nocancel): Likewise.
34851 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
34852 (open_not_cancel_2): Likewise.
34853 (__open_nocancel): New prototype.
34854 (__open64_nocancel): Likewise.
34855 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34857 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
34858 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
34859 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
34860 with __open_nocancel.
34861 * csu/check_fds.c (check_one_fd): Likewise.
34862 * gmon/gmon.c (write_gmon): Likewise.
34863 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
34864 * intl/loadmsgcat.c (open): Likewise.
34865 * libio/fileops.c (_IO_file_open): Likewise.
34866 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34867 * locale/loadlocale.c (_nl_load_locale): Likewise.
34868 * login/utmp_file.c (setutent_file): Likewise.
34869 * misc/daemon.c (daemon): Likewise.
34870 * nss/nss_db/db-open.c (internal_setent): Likewise.
34871 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34872 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
34873 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34874 (__opendir): Likewise.
34875 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34876 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34877 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34878 (gethostid): Likewise.
34879 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34880 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34882 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34883 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
34884 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34885 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34887 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34889 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34891 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34893 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34895 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34897 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34898 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34900 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
34902 * benchtests/bench-skeleton.c (main): Add support for
34903 latency benchmarking.
34904 * benchtests/scripts/bench.py: Add support for latency benchmarking.
34906 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
34908 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
34909 the startup object.
34911 2017-08-17 Florian Weimer <fweimer@redhat.com>
34913 * include/sys/socket.h (__opensock): Remove internal_function.
34914 * socket/opensock.c (__opensock): Likewise.
34915 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
34917 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34920 * signal/bits/types/__sigval_t.h: New file.
34921 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
34922 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
34923 and define sigval_t using __sigval_t.
34924 * include/bits/types/__sigval_t.h: New file.
34925 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
34926 instead of <bits/types/__sigval_t.h>.
34927 (struct sigevent): Use __sigval_t instead of sigval_t.
34928 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
34929 instead of <bits/types/__sigval_t.h>.
34930 (siginfo_t): Use __sigval_t instead of sigval_t.
34931 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
34932 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34933 (struct sigevent): Use __sigval_t instead of sigval_t.
34934 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
34935 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34936 (siginfo_t): Use __sigval_t instead of sigval_t.
34937 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
34939 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34941 * NEWS: Remove "[Add new features here]" for 2.27.
34943 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34945 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
34948 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34950 * NEWS: Mention x86-64 FMA optimization.
34952 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34955 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34957 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
34958 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
34959 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
34961 2017-08-16 Andreas Schwab <schwab@suse.de>
34965 * elf/ldd.bash.in: Never run file directly.
34967 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
34970 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
34971 (L(SP_INF_0)): Likewise.
34973 2017-08-15 Florian Weimer <fweimer@redhat.com>
34975 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
34978 2017-08-15 Florian Weimer <fweimer@redhat.com>
34980 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
34981 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
34982 BROKEN_THREAD_SIGNALS code.
34983 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
34984 request_list): Remove caller_pid member used for
34985 BROKEN_THREAD_SIGNALS.
34986 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
34987 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34988 Remove BROKEN_THREAD_SIGNALS support.
34989 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
34990 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
34992 2017-08-15 Florian Weimer <fweimer@redhat.com>
34994 * gmon/Makefile (tests): Add tst-gmon.
34995 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
34997 (tests-special): Add tst-gmon-prof.out.
34998 (tst-gmon.out): Depend on clean-tst-gmon-data.
34999 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
35000 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
35001 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
35003 * aclocal.m4 (GPROF): Set and substitute.
35004 * config.amke.in (GPROF): Set.
35005 * configure: Regenerate.
35007 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
35009 * elf/elf.h A (NT_PPC_TAR): New macro.
35010 (NT_PPC_PPR): Likewise.
35011 (NT_PPC_DSCR): Likewise.
35012 (NT_PPC_EBB): Likewise.
35013 (NT_PPC_PMU): Likewise.
35014 (NT_PPC_TM_CGPR): Likewise.
35015 (NT_PPC_TM_CFPR): Likewise.
35016 (NT_PPC_TM_CVMX): Likewise.
35017 (NT_PPC_TM_CVSX): Likewise.
35018 (NT_PPC_TM_SPR): Likewise.
35019 (NT_PPC_TM_CTAR): Likewise.
35020 (NT_PPC_TM_CPPR): Likewise.
35021 (NT_PPC_TM_CDSCR): Likewise.
35023 2017-08-15 Florian Weimer <fweimer@redhat.com>
35025 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
35026 regparm (2) instead of internal_function.
35027 (_MCOUNT_DECL): Adjust.
35029 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
35031 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
35032 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
35034 2017-08-14 Joseph Myers <joseph@codesourcery.com>
35036 * conform/data/sys/wait.h-data (si_value): Do not expect for
35039 2017-08-14 Florian Weimer <fweimer@redhat.com>
35042 NSS: Create stubs for accidentally exported lookup functions.
35043 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
35044 Remove declaration.
35045 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
35046 (ether_hostton): Call __nss_ethers_lookup2 instead.
35047 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
35048 (ether_ntohost): Call __nss_ethers_lookup2 instead.
35049 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
35050 (setup): Call __nss_netgroup_lookup2 instead.
35051 * nss/Makefile (routines): Add compat-lookup.
35052 * nss/Versions (GLIBC_2.27): Add symbol version.
35053 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
35054 (DB_COMPAT_FCT): Remove.
35055 * nss/compat-lookup.c: New file.
35056 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
35057 from databases.def.
35058 * nss/service-lookup.c (NO_COMPAT): Remove definition.
35059 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
35060 (netname2user): Call __nss_publickey_lookup2 instead.
35061 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
35062 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
35065 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35066 Sergei Trofimovich <slyfox@inbox.ru>
35069 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
35070 Rename to MMAP2_PAGE_UNIT.
35071 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
35072 __OFF_T_MATCHES_OFF64_T is not defined.
35073 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
35075 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
35076 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
35078 2017-08-14 Florian Weimer <fweimer@redhat.com>
35080 i386: Do not set internal_function.
35081 * config.h.in (USE_REGPARMS, internal_function): Remove.
35082 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
35083 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
35085 2017-08-14 Florian Weimer <fweimer@redhat.com>
35087 * elf/dl-init.c (_dl_init): Remove internal_function.
35088 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
35089 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
35091 2017-08-14 Florian Weimer <fweimer@redhat.com>
35093 * elf/rtld.c (_dl_start): Remove internal_function.
35094 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
35097 2017-08-14 Florian Weimer <fweimer@redhat.com>
35099 * elf/dl-fini.c (_dl_fini): Remove internal_function
35100 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
35102 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
35104 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
35105 (bit_cpu_SHSTK): Likewise.
35106 (index_cpu_IBT): Likewise.
35107 (index_cpu_SHSTK): Likewise.
35108 (reg_IBT): Likewise.
35109 (reg_SHSTK): Likewise.
35110 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
35111 Handle index_cpu_IBT and index_cpu_SHSTK.
35113 2017-08-14 Mike FABIAN <mfabian@redhat.com>
35116 * po/fr.po: Fix spelling mistake.
35118 2017-08-13 Florian Weimer <fweimer@redhat.com>
35120 * elf/dl-addr.c (_dl_addr): Remove internal_function.
35121 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
35122 (_dl_catch_error, _dl_receive_error): Likewise.
35123 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
35124 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
35125 (_dl_deallocate_tls): Likewise.
35126 * include/dlfcn.h (_dl_addr): Likewise.
35127 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
35128 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
35129 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
35132 2017-08-13 Florian Weimer <fweimer@redhat.com>
35134 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
35135 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
35137 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
35139 2017-08-13 Florian Weimer <fweimer@redhat.com>
35141 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
35143 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
35144 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
35145 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
35146 internal_function from _dl_make_stack_executable_hook member.
35147 (_dl_make_stack_executable): Remove internal_function.
35148 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
35150 * sysdeps/unix/sysv/linux/dl-execstack.c
35151 (_dl_make_stack_executable): Likewise.
35153 2017-08-13 Florian Weimer <fweimer@redhat.com>
35155 * sysdeps/unix/sysv/linux/netlinkaccess.h
35156 (__netlink_assert_response): Remove internal_function.
35157 * sysdeps/unix/sysv/linux/netlink_assert_response.c
35158 (__netlink_assert_response): Likewise.
35160 2017-08-13 Florian Weimer <fweimer@redhat.com>
35162 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
35164 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
35166 2017-08-13 Florian Weimer <fweimer@redhat.com>
35168 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
35170 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
35171 * inet/netgroup.h (__internal_setnetgrent)
35172 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35173 * inet/getnetgrent_r.c (__internal_setnetgrent)
35174 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35175 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
35176 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
35177 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
35178 * nss/nsswitch.h (db_lookup_function): Likewise.
35180 2017-08-13 Florian Weimer <fweimer@redhat.com>
35182 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
35183 Remove internal_function.
35184 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
35185 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
35186 message argument on the stack.
35187 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
35190 2017-08-12 Mike FABIAN <mfabian@redhat.com>
35192 Adapt test case data to the changes in the thousands
35196 * localedata/tst-langinfo.sh: Adapt test case data.
35197 * stdlib/tst-strfmon_l.c: Likewise.
35198 * stdlib/tst-strtod4.c: Likewise.
35199 * stdlib/tst-strtod5i.c: Likewise.
35201 2017-08-11 Florian Weimer <fweimer@redhat.com>
35204 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
35205 Suppress pedantic warning resulting from statement expression.
35206 (__ASSERT_FUNCTION): Add missing __extension__.
35208 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
35210 * benchtests/bench-memmove-large.c: Print output in JSON
35212 * benchtests/bench-memmove.c: Likewise.
35214 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
35215 * benchtests/bench-memchr.c (do_one_test): Likewise.
35216 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
35217 * benchtests/bench-memcpy.c (do_one_test): Likewise.
35218 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
35219 * benchtests/bench-memmove.c (do_one_test): Likewise.
35220 * benchtests/bench-memset-large.c (do_one_test): Likewise.
35221 * benchtests/bench-memset.c (do_one_test): Likewise.
35222 * benchtests/bench-string.h (test_init): Remove memsets.
35224 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
35227 (Computing the Width of an Integer Data Type): Rename section to
35228 "Width of an Integer Type". Remove inaccurate statement regarding
35229 lack of C language facilities for determining width of integer
35230 types, and reorder content to improve flow and context of
35233 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
35235 * lang.texi (va_copy): Change standard from ISO to C99.
35236 (__va_copy): Add standard and header annotation.
35237 Update description for clarity of origins and current use.
35239 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35242 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
35243 xssqrtqp requires operands to be in Vector Registers
35244 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
35245 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
35246 (__ieee754_sqrtf128): Likewise.
35248 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
35250 * sysdeps/aarch64/memcmp.S (memcmp):
35251 Rewrite of optimized memcmp.
35253 2017-08-10 Florian Weimer <fweimer@redhat.com>
35255 Introduce ld.so exceptions.
35256 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
35257 (_dl_exception_create, _dl_exception_create_format)
35258 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
35259 (_dl_catch_exception): Declare.
35260 (_dl_catch_error): Update comment.
35261 * elf/dl-error-skeleton.c (struct catch): Replace objname,
35262 errstring, malloced members with exception member.
35263 (_dl_out_of_memory): Remove.
35264 (fatal_error): New function, extracted from _dl_signal_error.
35265 (_dl_signal_exception, _dl_signal_cexception): New functions.
35266 (_dl_signal_error): Call _dl_exception_create to allocate an
35268 (_dl_catch_exception): New function, based on _dl_catch_error.
35269 (_dl_catch_error): Implement using _dl_catch_exception.
35270 * elf/dl-exception.c: New file.
35271 * elf/Makefile (dl-routines): Add dl-exception.
35272 (elide-routines.os): Likewise.
35273 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
35274 _dl_exception_create_format, _dl_exception_free.
35275 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
35276 _dl_signal_exception.
35277 * elf/dl-lookup.c (make_string): Remove.
35278 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
35279 _dl_signal_cexception, _dl_exception_free.
35280 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
35281 _dl_signal_exception.
35282 * elf/dl-sym.c (do_sym): Likewise.
35283 * elf/dl-version.c (make_string): Remove.
35284 (match_symbol): Use _dl_exception_create_format,
35285 _dl_signal_cexception, _dl_exception_free.
35286 (_dl_check_map_versions): Likewise.
35287 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
35288 _dl_catch_exception.
35289 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
35290 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
35291 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
35292 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
35293 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
35294 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
35295 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
35296 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
35298 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
35299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
35301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
35303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
35305 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
35306 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
35307 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
35309 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
35311 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
35313 2017-08-10 Florian Weimer <fweimer@redhat.com>
35315 * inet/net-internal.h (__inet6_scopeid_pton): Remove
35316 attribute_hidden, internal_function.
35317 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
35320 2017-08-10 Florian Weimer <fweimer@redhat.com>
35322 * malloc/malloc.c (get_max_fast): Reimplement as an inline
35323 function which calls __builtin_unreachable.
35325 2017-08-10 Mike FABIAN <mfabian@redhat.com>
35327 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
35328 Indian monetary formatting
35329 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
35332 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
35334 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
35335 Fix typo in comment.
35338 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
35339 PTRACE_SEIZE_DEVEL): Remove.
35340 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
35341 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35342 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35343 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35344 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35346 2017-08-09 Joseph Myers <joseph@codesourcery.com>
35348 * posix/bits/types.h (__qaddr_t): Remove.
35351 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
35352 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35354 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
35355 (ucontext_t): Use __ctx with uc_flags.
35356 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
35357 (__ctxt): Likewise.
35358 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35360 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
35361 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35363 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
35364 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35366 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
35368 (ucontext_t): Use __ctx with uc_flags.
35369 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
35370 (ucontext_t): Use __ctx with uc_flags.
35371 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
35372 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
35373 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
35374 (ucontext_t): Use __ctx with uc_flags.
35375 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
35376 undefine further down.
35377 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35379 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
35380 undefine further down.
35381 (ucontext_t): Use __ctx with uc_flags.
35382 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
35383 undefine further down.
35384 (ucontext_t): Use __ctx with uc_flags.
35385 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
35386 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
35387 Rename uc_pad to __glibc_reserved1.
35388 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
35389 undefine further down.
35390 (ucontext_t): Use __ctx with uc_flags.
35391 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
35393 (ucontext_t): Use __ctx with uc_flags.
35394 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
35395 __ctx with uc_flags.
35396 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
35397 (ucontext_t): Use __ctx with uc_flags.
35398 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
35399 __ctx with uc_flags.
35401 2017-08-09 Florian Weimer <fweimer@redhat.com>
35404 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
35405 before early return.
35407 2017-08-09 Andreas Schwab <schwab@suse.de>
35410 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
35414 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
35415 tst-compat-forwarder.
35416 (modules-names): Add tst-compat-forwarder-mod.
35417 ($(objpfx)tst-compat-forwarder): Depend on
35418 $(objpfx)tst-compat-forwarder-mod.so.
35419 * nptl/tst-compat-forwarder.c: New file.
35420 * nptl/tst-compat-forwarder-mod.c: New file.
35422 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
35424 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
35427 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
35428 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
35430 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
35432 (__libc_ifunc_impl_list): Add __memcpy_falkor.
35433 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
35434 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
35435 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
35437 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
35440 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35443 * manual/setjmp.texi (getcontex): Document uc_stack value
35444 compatibility differences.
35446 2017-08-08 Joseph Myers <joseph@codesourcery.com>
35448 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
35449 (old_malloc_hook): Likewise.
35450 (old_memalign_hook): Likewise.
35451 (old_realloc_hook): Likewise.
35452 (struct hdr): Likewise.
35454 (freehook): Likewise.
35455 (mallochook): Likewise.
35456 (memalignhook): Likewise.
35457 (reallochook): Likewise.
35458 (mprobe): Likewise.
35459 * malloc/mtrace.c (mallwatch): Likewise.
35460 (tr_old_free_hook): Likewise.
35461 (tr_old_malloc_hook): Likewise.
35462 (tr_old_realloc_hook): Likewise.
35463 (tr_old_memalign_hook): Likewise.
35464 (tr_where): Likewise.
35465 (lock_and_info): Likewise.
35466 (tr_freehook): Likewise.
35467 (tr_mallochook): Likewise.
35468 (tr_reallochook): Likewise.
35469 (tr_memalignhook): Likewise.
35470 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
35471 * misc/mmap.c (__mmap): Likewise.
35472 * misc/mmap64.c (__mmap64): Likewise.
35473 * misc/mprotect.c (__mprotect): Likewise.
35474 * misc/msync.c (msync): Likewise.
35475 * misc/munmap.c (__munmap): Likewise.
35476 * posix/posix_madvise.c (posix_madvise): Likewise.
35477 * socket/send.c (__send): Likewise.
35478 * socket/sendto.c (__sendto): Likewise.
35479 * socket/setsockopt.c (__setsockopt): Likewise.
35480 * string/memcmp.c (__ptr_t): Remove macro.
35481 (MEMCMP): Use void * instead of ptr_t.
35482 * string/memrchr.c (__ptr_t): Remove macro.
35483 (__memrchr): Use void * instead of ptr_t.
35484 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
35485 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
35486 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
35487 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
35488 * sysdeps/mach/msync.c (msync): Likewise.
35489 * sysdeps/mach/munmap.c (__munmap): Likewise.
35490 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
35492 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35493 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
35494 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
35495 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
35496 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
35497 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35498 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
35499 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
35501 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35502 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
35503 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
35504 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
35505 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
35506 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
35507 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
35508 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
35509 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
35511 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
35512 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
35513 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
35514 (MEMCMP): Use void * instead of ptr_t.
35515 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
35516 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
35518 2017-08-08 Florian Weimer <fweimer@redhat.com>
35520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
35523 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
35526 * csu/libc-tls.c: Include <startup.h> first.
35527 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
35528 * elf/dl-tunables.c: Include <startup.h> first.
35529 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
35530 * sysdeps/generic/startup.h: New file.
35531 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
35532 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
35533 (I386_USE_SYSENTER): New. Defined to 0.
35535 2017-08-08 Andreas Schwab <schwab@suse.de>
35538 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
35539 * nptl/pt-system.c (system): Likewise.
35541 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35544 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
35546 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
35547 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
35548 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
35549 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
35550 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
35551 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
35552 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
35554 2017-08-07 Joseph Myers <joseph@codesourcery.com>
35557 * bits/sigaction.h (struct sigaction): Define sa_handler and
35558 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
35559 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35560 [__USE_XOPEN_EXTENDED].
35561 (SA_RESTART): Likewise.
35562 (SA_NODEFER): Likewise.
35563 (SA_RESETHAND): Likewise.
35564 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
35565 (struct sigaction): Define sa_handler and sa_sigaction using union
35566 also for [__USE_XOPEN_EXTENDED].
35567 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35568 [__USE_XOPEN_EXTENDED].
35569 (SA_RESTART): Likewise.
35570 (SA_NODEFER): Likewise.
35571 (SA_RESETHAND): Likewise.
35572 * sysdeps/unix/sysv/linux/bits/sigaction.h
35573 (struct sigaction): Define sa_handler and sa_sigaction using union
35574 also for [__USE_XOPEN_EXTENDED].
35575 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35576 [__USE_XOPEN_EXTENDED].
35577 (SA_RESTART): Likewise.
35578 (SA_NODEFER): Likewise.
35579 (SA_RESETHAND): Likewise.
35580 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
35581 (struct sigaction): Define sa_handler and sa_sigaction using union
35582 also for [__USE_XOPEN_EXTENDED].
35583 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35584 [__USE_XOPEN_EXTENDED].
35585 (SA_RESTART): Likewise.
35586 (SA_NODEFER): Likewise.
35587 (SA_RESETHAND): Likewise.
35588 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
35589 (struct sigaction): Define sa_handler and sa_sigaction using union
35590 also for [__USE_XOPEN_EXTENDED].
35591 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35592 [__USE_XOPEN_EXTENDED].
35593 (SA_RESTART): Likewise.
35594 (SA_NODEFER): Likewise.
35595 (SA_RESETHAND): Likewise.
35596 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35597 (struct sigaction): Define sa_handler and sa_sigaction using union
35598 also for [__USE_XOPEN_EXTENDED].
35599 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35600 [__USE_XOPEN_EXTENDED].
35601 (SA_RESTART): Likewise.
35602 (SA_NODEFER): Likewise.
35603 (SA_RESETHAND): Likewise.
35604 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35605 (struct sigaction): Define sa_handler and sa_sigaction using union
35606 also for [__USE_XOPEN_EXTENDED].
35607 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35608 [__USE_XOPEN_EXTENDED].
35609 (SA_RESTART): Likewise.
35610 (SA_NODEFER): Likewise.
35611 (SA_RESETHAND): Likewise.
35612 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35613 (struct sigaction): Define sa_handler and sa_sigaction using union
35614 also for [__USE_XOPEN_EXTENDED].
35615 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35616 [__USE_XOPEN_EXTENDED].
35617 (SA_RESTART): Likewise.
35618 (SA_NODEFER): Likewise. Define directly rather than as alias.
35619 (SA_RESETHAND): Likewise.
35620 (SA_INTERRUPT): Define only for [__USE_MISC].
35621 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
35622 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
35624 (SA_STACK): Define only for [__USE_MISC].
35625 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
35626 (struct sigaction): Define sa_handler and sa_sigaction using union
35627 also for [__USE_XOPEN_EXTENDED].
35628 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35629 [__USE_XOPEN_EXTENDED].
35630 (SA_RESTART): Likewise.
35631 (SA_NODEFER): Likewise.
35632 (SA_RESETHAND): Likewise.
35633 (SA_NOPTRACE): Define only for [__USE_MISC].
35635 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
35636 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
35637 (struct catalog_info): Likewise.
35638 * inet/htontest.c (lo): Likewise.
35640 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35641 * inet/inet_net.c (inet_network): Likewise.
35642 * inet/inet_netof.c (inet_netof): Likewise.
35643 * inet/rcmd.c (__ivaliduser): Likewise.
35644 (iruserok): Likewise.
35645 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
35646 * locale/programs/locale-spec.c (locale_special): Likewise.
35647 * nis/nis_findserv.c (struct findserv_req): Likewise.
35648 (__nis_findfastest_with_timeout): Likewise.
35649 * nss/test-netdb.c (test_network): Likewise.
35650 * resolv/inet_neta.c (inet_neta): Likewise.
35651 * resolv/ns_date.c (ns_datetosecs): Likewise.
35652 (SECS_PER_DAY): Likewise.
35653 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
35655 * resolv/res_comp.c (__putlong): Likewise.
35656 (__putshort): Likewise.
35657 (_getlong): Likewise.
35658 (_getshort): Likewise.
35659 * resolv/res_debug.c (p_time): Likewise.
35660 (precsize_ntoa): Likewise.
35661 (precsize_aton): Likewise.
35662 (latlon2ul): Likewise.
35663 (loc_aton): Likewise.
35664 (loc_ntoa): Likewise.
35665 * resolv/res_hconf.c (struct netaddr): Likewise.
35666 (_res_hconf_reorder_addrs): Likewise.
35667 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
35668 (clnttcp_control): Likewise.
35669 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35670 (clntudp_control): Likewise.
35671 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
35672 (clntunix_control): Likewise.
35673 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
35674 * sunrpc/rpc/auth.h (union des_block): Likewise.
35675 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
35676 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
35677 (xdrrec_create): Likewise.
35678 (xdrrec_endofrecord): Likewise.
35679 (flush_out): Likewise.
35680 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
35681 (xdrstdio_putlong): Likewise.
35682 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
35685 * misc/sys/cdefs.h (__long_double_t): Remove.
35686 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
35687 instead of __long_double_t,
35688 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
35690 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
35692 * benchtests/scripts/compare_strings.py: Avoid display error when
35693 running on a text terminal.
35695 * benchtests/scripts/compare_strings.py (main): Add an
35696 optional -base option.
35697 (process_results): New argument base_func.
35699 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
35701 * benchtests/bench-memcpy-large.c (test_name): Likewise.
35702 * benchtests/bench-memcpy-random.c (test_name): Likewise.
35704 2017-08-07 Andreas Schwab <schwab@suse.de>
35706 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
35707 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35708 * intl/Makefile ($(objpfx)tst-gettext.out)
35709 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
35710 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
35711 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35712 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35713 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
35714 * posix/Makefile ($(objpfx)globtest.out)
35715 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
35716 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
35717 ($(objpfx)tst-printf.out): Likewise.
35718 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
35719 ($(objpfx)tst-setcontext3.out): Likewise.
35721 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
35723 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35724 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
35725 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
35726 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
35727 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
35729 (CFLAGS-doasin-fma.c): New.
35730 (CFLAGS-dosincos-fma.c): Likewise.
35731 (CFLAGS-e_asin-fma.c): Likewise.
35732 (CFLAGS-e_atan2-fma.c): Likewise.
35733 (CFLAGS-e_exp-fma.c): Likewise.
35734 (CFLAGS-e_log-fma.c): Likewise.
35735 (CFLAGS-e_pow-fma.c): Likewise.
35736 (CFLAGS-halfulp-fma.c): Likewise.
35737 (CFLAGS-mpa-fma.c): Likewise.
35738 (CFLAGS-mpatan-fma.c): Likewise.
35739 (CFLAGS-mpatan2-fma.c): Likewise.
35740 (CFLAGS-mpexp-fma.c): Likewise.
35741 (CFLAGS-mplog-fma.c): Likewise.
35742 (CFLAGS-mpsqrt-fma.c): Likewise.
35743 (CFLAGS-mptan-fma.c): Likewise.
35744 (CFLAGS-s_atan-fma.c): Likewise.
35745 (CFLAGS-sincos32-fma.c): Likewise.
35746 (CFLAGS-slowexp-fma.c): Likewise.
35747 (CFLAGS-slowpow-fma.c): Likewise.
35748 (CFLAGS-s_sin-fma.c): Likewise.
35749 (CFLAGS-s_tan-fma.c): Likewise.
35750 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
35751 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
35752 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
35753 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
35754 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
35755 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
35756 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
35757 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
35758 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
35759 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
35760 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
35761 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
35762 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
35763 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
35764 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
35765 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
35766 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
35767 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
35768 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
35769 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
35770 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
35771 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
35772 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
35773 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
35774 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35775 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35776 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35777 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
35778 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35779 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35780 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35782 2017-08-04 Joseph Myers <joseph@codesourcery.com>
35784 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
35785 (min_of_type_f): New macro.
35786 (min_of_type_): Likewise.
35787 (min_of_type_l): Likewise.
35788 (min_of_type_f128): Likewise.
35789 (min_of_type): Define using __MATH_TG and taking an expression
35791 (math_check_force_underflow): Pass expression instead of type to
35793 (math_check_force_underflow_nonneg): Likewise.
35795 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35797 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35798 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
35799 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
35801 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35803 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35804 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
35805 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
35806 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
35807 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
35808 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
35809 memcpy_chk-nonshared, mempcpy_chk-nonshared,
35810 memmove_chk-nonshared and memset_chk-nonshared
35811 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
35812 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
35813 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
35814 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
35815 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
35816 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
35817 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
35818 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
35819 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
35820 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
35821 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
35822 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
35823 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
35824 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
35825 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
35826 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
35827 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
35828 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
35829 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
35830 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
35831 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
35832 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
35833 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
35834 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
35835 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
35836 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
35837 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
35838 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
35839 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
35840 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
35841 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
35842 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
35843 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
35844 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35845 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35846 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
35847 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
35848 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
35849 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
35850 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
35851 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
35852 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
35853 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
35854 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
35855 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
35856 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
35857 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
35858 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
35859 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
35860 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
35861 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
35862 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
35863 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
35864 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
35865 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
35866 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
35867 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
35868 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
35869 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
35870 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
35871 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
35872 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
35873 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
35874 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
35875 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
35876 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
35877 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
35878 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
35879 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
35880 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
35881 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
35882 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35883 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35884 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35885 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35886 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35887 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35888 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35889 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35890 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35891 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35892 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35893 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35894 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35895 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35896 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35897 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35898 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35899 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35900 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35901 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35902 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35903 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35904 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35905 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35906 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35907 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35908 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35909 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35910 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35911 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35912 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35913 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35914 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35915 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35916 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35917 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35918 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35920 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35922 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
35923 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
35924 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
35925 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
35926 svml_d_log2_core-sse2, svml_d_log4_core-sse,
35927 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
35928 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
35929 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
35930 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
35931 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
35932 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
35933 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
35934 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
35935 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
35936 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
35937 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
35938 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
35939 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
35940 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
35941 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
35942 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
35943 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
35944 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
35945 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
35946 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
35947 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
35948 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
35949 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
35950 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
35951 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
35952 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
35953 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
35954 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
35955 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
35956 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
35957 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
35958 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
35959 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
35960 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
35961 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
35962 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
35963 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
35964 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
35965 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
35966 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
35967 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
35968 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
35969 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
35970 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
35971 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
35972 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
35973 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
35974 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
35975 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
35976 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
35977 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
35978 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
35979 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
35980 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
35982 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
35983 Don't include <sysdep.h> nor <init-arch.h>.
35984 (_ZGVbN2v_cos): Removed.
35985 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
35987 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
35988 Don't include <sysdep.h> nor <init-arch.h>.
35989 (_ZGVdN4v_cos): Removed.
35990 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
35992 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
35993 Don't include <sysdep.h> nor <init-arch.h>.
35994 (_ZGVeN8v_cos): Removed.
35995 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
35997 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
35998 Don't include <sysdep.h> nor <init-arch.h>.
35999 (_ZGVbN2v_exp): Removed.
36000 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
36002 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
36003 Don't include <sysdep.h> nor <init-arch.h>.
36004 (_ZGVdN4v_exp): Removed.
36005 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
36007 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
36008 Don't include <sysdep.h> nor <init-arch.h>.
36009 (_ZGVeN8v_exp): Removed.
36010 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
36012 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
36013 Don't include <sysdep.h> nor <init-arch.h>.
36014 (_ZGVbN2v_log): Removed.
36015 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
36017 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
36018 Don't include <sysdep.h> nor <init-arch.h>.
36019 (_ZGVdN4v_log): Removed.
36020 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
36022 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
36023 Don't include <sysdep.h> nor <init-arch.h>.
36024 (_ZGVeN8v_log): Removed.
36025 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
36027 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
36028 Don't include <sysdep.h> nor <init-arch.h>.
36029 (_ZGVbN2vv_pow): Removed.
36030 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
36032 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
36033 Don't include <sysdep.h> nor <init-arch.h>.
36034 (_ZGVdN4vv_pow): Removed.
36035 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
36037 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
36038 Don't include <sysdep.h> nor <init-arch.h>.
36039 (_ZGVeN8vv_pow): Removed.
36040 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
36042 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
36043 Don't include <sysdep.h> nor <init-arch.h>.
36044 (_ZGVbN2v_sin): Removed.
36045 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
36047 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
36048 Don't include <sysdep.h> nor <init-arch.h>.
36049 (_ZGVbN4v_sin): Removed.
36050 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
36052 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
36053 Don't include <sysdep.h> nor <init-arch.h>.
36054 (_ZGVbN8v_sin): Removed.
36055 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
36057 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
36058 Don't include <sysdep.h> nor <init-arch.h>.
36059 (_ZGVbN2vvv_sincos): Removed.
36060 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
36062 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
36063 Don't include <sysdep.h> nor <init-arch.h>.
36064 (_ZGVdN4vvv_sincos): Removed.
36065 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
36067 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
36068 Don't include <sysdep.h> nor <init-arch.h>.
36069 (_ZGVeN8vvv_sincos): Removed.
36070 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
36072 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
36073 Don't include <sysdep.h> nor <init-arch.h>.
36074 (_ZGVeN16v_cosf): Removed.
36075 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
36077 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
36078 Don't include <sysdep.h> nor <init-arch.h>.
36079 (_ZGVbN4v_cosf): Removed.
36080 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
36082 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
36083 Don't include <sysdep.h> nor <init-arch.h>.
36084 (_ZGVdN8v_cosf): Removed.
36085 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
36087 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
36088 Don't include <sysdep.h> nor <init-arch.h>.
36089 (_ZGVeN16v_expf): Removed.
36090 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
36092 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
36093 Don't include <sysdep.h> nor <init-arch.h>.
36094 (_ZGVbN4v_expf): Removed.
36095 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
36097 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
36098 Don't include <sysdep.h> nor <init-arch.h>.
36099 (_ZGVdN8v_expf): Removed.
36100 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
36102 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
36103 Don't include <sysdep.h> nor <init-arch.h>.
36104 (_ZGVeN16v_logf): Removed.
36105 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
36107 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
36108 Don't include <sysdep.h> nor <init-arch.h>.
36109 (_ZGVbN4v_logf): Removed.
36110 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
36112 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
36113 Don't include <sysdep.h> nor <init-arch.h>.
36114 (_ZGVdN8v_logf): Removed.
36115 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
36117 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
36118 Don't include <sysdep.h> nor <init-arch.h>.
36119 (_ZGVeN16vv_powf): Removed.
36120 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
36122 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
36123 Don't include <sysdep.h> nor <init-arch.h>.
36124 (_ZGVbN4vv_powf): Removed.
36125 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
36127 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
36128 Don't include <sysdep.h> nor <init-arch.h>.
36129 (_ZGVdN8vv_powf): Removed.
36130 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
36132 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
36133 Don't include <sysdep.h> nor <init-arch.h>.
36134 (_ZGVeN16vvv_sincosf): Removed.
36135 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
36137 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
36138 Don't include <sysdep.h> nor <init-arch.h>.
36139 (_ZGVbN4vvv_sincosf): Removed.
36140 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
36142 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
36143 Don't include <sysdep.h> nor <init-arch.h>.
36144 (_ZGVdN8vvv_sincosf): Removed.
36145 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
36147 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
36148 Don't include <sysdep.h> nor <init-arch.h>.
36149 (_ZGVeN16v_sinf): Removed.
36150 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
36152 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
36153 Don't include <sysdep.h> nor <init-arch.h>.
36154 (_ZGVbN4v_sinf): Removed.
36155 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
36157 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
36158 Don't include <sysdep.h> nor <init-arch.h>.
36159 (_ZGVdN8v_sinf): Removed.
36161 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36163 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36164 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
36165 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
36166 s_rint-sse4_1 and s_rintf-sse4_1.
36167 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
36168 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
36169 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
36170 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
36171 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
36172 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
36173 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
36174 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
36175 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
36176 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
36177 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
36178 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36180 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
36181 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
36182 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36183 (__ceilf): Removed.
36184 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
36185 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
36186 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36187 (__floor): Removed.
36188 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
36189 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
36190 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36191 (__floorf): Removed.
36192 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
36193 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
36194 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36195 (__nearbyint): Removed.
36196 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
36197 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
36198 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36199 (__nearbyintf): Removed.
36200 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
36201 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
36202 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36204 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
36205 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
36206 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36207 (__rintf): Removed.
36209 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36211 * sysdeps/i386/start.S (_start): Check Check PIC instead of
36212 SHARED. Avoid dynamic relocation against main in static PIE.
36214 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36217 * elf/Makefile (CFLAGS-tst-prelink.c): New.
36218 (LDFLAGS-tst-prelink): Likewise.
36220 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36222 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
36223 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
36224 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
36225 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
36226 (INTERNAL_SYSCALL_NCS): Likewise.
36227 (LOADARGS_1): Likewise.
36228 (LOADARGS_5): Likewise.
36229 (RESTOREARGS_1): Likewise.
36230 (RESTOREARGS_5): Likewise.
36232 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36234 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
36235 (MEMPCPY_SYMBOL): Likewise.
36236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36237 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
36238 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
36240 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36241 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
36243 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
36244 (__hidden_ver1): Don't use in libc.a.
36245 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
36246 (__mempcpy): Don't create a weak alias in libc.a.
36247 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
36249 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
36250 (__hidden_ver1): Don't use in libc.a.
36252 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36254 * config.make.in (have-insert): New.
36255 * configure.ac (libc_cv_insert): New. Set to yes if linker
36256 supports INSERT in linker script.
36257 (AC_SUBST(libc_cv_insert): New.
36258 * configure: Regenerated.
36259 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
36260 if $(have-insert) == yes.
36262 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36264 * elf/Makefile (tests): Add vismain only if
36265 $(have-protected-data) == yes.
36266 (tests-pie): Likewise.
36268 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36271 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
36272 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
36274 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36277 * sysdeps/i386/i586/memset.S
36278 (__memset_zero_constant_len_parameter): Removed.
36279 * sysdeps/i386/i686/memset.S
36280 (__memset_zero_constant_len_parameter): Likewise.
36281 * sysdeps/i386/i686/multiarch/memset_chk.S
36282 (__memset_zero_constant_len_parameter): Likewise.
36283 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
36286 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36288 * stdlib/getentropy.c (getentropy): Change return type to int.
36290 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36292 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
36294 2017-08-03 Joseph Myers <joseph@codesourcery.com>
36296 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
36298 * math/s_nexttowardf.c (__nexttowardf): Likewise.
36299 * sysdeps/generic/math_private.h (ieee_double_shape_type):
36301 (ieee_float_shape_type): Likewise.
36302 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
36303 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
36304 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36305 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36306 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
36307 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
36308 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
36309 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36310 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
36312 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36313 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
36314 (__ieee754_yn): Likewise.
36315 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36316 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36317 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
36319 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36320 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
36321 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
36322 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
36323 (__erfc): Likewise.
36324 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
36325 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
36326 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
36327 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
36328 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
36329 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
36331 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
36332 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
36333 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
36334 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
36335 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36336 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
36337 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
36338 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
36339 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
36340 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
36341 (__issignaling): Likewise.
36342 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
36343 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
36344 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
36346 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36347 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
36348 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
36349 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
36351 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
36353 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
36354 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
36355 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
36356 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
36357 (__erfcf): Likewise.
36358 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
36359 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
36360 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
36361 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
36363 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
36364 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
36366 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
36367 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
36368 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
36369 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
36370 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
36371 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36372 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
36373 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
36375 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
36377 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
36379 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
36380 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
36382 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36384 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
36385 (__ieee754_ynl): Likewise.
36386 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
36387 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
36389 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
36391 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
36392 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
36393 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36395 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
36396 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
36397 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
36398 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
36399 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
36400 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
36401 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
36402 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
36404 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
36405 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
36406 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
36408 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
36409 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
36410 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
36411 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
36412 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
36413 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36415 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36417 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36419 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36421 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
36422 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36423 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36424 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
36425 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
36426 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
36427 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
36429 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36431 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36432 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36434 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
36435 (__ieee754_remainderl): Likewise.
36436 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36437 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36438 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
36439 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
36441 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
36442 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36444 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36445 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
36446 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
36447 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
36448 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36449 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36451 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
36452 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
36453 (__ieee754_y0l): Likewise.
36456 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36457 (__ieee754_y1l): Likewise.
36460 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
36461 (__ieee754_ynl): Likewise.
36462 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
36463 (__ieee754_lgammal_r): Likewise.
36464 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
36466 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
36467 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
36468 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
36469 (__erfcl): Likewise.
36470 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
36471 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
36473 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
36474 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
36475 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
36476 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
36477 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
36478 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36479 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36481 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
36482 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36483 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
36484 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
36485 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36487 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
36488 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
36490 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
36491 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
36492 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
36493 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36494 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
36496 2017-08-03 Florian Weimer <fweimer@redhat.com>
36499 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
36500 on memory allocation failure.
36502 2017-08-03 Alan Modra <amodra@gmail.com>
36504 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
36505 tst-tlsopt-powerpc.c with function name change and no test harness.
36506 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
36507 Call tls_get_addr_opt_test.
36508 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
36509 (modules-names): Add mod-tlsopt-powerpc.
36510 (mod-tlsopt-powerpc.so-no-z-defs): Define.
36511 (tst-tlsopt-powerpc): Depend on .so.
36512 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
36513 define. Expand use in TLS_GD and TLS_LD.
36515 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36517 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
36519 * sysdeps/posix/shm_open.c: Include <pthread.h>.
36521 2017-08-02 Joseph Myers <joseph@codesourcery.com>
36524 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
36525 comparing size with that of double.
36526 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36527 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36528 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36529 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36530 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36531 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
36532 unsigned __int128 types.
36534 2017-08-02 Steve Ellcey <sellcey@cavium.com>
36536 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
36537 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
36538 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
36539 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
36540 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
36542 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36544 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
36546 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36548 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
36550 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36551 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36552 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36553 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36554 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36555 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36556 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36558 2017-08-02 Joseph Myers <joseph@codesourcery.com>
36561 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
36562 bit-field expressions passed to sizeof or typeof.
36563 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36564 (__TGMATH_F128): Likewise.
36565 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36566 (__TGMATH_CF128): Likewise.
36567 (__TGMATH_UNARY_REAL_ONLY): Likewise.
36568 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
36569 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
36570 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
36571 (__TGMATH_BINARY_REAL_ONLY): Likewise.
36572 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36573 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36574 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36575 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36576 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
36577 (__TGMATH_UNARY_REAL_IMAG): Likewise.
36578 (__TGMATH_UNARY_IMAG): Likewise.
36579 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
36580 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36581 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
36583 (define_vars_for_type): Handle bit_field type specially.
36584 (Tests.__init__): Declare structure with bit-field element.
36586 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36589 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
36590 (MEMCPY_CHK): Define only if SHARED is defined.
36591 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
36593 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
36596 See ChangeLog.18 for earlier changes.