1 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
3 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
5 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
8 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
11 inputs. Return correct sign.
12 (do_sincos): Remove small input check before do_sin, let do_sin set
17 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
20 (do_cos_slow): Likewise.
21 (do_sin_slow): Likewise.
22 (reduce_and_compute): Likewise.
34 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
36 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
37 (do_cos): Remove corp parameter and calculations.
39 (do_sincos): Remove cor variable.
40 (__sin): Use do_sincos for huge inputs.
42 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
43 (reduce_and_compute_sincos): Remove unused function.
45 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
47 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
48 reduce_sincos, improve accuracy to 136 bits.
49 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
50 (__sin): Use improved reduction and simplified do_sincos calculation.
52 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
54 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
56 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
57 (do_sincos_2): Likewise.
58 (__sin): Remove middle range reduction case.
60 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
63 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
65 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
66 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
69 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
71 2018-04-03 Joseph Myers <joseph@codesourcery.com>
73 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
76 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
78 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
80 (opendir_oflags): Use O_DIRECTORY regardless.
81 (__opendir, __opendirat): Remove need_isdir_precheck usage.
82 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
84 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
86 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
87 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
89 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
90 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
91 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
92 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
93 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
94 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
96 * htl/Makefile: Bump licence to LGPL 2.1+.
97 * htl/alloca_cutoff.c: Likewise.
98 * htl/cthreads-compat.c: Likewise.
99 * htl/lockfile.c: Likewise.
100 * htl/pt-alloc.c: Likewise.
101 * htl/pt-cancel.c: Likewise.
102 * htl/pt-cleanup.c: Likewise.
103 * htl/pt-create.c: Likewise.
104 * htl/pt-dealloc.c: Likewise.
105 * htl/pt-detach.c: Likewise.
106 * htl/pt-exit.c: Likewise.
107 * htl/pt-getattr.c: Likewise.
108 * htl/pt-initialize.c: Likewise.
109 * htl/pt-internal.h: Likewise.
110 * htl/pt-join.c: Likewise.
111 * htl/pt-self.c: Likewise.
112 * htl/pt-setcancelstate.c: Likewise.
113 * htl/pt-setcanceltype.c: Likewise.
114 * htl/pt-sigmask.c: Likewise.
115 * htl/pt-spin-inlines.c: Likewise.
116 * htl/pt-testcancel.c: Likewise.
117 * htl/pt-yield.c: Likewise.
118 * htl/tests/test-1.c: Likewise.
119 * htl/tests/test-10.c: Likewise.
120 * htl/tests/test-11.c: Likewise.
121 * htl/tests/test-12.c: Likewise.
122 * htl/tests/test-13.c: Likewise.
123 * htl/tests/test-14.c: Likewise.
124 * htl/tests/test-15.c: Likewise.
125 * htl/tests/test-16.c: Likewise.
126 * htl/tests/test-17.c: Likewise.
127 * htl/tests/test-2.c: Likewise.
128 * htl/tests/test-3.c: Likewise.
129 * htl/tests/test-4.c: Likewise.
130 * htl/tests/test-5.c: Likewise.
131 * htl/tests/test-6.c: Likewise.
132 * htl/tests/test-7.c: Likewise.
133 * htl/tests/test-8.c: Likewise.
134 * htl/tests/test-9.c: Likewise.
135 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
136 * sysdeps/htl/bits/cancelation.h: Likewise.
137 * sysdeps/htl/bits/pthread-np.h: Likewise.
138 * sysdeps/htl/bits/pthread.h: Likewise.
139 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
140 * sysdeps/htl/bits/semaphore.h: Likewise.
141 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
142 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
143 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
144 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
145 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
146 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
147 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
148 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
149 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
150 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
151 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
152 * sysdeps/htl/old_pt-atfork.c: Likewise.
153 * sysdeps/htl/pt-atfork.c: Likewise.
154 * sysdeps/htl/pt-attr-destroy.c: Likewise.
155 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
156 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
157 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
158 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
159 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
160 * sysdeps/htl/pt-attr-getscope.c: Likewise.
161 * sysdeps/htl/pt-attr-getstack.c: Likewise.
162 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
163 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
164 * sysdeps/htl/pt-attr-init.c: Likewise.
165 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
166 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
167 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
168 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
169 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
170 * sysdeps/htl/pt-attr-setscope.c: Likewise.
171 * sysdeps/htl/pt-attr-setstack.c: Likewise.
172 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
173 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
174 * sysdeps/htl/pt-attr.c: Likewise.
175 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
176 * sysdeps/htl/pt-barrier-init.c: Likewise.
177 * sysdeps/htl/pt-barrier-wait.c: Likewise.
178 * sysdeps/htl/pt-barrier.c: Likewise.
179 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
180 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
181 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
182 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
183 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
184 * sysdeps/htl/pt-cond-destroy.c: Likewise.
185 * sysdeps/htl/pt-cond-init.c: Likewise.
186 * sysdeps/htl/pt-cond-signal.c: Likewise.
187 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
188 * sysdeps/htl/pt-cond-wait.c: Likewise.
189 * sysdeps/htl/pt-cond.c: Likewise.
190 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
191 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
192 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
193 * sysdeps/htl/pt-condattr-init.c: Likewise.
194 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
195 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
196 * sysdeps/htl/pt-destroy-specific.c: Likewise.
197 * sysdeps/htl/pt-equal.c: Likewise.
198 * sysdeps/htl/pt-getconcurrency.c: Likewise.
199 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
200 * sysdeps/htl/pt-getschedparam.c: Likewise.
201 * sysdeps/htl/pt-getspecific.c: Likewise.
202 * sysdeps/htl/pt-init-specific.c: Likewise.
203 * sysdeps/htl/pt-key-create.c: Likewise.
204 * sysdeps/htl/pt-key-delete.c: Likewise.
205 * sysdeps/htl/pt-key.h: Likewise.
206 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
207 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
208 * sysdeps/htl/pt-mutex-init.c: Likewise.
209 * sysdeps/htl/pt-mutex-lock.c: Likewise.
210 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
211 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
212 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
213 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
214 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
215 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
216 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
217 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
218 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
219 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
220 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
221 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
222 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
223 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
224 * sysdeps/htl/pt-mutexattr.c: Likewise.
225 * sysdeps/htl/pt-once.c: Likewise.
226 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
227 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
228 * sysdeps/htl/pt-rwlock-init.c: Likewise.
229 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
230 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
231 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
232 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
233 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
234 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
235 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
236 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
237 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
238 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
239 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
240 * sysdeps/htl/pt-setconcurrency.c: Likewise.
241 * sysdeps/htl/pt-setschedparam.c: Likewise.
242 * sysdeps/htl/pt-setschedprio.c: Likewise.
243 * sysdeps/htl/pt-setspecific.c: Likewise.
244 * sysdeps/htl/pt-spin.c: Likewise.
245 * sysdeps/htl/pt-startup.c: Likewise.
246 * sysdeps/htl/pthread.h: Likewise.
247 * sysdeps/htl/sem-close.c: Likewise.
248 * sysdeps/htl/sem-destroy.c: Likewise.
249 * sysdeps/htl/sem-getvalue.c: Likewise.
250 * sysdeps/htl/sem-init.c: Likewise.
251 * sysdeps/htl/sem-open.c: Likewise.
252 * sysdeps/htl/sem-post.c: Likewise.
253 * sysdeps/htl/sem-timedwait.c: Likewise.
254 * sysdeps/htl/sem-trywait.c: Likewise.
255 * sysdeps/htl/sem-unlink.c: Likewise.
256 * sysdeps/htl/sem-wait.c: Likewise.
257 * sysdeps/hurd/htl/pt-kill.c: Likewise.
258 * sysdeps/i386/htl/pt-machdep.h: Likewise.
259 * sysdeps/mach/htl/pt-block.c: Likewise.
260 * sysdeps/mach/htl/pt-spin.c: Likewise.
261 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
262 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
263 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
264 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
265 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
266 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
267 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
268 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
269 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
270 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
271 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
272 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
273 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
274 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
275 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
276 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
277 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
278 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
279 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
280 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
281 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
282 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
283 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
284 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
285 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
286 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
287 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
288 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
289 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
290 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
291 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
292 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
293 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
294 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
295 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
296 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
297 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
298 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
299 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
300 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
301 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
302 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
303 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
305 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
306 * README: Remove the mention of out-of-tree patches needed for
309 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
310 (UTIME_NOW, UTIME_OMIT): Define macros.
312 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
313 instead of pthread_detach.
314 (__cthread_fork): Call __pthread_create instead of pthread_create.
315 (__cthread_keycreate): Call __pthread_key_create instead of
317 (__cthread_getspecific): Call __pthread_getspecific instead of
319 (__cthread_setspecific): Call __pthread_setspecific instead of
321 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
322 __pthread_mutex_unlock instead of pthread_mutex_lock and
323 pthread_mutex_unlock.
324 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
325 ___pthread_get_cleanup_stack.
326 (__pthread_get_cleanup_stack): New strong alias.
327 * htl/pt-create.c: Include <pthreadP.h>.
328 (entry_point): Call __pthread_exit instead of pthread_exit.
329 (pthread_create): Rename to __pthread_create.
330 (pthread_create): New strong alias.
331 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
332 (pthread_detach): New strong alias.
333 (__pthread_detach): Call __pthread_cond_broadcast instead of
334 pthread_cond_broadcast.
335 * htl/pt-exit.c: Include <pthreadP.h>.
336 (__pthread_exit): Call __pthread_setcancelstate and
337 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
338 __pthread_get_cleanup_stack.
339 * htl/pt-testcancel.c: Include <pthreadP.h>.
340 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
341 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
342 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
343 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
344 pthread_attr_getstacksize.
345 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
346 Rename to __pthread_attr_getstackaddr.
347 (pthread_attr_getstackaddr): New strong alias.
348 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
349 Rename to __pthread_attr_getstacksize.
350 (pthread_attr_getstacksize): New strong alias.
351 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
352 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
353 (pthread_attr_setstack): New strong alias.
354 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
355 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
356 pthread_attr_getstacksize, pthread_attr_setstacksize and
357 pthread_attr_setstackaddr.
358 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
359 Rename to __pthread_attr_setstackaddr.
360 (pthread_attr_setstackaddr): New strong alias.
361 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
362 Rename to __pthread_attr_setstacksize.
363 (pthread_attr_setstacksize): New strong alias.
364 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
365 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
367 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
368 (__pthread_key_create): New hidden def.
369 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
370 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
371 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
372 __pthread_exit, __pthread_key_create, __pthread_getspecific,
373 __pthread_setspecific, __pthread_setcancelstate,
374 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
375 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
376 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
378 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
379 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
380 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
381 (pthread_attr_setstackaddr): New strong alias.
382 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
383 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
384 (pthread_attr_setstacksize): New strong alias.
385 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
386 (call_exit): Call __pthread_exit instead of pthread_exit.
387 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
388 (_pthread_mutex_init): New hidden definition.
389 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
390 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
391 instead of pthread_attr_init and pthread_attr_setstack.
393 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
394 __vm_deallocate instead of vm_allocate and vm_deallocate.
395 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
397 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
399 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
401 * hurd/siginfo.c: Include <libioP.h>.
402 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
403 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
405 * mach/devstream.c: Include <libioP.h>.
406 (dealloc_ref): Call __mach_port_deallocate instead of
407 mach_port_deallocate.
408 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
409 Call __mach_port_deallocate instead of mach_port_deallocate.
410 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
412 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
414 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
415 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
416 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
418 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
420 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
422 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
423 __clock_gettime instead of clock_gettime.
424 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
425 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
426 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
427 * sysdeps/unix/bsd/stty.c (stty): Likewise.
428 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
430 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
431 __clock_gettime and __nanosleep instead of clock_gettime and
433 * hurd/catch-signal.c (hurd_catch_signal): Rename to
435 (hurd_catch_signal): New strong alias.
436 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
437 __hurd_catch_signal instead of hurd_catch_signal.
438 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
439 * hurd/hurdexec.c (_hurd_init): Add hidden def.
440 * hurd/hurdinit.c (_hurd_init): Add hidden def.
441 * hurd/hurdsig.c: Include <mach/mig_support.h>.
442 (_hurd_thread_sigstate): Add hidden def.
443 (_hurd_internal_post_signal): Use __mutex_unlock instead of
445 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
446 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
447 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
448 __hurd_file_name_path_lookup.
449 (hurd_file_name_path_lookup): New strong alias.
450 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
451 hurd_file_name_path_lookup.
452 * mach/errstring.c (mach_error_type): Add hidden def.
453 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
454 * mach/mutex-init.c (__mutex_init): Add hidden def.
455 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
456 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
457 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
458 * sysdeps/mach/hurd/getcwd.c
459 (_hurd_canonicalize_directory_name_internal): Rename to
460 __hurd_canonicalize_directory_name_internal.
461 (_hurd_canonicalize_directory_name_internal): New strong alias.
462 (__canonicalize_directory_name_internal, __getcwd): Call
463 __hurd_canonicalize_directory_name_internal instead of
464 _hurd_canonicalize_directory_name_internal.
465 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
466 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
468 * sysdeps/hurd/include/hurd.h: New file.
469 * sysdeps/hurd/include/hurd/fd.h: New file.
470 * sysdeps/hurd/include/hurd/signal.h: New file.
471 * sysdeps/mach/include/lock-intern.h: New file.
472 * sysdeps/mach/include/mach.h: New file.
473 * sysdeps/mach/include/mach/mig_support.h: New file.
474 * sysdeps/mach/include/mach_error.h: New file.
475 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
477 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
478 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
479 _HEADER_H_HIDDEN_DEF macro.
480 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
481 _hurd_fd_error_signal): Add hidden prototype.
482 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
484 * hurd/catch-signal.c (__hurd_catch_signal): Call __libc_siglongjmp
485 instead if siglongjmp.
486 (hurd_safe_memmove): Call __libc_longjmp instead of longjmp.
487 * hurd/hurdfault.c (faulted): Call __libc_longjmp instead of longjmp.
488 * include/setjmp.h (__libc_siglongjmp, __libc_longjmp): New hidden
490 * libio/iolibio.h (_IO_puts): New hidden prototype.
491 * libio/ioputs.c (_IO_puts): New hidden def.
492 * setjmp/longjmp.c (__libc_longjmp, __libc_siglongjmp): New hidden
494 * sysdeps/mach/hurd/sigwait.c (__sigwait): Call __libc_longjmp instead
496 * sysdeps/s390/longjmp.c (__libc_longjmp, __libc_siglongjmp): New
499 * sysdeps/mach/hurd/localplt.data: New file.
501 2018-04-02 Agustina Arzille <avarzille@riseup.net>
502 Amos Jeffries <squid3@treenet.co.nz>
503 David Michael <fedora.dm0@gmail.com>
504 Marco Gerards <marco@gnu.org>
505 Marcus Brinkmann <marcus@gnu.org>
506 Neal H. Walfield <neal@gnu.org>
507 Pino Toscano <toscano.pino@tiscali.it>
508 Richard Braun <rbraun@sceen.net>
509 Roland McGrath <roland@gnu.org>
510 Samuel Thibault <samuel.thibault@ens-lyon.org>
511 Thomas DiModica <ricinwich@yahoo.com>
512 Thomas Schwinge <tschwinge@gnu.org>
514 * htl: New directory.
515 * sysdeps/htl: New directory.
516 * sysdeps/hurd/htl: New directory.
517 * sysdeps/i386/htl: New directory.
518 * sysdeps/mach/htl: New directory.
519 * sysdeps/mach/hurd/htl: New directory.
520 * sysdeps/mach/hurd/i386/htl: New directory.
521 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
522 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
523 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
525 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
527 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
528 signals in thread created for runing timers.
530 2018-04-01 Florian Weimer <fweimer@redhat.com>
532 * support/support_format_addrinfo.c (support_format_addrinfo):
533 Include unknown error number in formatted result.
535 2018-03-29 Florian Weimer <fweimer@redhat.com>
537 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
540 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
542 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
543 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
544 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
545 (__ASSUME_CLONE_BACKWARDS): Define.
547 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
550 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
551 early when linux sentinel value is set.
553 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
555 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
557 2018-03-27 Andreas Schwab <schwab@suse.de>
560 * resolv/res_send.c (__res_context_send): Return ENOMEM if
561 allocation of private copy of nsaddr_list fails.
563 2018-03-26 Joseph Myers <joseph@codesourcery.com>
566 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
567 * sysdeps/unix/sysv/linux/umount.c: ... here.
568 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
569 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
570 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
571 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
573 * sysdeps/unix/sysv/linux/umount.S: Likewise.
574 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
576 2018-03-26 Andreas Schwab <schwab@suse.de>
578 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
579 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
580 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
581 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
582 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
583 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
584 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
585 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
586 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
587 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
588 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
589 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
590 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
591 (R_RISCV_NUM): Define.
593 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
595 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
596 TLS declaration of errno.
597 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
599 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
600 (ARCH_SETUP_TLS): Likewise.
601 * sysdeps/mach/hurd/libc-start.h: New file copied from
602 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
603 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
604 instead of __libc_setup_tls.
605 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
606 __libc_setup_tls before initializing libpthread and running _hurd_init
607 which starts the signal thread.
608 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
610 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
612 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
615 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
618 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
619 Max Horn <max@quendi.de>
622 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
624 * string/test-memmove.c (do_test2): New testcase.
626 2018-03-22 Joseph Myers <joseph@codesourcery.com>
628 * sysdeps/generic/frame.h: Remove file.
629 * sysdeps/arm/frame.h: Likewise.
630 * sysdeps/hppa/frame.h: Likewise.
631 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
633 (GET_FRAME): Likewise.
634 (GET_STACK): Likewise.
635 (CALL_SIGHANDLER): Likewise.
636 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
638 (GET_FRAME): Likewise.
639 (GET_STACK): Likewise.
640 (CALL_SIGHANDLER): Likewise.
641 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
642 (SIGCONTEXT_EXTRA_ARGS): Likewise.
643 (GET_FRAME): Likewise.
644 (GET_STACK): Likewise.
645 (CALL_SIGHANDLER): Likewise.
646 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
647 (SIGCONTEXT_EXTRA_ARGS): Likewise.
648 (GET_FRAME): Likewise.
649 (GET_STACK): Likewise.
650 (ADVANCE_STACK_FRAME): Likewise.
651 (CALL_SIGHANDLER): Likewise.
652 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
653 (SIGCONTEXT_EXTRA_ARGS): Likewise.
654 (GET_FRAME): Likewise.
655 (GET_STACK): Likewise.
656 (CALL_SIGHANDLER): Likewise.
657 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
658 (SIGCONTEXT_EXTRA_ARGS): Likewise.
659 (GET_FRAME): Likewise.
660 (GET_STACK): Likewise.
661 (CALL_SIGHANDLER): Likewise.
662 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
663 (SIGCONTEXT_EXTRA_ARGS): Likewise.
664 (GET_FRAME): Likewise.
665 (GET_STACK): Likewise.
666 (CALL_SIGHANDLER): Likewise.
667 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
668 (SIGCONTEXT_EXTRA_ARGS): Likewise.
669 (GET_FRAME): Likewise.
670 (GET_STACK): Likewise.
671 (CALL_SIGHANDLER): Likewise.
672 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
673 (SIGCONTEXT_EXTRA_ARGS): Likewise.
674 (GET_FRAME): Likewise.
675 (GET_STACK): Likewise.
676 (CALL_SIGHANDLER): Likewise.
677 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
678 (SIGCONTEXT_EXTRA_ARGS): Likewise.
679 (GET_FRAME): Likewise.
680 (GET_STACK): Likewise.
681 (CALL_SIGHANDLER): Likewise.
682 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
683 (SIGCONTEXT_EXTRA_ARGS): Likewise.
684 (GET_FRAME): Likewise.
685 (GET_STACK): Likewise.
686 (CALL_SIGHANDLER): Likewise.
687 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
688 (SIGCONTEXT_EXTRA_ARGS): Likewise.
689 (GET_FRAME): Likewise.
690 (GET_STACK): Likewise.
691 (CALL_SIGHANDLER): Likewise.
692 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
693 (SIGCONTEXT_EXTRA_ARGS): Likewise.
694 (GET_FRAME): Likewise.
695 (GET_STACK): Likewise.
696 (CALL_SIGHANDLER): Likewise.
697 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
698 (SIGCONTEXT_EXTRA_ARGS): Likewise.
699 (FIRST_FRAME_POINTER): Likewise.
700 (ADVANCE_STACK_FRAME): Likewise.
701 (GET_STACK): Likewise.
702 (GET_FRAME): Likewise.
703 (CALL_SIGHANDLER): Likewise.
704 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
705 (SIGCONTEXT_EXTRA_ARGS): Likewise.
706 (ADVANCE_STACK_FRAME): Likewise.
707 (GET_STACK): Likewise.
708 (GET_FRAME): Likewise.
709 (CALL_SIGHANDLER): Likewise.
710 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
711 (SIGCONTEXT_EXTRA_ARGS): Likewise.
712 (GET_FRAME): Likewise.
713 (GET_STACK): Likewise.
714 (CALL_SIGHANDLER): Likewise.
715 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
716 (SIGCONTEXT_EXTRA_ARGS): Likewise.
717 (GET_FRAME): Likewise.
718 (GET_STACK): Likewise.
719 (CALL_SIGHANDLER): Likewise.
721 2018-03-21 Joseph Myers <joseph@codesourcery.com>
723 * sysdeps/x86_64/backtrace.c: Move to ....
724 * debug/backtrace.c: ... here.
725 * sysdeps/aarch64/backtrace.c: Remove file.
726 * sysdeps/alpha/backtrace.c: Likewise.
727 * sysdeps/hppa/backtrace.c: Likewise.
728 * sysdeps/ia64/backtrace.c: Likewise.
729 * sysdeps/mips/backtrace.c: Likewise.
730 * sysdeps/nios2/backtrace.c: Likewise.
731 * sysdeps/riscv/backtrace.c: Likewise.
732 * sysdeps/sh/backtrace.c: Likewise.
733 * sysdeps/tile/backtrace.c: Likewise.
735 2018-03-20 Joseph Myers <joseph@codesourcery.com>
738 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
741 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
744 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
745 possibly overflowing computations.
747 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
749 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
750 values from Linux-specific section now that it is in the GNU section.
751 * sysdeps/gnu/errlist.c: Regenerate.
753 2018-03-20 Joseph Myers <joseph@codesourcery.com>
755 * math/Makefile (libm-narrow-fns): Add sub.
756 (libm-test-funcs-narrow): Likewise.
757 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
758 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
759 * math/gen-auto-libm-tests.c (test_functions): Add sub.
760 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
761 (NARROW_SUB_ROUND_TO_ODD): Likewise.
762 (NARROW_SUB_TRIVIAL): Likewise.
763 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
766 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
768 (CFLAGS-nldbl-dsub.c): New variable.
769 (CFLAGS-nldbl-fsub.c): Likewise.
770 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
772 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
774 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
775 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
776 * math/auto-libm-test-in: Add tests of sub.
777 * math/auto-libm-test-out-narrow-sub: New generated file.
778 * math/libm-test-narrow-sub.inc: New file.
779 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
780 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
781 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
782 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
783 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
784 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
785 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
786 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
787 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
788 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
789 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
790 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
791 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
792 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
793 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
794 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
795 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
796 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
798 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
799 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
800 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
801 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
802 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
803 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
804 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
805 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
806 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
807 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
808 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
809 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
810 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
815 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
816 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
817 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
818 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
819 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
820 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
821 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
822 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
823 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
824 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
826 2018-03-19 Joseph Myers <joseph@codesourcery.com>
829 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
831 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
833 * benchtests/bench-timing.h (attribute_hidden): Undefine.
835 2018-03-18 Richard Braun <rbraun@sceen.net>
837 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
840 2018-03-18 Agustina Arzille <avarzille@riseup.net>
842 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
843 (__libc_cleanup_fct): Define function.
844 (__libc_cleanup_region_start, __libc_cleanup_region_end,
845 __libc_cleanup_end): Rewrite implementation using
846 __attribute__ ((__cleanup__)).
847 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
848 * hurd/Makefile (routines): Add hurdlock.
849 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
851 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
852 * hurd/hurdpid.c: Include <lowlevellock.h>
853 (_S_msg_proc_newids): Use lll_wait to synchronize.
854 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
855 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
856 * mach/Makefile (lock-headers): Remove machine-lock.h.
857 * mach/lock-intern.h: Include <lowlevellock.h> instead of
859 (__spin_lock_t): New type.
860 (__SPIN_LOCK_INITIALIZER): New macro.
861 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
862 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
863 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
864 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
865 (__mutex_init): Initialize with lll.
866 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
867 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
869 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
870 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
871 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
872 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
873 (__setpgid): Use lll for synchronization.
874 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
875 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
876 instead of <cthreads.h>.
877 (_IO_lock_inexpensive): New macro
878 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
879 (__libc_lock_self0): New declaration.
880 (__libc_lock_owner_self): New macro.
881 (__libc_key_t): Remove type.
882 (_LIBC_LOCK_INITIALIZER): New macro.
883 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
884 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
885 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
886 __libc_lock_define_initialized_recursive,
887 __rtld_lock_define_initialized_recursive,
888 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
889 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
890 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
891 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
892 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
893 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
894 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
896 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
897 * hurd/hurdlock.c: New file.
898 * hurd/hurdlock.h: New file.
899 * mach/lowlevellock.h: New file
901 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
903 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
904 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
905 when opening a symlink with O_NOFOLLOW.
906 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
907 path when flags contains O_NOFOLLOW.
908 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
909 if flags contains O_DIRECTORY and the result is a directory.
910 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
911 oneself when the pointer given in D is nul (as set by ext2fs).
912 * sysdeps/mach/hurd/mlockall.c: New file.
913 * sysdeps/mach/hurd/munlockall.c: New file.
915 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
917 * hurd/hurdsig.c: Include <pthread.h>.
918 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
919 get the signal thread stack layout.
920 * hurd/Makefile (headers): Remove threadvar.h.
921 (inline-headers): Remove threadvar.h.
922 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
923 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
924 __hurd_threadvar_max, __hurd_errno_location.
925 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
926 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
927 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
928 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
929 unless TLS is not initialized yet, in which case we do not need a
930 critical section yet anyway.
931 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
933 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
935 (__hurd_threadvar_index): Remove enum.
936 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
937 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
939 (__hurd_reply_port0): New variable declaration.
940 (__hurd_local_reply_port): New macro.
941 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
942 (interrupted_reply_port_location): Add thread_t parameter. Use it
943 with THREAD_TCB to access thread-local variables.
944 (_hurdsig_abort_rpcs): Pass ss->thread to
945 interrupted_reply_port_location.
946 (_hurd_internal_post_signal): Likewise.
947 (_hurdsig_init): Use presence of cthread_fork instead of
948 __hurd_threadvar_stack_mask to start signal thread by hand.
949 Remove signal thread threadvar initialization.
950 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
951 * hurd/sigunwind.c: Include <hurd/threadvar.h>
952 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
954 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
956 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
957 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
958 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
959 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
960 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
961 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
962 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
964 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
966 [IS_IN(rtld)] (rtld_errno): New variable.
967 [IS_IN(rtld)] (__errno_location): New weak function.
968 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
969 * sysdeps/mach/hurd/errno.c: Remove file.
970 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
971 (__fork): Remove THREADVAR_SPACE macro and its use.
972 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
974 (init): Do not initialize threadvar.
975 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
977 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
978 __hurd_local_reply_port instead of threadvar.
979 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
980 _hurd_sigstate fields.
981 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
982 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
983 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
984 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
985 instead of threadvar.
986 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
987 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
988 (use_threadvar, global_reply_port): Remove variables.
989 (__hurd_reply_port0): New variable.
990 (__mig_get_reply_port): Use __hurd_local_reply_port and
991 __hurd_reply_port0 instead of threadvar.
992 (__mig_dealloc_reply_port): Likewise.
993 (__mig_init): Do not initialize threadvar.
994 * sysdeps/mach/hurd/profil.c: Fix comment.
995 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
996 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
997 cthread_keycreate, cthread_getspecific, cthread_setspecific to
998 __cthread_fork, __cthread_detach, __pthread_getattr_np,
999 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
1000 __cthread_setspecific.
1001 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
1002 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
1003 __cthread_t instead of cthread_fork, cthread_detach,
1004 pthread_getattr_np, pthread_attr_getstack.
1005 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
1006 __cthread_keycreate.
1007 (cthread_getspecific): Rename to __cthread_getspecific.
1008 (cthread_setspecific): Rename to __cthread_setspecific.
1009 (__libc_getspecific): Use __cthread_getspecific instead of
1010 cthread_getspecific.
1011 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
1012 __cthread_keycreate instead of cthread_keycreate.
1013 (__libc_setspecific): Use __cthread_setspecific instead of
1014 cthread_setspecific.
1015 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
1017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
1018 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
1019 testing whether it is defined.
1021 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1023 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
1025 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
1026 * sysdeps/mach/i386/thread_state.h
1027 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
1029 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
1031 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
1033 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
1034 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
1036 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
1038 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
1039 descriptor instead of creating a new one.
1040 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
1042 * mach/setup-thread.c: Include <ldsodefs.h>.
1043 (__mach_setup_thread): Call _dl_allocate_tls, pass
1044 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
1045 MACHINE_THREAD_STATE_FLAVOR, before getting
1046 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
1047 MACHINE_THREAD_STATE_FLAVOR with the result.
1048 * hurd/hurdfault.c (_hurdsig_fault_init): Call
1049 MACHINE_THREAD_STATE_FIX_NEW.
1050 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
1051 too. Add original thread parameter.
1053 2018-03-16 Joseph Myers <joseph@codesourcery.com>
1055 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
1056 Remove inline function.
1058 * sysdeps/i386/fpu/libm-test-ulps: Update.
1059 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1061 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
1063 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
1066 2018-03-15 Joseph Myers <joseph@codesourcery.com>
1068 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
1069 (__sincos_code): Remove define and undefine.
1070 [__FAST_MATH__] (__sincos): Remove inline function.
1071 [__FAST_MATH__] (__sincosf): Remove inline function.
1072 [__FAST_MATH__] (__sincosl): Remove inline function.
1073 (__atan2l): Remove inline functions.
1074 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
1075 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
1077 (floor): Remove inline function.
1079 [__FAST_MATH__] (__ldexp_code): Remove macro.
1080 [__FAST_MATH__] (ldexp): Remove inline function.
1081 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
1082 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
1083 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
1084 [__USE_ISOC99] (__lrint_code): Remove macro.
1085 [__USE_ISOC99] (__llrint_code): Likewise.
1086 [__USE_ISOC99] (lrintf): Remove inline function.
1087 [__USE_ISOC99] (lrint): Likewise.
1088 [__USE_ISOC99] (lrintl): Likewise.
1089 [__USE_ISOC99] (llrint): Likewise.
1090 [__USE_ISOC99] (llrintf): Likewise.
1091 [__USE_ISOC99] (llrintl): Likewise.
1093 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
1095 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
1096 (__ieee754_sqrtf): Remove.
1097 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
1098 (__ieee754_sqrtf): Remove.
1099 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
1100 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
1101 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
1102 (__ieee754_sqrtf): Remove.
1103 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
1104 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
1107 (__ieee754_sqrt): Remove.
1108 (__ieee754_sqrtf): Remove.
1109 (__ieee754_sqrtl): Remove.
1110 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
1111 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
1112 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
1113 (__ieee754_sqrtf): Remove.
1114 (__ieee754_sqrtl): Remove.
1116 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
1118 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
1119 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
1120 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1121 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
1122 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
1123 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1124 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1125 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1127 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
1128 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
1129 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
1130 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
1131 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
1132 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
1133 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
1134 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
1135 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
1136 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
1137 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
1138 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
1139 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
1140 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
1141 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
1142 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1143 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1144 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
1145 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
1146 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
1147 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1148 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1149 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
1150 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
1151 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
1152 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
1153 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1154 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1155 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
1156 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
1157 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
1158 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
1159 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
1160 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
1161 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
1162 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1163 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
1164 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
1165 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
1166 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
1168 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
1170 * include/math.h (sqrt): Declare with asm redirect.
1173 (sqrtf128): Likewise.
1174 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
1175 nonlib and libnldbl with -fmath-errno.
1176 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
1177 * math/w_sqrt_template.c: Likewise.
1178 * math/w_sqrtf_compat.c: Likewise.
1179 * math/w_sqrtl_compat.c: Likewise.
1180 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
1181 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
1182 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
1185 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
1187 * benchtests/Makefile: Define _ISOMAC.
1188 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
1189 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
1190 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
1191 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
1192 * benchtests/bench-timing.h: Define attribute_hidden.
1194 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
1196 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
1199 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
1202 * localedata/locales/cs_CZ (mon): Rename to...
1204 (mon): Import from CLDR (genitive case).
1206 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
1209 * localedata/locales/el_CY (abmon): Rename to...
1211 (abmon): Import from CLDR (abbreviated genitive case).
1212 * localedata/locales/el_GR (abmon): Rename to...
1214 (abmon): Import from CLDR (abbreviated genitive case).
1216 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
1219 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
1221 2018-03-15 Robert Buj <robert.buj@gmail.com>
1224 * localedata/locales/ca_ES (abmon): Rename to...
1225 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
1228 (abmon): Import from CLDR (genitive case, month names preceded by
1231 (abday): Synchronize with CLDR.
1232 (d_t_fmt): Likewise.
1236 (LC_TIME): Improve indentation.
1237 (LC_TELEPHONE): Likewise.
1238 (LC_NAME): Likewise.
1239 (LC_ADDRESS): Likewise.
1241 2018-03-14 Joseph Myers <joseph@codesourcery.com>
1243 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
1244 (lrintf): Remove definitions used only with old GCC.
1245 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
1246 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
1247 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
1248 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
1249 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
1250 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
1251 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
1252 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
1253 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
1254 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
1255 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
1256 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
1257 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
1258 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
1259 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
1260 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
1261 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
1262 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
1263 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
1264 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
1265 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
1266 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
1267 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
1268 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
1269 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
1270 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
1271 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
1272 [__FAST_MATH__] (__M_SQRT2): Remove macro.
1274 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1276 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
1277 instruction to unbreak builds with binutils 2.26 and older.
1279 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
1281 * sysdeps/aarch64/strncmp.S (count): New macro.
1282 (strncmp): Store misaligned length in SRC1 in COUNT.
1283 (mutual_align): Adjust.
1284 (misaligned8): Load dword at a time when it is safe.
1286 2018-03-12 Zack Weinberg <zackw@panix.com>
1290 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
1291 if the _IO_EOF_SEEN bit is already set; update commentary.
1292 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
1293 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1295 * support/support_openpty.c, support/tty.h: New files.
1296 * support/Makefile (libsupport-routines): Add support_openpty.
1298 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
1300 * libio/Makefile (tests): Add tst-fgetc-after-eof.
1301 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
1303 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
1305 * po/pt_BR.po: Update translations.
1307 2018-03-12 David Michael <fedora.dm0@gmail.com>
1309 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
1310 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
1311 get a port to the startup server.
1313 2018-03-11 Zack Weinberg <zackw@panix.com>
1315 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
1316 before nldbl-compat.h.
1318 2018-03-10 Zack Weinberg <zackw@panix.com>
1320 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
1321 math.h or math_private.h.
1323 * sysdeps/alpha/fpu/s_isnan.c
1324 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
1325 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
1326 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
1327 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
1328 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
1329 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
1330 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
1331 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
1332 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
1333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
1334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
1335 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
1336 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
1337 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
1338 Include math_private.h.
1340 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
1341 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
1342 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
1343 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
1344 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
1345 * sysdeps/powerpc/power7/fpu/s_logb.c:
1346 Include math.h and math_private.h.
1348 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
1349 uses of $at in .set noat / .set at.
1351 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
1353 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
1354 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
1355 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
1356 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
1359 2018-03-09 Florian Weimer <fweimer@redhat.com>
1361 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
1364 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
1367 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
1368 Add nop before __startcontext, add explaining comments.
1370 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1373 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
1375 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
1376 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
1377 Do not build hardware transactional code for __SPE__.
1378 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1379 (__lll_trylock_elision): Likewise.
1380 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1381 (__lll_unlock_elision): Likewise.
1383 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
1384 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
1385 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
1386 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
1387 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
1388 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
1389 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
1390 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
1391 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
1392 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
1393 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
1394 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
1395 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
1396 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
1397 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
1398 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
1399 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
1400 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
1401 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
1402 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
1403 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
1404 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1405 (__ASSUME_CLONE_BACKWARDS): Define.
1406 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
1407 __clone2 if __NR_clone2 is defined.
1408 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1409 (__ASSUME_CLONE_BACKWARDS): Likewise.
1410 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1411 (__ASSUME_CLONE_BACKWARDS): Likewise.
1412 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1413 (__ASSUME_CLONE2): Likewise.
1414 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1415 (__ASSUME_CLONE_BACKWARDS3): Likewise.
1416 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
1417 variants and the define architecture can use.
1418 (__ASSUME_CLONE_DEFAULT): Define as default.
1419 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1420 (__ASSUME_CLONE_BACKWARDS): Likewise.
1421 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1422 (__ASSUME_CLONE_BACKWARDS): Likewise.
1423 * sysdeps/unix/sysv/linux/s390/kernel-features.h
1424 (__ASSUME_CLONE_BACKWARDS2): Likewise.
1426 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
1428 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
1430 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
1433 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
1434 (do_test_limit): Likewise.
1436 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
1437 for every implementation.
1438 (do_test): Likewise.
1440 * benchtests/bench-strncmp.c: Convert output to json.
1442 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1444 * io/futimens.c: Add missing start-of-file descriptive comment.
1445 * io/utime.c: Likewise.
1446 * misc/futimesat.c: Likewise.
1447 * misc/utimes.c: Likewise.
1448 * sysdeps/mach/hurd/futimesat.c: Likewise.
1449 * sysdeps/mach/hurd/utimes.c: Likewise.
1450 * sysdeps/posix/utime.c: Likewise.
1451 * sysdeps/posix/utimes.c: Likewise.
1452 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
1453 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1454 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
1455 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
1457 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
1459 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
1461 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
1462 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
1463 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
1464 (__futimens): Move implementation to...
1465 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
1466 utime_tvalue_from_tspec): ... new helper functions.
1467 (hurd_futimens): New function.
1468 * sysdeps/mach/hurd/futimesat.c: New file.
1469 * sysdeps/mach/hurd/utimensat.c: New file.
1471 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
1473 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
1474 UTIME_OMIT): New macros.
1475 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
1476 before reverting to converting time spec to time value and calling
1478 * sysdeps/mach/hurd/utime-helper.c: New file.
1479 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
1480 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
1481 reverting to utime_tvalue_from_tval and __file_utimes.
1482 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
1483 (__lutimes): Just call hurd_futimens after lookup.
1484 * sysdeps/mach/hurd/utimes.c: Likewise.
1486 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
1488 * bits/sigaction.h: Add include guard.
1489 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
1490 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
1491 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
1492 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
1493 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1494 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
1495 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1496 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
1497 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
1499 2018-03-05 Joseph Myers <joseph@codesourcery.com>
1501 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
1502 -Wmaybe-uninitialized for -Os.
1503 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
1506 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1508 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
1509 __INO_T_MATCHES_INO64_T is defined.
1510 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
1511 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
1513 * dirent/alphasort64.c: Likewise.
1514 * dirent/scandir.c: Likewise.
1515 * dirent/scandir64-tail.c: Likewise.
1516 * dirent/scandir64.c: Likewise.
1517 * dirent/scandirat.c: Likewise.
1518 * dirent/scandirat64.c: Likewise.
1519 * dirent/versionsort.c: Likewise.
1520 * dirent/versionsort64.c: Likewise.
1521 * include/dirent.h: Likewise.
1523 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
1524 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
1525 for socketpair endpoint.
1526 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
1527 WRITE_BUFFER_SIZE as buffer size for sending socket.
1528 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
1529 issue on system where send is implemented with sendto syscall.
1530 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
1531 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
1532 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
1533 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
1536 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
1537 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
1538 sa_restorer for vDSO case.
1539 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
1541 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1543 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
1544 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
1545 * hurd/hurd/ioctl.h: Include <mach/port.h>
1546 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
1547 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
1548 <mach/mach_types.h> and <mach/message.h>.
1549 (headers): Move mach/param.h to bits/mach/param.h.
1550 * sysdeps/mach/i386/mach/param.h: Move file to ...
1551 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
1552 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
1554 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
1555 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
1556 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
1557 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
1558 trivial, for C++ conformity.
1559 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
1560 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
1561 Process mig output through $(migheadersed).
1562 * hurd/Makefile (migheadersed): Define variable.
1563 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
1564 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
1566 * hurd/hurd.h: Include <bits/types/sigset_t.h>
1567 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
1568 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
1569 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
1570 <bits/types/sigset_t.h>.
1571 [!defined __USE_GNU]: Do not #error out.
1572 (struct hurd_sigstate): Use _NSIG instead of NSIG.
1573 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
1574 Include <stddef.h> and <bits/types/sigset_t.h>
1575 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
1576 instead of sighandler_t.
1577 * stdlib/errno.h (error_t): Move definition to...
1578 * bits/types/error_t.h: ... new header.
1579 * stdlib/Makefile (headers): Add bits/types/error_t.h.
1580 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
1581 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
1582 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
1583 * hurd/hurd.h: Include <bits/types/error_t.h>
1584 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
1585 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
1586 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
1587 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
1588 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
1589 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
1590 * sysdeps/mach/hurd/futimens.c: New file.
1592 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
1595 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
1596 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
1597 * nscd/gai.c (__nss_hosts_database): Readd definition.
1598 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
1599 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
1600 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
1602 2018-03-02 Joseph Myers <joseph@codesourcery.com>
1604 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
1605 (ifunc_one): Likewise.
1607 2018-03-01 DJ Delorie <dj@delorie.com>
1610 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
1613 2018-03-01 Maciej W. Rozycki <macro@mips.com>
1615 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
1616 `match_pid' parameter.
1617 (td_ta_thr_iter): Update accordingly.
1619 2018-03-01 Florian Weimer <fweimer@redhat.com>
1621 * nptl/Makefile (install-lib-ldscripts): Remove.
1622 (install): Remove rule.
1623 ($(inst_libdir)/libpthread.so): Likewise.
1625 2018-03-01 Mike FABIAN <mfabian@redhat.com>
1628 * localedata/locales/an_ES: update month and day names,
1629 improve d_fmt, improve postal_fmt, add country_post,
1632 2018-03-01 Mike FABIAN <mfabian@redhat.com>
1634 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
1635 Ukrainian instead of Bulgarian.
1637 2018-03-01 Florian Weimer <fweimer@redhat.com>
1639 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
1642 2018-03-01 Florian Weimer <fweimer@redhat.com>
1644 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
1645 * nptl/Makefile (routines): Add pthread_atfork.
1646 (static-only-routines): Set to pthread_atfork.
1647 (libpthread-routines): Remove pthread_atfork.
1648 (libpthread-static-only-routines): Remove.
1649 (install): Update comment.
1650 (libpthread.so): Do not install libpthread_nonshared.a.
1651 (tests): Do not link with libpthread_nonshared.a.
1652 (generated): Remove libpthread_nonshared.a.
1653 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
1654 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
1655 with libpthread_nonshared.a.
1657 2018-02-28 Joseph Myers <joseph@codesourcery.com>
1660 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
1661 (libc_feholdexcept_setroundf128): New macro.
1662 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
1665 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
1667 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
1668 * include/inttypes.h: New file.
1670 2018-02-27 Joseph Myers <joseph@codesourcery.com>
1672 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
1673 -Os in two more places.
1675 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1677 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
1678 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
1679 be sorted correctly at the moment because of a bug.
1681 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1683 [BZ #22550] - es_ES locale (and other es_* locales): collation should
1684 treat ñ as a primary different character, sync the collation
1685 for Spanish with CLDR.
1686 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
1687 * localedata/Makefile: Add new test files.
1688 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
1689 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
1691 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
1692 * localedata/am_ET.UTF-8.in: New test file.
1693 * localedata/az_AZ.UTF-8.in: Likewise.
1694 * localedata/be_BY.UTF-8.in: Likewise.
1695 * localedata/ber_DZ.UTF-8.in: Likewise.
1696 * localedata/ber_MA.UTF-8.in: Likewise.
1697 * localedata/bg_BG.UTF-8.in: Likewise.
1698 * localedata/br_FR.UTF-8.in: Likewise.
1699 * localedata/cmn_TW.UTF-8.in: Likewise.
1700 * localedata/crh_UA.UTF-8.in: Likewise.
1701 * localedata/csb_PL.UTF-8.in: Likewise.
1702 * localedata/cv_RU.UTF-8.in: Likewise.
1703 * localedata/cy_GB.UTF-8.in: Likewise.
1704 * localedata/dz_BT.UTF-8.in: Likewise.
1705 * localedata/eo.UTF-8.in: Likewise.
1706 * localedata/es_ES.UTF-8.in: Likewise.
1707 * localedata/fa_IR.UTF-8.in: Likewise.
1708 * localedata/fi_FI.UTF-8.in: Likewise.
1709 * localedata/fil_PH.UTF-8.in: Likewise.
1710 * localedata/fur_IT.UTF-8.in: Likewise.
1711 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
1712 * localedata/ha_NG.UTF-8.in: Likewise.
1713 * localedata/ig_NG.UTF-8.in: Likewise.
1714 * localedata/ik_CA.UTF-8.in: Likewise.
1715 * localedata/kk_KZ.UTF-8.in: Likewise.
1716 * localedata/ku_TR.UTF-8.in: Likewise.
1717 * localedata/ky_KG.UTF-8.in: Likewise.
1718 * localedata/ln_CD.UTF-8.in: Likewise.
1719 * localedata/mi_NZ.UTF-8.in: Likewise.
1720 * localedata/ml_IN.UTF-8.in: Likewise.
1721 * localedata/mn_MN.UTF-8.in: Likewise.
1722 * localedata/mr_IN.UTF-8.in: Likewise.
1723 * localedata/mt_MT.UTF-8.in: Likewise.
1724 * localedata/nb_NO.UTF-8.in: Likewise.
1725 * localedata/om_KE.UTF-8.in: Likewise.
1726 * localedata/os_RU.UTF-8.in: Likewise.
1727 * localedata/ps_AF.UTF-8.in: Likewise.
1728 * localedata/ro_RO.UTF-8.in: Likewise.
1729 * localedata/ru_RU.UTF-8.in: Likewise.
1730 * localedata/sc_IT.UTF-8.in: Likewise.
1731 * localedata/se_NO.UTF-8.in: Likewise.
1732 * localedata/sq_AL.UTF-8.in: Likewise.
1733 * localedata/sv_SE.UTF-8.in: Likewise.
1734 * localedata/szl_PL.UTF-8.in: Likewise.
1735 * localedata/tg_TJ.UTF-8.in: Likewise.
1736 * localedata/tk_TM.UTF-8.in: Likewise.
1737 * localedata/tt_RU.UTF-8.in: Likewise.
1738 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
1739 * localedata/ug_CN.UTF-8.in: Likewise.
1740 * localedata/uz_UZ.UTF-8.in: Likewise.
1741 * localedata/vi_VN.UTF-8.in: Likewise.
1742 * localedata/yi_US.UTF-8.in: Likewise.
1743 * localedata/yo_NG.UTF-8.in: Likewise.
1744 * localedata/zh_CN.UTF-8.in: Likewise.
1745 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
1746 file and fix bugs in the collation.
1747 * localedata/locales/az_AZ: Likewise.
1748 * localedata/locales/be_BY: Likewise.
1749 * localedata/locales/ber_DZ: Likewise.
1750 * localedata/locales/ber_MA: Likewise.
1751 * localedata/locales/bg_BG: Likewise.
1752 * localedata/locales/br_FR: Likewise.
1753 * localedata/locales/br_FR@euro: Likewise.
1754 * localedata/locales/ca_ES: Likewise.
1755 * localedata/locales/cns11643_stroke: Likewise.
1756 * localedata/locales/crh_UA: Likewise.
1757 * localedata/locales/cs_CZ: Likewise.
1758 * localedata/locales/csb_PL: Likewise.
1759 * localedata/locales/cv_RU: Likewise.
1760 * localedata/locales/cy_GB: Likewise.
1761 * localedata/locales/da_DK: Likewise.
1762 * localedata/locales/dz_BT: Likewise.
1763 * localedata/locales/en_CA: Likewise.
1764 * localedata/locales/eo: Likewise.
1765 * localedata/locales/es_CU: Likewise.
1766 * localedata/locales/es_EC: Likewise.
1767 * localedata/locales/es_ES: Likewise.
1768 * localedata/locales/es_US: Likewise.
1769 * localedata/locales/et_EE: Likewise.
1770 * localedata/locales/fa_IR: Likewise.
1771 * localedata/locales/fi_FI: Likewise.
1772 * localedata/locales/fil_PH: Likewise.
1773 * localedata/locales/fur_IT: Likewise.
1774 * localedata/locales/gez_ER@abegede: Likewise.
1775 * localedata/locales/ha_NG: Likewise.
1776 * localedata/locales/hr_HR: Likewise.
1777 * localedata/locales/hsb_DE: Likewise.
1778 * localedata/locales/hu_HU: Likewise.
1779 * localedata/locales/ig_NG: Likewise.
1780 * localedata/locales/ik_CA: Likewise.
1781 * localedata/locales/is_IS: Likewise.
1782 * localedata/locales/iso14651_t1_pinyin: Likewise.
1783 * localedata/locales/kk_KZ: Likewise.
1784 * localedata/locales/ku_TR: Likewise.
1785 * localedata/locales/ky_KG: Likewise.
1786 * localedata/locales/ln_CD: Likewise.
1787 * localedata/locales/lt_LT: Likewise.
1788 * localedata/locales/lv_LV: Likewise.
1789 * localedata/locales/mi_NZ: Likewise.
1790 * localedata/locales/ml_IN: Likewise.
1791 * localedata/locales/mn_MN: Likewise.
1792 * localedata/locales/mr_IN: Likewise.
1793 * localedata/locales/mt_MT: Likewise.
1794 * localedata/locales/nb_NO: Likewise.
1795 * localedata/locales/om_KE: Likewise.
1796 * localedata/locales/os_RU: Likewise.
1797 * localedata/locales/pl_PL: Likewise.
1798 * localedata/locales/ps_AF: Likewise.
1799 * localedata/locales/ro_RO: Likewise.
1800 * localedata/locales/ru_RU: Likewise.
1801 * localedata/locales/ru_UA: Likewise.
1802 * localedata/locales/sc_IT: Likewise.
1803 * localedata/locales/se_NO: Likewise.
1804 * localedata/locales/si_LK: Likewise.
1805 * localedata/locales/sq_AL: Likewise.
1806 * localedata/locales/sv_FI: Likewise.
1807 * localedata/locales/sv_FI@euro: Likewise.
1808 * localedata/locales/sv_SE: Likewise.
1809 * localedata/locales/szl_PL: Likewise.
1810 * localedata/locales/tg_TJ: Likewise.
1811 * localedata/locales/ti_ER: Likewise.
1812 * localedata/locales/tk_TM: Likewise.
1813 * localedata/locales/tl_PH: Likewise.
1814 * localedata/locales/tr_TR: Likewise.
1815 * localedata/locales/tt_RU: Likewise.
1816 * localedata/locales/tt_RU@iqtelif: Likewise.
1817 * localedata/locales/ug_CN: Likewise.
1818 * localedata/locales/uk_UA: Likewise.
1819 * localedata/locales/uz_UZ: Likewise.
1820 * localedata/locales/uz_UZ@cyrillic: Likewise.
1821 * localedata/locales/vi_VN: Likewise.
1822 * localedata/locales/yi_US: Likewise.
1823 * localedata/locales/yo_NG: Likewise.
1825 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1827 * gen-locales.mk: Make test files which contain @ modifiers in their
1829 * localedata/gen-locale.sh: Likewise.
1831 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1833 * posix/tst-fnmatch.input: Fix results for range expressions
1835 * posix/tst-regexloc.c: Do not use a range expression for
1836 de_DE.ISO-8859-1 locale.
1838 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1840 * posix/bug-regex5.c: Fix test case because with the new
1841 iso14651_t1_common file, the da_DK locale now has 6 collating elements
1842 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
1845 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1847 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
1848 downloaded from ISO, the collation order of @-. and space has changed.
1849 Therefore, this test file needed to be adapted.
1850 * localedata/fr_CA.UTF-8.in: Likewise.
1851 * localedata/fr_FR.UTF-8.in: Likewise.
1852 * localedata/uk_UA.UTF-8.in: Likewise.
1854 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1856 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
1857 order of ȥ in the new iso14651_t1_common file.
1858 * localedata/pl_PL.UTF-8.in: Likewise.
1860 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1862 * localedata/locales/iso14651_t1_common: Add sections for various
1863 scripts to the iso14651_t1_common file.
1865 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1867 * localedata/locales/iso14651_t1_common: Use the code point of a
1868 character in the fourth collation level instead of IGNORE for all
1869 entries which have IGNORE on all 4 levels.
1871 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1873 * localedata/locales/iso14651_t1_common: Add some convenient collation
1874 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
1875 rules similar to those in CLDR.
1877 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1879 * localedata/locales/iso14651_t1_common: The new version of this
1880 file downloaded from ISO contained several syntax errors which
1881 are fixed by this patch.
1883 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1885 * localedata/locales/iso14651_t1_common: replace all <U.....>
1886 with <U000.....> because glibc understands only 4 digit or 8 digit
1888 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1890 * localedata/locales/iso14651_t1_common: Necessary changes
1891 to make the file downloaded from ISO usable by glibc.
1893 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1896 * localedata/locales/iso14651_t1_common: Update file to
1897 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
1899 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1901 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
1902 of <nptl/pthreadP.h>
1903 (thread_attr_compare): Move function to...
1904 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
1905 * sysdeps/nptl/timer_routines.h: ... new header.
1906 * sysdeps/mach/hurd/gai_misc.h: New file.
1908 2018-02-26 Joseph Myers <joseph@codesourcery.com>
1910 * string/strcoll_l.c: Include <libc-diag.h>.
1911 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
1912 declarations of seq1 and seq2.
1915 * stdlib/atoi.c (atoi): Use libc_hidden_def.
1916 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
1918 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
1922 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
1923 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
1924 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
1925 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
1926 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
1927 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
1929 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1931 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
1932 macros used in __ptrace_request.
1934 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
1937 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
1939 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
1940 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
1941 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
1944 2018-02-23 Joseph Myers <joseph@codesourcery.com>
1947 * ctype/ctype.c (tolower): Use libc_hidden_def.
1948 (toupper): Likewise.
1949 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
1950 [!_ISOMAC] (toupper): Likewise.
1952 2018-02-23 Mike FABIAN <mfabian@redhat.com>
1954 * localedata/Makefile: Remove --quiet argument when
1957 2018-02-23 Mike FABIAN <mfabian@redhat.com>
1960 * localedata/locales/pt_BR (LC_TIME): use / instead of -
1962 * localedata/locales/pt_PT (LC_TIME): likewise
1964 2018-02-23 Mike FABIAN <mfabian@redhat.com>
1967 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
1968 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
1969 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
1971 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1975 * nptl/Makefile (routines): Remove unregister-atfork.
1976 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
1977 (fork_handler_alloc): Remove function.
1978 (fork_handlers, fork_handler_init): New variables.
1979 (__fork_lock): Rename to atfork_lock.
1980 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
1981 to use a dynamic array to add/remove atfork handlers.
1982 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1983 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
1985 (fork_handler): Remove next, refcntr, and need_signal member.
1986 (__run_fork_handler_type): New enum.
1987 (__run_fork_handlers): New prototype.
1988 * nptl/register-atfork.c: Remove file.
1989 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
1991 * sysdeps/nptl/nptl-signals.h: Move to ...
1992 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
1994 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
1995 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
1996 unnecessary check for SIGTIMER.
1997 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
1998 remove unnecessary removal of SIGTIMER.
1999 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
2000 include-signals.h rename.
2001 * nptl/pthreadP.h: Likewise.
2002 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
2003 __is_internal_signal instead of __nptl_is_internal_signal.
2005 2018-02-22 Andrew Waterman <andrew@sifive.com>
2008 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
2009 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
2010 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
2011 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
2013 2018-02-22 DJ Delorie <dj@delorie.com>
2015 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
2017 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
2019 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
2020 do_misaligned, not misaligned8.
2022 2018-02-22 Steve Ellcey <sellcey@cavium.com>
2024 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2025 Add memcpy_thunderx2.
2026 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
2028 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
2029 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
2030 and IS_THUNDERX2PA checks.
2031 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
2032 Use macro to set name appropriately.
2033 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
2034 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
2035 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
2037 (IS_THUNDERX2): New macro.
2039 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
2041 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2043 2018-02-21 Zack Weinberg <zackw@panix.com>
2045 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
2046 Define here, unconditionally.
2047 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
2048 * libio/libioP.h: Remove #if 0 blocks.
2049 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
2050 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
2051 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
2053 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
2054 Assume weak_alias is always defined.
2056 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
2057 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
2058 Remove #if 0 and #ifdef TODO blocks.
2059 Assume text_set_element is always defined.
2061 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
2062 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
2063 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
2065 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
2066 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
2067 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
2068 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
2069 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
2070 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
2071 Reformat bit flags for _flags field to make occupancy clearer.
2073 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
2074 Keep definitions consistent with those in libio/libio.h.
2076 * libio/libio.h (_IO_file_flags): Remove macro.
2077 All uses changed to _flags.
2079 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
2080 (__HAVE_COLUMN, _IO_BE): Don't define.
2081 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
2082 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
2083 * libio/libioP.h (EOF): Don't define.
2084 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
2085 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
2086 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
2087 testing _IO_UNIFIED_JUMPTABLES.
2089 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
2090 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
2091 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
2092 (_IO_size_t): Delete; all uses changed to size_t.
2093 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
2094 (_IO_off_t): Delete; all uses changed to off_t.
2095 (_IO_off64_t): Delete; all uses changed to off64_t.
2096 (_IO_pid_t): Delete; all uses changed to pid_t.
2097 (_IO_uid_t): Delete; all uses changed to uid_t.
2098 (_IO_wint_t): Delete; all uses changed to wint_t.
2099 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
2100 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
2101 (_IO_cookie_io_functions_t): Delete; all uses changed to
2102 cookie_io_functions_t.
2103 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
2104 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
2105 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
2106 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
2108 * libio/iofopncook.c: Remove unnecessary forward declarations.
2109 * libio/iolibio.h: Correct outdated commentary.
2110 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
2111 * stdio-common/fxprintf.c (__fxprintf_nocancel):
2112 Remove unnecessary casts.
2113 * stdio-common/getline.c: Use _IO_getdelim directly.
2114 Don't redefine ssize_t.
2115 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
2116 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
2117 Remove outdated comments.
2118 * stdio-common/vfscanf.c: Don't redefine va_list.
2120 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
2121 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
2122 Remove preprocessor conditionals on _LIBC and __USE_GNU,
2123 which are always true, and __cplusplus, which is always false.
2125 2018-02-21 Joseph Myers <joseph@codesourcery.com>
2129 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
2130 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
2131 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
2132 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
2134 [!_ISOMAC] (putc_unlocked): Likewise.
2135 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
2136 define inline if [__USE_EXTERN_INLINES].
2137 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
2142 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
2143 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
2144 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
2145 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
2146 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
2148 * time/tzfile.c (__tzfile_read): Likewise.
2150 2018-02-21 Mike FABIAN <mfabian@redhat.com>
2153 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
2155 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
2157 * io/fcntl.h: Fix a typo in a comment.
2159 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
2162 * include/features.h: Add _ISOC11_SOURCE to test for whether to
2163 define _DEFAULT_SOURCE.
2164 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
2166 2018-02-21 Florian Weimer <fweimer@redhat.com>
2169 * elf/cache.c (save_cache): Call fsync on temporary file before
2171 (save_aux_cache): Call fdatasync on temporary file before renaming
2174 2018-02-21 Florian Weimer <fweimer@redhat.com>
2177 * include/caller.h: Remove file.
2178 * elf/dl-caller.c: Likewise.
2179 * elf/Makefile (dl-routines): Remove dl-caller.
2180 (shared-only-routines): Do not add dl-caller.
2181 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
2183 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
2185 (dl_open_worker): Do not call __check_caller.
2186 (_dl_open): Do not set caller_dl_open member.
2187 * elf/rtld.c (_rtld_global_ro): Do not initialize
2188 _dl_check_caller member.
2189 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
2190 _dl_check_caller member.
2191 (_dl_check_caller): Remove declaration.
2192 * sysdeps/unix/sysv/linux/dl-execstack.c
2193 (_dl_make_stack_executable): Do not call __check_caller.
2195 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
2197 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
2198 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
2200 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
2202 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
2205 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
2208 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
2209 of 199606L, 200112L, and 200809L.
2210 (_XOPEN_SOURCE): Document special values of 600 and 700.
2211 (_ISOC11_SOURCE): Document macro.
2212 (_ATFILE_SOURCE): Likewise.
2213 (_FORTIFY_SOURCE): Likewise.
2215 2018-02-19 Joseph Myers <joseph@codesourcery.com>
2219 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
2220 and define as weak alias of __ferror_unlocked. Use
2222 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
2224 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
2225 function if [__USE_EXTERN_INLINES].
2226 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
2229 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
2232 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
2234 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
2237 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
2238 the GLIBC_2.1 version.
2240 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
2243 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
2244 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
2245 intl/tst-gettext-de.po from po/de.po by removing the
2246 POT-Creation-Date line.
2247 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
2249 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
2252 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
2254 * mach/Makefile (headers): Add mach/param.h.
2255 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
2256 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
2257 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
2258 (__ptsname_r): Move implementation to...
2259 (__ptsname_internal): ... new function. Add filling the STP
2262 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
2264 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
2267 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
2269 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
2272 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2274 * nptl/Makefile (tst-mutex8-ENV): Delete.
2275 * nptl/tst-mutex8.c (check_type):
2276 Add runtime check if mutex will be elided.
2278 2018-02-15 Joseph Myers <joseph@codesourcery.com>
2282 * manual/install.texi (Configuring and compiling): Describe
2283 passing CC and CFLAGS on configure command line, not as
2284 environment variables. Use @code markup on those variables.
2285 Specify what options go in CC and what go in CFLAGS. Note the
2286 requirement to compile with optimization.
2287 * INSTALL: Regenerated.
2290 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
2291 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
2292 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
2293 __sigprocmask instead of sigprocmask.
2294 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
2296 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
2297 __sigsetjmp and sigprocmask.
2300 * include/argz.h (argz_next): Use libc_hidden_proto.
2301 (__argz_next): Likewise.
2302 * string-argz-next.c (__argz_next): Use libc_hidden_def.
2303 (argz_next): Use libc_hidden_weak.
2306 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
2308 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
2312 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
2314 * libio/iofputs.c (fputs): Use libc_hidden_weak.
2318 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
2319 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
2320 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
2321 (__feof_unlocked): New declaration, and inline function if
2322 [__USE_EXTERN_INLINES].
2323 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
2324 instead of feof_unlocked.
2325 * intl/localealias.c [_LIBC] (FEOF): Likewise.
2326 * nss/nsswitch.c (nss_parse_file): Likewise.
2327 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
2329 * time/getdate.c (__getdate_r): Likewise.
2330 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
2331 Define as macro to call __feof_unlocked.
2333 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
2335 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
2337 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
2339 * math/Makefile: Remove mpexp.c and mplog.c
2340 * sysdeps/i386/fpu/mpexp.c: Delete file.
2341 * sysdeps/i386/fpu/mplog.c: Likewise.
2342 * sysdeps/ia64/fpu/mpexp.c: Likewise.
2343 * sysdeps/ia64/fpu/mplog.c: Likewise.
2344 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
2345 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
2346 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
2347 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2348 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
2349 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
2350 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
2351 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
2352 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
2353 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
2354 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
2355 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
2356 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
2357 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
2358 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
2359 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
2361 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2363 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2365 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2367 * sysdeps/sh/libm-test-ulps: Update.
2369 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2371 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
2374 2018-02-12 Zack Weinberg <zackw@panix.com>
2377 * posix/sys/types.h: Don't include sys/sysmacros.h.
2378 * misc/sys/sysmacros.h: Remove the conditional deprecation
2379 warnings for the macros defined by this header.
2381 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
2383 * manual/probes.texi: Remove slowexp probes.
2384 * math/Makefile: Remove slowexp.
2385 * sysdeps/generic/math_private.h (__slowexp): Remove.
2386 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
2387 document error bounds.
2388 * sysdeps/i386/fpu/slowexp.c: Remove.
2389 * sysdeps/ia64/fpu/slowexp.c: Remove.
2390 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
2391 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
2392 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
2393 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
2394 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
2395 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
2396 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
2397 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
2398 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
2399 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
2400 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
2402 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2405 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
2406 * benchtests/pow-inputs: Update comment for slow path cases.
2407 * manual/probes.texi (slowpow_p10): Delete removed probe.
2408 (slowpow_p10): Likewise.
2409 * math/Makefile: Remove halfulp.c and slowpow.c.
2410 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
2411 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
2412 (__halfulp): Remove.
2413 (__slowpow): Remove.
2414 * sysdeps/i386/fpu/halfulp.c: Delete file.
2415 * sysdeps/i386/fpu/slowpow.c: Likewise.
2416 * sysdeps/ia64/fpu/halfulp.c: Likewise.
2417 * sysdeps/ia64/fpu/slowpow.c: Likewise.
2418 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
2419 improve comments and add error analysis.
2420 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
2421 (power1): Remove function:
2422 (log1): Remove error argument, add error analysis.
2423 (my_log2): Remove function.
2424 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
2425 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2426 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
2427 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
2428 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
2429 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
2430 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
2431 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
2432 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
2433 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
2434 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
2435 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
2436 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
2437 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
2439 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
2441 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
2442 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
2444 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
2447 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
2448 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
2449 and PTRACE_SETHBPREGS.
2451 2018-02-10 Zack Weinberg <zackw@panix.com>
2454 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
2456 * malloc/tst-malloc-stats-cancellation.c: New test case.
2457 * malloc/Makefile: Add new test case.
2459 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
2461 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
2463 2018-02-10 Joseph Myers <joseph@codesourcery.com>
2465 * math/Makefile (libm-narrow-fns): Add add.
2466 (libm-test-funcs-narrow): Likewise.
2467 * math/Versions (GLIBC_2.28): Add narrowing add functions.
2468 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
2469 * math/gen-auto-libm-tests.c (test_functions): Add add.
2470 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
2471 (NARROW_ADD_ROUND_TO_ODD): Likewise.
2472 (NARROW_ADD_TRIVIAL): Likewise.
2473 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
2475 (__daddl): Likewise.
2476 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
2478 (CFLAGS-nldbl-dadd.c): New variable.
2479 (CFLAGS-nldbl-fadd.c): Likewise.
2480 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
2482 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
2484 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
2485 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
2486 * math/auto-libm-test-in: Add tests of add.
2487 * math/auto-libm-test-out-narrow-add: New generated file.
2488 * math/libm-test-narrow-add.inc: New file.
2489 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
2490 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
2491 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
2492 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
2493 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
2494 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
2495 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
2496 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
2497 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
2498 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
2499 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
2500 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
2501 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
2502 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
2503 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
2504 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2505 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
2506 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2508 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
2509 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2510 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2511 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2512 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2513 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2514 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2515 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2516 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2517 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2518 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2519 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2520 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
2523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
2524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2525 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
2526 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2527 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2528 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2529 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2530 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2531 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
2532 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
2533 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2534 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2536 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
2537 (f128-pairs): New variable.
2538 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
2539 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
2541 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
2542 Also make tests add $(f128-loader-link) to gnulib-tests.
2544 2018-02-09 DJ Delorie <dj@redhat.com>
2547 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
2548 64-bit ELF type for 64-bit ELF objects.
2550 2018-02-09 Joseph Myers <joseph@codesourcery.com>
2552 * math/libm-test-driver.c (snan_tests_arg): New variable.
2553 * math/libm-test-support.h (snan_tests_arg): New declaration.
2554 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
2556 * math/Makefile (test-type-pairs): New variable.
2557 (test-type-pairs-f64xf128-yes): Likewise.
2558 (tests): Add test-narrow-macros.
2559 (libm-test-funcs-narrow): New variable.
2560 (libm-test-c-narrow): Likewise.
2561 (generated): Add $(libm-test-c-narrow).
2562 (libm-tests-base-narrow): New variable.
2563 (libm-tests-narrow): Likewise.
2564 (libm-tests): Add $(libm-tests-narrow).
2565 (libm-tests-for-type): Handle $(libm-tests-narrow).
2566 (libm-test-c-narrow-obj): New variable.
2567 ($(libm-test-c-narrow-obj)): New rule.
2568 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
2569 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
2570 $(o-iterator) to set dependencies and CFLAGS.
2571 * math/gen-auto-libm-tests.c: Document use for narrowing
2573 (output_for_one_input_case): Take argument NARROW.
2574 (generate_output): Likewise. Update call to
2575 output_for_one_input_case.
2576 (main): Take --narrow option. Update call to generate_output.
2577 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
2578 (apply_lit): Update call to _apply_lit.
2579 (apply_arglit): New function.
2580 (parse_args): Handle "a" arguments.
2581 (parse_auto_input): Handle format names using ":".
2582 * math/README.libm-test: Document "a" parameter type.
2583 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
2584 (ARG_TYPE_TRUE_MIN): Likewise.
2585 (ARG_TYPE_MAX): Likwise.
2586 (ARG_MIN_EXP): Likewise.
2587 (ARG_MAX_EXP): Likewise.
2588 (ARG_MANT_DIG): Likewise.
2589 (TEST_COND_arg_ibm128): Likewise.
2590 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
2591 (TEST_COND_arg_fmt): New macro.
2592 (init_max_error): Update prototype.
2593 * math/libm-test-support.c (test_ibm128): New variable.
2594 (init_max_error): Take argument testing_ibm128 and set test_ibm128
2595 instead of using [TEST_COND_ibm128] conditional.
2596 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
2597 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
2598 [TEST_NARROW] (TEST_MSG): New definition.
2599 (arg_plus_zero): New macro.
2600 (arg_minus_zero): Likewise.
2601 (arg_plus_infty): Likewise.
2602 (arg_minus_infty): Likewise.
2603 (arg_qnan_value_pl): Likewise.
2604 (arg_qnan_value): Likewise.
2605 (arg_snan_value_pl): Likewise.
2606 (arg_snan_value): Likewise.
2607 (arg_max_value): Likewise.
2608 (arg_min_value): Likewise.
2609 (arg_min_subnorm_value): Likewise.
2610 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
2611 (RUN_TEST_LOOP_aa_f): New macro.
2612 (TEST_SUFF): New macro.
2613 (TEST_SUFF_STR): Likewise.
2614 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
2615 (TEST_COND_any_ibm128): New macro.
2616 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
2617 this_func. Update call to init_max_error.
2618 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
2619 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
2620 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
2621 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
2622 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
2623 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
2624 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
2625 * math/test-math-scalar.h (TEST_NARROW): Likewise.
2626 * math/test-math-vector.h (TEST_NARROW): Likewise.
2627 * math/test-arg-double.h: New file.
2628 * math/test-arg-float128.h: Likewise.
2629 * math/test-arg-float32x.h: Likewise.
2630 * math/test-arg-float64.h: Likewise.
2631 * math/test-arg-float64x.h: Likewise.
2632 * math/test-arg-ldouble.h: Likewise.
2633 * math/test-math-narrow.h: Likewise.
2634 * math/test-narrow-macros.c: Likewise.
2635 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
2636 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
2637 test-narrow-macros-ldbl-64.
2638 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
2640 * math/bits/mathcalls-narrow.h: New file.
2641 * include/bits/mathcalls-narrow.h: Likewise.
2642 * math/math-narrow.h: Likewise.
2643 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
2644 (__MATHCALL_NARROW_ARGS_2): Likewise.
2645 (__MATHCALL_NARROW_ARGS_3): Likewise.
2646 (__MATHCALL_NARROW_NORMAL): Likewise.
2647 (__MATHCALL_NARROW_REDIR): Likewise.
2648 (__MATHCALL_NARROW): Likewise.
2649 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
2650 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
2652 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
2653 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
2654 (libm-narrow-fns): New variable.
2655 (libm-narrow-types-basic): Likewise.
2656 (libm-narrow-types-ldouble-yes): Likewise.
2657 (libm-narrow-types-float128-yes): Likewise.
2658 (libm-narrow-types-float128-alias-yes): Likewise.
2659 (libm-narrow-types): Likewise.
2660 (libm-routines): Add narrowing functions.
2661 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
2662 (libc_feholdexcept_setroundf128): New macro.
2663 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
2664 * sysdeps/ieee754/float128/float128_private.h: Include
2665 <math/math-narrow.h>.
2666 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
2667 Undefine and redefine.
2668 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
2669 (libm_alias_float_ldouble): Undefine and redefine.
2670 (libm_alias_double_ldouble): Likewise.
2672 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
2674 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
2676 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
2679 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
2681 * manual/creature.texi: Convert references to gcc.info to gcc.
2682 * manual/stdio.texi: Likewise.
2683 * manual/string.texi: Likewise.
2685 2018-02-07 Joseph Myers <joseph@codesourcery.com>
2688 * posix/bits/types.h (__int_least8_t): New typedef.
2689 (__uint_least8_t): Likewise.
2690 (__int_least16_t): Likewise.
2691 (__uint_least16_t): Likewise.
2692 (__int_least32_t): Likewise.
2693 (__uint_least32_t): Likewise.
2694 (__int_least64_t): Likewise.
2695 (__uint_least64_t): Likewise.
2696 * sysdeps/generic/stdint.h (int_least8_t): Define using
2698 (int_least16_t): Define using __int_least16_t.
2699 (int_least32_t): Define using __int_least32_t.
2700 (int_least64_t): Define using __int_least64_t.
2701 (uint_least8_t): Define using __uint_least8_t.
2702 (uint_least16_t): Define using __uint_least16_t.
2703 (uint_least32_t): Define using __uint_least32_t.
2704 (uint_least64_t): Define using __uint_least64_t.
2705 * wcsmbs/uchar.h: Include <bits/types.h>.
2706 (char16_t): Define using __uint_least16_t conditional only on
2708 (char32_t): Define using __uint_least32_t conditional only on
2710 * wcsmbs/test-char-types.c: New file.
2711 * wcsmbs/Makefile (tests): Add test-char-types.
2713 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2716 2018-02-07 Zack Weinberg <zackw@panix.com>
2718 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
2719 Delete all contents except for definitions of _G_HAVE_MMAP and
2720 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
2721 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
2722 sysdeps/unix/sysv/linux/_G_config.h. Make same content
2725 * libio/libio.h: Don't include bits/_G_config.h here.
2726 Include stddef.h with __need_wchar_t defined. Include
2727 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
2728 Define _IO_iconv_t here, directly.
2729 Don't define _IO_HAVE_ST_BLKSIZE.
2730 * libio/libioP.h: Include _G_config.h here. Move include of
2731 shlib-compat.h up with rest of includes. Simplify conditionals
2732 controlling definition of _IO_JUMPS_OFFSET.
2734 * csu/init.c: Remove always-true #if around entire file.
2735 Don't include stdio.h. Set _IO_stdin_used to hardwired
2736 constant 0x20001, and update commentary.
2737 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
2738 Replace all uses of _G_va_list with __gnuc_va_list.
2739 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
2740 instead of #if _IO_HAVE_ST_BLKSIZE.
2741 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
2742 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
2745 * libio/bits/libio.h: Move back to libio/libio.h and adjust
2746 multiple-include guard to match.
2747 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
2749 Remove preprocessor conditionals that are always true and/or
2750 redundant to other preprocessor conditionals in the same nest.
2751 Include shlib-compat.h unconditionally.
2752 Error out if _LIBC is not defined, or if _ISOMAC is defined,
2753 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
2754 defined after including stdio.h.
2755 Use __BEGIN_DECLS/__END_DECLS.
2757 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
2758 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
2759 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
2761 2018-02-07 Zack Weinberg <zackw@panix.com>
2763 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
2764 New single-type headers split from _G_config.h.
2765 * libio/bits/types/cookie_io_functions_t.h
2766 * libio/bits/types/struct_FILE.h
2767 New single-type headers split from libio.h.
2769 * libio/Makefile: Install the above new headers. Don't install
2770 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
2772 * libio/_G_config.h, libio/libio.h: Delete file.
2774 * libio/bits/libio.h: Remove improper-inclusion guard.
2775 Include stdio.h and don't repeat anything that it does.
2776 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
2777 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
2778 __io_read_fn as cookie_read_function_t,
2779 __io_write_fn as cookie_write_function_t,
2780 __io_seek_fn as cookie_seek_function_t,
2781 __io_close_fn as cookie_close_function_t,
2782 and _IO_cookie_io_functions_t as cookie_io_functions_t.
2783 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
2784 here, in the "compatibility defines" section. Remove an #if 0
2785 block. Use the "body" macros from bits/types/struct_FILE.h to
2786 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
2787 and _IO_ferror_unlocked.
2788 Move prototypes of __uflow and __overflow...
2790 * libio/stdio.h: ...here. Don't include bits/libio.h.
2791 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
2792 directly from stdarg.h. Include bits/types/__fpos_t.h,
2793 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
2794 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
2795 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
2796 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
2797 cookie_io_functions_t, not _IO_cookie_io_functions_t;
2798 __ssize_t, not _IO_ssize_t. Unconditionally define
2799 BUFSIZ as 8192 and EOF as (-1).
2801 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
2802 macros from bits/types/struct_FILE.h instead of _IO_* macros
2803 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
2804 instead of _IO_ssize_t.
2805 * libio/bits/stdio2.h: Similarly.
2807 * libio/iolibio.h: Add multiple-include guard.
2808 Include bits/libio.h after stdio.h.
2809 * libio/libioP.h: Add multiple-include guard.
2810 Include stdio.h and bits/libio.h before iolibio.h.
2812 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
2813 * include/bits/types/cookie_io_functions_t.h
2814 * include/bits/types/struct_FILE.h: New wrappers.
2816 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
2817 Get definitions of _G_fpos_t and _G_fpos64_t from
2818 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
2819 respectively. Remove improper-inclusion guards.
2821 * conform/data/stdio.h-data: Update expectations of va_list.
2822 * scripts/check-installed-headers.sh: Remove special case for
2823 libio.h and _G_config.h.
2825 2018-02-07 Joseph Myers <joseph@codesourcery.com>
2829 * include/sys/sysmacros.h [!_ISOMAC]
2830 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
2831 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
2832 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
2833 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
2835 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
2836 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
2838 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
2839 Undefine and redefine to add use __gnu_dev_ prefix.
2840 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
2842 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
2843 and define as hidden inline function.
2844 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
2846 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
2848 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
2849 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
2850 (gnu_dev_minor): Likewise.
2851 (gnu_dev_makedev): Likewise.
2852 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
2854 * posix/wordexp.c (exec_comm_child): Likewise.
2855 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
2856 instead of minor and __gnu_dev_major instead of major.
2857 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
2858 __gnu_dev_major instead of major.
2859 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
2860 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
2861 instead of gnu_dev_minor.
2862 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
2863 (SLAVE_P): Likewise.
2864 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
2865 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
2869 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
2871 * locale/weightwc.h (findidx): Likewise.
2873 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
2875 * manual/probes.texi (slowlog): Delete documentation of removed probe.
2876 (slowlog_inexact): Likewise
2877 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
2878 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
2880 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
2883 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
2884 missing second underscore to parameter name.
2886 2018-02-06 Joseph Myers <joseph@codesourcery.com>
2892 * bits/byteswap.h: Update file comment. Do not include
2893 <bits/byteswap-16.h>.
2894 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
2896 (__bswap_16): Define as inline function.
2897 (__bswap_constant_32): Reformat definition.
2898 (__bswap_32): Always define as inline function, not macro, using
2899 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
2900 otherwise __bswap_constant_32.
2901 (__bswap_constant_64): Reformat definition. Do not use
2903 (__bswap_64): Always define as inline function, not macro. Use
2904 __extension__ on function definition. Use __builtin_bswap64 if
2905 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
2906 * string/test-endian-file-scope.c: New file.
2907 * string/test-endian-sign-conversion.c: Likewise.
2908 * string/Makefile (headers): Remove bits/byteswap-16.h.
2909 (tests): Add test-endian-file-scope and
2910 test-endian-sign-conversion.
2911 (CFLAGS-test-endian-sign-conversion.c): New variable.
2912 * bits/byteswap-16.h: Remove file.
2913 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
2914 * sysdeps/ia64/bits/byteswap.h: Likewise.
2915 * sysdeps/m68k/bits/byteswap.h: Likewise.
2916 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2917 * sysdeps/s390/bits/byteswap.h: Likewise.
2918 * sysdeps/tile/bits/byteswap.h: Likewise.
2919 * sysdeps/x86/bits/byteswap-16.h: Likewise.
2920 * sysdeps/x86/bits/byteswap.h: Likewise.
2923 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
2924 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
2925 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
2926 199901L] (__restrict): Define to restrict.
2929 * string/testcopy.c: Include <support/support.h>. Do not include
2930 <malloc.h>. Use <support/test-driver.c>.
2931 (main): Rename to do_test. Make static. Use xmalloc instead of
2935 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
2936 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
2937 (SSIZE_MAX): Define to INT_MAX.
2938 * posix/test-ssize-max.c: New file.
2939 * posix/Makefile (tests): Add test-ssize-max.
2942 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
2943 <support/support.h>. Do not include <malloc.h>.
2944 (query_auxv): Use xmalloc instead of malloc.
2947 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
2948 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
2951 2018-02-06 Florian Weimer <fweimer@redhat.com>
2954 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2955 Use scratch_buffer instead of extend_alloca.
2957 2018-02-06 Zack Weinberg <zackw@panix.com>
2959 * libio/stdio.h: Don't define getc or putc as macros.
2960 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
2961 not _IO_getc and _IO_putc.
2963 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
2964 * stdio-common/tstgetln.c: Don't redefine ssize_t.
2966 2018-02-06 Joseph Myers <joseph@codesourcery.com>
2968 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
2969 (TCP_FASTOPEN_NO_COOKIE): Likewise.
2971 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
2974 * elf/elf.h (NT_PRFPREG): New macro.
2975 (NT_S390_VXRS_LOW): Likewise.
2976 (NT_S390_VXRS_HIGH): Likewise.
2977 (NT_S390_GS_CB): Likewise.
2978 (NT_S390_GS_BC): Likewise.
2979 (NT_S390_RI_CB): Likewise.
2981 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
2982 (MAP_SYNC): New macro.
2983 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
2985 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
2986 (MAP_SYNC): Likewise.
2987 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
2988 (MAP_SYNC): Likewise.
2989 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
2990 (MAP_SYNC): Likewise.
2991 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
2992 (MAP_SYNC): Likewise.
2993 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
2994 (MAP_SYNC): Likewise.
2995 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
2996 (MAP_SYNC): Likewise.
2997 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
2999 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
3002 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
3003 (MAP_SHARED_VALIDATE): New macro.
3004 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
3005 (MAP_SHARED_VALIDATE): Likewise.
3007 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
3009 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
3010 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
3011 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
3013 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
3015 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
3016 (DT_NUM): Updated to 35.
3018 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
3020 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
3021 __builtin_expect with __glibc_likely and __glibc_unlikely.
3022 (elf_machine_rela): Likewise.
3023 (elf_machine_lazy_rel): Likewise.
3025 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
3027 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
3028 __builtin_expect with __glibc_likely and __glibc_unlikely.
3029 (elf_machine_lazy_rel): Likewise.
3031 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
3034 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
3036 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
3038 2018-02-05 Andreas Schwab <schwab@suse.de>
3041 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
3044 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3046 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
3047 not check against PTHREAD_STACK_MIN.
3049 2018-02-02 Sean McKean <smckean83@gmail.com>
3052 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
3054 2018-02-02 Florian Weimer <fweimer@redhat.com>
3057 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
3058 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
3059 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
3060 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
3061 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
3062 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
3063 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
3064 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
3065 * manual/llio.texi (Scatter-Gather): Mention offset -1.
3066 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
3067 * misc/tst-preadvwritev2.c (do_test): Call it.
3068 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
3070 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
3072 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
3074 * benchtests/bench-memcmp.c: Print json instead of plain text.
3076 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
3079 2018-02-01 Joseph Myers <joseph@codesourcery.com>
3081 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3083 (s390_sthyi): New syscall.
3085 * sysdeps/generic/ldbl-classify-compat.h: New file.
3086 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
3087 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
3088 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
3089 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
3090 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
3091 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
3092 * sysdeps/ieee754/dbl-64/s_finite.c: Include
3093 <ldbl-classify-compat.h>.
3094 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
3095 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
3096 <ldbl-classify-compat.h>.
3097 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
3098 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
3099 <ldbl-classify-compat.h>.
3100 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
3101 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
3102 <ldbl-classify-compat.h>.
3103 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
3104 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
3105 <ldbl-classify-compat.h>.
3106 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
3107 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
3108 <ldbl-classify-compat.h>.
3109 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
3110 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
3111 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
3112 * sysdeps/m68k/coldfire/math_private.h: Remove file.
3113 * sysdeps/microblaze/math_private.h: Likewise.
3114 * sysdeps/nios2/math_private.h: Likewise.
3115 * sysdeps/sh/math_private.h: Likewise.
3117 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
3118 * sysdeps/m68k/coldfire/math_private.h: ... here.
3119 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
3120 * sysdeps/tile/math_private.h: Likewise.
3121 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
3123 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
3126 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
3128 (libc_fetestexcept): Likewise.
3129 (libc_feupdateenv_test): Likewise.
3130 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
3131 (libc_fetestexcept): Likewise.
3132 (libc_feupdateenv_test): Likewise.
3133 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
3134 (libc_fetestexcept): Likewise.
3135 (libc_feupdateenv_test): Likewise.
3136 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
3137 (libc_fetestexcept): Likewise.
3138 (libc_feupdateenv_test): Likewise.
3140 * sysdeps/generic/math_private.h
3141 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
3142 New inline function.
3143 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
3146 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
3147 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
3148 * sysdeps/generic/math_private.h
3149 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
3151 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
3153 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
3155 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
3157 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
3159 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
3161 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
3162 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
3163 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
3164 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
3165 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
3166 (__fegetenv): Likewise.
3167 (fesetenv): Likewise.
3168 (__fesetenv): Likewise.
3169 (feupdateenv): Likewise.
3170 (__feupdateenv): Likewise.
3171 (fegetround): Likewise.
3172 (__fegetround): Likewise.
3173 (fesetround): Likewise.
3174 (__fesetround): Likewise.
3176 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
3177 (feraiseexcept): New macro.
3178 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
3179 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
3181 (__feraiseexcept): Likewise.
3182 (feclearexcept): Likewise.
3183 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
3184 (__feraiseexcept): Likewise.
3185 (feclearexcept): Likewise.
3186 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
3187 (__feraiseexcept): Likewise.
3188 (feclearexcept): Likewise.
3189 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
3190 (__feraiseexcept): Likewise.
3191 (feclearexcept): Likewise.
3192 (fetestexcept): Likewise.
3194 * sysdeps/m68k/coldfire/math-tests.h: New file.
3196 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
3197 * sysdeps/m68k/bits/fenv.h: ... here.
3198 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
3200 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
3202 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
3204 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
3206 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
3208 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
3210 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
3211 (__FE_UNDEFINED): New enum constant.
3212 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
3214 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
3216 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
3218 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
3219 to match generic bits/fenv.h.
3220 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
3223 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
3225 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
3226 * soft-fp/half.h (union _FP_UNION_H): Likewise.
3227 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
3228 * soft-fp/single.h (union _FP_UNION_S): Likewise.
3230 2018-02-01 Carlos O'Donell <carlos@redhat.com>
3231 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
3232 Joseph Myers <joseph@codesourcery.com>
3235 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
3236 (__log1p): Disable -Wmaybe-uninitialized for -Os around
3237 computation using c.
3238 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
3239 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
3240 computation using c.
3242 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
3244 * version.h (RELEASE): Set to "development".
3245 (VERSION): Set to "2.27.9000".
3246 * NEWS (2.28): New section.
3248 * version.h (RELEASE): Set to "stable".
3249 (VERSION): Set to "2.27".
3250 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
3252 * NEWS: Add the list of bugs fixed in 2.27.
3254 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3256 * stdlib/test-atexit-race-common.c (do_test): Check stack size
3257 against PTHREAD_STACK_MIN.
3259 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
3261 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
3263 (Rafal Luzynski, Andreas Schwab): Update.
3265 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
3268 * NEWS: List the languages which actually use the alternative
3269 months feature in this release. Also explain that "alt_mon" and
3270 "ab_alt_mon" are optional.
3272 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
3275 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
3277 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
3279 * manual/install.texi (Tools for Compilation): Update the newest
3280 versions of gcc, binutils, texinfo, gawk, bison, and sed.
3281 * INSTALL: Regenerated.
3283 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3285 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
3286 instead of __builtin_expect.
3288 2018-01-30 Florian Weimer <fweimer@redhat.com>
3290 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
3292 * nss/tst-nss-getpwent.c (do_test): Likewise.
3294 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
3297 * localedata/locales/hr_HR (mon): Rename to...
3299 (mon): Import from CLDR (genitive case).
3300 (d_t_fmt): Update the comment.
3302 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
3304 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
3305 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
3306 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
3308 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3310 * mach/Versions: Fix version when __mach_host_self_ was added.
3311 * hurd/Versions: Fix version when _hurd_exec_paths was added.
3312 * sysdeps/mach/hurd/i386/ld.abilist: New file.
3313 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
3314 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
3315 * sysdeps/mach/hurd/i386/libc.abilist: New file.
3316 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
3317 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
3318 * sysdeps/mach/hurd/i386/libm.abilist: New file.
3319 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
3320 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
3321 * sysdeps/mach/hurd/i386/librt.abilist: New file.
3322 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
3323 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
3324 || to respect codestyle.
3325 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
3326 (do_test_bz20181): Rename accordingly.
3327 * malloc/malloc.c: Include <assert.h>.
3328 (assert): Do not define.
3329 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
3330 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
3331 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
3332 * sysdeps/mach/hurd/hp-timing.h: New file.
3333 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
3335 2018-01-29 Darius Rad <darius@bluespec.com>
3337 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
3339 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
3341 * sysdeps/init_array/crti.S (.section .init_array): Add
3342 PREINIT_FUNCTION when defined.
3343 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
3344 * config.h.in: Regenerate.
3345 * manual/platform.texi: Add RISC-V documenation for
3346 __riscv_flush_icache.
3347 * sysdeps/riscv/__longjmp.S: New file.
3348 * sysdeps/riscv/backtrace.c: Likewise.
3349 * sysdeps/riscv/bits/endian.h: Likewise.
3350 * sysdeps/riscv/bits/setjmp.h: Likewise.
3351 * sysdeps/riscv/bits/wordsize.h: Likewise.
3352 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
3353 * sysdeps/riscv/bsd-setjmp.c: Likewise.
3354 * sysdeps/riscv/dl-trampoline.S: Likewise.
3355 * sysdeps/riscv/gccframe.h: Likewise.
3356 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
3357 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
3358 * sysdeps/riscv/machine-gmon.h: Likewise.
3359 * sysdeps/riscv/memusage.h: Likewise.
3360 * sysdeps/riscv/setjmp.S: Likewise.
3361 * sysdeps/riscv/sys/asm.h: Likewise.
3362 * sysdeps/riscv/tls-macros.h: Likewise.
3363 * sysdeps/riscv/dl-tls.h: New file.
3364 * sysdeps/riscv/libc-tls.c: Likewise.
3365 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
3366 * sysdeps/riscv/nptl/tls.h: Likewise.
3367 * sysdeps/riscv/stackinfo.h: Likewise.
3368 * sysdeps/riscv/bits/fenv.h: New file.
3369 * sysdeps/riscv/e_sqrtl.c: Likewise.
3370 * sysdeps/riscv/fpu_control.h: Likewise.
3371 * sysdeps/riscv/math-tests.h: Likewise.
3372 * sysdeps/riscv/nofpu/Implies: Likewise.
3373 * sysdeps/riscv/sfp-machine.h: Likewise.
3374 * sysdeps/riscv/tininess.h: Likewise.
3375 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
3376 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
3377 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
3378 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
3379 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
3380 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
3381 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
3382 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
3383 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
3384 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
3385 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
3386 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
3387 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
3388 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
3389 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
3390 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
3391 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
3392 * sysdeps/riscv/rvd/s_finite.c: Likewise.
3393 * sysdeps/riscv/rvd/s_fma.c: Likewise.
3394 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
3395 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
3396 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
3397 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
3398 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
3399 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
3400 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
3401 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
3402 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
3403 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
3404 * sysdeps/riscv/rvf/fegetround.c: Likewise.
3405 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
3406 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
3407 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
3408 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
3409 * sysdeps/riscv/rvf/fesetround.c: Likewise.
3410 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
3411 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
3412 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
3413 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
3414 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
3415 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
3416 * sysdeps/riscv/rvf/math_private.h: Likewise.
3417 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
3418 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
3419 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
3420 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
3421 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
3422 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
3423 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
3424 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
3425 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
3426 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
3427 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
3428 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
3429 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
3430 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
3431 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
3432 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
3433 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
3434 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
3435 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
3436 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
3437 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
3438 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
3439 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
3440 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
3441 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
3442 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
3443 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
3444 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
3445 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
3446 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
3447 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
3448 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
3449 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
3450 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
3451 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
3452 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
3453 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
3454 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
3455 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
3456 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
3457 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
3458 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
3459 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
3460 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
3461 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
3462 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
3463 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
3464 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
3465 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
3466 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
3467 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
3468 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
3469 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
3470 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
3471 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
3472 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
3473 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
3474 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
3475 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
3476 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
3477 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
3478 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
3479 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3480 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
3481 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
3482 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
3483 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
3484 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
3485 * sysdeps/riscv/Implies: New file.
3486 * sysdeps/riscv/Makefile: Likewise.
3487 * sysdeps/riscv/configure: Likewise.
3488 * sysdeps/riscv/configure.ac: Likewise.
3489 * sysdeps/riscv/nptl/Makefile: Likewise.
3490 * sysdeps/riscv/preconfigure: Likewise.
3491 * sysdeps/riscv/rv64/Implies-after: Likewise.
3492 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
3493 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
3494 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
3495 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
3496 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
3497 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
3498 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
3499 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
3500 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
3501 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
3502 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
3503 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
3506 2018-01-29 Florian Weimer <fweimer@redhat.com>
3509 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
3510 libnsl_hidden_proto.
3511 * include/rpcsvc/yp.h (yp_xdrall): Declare with
3512 libnsl_hidden_proto.
3513 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
3514 * nis/Makefile (libnsl-routines): Add nss-default only for
3516 * nis/nis_defaults.c (__nis_default_ttl): Add
3517 libnsl_hidden_nolink_def.
3518 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
3520 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
3521 * nis/ypclnt.c (yp_maplist): Likewise.
3523 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
3525 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3526 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
3528 2018-01-29 Joseph Myers <joseph@codesourcery.com>
3530 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
3531 clean -dxfq for git updates when replacing sources.
3533 * scripts/build-many-glibcs.py (Config.build_gcc): Use
3534 --disable-libcilkrts unconditionally, not just for the final GCC
3537 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3540 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
3543 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
3546 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
3549 * localedata/locales/be_BY (mon): Rename to...
3550 (alt_mon): This, then synchronize with CLDR (nominative case).
3551 (abmon): Rename to...
3552 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
3553 (mon): Import from CLDR (genitive case).
3555 * localedata/locales/be_BY@latin (mon): Rename to...
3557 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
3559 * localedata/locales/be_BY@latin (lang_name): Reworded to
3560 "biełaruskaja mova".
3562 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
3565 * localedata/locales/el_CY (mon): Renamed to...
3567 (mon): Import from CLDR (genitive case).
3568 * localedata/locales/el_GR: Likewise.
3570 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
3573 * localedata/locales/ru_RU (mon): Rename to...
3575 (abmon): Rename to...
3577 (mon): Import from CLDR (genitive case).
3578 (abmon): Copy from the old content except the 5th month which is
3579 now in the genitive case, even when abbreviated.
3580 * localedata/locales/ru_UA: Likewise.
3581 * time/tst-strptime.c (day_tests): Add an actual example of
3582 a difference between %b and %Ob in Russian.
3584 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3586 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
3587 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
3589 * resolv/res-close.c: Include <stdlib.h>.
3590 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
3591 <sys/wait.h>, <time.h>, <sys/uio.h>.
3592 (NOT_CANCEL_H): Add inclusion guard.
3593 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
3594 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
3595 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
3597 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
3598 vm_address_t * to ElfW(Addr) * for dl_main parameter.
3599 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
3601 * sysdeps/pthread/timer_create.c (timer_create): Do not use
3602 timer_ptr2id to cast struct timer_node * to void *.
3603 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
3604 --disable-libcilkrts to gcc configure.
3605 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
3606 and make them the default for now.
3607 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
3608 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
3609 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
3610 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
3611 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
3613 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
3614 __task_terminate would ever return successfully.
3615 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
3617 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
3618 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
3619 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
3620 critical section to make code simpler and avoid warning.
3621 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
3622 critical section to make code simpler and avoid warning.
3623 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
3624 const char * instead of char *.
3625 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
3626 __hurd_file_name_split, hurd_file_name_split,
3627 __hurd_directory_name_split, hurd_directory_name_split,
3628 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
3629 hurd_file_name_path_lookup): Make lookup function parameter take a
3630 const char *name instead of char *name.
3631 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
3632 __hurd_directory_name_split): Likewise.
3633 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3634 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
3635 * sysdeps/mach/hurd/check_native.c: New file.
3636 * sysdeps/mach/hurd/check_pf.c: New file.
3637 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
3638 (__freeifaddrs): Define macro to freeifaddrs.
3639 * sysdeps/mach/hurd/libhurduser.abilist: New file.
3640 * sysdeps/mach/libmachuser.abilist: New file.
3641 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
3642 (do_test_bz20181): Rename accordingly.
3643 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3644 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
3646 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
3647 version only if __USE_EXTERN_INLINES is defined.
3648 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
3649 __hurd_sockfail): Likewise.
3650 (_hurd_fd_get): Always declare functions, and provide inline versions
3651 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
3652 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
3653 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
3654 _hurd_port_set): Always declare functions, and provide inline versions
3655 only if __USE_EXTERN_INLINES and _LIBC are defined and
3657 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
3658 _hurd_critical_section_unlock): Likewise.
3659 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
3660 * __hurd_threadvar_location): Likewise.
3661 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
3662 _hurd_userlink_clear): Likewise.
3663 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
3664 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
3665 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
3666 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
3667 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
3668 __spin_lock_locked): Likewise.
3669 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
3670 __spin_lock_locked): Likewise.
3671 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
3672 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
3673 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
3674 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
3675 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
3676 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
3677 _POSIX_NO_TRUNC): Define to 0.
3678 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
3679 check size against PTHREAD_STACK_MIN.
3680 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
3681 IS_IN(libpthread)]: Include <sigsetops.h>.
3682 * mach/Makefile (user-interfaces): Add mach/gnumach.
3683 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
3684 * sysdeps/mach/configure (mach_interface_list): Regenerate.
3685 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
3686 instead of invalid -1.
3687 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
3688 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
3689 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
3692 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
3694 * hurd/fcntl-internal.h: New file.
3696 2018-01-27 James Clarke <jrtc27@jrtc27.com>
3698 * sysdeps/hppa/fpu/libm-test-ulps: Update.
3700 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3702 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
3705 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
3706 Build only shared objects.
3708 2018-01-26 Carlos O'Donell <carlos@redhat.com>
3710 * README: Update for hppa.
3712 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
3714 * sysdeps/sparc/fpu/libm-test-ulps: Update
3715 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
3717 2018-01-26 Carlos O'Donell <carlos@redhat.com>
3721 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
3724 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
3725 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
3726 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
3727 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
3730 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
3733 * bits/types/__cancel_jmp_buf_tag.h: New file.
3734 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
3735 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
3736 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
3737 * nptl/Makefile (headers): Add
3738 bits/types/__cancel_jmp_buf_tag.h.
3739 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
3740 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
3741 * sysdeps/nptl/pthread.h: Include
3742 <bits/types/__cancel_jmp_buf_tag.h>.
3743 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
3745 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
3747 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
3750 * localedata/locales/uk_UA (mon): Renamed to...
3752 (alt_digits): "0" removed and then renamed to...
3754 (date_fmt): Definition changed not to use the alternative
3757 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
3759 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
3760 FLAG_RISCV_FLOAT_ABI_DOUBLE.
3761 * elf/elf.h (EF_RISCV_RVC): New define.
3762 (EF_RISCV_FLOAT_ABI): Likewise.
3763 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
3764 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
3765 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
3766 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
3767 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
3769 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
3771 2018-01-25 Andreas Schwab <schwab@suse.de>
3773 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
3775 * sysdeps/gnu/configure: Regenerate.
3776 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
3777 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3779 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
3780 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
3781 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
3782 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
3783 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
3785 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
3787 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
3788 URL, and run autoconf, make it the default for now.
3790 2018-01-24 Joseph Myers <joseph@codesourcery.com>
3792 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3793 soft-float ColdFire configuration.
3795 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
3796 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
3797 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
3799 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
3802 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
3804 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
3806 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
3809 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
3810 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
3811 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
3814 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3817 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
3818 Rename to __reserved and add comment.
3819 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
3820 Rename to __reserved.
3822 2018-01-24 Joseph Myers <joseph@codesourcery.com>
3824 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3825 i686-gnu configurations.
3826 (Context.run_builds): Include mig, gnumach and hurd in components
3828 (Context.checkout): Add mig, gnumach and hurd to components.
3829 (Context.checkout_tar): Add URL mappings for mig, gnumach and
3831 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
3832 (Config.build): Install gnumach headers, build mig and install
3833 hurd headers for 'gnu' OS.
3834 (Config.install_gnumach_headers): New function.
3835 (Config.install_hurd_headers): Likewise.
3836 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
3837 when building for 'gnu' OS.
3839 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
3841 * manual/tunables.texi (Hardware Capability Tunables): Fix
3844 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
3846 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
3847 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
3848 (ALTMON_11, ALTMON_12): Improve documentation.
3849 * manual/time.texi (strftime): Likewise.
3851 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
3854 * localedata/locales/pl_PL: Alternative month names added,
3855 primary month names are genitive now.
3856 * time/tst-strptime.c (day_tests): Actually use a genitive case
3857 of a month name in Polish language.
3859 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
3862 * manual/locale.texi: Document ALTMON_1..12 constants for
3863 nl_langinfo. Specify when to use ALTMON instead of MON.
3864 * manual/time.texi (strftime, strptime): Document GNU extension
3865 permitting O modifier with %B and %b. Specify when to use
3868 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
3871 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
3872 names, define them as the same as abbreviated month names explicitly.
3873 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
3874 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
3875 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
3876 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
3877 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
3878 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
3879 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
3880 _NL_WABALTMON_12): New enum constants.
3881 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
3882 wab_alt_mon, and ab_alt_mon_defined members.
3883 (time_output): Output ab_alt_mon and wab_alt_mon members.
3884 (time_read): Read them, initialize them as copies of abmon and wabmon
3885 respectively if they are missing, initialize ab_alt_mon_defined.
3886 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
3887 * locale/programs/locfile-kw.h: Regenerate.
3888 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
3889 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
3891 * time/strftime_l.c (a_altmonth, aam_len): New macros.
3892 [!COMPILE_WIDE] (ABALTMON_1): New macro.
3893 (__strftime_internal): Handle %Ob and %Oh formats.
3894 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
3895 (__strptime_internal): Handle %Ob and %Oh formats.
3896 * time/tst-strptime.c (day_tests): Add more tests to parse different
3897 forms of month names including the new %Ob format specifier.
3899 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
3902 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
3903 define them as the same as primary full month names explicitly.
3904 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
3905 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
3906 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
3907 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
3908 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
3909 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
3910 _NL_WALTMON_12): New enum constants.
3911 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
3912 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
3914 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
3915 walt_mon, and alt_mon_defined members.
3916 (time_output): Output alt_mon and walt_mon members.
3917 (time_read): Read them, initialize them as copies of mon and wmon
3918 respectively if they are missing, initialize alt_mon_defined.
3919 * locale/programs/locfile-kw.gperf (alt_mon): Define.
3920 * locale/programs/locfile-kw.h: Regenerate.
3921 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
3922 * localedata/tst-langinfo.c (map): Add tests for the new constants
3923 ALTMON_1 .. ALTMON_12.
3924 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
3926 * time/strftime_l.c (f_altmonth): New macro.
3927 (__strftime_internal): Handle %OB format.
3928 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
3929 (__strptime_internal): Handle %OB format.
3930 * time/tst-strptime.c (day_tests): Add tests to parse different forms
3931 of month names including the new %OB format specifier.
3933 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3936 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
3937 from ABORT_TRANSACTION.
3938 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
3939 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
3940 ABORT_TRANSACTION_IMPL): Likewise.
3941 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
3942 Linux code, but remove the code that aborts transactions.
3944 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
3946 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
3948 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
3950 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
3951 in date: "2004-14-09" should be "2004-09-14".
3952 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
3953 "2003-15-09" should be "2003-09-15".
3955 2018-01-18 Arjun Shankar <arjun@redhat.com>
3961 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
3963 (_int_memalign): check for integer overflow before calling
3965 * malloc/tst-malloc-too-large.c: New test.
3966 * malloc/Makefile: Add tst-malloc-too-large.
3968 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
3970 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
3971 in date: "2017-24-07" should be "2017-07-24".
3972 * localedata/locales/mai_IN: Likewise.
3973 * localedata/locales/mai_NP: Likewise.
3975 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
3977 * po/ru.po: Update translations.
3979 2018-01-17 Joseph Myers <joseph@codesourcery.com>
3982 * sysdeps/hppa/backtrace.c: New file.
3984 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
3987 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
3988 align La_x86_64_retval to VEC_SIZE.
3990 2018-01-16 Joseph Myers <joseph@codesourcery.com>
3992 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
3993 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
3995 2018-01-16 Florian Weimer <fweimer@redhat.com>
3997 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
3998 Move tst-thread-exit-clobber ...
3999 [$(CXX)] (tests-unsupported): ... to here.
4001 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
4003 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
4004 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
4005 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
4006 (_dl_aarch64_cap_flags): Update.
4007 (_DL_HWCAP_COUNT): Update.
4009 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
4011 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
4012 (_DL_HWCAP_LAST): Remove.
4013 (_DL_HWCAP_COUNT): Move to ...
4014 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
4015 (_DL_HWCAP_COUNT): ... here.
4017 2018-01-16 Florian Weimer <fweimer@redhat.com>
4019 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
4020 mode with GNU extensions.
4022 2018-01-15 Alan Hayward <alan.hayward@arm.com>
4024 * elf/elf.h (NT_ARM_SVE): Define.
4026 2018-01-15 Florian Weimer <fweimer@redhat.com>
4029 * nptl/tst-minstack-throw.cc: New file.
4030 * nptl/Makefile (tests): Add tst-minstack-throw.
4031 (LDLIBS-tst-minstack-throw): Link with libstdc++.
4032 [!CXX] (tests-unsupported): Add tst-minstack-throw.
4034 2018-01-15 Joseph Myers <joseph@codesourcery.com>
4036 * scripts/build-many-glibcs.py (Context.checkout): Default
4037 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
4040 2018-01-13 Carlos O'Donell <carlos@redhat.com>
4043 * elf/elf.h (DF_1_STUB): Define.
4046 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4049 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
4050 Do not add 0.5 to integer or out-of-range arguments.
4052 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
4054 * po/bg.po: Update translations.
4055 * po/cs.po: Likewise.
4056 * po/de.po: Likewise.
4057 * po/ko.po: Likewise.
4058 * po/pl.po: Likewise.
4059 * po/sv.po: Likewise.
4060 * po/uk.po: Likewise.
4061 * po/vi.po: Likewise.
4063 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
4065 * aarch64/start.S (_start): Use __wrap_main.
4066 (__wrap_main): New local symbol.
4068 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
4072 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
4073 generic_getcwd if the path returned by getcwd syscall is not absolute.
4074 * io/tst-getcwd-abspath.c: New test.
4075 * io/Makefile (tests): Add tst-getcwd-abspath.
4077 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
4079 * malloc/malloc.c (malloc_consolidate): Add size check.
4081 2018-01-12 Florian Weimer <fweimer@redhat.com>
4083 * support/write_message.c (write_message): Preserve errno.
4084 * support/check.c (print_failure): Likewise.
4085 * support/support_test_verify_impl.c (support_test_verify_impl):
4087 * support/support_test_compare_failure.c
4088 (support_test_compare_failure): Likewise.
4090 2018-01-12 Florian Weimer <fweimer@redhat.com>
4093 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
4094 Prevent installation of libnsl.so.
4095 (libnsl-inhibit-o): Do not build (or install) static libraries.
4097 2018-01-12 Egmont Koblinger <egmont@gmail.com>
4100 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
4101 before the day number which may produce a double space.
4102 (date_fmt): Likewise.
4104 2018-01-12 Joseph Myers <joseph@codesourcery.com>
4106 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
4107 instead of fegetenv.
4109 2018-01-11 Joseph Myers <joseph@codesourcery.com>
4112 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
4113 comment to say exceptions are discarded.
4114 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
4116 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
4119 2018-01-11 Florian Weimer <fweimer@redhat.com>
4121 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
4124 2018-01-11 Florian Weimer <fweimer@redhat.com>
4127 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
4128 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
4130 2018-01-10 Joseph Myers <joseph@codesourcery.com>
4133 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
4134 negative arguments in test for NaN or infinity argument.
4136 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
4138 * po/libc.pot: Regenerate.
4140 2018-01-10 Florian Weimer <fweimer@redhat.com>
4143 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
4144 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
4146 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4148 * hurd/hurd/fd.h: Include <fcntl.h>
4149 (__hurd_at_flags): New function.
4150 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
4151 with call to __hurd_at_flags.
4152 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
4153 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
4155 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
4156 (__access_noerrno): Use __faccessat_common instead of access_common.
4157 (__access): Likewise.
4158 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
4159 with a call to __faccessat.
4160 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
4161 (__faccessat_common): ... this. Move implementation of __access into it when
4162 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
4163 reauthenticate_cwdir_at helper to implement AT mechanism.
4164 (__faccessat_noerrno): New function, just calls __faccessat_common.
4165 (__faccessat): New function, just calls __faccessat_common.
4166 (faccessat): Define weak alias.
4168 2018-01-10 Joseph Myers <joseph@codesourcery.com>
4171 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4172 (CFLAGS-s_fmaxmagl.c): New variable.
4173 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
4176 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
4177 long int for arguments of possibly overflowing addition or
4179 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4181 2018-01-09 Joseph Myers <joseph@codesourcery.com>
4184 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4185 (CFLAGS-e_remainderl.c): New variable.
4188 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
4190 (CFLAGS-s_cacoshl.c): Likewise.
4191 (CFLAGS-s_casinhl.c): Likewise.
4192 (CFLAGS-s_catanl.c): Likewise.
4193 (CFLAGS-s_catanhl.c): Likewise.
4194 (CFLAGS-s_cexpl.c): Likewise.
4195 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
4196 (CFLAGS-s_csinhl.c): Likewise.
4197 (CFLAGS-s_clogl.c): Likewise.
4198 (CFLAGS-s_clog10l.c): Likewise.
4199 (CFLAGS-s_csinl.c): Likewise.
4200 (CFLAGS-s_csqrtl.c): Likewise.
4202 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
4203 2017-01-09 Svante Signell <svante.signell@gmail.com>
4205 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
4206 (_hurd_exec_paths): New function.
4207 * hurd/hurd.h (_hurd_exec): Deprecate function.
4208 (_hurd_exec_paths): Declare function.
4209 * hurd/Versions: Export _hurd_exec_paths.
4210 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
4211 (__execve): Use __getcwd to build absolute path, and use
4212 _hurd_exec_paths instead of _hurd_exec.
4213 * sysdeps/mach/hurd/spawni.c: Likewise.
4214 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
4217 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
4219 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
4220 test instead of failing in case of ENOENT returned by posix_openpt.
4222 2018-01-08 Florian Weimer <fweimer@redhat.com>
4224 resolv: Support binary labels in test framework.
4225 * support/resolv_test.c (struct to_be_freed): Remove.
4226 (struct compressed_name): New.
4227 (allocate_compressed_name, ascii_tolower)
4228 (compare_compressed_name): New functions.
4229 (struct resolv_response_builder): Update type of
4230 compression_offsets for use with tsearch. Rempve to_be_freed.
4231 (response_push_pointer_to_free): Remove function.
4232 (resolv_response_add_name): Rewrite using struct compressed_name
4233 and tsearch instead of hsearch_r.
4234 (response_builder_allocate): Remove initialization of
4235 compression_offsets.
4236 (response_builder_free): Update for removal of to_be_freed. Use
4237 tdestroy instead of hdestroy_r.
4238 * resolv/Makefile (tests): Add tst-resolv-binary.
4239 (tst-resolv-binary): Link with -lresolv -lpthread.
4241 2018-01-08 Florian Weimer <fweimer@redhat.com>
4243 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
4244 time. Pass positive flag instead of negative flag to
4245 support_test_compare_failure.
4246 (support_test_compare_failure): Change negative parameter to
4248 * support/support_test_compare_failure.c (report)
4249 (support_test_compare_failure): Likewise.
4250 * support/tst-test_compare.c (return_ssize_t, return_int): New.
4251 (do_test): Check int/size_t, ssize_t/size_t comparisons.
4253 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
4256 * nptl/descr.h (stackblock, stackblock_size): Update comments.
4257 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
4258 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
4260 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
4262 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
4264 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4265 Add s_sincosf-sse2 and s_sincosf-fma.
4266 (CFLAGS-s_sincosf-fma.c): New.
4267 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
4268 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4269 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
4270 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
4271 __sincosf is defined.
4273 2018-01-08 Florian Weimer <fweimer@redhat.com>
4275 * nptl/tst-thread-exit-clobber.cc: New file.
4276 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
4278 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
4279 (tests): Add tst-thread-exit-clobber.
4280 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
4282 2018-01-08 Florian Weimer <fweimer@redhat.com>
4284 * support/check.h (support_static_assert): Define.
4285 (TEST_COMPARE): Use it.
4287 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
4289 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
4290 [!__RLIM_T_MATCHES_RLIM64_T]
4291 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
4292 __getrlimit64. Add libc_hidden_weak.
4294 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
4296 * elf/elf.h (R_RISCV_NONE): New define.
4297 (R_RISCV_32): Likewise.
4298 (R_RISCV_64): Likewise.
4299 (R_RISCV_RELATIVE): Likewise.
4300 (R_RISCV_COPY): Likewise.
4301 (R_RISCV_JUMP_SLOT): Likewise.
4302 (R_RISCV_TLS_DTPMOD32): Likewise.
4303 (R_RISCV_TLS_DTPMOD64): Likewise.
4304 (R_RISCV_TLS_DTPREL32): Likewise.
4305 (R_RISCV_TLS_DTPREL64): Likewise.
4306 (R_RISCV_TLS_TPREL32): Likewise.
4307 (R_RISCV_TLS_TPREL64): Likewise.
4308 * Makerules (make-link-multidir): Make directories before linking into
4310 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
4312 (VDSO_HASH_LINUX_4_15): Likewise.
4313 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
4314 in subdirectories of lib.
4315 * nptl/Makefile (/librt.so): Always depend on
4316 "$(shared-thread-library)".
4318 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4320 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4321 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
4322 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
4324 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
4325 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
4327 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
4328 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
4329 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
4330 * sysdeps/gnu/glob-lstat-compat.c: New file.
4331 * sysdeps/gnu/glob64-lstat-compat.c: New file.
4332 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
4334 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4336 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
4337 Reserve 16 chars to reloc_addr before calling _itoa_word.
4339 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
4342 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
4343 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
4345 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
4346 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
4348 * resource/tst-getrlimit.c: Add copyright header.
4350 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
4351 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4353 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
4354 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
4355 Define __GI_getrlimit64 as weak alias of __getrlimit64.
4356 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
4358 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
4359 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
4360 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
4361 RLIM64_INFINITY): Fix values to match the kernel ones.
4362 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
4363 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
4364 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
4365 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
4366 getrlimit64@@GLIBC_2_27.
4367 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
4369 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
4370 getrlimit, setrlimit, getrlimit64 and setrlimit64.
4371 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
4372 setrlimit, getrlimit64 and setrlimit64.
4374 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
4377 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
4378 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
4380 2018-01-04 Joseph Myers <joseph@codesourcery.com>
4382 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
4383 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
4384 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
4386 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4390 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
4391 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
4395 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
4396 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
4397 * sysdeps/alpha/fpu/s_floor.c: Likewise.
4398 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
4400 2018-01-04 Florian Weimer <fweimer@redhat.com>
4403 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
4404 Align the stack before calling exit.
4405 * stdlib/tst-makecontext-align.c: New file.
4406 * stdlib/Makefile (tests): Add tst-makecontext-align.
4408 2018-01-04 Florian Weimer <fweimer@redhat.com>
4410 Add support for calling dlvsym from libc.so.
4411 * include/dlfcn.h (__libc_dlvsym): Declare.
4412 * elf/Makefile (tests-static-internal): Add
4413 tst-libc_dlvsym-static.
4414 (tests-internal): Add tst-libc_dlvsym.
4415 (modules-names): Add tst-libc_dlvsym-dso.
4416 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
4417 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
4418 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
4419 object tst-libc_dlvsym-dso.so needs to be built before running
4421 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
4422 * elf/Versions: Export __libc_dlvsym.
4423 * elf/dl-libc.c (struct do_dlvsym_args): New.
4424 (do_dlvsym, __libc_dlvsym): New functions.
4425 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
4426 (_dl_open_hook2): New variable.
4427 (__libc_register_dl_open_hook): Set it.
4428 * elf/tst-libc_dlvsym-dso.c: New file.
4429 * elf/tst-libc_dlvsym-static.c: Likewise.
4430 * elf/tst-libc_dlvsym.c: Likewise.
4431 * elf/tst-libc_dlvsym.h: Likewise.
4433 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4435 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
4436 include <sys/mount.h>.
4438 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
4440 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
4441 Add __NO_MATH_ERRNO__ check.
4443 2018-01-02 Joseph Myers <joseph@codesourcery.com>
4445 * sysdeps/mips/mips32/libm-test-ulps: Update.
4446 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4448 2018-01-02 Florian Weimer <fweimer@redhat.com>
4450 * misc/tst-pselect.c: Add copyright header.
4452 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
4454 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
4456 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
4458 (settrlimit): Rename into setrlimit.
4459 (__sttrlimit): Rename into __setrlimit.
4461 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
4462 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
4463 never defined in that case.
4465 2018-01-02 Joseph Myers <joseph@codesourcery.com>
4467 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4469 * sysdeps/arm/libm-test-ulps: Update.
4471 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
4472 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
4474 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4476 * NEWS: Add cosf and sincosf to list of optimized functions.
4478 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
4481 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
4482 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
4483 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
4484 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
4486 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
4489 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
4491 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
4492 making a copy of it.
4494 2018-01-01 Joseph Myers <joseph@codesourcery.com>
4496 * manual/texinfo.tex: Update to version 2017-12-26.21 with
4497 trailing whitespace removed.
4498 * scripts/config.guess: Update to version 2018-01-01.
4499 * scripts/config.sub: Update to version 2018-01-01.
4500 * scripts/move-if-change: Update from gnulib.
4502 * NEWS: Update copyright dates.
4503 * catgets/gencat.c (print_version): Likewise.
4504 * csu/version.c (banner): Likewise.
4505 * debug/catchsegv.sh: Likewise.
4506 * debug/pcprofiledump.c (print_version): Likewise.
4507 * debug/xtrace.sh (do_version): Likewise.
4508 * elf/ldconfig.c (print_version): Likewise.
4509 * elf/ldd.bash.in: Likewise.
4510 * elf/pldd.c (print_version): Likewise.
4511 * elf/sotruss.sh: Likewise.
4512 * elf/sprof.c (print_version): Likewise.
4513 * iconv/iconv_prog.c (print_version): Likewise.
4514 * iconv/iconvconfig.c (print_version): Likewise.
4515 * locale/programs/locale.c (print_version): Likewise.
4516 * locale/programs/localedef.c (print_version): Likewise.
4517 * login/programs/pt_chown.c (print_version): Likewise.
4518 * malloc/memusage.sh (do_version): Likewise.
4519 * malloc/memusagestat.c (print_version): Likewise.
4520 * malloc/mtrace.pl: Likewise.
4521 * manual/libc.texinfo: Likewise.
4522 * nptl/version.c (banner): Likewise.
4523 * nscd/nscd.c (print_version): Likewise.
4524 * nss/getent.c (print_version): Likewise.
4525 * nss/makedb.c (print_version): Likewise.
4526 * posix/getconf.c (main): Likewise.
4527 * scripts/test-installation.pl: Likewise.
4528 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4530 * All files with FSF copyright notices: Update copyright dates
4531 using scripts/update-copyrights.
4532 * locale/programs/charmap-kw.h: Regenerated.
4533 * locale/programs/locfile-kw.h: Likewise.
4535 2017-12-31 Zack Weinberg <zackw@panix.com>
4537 * libio/bits/libio-ldbl.h: Correct check for improper
4538 inclusion. Add own multiple include guard.
4540 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
4541 Dmitry V. Levin <ldv@altlinux.org>
4545 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
4546 string token expansion. Check for NULL pointer or empty string possibly
4547 returned by expand_dynamic_string_token.
4548 (decompose_rpath): Check for empty path after dynamic string
4551 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
4554 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
4556 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
4557 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
4558 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
4560 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
4561 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4562 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4563 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4564 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4565 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
4567 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
4568 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
4569 __ptrace_peeksiginfo_flags, ptrace): Move to ...
4570 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
4571 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4572 bits/ptrace-shared.h.
4573 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
4574 <bits/ptrace-shared.h>.
4575 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
4576 __ptrace_peeksiginfo_flags, ptrace): Remove.
4577 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4578 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4579 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4580 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4581 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
4583 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
4586 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
4587 end of the loop. Improve comments.
4589 2017-12-29 Zack Weinberg <zackw@panix.com>
4592 * manual/errno.texi (Checking for Errors): Explicitly say that errno
4593 might be set on success.
4595 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
4598 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
4599 is unchanged on success.
4601 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
4603 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
4605 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
4606 expand_dynamic_string_token): Likewise.
4607 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
4610 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
4613 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
4614 is set and name contains ':', and all code depending on these checks.
4616 2017-12-24 Zack Weinberg <zackw@panix.com>
4618 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
4619 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
4621 * libio/libio.h: Rename the original version of this file to
4622 libio/bits/libio.h. Error out if not included by stdio.h or the
4624 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
4625 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
4626 if not included by bits/libio.h or the stub _G_config.h.
4627 * sysdeps/unix/sysv/linux/_G_config.h: Move to
4628 sysdeps/unix/sysv/linux/bits. Error out if not included by
4629 bits/libio.h or the stub _G_config.h.
4630 * libio/stdio.h: Include bits/libio.h, not libio.h.
4631 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
4632 well as libio.h and _G_config.h.
4634 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
4635 * libio/strfile.h, stdio-common/vfscanf.c
4636 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
4637 Include stdio.h, not _G_config.h nor libio.h.
4638 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
4639 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
4641 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
4643 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
4646 * stdlib/getrandom.c (getrandom): Fix comment.
4647 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
4649 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
4652 * manual/arith.texi (strtoul): Fix a typo.
4655 * manual/arith.texi (finite): Fix the description of the return
4658 2017-12-22 Eric Blake <ebb9@byu.net>
4660 Avoid gcc warnings on cygwin
4661 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
4662 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
4663 Avoid unused variable.
4665 2017-12-22 Florian Weimer <fweimer@redhat.com>
4667 * io/Makefile (routines): Add copy_file_range.
4668 (tests): Add tst-copy_file_range.
4669 (tests-static, tests-internal): Add tst-copy_file_range-compat.
4670 * io/Versions (GLIBC_2.27): Export copy_file_range.
4671 * io/copy_file_range-compat.c: New file.
4672 * io/copy_file_range.c: Likewise.
4673 * io/tst-copy_file_range-compat.c: Likewise.
4674 * io/tst-copy_file_range.c: Likewise.
4675 * manual/llio.texi (Copying File Data): New section.
4676 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
4677 * support/Makefile (libsupport-routines): Add support-xfstat,
4679 * support/support-xfstat.c: New file.
4680 * support/xftruncate.c: Likewise.
4681 * support/xlseek.c: Likewise.
4682 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
4683 * sysdeps/unix/sysv/linux/**.abilist: Update.
4684 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
4686 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4688 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4689 disable-multi-arch variant to aarch64-linux-gnu.
4691 2017-12-20 Joseph Myers <joseph@codesourcery.com>
4693 * manual/texinfo.tex: Update to version 2017-12-18.20 with
4694 trailing whitespace removed.
4695 * scripts/config.guess: Update to version 2017-12-17.
4696 * scripts/config.sub: Update to version 2017-11-23.
4697 * scripts/install-sh: Update to version 2017-09-23.17.
4698 * scripts/move-if-change: Update to version 2017-09-13 06:45.
4700 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4702 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
4703 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
4704 * sysdeps/tile/_mcount.S (__mcount): Likewise.
4705 * sysdeps/tile/crti.S (_init, _fini): Likewise.
4706 * sysdeps/tile/crtn.S: Likewise.
4707 * sysdeps/tile/dl-start.S (_start): Likewise.
4708 * sysdeps/tile/dl-trampoline.S: Likewise.
4709 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
4710 * sysdeps/tile/start.S (_start): Likewise.
4711 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
4712 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
4713 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
4714 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
4715 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
4716 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
4717 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
4719 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
4721 * sysdeps/tile/preconfigure: Remove tilegx folder.
4722 * sysdeps/tile/tilegx/Implies: Move definitions to ...
4723 * sysdeps/tile/Implies: ... here.
4724 * sysdeps/tile/tilegx/Makefile: Move rules to ...
4725 * sysdeps/tile/Makefile: ... here.
4726 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
4727 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
4728 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
4729 * sysdeps/tile/bits/wordsize.h: ... here.
4730 * sysdeps/tile/tilegx/*: Move to ...
4731 * sysdeps/tile/*: ... here.
4732 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
4733 * sysdeps/tile/tilegx32/Implies: ... here.
4734 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
4735 * sysdeps/tile/tilegx64/Implies: ... here.
4736 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
4738 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4739 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
4740 * sysdeps/unix/sysv/linux/tile/*: ... here.
4741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
4742 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
4743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
4744 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
4746 * README: Remove tilepro-*-linux-gnu from supported architecture.
4747 * scripts/build-many-glibcs.py: Likewise.
4748 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
4749 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
4750 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
4751 elf_machine_matches_host, elf_machine_dynamic,
4752 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
4753 howto, elf_machine_rela): Likewise.
4754 * sysdeps/tile/dl-start.S (_start): Likewise.
4755 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
4756 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
4757 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
4758 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
4759 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
4760 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
4762 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
4763 * sysdeps/tile/preconfigure: Likewise.
4764 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
4765 POINTER_CHK_GUARD): Likewise.
4766 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
4767 * sysdeps/tile/start.S (_start): Likewise.
4768 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
4770 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
4771 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
4773 * sysdeps/unix/sysv/linux/tile/bits/environments.h
4774 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
4775 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
4777 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
4778 * sysdeps/tile/tilepro/Implies: Remove file.
4779 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
4780 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
4781 * sysdeps/tile/tilepro/memchr.c: Likewise.
4782 * sysdeps/tile/tilepro/memcpy.S: Likewise.
4783 * sysdeps/tile/tilepro/memset.c: Likewise.
4784 * sysdeps/tile/tilepro/memusage.h: Likewise.
4785 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
4786 * sysdeps/tile/tilepro/strchr.c: Likewise.
4787 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
4788 * sysdeps/tile/tilepro/strlen.c: Likewise.
4789 * sysdeps/tile/tilepro/strrchr.c: Likewise.
4790 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
4791 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
4792 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
4793 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
4794 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
4795 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4797 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
4798 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4799 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
4800 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
4801 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4802 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
4803 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
4804 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
4805 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
4806 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
4807 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
4808 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
4809 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
4810 tilepro mention in comment.
4812 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
4813 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
4814 * nptl/pthread_join_common.c: New file: common function used on
4815 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
4816 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
4817 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
4818 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
4819 (cleanup): Move definition to pthread_join_common.c.
4820 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
4821 Remove superflous checks.
4822 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
4825 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
4827 * sysdeps/aarch64/libm-test-ulps: Update.
4829 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4831 * sysdeps/aarch64/memset.S (MEMSET): Define.
4833 2017-12-20 Florian Weimer <fweimer@redhat.com>
4836 nptl: Provide full implementation of pthread_self in libc.so.
4837 * nptl/Makefile (routines): Add pthread_self.
4838 (libpthread-routines): Replace pthread_self with
4839 compat-pthread_self.
4840 * nptl/forward.c (pthread_self): Remove.
4841 * nptl/nptl-init.c (pthread_functions): Do not initialize
4843 * nptl/pthread_self.c (pthread_self): Remove weak alias.
4844 * nptl/compat-pthread_self.c: New file.
4845 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
4846 Remove ptr_pthread_self.
4848 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
4850 * posix/regcomp.c: Fix spelling in comments.
4851 * posix/regex.h: Likewise.
4852 * posix/regex_internal.c: Likewise.
4853 * posix/regexec.c: Likewise.
4855 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4858 * math/Makefile [C++] (tests): Add test for iseqsig.
4859 * math/math.h [C++] (iseqsig): New implementation, which does
4860 not rely on __MATH_TG/__builtin_types_compatible_p.
4861 * math/test-math-iseqsig.cc: New file.
4862 * sysdeps/powerpc/powerpc64le/Makefile
4863 (CFLAGS-test-math-iseqsig.cc): New variable.
4865 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
4867 * elf/dl-load.c (is_trusted_path): Remove.
4868 (fillin_rpath): Remove check_trusted argument and its use,
4869 all callers changed.
4871 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
4874 * Makeconfig (link-pie-before-libc): Replace -pie with
4875 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
4876 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
4877 (tst-dlopen-aout-no-pie): New.
4878 (LDFLAGS-tst-prelink): Removed.
4879 (tst-prelink-no-pie): New.
4880 (LDFLAGS-tst-main1): Removed.
4881 (tst-main1-no-pie): New.
4882 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
4883 (tst-gmon-no-pie): New.
4885 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
4887 * manual/install.texi: Document that --enable-static-pie
4889 * INSTALL: Regenerated.
4891 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
4894 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
4897 2017-12-19 Joseph Myers <joseph@codesourcery.com>
4901 2017-12-19 Joseph Myers <joseph@codesourcery.com>
4903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4905 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
4907 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
4908 <errno.h>. Include "eexp.tbl".
4909 (half): New constant.
4911 (__ieee754_exp): Rewrite.
4912 (__slowexp): Remove prototype.
4913 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
4914 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
4915 * sysdeps/i386/fpu/slowexp.c: Likewise.
4916 * sysdeps/ia64/fpu/slowexp.c: Likewise.
4917 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
4918 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
4919 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
4920 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4921 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
4922 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
4924 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
4925 (CPPFLAGS-slowexp.c): Remove variable.
4926 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4927 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
4928 (CFLAGS-slowexp-fma.c): Remove variable.
4929 (CFLAGS-slowexp-fma4.c): Likewise.
4930 (CFLAGS-slowexp-avx.c): Likewise.
4931 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
4933 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
4934 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
4935 * math/Makefile (type-double-routines): Remove slowexp.
4936 * manual/probes.texi (slowexp_p6): Remove.
4937 (slowexp_p32): Likewise.
4939 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4941 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
4944 * lib/glob.c (glob): Do not pass NULL to mempcpy.
4946 2017-12-19 Joseph Myers <joseph@codesourcery.com>
4948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4950 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
4952 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
4953 <errno.h>. Include "eexp.tbl".
4954 (half): New constant.
4956 (__ieee754_exp): Rewrite.
4957 (__slowexp): Remove prototype.
4958 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
4959 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
4960 * sysdeps/i386/fpu/slowexp.c: Likewise.
4961 * sysdeps/ia64/fpu/slowexp.c: Likewise.
4962 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
4963 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
4964 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
4965 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4966 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
4967 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
4969 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
4970 (CPPFLAGS-slowexp.c): Remove variable.
4971 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4972 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
4973 (CFLAGS-slowexp-fma.c): Remove variable.
4974 (CFLAGS-slowexp-fma4.c): Likewise.
4975 (CFLAGS-slowexp-avx.c): Likewise.
4976 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
4978 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
4979 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
4980 * math/Makefile (type-double-routines): Remove slowexp.
4981 * manual/probes.texi (slowexp_p6): Remove.
4982 (slowexp_p32): Likewise.
4984 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4985 James Clarke <jrtc27@jrtc27.com>
4988 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
4991 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4994 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
4997 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
5000 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
5001 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
5002 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
5003 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
5006 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
5009 * bits/types/__cancel_jmp_buf_tag.h: New file.
5010 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
5011 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
5012 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
5013 * nptl/Makefile (headers): Add
5014 bits/types/__cancel_jmp_buf_tag.h.
5015 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
5016 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
5017 * sysdeps/nptl/pthread.h: Include
5018 <bits/types/__cancel_jmp_buf_tag.h>.
5019 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
5021 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
5023 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
5025 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5026 --enable-static-pie variants to x86_64, x32 and i686.
5028 2017-12-19 Joseph Myers <joseph@codesourcery.com>
5031 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
5032 argument for attrubutes. All callers changed.
5033 (__inline_mathop1): Likewise. All callers changed.
5034 (__inline_mathop): Likewise. All callers changed.
5035 [__USE_MISC] (scalbn): Use __inline_forward instead of
5037 [__USE_ISOC99] (scalbln): Likewise.
5038 [__USE_ISOC99] (nearbyint): Likewise.
5039 [__USE_ISOC99] (lrint): Likewise.
5040 [__USE_MISC] (scalbnf): Likewise.
5041 [__USE_ISOC99] (scalblnf): Likewise.
5042 [__USE_ISOC99] (nearbyintf): Likewise.
5043 [__USE_ISOC99] (lrintf): Likewise.
5044 [__USE_MISC] (scalbnl): Likewise.
5045 [__USE_ISOC99] (scalblnl): Likewise.
5046 [__USE_ISOC99] (nearbyintl): Likewise.
5047 [__USE_ISOC99] (lrintl): Likewise.
5048 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
5049 __inline_mathop and __m81_defun changed.
5051 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
5052 CPU or FPU for ARM hard-float configurations.
5054 2017-12-18 Joseph Myers <joseph@codesourcery.com>
5056 * nptl/tst-attr3.c: Include <libc-diag.h>.
5057 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
5059 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
5061 * string/tester.c (test_strncat): Also disable -Warray-bounds
5062 warnings for two tests.
5064 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
5067 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
5068 $(cc-pie-default) == yes.
5069 * config.make.in (cc-pie-default): New.
5070 * configure.ac (libc_cv_pie_default): Renamed to ...
5071 (libc_cv_cc_pie_default): This.
5072 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
5073 * configure: Regenerated.
5075 2017-12-18 Florian Weimer <fweimer@redhat.com>
5078 ld.so: Harden dl-libc/libdl hooks.
5079 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
5080 (rtld_active): New function.
5081 * dlfcn/dladdr.c (__dladdr): Call it.
5082 * dlfcn/dladdr1.c (__dladdr1): Likewise.
5083 * dlfcn/dlclose.c (__dlcose): Likewise.
5084 * dlfcn/dlerror.c (__dlerror): Likewise.
5085 * dlfcn/dlinfo.c (__dlinfo): Likewise.
5086 * dlfcn/dlmopen.c (__dlmopen): Likewise.
5087 * dlfcn/dlopen.c (__dlopen): Likewise.
5088 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5089 * dlfcn/dlsym.c (__dlsym): Likewise.
5090 * dlfcn/dlvsym.c (__dlvsym): Likewise.
5091 * libio/vtables.c (_IO_vtable_check): Likewise.
5092 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
5093 (__libc_dlclose): Likewise.
5094 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
5097 2017-12-18 Joseph Myers <joseph@codesourcery.com>
5100 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
5101 buffers for readlink input and output.
5103 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
5106 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
5107 inhibit_stack_protector.
5110 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
5111 inhibit_stack_protector.
5113 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
5116 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
5117 code and invocation.
5119 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
5121 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
5123 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
5126 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
5128 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5130 * sysdeps/s390/fpu/libm-test-ulps: Update.
5132 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5136 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5138 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
5139 constants to s_sincosf.h file.
5140 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5141 * sysdeps/ieee754/flt-32/s_sincosf.c: New
5143 * sysdeps/ieee754/flt-32/s_sincosf.h:
5146 2017-12-12 Carlos O'Donell <carlos@redhat.com>
5149 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
5152 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
5155 * INSTALL: Regenerated.
5156 * Makeconfig (real-static-start-installed-name): New.
5157 (pic-default): Updated for --enable-static-pie.
5158 (pie-default): New for --enable-static-pie.
5159 (default-pie-ldflag): Likewise.
5160 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
5161 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
5162 Replace $(static-start-installed-name) with
5163 $(real-static-start-installed-name).
5164 (+prectorT): Updated for --enable-static-pie.
5165 (+postctorT): Likewise.
5166 (CFLAGS-.o): Add $(pie-default).
5167 (CFLAGS-.op): Likewise.
5168 * NEWS: Mention --enable-static-pie.
5169 * config.h.in (ENABLE_STATIC_PIE): New.
5170 * configure.ac (--enable-static-pie): New configure option.
5171 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
5172 (have-static-pie): Likewise.
5173 Enable static PIE if linker supports --no-dynamic-linker.
5174 (ENABLE_STATIC_PIE): New AC_DEFINE.
5175 (enable-static-pie): New LIBC_CONFIG_VAR.
5176 * configure: Regenerated.
5177 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
5178 gr$(start-installed-name) for --enable-static-pie.
5179 (extra-objs): Likewise.
5180 (install-lib): Likewise.
5181 (extra-objs): Add static-reloc.o and static-reloc.os
5182 ($(objpfx)$(start-installed-name)): Also depend on
5183 $(objpfx)static-reloc.o.
5184 ($(objpfx)r$(start-installed-name)): New.
5185 ($(objpfx)g$(start-installed-name)): Also depend on
5186 $(objpfx)static-reloc.os.
5187 ($(objpfx)gr$(start-installed-name)): New.
5188 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
5190 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
5192 * csu/static-reloc.c: New file.
5193 * elf/Makefile (routines): Add dl-reloc-static-pie.
5194 (elide-routines.os): Likewise.
5195 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
5196 (tst-tls1-static-non-pie-no-pie): New.
5197 * elf/dl-reloc-static-pie.c: New file.
5198 * elf/dl-support.c (_dl_get_dl_main_map): New function.
5199 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
5200 STATIC_PIE_BOOTSTRAP.
5201 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
5202 * gmon/Makefile (tests): Add tst-gmon-static-pie.
5203 (tests-static): Likewise.
5204 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
5205 (tst-gmon-static-no-pie): New.
5206 (CFLAGS-tst-gmon-static-pie.c): Likewise.
5207 (CRT-tst-gmon-static-pie): Likewise.
5208 (tst-gmon-static-pie-ENV): Likewise.
5209 (tests-special): Likewise.
5210 ($(objpfx)tst-gmon-static-pie.out): Likewise.
5211 (clean-tst-gmon-static-pie-data): Likewise.
5212 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
5213 * gmon/tst-gmon-static-pie.c: New file.
5214 * manual/install.texi: Document --enable-static-pie.
5215 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
5216 (_dl_get_dl_main_map): Likewise.
5217 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
5218 * sysdeps/x86_64/configure.ac: Likewise.
5219 * sysdeps/i386/configure: Regenerated.
5220 * sysdeps/x86_64/configure: Likewise.
5221 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
5222 (ASFLAGS-.op): Likewise.
5224 2017-12-15 Joseph Myers <joseph@codesourcery.com>
5226 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
5227 * posix/tst-mmap-offset.c (fname): Use /tmp.
5228 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
5230 2017-12-15 Steve Ellcey <sellcey@cavium.com>
5232 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
5234 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
5236 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
5239 2017-12-15 Joseph Myers <joseph@codesourcery.com>
5241 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
5242 --with-float=hard for arm-linux-gnueabihf configurations.
5245 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
5246 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
5247 ($(mo-installed)): Use $(objpfx)%.mo.
5248 (realclean): Remove rule.
5250 * po/Makefile (linguas): Remove rule and dependencies.
5251 (linguas.mo): Likewise.
5252 (.PHONY): Do not depend on linguas and linguas.mo.
5253 (podir): Remove variable.
5254 (pofiles): Likewise.
5255 [$(pofiles)] (%.po): Remove rule.
5257 * sysdeps/sparc/sparc32/Makefile
5258 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
5259 start-of-line whitespace in argument of echo.
5260 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
5261 with whitespace. Generate __wrap_.udiv alias.
5262 * sysdeps/sparc/sparc32/rem.S: Regenerated.
5263 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5264 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5265 * sysdeps/sparc/sparc32/urem.S: Likewise.
5267 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5269 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
5272 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
5274 * benchtests/bench-strcmp.c: Print output in JSON format.
5276 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
5278 2017-12-14 Florian Weimer <fweimer@redhat.com>
5282 * elf/dl-load.c (_dl_init_paths): Compute number of components in
5283 the expanded path string.
5285 2017-12-14 Florian Weimer <fweimer@redhat.com>
5289 * elf/dl-load.c (system_dirs): Update comment.
5290 (nsystem_dirs_len): Use array_length.
5291 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
5293 2017-12-14 Florian Weimer <fweimer@redhat.com>
5295 Simplify compiling most of support/ outside of glibc.
5296 * support/check_addrinfo.c: Include <string.h>.
5297 * support/check_dns_packet.c: Likewise.
5298 * support/check_hostent.c: Likewise.
5299 * support/support_can_chroot.c: Include <support/xunistd.h>.
5300 * support/support_format_addrinfo.c: Include <stdlib.h>
5301 * support/support_format_dns_packet.c: Include <stdbool.h>.
5302 * support/support_format_hostent.c: Include <stdlib.h>.
5303 * support/support_format_netent.c: Likewise.
5304 * support/support_write_string.c: Include <support/xunistd.h>.
5305 * support/xdlfcn.c: Include <stddef.h>.
5307 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
5309 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
5311 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
5312 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5314 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
5315 (sysdeps_routines): Add memset-niagara7.
5316 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
5318 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
5320 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
5321 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
5322 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
5323 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
5324 Add niagara7 option.
5325 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
5328 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
5329 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
5330 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
5332 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
5334 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
5335 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
5336 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
5337 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
5338 and __memmove_niagara7.
5339 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
5340 Add niagara7 option.
5341 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
5342 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
5343 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
5344 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
5345 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
5347 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
5349 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
5350 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
5351 * sysdeps/sparc/sparc64/memmove.S: Likewise.
5352 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
5354 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
5355 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
5356 _dl_sparc_cap_flags array.
5357 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
5359 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
5361 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
5362 time whenever possible.
5364 2017-12-12 Carlos O'Donell <carlos@redhat.com>
5366 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
5367 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
5369 2017-12-12 Joseph Myers <joseph@codesourcery.com>
5371 * soft-fp/fmadf4.c: Move to ....
5372 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
5373 * soft-fp/fmasf4.c: Move to ....
5374 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
5375 * soft-fp/fmatf4.c: Move to ....
5376 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
5377 * sysdeps/ieee754/soft-fp/Makefile: New file.
5378 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
5379 * sysdeps/arm/preconfigure: Regenerated.
5380 * sysdeps/arm/nofpu/Implies: New file.
5381 * sysdeps/arm/s_fma.c: Remove file.
5382 * sysdeps/arm/s_fmaf.c: Likewise.
5383 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
5384 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
5385 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
5386 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
5387 * sysdeps/microblaze/s_fma.c: Remove file.
5388 * sysdeps/microblaze/s_fmaf.c: Likewise.
5389 * sysdeps/mips/mips32/nofpu/Implies: New file.
5390 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
5391 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
5392 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
5393 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
5394 * sysdeps/mips/ieee754/s_fma.c: Remove file.
5395 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
5396 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
5398 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
5399 * sysdeps/nios2/s_fma.c: Remove file.
5400 * sysdeps/nios2/s_fmaf.c: Likewise.
5401 * sysdeps/sh/nofpu/Implies: New file.
5402 * sysdeps/sh/s_fma.c: Remove file.
5403 * sysdeps/sh/s_fmaf.c: Likewise.
5404 * sysdeps/tile/Implies: Add ieee754/soft-fp.
5405 * sysdeps/tile/s_fma.c: Remove file.
5406 * sysdeps/tile/s_fmaf.c: Likewise.
5408 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
5410 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5411 Add s_cosf-sse2 and s_cosf-fma.
5412 (CFLAGS-s_cosf-fma.c): New.
5413 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
5414 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
5415 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
5417 2017-12-12 Steve Ellcey <sellcey@cavium.com>
5419 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
5421 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5423 * libio/Makefile (tests): Add tst-bz22415.
5424 (tst-bz22415-ENV): New rule.
5425 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
5426 (tests-special): Add tst-bz22415-mem.out.
5427 ($(objpfx)tst-bz22415-mem.out): New rule.
5428 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
5429 in case of a successful seek operation.
5430 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5431 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
5433 * libio/tst-bz22415.c: New test.
5435 * sysdeps/ia64/fpu/libm-test-ulps: Update.
5437 2017-12-12 James Clarke <jrtc27@jrtc27.com>
5439 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
5440 __IPC_64 to 0 to avoid IPC_64 being set.
5442 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5445 * math/bits/mathcalls.h (nextafter): Remove const.
5446 (nexttoward): Likewise.
5448 2017-12-12 Joseph Myers <joseph@codesourcery.com>
5450 * configure.ac (--with-fp): Remove configure option.
5451 (with_fp_cond): New variable.
5452 (libc_cv_with_fp): New configure test. Use this variable instead
5454 * configure: Regenerated.
5455 * config.make.in (with-fp): Use @libc_cv_with_fp@.
5456 * manual/install.texi (Configuring and compiling): Remove
5458 * INSTALL: Regenerated.
5459 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
5460 * sysdeps/mips/preconfigure (with_fp_cond): Define.
5461 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
5462 * sysdeps/sh/preconfigure (with_fp_cond): Define.
5463 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
5464 use --without-fp to configure glibc.
5466 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
5468 * manual/locale.texi (nl_langinfo): Fix a typo.
5470 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
5473 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
5475 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
5477 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
5478 (CFLAGS-argp-parse.c): Likewise.
5479 (CFLAGS-argp-fmtstream.c): Likewise.
5480 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
5481 (CPPFLAGS-sha512-crypt.c): Likewise.
5482 (CPPFLAGS-md5-crypt.c): Likewise.
5483 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
5484 (CFLAGS-stack_chk_fail_local.c): Likewise.
5485 (CFLAGS-backtrace.c): Likewise.
5486 (CFLAGS-sprintf_chk.c): Likewise.
5487 (CFLAGS-snprintf_chk.c): Likewise.
5488 (CFLAGS-vsprintf_chk.c): Likewise.
5489 (CFLAGS-vsnprintf_chk.c): Likewise.
5490 (CFLAGS-asprintf_chk.c): Likewise.
5491 (CFLAGS-vasprintf_chk.c): Likewise.
5492 (CFLAGS-obprintf_chk.c): Likewise.
5493 (CFLAGS-dprintf_chk.c): Likewise.
5494 (CFLAGS-vdprintf_chk.c): Likewise.
5495 (CFLAGS-printf_chk.c): Likewise.
5496 (CFLAGS-fprintf_chk.c): Likewise.
5497 (CFLAGS-vprintf_chk.c): Likewise.
5498 (CFLAGS-vfprintf_chk.c): Likewise.
5499 (CFLAGS-gets_chk.c): Likewise.
5500 (CFLAGS-fgets_chk.c): Likewise.
5501 (CFLAGS-fgets_u_chk.c): Likewise.
5502 (CFLAGS-fread_chk.c): Likewise.
5503 (CFLAGS-fread_u_chk.c): Likewise.
5504 (CFLAGS-swprintf_chk.c): Likewise.
5505 (CFLAGS-vswprintf_chk.c): Likewise.
5506 (CFLAGS-wprintf_chk.c): Likewise.
5507 (CFLAGS-fwprintf_chk.c): Likewise.
5508 (CFLAGS-vwprintf_chk.c): Likewise.
5509 (CFLAGS-vfwprintf_chk.c): Likewise.
5510 (CFLAGS-fgetws_chk.c): Likewise.
5511 (CFLAGS-fgetws_u_chk.c): Likewise.
5512 (CFLAGS-read_chk.c): Likewise.
5513 (CFLAGS-pread_chk.c): Likewise.
5514 (CFLAGS-pread64_chk.c): Likewise.
5515 (CFLAGS-recv_chk.c): Likewise.
5516 (CFLAGS-recvfrom_chk.c): Likewise.
5517 (CFLAGS-tst-longjmp_chk.c): Likewise.
5518 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
5519 (CFLAGS-tst-longjmp_chk2.c): Likewise.
5520 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
5521 (CFLAGS-tst-longjmp_chk3.c): Likewise.
5522 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5523 (CFLAGS-tst-chk1.c): Likewise.
5524 (CFLAGS-tst-chk2.c): Likewise.
5525 (CFLAGS-tst-chk3.c): Likewise.
5526 (CFLAGS-tst-chk4.cc): Likewise.
5527 (CFLAGS-tst-chk5.cc): Likewise.
5528 (CFLAGS-tst-chk6.cc): Likewise.
5529 (CFLAGS-tst-lfschk1.c): Likewise.
5530 (CFLAGS-tst-lfschk2.c): Likewise.
5531 (CFLAGS-tst-lfschk3.c): Likewise.
5532 (CFLAGS-tst-lfschk4.cc): Likewise.
5533 (CFLAGS-tst-lfschk5.cc): Likewise.
5534 (CFLAGS-tst-lfschk6.cc): Likewise.
5535 (CFLAGS-tst-ssp-1.c): Likewise.
5536 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
5537 (CFLAGS-scandir64.c): Likewise.
5538 (CFLAGS-scandir-tail.c): Likewise.
5539 (CFLAGS-scandir64-tail.c): Likewise.
5540 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
5541 (CFLAGS-dl-tunables.c): Likewise.
5542 (CFLAGS-dl-runtime.c): Likewise.
5543 (CFLAGS-dl-lookup.c): Likewise.
5544 (CFLAGS-dl-iterate-phdr.c): Likewise.
5545 (CFLAGS-vismain.c): Likewise.
5546 (CFLAGS-tst-linkall-static.c): Likewise.
5547 (CFLAGS-tst-linkall-static.c): Likewise.
5548 (CPPFLAGS-dl-load.c): Likewise.
5549 (CFLAGS-ldconfig.c): Likewise.
5550 (CFLAGS-dl-cache.c): Likewise.
5551 (CFLAGS-cache.c): Likewise.
5552 (CFLAGS-rtld.c): Likewise.
5553 (CFLAGS-multiload.c): Likewise.
5554 (CFLAGS-filtmod1.c): Likewise.
5555 (CFLAGS-tst-align.c): Likewise.
5556 (CFLAGS-tst-align2.c): Likewise.
5557 (CFLAGS-tst-alignmod.c): Likewise.
5558 (CFLAGS-tst-alignmod2.c): Likewise.
5559 (CPPFLAGS-tst-execstack.c): Likewise.
5560 (CFLAGS-tst-ptrguard1-static.c): Likewise.
5561 (CFLAGS-tst-latepthreadmod.c): Likewise.
5562 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
5563 (CFLAGS-getgrnam_r.c): Likewise.
5564 (CFLAGS-getgrent_r.c): Likewise.
5565 (CFLAGS-getgrent.c): Likewise.
5566 (CFLAGS-fgetgrent.c): Likewise.
5567 (CFLAGS-fgetgrent_r.c): Likewise.
5568 (CFLAGS-putgrent.c): Likewise.
5569 (CFLAGS-initgroups.c): Likewise.
5570 (CFLAGS-getgrgid.c): Likewise.
5571 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
5572 (CFLAGS-getsgent.c): Likewise.
5573 (CFLAGS-fgetsgent.c): Likewise.
5574 (CFLAGS-fgetsgent_r.c): Likewise.
5575 (CFLAGS-putsgent.c): Likewise.
5576 (CFLAGS-getsgnam.c): Likewise.
5577 (CFLAGS-getsgnam_r.c): Likewise.
5578 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
5579 (CFLAGS-iconv_charmap.c): Likewise.
5580 (CFLAGS-dummy-repertoire.c): Likewise.
5581 (CFLAGS-charmap.c): Likewise.
5582 (CFLAGS-linereader.c): Likewise.
5583 (CFLAGS-simple-hash.c): Likewise.
5584 (CFLAGS-gconv_conf.c): Likewise.
5585 (CFLAGS-iconvconfig.c): Likewise.
5586 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5587 (CFLAGS-gethstbyad.c): Likewise.
5588 (CFLAGS-gethstbynm_r.c): Likewise.
5589 (CFLAGS-gethstbynm.c): Likewise.
5590 (CFLAGS-gethstbynm2_r.c): Likewise.
5591 (CFLAGS-gethstbynm2.c): Likewise.
5592 (CFLAGS-gethstent_r.c): Likewise.
5593 (CFLAGS-gethstent.c): Likewise.
5594 (CFLAGS-rcmd.c): Likewise.
5595 (CFLAGS-getnetbynm_r.c): Likewise.
5596 (CFLAGS-getnetbynm.c): Likewise.
5597 (CFLAGS-getnetbyad_r.c): Likewise.
5598 (CFLAGS-getnetbyad.c): Likewise.
5599 (CFLAGS-getnetent_r.c): Likewise.
5600 (CFLAGS-getnetent.c): Likewise.
5601 (CFLAGS-getaliasent_r.c): Likewise.
5602 (CFLAGS-getaliasent.c): Likewise.
5603 (CFLAGS-getrpcent_r.c): Likewise.
5604 (CFLAGS-getrpcent.c): Likewise.
5605 (CFLAGS-getservent_r.c): Likewise.
5606 (CFLAGS-getservent.c): Likewise.
5607 (CFLAGS-getprtent_r.c): Likewise.
5608 (CFLAGS-getprtent.c): Likewise.
5609 (CFLAGS-either_ntoh.c): Likewise.
5610 (CFLAGS-either_hton.c): Likewise.
5611 (CFLAGS-getnetgrent.c): Likewise.
5612 (CFLAGS-getnetgrent_r.c): Likewise.
5613 (CFLAGS-tst-checks-posix.c): Likewise.
5614 (CFLAGS-tst-sockaddr.c): Likewise.
5615 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
5616 (CFLAGS-tst-translit.c): Likewise.
5617 (CFLAGS-tst-gettext2.c): Likewise.
5618 (CFLAGS-tst-codeset.c): Likewise.
5619 (CFLAGS-tst-gettext3.c): Likewise.
5620 (CFLAGS-tst-gettext4.c): Likewise.
5621 (CFLAGS-tst-gettext5.c): Likewise.
5622 (CFLAGS-tst-gettext6.c): Likewise.
5623 * io/Makefile (CFLAGS-open.c): Likewise.
5624 (CFLAGS-open64.c): Likewise.
5625 (CFLAGS-creat.c): Likewise.
5626 (CFLAGS-creat64.c): Likewise.
5627 (CFLAGS-fcntl.c): Likewise.
5628 (CFLAGS-poll.c): Likewise.
5629 (CFLAGS-ppoll.c): Likewise.
5630 (CFLAGS-lockf.c): Likewise.
5631 (CFLAGS-statfs.c): Likewise.
5632 (CFLAGS-fstatfs.c): Likewise.
5633 (CFLAGS-statvfs.c): Likewise.
5634 (CFLAGS-fstatvfs.c): Likewise.
5635 (CFLAGS-fts.c): Likewise.
5636 (CFLAGS-fts64.c): Likewise.
5637 (CFLAGS-ftw.c): Likewise.
5638 (CFLAGS-ftw64.c): Likewise.
5639 (CFLAGS-lockf.c): Likewise.
5640 (CFLAGS-posix_fallocate.c): Likewise.
5641 (CFLAGS-posix_fallocate64.c): Likewise.
5642 (CFLAGS-fallocate.c): Likewise.
5643 (CFLAGS-fallocate64.c): Likewise.
5644 (CFLAGS-read.c): Likewise.
5645 (CFLAGS-write.c): Likewise.
5646 (CFLAGS-test-stat.c): Likewise.
5647 (CFLAGS-test-lfs.c): Likewise.
5648 * libio/Makefile (CFLAGS-fileops.c): Likewise.
5649 (CFLAGS-fputc.c): Likewise.
5650 (CFLAGS-fputwc.c): Likewise.
5651 (CFLAGS-freopen64.c): Likewise.
5652 (CFLAGS-freopen.c): Likewise.
5653 (CFLAGS-fseek.c): Likewise.
5654 (CFLAGS-fseeko64.c): Likewise.
5655 (CFLAGS-fseeko.c): Likewise.
5656 (CFLAGS-ftello64.c): Likewise.
5657 (CFLAGS-ftello.c): Likewise.
5658 (CFLAGS-fwide.c): Likewise.
5659 (CFLAGS-genops.c): Likewise.
5660 (CFLAGS-getc.c): Likewise.
5661 (CFLAGS-getchar.c): Likewise.
5662 (CFLAGS-getwc.c): Likewise.
5663 (CFLAGS-getwchar.c): Likewise.
5664 (CFLAGS-iofclose.c): Likewise.
5665 (CFLAGS-iofflush.c): Likewise.
5666 (CFLAGS-iofgetpos64.c): Likewise.
5667 (CFLAGS-iofgetpos.c): Likewise.
5668 (CFLAGS-iofgets.c): Likewise.
5669 (CFLAGS-iofgetws.c): Likewise.
5670 (CFLAGS-iofputs.c): Likewise.
5671 (CFLAGS-iofputws.c): Likewise.
5672 (CFLAGS-iofread.c): Likewise.
5673 (CFLAGS-iofsetpos64.c): Likewise.
5674 (CFLAGS-iofsetpos.c): Likewise.
5675 (CFLAGS-ioftell.c): Likewise.
5676 (CFLAGS-iofwrite.c): Likewise.
5677 (CFLAGS-iogetdelim.c): Likewise.
5678 (CFLAGS-iogetline.c): Likewise.
5679 (CFLAGS-iogets.c): Likewise.
5680 (CFLAGS-iogetwline.c): Likewise.
5681 (CFLAGS-ioputs.c): Likewise.
5682 (CFLAGS-ioseekoff.c): Likewise.
5683 (CFLAGS-ioseekpos.c): Likewise.
5684 (CFLAGS-iosetbuffer.c): Likewise.
5685 (CFLAGS-iosetvbuf.c): Likewise.
5686 (CFLAGS-ioungetc.c): Likewise.
5687 (CFLAGS-ioungetwc.c): Likewise.
5688 (CFLAGS-oldfileops.c): Likewise.
5689 (CFLAGS-oldiofclose.c): Likewise.
5690 (CFLAGS-oldiofgetpos64.c): Likewise.
5691 (CFLAGS-oldiofgetpos.c): Likewise.
5692 (CFLAGS-oldiofsetpos64.c): Likewise.
5693 (CFLAGS-oldiofsetpos.c): Likewise.
5694 (CFLAGS-peekc.c): Likewise.
5695 (CFLAGS-putc.c): Likewise.
5696 (CFLAGS-putchar.c): Likewise.
5697 (CFLAGS-putwc.c): Likewise.
5698 (CFLAGS-putwchar.c): Likewise.
5699 (CFLAGS-rewind.c): Likewise.
5700 (CFLAGS-wfileops.c): Likewise.
5701 (CFLAGS-wgenops.c): Likewise.
5702 (CFLAGS-oldiofopen.c): Likewise.
5703 (CFLAGS-iofopen.c): Likewise.
5704 (CFLAGS-iofopen64.c): Likewise.
5705 (CFLAGS-oldtmpfile.c): Likewise.
5706 (CFLAGS-tst_putwc.c): Likewise.
5707 * locale/Makefile (CFLAGS-md5.c): Likewise.
5708 (CFLAGS-charmap.c): Likewise.
5709 (CFLAGS-locfile.c): Likewise.
5710 (CFLAGS-charmap-dir.c): Likewise.
5711 * login/Makefile (CFLAGS-grantpt.c): Likewise.
5712 (CFLAGS-getpt.c): Likewise.
5713 (CFLAGS-pt_chown.c): Likewise.
5714 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
5715 (CFLAGS-obstack.c): Likewise.
5716 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
5717 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
5718 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
5719 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
5720 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
5721 (CFLAGS-test-tgmath.c): Likewise.
5722 (CFLAGS-test-tgmath2.c): Likewise.
5723 (CFLAGS-test-tgmath-ret.c): Likewise.
5724 (CFLAGS-test-powl.c): Likewise.
5725 (CFLAGS-test-snan.c): Likewise.
5726 (CFLAGS-test-signgam-finite.c): Likewise.
5727 (CFLAGS-test-signgam-finite-c99.c): Likewise.
5728 (CFLAGS-test-signgam-finite-c11.c): Likewise.
5729 (CFLAGS-test-signgam-uchar.c): Likewise.
5730 (CFLAGS-test-signgam-uchar-init.c): Likewise.
5731 (CFLAGS-test-signgam-uchar-static.c): Likewise.
5732 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
5733 (CFLAGS-test-signgam-uint.c): Likewise.
5734 (CFLAGS-test-signgam-uint-init.c): Likewise.
5735 (CFLAGS-test-signgam-uint-static.c): Likewise.
5736 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
5737 (CFLAGS-test-signgam-ullong.c): Likewise.
5738 (CFLAGS-test-signgam-ullong-init.c): Likewise.
5739 (CFLAGS-test-signgam-ullong-static.c): Likewise.
5740 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
5741 (CFLAGS-test-math-cxx11.cc): Likewise.
5742 (CFLAGS-test-math-isinff.cc): Likewise.
5743 (CFLAGS-test-math-iszero.cc): Likewise.
5744 (CFLAGS-test-math-issignaling.cc): Likewise.
5745 (CFLAGS-test-math-iscanonical.cc): Likewise.
5746 (CFLAGS-test-iszero-excess-precision.c): Likewise.
5747 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
5748 (CFLAGS-test-flt-eval-method.c): Likewise.
5749 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
5750 (CFLAGS-test-finite-macros.c): Likewise.
5751 * misc/Makefile (CFLAGS-select.c): Likewise.
5752 (CFLAGS-tsearch.c): Likewise.
5753 (CFLAGS-lsearch.c): Likewise.
5754 (CFLAGS-pselect.c): Likewise.
5755 (CFLAGS-readv.c): Likewise.
5756 (CFLAGS-writev.c): Likewise.
5757 (CFLAGS-preadv.c): Likewise.
5758 (CFLAGS-preadv64.c): Likewise.
5759 (CFLAGS-pwritev.c): Likewise.
5760 (CFLAGS-pwritev64.c): Likewise.
5761 (CFLAGS-preadv2.c): Likewise.
5762 (CFLAGS-preadv64v2.c): Likewise.
5763 (CFLAGS-pwritev2.c): Likewise.
5764 (CFLAGS-pwritev64v2.c): Likewise.
5765 (CFLAGS-usleep.c): Likewise.
5766 (CFLAGS-syslog.c): Likewise.
5767 (CFLAGS-error.c): Likewise.
5768 (CFLAGS-getpass.c): Likewise.
5769 (CFLAGS-mkstemp.c): Likewise.
5770 (CFLAGS-mkstemp64.c): Likewise.
5771 (CFLAGS-getsysstats.c): Likewise.
5772 (CFLAGS-getusershell.c): Likewise.
5773 (CFLAGS-err.c): Likewise.
5774 (CFLAGS-tst-tsearch.c): Likewise.
5775 (CFLAGS-msync.c): Likewise.
5776 (CFLAGS-fdatasync.c): Likewise.
5777 (CFLAGS-fsync.c): Likewise.
5778 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
5779 (CFLAGS-unwind.c): Likewise.
5780 (CFLAGS-unwind-forcedunwind.c): Likewise.
5781 (CFLAGS-pthread_cancel.c): Likewise.
5782 (CFLAGS-pthread_setcancelstate.c): Likewise.
5783 (CFLAGS-pthread_setcanceltype.c): Likewise.
5784 (CFLAGS-cancellation.c): Likewise.
5785 (CFLAGS-libc-cancellation.c): Likewise.
5786 (CFLAGS-pthread_exit.c): Likewise.
5787 (CFLAGS-forward.c): Likewise.
5788 (CFLAGS-pthread_testcancel.c): Likewise.
5789 (CFLAGS-pthread_join.c): Likewise.
5790 (CFLAGS-pthread_timedjoin.c): Likewise.
5791 (CFLAGS-pthread_once.c): Likewise.
5792 (CFLAGS-pthread_cond_wait.c): Likewise.
5793 (CFLAGS-sem_wait.c): Likewise.
5794 (CFLAGS-sem_timedwait.c): Likewise.
5795 (CFLAGS-fcntl.c): Likewise.
5796 (CFLAGS-lockf.c): Likewise.
5797 (CFLAGS-pread.c): Likewise.
5798 (CFLAGS-pread64.c): Likewise.
5799 (CFLAGS-pwrite.c): Likewise.
5800 (CFLAGS-pwrite64.c): Likewise.
5801 (CFLAGS-wait.c): Likewise.
5802 (CFLAGS-waitpid.c): Likewise.
5803 (CFLAGS-sigwait.c): Likewise.
5804 (CFLAGS-msgrcv.c): Likewise.
5805 (CFLAGS-msgsnd.c): Likewise.
5806 (CFLAGS-tcdrain.c): Likewise.
5807 (CFLAGS-open.c): Likewise.
5808 (CFLAGS-open64.c): Likewise.
5809 (CFLAGS-pause.c): Likewise.
5810 (CFLAGS-recv.c): Likewise.
5811 (CFLAGS-send.c): Likewise.
5812 (CFLAGS-accept.c): Likewise.
5813 (CFLAGS-sendto.c): Likewise.
5814 (CFLAGS-connect.c): Likewise.
5815 (CFLAGS-recvfrom.c): Likewise.
5816 (CFLAGS-recvmsg.c): Likewise.
5817 (CFLAGS-sendmsg.c): Likewise.
5818 (CFLAGS-close.c): Likewise.
5819 (CFLAGS-read.c): Likewise.
5820 (CFLAGS-write.c): Likewise.
5821 (CFLAGS-nanosleep.c): Likewise.
5822 (CFLAGS-sigsuspend.c): Likewise.
5823 (CFLAGS-msync.c): Likewise.
5824 (CFLAGS-fdatasync.c): Likewise.
5825 (CFLAGS-fsync.c): Likewise.
5826 (CFLAGS-pt-system.c): Likewise.
5827 (CFLAGS-tst-cleanup2.c): Likewise.
5828 (CFLAGS-tst-cleanupx2.c): Likewise.
5829 (CFLAGS-flockfile.c): Likewise.
5830 (CFLAGS-ftrylockfile.c): Likewise.
5831 (CFLAGS-funlockfile.c): Likewise.
5832 (CFLAGS-tst-initializers1.c): Likewise.
5833 (CFLAGS-tst-initializers1-c89.c): Likewise.
5834 (CFLAGS-tst-initializers1-c99.c): Likewise.
5835 (CFLAGS-tst-initializers1-c11.c): Likewise.
5836 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
5837 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
5838 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
5839 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
5840 (CFLAGS-nscd_getgr_r.c): Likewise.
5841 (CFLAGS-nscd_gethst_r.c): Likewise.
5842 (CFLAGS-nscd_getai.c): Likewise.
5843 (CFLAGS-nscd_initgroups.c): Likewise.
5844 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
5845 (CFLAGS-pause.c): Likewise.
5846 (CFLAGS-pread.c): Likewise.
5847 (CFLAGS-pread64.c): Likewise.
5848 (CFLAGS-pwrite.c): Likewise.
5849 (CFLAGS-pwrite64.c): Likewise.
5850 (CFLAGS-sleep.c): Likewise.
5851 (CFLAGS-wait.c): Likewise.
5852 (CFLAGS-waitid.c): Likewise.
5853 (CFLAGS-waitpid.c): Likewise.
5854 (CFLAGS-getopt.c): Likewise.
5855 (CFLAGS-wordexp.c): Likewise.
5856 (CFLAGS-sysconf.c): Likewise.
5857 (CFLAGS-pathconf.c): Likewise.
5858 (CFLAGS-fpathconf.c): Likewise.
5859 (CFLAGS-spawn.c): Likewise.
5860 (CFLAGS-spawnp.c): Likewise.
5861 (CFLAGS-spawni.c): Likewise.
5862 (CFLAGS-glob.c): Likewise.
5863 (CFLAGS-glob64.c): Likewise.
5864 (CFLAGS-getconf.c): Likewise.
5865 (CFLAGS-nanosleep.c): Likewise.
5866 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
5867 (CFLAGS-getpwent.c): Likewise.
5868 (CFLAGS-getpw.c): Likewise.
5869 (CFLAGS-fgetpwent_r.c): Likewise.
5870 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
5871 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
5872 (CFLAGS-mq_timedreceive.c): Likewise.
5873 (CFLAGS-mq_timedsend.c): Likewise.
5874 (CFLAGS-clock_nanosleep.c): Likewise.
5875 (CFLAGS-librt-cancellation.c): Likewise.
5876 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
5877 (CFLAGS-getspent.c): Likewise.
5878 (CFLAGS-fgetspent.c): Likewise.
5879 (CFLAGS-fgetspent_r.c): Likewise.
5880 (CFLAGS-putspent.c): Likewise.
5881 (CFLAGS-getspnam.c): Likewise.
5882 (CFLAGS-getspnam_r.c): Likewise.
5883 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
5884 (CFLAGS-sigsuspend.c): Likewise.
5885 (CFLAGS-sigtimedwait.c): Likewise.
5886 (CFLAGS-sigwait.c): Likewise.
5887 (CFLAGS-sigwaitinfo.c): Likewise.
5888 (CFLAGS-sigreturn.c): Likewise.
5889 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
5890 (CFLAGS-vfwprintf.c): Likewise.
5891 (CFLAGS-tmpfile.c): Likewise.
5892 (CFLAGS-tmpfile64.c): Likewise.
5893 (CFLAGS-tempname.c): Likewise.
5894 (CFLAGS-psignal.c): Likewise.
5895 (CFLAGS-vprintf.c): Likewise.
5896 (CFLAGS-cuserid.c): Likewise.
5897 (CFLAGS-errlist.c): Likewise.
5898 (CFLAGS-siglist.c): Likewise.
5899 (CFLAGS-scanf15.c): Likewise.
5900 (CFLAGS-scanf17.c): Likewise.
5901 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
5902 (CFLAGS-msort.c): Likewise.
5903 (CFLAGS-qsort.c): Likewise.
5904 (CFLAGS-system.c): Likewise.
5905 (CFLAGS-fmtmsg.c): Likewise.
5906 (CFLAGS-strfmon.c): Likewise.
5907 (CFLAGS-strfmon_l.c): Likewise.
5908 (CFLAGS-strfromd.c): Likewise.
5909 (CFLAGS-strfromf.c): Likewise.
5910 (CFLAGS-strfroml.c): Likewise.
5911 (CFLAGS-tst-bsearch.c): Likewise.
5912 (CFLAGS-tst-qsort.c): Likewise.
5913 (CFLAGS-tst-makecontext2.c): Likewise.
5914 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
5915 (CFLAGS-xnlm_prot.c): Likewise.
5916 (CFLAGS-xrstat.c): Likewise.
5917 (CFLAGS-xyppasswd.c): Likewise.
5918 (CFLAGS-xklm_prot.c): Likewise.
5919 (CFLAGS-xrex.c): Likewise.
5920 (CFLAGS-xsm_inter.c): Likewise.
5921 (CFLAGS-xmount.c): Likewise.
5922 (CFLAGS-xrusers.c): Likewise.
5923 (CFLAGS-xspray.c): Likewise.
5924 (CFLAGS-xnfs_prot.c): Likewise.
5925 (CFLAGS-xrquota.c): Likewise.
5926 (CFLAGS-xkey_prot.c): Likewise.
5927 (CFLAGS-auth_unix.c): Likewise.
5928 (CFLAGS-key_call.c): Likewise.
5929 (CFLAGS-pmap_rmt.c): Likewise.
5930 (CFLAGS-clnt_perr.c): Likewise.
5931 (CFLAGS-openchild.c): Likewise.
5932 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
5933 (CFLAGS-msgsnd.c): Likewise.
5934 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
5935 * time/Makefile (CFLAGS-tzfile.c): Likewise.
5936 (CFLAGS-tzset.c): Likewise.
5937 (CFLAGS-getdate.c): Likewise.
5938 (CFLAGS-test_time.c): Likewise.
5939 (CPPFLAGS-tst-tzname.c): Likewise.
5940 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
5941 (CFLAGS-zic.c): Likewise.
5942 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
5943 (CFLAGS-wcswidth.c): Likewise.
5944 (CFLAGS-wcstol.c): Likewise.
5945 (CFLAGS-wcstoul.c): Likewise.
5946 (CFLAGS-wcstoll.c): Likewise.
5947 (CFLAGS-wcstoull.c): Likewise.
5948 (CFLAGS-wcstod.c): Likewise.
5949 (CFLAGS-wcstold.c): Likewise.
5950 (CFLAGS-wcstof128.c): Likewise.
5951 (CFLAGS-wcstof.c): Likewise.
5952 (CFLAGS-wcstol_l.c): Likewise.
5953 (CFLAGS-wcstoul_l.c): Likewise.
5954 (CFLAGS-wcstoll_l.c): Likewise.
5955 (CFLAGS-wcstoull_l.c): Likewise.
5956 (CFLAGS-wcstod_l.c): Likewise.
5957 (CFLAGS-wcstold_l.c): Likewise.
5958 (CFLAGS-wcstof128_l.c): Likewise.
5959 (CFLAGS-wcstof_l.c): Likewise.
5960 (CPPFLAGS-tst-wchar-h.c): Likewise.
5961 (CPPFLAGS-wcstold_l.c): Likewise.
5963 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
5965 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
5967 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5968 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5970 * manual/tunables.texi (Hardware Capability Tunables): Document
5971 glibc.tune.cached_memopt.
5972 * sysdeps/powerpc/cpu-features.c: New file.
5973 * sysdeps/powerpc/cpu-features.h: New file.
5974 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
5975 _dl_powerpc_cpu_features.
5976 * sysdeps/powerpc/dl-tunables.list: New file.
5977 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
5978 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5979 (INIT_ARCH): Initialize use_aligned_memopt.
5980 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
5981 IS_IN(rtld))]: Restrict dl_platform_init availability and
5982 initialize CPU features used by tunables.
5983 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
5984 Add memcpy-power8-cached.
5985 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
5986 __memcpy_power8_cached.
5987 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5988 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
5991 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
5993 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
5994 (CFLAGS-noinl-tester.c): Likewise.
5995 (CFLAGS-tst-strlen.c): Likewise.
5996 (CFLAGS-stratcliff.c): Likewise.
5997 (CFLAGS-test-ffs.c): Likewise.
5998 (CFLAGS-tst-inlcall.c): Likewise.
5999 (CFLAGS-tst-xbzero-opt.c): Likewise.
6000 (CFLAGS-memcpy.c): Likewise.
6001 (CFLAGS-wordcopy.c): Likewise.
6003 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6005 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
6006 Store r15 on stack and add cfi rule.
6007 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6010 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
6013 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
6016 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
6018 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6019 Add s_sinf-sse2 and s_sinf-fma.
6020 (CFLAGS-s_sinf-fma.c): New.
6021 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
6022 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
6023 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
6025 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
6027 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
6029 2017-12-07 Joseph Myers <joseph@codesourcery.com>
6032 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
6033 part of result to imaginary part of argument if it is zero and the
6034 real part of the argument is not finite.
6035 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
6036 of result to real part of argument if it is zero and the imaginary
6037 part of the argument is not finite.
6039 2017-12-07 Mike FABIAN <mfabian@redhat.com>
6042 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
6043 and to the list of locales to be built for testing.
6044 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
6045 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
6046 and build the collation rules upon that.
6048 2017-12-07 Joseph Myers <joseph@codesourcery.com>
6050 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
6051 * manual/math.texi (Mathematics): Document support for _Float32.
6052 * math/Makefile (test-types): Add float32.
6053 * math/Versions (GLIBC_2.27): Add _Float32 functions.
6054 * stdlib/Versions (GLIBC_2.27): Likewise.
6055 * wcsmbs/Versions (GLIBC_2.27): Likewise.
6056 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
6057 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6058 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6059 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6060 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6061 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6062 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6063 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6064 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6065 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6066 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6067 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6068 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6069 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6070 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6071 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6072 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6073 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6074 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6075 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6076 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6078 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6079 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6080 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6081 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6082 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6100 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6101 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6102 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6103 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6104 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6105 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6106 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6107 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6108 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6109 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6118 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6119 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6120 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6121 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6122 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6123 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6124 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6125 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6127 2017-12-06 Joseph Myers <joseph@codesourcery.com>
6129 * stdlib/strtof.c: Include <bits/floatn.h>
6130 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
6131 and later undefine as macro. Define as weak alias if
6133 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
6134 and later undefine as macro. Define as weak alias if
6136 * stdlib/strtof_l.c: Include <bits/floatn.h>
6137 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
6138 and later undefine as macro. Define as weak alias if
6140 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
6141 and later undefine as macro. Define as weak alias if
6144 * stdlib/strfromf.c: Include <bits/floatn.h>.
6145 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
6146 and later undefine as macro and define as weak alias.
6148 * math/test-float32.h: New file.
6150 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
6151 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
6152 (libm_alias_float_other_r): Create f32 alias.
6153 (libm_alias_float_r): Use semicolon before call to
6154 libm_alias_float_other_r.
6156 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
6157 second argument to libm_alias_float_other.
6158 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
6159 second argument to libm_alias_float_other.
6160 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
6161 argument to libm_alias_float_other.
6164 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
6165 real part of result for argument 0 + i * NaN.
6166 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
6167 results for tests of 0 + i * NaN.
6169 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6171 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6173 2017-12-06 David S. Miller <davem@davemloft.net>
6175 * sysdeps/sparc/fpu/libm-test-ulps: Update
6176 exp_{downward,towardzero,upward} ulps.
6178 2017-12-06 Joseph Myers <joseph@codesourcery.com>
6180 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
6183 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
6185 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
6187 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
6189 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
6192 2017-12-06 Mike FABIAN <mfabian@redhat.com>
6195 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
6196 and to the list of locales to be built for testing.
6197 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
6198 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
6199 and build the collation rules upon that.
6201 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6203 * NEWS: Add sinf to list of optimized functions.
6205 2017-12-06 Joseph Myers <joseph@codesourcery.com>
6207 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
6208 (__HAVE_FLOAT32X): Likewise.
6209 * manual/math.texi (Mathematics): Document support for _Float64
6211 * math/Makefile (test-types): Add float64 and float32x.
6212 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
6214 * stdlib/Versions (GLIBC_2.27): Likewise.
6215 * wcsmbs/Versions (GLIBC_2.27): Likewise.
6216 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
6217 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6218 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6219 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6220 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6221 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6222 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6223 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6224 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6225 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6226 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6227 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6228 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6229 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6230 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6231 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6232 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6233 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6234 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6235 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6236 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6238 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6239 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6240 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6241 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6242 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6259 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6260 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6261 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6262 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6263 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6264 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6265 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6266 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6267 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6268 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6277 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6278 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6279 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6280 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6281 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6282 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6283 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6284 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6286 2017-12-05 Joseph Myers <joseph@codesourcery.com>
6288 * bits/floatn-common.h: Include <bits/long-double.h>.
6289 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
6290 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
6291 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
6292 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
6293 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
6294 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
6295 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
6296 (__builtin_huge_valf64): Use __builtin_huge_vall.
6297 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
6298 (__builtin_inff64): Use __builtin_infl.
6299 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
6300 (__builtin_nanf64): Use __builtin_nanl.
6301 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
6302 (__builtin_nansf64): Use __builtin_nansl.
6304 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
6305 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6306 Carlos O'Donnell <carlos@redhat.com>
6308 * elf/dl-tunables.list: Add elision parameters.
6309 * manual/tunables.texi: Add entries about elision tunable.
6310 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
6311 Add callback functions to dynamically enable/disable elision.
6312 Add multiple callbacks functions to set elision parameters.
6313 Deleted __libc_enable_secure check.
6314 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
6315 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
6316 * configure: Regenerated.
6317 * configure.ac: Option enable_lock_elision was deleted.
6318 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
6319 * config.make.in: Remove references to enable_lock_elision.
6320 * manual/install.texi: Elision configure option was removed.
6321 * INSTALL: Regenerated to remove enable_lock_elision.
6323 Disable elision so it can verify error case for destroying a mutex.
6324 * sysdeps/powerpc/nptl/elide.h:
6325 Cleanup ENABLE_LOCK_ELISION check.
6326 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
6327 * sysdeps/s390/configure: Regenerated.
6328 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
6329 * nptl/tst-mutex8.c:
6330 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
6331 * sysdeps/powerpc/powerpc32/sysdep.h:
6332 Deleted all ENABLE_LOCK_ELISION checks.
6333 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6334 * sysdeps/powerpc/sysdep.h: Likewise.
6335 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
6336 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
6337 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6338 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6339 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6340 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
6341 enable-lock-elision.
6343 2017-12-05 Joseph Myers <joseph@codesourcery.com>
6345 * stdlib/strtod.c: Include <bits/floatn.h>.
6346 (BUILD_DOUBLE): New macro.
6347 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
6348 (strtof64): Define and later undefine as macro. Define as weak
6349 alias if [!USE_WIDE_CHAR].
6350 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
6351 (wcstof64): Define and later undefine as macro. Define as weak
6352 alias if [USE_WIDE_CHAR].
6353 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
6354 (strtof32x): Define and later undefine as macro. Define as weak
6355 alias if [!USE_WIDE_CHAR].
6356 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
6357 (wcstof32x): Define and later undefine as macro. Define as weak
6358 alias if [USE_WIDE_CHAR].
6359 * stdlib/strtod_l.c: Include <bits/floatn.h>.
6360 (BUILD_DOUBLE): New macro.
6361 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
6362 (strtof64_l): Define and later undefine as macro. Define as weak
6363 alias if [!USE_WIDE_CHAR].
6364 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
6365 (wcstof64_l): Define and later undefine as macro. Define as weak
6366 alias if [USE_WIDE_CHAR].
6367 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
6368 (strtof32x_l): Define and later undefine as macro. Define as weak
6369 alias if [!USE_WIDE_CHAR].
6370 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
6371 (wcstof32x_l): Define and later undefine as macro. Define as weak
6372 alias if [USE_WIDE_CHAR].
6374 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6376 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
6377 (reduced): Use ones as double instead of integer.
6379 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6381 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
6383 2017-12-05 Joseph Myers <joseph@codesourcery.com>
6385 * stdlib/strfromd.c: Include <bits/floatn.h>.
6386 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
6387 and later undefine as macro and define as weak alias.
6388 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
6391 * math/test-float32x.h: New file.
6392 * math/test-float64.h: Likewise.
6394 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
6395 (libm_alias_double_other_r_f64): New macro.
6396 (libm_alias_double_other_r_f32x): Likewise.
6397 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
6398 libm_alias_double_other_r_f32x.
6399 (libm_alias_double_r): Use semicolon before call to
6400 libm_alias_double_other_r.
6401 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
6403 (libm_alias_double_other_r_f64): New macro.
6404 (libm_alias_double_other_r_f32x): Likewise.
6405 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
6406 libm_alias_double_other_r_f32x.
6408 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
6410 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
6412 (SINF_FUNC): Likewise. Replace floor with simple casts.
6414 2017-12-05 Mike FABIAN <mfabian@redhat.com>
6417 * localedata/Makefile: Add et_EE.UTF-8 to test-input
6418 and to the list of locales to be built for testing.
6419 * localedata/et_EE.UTF-8.in: New file for testing the collation.
6420 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
6421 and build the collation rules upon that.
6423 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
6425 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
6426 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
6427 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
6428 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
6429 instead of __insn__xxx.
6430 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
6431 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
6432 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
6433 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
6434 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
6435 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
6437 2017-12-05 Florian Weimer <fweimer@redhat.com>
6439 Linux: Implement interfaces for memory protection keys
6440 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
6442 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
6443 * support/xunistd.h (xsysconf): Declare.
6444 * support/xraise.c: New file.
6445 * support/xsigaction.c: Likewise.
6446 * support/xsignal.c: Likewise.
6447 * support/xsysconf.c: Likewise.
6448 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
6449 pkey_set, pkey_get, pkey_mprotect.
6450 [misc] (tests): Add tst-pkey.
6451 (tst-pkey): Link with -lpthread.
6452 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
6453 pkey_free, pkey_set, pkey_get, pkey_mprotect.
6454 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
6455 (PKEY_DISABLE_WRITE): Define.
6456 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
6458 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
6460 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
6461 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
6462 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
6463 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
6465 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
6466 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
6467 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
6468 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
6469 * sysdeps/unix/sysv/linux/**.abilist: Update.
6471 2017-12-05 Florian Weimer <fweimer@redhat.com>
6473 * support/tst-test_compare.c (subprocess): Use long long instead
6474 of long argument for consistent type width across 32-bit and
6475 64-bit architectures.
6476 (do_test): Adjust expected output.
6478 2017-12-05 Joseph Myers <joseph@codesourcery.com>
6480 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
6481 (cosf): Define using libm_alias_float.
6482 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
6483 (fabsf): Define using libm_alias_float.
6484 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
6485 (fmaf): Define using libm_alias_float.
6486 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
6487 (rintf): Define using libm_alias_float.
6488 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
6489 (sinf): Define using libm_alias_float.
6490 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
6491 <libm-alias-float.h>.
6492 (modff): Define using libm_alias_float.
6493 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
6494 <libm-alias-float.h>.
6495 (logbf): Define using libm_alias_float.
6496 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
6497 <libm-alias-float.h>.
6498 (ceilf): Define using libm_alias_float.
6499 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
6500 <libm-alias-float.h>.
6501 (copysignf): Define using libm_alias_float.
6502 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
6503 <libm-alias-float.h>.
6504 (floorf): Define using libm_alias_float.
6505 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
6506 <libm-alias-float.h>.
6507 (llrintf): Define using libm_alias_float.
6508 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
6509 <libm-alias-float.h>.
6510 (llroundf): Define using libm_alias_float.
6511 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
6512 <libm-alias-float.h>.
6513 (lrintf): Define using libm_alias_float.
6514 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
6515 <libm-alias-float.h>.
6516 (lroundf): Define using libm_alias_float.
6517 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
6518 <libm-alias-float.h>.
6519 (nearbyintf): Define using libm_alias_float.
6520 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
6521 <libm-alias-float.h>.
6522 (rintf): Define using libm_alias_float.
6523 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
6524 <libm-alias-float.h>.
6525 (roundf): Define using libm_alias_float.
6526 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
6527 <libm-alias-float.h>.
6528 (truncf): Define using libm_alias_float.
6529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
6530 Include <libm-alias-float.h>.
6531 (ceilf): Define using libm_alias_float.
6532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6533 Include <libm-alias-float.h>.
6534 (copysignf): Define using libm_alias_float.
6535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
6536 Include <libm-alias-float.h>.
6537 (floorf): Define using libm_alias_float.
6538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
6539 Include <libm-alias-float.h>.
6540 (llrintf): Define using libm_alias_float.
6541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
6542 Include <libm-alias-float.h>.
6543 (llroundf): Define using libm_alias_float.
6544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
6545 Include <libm-alias-float.h>.
6546 (logbf): Define using libm_alias_float.
6547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
6548 Include <libm-alias-float.h>.
6549 (lrintf): Define using libm_alias_float.
6550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
6551 Include <libm-alias-float.h>.
6552 (lroundf): Define using libm_alias_float.
6553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
6554 Include <libm-alias-float.h>.
6555 (modff): Define using libm_alias_float.
6556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
6557 Include <libm-alias-float.h>.
6558 (roundf): Define using libm_alias_float.
6559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
6560 Include <libm-alias-float.h>.
6561 (truncf): Define using libm_alias_float.
6562 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
6563 <libm-alias-float.h>.
6564 (llrintf): Define using libm_alias_float.
6565 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
6566 <libm-alias-float.h>.
6567 (llroundf): Define using libm_alias_float.
6568 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
6569 <libm-alias-float.h>.
6570 (ceilf): Define using libm_alias_float.
6571 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
6572 <libm-alias-float.h>.
6573 (floorf): Define using libm_alias_float.
6574 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
6575 <libm-alias-float.h>.
6576 (llroundf): Define using libm_alias_float.
6577 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
6578 <libm-alias-float.h>.
6579 (lroundf): Define using libm_alias_float.
6580 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
6581 <libm-alias-float.h>.
6582 (roundf): Define using libm_alias_float.
6583 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
6584 <libm-alias-float.h>.
6585 (truncf): Define using libm_alias_float.
6586 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
6587 <libm-alias-float.h>.
6588 (copysignf): Define using libm_alias_float.
6589 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
6590 <libm-alias-float.h>.
6591 (llrintf): Define using libm_alias_float.
6592 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
6593 <libm-alias-float.h>.
6594 (llroundf): Define using libm_alias_float.
6595 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
6596 <libm-alias-float.h>.
6597 (lrintf): Define using libm_alias_float.
6598 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
6599 <libm-alias-float.h>.
6600 (lroundf): Define using libm_alias_float.
6601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
6602 <libm-alias-float.h>.
6603 (ceilf): Define using libm_alias_float.
6604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
6605 <libm-alias-float.h>.
6606 (copysignf): Define using libm_alias_float.
6607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
6608 <libm-alias-float.h>.
6609 (cosf): Define using libm_alias_float.
6610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
6611 <libm-alias-float.h>.
6612 (floorf): Define using libm_alias_float.
6613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
6614 <libm-alias-float.h>.
6615 (llrintf): Define using libm_alias_float.
6616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
6617 <libm-alias-float.h>.
6618 (llroundf): Define using libm_alias_float.
6619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
6620 <libm-alias-float.h>.
6621 (logbf): Define using libm_alias_float.
6622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
6623 <libm-alias-float.h>.
6624 (modff): Define using libm_alias_float.
6625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
6626 <libm-alias-float.h>.
6627 (roundf): Define using libm_alias_float.
6628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
6629 <libm-alias-float.h>.
6630 (sinf): Define using libm_alias_float.
6631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
6632 <libm-alias-float.h>.
6633 (truncf): Define using libm_alias_float.
6634 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
6635 <libm-alias-float.h>.
6636 (ceilf): Define using libm_alias_float.
6637 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
6638 <libm-alias-float.h>.
6639 (copysignf): Define using libm_alias_float.
6640 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
6641 <libm-alias-float.h>.
6642 (floorf): Define using libm_alias_float.
6643 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
6644 <libm-alias-float.h>.
6645 (llrintf): Define using libm_alias_float.
6646 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
6647 <libm-alias-float.h>.
6648 (llroundf): Define using libm_alias_float.
6649 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
6650 <libm-alias-float.h>.
6651 (nearbyintf): Define using libm_alias_float.
6652 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
6653 <libm-alias-float.h>.
6654 (rintf): Define using libm_alias_float.
6655 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
6656 <libm-alias-float.h>.
6657 (roundf): Define using libm_alias_float.
6658 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
6659 <libm-alias-float.h>.
6660 (truncf): Define using libm_alias_float.
6661 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
6662 <libm-alias-float.h>.
6663 (ceilf): Define using libm_alias_float.
6664 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
6665 <libm-alias-float.h>.
6666 (floorf): Define using libm_alias_float.
6667 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
6668 <libm-alias-float.h>.
6669 (llroundf): Define using libm_alias_float.
6670 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
6671 <libm-alias-float.h>.
6672 (roundf): Define using libm_alias_float.
6673 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
6674 <libm-alias-float.h>.
6675 (truncf): Define using libm_alias_float.
6676 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
6677 <libm-alias-float.h>.
6678 (copysignf): Define using libm_alias_float.
6679 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
6680 <libm-alias-float.h>.
6681 (llrintf): Define using libm_alias_float.
6682 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
6683 <libm-alias-float.h>.
6684 (llroundf): Define using libm_alias_float.
6685 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
6686 <libm-alias-float.h>.
6687 (cosf): Define using libm_alias_float.
6688 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
6689 <libm-alias-float.h>.
6690 (llrintf): Define using libm_alias_float.
6691 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
6692 <libm-alias-float.h>.
6693 (llroundf): Define using libm_alias_float.
6694 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
6695 <libm-alias-float.h>.
6696 (sinf): Define using libm_alias_float.
6698 2017-12-04 Florian Weimer <fweimer@redhat.com>
6700 * support/check.h (TEST_COMPARE): Define.
6701 (support_test_compare_failure): Declare.
6702 * support/Makefile (libsupport-routines): Add
6703 support_test_compare_failure.
6704 (tests): Add tst-test_compare.
6705 * support /support_test_compare_failure.c: New file.
6706 * support/tst-test_compare.c: Likewise.
6708 2017-12-04 Mike FABIAN <mfabian@redhat.com>
6711 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
6712 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
6713 available, this rewrite of the collation rules does reproduce
6714 the test file in the same order.
6716 2017-12-04 Mike FABIAN <mfabian@redhat.com>
6719 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
6720 digraphs in the month and day names. Using single code points for
6721 digraphs is deprecated. While there are dedicated Unicode
6722 codepoints, for the digraphs, these are included for backwards
6723 compatibility and modern texts use a sequence of Basic Latin
6724 characters. See: https://www.unicode.org/faq/ligature_digraph.html
6725 This makes the month and day names agree exactly with CLDR now,
6726 CLDR does not use the single code points for the digraphs either.
6728 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
6730 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
6732 2017-12-04 Joseph Myers <joseph@codesourcery.com>
6734 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
6737 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
6739 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
6740 Define only for libc.so.
6742 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
6744 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6745 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6746 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
6747 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
6748 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6750 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6753 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
6755 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
6758 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
6759 PREINIT_FUNCTION_WEAK is nonzero.
6760 (gmon_initializer): New function. Put procedure label for it in
6761 .init_array section.
6762 (_init): Don't call PREINIT_FUNCTION.
6763 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
6764 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
6765 value when map argument is null.
6767 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
6768 depi instruction from PIC pc-relative sequence.
6769 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
6770 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
6771 (elf_machine_load_address): Likewise.
6772 (elf_machine_runtime_setup): Likewise.
6774 2017-12-02 Joseph Myers <joseph@codesourcery.com>
6776 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
6777 <libm-alias-double.h>.
6778 (logb): Define using libm_alias_double.
6779 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
6780 <libm-alias-double.h>.
6781 (copysign): Define using libm_alias_double.
6782 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
6783 <libm-alias-double.h>.
6784 (llrint): Define using libm_alias_double.
6785 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
6786 <libm-alias-double.h>.
6787 (llround): Define using libm_alias_double.
6788 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
6789 <libm-alias-double.h>.
6790 (lrint): Define using libm_alias_double.
6791 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
6792 <libm-alias-double.h>.
6793 (lround): Define using libm_alias_double.
6794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6795 Include <libm-alias-double.h>.
6796 (copysign): Define using libm_alias_double.
6797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
6798 Include <libm-alias-double.h>.
6799 (llrint): Define using libm_alias_double.
6800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
6801 Include <libm-alias-double.h>.
6802 (llround): Define using libm_alias_double.
6803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
6804 <libm-alias-double.h>.
6805 (logb): Define using libm_alias_double.
6806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
6807 Include <libm-alias-double.h>.
6808 (lrint): Define using libm_alias_double.
6809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
6810 Include <libm-alias-double.h>.
6811 (lround): Define using libm_alias_double.
6812 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
6813 <libm-alias-double.h>.
6814 (llrint): Define using libm_alias_double.
6815 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
6816 <libm-alias-double.h>.
6817 (llround): Define using libm_alias_double.
6818 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
6819 <libm-alias-double.h>.
6820 (llround): Define using libm_alias_double.
6821 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
6822 <libm-alias-double.h>.
6823 (lround): Define using libm_alias_double.
6824 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
6825 <libm-alias-double.h>.
6826 (copysign): Define using libm_alias_double.
6827 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
6828 <libm-alias-double.h>.
6829 (llrint): Define using libm_alias_double.
6830 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
6831 <libm-alias-double.h>.
6832 (llround): Define using libm_alias_double.
6833 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
6834 <libm-alias-double.h>.
6835 (lrint): Define using libm_alias_double.
6836 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
6837 <libm-alias-double.h>.
6838 (lround): Define using libm_alias_double.
6839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
6840 <libm-alias-double.h>.
6841 (copysign): Define using libm_alias_double.
6842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
6843 <libm-alias-double.h>.
6844 (llrint): Define using libm_alias_double.
6846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
6847 <libm-alias-double.h>.
6848 (llround): Define using libm_alias_double.
6850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
6851 <libm-alias-double.h>.
6852 (logb): Define using libm_alias_double.
6853 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
6854 <libm-alias-double.h>.
6855 (copysign): Define using libm_alias_double.
6856 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
6857 <libm-alias-double.h>.
6858 (llrint): Define using libm_alias_double.
6860 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
6861 <libm-alias-double.h>.
6862 (llround): Define using libm_alias_double.
6864 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
6865 <libm-alias-double.h>.
6866 (llround): Define using libm_alias_double.
6868 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
6869 <libm-alias-double.h>.
6870 (copysign): Define using libm_alias_double.
6871 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
6872 <libm-alias-double.h>.
6873 (llrint): Define using libm_alias_double.
6875 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
6876 <libm-alias-double.h>.
6877 (llround): Define using libm_alias_double.
6879 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
6880 <libm-alias-double.h>.
6881 (llrint): Define using libm_alias_double.
6883 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
6884 <libm-alias-double.h>.
6885 (llround): Define using libm_alias_double.
6888 2017-12-01 Joseph Myers <joseph@codesourcery.com>
6890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6891 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
6892 compat symbol based on llround.
6894 * sysdeps/powerpc/power7/fpu/s_logb.c
6895 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
6896 symbol based on __logb, not on logb.
6897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
6898 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
6899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
6900 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
6902 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
6903 (rint): Define using libm_alias_double.
6904 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
6905 <libm-alias-double.h>.
6906 (modf): Define using libm_alias_double.
6907 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
6908 <libm-alias-double.h>.
6909 (ceil): Define using libm_alias_double.
6910 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
6911 <libm-alias-double.h>.
6912 (floor): Define using libm_alias_double.
6913 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
6914 <libm-alias-double.h>.
6915 (nearbyint): Define using libm_alias_double.
6916 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
6917 <libm-alias-double.h>.
6918 (rint): Define using libm_alias_double.
6919 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
6920 <libm-alias-double.h>.
6921 (round): Define using libm_alias_double.
6922 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
6923 <libm-alias-double.h>.
6924 (trunc): Define using libm_alias_double.
6925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
6926 <libm-alias-double.h>.
6927 (ceil): Define using libm_alias_double.
6928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
6929 Include <libm-alias-double.h>.
6930 (floor): Define using libm_alias_double.
6931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
6932 <libm-alias-double.h>.
6933 (modf): Define using libm_alias_double.
6934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
6935 Include <libm-alias-double.h>.
6936 (round): Define using libm_alias_double.
6937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
6938 Include <libm-alias-double.h>.
6939 (trunc): Define using libm_alias_double.
6940 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
6941 <libm-alias-double.h>.
6942 (ceil): Define using libm_alias_double.
6943 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
6944 <libm-alias-double.h>.
6945 (floor): Define using libm_alias_double.
6946 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
6947 <libm-alias-double.h>.
6948 (round): Define using libm_alias_double.
6949 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
6950 <libm-alias-double.h>.
6951 (trunc): Define using libm_alias_double.
6952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
6953 <libm-alias-double.h>.
6954 (ceil): Define using libm_alias_double.
6955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
6956 <libm-alias-double.h>.
6957 (floor): Define using libm_alias_double.
6958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
6959 <libm-alias-double.h>.
6960 (modf): Define using libm_alias_double.
6961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
6962 <libm-alias-double.h>.
6963 (round): Define using libm_alias_double.
6964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
6965 <libm-alias-double.h>.
6966 (trunc): Define using libm_alias_double.
6967 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
6968 <libm-alias-double.h>.
6969 (ceil): Define using libm_alias_double.
6970 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
6971 <libm-alias-double.h>.
6972 (floor): Define using libm_alias_double.
6973 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
6974 <libm-alias-double.h>.
6975 (nearbyint): Define using libm_alias_double.
6976 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
6977 <libm-alias-double.h>.
6978 (rint): Define using libm_alias_double.
6979 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
6980 <libm-alias-double.h>.
6981 (round): Define using libm_alias_double.
6982 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
6983 <libm-alias-double.h>.
6984 (trunc): Define using libm_alias_double.
6985 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
6986 <libm-alias-double.h>.
6987 (ceil): Define using libm_alias_double.
6988 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
6989 <libm-alias-double.h>.
6990 (floor): Define using libm_alias_double.
6991 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
6992 <libm-alias-double.h>.
6993 (round): Define using libm_alias_double.
6994 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
6995 <libm-alias-double.h>.
6996 (trunc): Define using libm_alias_double.
6998 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
6999 (fabs): Define using libm_alias_double.
7000 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
7001 (fma): Define using libm_alias_double.
7002 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
7003 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
7004 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
7005 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
7007 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7009 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
7011 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
7012 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
7013 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
7015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
7018 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
7020 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
7022 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7024 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
7025 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
7026 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
7027 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
7029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7030 (libm-sysdep_routines): Add s_nearbyintf-generic and
7031 s_nearbyint-generic.
7032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
7034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
7035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
7037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
7039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
7041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
7044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7045 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
7046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
7048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
7051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
7053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7056 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
7057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
7059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
7060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
7062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
7063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
7064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
7066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7067 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
7068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
7070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
7071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
7073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
7074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
7075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7078 (sysdep_calls): New rule.
7079 (sysdep_routines): Use sysdep_calls as base.
7080 (libm-sysdep_routines): Add generic rule for symbols shared with
7081 libc. Add s_copysign-generic and s_copysign-generic objects.
7082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
7084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
7085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
7087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
7088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
7089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
7091 2017-12-01 Mike FABIAN <mfabian@redhat.com>
7094 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
7095 the list of locales to be built for testing.
7096 * localedata/is_IS.UTF-8.in: New file.
7097 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
7100 2017-12-01 Joseph Myers <joseph@codesourcery.com>
7102 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
7103 <libm-alias-float.h>.
7104 (fabsf): Define using libm_alias_float.
7106 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
7108 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
7110 2017-11-30 Joseph Myers <joseph@codesourcery.com>
7112 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
7113 <libm-alias-float.h>.
7114 (fabsf): Define using libm_alias_float.
7115 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
7116 <libm-alias-float.h>.
7117 (lrintf): Define using libm_alias_float.
7118 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
7119 <libm-alias-float.h>.
7120 (rintf): Define using libm_alias_float.
7122 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
7123 <libm-alias-double.h>.
7124 (fabs): Define using libm_alias_double.
7125 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
7126 <libm-alias-double.h>.
7127 (lrint): Define using libm_alias_double.
7128 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
7129 <libm-alias-double.h>.
7130 (rint): Define using libm_alias_double.
7132 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
7133 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7134 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
7135 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
7136 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
7137 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7138 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
7139 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
7140 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
7141 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
7142 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
7143 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
7144 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
7145 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
7146 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
7147 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
7148 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7149 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
7151 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
7152 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
7153 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
7155 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
7156 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
7157 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
7159 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
7160 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
7161 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
7163 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
7164 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
7165 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
7167 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
7168 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
7169 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
7171 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
7172 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
7173 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
7175 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
7176 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
7178 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
7179 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
7180 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
7182 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
7183 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
7184 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
7185 s_nearbyint_template.c.
7186 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
7187 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
7188 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
7189 s_remquo_template.c.
7190 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
7191 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
7192 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
7194 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7195 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7196 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
7198 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
7199 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
7200 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
7201 s_sincos_template.c.
7202 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
7203 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
7204 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
7206 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
7207 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
7208 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
7210 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
7211 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
7212 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
7214 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
7215 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
7216 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
7217 s_atan.c instead of including s_atan.c.
7218 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
7219 s_atanf.c instead of including s_atanf.c.
7220 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
7221 s_atanl.c instead of including s_atanl.c.
7222 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
7223 instead of s_atan.c.
7224 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
7225 instead of s_atanf.c.
7226 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
7227 instead of s_atanl.c.
7229 * scripts/update-copyrights: Do not handle intl/plural.c
7232 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
7235 * configure.ac (BISON): Require to be present.
7236 * configure: Regenerated.
7237 * intl/Makefile (generated): Add plural.c.
7238 [$(BISON) != no]: Make code unconditional.
7239 (plural.c): Change rule to $(objpfx)plural.c.
7240 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
7241 * intl/plural.c: Remove.
7242 * manual/install.texi (Tools for Compilation): Document bison as
7244 * INSTALL: Regenerated.
7246 2017-11-30 Joseph Myers <joseph@codesourcery.com>
7248 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
7249 <libm-alias-double.h>.
7250 (llrint): Define using libm_alias_double.
7251 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
7252 <libm-alias-float.h>.
7253 (llrintf): Define using libm_alias_float.
7254 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
7255 <libm-alias-ldouble.h>.
7256 (llrintl): Define using libm_alias_ldouble.
7258 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
7259 declare_mgen_alias instead of weak_alias.
7260 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
7261 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
7262 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
7264 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7266 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
7268 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
7269 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
7270 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
7272 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
7273 Add submul_1-generic.
7274 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
7275 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
7276 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
7278 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
7279 Add addmul_1-generic.
7280 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
7281 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
7282 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
7284 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
7286 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
7287 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
7288 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
7290 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
7292 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
7293 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
7294 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
7296 2017-11-30 Mike FABIAN <mfabian@redhat.com>
7298 According to CLDR, collation rules for Serbian and Bosnian
7299 should be the same as for Croatian.
7302 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
7303 and to the list of locales to be built for testing.
7304 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
7305 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
7306 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
7307 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
7309 2017-11-30 Mike FABIAN <mfabian@redhat.com>
7311 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
7312 to make test case pass.
7313 * localedata/hr_HR.UTF-8.in: Add more test strings.
7315 2017-11-30 Mike FABIAN <mfabian@redhat.com>
7317 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
7319 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
7321 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
7322 the list of locales to built for testing.
7323 * localedata/hr_HR.UTF-8.in: New file.
7325 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
7328 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
7330 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
7331 CLDR (except use ligatures for the digraphs, CLDR does not use
7332 the ligatures), add first_workday, some fixes in the date and time
7334 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
7336 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
7337 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
7338 Add int_p_cs_precedes and int_n_cs_precedes.
7339 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
7340 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
7342 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
7343 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
7345 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
7346 and lang_lib. Change postal_fmt.
7348 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
7350 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
7352 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
7353 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
7354 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
7355 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
7356 * sysdeps/generic/setjmpP.h: New file.
7357 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
7358 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
7359 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
7360 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
7361 Add jmp_buf-ssp.sym.
7362 (tests): Add tst-saved_mask-1.
7364 2017-11-30 Arjun Shankar <arjun@redhat.com>
7368 * malloc/malloc.c (__libc_malloc): Use checked_request2size
7369 instead of request2size.
7371 2017-11-30 Joseph Myers <joseph@codesourcery.com>
7373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
7374 (__lllrint): Remove alias.
7375 (lllrint): Likewise.
7376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
7377 (__lllrintf): Likewise.
7378 (lllrintf): Likewise.
7380 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
7381 <libm-alias-float.h>.
7382 (copysignf): Define using libm_alias_float.
7383 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
7384 <libm-alias-float.h>.
7385 (fabsf): Define using libm_alias_float.
7386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7387 Include <libm-alias-float.h>.
7388 (copysignf): Define using libm_alias_float.
7389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
7390 <libm-alias-float.h>.
7391 (fabsf): Define using libm_alias_float.
7392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
7393 <libm-alias-float.h>.
7394 (fdimf): Define using libm_alias_float.
7395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
7396 <libm-alias-float.h>.
7397 (fmaf): Define using libm_alias_float.
7398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
7399 <libm-alias-float.h>.
7400 (llrintf): Define using libm_alias_float.
7401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
7402 Include <libm-alias-float.h>.
7403 (nearbyintf): Define using libm_alias_float.
7404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
7405 <libm-alias-float.h>.
7406 (rintf): Define using libm_alias_float.
7407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
7408 <libm-alias-float.h>.
7409 (llrintf): Define using libm_alias_float.
7410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
7411 <libm-alias-float.h>.
7412 (lrintf): Define using libm_alias_float.
7413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
7414 <libm-alias-float.h>.
7415 (nearbyintf): Define using libm_alias_float.
7416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
7417 <libm-alias-float.h>.
7418 (rintf): Define using libm_alias_float.
7419 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
7420 <libm-alias-float.h>.
7421 (ceilf): Define using libm_alias_float.
7422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
7423 <libm-alias-float.h>.
7424 (floorf): Define using libm_alias_float.
7425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
7426 <libm-alias-float.h>.
7427 (fmaf): Define using libm_alias_float.
7428 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
7429 <libm-alias-float.h>.
7430 (lrintf): Define using libm_alias_float.
7431 (llrintf): Likewise.
7432 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
7433 <libm-alias-float.h>.
7434 (nearbyintf): Define using libm_alias_float.
7435 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
7436 <libm-alias-float.h>.
7437 (rintf): Define using libm_alias_float.
7438 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
7439 <libm-alias-float.h>.
7440 (truncf): Define using libm_alias_float.
7441 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
7442 <libm-alias-float.h>.
7443 (copysignf): Define using libm_alias_float.
7444 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
7445 <libm-alias-float.h>.
7446 (fabsf): Define using libm_alias_float.
7447 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
7448 <libm-alias-float.h>.
7449 (lrintf): Define using libm_alias_float.
7450 (llrintf): Likewise.
7451 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
7452 <libm-alias-float.h>.
7453 (nearbyintf): Define using libm_alias_float.
7454 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
7455 <libm-alias-float.h>.
7456 (rintf): Define using libm_alias_float.
7458 2017-11-29 Joseph Myers <joseph@codesourcery.com>
7460 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
7461 <libm-alias-double.h>.
7462 (copysign): Define using libm_alias_double.
7463 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
7464 <libm-alias-double.h>.
7465 (fabs): Define using libm_alias_double.
7466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7467 Include <libm-alias-double.h>.
7468 (copysign): Define using libm_alias_double.
7469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
7470 <libm-alias-double.h>.
7471 (fabs): Define using libm_alias_double.
7472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
7473 <libm-alias-double.h>.
7474 (fdim): Define using libm_alias_double.
7475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
7476 <libm-alias-double.h>.
7477 (fma): Define using libm_alias_double.
7478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
7479 <libm-alias-double.h>.
7480 (llrint): Define using libm_alias_double.
7481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
7482 Include <libm-alias-double.h>.
7483 (nearbyint): Define using libm_alias_double.
7484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
7485 <libm-alias-double.h>.
7486 (rint): Define using libm_alias_double.
7487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
7488 <libm-alias-double.h>.
7489 (fabs): Define using libm_alias_double.
7490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
7491 <libm-alias-double.h>.
7492 (llrint): Define using libm_alias_double.
7493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
7494 <libm-alias-double.h>.
7495 (nearbyint): Define using libm_alias_double.
7496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
7497 <libm-alias-double.h>.
7498 (rint): Define using libm_alias_double.
7499 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
7500 <libm-alias-double.h>.
7501 (ceil): Define using libm_alias_double.
7502 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
7503 <libm-alias-double.h>.
7504 (floor): Define using libm_alias_double.
7505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
7506 <libm-alias-double.h>.
7507 (fma): Define using libm_alias_double.
7508 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
7509 <libm-alias-double.h>.
7510 (lrint): Define using libm_alias_double.
7512 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
7513 <libm-alias-double.h>.
7514 (nearbyint): Define using libm_alias_double.
7515 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
7516 <libm-alias-double.h>.
7517 (rint): Define using libm_alias_double.
7518 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
7519 <libm-alias-double.h>.
7520 (trunc): Define using libm_alias_double.
7521 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
7522 <libm-alias-double.h>.
7523 (copysign): Define using libm_alias_double.
7524 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
7525 <libm-alias-double.h>.
7526 (fabs): Define using libm_alias_double.
7527 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
7528 <libm-alias-double.h>.
7529 (lrint): Define using libm_alias_double.
7531 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
7532 <libm-alias-double.h>.
7533 (nearbyint): Define using libm_alias_double.
7534 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
7535 <libm-alias-double.h>.
7536 (rint): Define using libm_alias_double.
7539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
7541 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
7543 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7544 SPARC --disable-multi-arch glibc variants.
7546 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
7547 <libm-alias-float.h>.
7548 (exp2f): Define using libm_alias_float, or libm_alias_float_other
7550 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
7551 <libm-alias-float.h>.
7552 (exp2f): Define using libm_alias_float, or libm_alias_float_other
7554 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
7555 <libm-alias-float.h>.
7556 (exp2f): Define using libm_alias_float, or libm_alias_float_other
7558 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
7559 <libm-alias-float.h>.
7560 (exp2f): Define using libm_alias_float, or libm_alias_float_other
7562 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
7563 <libm-alias-float.h>.
7564 (exp2f): Define using libm_alias_float, or libm_alias_float_other
7566 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
7567 <libm-alias-float.h>.
7568 (ceilf): Define using libm_alias_float.
7569 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
7570 <libm-alias-float.h>.
7571 (floorf): Define using libm_alias_float.
7572 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
7573 <libm-alias-float.h>.
7574 (fmaf): Define using libm_alias_float.
7575 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
7576 <libm-alias-float.h>.
7577 (nearbyintf): Define using libm_alias_float.
7578 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
7579 <libm-alias-float.h>.
7580 (rintf): Define using libm_alias_float.
7581 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
7582 <libm-alias-float.h>.
7583 (truncf): Define using libm_alias_float.
7584 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
7585 (copysignf): Define using libm_alias_float.
7586 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
7587 (cosf): Define using libm_alias_float.
7588 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
7589 (fabsf): Define using libm_alias_float.
7590 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
7591 (fmaxf): Define using libm_alias_float.
7592 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
7593 (fminf): Define using libm_alias_float.
7594 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
7595 (llrintf): Define using libm_alias_float.
7596 [!__ILP32__] (lrintf): Likewise.
7597 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
7598 (sincosf): Define using libm_alias_float.
7599 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
7600 (sinf): Define using libm_alias_float.
7601 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
7602 (lrintf): Define using libm_alias_float.
7604 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
7605 <libm-alias-double.h>.
7606 (atan): Define using libm_alias_double.
7607 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
7608 <libm-alias-double.h>.
7609 (ceil): Define using libm_alias_double.
7610 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
7611 <libm-alias-double.h>.
7612 (floor): Define using libm_alias_double.
7613 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
7614 <libm-alias-double.h>.
7615 (fma): Define using libm_alias_double.
7616 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
7617 <libm-alias-double.h>.
7618 (nearbyint): Define using libm_alias_double.
7619 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
7620 <libm-alias-double.h>.
7621 (rint): Define using libm_alias_double.
7622 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
7623 <libm-alias-double.h>.
7624 (sin): Define using libm_alias_double.
7626 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
7627 <libm-alias-double.h>.
7628 (tan): Define using libm_alias_double.
7629 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
7630 <libm-alias-double.h>.
7631 (trunc): Define using libm_alias_double.
7632 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
7633 (copysign): Define using libm_alias_double.
7634 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
7635 (fabs): Define using libm_alias_double.
7636 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
7637 (fmax): Define using libm_alias_double.
7638 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
7639 (fmin): Define using libm_alias_double.
7640 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
7641 (llrint): Define using libm_alias_double.
7642 [!__ILP32__] (lrint): Likewise.
7643 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
7644 (lrint): Define using libm_alias_double.
7646 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7648 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7649 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
7651 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
7652 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7653 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
7654 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7655 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
7656 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7658 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7659 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
7661 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
7662 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
7663 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
7664 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
7665 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
7666 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7668 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7669 (libm-sysdep_routines): Add s_nearbyint-generic and
7670 s_nearbyintf-generic objects.
7671 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
7672 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
7673 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
7674 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
7675 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
7676 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
7678 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
7679 Add s_finitef-generic and s_finite-generic objects.
7680 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
7681 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
7682 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
7683 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
7684 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
7685 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
7687 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
7688 Add s_isinff-generic and s_isinf-generic objects.
7689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
7690 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
7691 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
7692 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
7693 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
7694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7696 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
7697 Add s_isnanf-generic and s_isnan-generic objects.
7698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
7699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
7700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
7701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
7702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
7703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7705 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
7707 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
7709 (sysdep_routines): Use sysdep_calls as base.
7710 (libm-sysdep_routines): Add generic rule for symbols shared with
7711 libc. Add s_signbit-generic and s_signbitf-generic objects.
7712 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
7713 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
7714 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
7715 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
7716 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
7717 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7719 2017-11-29 Joseph Myers <joseph@codesourcery.com>
7721 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
7722 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
7723 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
7724 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
7725 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
7726 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
7727 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
7728 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
7729 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
7730 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
7731 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
7732 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
7733 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
7735 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
7736 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
7738 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
7739 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
7740 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
7741 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
7742 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
7743 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
7744 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
7745 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
7746 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
7747 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
7749 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
7751 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
7752 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
7753 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
7754 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
7755 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
7756 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
7757 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
7758 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
7759 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
7760 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
7761 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
7762 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
7763 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
7764 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
7765 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
7766 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
7767 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
7768 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
7769 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
7771 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
7772 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
7773 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
7774 * sysdeps/ia64/fpu/w_lgammaf_main.c
7775 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
7776 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
7778 2017-11-28 Mike FABIAN <mfabian@redhat.com>
7779 Alexandre Oliva <aoliva@redhat.com>
7782 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
7783 * localedata/fr_CA.UTF-8.in: New file with test data for backward
7785 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
7787 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
7788 * localedata/locales/de_DE (LC_COLLATE): Likewise.
7789 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
7790 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
7791 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
7792 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
7793 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
7794 instead of “ifdef DIACRIT_BACKWARD”.
7796 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7798 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
7799 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
7800 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7801 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
7802 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
7803 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
7804 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7805 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7806 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7807 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
7809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
7810 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7811 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7812 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
7813 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
7814 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
7815 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
7816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7817 ($(have-as-vis3) == yes): Remove conditional.
7818 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
7820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
7822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
7824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
7826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
7828 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
7829 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
7830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
7831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
7832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
7833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
7834 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
7835 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
7837 2017-11-29 Joseph Myers <joseph@codesourcery.com>
7839 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
7840 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
7841 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
7842 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
7843 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
7844 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
7845 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
7846 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
7847 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
7848 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
7849 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
7850 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
7851 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
7852 libm_alias_double_r.
7853 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
7855 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
7856 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
7857 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
7858 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
7859 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
7860 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
7861 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
7862 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
7863 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
7864 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
7865 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
7867 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
7869 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
7870 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
7871 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
7872 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
7873 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
7874 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
7875 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
7876 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
7877 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
7878 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
7879 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
7880 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
7881 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
7882 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
7883 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
7884 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
7885 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
7886 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
7888 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
7889 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
7890 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
7891 * sysdeps/ia64/fpu/w_lgamma_main.c
7892 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
7893 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
7895 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
7897 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
7898 address of $global$ into %dp register earlier. Use pc-relative
7899 instruction sequence for PIC case.
7901 2017-11-28 Joseph Myers <joseph@codesourcery.com>
7903 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
7904 (asinhf): Define using libm_alias_float.
7905 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
7906 (atanf): Define using libm_alias_float.
7907 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
7908 (cbrtf): Define using libm_alias_float.
7909 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
7910 (ceilf): Define using libm_alias_float.
7911 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
7912 (copysignf): Define using libm_alias_float.
7913 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
7914 (expm1f): Define using libm_alias_float.
7915 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
7916 (fabsf): Define using libm_alias_float.
7917 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
7918 (floorf): Define using libm_alias_float.
7919 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
7920 (fmaxf): Define using libm_alias_float.
7921 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
7922 (fminf): Define using libm_alias_float.
7923 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
7924 (frexpf): Define using libm_alias_float.
7925 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
7926 (llrintf): Define using libm_alias_float.
7927 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
7928 (logbf): Define using libm_alias_float.
7929 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
7930 (lrintf): Define using libm_alias_float.
7931 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
7932 (nearbyintf): Define using libm_alias_float.
7933 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
7934 (remquof): Define using libm_alias_float.
7935 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
7936 (rintf): Define using libm_alias_float.
7937 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
7938 (truncf): Define using libm_alias_float.
7939 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
7940 <libm-alias-float.h>.
7941 (exp2f): Define using libm_alias_float, or libm_alias_float_other
7943 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
7944 <libm-alias-float.h>.
7945 (expf): Define using libm_alias_float, or libm_alias_float_other
7947 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
7948 <libm-alias-float.h>.
7949 (log2f): Define using libm_alias_float, or libm_alias_float_other
7951 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
7952 <libm-alias-float.h>.
7953 (logf): Define using libm_alias_float, or libm_alias_float_other
7955 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
7956 <libm-alias-float.h>.
7957 (powf): Define using libm_alias_float, or libm_alias_float_other
7959 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
7960 <libm-alias-float.h>.
7961 (cosf): Define using libm_alias_float.
7962 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
7963 <libm-alias-float.h>.
7964 (sincosf): Define using libm_alias_float.
7965 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
7966 <libm-alias-float.h>.
7967 (sinf): Define using libm_alias_float.
7968 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
7969 (fmaxf): Define using libm_alias_float.
7970 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
7971 (fminf): Define using libm_alias_float.
7972 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
7973 <libm-alias-float.h>.
7974 (fmaf): Define using libm_alias_float.
7976 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
7977 (asinh): Define using libm_alias_double.
7978 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
7979 (atan): Define using libm_alias_double.
7980 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
7981 (cbrt): Define using libm_alias_double.
7982 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
7983 (ceil): Define using libm_alias_double.
7984 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
7985 (copysign): Define using libm_alias_double.
7986 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
7987 (expm1): Define using libm_alias_double.
7988 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
7989 (fabs): Define using libm_alias_double.
7990 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
7991 (fdim): Define using libm_alias_double.
7992 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
7993 (floor): Define using libm_alias_double.
7994 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
7995 (fmax): Define using libm_alias_double.
7996 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
7997 (fmin): Define using libm_alias_double.
7998 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
7999 (frexp): Define using libm_alias_double.
8000 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
8001 (llrint): Define using libm_alias_double.
8002 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
8003 (logb): Define using libm_alias_double.
8004 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
8005 (lrint): Define using libm_alias_double.
8006 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
8007 (nearbyint): Define using libm_alias_double.
8008 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
8009 (remquo): Define using libm_alias_double.
8010 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
8011 (rint): Define using libm_alias_double.
8012 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
8013 (trunc): Define using libm_alias_double.
8014 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
8015 (fmax): Define using libm_alias_double.
8016 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
8017 (fmin): Define using libm_alias_double.
8018 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
8019 (fma): Define using libm_alias_double.
8021 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
8024 * elf/dl-hwcaps.c (ROUND): Removed.
8025 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
8026 and ELF_NOTE_NEXT_OFFSET.
8027 * elf/dl-load.c (ROUND): Removed.
8028 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
8029 * elf/readelflib.c (ROUND): Removed.
8030 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
8031 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
8032 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
8033 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
8035 2017-11-28 Joseph Myers <joseph@codesourcery.com>
8037 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
8038 [!__fmaf] (fmaf): Define using libm_alias_float.
8040 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
8041 [!__fma] (fma): Define using libm_alias_double.
8042 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
8044 2017-11-28 Mike FABIAN <mfabian@redhat.com>
8047 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
8048 and implement the collation rules for cs from CLDR on top of that.
8049 * Makefile: Add cs_CZ.UTF-8 to test-input.
8050 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
8052 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
8054 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
8056 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
8057 Icarus Sparry <icarus.w.sparry@intel.com>
8059 * benchtests/Makefile:Add BENCHSET to allow subsets of
8060 benchmarks to be run.
8061 * benchtests/README: Add documentation for: Running subsets of
8064 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
8066 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
8067 range of tests names.
8069 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
8070 result from property and remove "max", min" and "mean" from
8071 required properties based on benchtests/bench-skeleton.c.
8073 2017-11-28 Florian Weimer <fweimer@redhat.com>
8076 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
8077 due to Internet requirement.
8078 * posix/Makefile (tests): Remove tst-getaddrinfo4,
8080 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
8082 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8084 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
8085 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
8086 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
8087 (sysdep_routines): Add memset-ultra1.
8088 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
8090 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
8091 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
8092 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
8093 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
8094 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
8095 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
8096 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
8097 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8099 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
8101 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
8102 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
8103 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
8104 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
8105 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
8106 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
8107 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
8109 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
8110 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
8111 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
8112 (sysdep_routines): Add memcpy-ultra1.
8113 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
8114 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
8116 2017-11-28 Joseph Myers <joseph@codesourcery.com>
8118 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
8119 (cfloat_versions): Take function argument without trailing 'f'.
8120 Call libm_alias_float_other.
8121 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
8122 * sysdeps/alpha/fpu/cargf.c: Likewise.
8123 * sysdeps/alpha/fpu/cimagf.c: Likewise.
8124 * sysdeps/alpha/fpu/conjf.c: Likewise.
8125 * sysdeps/alpha/fpu/crealf.c: Likewise.
8126 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
8127 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
8128 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
8129 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
8130 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
8131 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
8132 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
8133 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
8134 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
8135 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
8136 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
8137 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
8138 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
8139 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
8140 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
8141 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
8142 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
8143 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
8144 (clog10f): Use libm_alias_float_other.
8145 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
8146 (ceilf): Define using libm_alias_float.
8147 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
8148 (copysignf): Define using libm_alias_float.
8149 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
8150 (fabsf): Define using libm_alias_float.
8151 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
8152 (floorf): Define using libm_alias_float.
8153 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
8154 (fmaxf): Define using libm_alias_float.
8155 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
8156 (fminf): Define using libm_alias_float.
8157 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
8158 (lrintf): Define using libm_alias_float.
8159 (llrintf): Likewise.
8160 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
8161 (lroundf): Define using libm_alias_float.
8162 (llroundf): Likewise.
8163 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
8164 (rintf): Define using libm_alias_float.
8165 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
8166 (truncf): Define using libm_alias_float.
8168 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
8169 (ceilf): Define using libm_alias_float.
8170 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
8171 (floorf): Define using libm_alias_float.
8172 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
8173 (fmaf): Define using libm_alias_float.
8174 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
8175 (fmaxf): Define using libm_alias_float.
8176 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
8177 (fminf): Define using libm_alias_float.
8178 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
8179 (llrintf): Define using libm_alias_float.
8180 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
8181 (llroundf): Define using libm_alias_float.
8182 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
8183 (lrintf): Define using libm_alias_float.
8184 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
8185 (lroundf): Define using libm_alias_float.
8186 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
8187 <libm-alias-float.h>.
8188 (nearbyintf): Define using libm_alias_float.
8189 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
8190 (rintf): Define using libm_alias_float.
8191 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
8192 (roundf): Define using libm_alias_float.
8193 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
8194 (truncf): Define using libm_alias_float.
8196 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
8197 (ceil): Define using libm_alias_double.
8198 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
8199 (copysign): Define using libm_alias_double.
8200 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
8201 (fabs): Define using libm_alias_double.
8202 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
8203 (floor): Define using libm_alias_double.
8204 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
8205 (fmax): Define using libm_alias_double.
8206 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
8207 (fmin): Define using libm_alias_double.
8208 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
8209 (lrint): Define using libm_alias_double.
8211 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
8212 (lround): Define using libm_alias_double.
8213 (llround): Likewise.
8214 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
8215 (rint): Define using libm_alias_double.
8216 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
8217 (trunc): Define using libm_alias_double.
8219 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
8220 (libm_alias_double_r): Add semicolon after weak_alias call.
8222 2017-11-27 Joseph Myers <joseph@codesourcery.com>
8224 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
8225 (ceil): Define using libm_alias_double.
8226 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
8227 (floor): Define using libm_alias_double.
8228 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
8229 (fma): Define using libm_alias_double.
8230 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
8231 (fmax): Define using libm_alias_double.
8232 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
8233 (fmin): Define using libm_alias_double.
8234 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
8235 (llrint): Define using libm_alias_double.
8236 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
8237 (llround): Define using libm_alias_double.
8238 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
8239 (lrint): Define using libm_alias_double.
8240 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
8241 (lround): Define using libm_alias_double.
8242 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
8243 (nearbyint): Define using libm_alias_double.
8244 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
8245 (rint): Define using libm_alias_double.
8246 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
8247 (round): Define using libm_alias_double.
8248 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
8249 (trunc): Define using libm_alias_double.
8251 2017-11-27 Florian Weimer <fweimer@redhat.com>
8253 * sysdeps/unix/sysv/linux/mlock2.c: New file.
8254 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
8255 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
8256 (tests): Add tst-mlock2.
8257 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
8258 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
8259 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
8260 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
8261 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
8262 for mlock. Document mlock2.
8264 2017-11-27 Joseph Myers <joseph@codesourcery.com>
8266 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
8267 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
8269 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
8271 * sysdeps/x86/Makeconfig: New file.
8272 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
8273 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
8274 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
8275 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
8276 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
8277 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
8278 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
8280 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
8281 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
8282 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
8283 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
8284 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
8285 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
8286 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
8287 * manual/math.texi (Mathematics): Document support for _Float64x.
8288 * math/Versions (GLIBC_2.27): Add _Float64x functions.
8289 * stdlib/Versions (GLIBC_2.27): Likewise.
8290 * wcsmbs/Versions (GLIBC_2.27): Likewise.
8291 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
8292 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8293 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8294 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8295 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8296 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8297 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8298 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8299 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8300 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8301 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8306 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8307 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8308 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8309 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8310 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8311 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8312 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8313 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8314 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8315 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8316 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8317 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8318 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8319 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8321 2017-11-27 Andreas Schwab <schwab@suse.de>
8323 * elf/Makefile (dl-routines): Add dl-sort-maps.
8324 * elf/dl-sort-maps.c: New file.
8325 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
8326 (_dl_sort_maps): Declare.
8327 * elf/dl-fini.c (_dl_sort_fini): Remove.
8328 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
8329 * elf/dl-close.c (_dl_close_worker): Likewise.
8330 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
8332 * elf/dl-open.c (dl_open_worker): Likewise.
8334 2017-11-24 Joseph Myers <joseph@codesourcery.com>
8336 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
8337 using libm_alias_float128.
8338 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
8340 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
8342 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
8343 (setpayloadsigf128): Likewise.
8344 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
8346 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
8349 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
8350 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
8351 -mfloat128 to CFLAGS.
8353 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
8355 (CFLAGS-libm-test-support-float64x.c): New variable.
8356 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
8357 $(f128-loader-link) to gnulib-tests.
8359 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
8360 (libm_alias_float128_other_r): If
8361 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
8363 (libm_alias_float128_r): Add semicolon after weak_alias call.
8364 * sysdeps/generic/libm-alias-ldouble.h
8365 (libm_alias_ldouble_other_r_f128): New macro.
8366 (libm_alias_ldouble_other_r_f64x): Likewise.
8367 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
8368 and libm_alias_ldouble_other_r_f64x.
8369 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
8370 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
8371 (libm_alias_ldouble_other_r_f128): New macro.
8372 (libm_alias_ldouble_other_r_f64x): Likewise.
8373 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
8374 and libm_alias_ldouble_other_r_f64x.
8376 * stdlib/strfroml.c: Always include <stdlib.h>.
8377 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
8378 undefine as macro and define as weak alias.
8379 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
8380 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
8382 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
8383 Define and later undefine as macro and define as weak alias.
8385 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
8386 Define and later undefine as macro. Define as weak alias if
8388 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
8389 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
8390 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
8391 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
8392 Define and later undefine as macro. Define as weak alias if
8394 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
8395 Define and later undefine as macro. Define as weak alias if
8397 * sysdeps/ieee754/float128/strtof128_l.c
8398 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
8399 Define and later undefine as macro. Define as weak alias if
8401 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
8402 Define and later undefine as macro. Define as weak alias if
8404 * sysdeps/ieee754/ldbl-128/strtold_l.c
8405 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
8406 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
8407 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
8408 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
8409 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
8410 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
8411 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
8412 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
8413 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
8414 * sysdeps/ieee754/ldbl-96/strtold_l.c
8415 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
8416 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
8417 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
8418 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
8420 * math/test-float64x.h: New file.
8421 * math/Makefile (type-float64x-yes): New variable.
8422 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
8424 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
8425 function-like macro.
8426 (min_of_type_): Likewise.
8427 (min_of_type_l): Likewise.
8428 (min_of_type_f128): Likewise.
8429 (min_of_type): Pass () as last argument of __MATH_TG.
8431 * stdlib/tst-strtod-round-skeleton.c
8432 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
8435 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
8436 for combinations of long double with _Float64 and _Float64x.
8438 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
8439 (__DECL_SIMD_cosf32): Likewise.
8440 (__DECL_SIMD_cosf64): Likewise.
8441 (__DECL_SIMD_cosf32x): Likewise.
8442 (__DECL_SIMD_cosf64x): Likewise.
8443 (__DECL_SIMD_cosf128x): Likewise.
8444 (__DECL_SIMD_sinf16): Likewise.
8445 (__DECL_SIMD_sinf32): Likewise.
8446 (__DECL_SIMD_sinf64): Likewise.
8447 (__DECL_SIMD_sinf32x): Likewise.
8448 (__DECL_SIMD_sinf64x): Likewise.
8449 (__DECL_SIMD_sinf128x): Likewise.
8450 (__DECL_SIMD_sincosf16): Likewise.
8451 (__DECL_SIMD_sincosf32): Likewise.
8452 (__DECL_SIMD_sincosf64): Likewise.
8453 (__DECL_SIMD_sincosf32x): Likewise.
8454 (__DECL_SIMD_sincosf64x): Likewise.
8455 (__DECL_SIMD_sincosf128x): Likewise.
8456 (__DECL_SIMD_logf16): Likewise.
8457 (__DECL_SIMD_logf32): Likewise.
8458 (__DECL_SIMD_logf64): Likewise.
8459 (__DECL_SIMD_logf32x): Likewise.
8460 (__DECL_SIMD_logf64x): Likewise.
8461 (__DECL_SIMD_logf128x): Likewise.
8462 (__DECL_SIMD_expf16): Likewise.
8463 (__DECL_SIMD_expf32): Likewise.
8464 (__DECL_SIMD_expf64): Likewise.
8465 (__DECL_SIMD_expf32x): Likewise.
8466 (__DECL_SIMD_expf64x): Likewise.
8467 (__DECL_SIMD_expf128x): Likewise.
8468 (__DECL_SIMD_powf16): Likewise.
8469 (__DECL_SIMD_powf32): Likewise.
8470 (__DECL_SIMD_powf64): Likewise.
8471 (__DECL_SIMD_powf32x): Likewise.
8472 (__DECL_SIMD_powf64x): Likewise.
8473 (__DECL_SIMD_powf128x): Likewise.
8475 * stdlib/Versions (libc): Move entries for wcstof128 and
8477 * wcsmbs/Versions (libc): ... here.
8478 Include <float128-abi.h>.
8480 2017-11-24 Florian Weimer <fweimer@redhat.com>
8482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8484 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
8485 <bits/mman-shared.h>.
8486 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
8488 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
8489 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
8490 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8491 <bits/mman-shared.h>.
8493 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8496 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
8497 posix_memalign/free.
8498 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
8500 2017-11-22 Mike FABIAN <mfabian@redhat.com>
8503 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
8504 and implement the collation rules for pl from CLDR on top of that.
8505 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
8506 of locales to be built for testing.
8507 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
8509 2017-11-23 Joseph Myers <joseph@codesourcery.com>
8511 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
8512 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
8513 libm_alias_ldouble_other.
8514 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
8515 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
8516 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
8517 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
8518 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
8519 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
8520 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
8521 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
8522 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
8523 libm_alias_ldouble_r.
8524 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
8525 libm_alias_ldouble_other.
8526 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
8528 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
8529 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
8530 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
8531 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
8532 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
8533 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
8534 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
8536 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
8537 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
8538 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
8540 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
8542 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
8543 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
8544 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
8546 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
8547 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
8548 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
8549 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
8550 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
8551 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
8552 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
8553 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
8554 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
8555 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
8556 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
8558 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
8559 libm_alias_ldouble_other.
8560 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
8561 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
8562 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
8564 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
8565 libm_alias_ldouble_other.
8566 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
8567 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
8568 * sysdeps/ia64/fpu/w_lgammal_main.c
8569 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
8570 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
8572 2017-11-23 Florian Weimer <fweimer@redhat.com>
8574 * malloc/malloc.c (tcache_thread_shutdown): Rename from
8575 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
8576 alike. Remove freeres marker.
8577 * malloc/arena.c (arena_thread_freeres): Call
8578 tcache_thread_shutdown.
8580 2017-11-23 Florian Weimer <fweimer@redhat.com>
8583 Export nscd hash function as __nss_hash.
8584 * include/nss.h (__nss_hash): Declare.
8585 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
8587 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
8588 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
8590 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
8591 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
8592 * nss/Makefiles (routines): Add nss_hash.
8593 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
8594 * nss/nss_hash.c: Rename from nis/nis_hash.c.
8595 (__nss_hash): Rename from __nis_hash. Define hidden alias.
8596 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
8598 2017-11-23 Florian Weimer <fweimer@redhat.com>
8601 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
8602 Return error code, not -1.
8603 * signal/tst-sigwait-eintr.c: New file.
8604 * signal/Makefile (tests): Add tst-sigwait-eintr.
8606 2017-11-23 Florian Weimer <fweimer@redhat.com>
8608 Linux: Add memfd_create system call wrapper
8609 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
8611 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8612 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
8613 [__USE_GNU] (memfd_create): Declare.
8614 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
8615 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
8616 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
8617 * sysdeps/unix/sysv/linux/**.abilist: Update.
8618 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
8620 2017-11-22 Joseph Myers <joseph@codesourcery.com>
8622 * localedata/gen-locale.sh: Fix typo in variable name.
8624 * resolv/res_debug.c (p_secstodate): Condition definition on
8625 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
8626 directly as __p_secstodate, and as a compat symbol. Do not use
8627 libresolv_hidden_def.
8628 * resolv/resolv.h (p_secstodate): Remove macro and function
8630 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
8632 * include/resolv.h (__p_secstodate): Do not use
8633 libresolv_hidden_proto.
8634 * resolv/Makefile (tests): Move tst-p_secstodate to ....
8635 (tests-internal): ... here.
8636 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
8637 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
8638 and declare and use __p_secstodate and use compat_symbol_reference
8640 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
8641 implementation returning 77.
8644 * resolv/res_debug.c: Include <libc-diag.h>.
8645 (p_secstodate): Assert time_t at least as wide as u_long. On
8646 overflow, use integer seconds since the epoch as output, or use
8647 "<overflow>" as output and set errno to EOVERFLOW if integer
8648 seconds since the epoch would be 14 or more characters.
8649 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
8651 * resolv/tst-p_secstodate.c: New file.
8652 * resolv/Makefile (tests): Add tst-p_secstodate.
8653 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
8655 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
8656 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8657 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
8659 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
8661 * posix/regcomp.c (init_word_char): Add comments.
8663 2017-11-22 Joseph Myers <joseph@codesourcery.com>
8666 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
8667 strlen to compute length of ut_user and set trailing NUL byte of
8670 2017-11-21 Mike FABIAN <mfabian@redhat.com>
8673 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
8674 using “copy "iso14651_t1"” and then implementing the
8675 collation rules for lv from CLDR on top of that.
8676 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
8677 of locales to be built for testing.
8678 * lv_LV.UTF-8.in: New file with test data to test the Latvian
8681 2017-11-21 Joseph Myers <joseph@codesourcery.com>
8683 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
8684 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
8685 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
8686 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
8687 [__USE_MISC] (MADV_HWPOISON): New macro.
8688 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
8690 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8692 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
8693 -Wmissing-braces on GCC 4.9.
8695 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
8697 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
8698 * sysdeps/s390/s390-32/start.S (_start): Likewise
8699 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
8700 (thread_start): Likewise.
8701 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
8702 (thread_start): Likewise.
8703 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
8704 (__makecontext_ret): Likewise.
8705 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
8706 (__makecontext_ret): Likewise.
8708 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
8710 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
8711 __wcschrnul): Remove attribute_hidden.
8713 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
8715 regex: don't assume uint64_t or uint32_t
8716 This avoids -Werror=overflow errors for 32-bit systems in
8717 the 64-bit case. Problem reported by Joseph Myers in:
8718 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
8719 Also, when this code is used in Gnulib it ports to platforms
8720 that lack uint64_t and uint32_t. The C standard doesn't guarantee
8721 them, and on some 32-bit compilers there is no uint64_t.
8722 Problem reported by Gianluigi Tiesi in:
8723 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
8724 * posix/regcomp.c (init_word_char): Don't assume that the types
8725 uint64_t and uint32_t exist. Adapted from Gnulib patch
8726 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
8727 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
8729 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
8731 * sysdeps/aarch64/memset-reg.h: New file.
8732 * sysdeps/aarch64/memset.S: Use it.
8733 (__memset): Rename to MEMSET macro.
8734 [ZVA_MACRO]: Use zva_macro.
8735 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
8736 Add memset_generic and memset_falkor.
8737 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8738 (__libc_ifunc_impl_list): Add memset ifuncs.
8739 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
8740 local variable zva_size.
8741 * sysdeps/aarch64/multiarch/memset.c: New file.
8742 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
8743 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
8744 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
8745 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8746 (DCZID_DZP_MASK): New macro.
8747 (DCZID_BS_MASK): Likewise.
8748 (init_cpu_features): Read and set zva_size.
8749 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
8750 (struct cpu_features): New member zva_size.
8752 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
8753 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
8754 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
8756 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
8757 backwards. Fix timing computation.
8758 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
8759 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
8760 on memset by N at a time. Fix timing computation.
8762 2017-11-20 Florian Weimer <fweimer@redhat.com>
8764 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
8765 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
8767 2017-11-19 Florian Weimer <fweimer@redhat.com>
8769 manual: Document mprotect
8770 * manual/memory.texi (Memory Protection): New section.
8771 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
8772 documentation of PROT_* flags and reference the Memory Protection
8775 2017-11-19 Florian Weimer <fweimer@redhat.com>
8777 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
8778 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
8779 (Scatter-Gather): ... to here. Remove misleading comment.
8781 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
8783 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
8786 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
8787 when /proc/<pid>/setgroups does not exist.
8789 2017-11-18 Florian Weimer <fweimer@redhat.com>
8791 * sysdeps/unix/sysv/linux/tst-ttyname.c
8792 (become_root_in_mount_ns): Remove.
8793 (do_in_chroot_1): Call support_enter_mount_namespace.
8794 (do_in_chroot_2): Likewise.
8795 (do_test): Call support_become_root early.
8797 2017-11-18 Florian Weimer <fweimer@redhat.com>
8799 * support/namespace.h (support_enter_mount_namespace): Declare.
8800 * support/support_enter_mount_namespace.c: New file.
8801 * support/Makefile (libsupport-routines): Add
8802 support_enter_mount_namespace.
8804 2017-11-18 Florian Weimer <fweimer@redhat.com>
8806 * support/temp_file.c (support_create_temp_directory): Use
8807 test_dir and do not rely on the presence of the XXXXXX suffix.
8808 * support/temp_file.h (support_create_temp_directory): Update
8810 * support/tst-xreadlink.c (do_test): Adjust.
8811 * support/support_chroot.c (support_chroot_create): Likewise.
8813 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8815 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
8817 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
8820 2017-11-17 Joseph Myers <joseph@codesourcery.com>
8822 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
8823 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
8824 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
8825 (ceill): Define using libm_alias_ldouble.
8826 * sysdeps/x86_64/fpu/s_copysignl.S: Include
8827 <libm-alias-ldouble.h>.
8828 (copysignl): Define using libm_alias_ldouble.
8829 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
8830 (fabsl): Define using libm_alias_ldouble.
8831 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
8832 (floorl): Define using libm_alias_ldouble.
8833 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
8834 (fmaxl): Define using libm_alias_ldouble.
8835 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
8836 (fminl): Define using libm_alias_ldouble.
8837 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
8838 (llrintl): Define using libm_alias_ldouble.
8840 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
8841 <libm-alias-ldouble.h>.
8842 (nearbyintl): Define using libm_alias_ldouble.
8843 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
8844 (truncl): Define using libm_alias_ldouble.
8845 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
8846 <libm-alias-ldouble.h>.
8847 (lrintl): Define using libm_alias_ldouble.
8849 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
8850 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
8851 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
8852 (asinhl): Define using libm_alias_ldouble.
8853 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
8854 (atanl): Define using libm_alias_ldouble.
8855 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
8856 (cbrtl): Define using libm_alias_ldouble.
8857 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
8858 (ceill): Define using libm_alias_ldouble.
8859 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
8860 (copysignl): Define using libm_alias_ldouble.
8861 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
8862 (fabsl): Define using libm_alias_ldouble.
8863 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
8864 (floorl): Define using libm_alias_ldouble.
8865 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
8866 (fmaxl): Define using libm_alias_ldouble.
8867 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
8868 (fminl): Define using libm_alias_ldouble.
8869 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
8870 (frexpl): Define using libm_alias_ldouble.
8871 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
8872 (llrintl): Define using libm_alias_ldouble.
8873 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
8874 (logbl): Define using libm_alias_ldouble.
8875 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
8876 (lrintl): Define using libm_alias_ldouble.
8877 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
8878 (nearbyintl): Define using libm_alias_ldouble.
8879 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
8880 (nextafterl): Define using libm_alias_ldouble.
8881 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
8882 (remquol): Define using libm_alias_ldouble.
8883 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
8884 (rintl): Define using libm_alias_ldouble.
8885 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
8886 (truncl): Define using libm_alias_ldouble.
8887 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
8888 (fmaxl): Define using libm_alias_ldouble.
8889 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
8890 (fminl): Define using libm_alias_ldouble.
8892 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
8893 to C syntax instead of availability and properties of types.
8894 * bits/floatn.h [!__ASSEMBLER]: Likewise.
8895 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
8896 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
8897 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
8898 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
8899 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
8901 2017-11-17 Florian Weimer <fweimer@redhat.com>
8903 support_become_root: Enable file creation in namespaces.
8904 * support/support_become_root.c (setup_mapping): New function.
8905 (support_become_root): Call it.
8907 2017-11-17 Joseph Myers <joseph@codesourcery.com>
8909 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
8912 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8914 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
8915 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
8917 2017-11-16 Joseph Myers <joseph@codesourcery.com>
8919 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
8921 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8924 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8926 * INSTALL: Fix botched up regeneration.
8928 * NEWS: Update sourceare link to https.
8929 * configure.ac: Likewise.
8930 * crypt/md5test-giant.c: Likewise.
8931 * dlfcn/bug-atexit1.c: Likewise.
8932 * dlfcn/bug-atexit2.c: Likewise.
8933 * localedata/README: Likewise.
8934 * malloc/tst-mallocfork.c: Likewise.
8935 * manual/install.texi: Likewise.
8936 * nptl/tst-pthread-getattr.c: Likewise.
8937 * stdio-common/tst-fgets.c: Likewise.
8938 * stdio-common/tst-fwrite.c: Likewise.
8939 * sunrpc/Makefile: Likewise.
8940 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
8941 * wcsmbs/tst-mbrtowc2.c: Likewise.
8942 * configure: Regenerate.
8943 * INSTALL: Regenerate.
8945 2017-11-15 Martin Sebor <msebor@redhat.com>
8947 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
8948 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
8949 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
8951 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
8954 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
8955 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
8958 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
8959 Defer is_pty check until end of the function.
8960 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8963 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
8964 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
8965 (ttyname): Likewise.
8966 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
8967 (__ttyname_r): Likewise.
8969 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
8972 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
8974 * manual/terminal.texi (Is It a Terminal):
8975 Mention ENODEV for ttyname and ttyname_r.
8977 2017-11-15 Joseph Myers <joseph@codesourcery.com>
8979 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
8982 * sysdeps/unix/sysv/linux/bits/mman-linux.h
8983 [__USE_MISC] (MADV_WIPEONFORK): New macro.
8984 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8985 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
8986 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8987 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8989 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8991 * signal/sigrelse.c (sigrelse): Optimize implementation.
8993 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
8994 (__sigpause): Rely on __sigsuspend to implement single thread
8995 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
8997 2017-11-15 Joseph Myers <joseph@codesourcery.com>
8999 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9000 kernel version to 4.14.
9002 2017-11-15 Steve Ellcey <sellcey@cavium.com>
9005 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
9006 Check if ifname is too long.
9008 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
9010 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
9012 2017-11-15 Mike FABIAN <mfabian@redhat.com>
9014 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
9015 was accidentally lost.
9017 2017-11-15 Mike FABIAN <mfabian@redhat.com>
9019 * localedata/locales/az_IR: Add standard copyright header.
9021 2017-11-15 Florian Weimer <fweimer@redhat.com>
9024 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
9025 not just the top one. Output a new "subheaps" statistic.
9027 2017-11-15 Florian Weimer <fweimer@redhat.com>
9030 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
9031 under the per-arena lock.
9032 * malloc/Makefile (tests): Add tst-malloc_info.
9033 (tst-malloc_info): Link with libpthread.
9034 * malloc/tst-malloc_info.c: New file.
9036 2017-11-15 Joseph Myers <joseph@codesourcery.com>
9039 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
9040 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
9041 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
9042 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
9043 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
9044 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
9045 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
9046 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
9047 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
9048 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
9049 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
9050 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
9051 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
9052 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
9053 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
9054 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
9055 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
9056 (__floating_type): Likewise.
9057 (__real_integer_type): Likewise.
9058 (__complex_integer_type): Likewise.
9059 (__expr_is_real): Likewise.
9060 (__tgmath_real_type_sub): Likewise.
9061 (__tgmath_real_type): Likewise.
9062 (__tgmath_complex_type_sub): Likewise.
9063 (__tgmath_complex_type): Likewise.
9064 (__TGMATH_F128): Likewise.
9065 (__TGMATH_CF128): Likewise.
9066 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
9068 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
9069 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
9071 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
9073 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
9074 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
9075 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
9076 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
9078 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
9079 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
9081 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
9082 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
9083 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
9085 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
9086 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
9087 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
9091 2017-11-14 Joseph Myers <joseph@codesourcery.com>
9093 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
9094 for stpncpy calls for GCC 8.
9095 (test_strncat): Disable -Wstringop-truncation warning for strncat
9096 calls for GCC 8. Disable -Wstringop-overflow= warning for one
9097 strncat call for GCC 7.
9098 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
9100 (test_memcmp): Use memcpy instead of strncpy for calls not copying
9103 * string/bug-strncat1.c: Include <libc-diag.h>.
9104 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
9106 2017-11-13 Claude Paroz <claude@2xlibre.net>
9109 * localedata/locales/aa_DJ: Improved readibility by replacing
9110 <Uxxxx> sequences in the ASCII printable range by their ASCII
9111 character equivalents.
9112 * localedata/locales/aa_ER: Likewise.
9113 * localedata/locales/aa_ER@saaho: Likewise.
9114 * localedata/locales/aa_ET: Likewise.
9115 * localedata/locales/af_ZA: Likewise.
9116 * localedata/locales/agr_PE: Likewise.
9117 * localedata/locales/ak_GH: Likewise.
9118 * localedata/locales/am_ET: Likewise.
9119 * localedata/locales/anp_IN: Likewise.
9120 * localedata/locales/ar_AE: Likewise.
9121 * localedata/locales/ar_BH: Likewise.
9122 * localedata/locales/ar_DZ: Likewise.
9123 * localedata/locales/ar_EG: Likewise.
9124 * localedata/locales/ar_IN: Likewise.
9125 * localedata/locales/ar_IQ: Likewise.
9126 * localedata/locales/ar_JO: Likewise.
9127 * localedata/locales/ar_KW: Likewise.
9128 * localedata/locales/ar_LB: Likewise.
9129 * localedata/locales/ar_LY: Likewise.
9130 * localedata/locales/ar_MA: Likewise.
9131 * localedata/locales/ar_OM: Likewise.
9132 * localedata/locales/ar_QA: Likewise.
9133 * localedata/locales/ar_SA: Likewise.
9134 * localedata/locales/ar_SD: Likewise.
9135 * localedata/locales/ar_SS: Likewise.
9136 * localedata/locales/ar_SY: Likewise.
9137 * localedata/locales/ar_TN: Likewise.
9138 * localedata/locales/ar_YE: Likewise.
9139 * localedata/locales/as_IN: Likewise.
9140 * localedata/locales/ast_ES: Likewise.
9141 * localedata/locales/ayc_PE: Likewise.
9142 * localedata/locales/az_AZ: Likewise.
9143 * localedata/locales/az_IR: Likewise.
9144 * localedata/locales/be_BY: Likewise.
9145 * localedata/locales/be_BY@latin: Likewise.
9146 * localedata/locales/bem_ZM: Likewise.
9147 * localedata/locales/ber_DZ: Likewise.
9148 * localedata/locales/ber_MA: Likewise.
9149 * localedata/locales/bg_BG: Likewise.
9150 * localedata/locales/bhb_IN: Likewise.
9151 * localedata/locales/bho_IN: Likewise.
9152 * localedata/locales/bi_VU: Likewise.
9153 * localedata/locales/bn_BD: Likewise.
9154 * localedata/locales/bn_IN: Likewise.
9155 * localedata/locales/bo_CN: Likewise.
9156 * localedata/locales/bo_IN: Likewise.
9157 * localedata/locales/br_FR: Likewise.
9158 * localedata/locales/brx_IN: Likewise.
9159 * localedata/locales/bs_BA: Likewise.
9160 * localedata/locales/byn_ER: Likewise.
9161 * localedata/locales/ca_AD: Likewise.
9162 * localedata/locales/ca_ES: Likewise.
9163 * localedata/locales/ca_FR: Likewise.
9164 * localedata/locales/ca_IT: Likewise.
9165 * localedata/locales/ce_RU: Likewise.
9166 * localedata/locales/chr_US: Likewise.
9167 * localedata/locales/cmn_TW: Likewise.
9168 * localedata/locales/crh_UA: Likewise.
9169 * localedata/locales/cs_CZ: Likewise.
9170 * localedata/locales/csb_PL: Likewise.
9171 * localedata/locales/cv_RU: Likewise.
9172 * localedata/locales/cy_GB: Likewise.
9173 * localedata/locales/da_DK: Likewise.
9174 * localedata/locales/de_AT: Likewise.
9175 * localedata/locales/de_BE: Likewise.
9176 * localedata/locales/de_CH: Likewise.
9177 * localedata/locales/de_DE: Likewise.
9178 * localedata/locales/de_IT: Likewise.
9179 * localedata/locales/de_LI: Likewise.
9180 * localedata/locales/de_LU: Likewise.
9181 * localedata/locales/doi_IN: Likewise.
9182 * localedata/locales/dv_MV: Likewise.
9183 * localedata/locales/dz_BT: Likewise.
9184 * localedata/locales/el_CY: Likewise.
9185 * localedata/locales/el_GR: Likewise.
9186 * localedata/locales/en_AG: Likewise.
9187 * localedata/locales/en_AU: Likewise.
9188 * localedata/locales/en_BW: Likewise.
9189 * localedata/locales/en_CA: Likewise.
9190 * localedata/locales/en_DK: Likewise.
9191 * localedata/locales/en_GB: Likewise.
9192 * localedata/locales/en_HK: Likewise.
9193 * localedata/locales/en_IE: Likewise.
9194 * localedata/locales/en_IL: Likewise.
9195 * localedata/locales/en_IN: Likewise.
9196 * localedata/locales/en_NG: Likewise.
9197 * localedata/locales/en_NZ: Likewise.
9198 * localedata/locales/en_PH: Likewise.
9199 * localedata/locales/en_SG: Likewise.
9200 * localedata/locales/en_US: Likewise.
9201 * localedata/locales/en_ZA: Likewise.
9202 * localedata/locales/en_ZM: Likewise.
9203 * localedata/locales/en_ZW: Likewise.
9204 * localedata/locales/eo: Likewise.
9205 * localedata/locales/es_AR: Likewise.
9206 * localedata/locales/es_BO: Likewise.
9207 * localedata/locales/es_CL: Likewise.
9208 * localedata/locales/es_CO: Likewise.
9209 * localedata/locales/es_CR: Likewise.
9210 * localedata/locales/es_CU: Likewise.
9211 * localedata/locales/es_DO: Likewise.
9212 * localedata/locales/es_EC: Likewise.
9213 * localedata/locales/es_ES: Likewise.
9214 * localedata/locales/es_GT: Likewise.
9215 * localedata/locales/es_HN: Likewise.
9216 * localedata/locales/es_MX: Likewise.
9217 * localedata/locales/es_NI: Likewise.
9218 * localedata/locales/es_PA: Likewise.
9219 * localedata/locales/es_PE: Likewise.
9220 * localedata/locales/es_PR: Likewise.
9221 * localedata/locales/es_PY: Likewise.
9222 * localedata/locales/es_SV: Likewise.
9223 * localedata/locales/es_US: Likewise.
9224 * localedata/locales/es_UY: Likewise.
9225 * localedata/locales/es_VE: Likewise.
9226 * localedata/locales/et_EE: Likewise.
9227 * localedata/locales/eu_ES: Likewise.
9228 * localedata/locales/eu_ES@euro: Likewise.
9229 * localedata/locales/fa_IR: Likewise.
9230 * localedata/locales/ff_SN: Likewise.
9231 * localedata/locales/fi_FI: Likewise.
9232 * localedata/locales/fil_PH: Likewise.
9233 * localedata/locales/fo_FO: Likewise.
9234 * localedata/locales/fr_BE: Likewise.
9235 * localedata/locales/fr_CA: Likewise.
9236 * localedata/locales/fr_CH: Likewise.
9237 * localedata/locales/fr_FR: Likewise.
9238 * localedata/locales/fr_LU: Likewise.
9239 * localedata/locales/fur_IT: Likewise.
9240 * localedata/locales/fy_DE: Likewise.
9241 * localedata/locales/fy_NL: Likewise.
9242 * localedata/locales/ga_IE: Likewise.
9243 * localedata/locales/gd_GB: Likewise.
9244 * localedata/locales/gez_ER: Likewise.
9245 * localedata/locales/gez_ET: Likewise.
9246 * localedata/locales/gl_ES: Likewise.
9247 * localedata/locales/gu_IN: Likewise.
9248 * localedata/locales/gv_GB: Likewise.
9249 * localedata/locales/ha_NG: Likewise.
9250 * localedata/locales/hak_TW: Likewise.
9251 * localedata/locales/he_IL: Likewise.
9252 * localedata/locales/hi_IN: Likewise.
9253 * localedata/locales/hif_FJ: Likewise.
9254 * localedata/locales/hne_IN: Likewise.
9255 * localedata/locales/hr_HR: Likewise.
9256 * localedata/locales/hsb_DE: Likewise.
9257 * localedata/locales/ht_HT: Likewise.
9258 * localedata/locales/hu_HU: Likewise.
9259 * localedata/locales/hy_AM: Likewise.
9260 * localedata/locales/i18n: Likewise.
9261 * localedata/locales/ia_FR: Likewise.
9262 * localedata/locales/id_ID: Likewise.
9263 * localedata/locales/ig_NG: Likewise.
9264 * localedata/locales/ik_CA: Likewise.
9265 * localedata/locales/is_IS: Likewise.
9266 * localedata/locales/it_CH: Likewise.
9267 * localedata/locales/it_IT: Likewise.
9268 * localedata/locales/iu_CA: Likewise.
9269 * localedata/locales/ja_JP: Likewise.
9270 * localedata/locales/ka_GE: Likewise.
9271 * localedata/locales/kk_KZ: Likewise.
9272 * localedata/locales/kl_GL: Likewise.
9273 * localedata/locales/kn_IN: Likewise.
9274 * localedata/locales/ko_KR: Likewise.
9275 * localedata/locales/kok_IN: Likewise.
9276 * localedata/locales/ks_IN: Likewise.
9277 * localedata/locales/ks_IN@devanagari: Likewise.
9278 * localedata/locales/ku_TR: Likewise.
9279 * localedata/locales/kw_GB: Likewise.
9280 * localedata/locales/ky_KG: Likewise.
9281 * localedata/locales/lb_LU: Likewise.
9282 * localedata/locales/lg_UG: Likewise.
9283 * localedata/locales/li_BE: Likewise.
9284 * localedata/locales/li_NL: Likewise.
9285 * localedata/locales/lij_IT: Likewise.
9286 * localedata/locales/ln_CD: Likewise.
9287 * localedata/locales/lo_LA: Likewise.
9288 * localedata/locales/lt_LT: Likewise.
9289 * localedata/locales/lv_LV: Likewise.
9290 * localedata/locales/lzh_TW: Likewise.
9291 * localedata/locales/mag_IN: Likewise.
9292 * localedata/locales/mai_IN: Likewise.
9293 * localedata/locales/mg_MG: Likewise.
9294 * localedata/locales/mhr_RU: Likewise.
9295 * localedata/locales/mi_NZ: Likewise.
9296 * localedata/locales/mk_MK: Likewise.
9297 * localedata/locales/ml_IN: Likewise.
9298 * localedata/locales/mn_MN: Likewise.
9299 * localedata/locales/mni_IN: Likewise.
9300 * localedata/locales/mr_IN: Likewise.
9301 * localedata/locales/ms_MY: Likewise.
9302 * localedata/locales/mt_MT: Likewise.
9303 * localedata/locales/my_MM: Likewise.
9304 * localedata/locales/nan_TW: Likewise.
9305 * localedata/locales/nan_TW@latin: Likewise.
9306 * localedata/locales/nb_NO: Likewise.
9307 * localedata/locales/nds_DE: Likewise.
9308 * localedata/locales/nds_NL: Likewise.
9309 * localedata/locales/ne_NP: Likewise.
9310 * localedata/locales/nhn_MX: Likewise.
9311 * localedata/locales/niu_NU: Likewise.
9312 * localedata/locales/niu_NZ: Likewise.
9313 * localedata/locales/nl_AW: Likewise.
9314 * localedata/locales/nl_BE: Likewise.
9315 * localedata/locales/nl_NL: Likewise.
9316 * localedata/locales/nn_NO: Likewise.
9317 * localedata/locales/nr_ZA: Likewise.
9318 * localedata/locales/nso_ZA: Likewise.
9319 * localedata/locales/oc_FR: Likewise.
9320 * localedata/locales/om_ET: Likewise.
9321 * localedata/locales/om_KE: Likewise.
9322 * localedata/locales/or_IN: Likewise.
9323 * localedata/locales/os_RU: Likewise.
9324 * localedata/locales/pa_IN: Likewise.
9325 * localedata/locales/pa_PK: Likewise.
9326 * localedata/locales/pap_AW: Likewise.
9327 * localedata/locales/pap_CW: Likewise.
9328 * localedata/locales/pl_PL: Likewise.
9329 * localedata/locales/ps_AF: Likewise.
9330 * localedata/locales/pt_BR: Likewise.
9331 * localedata/locales/pt_PT: Likewise.
9332 * localedata/locales/quz_PE: Likewise.
9333 * localedata/locales/raj_IN: Likewise.
9334 * localedata/locales/ro_RO: Likewise.
9335 * localedata/locales/ru_RU: Likewise.
9336 * localedata/locales/ru_UA: Likewise.
9337 * localedata/locales/rw_RW: Likewise.
9338 * localedata/locales/sa_IN: Likewise.
9339 * localedata/locales/sat_IN: Likewise.
9340 * localedata/locales/sc_IT: Likewise.
9341 * localedata/locales/sd_IN: Likewise.
9342 * localedata/locales/sd_IN@devanagari: Likewise.
9343 * localedata/locales/se_NO: Likewise.
9344 * localedata/locales/sgs_LT: Likewise.
9345 * localedata/locales/shs_CA: Likewise.
9346 * localedata/locales/si_LK: Likewise.
9347 * localedata/locales/sid_ET: Likewise.
9348 * localedata/locales/sk_SK: Likewise.
9349 * localedata/locales/sl_SI: Likewise.
9350 * localedata/locales/sm_WS: Likewise.
9351 * localedata/locales/so_DJ: Likewise.
9352 * localedata/locales/so_ET: Likewise.
9353 * localedata/locales/so_KE: Likewise.
9354 * localedata/locales/so_SO: Likewise.
9355 * localedata/locales/sq_AL: Likewise.
9356 * localedata/locales/sq_MK: Likewise.
9357 * localedata/locales/sr_ME: Likewise.
9358 * localedata/locales/sr_RS: Likewise.
9359 * localedata/locales/sr_RS@latin: Likewise.
9360 * localedata/locales/ss_ZA: Likewise.
9361 * localedata/locales/st_ZA: Likewise.
9362 * localedata/locales/sv_FI: Likewise.
9363 * localedata/locales/sv_SE: Likewise.
9364 * localedata/locales/sw_KE: Likewise.
9365 * localedata/locales/sw_TZ: Likewise.
9366 * localedata/locales/szl_PL: Likewise.
9367 * localedata/locales/ta_IN: Likewise.
9368 * localedata/locales/ta_LK: Likewise.
9369 * localedata/locales/tcy_IN: Likewise.
9370 * localedata/locales/te_IN: Likewise.
9371 * localedata/locales/tg_TJ: Likewise.
9372 * localedata/locales/th_TH: Likewise.
9373 * localedata/locales/the_NP: Likewise.
9374 * localedata/locales/ti_ER: Likewise.
9375 * localedata/locales/ti_ET: Likewise.
9376 * localedata/locales/tig_ER: Likewise.
9377 * localedata/locales/tk_TM: Likewise.
9378 * localedata/locales/tl_PH: Likewise.
9379 * localedata/locales/tn_ZA: Likewise.
9380 * localedata/locales/to_TO: Likewise.
9381 * localedata/locales/tpi_PG: Likewise.
9382 * localedata/locales/tr_CY: Likewise.
9383 * localedata/locales/tr_TR: Likewise.
9384 * localedata/locales/ts_ZA: Likewise.
9385 * localedata/locales/tt_RU: Likewise.
9386 * localedata/locales/tt_RU@iqtelif: Likewise.
9387 * localedata/locales/ug_CN: Likewise.
9388 * localedata/locales/uk_UA: Likewise.
9389 * localedata/locales/unm_US: Likewise.
9390 * localedata/locales/ur_IN: Likewise.
9391 * localedata/locales/ur_PK: Likewise.
9392 * localedata/locales/uz_UZ: Likewise.
9393 * localedata/locales/uz_UZ@cyrillic: Likewise.
9394 * localedata/locales/ve_ZA: Likewise.
9395 * localedata/locales/vi_VN: Likewise.
9396 * localedata/locales/wa_BE: Likewise.
9397 * localedata/locales/wae_CH: Likewise.
9398 * localedata/locales/wal_ET: Likewise.
9399 * localedata/locales/wo_SN: Likewise.
9400 * localedata/locales/xh_ZA: Likewise.
9401 * localedata/locales/yi_US: Likewise.
9402 * localedata/locales/yo_NG: Likewise.
9403 * localedata/locales/yue_HK: Likewise.
9404 * localedata/locales/yuw_PG: Likewise.
9405 * localedata/locales/zh_CN: Likewise.
9406 * localedata/locales/zh_HK: Likewise.
9407 * localedata/locales/zh_SG: Likewise.
9408 * localedata/locales/zh_TW: Likewise.
9409 * localedata/locales/zu_ZA: Likewise.
9411 2017-11-13 Florian Weimer <fweimer@redhat.com>
9413 * support/next_to_fault.h, support/next_to_fault.c: New files.
9414 * support/Makefile (libsupport-routines): Add next_to_fault.
9415 * resolv/tst-inet_pton.c (struct next_to_fault)
9416 (next_to_fault_allocate, next_to_fault_free): Remove.
9417 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
9419 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
9421 * elf/dl-support.c: Include <dl-procruntime.c>.
9422 * include/link.h: Include <link_map.h>.
9423 * sysdeps/generic/dl-procruntime.c: New file.
9424 * sysdeps/generic/link_map.h: Likewise.
9425 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
9426 the writable ld.so namespace.
9428 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
9430 timezone: pacify GCC -Wstringop-truncation
9431 Problem reported by Martin Sebor in:
9432 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
9433 * timezone/zic.c (writezone): Use memcpy, not strncpy.
9435 2017-11-12 Florian Weimer <fweimer@redhat.com>
9437 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
9439 (tests): Add tst-xreadlink.
9440 * support/support.h (xstrndup): Declare.
9441 * support/xunistd.h (xunlink, xreadlink): Declare.
9442 * support/temp_file.h (support_create_temp_directory): Declare.
9443 * support/temp_file.c (support_create_temp_directory): New function.
9444 * support/support_chroot.c (support_chroot_create): Use it.
9445 * support/xreadlink.c: New file.
9446 * support/xstrndup.c: Likewise.
9447 * support/xunlink.c: Likewise.
9448 * support/tst-xreadlink.c: Likewise.
9450 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
9452 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
9454 2017-11-11 Florian Weimer <fweimer@redhat.com>
9458 * resolv/res_comp.c (printable_string, binary_hnok)
9459 (binary_leading_dash): New functions.
9460 (res_hnok): Reimplement using these functions and ns_name_pton.
9461 (res_ownok): Likewise.
9462 (res_mailok): Reimplement using printable_string, ns_name_pton and
9464 (res_dnok): Reimplement using printable_string and ns_name_pton.
9465 * resolv/tst-res_hnok.c (tests): Add additional tests.
9466 (LETTERDIGITS, PRINTABLE): Define.
9467 (do_test): Adjust one_char results.
9469 2017-11-11 Florian Weimer <fweimer@redhat.com>
9472 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
9473 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
9475 2017-11-11 Florian Weimer <fweimer@redhat.com>
9477 * resolv/tst-ns_name_pton.c: New file.
9478 * resolv/Makefile (tests): Add tst-ns_name_pton.
9479 (tst-ns_name_pton): Link against libresolv.
9481 2017-11-11 Florian Weimer <fweimer@redhat.com>
9483 * resolv/tst-res_hnok.c: New file.
9484 * resolv/Makefile (tests): Add tst-res_hnok.
9485 (tst-res_hnok): Link against libresolv.
9487 2017-11-11 Florian Weimer <fweimer@redhat.com>
9489 * resolv/tst-resolv-network.c: Use test framework instead explicit
9492 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
9494 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
9496 [!_ISOMAC] (STR_HELPER): New.
9497 [!_ISOMAC] (STR): Likewise.
9498 [!_ISOMAC] (TEST_SIZE): Likewise.
9499 [!_ISOMAC] (TEST_ALIGN): Likewise.
9500 [!_ISOMAC] (TEST_OFFSET): Likewise.
9501 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
9502 field offsets of jmp_buf as well as sigjmp_buf.
9503 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
9504 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
9505 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
9506 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
9507 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
9508 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
9509 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
9510 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
9511 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
9512 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
9514 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
9516 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
9517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
9519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
9521 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
9522 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
9523 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
9524 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
9525 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
9526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
9528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
9530 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
9531 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
9532 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
9534 2017-11-07 Joseph Myers <joseph@codesourcery.com>
9537 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9538 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
9539 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9540 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
9541 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9542 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
9543 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9544 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
9545 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9546 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
9547 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9548 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
9549 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9550 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
9551 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9552 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
9553 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9554 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
9555 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9556 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
9557 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9558 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
9559 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9560 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
9561 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9562 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
9563 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9564 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
9565 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9566 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
9567 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9568 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
9569 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9570 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
9571 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9572 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
9573 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9574 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
9575 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9576 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
9577 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9578 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
9579 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9580 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
9581 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9582 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
9583 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9584 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
9585 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9586 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
9587 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9588 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
9589 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9590 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
9591 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9592 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
9593 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9594 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
9595 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9596 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
9597 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9598 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
9599 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9600 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
9601 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9602 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
9603 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9604 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
9605 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9606 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
9607 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9608 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
9609 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9610 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
9611 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9612 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
9613 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9614 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
9615 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9616 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
9617 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9618 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
9619 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9620 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
9621 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9622 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
9623 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9624 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
9626 * stdlib/tst-strtod.h (F16): New macro.
9632 (IF_FLOAT16): Likewise.
9633 (IF_FLOAT32): Likewise.
9634 (IF_FLOAT64): Likewise.
9635 (IF_FLOAT32X): Likewise.
9636 (IF_FLOAT64X): Likewise.
9637 (IF_FLOAT128X): Likewise.
9638 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
9639 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
9640 (STRTOD_TEST_FOREACH): Likewise.
9641 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
9642 (CHOOSE_f64): Likewise.
9643 (CHOOSE_f32x): Likewise.
9644 (CHOOSE_f64x): Likewise.
9646 2017-11-07 Andreas Schwab <schwab@suse.de>
9648 * nptl/Makefile (tests-internal): Remove tst-typesizes.
9650 2017-11-07 Mike FABIAN <mfabian@redhat.com>
9653 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
9655 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
9658 2017-11-07 Claude Paroz <claude@2xlibre.net>
9661 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
9663 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
9665 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
9668 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9671 * nptl/allocatestack.c (allocate_stack): Check if
9672 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
9673 __PTHREAD_MUTEX_HAVE_PREV is defined.
9674 * nptl/descr.h (pthread): Likewise.
9675 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9677 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
9678 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9679 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
9680 * sysdeps/nptl/bits/thread-shared-types.h
9681 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
9683 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
9684 of __WORDSIZE for internal layout.
9685 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
9686 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
9687 instead of __WORDSIZE whether to use an union for __spins and __list
9689 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
9691 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
9692 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
9694 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
9695 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9697 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
9698 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9700 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
9701 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9703 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
9704 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9706 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
9707 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9709 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
9710 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9712 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
9713 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9715 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
9716 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9718 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
9719 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9721 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
9722 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9724 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
9725 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9727 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
9728 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9730 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
9731 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9733 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
9734 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9737 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
9739 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
9740 checks for expected input type size.
9741 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9742 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9744 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9745 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
9746 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9747 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
9748 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
9749 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
9750 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
9751 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
9752 superflous runtime assert check.
9753 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
9755 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
9757 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
9759 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
9761 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
9763 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
9765 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
9766 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
9767 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
9769 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
9771 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9773 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
9775 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
9777 * nptl/pthread_attr_setinheritsched.c
9778 (__pthread_attr_setinheritsched): Likewise.
9779 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
9781 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
9783 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
9784 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
9785 __old_pthread_attr_setstack): Likewise.
9786 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
9788 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
9790 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
9792 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
9793 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9795 * nptl/tst-typesizes.c: Remove file.
9797 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
9798 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
9799 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
9800 checks for internal pthread_mutex_t offsets.
9801 * sysdeps/aarch64/nptl/pthread-offsets.h
9802 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
9803 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
9804 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
9805 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
9806 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
9807 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
9808 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
9809 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
9810 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
9811 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
9812 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
9813 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
9814 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
9815 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
9816 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
9817 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
9818 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
9819 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
9821 2017-11-07 Florian Weimer <fweimer@redhat.com>
9823 * bits/mman-linux.h: Move ...
9824 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
9826 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
9829 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9831 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
9832 Redefine STRNLEN as __strnlen_power8.
9834 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9836 * signal/sighold.c (sighold): Optimize implementation.
9838 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
9839 __NR_rt_sigqueueinfo.
9841 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
9843 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
9844 assume __NR_rt_sigtimedwait.
9845 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
9846 and add LIBC_CANCEL_HANDLED for cancellation marking.
9847 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9849 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
9850 (sysdeps_routines): Add memchr_noneon.
9851 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
9852 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
9853 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
9854 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
9855 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
9856 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
9857 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
9859 * sysdeps/arm/arm-ifunc.h: New file.
9860 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
9861 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
9862 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
9863 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
9864 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
9865 (__memcpy_neon): Avoid create hidden alias.
9866 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
9867 (__memcpy_vfp): Likewise.
9868 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
9869 (sysdep_routines): Add memcpy_arm.
9870 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
9872 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
9875 * Makerules (make-link-multidir): New.
9876 * config.make.in (multidir): New.
9877 * configure.ac (libc_cv_multidir): New. AC_SUBST.
9878 * configure: Regenerated.
9879 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
9880 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
9881 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
9884 2017-11-06 Joseph Myers <joseph@codesourcery.com>
9887 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
9888 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
9890 2017-11-04 Mike FABIAN <mfabian@redhat.com>
9892 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
9895 2017-11-04 Florian Weimer <fweimer@redhat.com>
9897 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
9899 2017-11-03 Joseph Myers <joseph@codesourcery.com>
9901 * math/math.h [__HAVE_DISTINCT_FLOAT16
9902 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
9903 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
9904 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
9905 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
9906 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
9907 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
9908 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
9909 (__MATH_TG_F32): New macro.
9910 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
9911 (__MATH_TG_F64X): Likewise.
9912 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
9913 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
9915 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
9917 * po/de.po: Update translations.
9918 * po/ru.po: Likewise.
9920 2017-11-03 Florian Weimer <fweimer@redhat.com>
9922 * manual/filesys.texi (Hard Links): Document linkat.
9924 2017-11-03 Joseph Myers <joseph@codesourcery.com>
9926 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
9927 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
9928 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
9929 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
9930 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
9931 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
9932 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
9933 the same as _Float128.
9934 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
9935 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
9936 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
9939 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
9941 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
9943 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
9945 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9946 (strtof32x): Likewise.
9947 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9948 (strtof64x): Likewise.
9949 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9950 (strtof128x): Likewise.
9951 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9952 (strfromf16): Likewise.
9953 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9954 (strfromf32): Likewise.
9955 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9956 (strfromf64): Likewise.
9957 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9958 (strfromf32x): Likewise.
9959 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9960 (strfromf64x): Likewise.
9961 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9962 (strfromf128x): Likewise.
9963 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
9964 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
9965 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
9966 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
9967 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
9968 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
9970 2017-11-03 Richard Henderson <rth@twiddle.net>
9972 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
9974 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9976 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
9978 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9980 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
9981 DT_TLSDESC_GOT initialization.
9982 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
9983 (_dl_tlsdesc_resolve_hold): Likewise.
9984 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
9985 (_dl_tlsdesc_resolve_hold): Likewise.
9986 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
9987 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
9989 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9991 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
9993 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9996 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
9997 non-lazily for R_ARM_TLS_DESC.
9999 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
10002 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
10003 R_ARM_TLS_DESC case.
10004 (elf_machine_lazy_rel): Remove the prelink check.
10006 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
10008 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
10009 DT_TLSDESC_GOT initialization.
10010 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
10011 (_dl_tlsdesc_resolve_rela): Likewise.
10012 (_dl_tlsdesc_resolve_hold): Likewise.
10013 (_dl_tlsdesc_undefweak): Remove ldar.
10014 (_dl_tlsdesc_dynamic): Likewise.
10015 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
10016 (_dl_tlsdesc_resolve_rela): Likewise.
10017 (_dl_tlsdesc_resolve_hold): Likewise.
10018 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
10019 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
10020 (_dl_tlsdesc_resolve_rela): Likewise.
10021 (_dl_tlsdesc_resolve_hold): Likewise.
10023 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
10025 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
10026 binding and initialization non-lazily for R_AARCH64_TLSDESC.
10028 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
10030 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
10031 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10033 2017-11-02 Joseph Myers <joseph@codesourcery.com>
10035 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
10037 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
10038 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
10039 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
10040 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
10041 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
10042 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
10043 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
10044 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
10045 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
10046 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
10047 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
10049 2017-11-02 Mike FABIAN <mfabian@redhat.com>
10052 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
10053 * localedata/locales/tpi_PG: Add standard header.
10055 2017-11-02 Florian Weimer <fweimer@redhat.com>
10057 test-errno-linux: quotactl can fail with EPERM in containers.
10058 * sysdeps/unix/sysv/linux/test-errno-linux.c
10059 (LIST, LIST_FORWARD): New macros.
10060 (check_error_in_list): New function.
10061 (test_wrp_rv): Accept list of permitted error codes.
10062 (test_wrp_rv2): Remove.
10063 (test_wrp): Call test_wrp_rv with list of error codes.
10064 (test_wrp2): Accept list of error codes.
10065 (do_test): Adjust. Allow EPERM for quotactl.
10067 2017-11-02 Florian Weimer <fweimer@redhat.com>
10069 * stdio-common/bug16.c (do_test): Use array_length.
10070 * stdio-common/errlist.c (_sys_nerr): Likewise.
10071 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
10072 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
10073 * stdio-common/psiginfo.c (psiginfo): Use array_length.
10074 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
10075 (do_test): Use array_length.
10076 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
10077 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
10078 * stdio-common/tst-printf-round.c (do_test): Likewise.
10079 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
10080 (CHECK): Use array_length.
10081 * stdio-common/tstdiomisc.c (t3, F): Likewise.
10082 * stdio-common/tstscanf.c (main): Likewise.
10083 * stdio-common/vfprintf.c (process_string_arg): Likewise.
10085 2017-11-02 Florian Weimer <fweimer@redhat.com>
10087 Add array_length and array_end macros.
10088 * include/array_length.h: New file.
10090 2017-11-02 Florian Weimer <fweimer@redhat.com>
10093 * posix/tst-glob-tilde.c (do_noescape): New variable.
10094 (one_test): Process it.
10095 (do_test): Set do_noescape. Add unescaping test case.
10097 2017-11-01 Joseph Myers <joseph@codesourcery.com>
10100 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
10101 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
10102 with appropriate macros defined and undefined.
10103 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
10104 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
10105 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
10106 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
10107 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
10108 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
10109 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
10110 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
10111 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
10112 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
10115 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
10116 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
10117 that for long double. Do not condition define and undefine of
10118 _Mdouble_complex_ on [__CFLOAT128].
10120 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
10122 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
10123 of <sysdeps/generic/sysdep.h>.
10124 (ALIGNARG): Removed.
10125 (ASM_SIZE_DIRECTIVE): Likewise.
10128 (ENTRY_CHK): Likewise.
10129 (END_CHK): Likewise.
10130 (syscall_error): Likewise.
10131 (mcount): Likewise.
10132 (PSEUDO_END): Likewise.
10134 (atom_text_section): Likewise.
10135 * sysdeps/x86/sysdep.h: New file.
10136 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
10137 of <sysdeps/generic/sysdep.h>.
10138 (ALIGNARG): Removed.
10139 (ASM_SIZE_DIRECTIVE): Likewise.
10142 (ENTRY_CHK): Likewise.
10143 (END_CHK): Likewise.
10144 (syscall_error): Likewise.
10145 (mcount): Likewise.
10146 (PSEUDO_END): Likewise.
10148 (atom_text_section): Likewise.
10150 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
10152 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
10153 category of LC_CTYPE set to "i18n:2012".
10154 * localedata/locales/i18n_ctype: Regenerate.
10156 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
10158 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
10159 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
10160 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
10161 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10163 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
10164 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
10165 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
10166 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
10168 2017-10-31 Joseph Myers <joseph@codesourcery.com>
10171 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
10173 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
10175 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
10177 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10178 (CMPLXF32X): Likewise.
10179 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10180 (CMPLXF64X): Likewise.
10181 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10182 (CMPLXF128X): Likewise.
10185 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
10186 (__MATH_EVAL_FMT2): Define to add 0.0f.
10188 2017-10-31 Alan Modra <amodra@gmail.com>
10190 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
10192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
10193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
10194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
10197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
10198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
10199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
10200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
10201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
10202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
10205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
10206 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
10207 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
10208 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
10209 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
10210 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
10211 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
10212 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
10213 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
10214 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
10215 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
10216 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10217 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
10218 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
10219 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
10220 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
10221 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
10222 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10223 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10224 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
10225 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
10226 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
10227 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
10228 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
10229 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
10230 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
10231 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10232 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
10233 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
10234 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
10235 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
10236 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
10237 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
10238 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
10239 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
10240 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
10241 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10242 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
10243 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
10244 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
10245 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
10246 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10247 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
10248 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
10249 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
10250 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
10251 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
10252 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10253 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
10254 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
10255 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10256 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
10257 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
10258 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
10259 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
10260 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
10262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
10263 include sysdep.h and math_ldbl_opt.h.
10265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
10266 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
10267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
10268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
10269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
10270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
10271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
10272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
10273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
10274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
10275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
10276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
10277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
10278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
10279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
10280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
10281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
10282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
10283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
10284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
10285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
10286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
10287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
10288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
10289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
10290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
10292 2017-10-31 Alan Modra <amodra@gmail.com>
10294 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
10295 string/strncase_l.c, not string/strncase.c.
10296 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
10297 (libc_hidden_def): Redefine.
10299 2017-10-31 Alan Modra <amodra@gmail.com>
10301 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
10302 (__STRCMP, STRCMP, __strcasecmp_l): Define.
10303 (__strcasecmp): Don't define.
10305 2017-10-31 Alan Modra <amodra@gmail.com>
10307 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
10309 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
10310 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
10311 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
10313 2017-10-31 Alan Modra <amodra@gmail.com>
10315 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
10318 2017-10-31 Alan Modra <amodra@gmail.com>
10320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
10321 Redefine only when SHARED.
10323 2017-10-30 Joseph Myers <joseph@codesourcery.com>
10325 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
10326 Include <bits/math-finite.h> with appropriate macros defined and
10328 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
10329 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
10330 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
10331 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
10332 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
10334 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
10335 [!_Mlong_double_] (_Mlong_double_): Likewise.
10336 [!_Mfloat16_] (_Mfloat16_): Likewise.
10337 [!_Mfloat32_] (_Mfloat32_): Likewise.
10338 [!_Mfloat64_] (_Mfloat64_): Likewise.
10339 [!_Mfloat128_] (_Mfloat128_): Likewise.
10340 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
10341 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
10342 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
10343 (_Mdouble_): Define without indirection through those macros.
10344 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
10345 [!_Mfloat128_] (_Mfloat128_): Likewise.
10346 [_Mlong_double_] (_Mlong_double_): Likewise.
10347 (_Mdouble_): Define without indirection through those macros.
10348 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
10349 not add -D_Mlong_double_=double.
10350 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
10351 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
10353 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
10355 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
10357 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
10359 * sysdeps/x86/libc-start.c: Reformat.
10361 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
10364 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
10365 (1): Renamed to ...
10368 (L(Src2)): Likewise.
10369 (L(1)): Renamed to ...
10372 2017-10-30 Joseph Myers <joseph@codesourcery.com>
10374 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
10375 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
10376 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
10377 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
10378 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
10379 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
10380 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
10381 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
10382 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
10383 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
10384 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
10385 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
10386 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
10387 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
10388 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
10389 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
10390 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
10391 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
10392 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
10393 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
10394 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
10395 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
10396 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
10397 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
10398 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
10399 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
10400 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
10401 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
10402 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
10403 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
10404 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
10405 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
10406 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
10407 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
10408 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
10409 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
10410 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
10411 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
10412 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
10413 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
10414 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
10415 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
10416 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
10417 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
10418 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
10419 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
10420 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
10421 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
10422 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
10423 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
10424 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
10425 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
10426 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
10427 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
10428 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
10429 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
10430 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
10431 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
10432 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
10433 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
10434 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
10435 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
10436 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
10437 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
10438 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
10439 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
10441 2017-10-30 Florian Weimer <fweimer@redhat.com>
10443 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
10445 * io/tst-mkdirat.c (do_test): Likewise.
10446 * io/tst-mkfifoat.c (do_test): Likewise.
10447 * io/tst-mknodat.c (do_test): Likewise.
10448 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
10449 * locale/programs/locale.c (select_dirs): Likewise.
10450 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
10451 * posix/bug-glob2.c (my_readdir): Likewise.
10452 * posix/tst-dir.c (main): Likewise.
10453 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
10454 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
10456 2017-10-30 Florian Weimer <fweimer@redhat.com>
10458 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
10461 2017-10-30 Florian Weimer <fweimer@redhat.com>
10463 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
10464 Convert to support/test-driver.c.
10465 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
10466 New macro parameters.
10467 (PRINTF): Remove macro. Use test_verbose conditionals instead.
10468 * posix/tst-gnuglob.c: New file.
10469 * posix/tst-gnuglob64.c: Likewise.
10470 * posix/Makefile (tests): Add tst-gnuglob64.
10472 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
10475 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
10476 and use a better translation for March in “mon”.
10477 * localedata/locales/csb_PL: Use more ASCII to improve the
10478 readability of the source.
10480 2017-10-30 Mike FABIAN <mfabian@redhat.com>
10483 * localedata/locales/km_KH: Use ASCII as much
10484 as possible for better readability of the source and
10485 remove useless comments.
10486 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
10487 was commented out and apparently wrong anyway because it was
10488 using Lao characters. If Buddhist era should be used
10489 for km_KH, a native speaker should write the correct formaat
10491 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
10492 (According to CLDR, the first weekday for Cambodia is Sunday).
10493 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
10494 (These were using Lao characters which must be wrong. If we get
10495 the correct data from a native speaker, we could add it back, until
10496 then it is better not to have name_mr and name_mrs at all than
10499 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
10501 * locale/loadlocale.c: Correct size of
10502 _nl_value_type_LC_<category> arrays.
10504 2017-10-27 Joseph Myers <joseph@codesourcery.com>
10506 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
10507 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
10508 with appropriate macros defined and undefined.
10509 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
10510 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
10511 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
10512 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
10513 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
10515 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
10517 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
10520 2017-10-27 Mike FABIAN <mfabian@redhat.com>
10522 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
10523 with lowercase letters to make it agree with CLDR.
10525 2017-10-27 Mike FABIAN <mfabian@redhat.com>
10528 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
10529 first letters of yesstr and nostr in yesexpr and noexpr,
10530 not for the full words.
10531 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
10532 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
10533 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
10534 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
10535 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
10536 first letters of yesstr and nostr in yesexpr and noexpr,
10537 until now only English was matched in yesexpr and noexpr.
10538 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
10539 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
10540 fil but not for tl. As tl and fil are very similar, using fil
10541 is probably better than using English.
10543 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
10546 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
10547 in yesstr and nostr.
10549 2017-10-26 Joseph Myers <joseph@codesourcery.com>
10551 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
10552 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
10553 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
10555 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
10557 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
10559 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
10561 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10562 (SNANF128X): Likewise.
10564 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
10565 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
10566 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10567 (HUGE_VAL_F32): Likewise.
10568 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10569 (HUGE_VAL_F64): Likewise.
10570 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10571 (HUGE_VAL_F32X): Likewise.
10572 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10573 (HUGE_VAL_F64X): Likewise.
10574 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10575 (HUGE_VAL_F128X): Likewise.
10577 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
10579 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
10580 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
10581 for the br_FR locale.
10583 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
10586 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
10588 2017-10-25 Carlos O'Donell <carlos@redhat.com>
10590 * locale/programs/record-status.h: Define globals, and function
10591 prototypes. Move function bodies...
10592 * locale/programs/record-status.c: ... to here. New file.
10593 * iconv/Makefile (iconv_prog-modules): Add record-status.
10594 * locale/Makefile (lib-modules): Likewise.
10595 * iconv/iconv_prog.c: Remove verbose.
10596 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
10597 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
10598 record a warning about ASCII compatibility.
10599 * locale/programs/ld-monetary.c (monetary_finish): If
10600 warn_int_curr_symbol is true then record a warning about the symbol
10601 not being in our ISO 4217 list.
10602 * locale/programs/locale.c: Include record-status.h. Remove verbose.
10603 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
10604 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
10605 (OPT_NO_WARN): Define.
10606 (OPT_WARN): Define.
10607 (options): Add entry for --no-warnings, and --warnings.
10608 (set_warnings): New function to enable/disable warnings.
10609 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
10610 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
10611 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
10612 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
10613 Pass flags to generate_locale.
10614 (generate_locale): Accept new flag argument and pass it to localedef
10616 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
10617 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
10619 * localedata/Makefile (test-input-data): Use full file name.
10620 * localedata/da_DK.in: Rename to...
10621 * localedata/da_DK.ISO-8859-1.in: ...this.
10622 * localedata/de_DE.in: Rename to...
10623 * localedata/de_DE.ISO-8859-1.in: ...this.
10624 * localedata/en_US.in: Rename to...
10625 * localedata/en_US.ISO-8859-1.in: ...this.
10626 * localedata/fr_FR.in: Rename to...
10627 * localedata/fr_FR.UTF-8.in: ... this.
10628 * localedata/hr_HR.in: Rename to...
10629 * localedata/hr_HR.ISO-8859-2.in: ...this.
10630 * localedata/hu_HU.in: Rename to...
10631 * localedata/hu_HU.UTF-8.in: ...this.
10632 * localedata/si_LK.in: Rename to...
10633 * localedata/si_LK.UTF-8.in: ...this.
10634 * localedata/sv_SE.in: Rename to...
10635 * localedata/sv_SE.ISO-8859-1.in: ...this.
10636 * localedata/tr_TR.in: Rename to...
10637 * localedata/tr_TR.UTF-8.in: ...this.
10638 * localedata/uk_UA.in: Rename to...
10639 * localedata/uk_UA.UTF-8.in: ...this.
10640 * localedata/sort-test.sh: Test file is locale name with the
10643 * localedata/unicode-gen/Makefile (check_i18n): Rename to
10644 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
10646 * localedata/locales/i18n_ctype: Regenerate.
10647 * localedata/locales/tr_TR: Likewise.
10648 * localedata/locales/translit_circle: Likewise.
10649 * localedata/locales/translit_cjk_compat: Likewise.
10650 * localedata/locales/translit_combining: Likewise.
10651 * localedata/locales/translit_compat: Likewise.
10652 * localedata/locales/translit_font: Likewise.
10653 * localedata/locales/translit_fraction: Likewise.
10655 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10657 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
10658 lxvd2x/stxvd2x with lvx/stvx.
10659 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
10661 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
10663 * include/alloc_buffer.h: Replace "if if " with "if " in
10665 * sysdeps/mips/memcpy.S: Likkewise.
10666 * sysdeps/mips/memset.S: Likewise.
10667 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
10669 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
10671 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
10674 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10677 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
10678 yesexpr and noexpr.
10679 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
10680 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
10681 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
10682 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
10683 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
10684 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
10685 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
10687 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10689 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
10690 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
10691 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
10692 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
10693 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
10694 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
10695 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
10696 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
10697 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
10698 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
10699 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
10700 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
10702 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10704 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
10705 as possible for better readability of the source.
10706 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
10707 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
10708 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
10709 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
10710 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
10711 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
10712 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
10713 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
10714 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
10715 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
10716 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
10717 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
10718 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
10719 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
10720 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
10721 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
10722 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
10723 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
10724 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
10725 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
10726 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
10727 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
10728 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
10729 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
10730 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
10731 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
10732 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
10733 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
10734 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
10735 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
10736 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
10737 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
10738 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
10739 * localedata/locales/en_US (LC_MESSAGES): Likewise.
10740 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
10741 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
10742 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
10743 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
10744 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
10745 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
10746 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
10747 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
10748 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
10749 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
10750 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
10751 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
10752 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
10753 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
10754 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
10755 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
10756 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
10757 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
10758 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
10759 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
10760 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
10761 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
10762 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
10763 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
10764 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
10765 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
10766 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
10767 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
10768 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
10769 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
10770 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
10771 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
10772 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
10773 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
10774 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
10775 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
10776 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
10777 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
10778 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
10779 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
10780 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
10781 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
10782 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
10783 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
10784 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
10785 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
10786 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
10787 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
10788 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
10789 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
10790 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
10791 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
10792 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
10793 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
10794 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
10795 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
10796 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
10797 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
10798 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
10799 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
10800 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
10801 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
10802 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
10803 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
10804 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
10805 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
10806 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
10807 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
10808 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
10809 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
10810 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
10811 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
10812 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
10813 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
10814 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
10815 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
10816 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
10817 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
10818 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
10819 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
10820 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
10821 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
10822 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
10823 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
10824 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
10825 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
10826 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
10827 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
10828 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
10829 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
10830 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
10831 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
10832 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
10833 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
10834 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
10835 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
10836 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
10837 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
10838 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
10839 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
10840 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
10841 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
10842 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
10843 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
10844 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
10845 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
10846 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
10847 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
10848 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
10849 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
10850 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
10851 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
10852 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
10853 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
10854 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
10855 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
10856 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
10857 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
10858 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
10859 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
10860 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
10861 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
10862 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
10863 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
10864 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
10865 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
10866 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
10867 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
10868 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
10869 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
10870 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
10871 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
10872 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
10873 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
10874 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
10875 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
10876 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
10877 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
10878 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
10879 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
10881 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10883 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
10884 (Use first letters of yesstr and nostr correctly instead of using
10887 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10889 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
10890 (Use first letters of yesstr and nostr correctly).
10892 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10894 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
10895 also check for the first characters of yesstr and nostr.
10896 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
10897 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
10899 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10901 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
10902 also check for Chinese characters.
10904 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10906 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
10907 match also for the contents of yesstr and nostr. As the first letter
10908 of yesstr and nostr is equal, checking only for the first letter
10911 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10913 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
10914 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
10916 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10918 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
10919 of main contributor.
10921 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10923 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
10924 instead of using English.
10926 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10928 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
10929 by including the first letters of nostr and yesexpr in the regexp.
10930 Also make it more readable by using ASCII where possible.
10932 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10934 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
10935 the first letter of nostr in the regexp. It agrees with CLDR now.
10936 Also make it more readable by using ASCII where possible.
10938 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10940 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
10941 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
10942 these strings contain a U+17D6 (which somewhat looks like a colon)
10943 instead of a real colon to separate the full words for “yes”
10944 and “no” from the single letter responses.
10946 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10948 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
10949 it agree with CLDR (include the first letter of yesstr).
10950 Also make it more readable by using ASCII where possible.
10952 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10954 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
10955 and improve yesexpr and noexpr. The yesstr and nostr apparently
10956 came from CLDR. And CLDR has a bug there: these strings contain
10957 a U+0903 (which looks like a colon) instead of a real colon
10958 to separate the full words for “yes” and “no” from the single
10961 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10963 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
10964 letters of the full yesstr and nostr in yesexpr and noexpr.
10966 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10968 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
10969 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
10970 * localedata/locales/an_ES: Make source more readable by using ASCII
10973 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10976 * localedata/locales/yuw_PG: New file.
10977 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
10978 * locale/iso-639.def: Add Yau (Uruwa).
10980 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10982 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
10984 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10986 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
10987 (__libc_realloc): Likewise.
10988 (_mid_memalign): Likewise.
10989 (__libc_calloc): Likewise.
10991 2017-10-23 Mike FABIAN <mfabian@redhat.com>
10993 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
10994 by adding the generic +1 and -0 as in all other locales.
10995 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
10996 day names and make it more readable by using ASCII where possible.
10998 2017-10-24 Joseph Myers <joseph@codesourcery.com>
11000 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
11001 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
11003 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11005 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
11006 WNOHANG in waitpid call.
11008 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
11010 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
11011 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
11013 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
11014 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
11015 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
11016 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
11017 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
11018 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
11019 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
11020 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
11023 2017-10-23 Michael Collison <michael.collison@arm.com>
11025 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
11026 with __builtin_sqrt.
11027 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
11028 with __builtin_sqrtf.
11029 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
11030 with __builtin_ceil.
11031 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
11032 with __builtin_ceilf.
11033 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
11034 with __builtin_floor.
11035 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
11036 with __builtin_floorf.
11037 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
11038 with __builtin_fma.
11039 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
11040 with __builtin_fmaf.
11041 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
11042 with __builtin_fmax.
11043 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
11044 with __builtin_fmaxf.
11045 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
11046 with __builtin_fmin.
11047 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
11048 with __builtin_fminf.
11049 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
11050 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
11051 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
11052 with builtin_rint and conversion to int.
11053 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
11054 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
11055 with builtin_llround.
11056 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
11057 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
11058 with builtin_rint and conversion to long int.
11059 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
11060 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
11061 with builtin_lround.
11062 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
11063 with builtin_lroundf.
11064 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
11065 statements with __builtin_nearbyint.
11066 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
11067 statements with __builtin_nearbyintf.
11068 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
11069 with __builtin_rint.
11070 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
11071 with __builtin_rintf.
11072 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
11073 with __builtin_round.
11074 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
11075 with __builtin_roundf.
11076 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
11077 with __builtin_trunc.
11078 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
11079 with __builtin_truncf.
11080 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
11081 and s_l[l]round[f].c too.
11083 2017-10-23 Alan Modra <amodra@gmail.com>
11085 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
11086 Adjust stack after restoring regs. Add missing LR cfi_restore.
11088 2017-10-23 Alan Modra <amodra@gmail.com>
11090 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
11091 Move LR save and frame setup/teardown and LR restore to
11092 immediately around memset call. Provide cfi.
11094 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11096 * sysdeps/i386/fpu/e_powf.S: Removed.
11097 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
11098 * sysdeps/i386/fpu/w_powf.c: Likewise.
11099 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
11100 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
11101 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
11103 (CFLAGS-e_powf-sse2.c): New.
11104 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
11105 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
11107 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11109 * sysdeps/i386/fpu/e_log2f.S: Removed.
11110 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
11111 * sysdeps/i386/fpu/w_log2f.c: Likewise.
11112 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
11113 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
11114 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
11116 (CFLAGS-e_log2f-sse2.c): New.
11117 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
11118 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
11120 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11122 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11124 (CFLAGS-e_powf-fma.c): New.
11125 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
11126 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
11128 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11130 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11132 (CFLAGS-e_log2f-fma.c): New.
11133 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
11134 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
11136 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11138 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11140 (CFLAGS-e_logf-fma.c): New.
11141 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
11142 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
11144 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11146 * sysdeps/i386/fpu/e_logf.S: Removed.
11147 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
11148 * sysdeps/i386/fpu/w_logf.c: Likewise.
11149 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
11150 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
11151 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
11152 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
11154 (CFLAGS-e_logf-sse2.c): New.
11155 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
11156 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
11158 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11160 * sysdeps/i386/fpu/e_exp2f.S: Removed.
11161 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
11162 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
11163 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
11164 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
11166 (CFLAGS-e_exp2f-sse2.c): New.
11167 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
11168 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
11170 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11172 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11174 (CFLAGS-e_exp2f-fma.c): New.
11175 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
11176 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
11178 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11180 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
11181 * sysdeps/i386/fpu/e_expf.S: Likewise.
11182 * sysdeps/i386/fpu/math_errf.c: Likewise.
11183 * sysdeps/i386/fpu/w_expf.c: Likewise.
11184 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
11185 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11186 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
11187 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
11188 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
11189 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
11190 Remove e_expf-ia32.
11191 (CFLAGS-e_expf-sse2.c): New.
11192 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
11193 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
11195 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11197 * sysdeps/x86_64/fpu/e_expf.S: Removed.
11198 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
11199 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
11200 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
11202 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
11204 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
11205 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
11207 (__redirect_expf): This.
11208 (SYMBOL_NAME): Changed to expf.
11209 (__ieee754_expf): Renamed to ...
11211 (__GI___expf): This.
11212 (__ieee754_expf): Add strong_alias.
11213 (__expf_finite): Likewise.
11215 Include <sysdeps/ieee754/flt-32/e_expf.c>.
11217 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
11220 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
11223 2017-10-21 Florian Weimer <fweimer@redhat.com>
11225 * posix/Makefile (tests): Add tst-glob-tilde.
11226 (tests-special): Add tst-glob-tilde-mem.out
11227 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
11228 (tst-glob-tilde-mem.out): Add mtrace check.
11229 * posix/tst-glob-tilde.c: New file.
11231 2017-10-20 Joseph Myers <joseph@codesourcery.com>
11233 * bits/floatn-common.h: New file.
11234 * math/Makefile (headers): Add bits/floatn-common.h.
11235 * bits/floatn.h: Include <bits/floatn-common.h>.
11236 * sysdeps/ia64/bits/floatn.h: Likewise.
11237 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
11238 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
11239 * sysdeps/powerpc/bits/floatn.h: Likewise.
11240 * sysdeps/x86/bits/floatn.h: Likewise.
11242 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11244 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
11245 indicates whether compiler emits an warning for alias for
11246 functions with incompatible types.
11249 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
11250 the auxiliary process is terminated by a signal before calling _exit
11253 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
11256 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
11258 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
11259 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
11260 and bit_arch_XSAVEC_Usable if needed.
11261 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
11262 and bit_arch_Use_dl_runtime_resolve_opt.
11263 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
11265 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
11266 (bit_arch_Prefer_No_AVX512): Updated.
11267 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
11268 (bit_arch_XSAVEC_Usable): New.
11269 (STATE_SAVE_OFFSET): Likewise.
11270 (STATE_SAVE_MASK): Likewise.
11271 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
11272 (cpu_features): Add xsave_state_size and xsave_state_full_size.
11273 (index_arch_Use_dl_runtime_resolve_opt): Removed.
11274 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
11275 (index_arch_XSAVEC_Usable): New.
11276 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11277 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
11278 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
11280 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
11281 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
11282 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
11283 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
11284 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
11285 _dl_runtime_resolve_xsavec.
11286 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
11288 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
11289 instead of VEC_SIZE.
11290 (REGISTER_SAVE_BND0): Removed.
11291 (REGISTER_SAVE_BND1): Likewise.
11292 (REGISTER_SAVE_BND3): Likewise.
11293 (REGISTER_SAVE_RAX): Always defined to 0.
11295 (_dl_runtime_resolve_avx): Likewise.
11296 (_dl_runtime_resolve_avx_slow): Likewise.
11297 (_dl_runtime_resolve_avx_opt): Likewise.
11298 (_dl_runtime_resolve_avx512): Likewise.
11299 (_dl_runtime_resolve_avx512_opt): Likewise.
11300 (_dl_runtime_resolve_sse): Likewise.
11301 (_dl_runtime_resolve_sse_vex): Likewise.
11303 (_dl_runtime_resolve_fxsave): Likewise.
11304 (USE_XSAVE): Likewise.
11305 (_dl_runtime_resolve_xsave): Likewise.
11306 (USE_XSAVEC): Likewise.
11307 (_dl_runtime_resolve_xsavec): Likewise.
11308 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
11310 (_dl_runtime_resolve_avx512_opt): Likewise.
11311 (_dl_runtime_resolve_avx): Likewise.
11312 (_dl_runtime_resolve_avx_opt): Likewise.
11313 (_dl_runtime_resolve_sse): Likewise.
11314 (_dl_runtime_resolve_sse_vex): Likewise.
11315 (_dl_runtime_resolve_fxsave): New.
11316 (_dl_runtime_resolve_xsave): Likewise.
11317 (_dl_runtime_resolve_xsavec): Likewise.
11319 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
11323 * posix/glob.c (__glob): Fix one-byte overflow.
11325 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
11327 * malloc/malloc.c (sysdep-cancel.h): Add include.
11329 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
11331 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
11333 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
11335 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
11336 (tests): Remove $(objpfx)ga_test depdendency.
11337 * resolv/ga_test.c: Remove file.
11339 2017-10-20 Mike FABIAN <mfabian@redhat.com>
11342 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
11343 * localedata/locales/kab_DZ: New file.
11345 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
11347 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
11348 _dl_relocate_static_pie instead of _dl_start to compute load
11349 address in static PIE.
11351 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
11353 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
11355 2017-10-20 Mike FABIAN <mfabian@redhat.com>
11358 * localedata/SUPPORTED: Add shn_MM/UTF-8.
11359 * localedata/locales/shn_MM: New file.
11361 2017-10-20 Florian Weimer <fweimer@redhat.com>
11364 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
11365 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
11366 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
11367 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
11368 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
11369 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
11371 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
11373 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11375 2017-10-19 Joseph Myers <joseph@codesourcery.com>
11377 * sysdeps/mips/ieee754/bits/floatn.h: New file.
11380 * sysdeps/mips/bits/long-double.h: Move to ....
11381 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
11383 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
11385 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
11387 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
11388 H.J. Lu <hongjiu.lu@intel.com>
11391 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
11392 GLRO(dl_platform) to NULL.
11393 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
11394 (modules-names): Add tst-platformmod-1 and
11395 x86_64/tst-platformmod-2.
11396 (CFLAGS-tst-platform-1.c): New.
11397 (CFLAGS-tst-platformmod-1.c): Likewise.
11398 (CFLAGS-tst-platformmod-2.c): Likewise.
11399 (LDFLAGS-tst-platformmod-2.so): Likewise.
11400 ($(objpfx)tst-platform-1): Likewise.
11401 ($(objpfx)tst-platform-1.out): Likewise.
11402 (tst-platform-1-ENV): Likewise.
11403 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
11404 * sysdeps/x86_64/tst-platform-1.c: New file.
11405 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
11406 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
11408 2017-10-19 Mike FABIAN <mfabian@redhat.com>
11411 * locale/iso-639.def: Add Karbi.
11412 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
11413 * localedata/locales/mjw_IN: New file.
11415 2017-10-18 Joseph Myers <joseph@codesourcery.com>
11417 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
11418 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
11419 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
11420 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
11421 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
11422 (libm_alias_ldouble_other_r): Also create _Float128 alias.
11423 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
11425 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
11426 (libm_alias_ldouble_other_r): Also create _Float128 alias.
11427 * manual/math.texi (Mathematics): Document additional architecture
11428 support for _Float128.
11429 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
11430 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11431 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11432 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11433 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11434 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11435 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11436 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11437 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11438 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11439 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11440 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11441 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11442 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11443 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11445 2017-10-18 Renlin Li <renlin.li@arm.com>
11447 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
11448 _DYNAMIC symbol to calculate load address.
11450 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
11452 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
11453 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
11455 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
11456 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
11458 2017-10-18 Mike FABIAN <mfabian@redhat.com>
11461 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
11462 and improve readability by using more ASCII.
11463 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
11464 and improve readability by using more ASCII.
11466 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
11468 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
11469 not all targets support atomics on bool.
11471 2017-10-17 Joseph Myers <joseph@codesourcery.com>
11473 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
11474 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
11476 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
11477 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
11478 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
11479 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
11480 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
11481 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
11483 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11485 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
11488 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
11491 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
11492 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
11493 (do_check_remalloced_chunk): Fix build bug.
11494 (do_check_malloc_state): Add assert that checks arena->top.
11495 (malloc_consolidate): Remove initialization.
11496 (int_mallinfo): Remove call to malloc_consolidate.
11497 (__libc_mallopt): Clarify why malloc_consolidate is needed.
11499 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
11501 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
11502 (have_fastchunks): Remove.
11503 (clear_fastchunks): Remove.
11504 (set_fastchunks): Remove.
11505 (malloc_state): Add have_fastchunks.
11506 (malloc_init_state): Use have_fastchunks.
11507 (do_check_malloc_state): Remove incorrect invariant checks.
11508 (_int_malloc): Use have_fastchunks.
11509 (_int_free): Likewise.
11510 (malloc_consolidate): Likewise.
11512 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
11514 * malloc/malloc.c (tcache_put): Inline.
11515 (tcache_get): Inline.
11517 2017-10-17 Jordi Mallach <jordi@gnu.org>
11519 Aurelien Jarno <aurelien@aurel32.net>
11521 * localedata/locales/ca_ES@valencia: New file.
11522 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
11524 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
11527 * math/math.h: Let signbit use the builtin in C++ mode with gcc
11530 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11532 * scripts/build-many-glibcs.py (Context.add_all_configs):
11533 Add arm-linux-gnueabihf multiarch extra_glibcs.
11535 * sysdeps/generic/ifunc-init.h: New file.
11536 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
11538 2017-10-17 Mike FABIAN <mfabian@redhat.com>
11541 * localedata/locales/el_GR: Set n_cs_precedes to 0.
11542 * localedata/locales/el_CY: copy "el_GR" because it is identical.
11543 * stdlib/tst-strfmon_l.c: adapt test case.
11545 2017-10-16 Joseph Myers <joseph@codesourcery.com>
11547 * sysdeps/generic/float128-abi.h: New file.
11548 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
11549 non-__prefixed symbols to ....
11550 * math/Versions: ... here. Include <float128-abi.h>.
11551 * stdlib/Versions ... and here. Include <float128-abi.h>
11553 2017-10-16 Florian Weimer <fweimer@redhat.com>
11555 * version.h (VERSION): Switch to ".9000" as the development
11558 2017-10-16 Florian Weimer <fweimer@redhat.com>
11561 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
11562 compat_symbol_reference to access non-default version.
11564 2017-10-16 Florian Weimer <fweimer@redhat.com>
11566 * malloc/Makefile (others-extras): Set to mcheck-init.o.
11568 2017-10-16 Carlos O'Donell <carlos@redhat.com>
11570 * include/shlib-compat.h (compat_symbol_reference): Update
11573 2017-10-16 Joseph Myers <joseph@codesourcery.com>
11575 * math/Makefile (test-types): Add
11576 $(type-float128-$(float128-alias-fcts)).
11577 * math/test-float128.h (TYPE_STR): Define conditional on
11578 [FLT128_MANT_DIG == LDBL_MANT_DIG].
11579 (ULP_IDX): Likewise.
11580 (ULP_I_IDX): Likewise.
11582 * stdlib/strtold.c: Include <bits/floatn.h>
11583 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
11584 and later undefine as macro. Define as weak alias if
11586 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
11587 and later undefine as macro. Define as weak alias if
11589 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
11590 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
11591 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
11592 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
11593 Define and later undefine as macro. Define as weak alias if
11595 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
11597 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
11598 Define and later undefine as macro. Define as weak alias if
11600 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
11601 Define and later undefine as macro. Define as weak alias if
11604 2017-10-15 Carlos O'Donell <carlos@redhat.com>
11606 * localedata/collate-test.c (allocate_arrays): Don't use \n in
11607 record_verbose messages.
11609 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
11612 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
11613 to silence -O3 -Wall warning with GCC 7.
11615 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
11617 * Makeconfig (+link-static-before-libc): Use the first of
11618 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
11619 * gmon/Makefile (tests): Add tst-gmon-static.
11620 (tests-static): Likewise.
11621 (CFLAGS-tst-gmon-static.c): New.
11622 (CRT-tst-gmon-static): Likewise.
11623 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
11624 (tst-gmon-static-ENV): Likewise.
11625 (tests-special): Likewise.
11626 ($(objpfx)tst-gmon-static.out): Likewise.
11627 (clean-tst-gmon-static-data): Likewise.
11628 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
11629 * gmon/tst-gmon-static-gprof.sh: New file.
11630 * gmon/tst-gmon-static.c: Likewise.
11632 2017-10-13 Carlos O'Donell <carlos@redhat.com>
11635 * locale/programs/linereader.c (get_string): Don't warn on
11636 non-symbolic character.
11639 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
11643 * locale/programs/record-status.h: New file
11644 * locale/programs/locale.c: Add comment.
11645 * locale/programs/charmap-dir.c: Don't include error.h.
11646 (charmap_opendir): Use record_error.
11647 * locale/programs/charmap.c: Don't include error.h.
11648 (charmap_read): Use record_error, and record_warning.
11649 (parse_charmap): Likewise.
11650 * locale/programs/ld-address.c: Don't include error.h.
11651 (address_finish): Use record_error, and record_warning.
11652 * locale/programs/ld-collate.c: Don't include error.h.
11653 (collate_finish): Use record_error, and record_error_at_line.
11654 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
11655 (ctype_class_new): Likewise.
11656 (ctype_map_new): Likewise.
11657 (set_one_default): Likewise.
11658 (set_class_defaults): Likewise.
11659 (translit_flatten): Likewise.
11660 (allocate_arrays): Use record_error, and record_verbose.
11661 * locale/programs/ld-identification.c: Don't include error.h.
11662 (indentation_finish): Use record_error and record_warning.
11663 * locale/programs/ld-measurement.c: Don't include error.h.
11664 (measurement_finish): Use record_error.
11665 * locale/programs/ld-messages.c
11666 (message_finish): Likewise.
11667 * locale/programs/ld-monetary.c
11668 (monetary_finish): Likewise.
11669 * locale/programs/ld-name.c (name_finish): Use record_error
11670 and record_warning.
11671 * locale/programs/ld-numeric.c
11672 (numeric_finish): Use record_error.
11673 * locale/programs/ld-paper.c: Don't include error.h.
11674 (paper_finish): Use record_error.
11675 * locale/programs/ld-telephone.c: Don't include error.h.
11676 (telephone_finish): Use record_error.
11677 * locale/programs/ld-time.c (time_finish): Likewise.
11678 * locale/programs/linereader.h (lr_error): Make inline func.
11679 * locale/programs/localedef.c: Define recorded_warning_count,
11680 and recorded_error_count.
11681 (main): Use record_error. Use recorded_error_count and
11682 recorded_warning_count to issue correct error returns.
11683 (add_to_readlist): Use record_error.
11684 (find_locale): Likewise.
11685 (load_locale): Likewise.
11686 * locale/programs/localedef.h: Remove be_quiet
11687 and WITH_CUR_LOCALE.
11688 * locale/programs/locarchive.c (compare_from_file): Use
11690 * locale/programs/locfile.c (write_locale_data): Use
11692 * locale/programs/repertoire.c: Dont include error.h.
11693 (repertoire_complain): Use record_error.
11694 * localedata/tst-fmon.sh: Expect failures from localedef.
11695 * localedata/tst-locale.sh: Likewise.
11696 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
11698 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
11699 (REPORTS): Likewise.
11701 (i18n): Rename to...
11702 (i18n_ctype): ...this.
11703 (i18n-report): Rename to...
11704 (i18n_ctype-report): ...this.
11705 * localedata/locales/i18n_ctype: Regenerate.
11706 * localedata/locales/i18n: copy i18n_ctype.
11708 2017-10-13 Joseph Myers <joseph@codesourcery.com>
11710 * stdlib/strfroml.c: Include <bits/floatn.h>.
11711 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
11712 Define before include of <stdlib.h> and undefine afterwards, then
11713 define as weak alias.
11715 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
11716 Undefine and restore default definition. Use
11717 libm_alias_ldouble_other.
11719 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
11722 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
11725 2017-10-13 James Clarke <jrtc27@jrtc27.com>
11727 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11728 Assign sym_map to be map for local symbols, as TLS relocations
11729 use sym_map to determine whether the symbol is defined and to
11730 extract the TLS information.
11731 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11732 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11734 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11737 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
11738 (math_force_eval): Add powerpc version.
11741 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
11743 (do_test): Likewise.
11744 * stdio-common/tst-printf.sh: Likewise.
11745 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
11746 ifdef clause in order to set the carry bit right. Replace r0 by
11747 0 without changing the behavior.
11749 2017-10-13 Joseph Myers <joseph@codesourcery.com>
11751 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
11752 <libm-alias-ldouble.h>.
11753 (fabsl): Define using libm_alias_ldouble.
11754 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
11755 <libm-alias-ldouble.h>.
11756 (fabsl): Define using libm_alias_ldouble.
11758 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
11759 Remove conditional code.
11761 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
11762 Rename to __clog10_internal_l.
11763 (__clog10_internal_l): Define aliases using
11764 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
11767 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11769 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
11770 * benchtests/sincosf-inputs: New file.
11771 * benchtests/cosf-inputs: New file.
11772 * benchtests/sinf-inputs: New file.
11774 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
11776 * posix/tst-spawn.c (do_test): Wait for both children.
11778 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
11781 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
11782 tests-pie): Add tst-gmon-pie.
11783 (CFLAGS-tst-gmon-pie.c): New.
11784 (CRT-tst-gmon-pie): Likewise.
11785 (tst-gmon-pie-ENV): Likewise.
11786 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
11787 ($(objpfx)tst-gmon-pie.out): Likewise.
11788 (clean-tst-gmon-pie-data): Likewise.
11789 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
11790 * gmon/gmon.c [PIC]: Include <link.h>.
11791 [PIC] (callback): New function.
11792 (write_hist): Add an argument for load address. Subtract load
11794 (write_call_graph): Likewise.
11795 (write_gmon): Call __dl_iterate_phdr to get load address, pass
11796 it to write_hist and write_call_graph.
11797 * gmon/tst-gmon-pie.c: New file.
11799 2017-10-11 Joseph Myers <joseph@codesourcery.com>
11801 * math/Makefile (test-types-basic): New variable.
11802 (test-types): Likewise.
11803 (libm-test-support): Use $(test-types) instead of $(types).
11804 (libm-tests-base-normal): Likewise.
11805 (libm-tests-base-finite): Likewise.
11806 (libm-tests-base-inline): Likewise.
11807 (generated): Likewise.
11808 ($(objpfx)libm-test-support-$(t).c): Likewise.
11809 (libm-tests-for-type iterator): Likewise.
11810 (libm-test-support iterator): Likewise.
11811 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
11812 (ulp_idx): Use ULP_IDX.
11813 * math/test-ldouble.h: Include <float.h>.
11814 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
11815 (ULP_IDX): New macro.
11816 (ULP_I_IDX): Likewise.
11817 * math/test-double.h (ULP_IDX): Likewise.
11818 (ULP_I_IDX): Likewise.
11819 * math/test-float.h (ULP_IDX): Likewise.
11820 (ULP_I_IDX): Likewise.
11821 * math/test-float128.h (ULP_IDX): Likewise.
11822 (ULP_I_IDX): Likewise.
11824 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11826 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
11827 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11828 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11829 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
11830 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11831 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
11832 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
11833 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11834 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11835 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11836 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
11837 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11838 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11839 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11840 (SINGLE_THREAD_BY_GLOBAL): Define.
11841 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
11843 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
11845 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
11847 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
11849 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
11850 (SINGLE_THREAD_BY_GLOBAL): Likewise.
11851 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
11854 2017-10-11 Andreas Schwab <schwab@suse.de>
11856 * nis/Makefile (aux): Remove.
11857 * nscd/Makefile (aux): Add nscd_hash.
11858 (nscd-modules): Likewise.
11859 ($(objpfx)nscd): Don't depend on libnsl.
11860 * nscd/nscd_hash.c: New file.
11861 * nscd/nscd_hash.h: Likewise.
11862 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
11863 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
11864 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
11865 instead of <nis/rpcsvc/nis.h>.
11866 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
11868 2017-10-11 Florian Weimer <fweimer@redhat.com>
11871 Avoid large NSS buffers with many addresses, aliases.
11872 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
11873 using dynarrays and struct alloc_buffer.
11874 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
11875 (tst-nss-files-hosts-multi): Link with -ldl.
11876 * nss/tst-nss-files-hosts-multi.c: New file.
11878 2017-10-11 Florian Weimer <fweimer@redhat.com>
11881 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
11882 scratch_buffer. Eliminate gotos.
11884 2017-10-11 Joseph Myers <joseph@codesourcery.com>
11886 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
11887 libm_alias_ldouble_other.
11888 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
11889 undefine and redefine.
11890 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
11891 (exp10l): Do not define here.
11892 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
11893 (weak_alias): Undefine and redefine.
11894 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
11895 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
11896 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
11897 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
11899 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
11900 [!__fma] (fma): Define using libm_alias_double.
11901 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
11902 [!__fmaf] (fmaf): Define using libm_alias_float.
11903 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
11904 (fmal): Define using libm_alias_ldouble.
11906 2017-10-10 Joseph Myers <joseph@codesourcery.com>
11908 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
11910 (libm_alias_double_other): Likewise.
11911 (libm_alias_double_r): Use libm_alias_double_other_r.
11912 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
11914 (libm_alias_float_other): Likewise.
11915 (libm_alias_float_r): Use libm_alias_float_other_r.
11916 * sysdeps/generic/libm-alias-float128.h
11917 (libm_alias_float128_other_r): New macro.
11918 (libm_alias_float128_other): Likewise.
11919 (libm_alias_float128_r): Use libm_alias_float128_other_r.
11920 * sysdeps/generic/libm-alias-ldouble.h
11921 (libm_alias_ldouble_other_r): New macro.
11922 (libm_alias_ldouble_other): Likewise.
11923 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
11924 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
11925 (libm_alias_double_other_r): New macro.
11926 (libm_alias_double_other): Likewise.
11927 (libm_alias_double_r): Use libm_alias_double_other_r.
11928 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
11929 (libm_alias_ldouble_other_r): New macro.
11930 (libm_alias_ldouble_other): Likewise.
11931 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
11932 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
11933 [!USE_AS_COMPAT]: Use libm_alias_double_other.
11934 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
11935 [!USE_AS_COMPAT]: Use libm_alias_float_other.
11936 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
11937 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
11938 * math/w_exp2f.c: Use libm_alias_float_other.
11939 * math/w_expf.c: Likewise.
11940 * math/w_log2f.c: Likewise.
11941 * math/w_logf.c: Likewise.
11942 * math/w_powf.c: Likewise.
11943 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
11944 [!__exp2f]: Use libm_alias_float_other.
11945 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
11946 [!__expf]: Use libm_alias_float_other.
11947 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
11948 [!__log2f]: Use libm_alias_float_other.
11949 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
11950 [!__logf]: Use libm_alias_float_other.
11951 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
11952 [!__powf]: Use libm_alias_float_other.
11954 2017-10-10 Florian Weimer <fweimer@redhat.com>
11956 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
11958 (_nss_files_gethostbyname3_r): Call it.
11960 2017-10-09 Joseph Myers <joseph@codesourcery.com>
11962 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
11963 error. Remove default definition of declare_mgen_alias.
11964 [!declare_mgen_alias_r]: Likewise.
11965 * sysdeps/generic/math-type-macros-double.h
11966 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
11967 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
11968 (declare_mgen_alias_r): Likewise.
11969 * sysdeps/generic/math-type-macros-float128.h
11970 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
11971 * sysdeps/generic/math-type-macros-ldouble.h
11972 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
11973 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
11975 (declare_mgen_alias_r_s): Likewise.
11976 (declare_mgen_alias_r): Likewise.
11977 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
11978 (lgamma_r): Define using libm_alias_double_r.
11979 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
11980 (lgammaf_r): Define using libm_alias_float_r.
11981 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
11982 (lgammal_r): Define using libm_alias_ldouble_r.
11983 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
11984 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
11986 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11988 * lib/glob.c (__glob_pattern_type): Remove now-spurious
11989 extern declaration.
11991 2017-10-09 Joseph Myers <joseph@codesourcery.com>
11993 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
11995 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
11998 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
11999 [__cplusplus >= 201103] (__USE_ISOC99): Define.
12000 * math/Makefile (test-math-cxx11): New test.
12001 * math/test-math-cxx11.cc: New file.
12003 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
12005 * login/openpty.c (openpty): Close slave pty file descriptor on error.
12007 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
12008 call to allocate the slave pty file descriptor.
12010 2017-10-06 Joseph Myers <joseph@codesourcery.com>
12012 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
12013 [!__fma] (fma): Define using libm_alias_double.
12014 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
12015 [!__fma] (fma): Define using libm_alias_double.
12017 * sysdeps/ieee754/float128/float128_private.h: Include
12018 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
12019 (libm_alias_ldouble_r): Undefine and redefine.
12020 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
12021 <libm-alias-ldouble.h>.
12022 (asinhl): Define using libm_alias_ldouble.
12023 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
12024 <libm-alias-ldouble.h>.
12025 (atanl): Define using libm_alias_ldouble.
12026 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
12027 <libm-alias-ldouble.h>.
12028 (cbrtl): Define using libm_alias_ldouble.
12029 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
12030 <libm-alias-ldouble.h>.
12031 (ceill): Define using libm_alias_ldouble.
12032 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
12033 <libm-alias-ldouble.h>.
12034 (copysignl): Define using libm_alias_ldouble.
12035 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
12036 <libm-alias-ldouble.h>.
12037 (cosl): Define using libm_alias_ldouble.
12038 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
12039 <libm-alias-ldouble.h>.
12040 (erfl): Define using libm_alias_ldouble.
12042 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
12043 <libm-alias-ldouble.h>.
12044 (expm1l): Define using libm_alias_ldouble.
12045 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
12046 <libm-alias-ldouble.h>.
12047 (fabsl): Define using libm_alias_ldouble.
12048 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
12049 <libm-alias-ldouble.h>.
12050 (floorl): Define using libm_alias_ldouble.
12051 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
12052 <libm-alias-ldouble.h>.
12053 (fmal): Define using libm_alias_ldouble.
12054 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
12055 <libm-alias-ldouble.h>.
12056 (frexpl): Define using libm_alias_ldouble.
12057 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
12058 libm_alias_ldouble.
12059 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
12060 <libm-alias-ldouble.h>.
12061 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
12062 libm_alias_ldouble.
12063 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
12064 <libm-alias-ldouble.h>.
12065 (getpayloadl): Define using libm_alias_ldouble.
12066 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
12067 <libm-alias-ldouble.h>.
12068 (llrintl): Define using libm_alias_ldouble.
12069 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
12070 <libm-alias-ldouble.h>.
12071 (llroundl): Define using libm_alias_ldouble.
12072 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
12073 <libm-alias-ldouble.h>.
12074 (logbl): Define using libm_alias_ldouble.
12075 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
12076 <libm-alias-ldouble.h>.
12077 (lrintl): Define using libm_alias_ldouble.
12078 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
12079 <libm-alias-ldouble.h>.
12080 (lroundl): Define using libm_alias_ldouble.
12081 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
12082 <libm-alias-ldouble.h>.
12083 (modfl): Define using libm_alias_ldouble.
12084 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
12085 <libm-alias-ldouble.h>.
12086 (nearbyintl): Define using libm_alias_ldouble.
12087 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
12088 <libm-alias-ldouble.h>.
12089 (nextafterl): Define using libm_alias_ldouble.
12090 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
12091 <libm-alias-ldouble.h>.
12092 (nextupl): Define using libm_alias_ldouble.
12093 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
12094 <libm-alias-ldouble.h>.
12095 (remquol): Define using libm_alias_ldouble.
12096 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
12097 <libm-alias-ldouble.h>.
12098 (rintl): Define using libm_alias_ldouble.
12099 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
12100 <libm-alias-ldouble.h>.
12101 (roundevenl): Define using libm_alias_ldouble.
12102 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
12103 <libm-alias-ldouble.h>.
12104 (roundl): Define using libm_alias_ldouble.
12105 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
12106 using libm_alias_ldouble.
12107 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
12108 <libm-alias-ldouble.h>.
12109 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
12110 Define using libm_alias_ldouble.
12111 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
12112 <libm-alias-ldouble.h>.
12113 (sincosl): Define using libm_alias_ldouble.
12114 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
12115 <libm-alias-ldouble.h>.
12116 (sinl): Define using libm_alias_ldouble.
12117 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
12118 <libm-alias-ldouble.h>.
12119 (tanhl): Define using libm_alias_ldouble.
12120 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
12121 <libm-alias-ldouble.h>.
12122 (tanl): Define using libm_alias_ldouble.
12123 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
12124 <libm-alias-ldouble.h>.
12125 (totalorderl): Define using libm_alias_ldouble.
12126 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
12127 <libm-alias-ldouble.h>.
12128 (totalordermagl): Define using libm_alias_ldouble.
12129 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
12130 <libm-alias-ldouble.h>.
12131 (truncl): Define using libm_alias_ldouble.
12132 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
12133 libm_alias_ldouble.
12134 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
12135 libm_alias_ldouble.
12136 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
12137 <libm-alias-ldouble.h>.
12138 (weak_alias): Do not undefine and redefine.
12139 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
12140 (copysignl): Define with long_double_symbol only if [IS_IN
12142 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
12143 <libm-alias-ldouble.h>.
12144 (weak_alias): Do not undefine and redefine.
12145 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
12146 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
12147 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
12148 <libm-alias-ldouble.h>.
12149 (weak_alias): Do not undefine and redefine.
12150 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
12151 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
12152 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
12153 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
12154 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
12155 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
12156 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
12157 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
12158 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
12159 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
12160 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
12161 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
12162 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
12163 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
12164 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
12165 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
12166 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
12167 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
12168 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
12169 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
12170 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
12171 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
12172 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
12173 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
12174 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
12175 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
12177 2017-10-06 Carlos O'Donell <carlos@redhat.com>
12180 * malloc/malloc.c (tcache_shutting_down): Use bool type.
12181 (tcache_thread_freeres): Set tcache_shutting_down before
12182 freeing the tcache.
12183 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
12184 * malloc/tst-malloc-tcache-leak.c: New file.
12186 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12188 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
12189 back to powerpc32 file.
12190 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
12191 (memrchr): Add __memrchr_power8 to ifunc list.
12192 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
12193 extra bytes for unaligned inputs.
12195 2017-10-06 Joseph Myers <joseph@codesourcery.com>
12197 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
12198 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
12199 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
12200 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12201 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12203 2017-10-05 Joseph Myers <joseph@codesourcery.com>
12205 * sysdeps/arm/libm-test-ulps: Update.
12207 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
12208 <libm-alias-ldouble.h>.
12209 (asinhl): Define using libm_alias_ldouble.
12210 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
12211 <libm-alias-ldouble.h>.
12212 (cbrtl): Define using libm_alias_ldouble.
12213 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
12214 <libm-alias-ldouble.h>.
12215 (copysignl): Define using libm_alias_ldouble.
12216 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
12217 <libm-alias-ldouble.h>.
12218 (cosl): Define using libm_alias_ldouble.
12219 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
12220 <libm-alias-ldouble.h>.
12221 (erfl): Define using libm_alias_ldouble.
12223 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
12224 <libm-alias-ldouble.h>.
12225 (fmal): Define using libm_alias_ldouble.
12226 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
12227 <libm-alias-ldouble.h>.
12228 (frexpl): Define using libm_alias_ldouble.
12229 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
12230 libm_alias_ldouble.
12231 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
12232 <libm-alias-ldouble.h>.
12233 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
12234 libm_alias_ldouble.
12235 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
12236 <libm-alias-ldouble.h>.
12237 (getpayloadl): Define using libm_alias_ldouble.
12238 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
12239 <libm-alias-ldouble.h>.
12240 (llrintl): Define using libm_alias_ldouble.
12241 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
12242 <libm-alias-ldouble.h>.
12243 (llroundl): Define using libm_alias_ldouble.
12244 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
12245 <libm-alias-ldouble.h>.
12246 (lrintl): Define using libm_alias_ldouble.
12247 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
12248 <libm-alias-ldouble.h>.
12249 (lroundl): Define using libm_alias_ldouble.
12250 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
12251 <libm-alias-ldouble.h>.
12252 (modfl): Define using libm_alias_ldouble.
12253 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
12254 <libm-alias-ldouble.h>.
12255 (nextupl): Define using libm_alias_ldouble.
12256 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
12257 <libm-alias-ldouble.h>.
12258 (remquol): Define using libm_alias_ldouble.
12259 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
12260 <libm-alias-ldouble.h>.
12261 (roundevenl): Define using libm_alias_ldouble.
12262 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
12263 <libm-alias-ldouble.h>.
12264 (roundl): Define using libm_alias_ldouble.
12265 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
12266 using libm_alias_ldouble.
12267 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
12268 <libm-alias-ldouble.h>.
12269 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
12270 <libm-alias-ldouble.h>.
12271 (setpayloadsigl): Define using libm_alias_ldouble.
12272 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
12273 <libm-alias-ldouble.h>.
12274 (sincosl): Define using libm_alias_ldouble.
12275 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
12276 <libm-alias-ldouble.h>.
12277 (sinl): Define using libm_alias_ldouble.
12278 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
12279 <libm-alias-ldouble.h>.
12280 (tanhl): Define using libm_alias_ldouble.
12281 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
12282 <libm-alias-ldouble.h>.
12283 (tanl): Define using libm_alias_ldouble.
12284 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
12285 <libm-alias-ldouble.h>.
12286 (totalorderl): Define using libm_alias_ldouble.
12287 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
12288 <libm-alias-ldouble.h>.
12289 (totalordermagl): Define using libm_alias_ldouble.
12290 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
12291 libm_alias_ldouble.
12292 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
12293 libm_alias_ldouble.
12295 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
12297 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
12299 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
12300 (__libc_ifunc_impl_list): Likewise.
12301 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
12302 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
12304 * benchtests/bench-memmove-walk.c: New file.
12305 * benchtests/Makefile (string-benchset): Add it.
12307 * benchtests/bench-memset-walk.c: New file.
12308 * benchtests/Makefile (string-benchset): Add it.
12310 * benchtests/bench-memcpy-walk.c: New file.
12311 * benchtests/Makefile (string-benchset): Add it.
12313 2017-10-05 Florian Weimer <fweimer@redhat.com>
12315 nscd: Eliminate compilation time dependency in the build output.
12316 * nscd/nscd_stat.c (STATDATA_VERSION)
12317 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
12318 (STATDATA_VERSION_FULL): New macro definitions.
12319 (compilation): Remove.
12320 (struct statdata): Adjust version member.
12321 (send_stats): Set version from STATDATA_VERSION_FULL.
12322 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
12324 2017-10-05 Joseph Myers <joseph@codesourcery.com>
12326 * configure.ac (--enable-add-ons): Remove option.
12327 (machine): Do not mention add-ons in comment.
12328 (LIBC_PRECONFIGURE): Likewise.
12329 (add_ons): Remove variable and sanity checks and logic to locate
12331 (add_ons_automatic): Remove variable.
12332 (configured_add_ons): Likewise.
12333 (add_ons_sfx): Likewise.
12334 (add_ons_pfx): Likewise.
12335 (add_on_subdirs): Likewise.
12336 (sysnames_add_ons): Likewise. Remove loop over add-ons and
12337 consideration of add-ons in Implies handling.
12338 (sysdeps_add_ons): Likewise.
12339 * configure: Regenerated.
12340 * libidn/configure.ac: Remove.
12341 * libidn/configure: Likewise.
12342 * sysdeps/unix/inet/configure.ac: New file.
12343 * sysdeps/unix/inet/configure: New generated file.
12344 * sysdeps/unix/inet/Subdirs: Add libidn.
12345 * Makeconfig (sysdeps-srcdirs): Remove variable.
12346 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
12347 ($(common-objpfx)config.status): Do not depend on add-on files.
12348 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
12350 (all-subdirs): Do not include $(add-on-subdirs).
12351 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
12352 * config.make.in (add-ons): Remove variable.
12353 (add-on-subdirs): Likewise.
12354 (sysdeps-add-ons): Likewise.
12355 * manual/Makefile (add-chapters): Remove.
12356 ($(objpfx)texis): Do not depend on $(add-chapters).
12357 (nonexamples): Do not handle $(add-chapters).
12358 (examples): Do not handle $(add-ons).
12359 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
12361 * manual/install.texi (Installation): Do not mention add-ons.
12362 (--enable-add-ons): Do not document configure option.
12363 * INSTALL: Regenerated.
12364 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
12365 * manual/maint.texi (Hierarchy Conventions): Do not mention
12367 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
12369 * scripts/gen-sorted.awk: Do not handle Subdirs files from
12371 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
12372 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
12374 2017-10-05 Andreas Schwab <schwab@suse.de>
12377 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
12378 (_IO_flush_all_lockp): Always lock list_all_lock.
12379 (_IO_flush_all_linebuffered): Likewise.
12380 (_IO_unbuffer_all): Likewise.
12382 2017-10-05 Florian Weimer <fweimer@redhat.com>
12385 Do not flush stdio streams on abort.
12386 * stdlib/abort.c (fflush): Remove macro definition.
12387 (abort): Remove stages related to stdio flushing.
12389 2017-10-05 Florian Weimer <fweimer@redhat.com>
12391 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
12393 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12395 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12397 2017-10-05 Florian Weimer <fweimer@redhat.com>
12399 * support/support_format_hostent.c (support_format_hostent): Add
12400 more error information for NETDB_INTERNAL.
12402 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
12404 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
12405 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
12406 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
12407 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
12408 AC_DEFINE if multi-arch is enabled.
12409 * sysdeps/i386/configure: Regenerated.
12411 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
12413 * Makeconfig (+link-static-before-libc): Use
12414 $(DEFAULT-LDFLAGS-$(@F)).
12415 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
12416 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
12417 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
12419 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
12421 * elf/Makefile (tests): Add tst-main1.
12422 (modules-names): Add tst-main1mod.
12423 ($(objpfx)tst-main1): New.
12424 (CRT-tst-main1): Likewise.
12425 (LDFLAGS-tst-main1): Likewise.
12426 (LDLIBS-tst-main1): Likewise.
12427 (tst-main1mod.so-no-z-defs): Likewise.
12428 * elf/tst-main1.c: New file.
12429 * elf/tst-main1mod.c: Likewise.
12431 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
12433 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
12435 2017-10-04 Joseph Myers <joseph@codesourcery.com>
12437 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
12438 (fma): Define using libm_alias_double.
12439 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
12440 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
12442 (fmal): Do not define as compat symbol here.
12443 * sysdeps/alpha/fpu/s_fma.c: New file.
12445 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
12447 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
12449 2017-10-04 Joseph Myers <joseph@codesourcery.com>
12452 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
12454 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
12456 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
12457 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
12458 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
12459 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
12460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12461 Include <math_ldbl_opt.h>
12462 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
12464 (compat_symbol): Undefine and redefine.
12465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
12467 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
12468 (compat_symbol): Undefine and redefine.
12469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
12470 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
12471 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
12472 GLIBC_2_1 for libm.
12473 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
12474 GLIBC_2.0 copysignl symbol.
12475 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
12476 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
12478 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
12480 2017-10-04 Florian Weimer <fweimer@redhat.com>
12482 * scripts/check-local-headers.sh: Ignore nspr4 header file
12483 directory in addition to nspr.
12485 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
12488 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
12489 * configure: Regenerate.
12490 * crypt/Makefile (nss-cpp-flags): New variable.
12491 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
12492 (CPPFLAGS-md5-crypt.c): Use it.
12493 * scripts/check-local-headers.sh: Ignore nspr header file
12496 2017-10-04 Andreas Schwab <schwab@suse.de>
12498 * nis/Makefile (services): Remove compat.
12499 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
12500 ($(objpfx)libnss_compat.so): Remove rule.
12501 * nis/Versions (libnss_compat): Remove.
12502 * nss/Makefile (services): Add compat.
12503 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
12504 * nss/Versions (libnss_compat): Define.
12505 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
12506 Don't include <rpc/types.h>. Replace bool_t by bool.
12507 * nss/nss_compat/compat-initgroups.c: Likewise.
12508 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
12509 instead of <rpcsrv/ypclnt.h>.
12510 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
12511 yp_get_default_domain.
12512 * nss/nss_compat/compat-pwd.c: Likewise.
12513 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
12514 yp_get_default_domain.
12515 * nss/nss_compat/nisdomain.c: New file.
12516 * nss/nss_compat/nisdomain.h: Likewise.
12518 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
12521 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
12522 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
12524 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
12527 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
12528 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
12530 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
12532 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
12533 "movl main@GOTOFF(%ebx), %eax".
12535 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
12537 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
12538 allow undefined _DYNAMIC in PIE libc.a.
12539 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
12542 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
12544 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
12547 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
12549 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
12552 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
12554 * math/test-math-iscanonical.cc (error): Replace bool with int.
12556 2017-10-03 Joseph Myers <joseph@codesourcery.com>
12558 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
12559 (modf): Define using libm_alias_double, only if [!__modf].
12560 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
12561 <libm-alias-double.h>.
12562 (modf): Define using libm_alias_double, only if [!__modf].
12563 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
12564 compat symbol here.
12565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
12566 (weak_alias): Do not undefine and redefine.
12567 (strong_alias): Likewise.
12568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
12569 (weak_alias): Likewise.
12570 (strong_alias): Likewise.
12572 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
12573 (logb): Define using libm_alias_double, only if [!__logb].
12574 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
12575 <libm-alias-double.h>.
12576 (logb): Define using libm_alias_double, only if [!__logb].
12577 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
12578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
12579 (weak_alias): Do not undefine and redefine.
12580 (strong_alias): Likewise.
12581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
12582 (weak_alias): Likewise.
12583 (strong_alias): Likewise.
12585 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
12587 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
12588 Check SHARED instead PIC.
12590 2017-10-03 Joseph Myers <joseph@codesourcery.com>
12592 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
12593 [!__fmaf] (fmaf): Define using libm_alias_float.
12595 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
12596 (frexp): Define using libm_alias_double.
12597 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
12598 <libm-alias-double.h>.
12599 (frexp): Define using libm_alias_double.
12600 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
12601 compat symbol here.
12603 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12606 * math/math.h: Trivial fix for unbalanced parentheses in comment.
12607 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
12608 (CFLAGS-test-math-iscanonical.cc): New variable.
12609 * math/test-math-iscanonical.cc: New file.
12610 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
12611 Provide a C++ implementation based on function overloading,
12612 rather than using __MATH_TG, which uses C-only builtins.
12613 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
12615 * sysdeps/powerpc/powerpc64le/Makefile
12616 (CFLAGS-test-math-iscanonical.cc): New variable.
12618 2017-10-03 Joseph Myers <joseph@codesourcery.com>
12620 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
12621 (ceil): Define using libm_alias_double.
12622 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
12623 (floor): Define using libm_alias_double.
12624 * sysdeps/ieee754/dbl-64/s_llround.c: Include
12625 <libm-alias-double.h>.
12626 (llround): Define using libm_alias_double.
12627 * sysdeps/ieee754/dbl-64/s_lround.c: Include
12628 <libm-alias-double.h>.
12629 (lround): Define using libm_alias_double.
12630 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
12631 <libm-alias-double.h>.
12632 (nearbyint): Define using libm_alias_double.
12633 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
12634 <libm-alias-double.h>.
12635 (remquo): Define using libm_alias_double.
12636 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
12637 (rint): Define using libm_alias_double.
12638 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
12639 (round): Define using libm_alias_double.
12640 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
12641 (trunc): Define using libm_alias_double.
12642 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
12643 <libm-alias-double.h>.
12644 (ceil): Define using libm_alias_double.
12645 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
12646 <libm-alias-double.h>.
12647 (floor): Define using libm_alias_double.
12648 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
12649 <libm-alias-double.h>.
12650 (llround): Define using libm_alias_double.
12651 [_LP64] (lround): Likewise.
12652 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
12653 <libm-alias-double.h>.
12654 [!_LP64] (lround): Define using libm_alias_double.
12655 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
12656 <libm-alias-double.h>.
12657 (nearbyint): Define using libm_alias_double.
12658 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
12659 <libm-alias-double.h>.
12660 (remquo): Define using libm_alias_double.
12661 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
12662 <libm-alias-double.h>.
12663 (rint): Define using libm_alias_double.
12664 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
12665 <libm-alias-double.h>.
12666 (round): Define using libm_alias_double.
12667 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
12668 <libm-alias-double.h>.
12669 (trunc): Define using libm_alias_double.
12670 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
12671 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
12672 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
12673 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
12674 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
12675 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
12676 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
12677 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
12678 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
12680 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
12682 * math/w_remainder.c: New file.
12683 * math/w_remainderf.c: New file.
12684 * math/w_remainderl.c: New file.
12686 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
12688 * elf/rtld.c (BOOTSTRAP_MAP): New.
12689 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
12690 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12692 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12694 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12697 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12699 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
12700 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
12701 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
12702 rtld_hidden_data_ver): Define to empty.
12703 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
12704 __assert_perror_fail): Likewise.
12705 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
12706 (__rewinddir): Likewise.
12707 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
12708 (__profile_frequency): Likewise.
12709 * include/setjmp.h (__sigsetjmp): Likewise.
12710 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
12711 __libc_sigaction): Likewise.
12712 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
12713 not set hidden attribute.
12714 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
12715 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
12716 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
12717 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
12718 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
12719 __fxstatat64): Likewise.
12720 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
12721 (__uname): Likewise.
12722 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
12723 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
12724 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
12725 (NO_RTLD_HIDDEN): Set.
12726 * sysdeps/mach/hurd/configure: Refresh.
12727 * config.h.in: Refresh.
12729 2017-10-02 Joseph Myers <joseph@codesourcery.com>
12731 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
12732 (atan): Define using libm_alias_double.
12733 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
12734 (tan): Define using libm_alias_double.
12735 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
12736 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
12738 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
12739 define as weak alias of __atan. Do not define any aliases if
12741 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
12742 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
12743 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
12744 as weak alias of __tan. Do not define any aliases if [__tan].
12745 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
12746 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
12747 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
12749 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
12750 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
12751 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
12752 and define as weak alias of __atan.
12753 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
12755 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
12756 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
12757 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
12758 define as weak alias of __tan.
12760 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12762 * math/w_lgamma.c: New file.
12763 * math/w_lgammaf.c: New file.
12764 * math/w_lgammal.c: New file.
12766 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12768 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
12769 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
12770 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
12771 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
12772 * sysdeps/ieee754/flt-32/w_logf.c: New file.
12773 * sysdeps/ieee754/flt-32/w_powf.c: New file.
12774 * sysdeps/i386/fpu/w_log2f.c: New file.
12775 * sysdeps/i386/fpu/w_logf.c: New file.
12776 * sysdeps/i386/fpu/w_powf.c: New file.
12777 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
12778 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
12779 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
12781 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12782 H.J. Lu <hongjiu.lu@intel.com>
12784 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
12785 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
12786 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
12787 * sysdeps/ieee754/flt-32/w_expf.c: New file.
12788 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
12790 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
12791 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
12792 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
12793 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
12794 * sysdeps/i386/fpu/w_exp2f.c: New file.
12795 * sysdeps/i386/fpu/w_expf.c: New file.
12796 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
12797 * sysdeps/x86_64/fpu/w_expf.c: New file.
12799 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12801 * math/Versions (logf): New libm symbol at GLIBC_2.27.
12804 * math/w_log2f.c: New file.
12805 * math/w_logf.c: New file.
12806 * math/w_powf.c: New file.
12807 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
12808 * math/w_logf_compat.c (__logf_compat): Likewise.
12809 * math/w_powf_compat.c (__powf_compat): Likewise.
12810 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
12811 * sysdeps/ia64/fpu/e_logf.S: Likewise.
12812 * sysdeps/ia64/fpu/e_powf.S: Likewise.
12813 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
12814 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12815 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12816 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12817 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12818 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12819 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12820 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12821 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12822 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12823 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12824 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12833 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12834 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12835 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12836 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12837 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12842 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12843 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12844 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12846 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12848 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12849 (sysdep_routines): Add memrchr_power8.
12850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12851 (memrchr): Add __memrchr_power8 to list of memrchr functions.
12852 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
12854 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
12855 (memrchr): Add __memrchr_power8 to ifunc list.
12856 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
12858 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12861 * sysdeps/unix/sysv/linux/posix_fadvise64.c
12862 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
12864 * sysdeps/unix/sysv/linux/posix_fallocate64.c
12865 (__posix_fallocate64_l64): Likewise.
12867 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12870 * sysdeps/unix/sysv/linux/sched_setaffinity.c
12871 (__sched_setaffinity_new): Add libc_hidden_proto and
12874 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12877 * include/glob.h (__glob64): Add libc_hidden_proto.
12878 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
12881 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12884 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
12887 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12890 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
12892 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12895 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
12898 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12901 * csu/version.c (__libc_print_version): Add attribute_hidden.
12903 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12906 * include/libc-internal.h (__init_misc): Add attribute_hidden.
12908 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12911 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
12913 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12916 * nscd/nscd_helper.c (__nis_hash): New prototype.
12918 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12921 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
12922 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
12924 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12925 * termios/tcgetattr.c (__tcgetattr): Likewise.
12927 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12930 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
12931 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
12932 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
12933 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
12934 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
12936 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12939 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
12941 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12944 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
12945 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
12947 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12950 * intl/hash-string.h (__hash_string): Add attribute_hidden.
12952 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12955 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
12956 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
12958 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12961 * include/ifreq.h: New file.
12962 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
12963 (__ifreq): Likewise.
12964 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
12965 (__ifreq): Likewise.
12967 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12970 * include/idna.h: New file.
12971 * inet/getnameinfo.c: Include <idna.h> instead of
12973 (__idna_to_unicode_lzlz): Removed.
12974 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
12976 (__idna_to_ascii_lz): Removed.
12977 (__idna_to_unicode_lzlz): Likewise.
12979 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12982 * include/plural-exp.h: New file.
12983 * intl/plural-exp.c: Include <plural-exp.h> instead of
12986 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12989 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
12990 "getsourcefilter.h".
12991 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
12992 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
12993 "getsourcefilter.h".
12994 (__get_sol): Removed.
12996 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12999 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
13001 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
13003 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13006 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
13009 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13012 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
13014 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13017 * include/search.h (__tdestroy): Add libc_hidden_proto.
13018 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
13020 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13023 * include/assert.h (__assert_fail_base): Add attribute_hidden.
13025 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13028 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
13031 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13034 * include/signal.h (__kill): Add libc_hidden_proto.
13035 (__sigblock): Likewise.
13036 (__sigprocmask): Likewise.
13037 (__sigaltstack): Likewise.
13038 * signal/kill.c (__kill): Add libc_hidden_def.
13039 * signal/sigblock.c (__sigblock): Likewise.
13040 * signal/sigprocmask.c (__sigprocmask): Likewise.
13041 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
13042 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
13043 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
13044 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
13045 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
13047 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
13049 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
13050 (__sigprocmask): Likewise.
13051 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
13053 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
13054 (__sigprocmask): Likewise.
13055 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
13058 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13061 * include/string.h (__strsep): Add libc_hidden_proto.
13062 * string/strsep.c (__strsep): Add libc_hidden_def.
13064 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13067 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
13069 (__spawni): Likewise.
13071 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13074 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
13075 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
13078 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13081 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
13083 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13086 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
13087 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
13088 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
13089 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
13090 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
13092 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
13093 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
13095 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13098 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
13099 (__dcigettext): Likewise.
13101 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13104 * include/sys/sysinfo.h (__get_nprocs_conf): Add
13106 (__get_nprocs): Likewise.
13107 (__get_phys_pages): Likewise.
13108 (__get_avphys_pages): Likewise.
13109 (__get_child_max): Add attribute_hidden.
13110 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
13111 (__get_nprocs): Likewise.
13112 (__get_phys_pages): Likewise.
13113 (__get_avphys_pages): Likewise.
13114 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
13116 (__get_nprocs): Likewise.
13117 (__get_phys_pages): Likewise.
13118 (__get_avphys_pages): Likewise.
13119 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
13121 (__get_nprocs_conf): Likewise.
13122 (__get_phys_pages): Likewise.
13123 (__get_avphys_pages): Likewise.
13125 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13128 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
13130 (__netlink_close): Likewise.
13131 (__netlink_free_handle): Likewise.
13132 (__netlink_request): Likewise.
13134 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13137 * include/rpc/rpc.h (__rpc_thread_variables): Add
13139 (__rpc_thread_svc_cleanup): Likewise.
13140 (__rpc_thread_clnt_cleanup): Likewise.
13141 (__rpc_thread_key_cleanup): Likewise.
13143 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13146 * include/sys/uio.h (__readv): Add libc_hidden_proto.
13147 (__writev): Likewise.
13148 * misc/readv.c (__readv): Add libc_hidden_def.
13149 * misc/writev.c (__writev): Likewise.
13150 * sysdeps/posix/readv.c (__readv): Likewise.
13151 * sysdeps/posix/writev.c (__writev): Likewise.
13152 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
13153 (__readv): Likewise.
13154 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
13155 (__writev): Likewise.
13157 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13160 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
13161 (__regcomp): Add libc_hidden_proto.
13162 (__regexec): Likewise.
13163 (__regfree): Likewise.
13164 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
13165 (__regfree): Likewise.
13166 * posix/regexec.c (__regexec): Likewise.
13168 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13171 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
13172 (__getutent): Likewise.
13173 (__getutid): Likewise.
13174 (__getutline): Likewise.
13175 (__pututline): Likewise.
13176 (__getutent_r): Likewise.
13177 (__getutid_r): Likewise.
13178 (__getutline_r): Likewise.
13179 (__utmpname): Add attribute_hidden.
13180 (__setutent): Likewise.
13181 (__endutent): Likewise.
13182 * login/getutent.c (__getutent): Add libc_hidden_def.
13183 * login/getutent_r.c (__getutent_r): Likewise.
13184 (__pututline): Likewise.
13185 * login/getutid.c (__getutid): Likewise.
13186 * login/getutid_r.c (__getutid_r): Likewise.
13187 * login/getutline.c (__getutline): Likewise.
13188 * login/getutline_r.c (__getutline_r): Likewise.
13189 * login/updwtmp.c (__updwtmp): Likewise.
13191 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13194 * include/dirent.h (__opendir): Always add attribute_hidden.
13195 (__fdopendir): Likewise.
13196 (__closedir): Likewise.
13197 (__readdir): Likewise.
13198 (__readdir64): Add libc_hidden_proto.
13199 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
13200 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
13201 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
13202 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
13205 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13208 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
13209 * include/netdb.h (__gethostbyaddr_r): Likewise.
13210 (__gethostbyname_r): Likewise.
13211 (__gethostbyname2_r): Likewise.
13212 (__getnetbyaddr_r): Likewise.
13213 (__getnetbyname_r): Likewise.
13214 (__getservbyname_r): Likewise.
13215 (__getservbyport_r): Likewise.
13216 (__getprotobyname_r): Likewise.
13217 (__getprotobynumber_r): Likewise.
13218 (__getnetgrent_r): Likewise.
13219 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
13220 (__getrpcbynumber_r): Likewise.
13221 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
13223 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13226 * include/stdio.h (__fcloseall): Add attribute_hidden.
13227 (__getline): Likewise.
13228 (__path_search): Likewise.
13229 (__gen_tempname): Likewise.
13230 (__libc_message): Likewise.
13231 (__flockfile): Likewise.
13232 (__funlockfile): Likewise.
13233 (__fxprintf): Likewise.
13234 (__fxprintf_nocancel): Likewise.
13236 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13239 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
13240 (__sgetsgent_r): Likewise.
13242 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13245 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
13246 (__statfs64): Likewise.
13247 (__fstatfs64): Likewise.
13248 * include/sys/statvfs.h (__statvfs64): Likewise.
13249 (__fstatvfs64): Likewise.
13250 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
13251 (__statfs_filesize_max): Likewise.
13252 (__statfs_symlinks): Likewise.
13253 (__statfs_chown_restricted): Likewise.
13255 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13258 * include/time.h (__tzstring): Add attribute_hidden.
13259 (__tzfile_read): Likewise.
13260 (__tzfile_compute): Likewise.
13261 (__tzfile_default): Likewise.
13262 (__tzset_parse_tz): Likewise.
13263 (__offtime): Likewise.
13264 (__asctime_r): Likewise.
13265 (__tzset): Likewise.
13266 (__tz_convert): Likewise.
13267 (__getdate_r): Likewise.
13268 (__getclktck): Likewise.
13270 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13273 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
13274 (__nscd_unmap): Likewise.
13275 (__nscd_cache_search): Likewise.
13276 (__nscd_get_nl_timestamp): Likewise.
13277 (__nscd_getpwnam_r): Likewise.
13278 (__nscd_getpwuid_r): Likewise.
13279 (__nscd_getgrnam_r): Likewise.
13280 (__nscd_getgrgid_r): Likewise.
13281 (__nscd_gethostbyname_r): Likewise.
13282 (__nscd_gethostbyname2_r): Likewise.
13283 (__nscd_gethostbyaddr_r): Likewise.
13284 (__nscd_getai): Likewise.
13285 (__nscd_getgrouplist): Likewise.
13286 (__nscd_getservbyname_r): Likewise.
13287 (__nscd_getservbyport_r): Likewise.
13288 (__nscd_innetgr): Likewise.
13289 (__nscd_setnetgrent): Likewise.
13291 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13294 * include/gmp.h: Declare internal functions only if _ISOMAC is
13296 (__mpn_extract_double): Add attribute_hidden.
13297 (__mpn_extract_long_double): Likewise.
13298 (__mpn_extract_float128): Likewise.
13299 (__mpn_construct_float): Likewise.
13300 (__mpn_construct_double): Likewise.
13301 (__mpn_construct_long_double): Likewise.
13302 (__mpn_construct_float128): Likewise.
13303 (mpn_add_1): Likewise.
13304 (mpn_addmul_1): Likewise.
13305 (mpn_add_n): Likewise.
13306 (mpn_cmp): Likewise.
13307 (mpn_divrem): Likewise.
13308 (mpn_lshift): Likewise.
13309 (mpn_mul): Likewise.
13310 (mpn_mul_1): Likewise.
13311 (mpn_rshift): Likewise.
13312 (mpn_sub_1): Likewise.
13313 (mpn_submul_1): Likewise.
13314 (mpn_sub_n): Likewise.
13316 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13319 * include/wchar.h (__wcsnlen): Add attribute_hidden.
13320 (__wcscat): Likewise.
13321 (__btowc): Likewise.
13322 (__wcrtomb): Likewise.
13323 (__mbsrtowcs): Likewise.
13324 (__wcsrtombs): Likewise.
13325 (__mbsnrtowcs): Likewise.
13326 (__wcsnrtombs): Likewise.
13327 (__wcsncpy): Likewise.
13328 (__wcpncpy): Likewise.
13329 (__wmemcpy): Likewise.
13330 (__wmempcpy): Likewise.
13331 (__wmemmove): Likewise.
13332 (__wcschrnul): Likewise.
13333 (__vfwscanf): Likewise.
13334 (__vswprintf): Likewise.
13335 (__fwprintf): Likewise.
13336 (__vfwprintf): Likewise.
13338 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13341 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
13342 (__getgrgid_r): Likewise.
13343 (__getgrnam_r): Likewise.
13344 * include/pwd.h (__getpwuid_r): Likewise.
13345 (__getpwnam_r): Likewise.
13346 (__fgetpwent_r): Likewise.
13347 * include/shadow.h (__getspnam_r): Likewise.
13348 (__sgetspent_r): Likewise.
13349 (__fgetspent_r): Likewise.
13351 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13354 * include/unistd.h (__access): Add attribute_hidden.
13355 (__lseek64): Likewise.
13356 (__libc_pread64): Likewise.
13357 (__pipe2): Likewise.
13358 (__sleep): Likewise.
13359 (__chdir): Likewise.
13360 (__fchdir): Likewise.
13361 (__getcwd): Likewise.
13362 (__rmdir): Likewise.
13363 (__execvpe): Likewise.
13364 (__execve): Likewise.
13365 (__setsid): Likewise.
13366 (__getuid): Likewise.
13367 (__geteuid): Likewise.
13368 (__getgid): Likewise.
13369 (__getegid): Likewise.
13370 (__getgroups): Likewise.
13371 (__group_member): Likewise.
13372 (__ttyname_r): Likewise.
13373 (__isatty): Likewise.
13374 (__readlink): Likewise.
13375 (__unlink): Likewise.
13376 (__gethostname): Likewise.
13377 (__profil): Likewise.
13378 (__getdtablesize): Likewise.
13380 (__ftruncate): Likewise.
13381 (__ftruncate64): Likewise.
13383 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13386 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
13387 * argp/argp-fs-xinl.c: Likewise.
13388 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
13389 * argp/argp-parse.c: Include <argp.h>.
13390 * argp/argp-xinl.c: Likewise.
13391 * include/argp-fmtstream.h: New file.
13392 * include/argp.h (__argp_error): Add attribute_hidden.
13393 (__argp_failure): Likewise.
13394 (__argp_input): Likewise.
13395 (__argp_state_help): Likewise.
13397 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13400 * include/wchar.h (____wcstof_l_internal): New prototype.
13401 (____wcstod_l_internal): Likewise.
13402 (____wcstold_l_internal): Likewise.
13403 (____wcstol_l_internal): Likewise.
13404 (____wcstoul_l_internal): Likewise.
13405 (____wcstoll_l_internal): Likewise.
13406 (____wcstoull_l_internal): Likewise.
13407 (____wcstof128_l_internal): Likewise.
13408 * sysdeps/ieee754/float128/wcstof128.c
13409 (____wcstof128_l_internal): Removed.
13410 * sysdeps/ieee754/float128/wcstof128_l.c
13411 (____wcstof128_l_internal): Likewise.
13412 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
13413 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
13414 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
13415 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
13416 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
13417 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
13418 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
13419 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
13420 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
13421 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
13423 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13426 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
13427 instead of <sys/statvfs.h>.
13428 (__internal_statvfs): Removed.
13429 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
13430 instead of <sys/statvfs.h>.
13431 (__internal_statvfs64): Removed.
13432 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
13433 "internal_statvfs.h" instead of <sys/statvfs.h>.
13434 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
13435 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
13436 instead of <sys/statvfs.h>.
13437 (__internal_statvfs): Removed.
13438 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
13439 instead of <sys/statvfs.h>.
13440 (__internal_statvfs64): Removed.
13442 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13445 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
13446 (__gconv_close): Likewise.
13447 (__gconv): Likewise.
13448 (__gconv_find_transform): Likewise.
13449 (__gconv_lookup_cache): Likewise.
13450 (__gconv_compare_alias_cache): Likewise.
13451 (__gconv_load_cache): Likewise.
13452 (__gconv_get_path): Likewise.
13453 (__gconv_close_transform): Likewise.
13454 (__gconv_release_cache): Likewise.
13455 (__gconv_find_shlib): Likewise.
13456 (__gconv_release_shlib): Likewise.
13457 (__gconv_get_builtin_trans): Likewise.
13458 (__gconv_compare_alias): Likewise.
13459 * include/dlfcn.h (_dlerror_run): Likewise.
13460 * include/stdio.h (__fortify_fail_abort): Likewise.
13461 * include/time.h (__tz_compute): Likewise.
13462 (__strptime_internal): Likewise.
13463 * intl/gettextP.h (_nl_find_domain): Likewise.
13464 (_nl_load_domain): Likewise.
13465 (_nl_find_msg): Likewise.
13466 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
13467 (EXTRACT_PLURAL_EXPRESSION): Likewise.
13468 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
13469 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
13470 (__gai_find_request): Likewise.
13471 (__gai_remove_request): Likewise.
13472 (__gai_notify): Likewise.
13473 (__gai_notify_only): Likewise.
13474 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
13475 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
13476 (_dl_non_dynamic_init): Likewise.
13477 (_dl_aux_init): Likewise.
13478 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
13479 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
13481 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
13482 (__wcsmbs_clone_conv): Likewise.
13483 (__wcsmbs_named_conv): Likewise.
13485 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13488 * include/stdlib.h (__random): Add attribute_hidden.
13489 (__random_r): Likewise.
13490 (__srandom_r): Likewise.
13491 (__initstate_r): Likewise.
13492 (__setstate_r): Likewise.
13493 (__erand48_r): Likewise.
13494 (__nrand48_r): Likewise.
13495 (__jrand48_r): Likewise.
13496 (__srand48_r): Likewise.
13497 (__seed48_r): Likewise.
13498 (__lcong48_r): Likewise.
13499 (__drand48_iterate): Likewise.
13500 (__setenv): Likewise.
13501 (__unsetenv): Likewise.
13502 (__clearenv): Likewise.
13503 (__ptsname_r): Likewise.
13504 (__posix_openpt): Likewise.
13505 (__add_to_environ): Likewise.
13506 (__realpath): Add libc_hidden_proto.
13507 (__ecvt_r): Likewise.
13508 (__fcvt_r): Likewise.
13509 (__qecvt_r): Likewise.
13510 (__qfcvt_r): Likewise.
13511 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
13512 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
13514 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13517 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
13518 * include/time.h (__mktime_internal): Likewise.
13519 * libio/iolibio.h (__fopen_internal): Likewise.
13521 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
13523 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
13525 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
13526 Correct offset used to restore PIC register.
13528 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
13531 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
13532 code to load address of __getcontext_ret when generating PIC code.
13534 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
13536 * elf/Makefile (tests-static-internal): Add
13537 tst-tls1-static-non-pie.
13538 (LDFLAGS-tst-tls1-static-non-pie): New.
13539 * elf/tst-tls1-static-non-pie.c: New file.
13541 2017-09-29 Joseph Myers <joseph@codesourcery.com>
13543 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
13544 (asinh): Define using libm_alias_double.
13545 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
13546 (cbrt): Define using libm_alias_double.
13547 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
13548 <libm-alias-double.h>.
13549 (copysign): Define using libm_alias_double.
13550 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
13551 (erf): Define using libm_alias_double.
13553 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
13554 (expm1): Define using libm_alias_double.
13555 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
13556 (fabs): Define using libm_alias_double.
13557 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
13559 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
13560 <libm-alias-double.h>.
13561 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
13563 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
13564 <libm-alias-double.h>.
13565 (getpayload): Define using libm_alias_double.
13566 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
13567 <libm-alias-double.h>.
13568 (llrint): Define using libm_alias_double.
13569 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
13570 (lrint): Define using libm_alias_double.
13571 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
13572 <libm-alias-double.h>.
13573 (nextup): Define using libm_alias_double.
13574 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
13575 <libm-alias-double.h>.
13576 (roundeven): Define using libm_alias_double.
13577 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
13579 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
13580 <libm-alias-double.h>.
13581 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
13582 using libm_alias_double.
13583 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
13584 (cos): Define using libm_alias_double.
13586 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
13587 <libm-alias-double.h>.
13588 (sincos): Define using libm_alias_double.
13589 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
13590 (tanh): Define using libm_alias_double.
13591 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
13592 <libm-alias-double.h>.
13593 (totalorder): Define using libm_alias_double.
13594 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
13595 <libm-alias-double.h>.
13596 (totalordermag): Define using libm_alias_double.
13597 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
13599 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
13601 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
13602 <libm-alias-double.h>.
13603 (getpayload): Define using libm_alias_double.
13604 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
13605 <libm-alias-double.h>.
13606 (roundeven): Define using libm_alias_double.
13607 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
13608 <libm-alias-double.h>.
13609 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
13610 <libm-alias-double.h>.
13611 (totalorder): Define using libm_alias_double.
13612 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
13613 <libm-alias-double.h>.
13614 (totalordermag): Define using libm_alias_double.
13615 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
13616 libc compat symbol here.
13617 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
13618 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
13619 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
13620 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
13621 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
13622 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
13623 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
13624 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
13625 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
13626 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
13628 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
13630 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
13631 _dl_relocate_static_pie instead of _dl_start to compute load
13632 address in static PIE. Return 0 if _DYNAMIC is undefined for
13635 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
13637 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
13638 _DYNAMIC is undefined for static executable.
13640 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
13642 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
13644 2017-09-29 Joseph Myers <joseph@codesourcery.com>
13646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13648 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
13650 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
13651 (__ieee754_lgamma_r): Use fabs rather than __fabs.
13652 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13653 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13654 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
13655 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
13656 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
13657 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
13658 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
13659 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
13660 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
13661 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
13662 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
13663 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
13664 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13665 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13666 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
13668 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
13670 * math/bits/cmathcalls.h (cimag): Remove inline.
13671 (creal): Remove inline.
13672 (conj): Remove inline.
13674 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
13676 * math/Makefile (type-float-routines): Add e_powf_log2_data.
13677 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
13678 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
13679 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
13680 (issignalingf_inline): Likewise.
13681 (POWF_LOG2_TABLE_BITS): Likewise.
13682 (POWF_LOG2_POLY_ORDER): Likewise.
13683 (POWF_SCALE_BITS): Likewise.
13684 (POWF_SCALE): Likewise.
13685 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
13686 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
13687 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
13689 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
13691 * math/Makefile (type-float-routines): Add e_log2f_data.
13692 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
13693 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
13694 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
13695 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
13696 * sysdeps/i386/fpu/e_log2f_data.c: New file.
13697 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
13698 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
13700 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
13702 * math/Makefile (type-float-routines): Add e_logf_data.
13703 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
13704 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
13705 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
13706 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
13707 * sysdeps/i386/fpu/e_logf_data.c: New file.
13708 * sysdeps/ia64/fpu/e_logf_data.c: New file.
13709 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
13711 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
13713 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
13714 undefined _DYNAMIC in PIE libc.a.
13715 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
13718 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
13720 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
13721 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
13722 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
13723 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
13724 (__signbit): Remove.
13725 (__signbitl): Remove.
13726 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
13727 (__signbit): Remove.
13728 (__signbitl): Remove.
13729 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
13730 (__signbit): Remove.
13731 (__signbitl): Remove.
13732 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
13733 (__signbit): Remove.
13734 (__signbitl): Remove.
13735 * sysdeps/tile/bits/mathinline.h: Delete file.
13736 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
13737 (__signbit): Remove.
13738 (__signbitl): Remove.
13740 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
13742 * math/math.h: Improve handling of C99 isgreater macros.
13743 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
13744 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
13745 * sysdeps/powerpc/bits/mathinline.h: Likewise.
13746 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13747 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
13749 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
13751 * sysdeps/aarch64/libm-test-ulps: Update.
13753 2017-09-28 Joseph Myers <joseph@codesourcery.com>
13756 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13757 math_opt_barrier on argument when doing arithmetic on it.
13758 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13759 Likewise. Use math_force_eval not math_opt_barrier after
13761 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
13762 math_opt_barrier on argument when doing arithmetic on it.
13763 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13766 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
13768 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
13770 (__freeifaddrs): Likewise.
13772 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13774 * include/dirent.h (__dirfd): New declaration.
13775 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
13777 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
13778 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
13779 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
13780 * include/unistd.h (__revoke): New declaration.
13781 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
13783 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
13784 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
13786 * include/dirent.h (__seekdir): New declaration.
13787 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
13788 redefine as weak alias.
13789 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
13791 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
13792 and use libc_hidden_def on them.
13793 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
13795 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
13796 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
13797 instead of getifaddrs and freeifaddrs.
13799 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
13802 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
13803 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
13804 (__dso_handle): Remove declaration.
13805 * dlfcn/tstatexit.c (__dso_handle): Removed.
13806 (main): Don't check __dso_handle.
13807 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
13808 (main): Don't check __dso_handle.
13809 * include/dso_handle.h: New file.
13810 * malloc/mtrace.c: Include <dso_handle.h>.
13811 (mtrace): Pass __dso_handle directly.
13812 * nptl/pthread_atfork.c: Include <dso_handle.h>.
13813 (__dso_handle): Remove declaration.
13814 (__pthread_atfork): Pass __dso_handle directly.
13815 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
13816 (__dso_handle): Removed.
13817 * posix/wordexp-test.c: Include <dso_handle.h>.
13818 (__dso_handle): Remove declaration.
13819 (__app_register_atfork): Pass __dso_handle directly.
13820 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
13821 (__dso_handle): Remove declaration.
13822 (at_quick_exit): Pass __dso_handle directly.
13823 * stdlib/atexit.c: Include <dso_handle.h>.
13824 (__dso_handle): Remove declaration.
13825 (atexit): Pass __dso_handle directly.
13826 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
13827 (__dso_handle): Removed.
13829 2017-09-26 Joseph Myers <joseph@codesourcery.com>
13831 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
13834 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
13836 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
13837 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
13838 values to correct default value for given type.
13840 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
13843 * elf/Makefile (tests): Add tst-debug1.
13844 ($(objpfx)tst-debug1): New.
13845 ($(objpfx)tst-debug1.out): Likewise.
13846 ($(objpfx)tst-debug1mod1.so): Likewise.
13847 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
13848 with p_filesz == 0.
13849 * elf/tst-debug1.c: New file.
13851 2017-09-26 Joseph Myers <joseph@codesourcery.com>
13853 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
13854 Define using __ifunc.
13856 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13858 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
13861 2017-09-26 Joseph Myers <joseph@codesourcery.com>
13864 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
13866 2017-09-26 Florian Weimer <fweimer@redhat.com>
13868 * resolv/Makefile (tests-internal): Fix typo in comment.
13870 2017-09-26 Florian Weimer <fweimer@redhat.com>
13872 * resolv/nss_dns/dns-host.c: Fix typo in comment.
13874 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13876 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
13877 Use an union instead of a max_align_t array for __space,
13878 so that __space is the same size on all platforms.
13879 * malloc/scratch_buffer_grow_preserve.c
13880 (__libc_scratch_buffer_grow_preserve): Likewise.
13883 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
13885 * posix/Makefile (routines): Add glob-lstat-compat and
13886 glob64-lstat-compat.
13887 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
13888 * posix/glob-lstat-compat.c: New file.
13889 * posix/glob64-lstat-compat.c: Likewise.
13890 * posix/tst-glob_lstat_compat.c: Likewise.
13891 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
13892 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
13893 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
13894 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
13896 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
13897 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
13898 * posix/glob.c (glob_lstat): New function.
13899 (glob): Rename to __glob and add versioned symbol to 2.27.
13900 (glob_in_dir): Use glob_lstat.
13901 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
13902 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13903 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
13905 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
13906 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
13907 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
13908 gl_lstat on glob call.
13909 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
13910 and glob64 symbols.
13911 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13912 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13913 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13914 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13915 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13916 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13917 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13918 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13919 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13920 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13921 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13922 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13925 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13927 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13928 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13929 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13930 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13931 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13934 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13935 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13936 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13938 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
13940 * configure.ac (AS): Require binutils 2.25 or later.
13941 * configure: Regenerated.
13943 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
13946 * stdlib/test-atexit-race-common.c (do_test): Minimize required
13949 2017-09-25 DJ Delorie <dj@redhat.com>
13952 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
13955 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13957 * sysdeps/ieee754/dbl-64/sincos32.h
13958 [SINCCOS32_H]: Remove define.
13959 [SINCOS32_H]: Define.
13961 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
13963 * math/Versions (expf): New libm symbol at GLIBC_2.27.
13965 * math/w_exp2f.c: New file.
13966 * math/w_expf.c: New file.
13967 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
13968 * math/w_expf_compat.c (__expf_compat): Likewise.
13969 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
13970 * sysdeps/ia64/fpu/e_expf.S: Likewise.
13971 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
13972 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13973 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13974 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13975 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13976 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13977 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13978 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13979 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13980 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13981 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13982 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13991 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13992 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13993 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13994 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13995 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14000 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14001 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14002 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14004 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
14006 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
14007 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
14008 (roundtoint, converttoint): Likewise.
14009 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
14010 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
14011 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
14012 * sysdeps/ieee754/flt-32/math_config.h: New file.
14013 * sysdeps/ieee754/flt-32/math_errf.c: New file.
14014 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
14015 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
14016 * sysdeps/i386/fpu/math_errf.c: New file.
14017 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
14018 * sysdeps/ia64/fpu/math_errf.c: New file.
14019 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
14020 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
14022 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
14024 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
14025 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
14026 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
14027 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
14028 to make sure that these symbols are defined.
14029 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
14031 (__need_NULL): Do not define.
14032 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
14034 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
14035 CMGROUP_MAX, cmsgcred): Do not define.
14036 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
14038 * bits/socket.h: Likewise.
14039 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
14040 __gettimeofday instead of gettimeofday.
14041 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
14042 instead of settimeofday.
14044 2017-09-22 Joseph Myers <joseph@codesourcery.com>
14046 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
14047 (asinhf): Define using libm_alias_float.
14048 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
14049 (atanf): Define using libm_alias_float.
14050 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
14051 (cbrtf): Define using libm_alias_float.
14052 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
14053 (ceilf): Define using libm_alias_float.
14054 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
14055 <libm-alias-float.h>.
14056 (copysignf): Define using libm_alias_float.
14057 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
14058 (cosf): Define using libm_alias_float.
14059 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
14060 (erff): Define using libm_alias_float.
14062 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
14063 (expm1f): Define using libm_alias_float.
14064 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
14065 (fabsf): Define using libm_alias_float.
14066 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
14067 (floorf): Define using libm_alias_float.
14068 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
14069 (frexpf): Define using libm_alias_float.
14070 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
14072 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
14073 <libm-alias-float.h>.
14074 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
14076 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
14077 <libm-alias-float.h>.
14078 (getpayloadf): Define using libm_alias_float.
14079 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
14080 <libm-alias-float.h>.
14081 (llrintf): Define using libm_alias_float.
14082 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
14083 <libm-alias-float.h>.
14084 (llroundf): Define using libm_alias_float.
14085 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
14086 (logbf): Define using libm_alias_float.
14087 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
14088 (lrintf): Define using libm_alias_float.
14089 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
14090 (lroundf): Define using libm_alias_float.
14091 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
14092 (modff): Define using libm_alias_float.
14093 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
14094 <libm-alias-float.h>.
14095 (nearbyintf): Define using libm_alias_float.
14096 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
14097 <libm-alias-float.h>.
14098 (nextafterf): Define using libm_alias_float.
14099 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
14100 <libm-alias-float.h>.
14101 (nextupf): Define using libm_alias_float.
14102 * sysdeps/ieee754/flt-32/s_remquof.c: Include
14103 <libm-alias-float.h>.
14104 (remquof): Define using libm_alias_float.
14105 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
14106 (rintf): Define using libm_alias_float.
14107 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
14108 <libm-alias-float.h>.
14109 (roundevenf): Define using libm_alias_float.
14110 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
14111 (roundf): Define using libm_alias_float.
14112 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
14113 using libm_alias_float.
14114 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
14115 <libm-alias-float.h>.
14116 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
14117 Define using libm_alias_float.
14118 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
14119 <libm-alias-float.h>.
14120 (sincosf): Define using libm_alias_float.
14121 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
14122 (sinf): Define using libm_alias_float.
14123 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
14124 (tanf): Define using libm_alias_float.
14125 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
14126 (tanhf): Define using libm_alias_float.
14127 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
14128 <libm-alias-float.h>.
14129 (totalorderf): Define using libm_alias_float.
14130 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
14131 <libm-alias-float.h>.
14132 (totalordermagf): Define using libm_alias_float.
14133 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
14134 (truncf): Define using libm_alias_float.
14135 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
14137 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
14140 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14143 math/math.h: Let fpclassify use the builtin in C++ mode, even
14144 when optimazing for size.
14146 2017-09-22 Joseph Myers <joseph@codesourcery.com>
14148 * csu/Makefile (generated): Do not add version-info.h.
14149 (before-compile): Likewise.
14150 (all-Banner-files): Remove variable.
14151 ($(objpfx)version-info.h): Remove rule.
14152 * csu/version.c (banner): Do not include "version-info.h".
14153 * libidn/Banner: Remove.
14154 * manual/contrib.texi (Simon Josefsson): New entry.
14156 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14158 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14159 Remove conditionals on LDBL_MANT_DIG.
14160 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
14161 (__ieee754_lgammal_r): Likewise.
14163 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14165 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
14167 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
14168 _Float128 and L(). Replace _Float128 with long double and L(x)
14169 with xL, throughout the file.
14170 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14171 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
14172 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
14173 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
14175 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14177 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
14178 sysdeps/ieee754/ldbl-128ibm.
14179 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
14180 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
14181 of including it. Keep _Float128 and L() intact. These will be
14182 reviewed by a separate patch.
14183 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14184 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
14185 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
14186 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
14188 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
14191 (__finitef128): Define to __redirect___finitef128.
14192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
14193 (__isinff128): Define to __redirect___isinff128.
14194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
14195 (__isnanf128): Define to __redirect___isnanf128.
14197 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14199 * sysdeps/powerpc/powerpc64le/Makefile
14200 (CFLAGS-tst-strtod-nan-locale.c): New variable.
14201 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
14203 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
14204 Carlos O'Donell <carlos@redhat.com>
14207 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
14208 * stdlib/test-dlclose-exit-race.c: New file.
14209 * stdlib/test-dlclose-exit-race-helper.c: New file.
14210 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
14212 2017-09-21 Joseph Myers <joseph@codesourcery.com>
14214 * crypt/Banner: Remove file.
14215 * nptl/Banner: Likewise.
14216 * resolv/Banner: Likewise.
14217 * soft-fp/Banner: Likewise.
14218 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
14219 ($(objpfx)version.d): Remove dependency on banner.h.
14220 ($(objpfx)version.os): Likewise.
14221 * nptl/version.c (banner): Do not include banner.h.
14222 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
14223 Jelinek and BIND code.
14225 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
14226 Carlos O'Donell <carlos@redhat.com>
14228 * support/xdlfcn.h: New file.
14229 * support/xdlfcn.c: New file.
14230 * support/Makefile (libsupport-routines): Add xdlfcn.
14231 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
14233 2017-09-20 Joseph Myers <joseph@codesourcery.com>
14236 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14237 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
14238 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
14239 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
14240 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
14241 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
14242 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
14243 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
14245 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
14246 Ricky Zhou <rickyz@google.com>
14247 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
14250 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
14252 (__new_exitfn): Fail registration when we finished at_exit processing.
14253 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
14254 * stdlib/on_exit.c (__on_exit): Likewise.
14255 * stdlib/exit.c (__exit_funcs_done): New variable.
14256 (__run_exit_handlers): Use __exit_funcs_lock.
14257 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
14259 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
14260 (test-cxa_atexit-race, test-on_exit-race): New tests.
14261 * stdlib/test-atexit-race-common.c: New file.
14262 * stdlib/test-atexit-race.c: New file.
14263 * stdlib/test-at_quick_exit-race.c: New file.
14264 * stdlib/test-cxa_atexit-race.c: New file.
14265 * stdlib/test-on_exit-race.c: New file.
14267 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
14269 * benchtests/Makefile: Add exp2f and log2f benchmarks.
14270 * benchtests/exp2f-inputs: Copy of expf-inputs.
14271 * benchtests/log2f-inputs: Copy of logf-inputs.
14273 2017-09-19 Joseph Myers <joseph@codesourcery.com>
14275 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
14276 Explicitly take address of first element of array arguments in
14277 call to INLINE_SYSCALL.
14279 2017-09-19 Andreas Schwab <schwab@suse.de>
14282 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
14284 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
14286 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
14287 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
14288 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14289 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
14290 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14291 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
14292 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14293 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
14294 * posix/Makefile (tests): Add tst-fexecve.
14295 * posix/tst-fexecve.c: New file.
14297 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
14299 * benchtests/Makefile: Add logf benchmark.
14300 * benchtests/logf-inputs: Add reduced trace from wrf_r.
14302 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
14304 * benchtests/Makefile: Add expf benchmark.
14305 * benchtests/expf-inputs: Add reduced trace from wrf_r.
14307 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
14309 * csu/Makefile: Add -funwind-tables to libc-start.c.
14310 * debug/Makefile: Add -funwind-tables to backtrace.c.
14311 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
14312 * sysdeps/arm/Makefile: Likewise.
14313 * sysdeps/i386/Makefile: Likewise.
14314 * sysdeps/m68k/Makefile: Likewise.
14315 * sysdeps/mips/Makefile: Likewise.
14316 * sysdeps/nios2/Makefile: Likewise.
14317 * sysdeps/sh/Makefile: Likewise.
14318 * sysdeps/sparc/Makefile: Likewise.
14320 2017-09-19 Joseph Myers <joseph@codesourcery.com>
14322 * benchtests/Makefile (bench-math): Add trunc and truncf.
14323 (CFLAGS-bench-trunc.c): New variable.
14324 (CFLAGS-bench-truncf.c): Likewise.
14325 * benchtests/trunc-inputs: New file.
14326 * benchtests/truncf-inputs: Likewise.
14328 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14330 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
14332 2017-09-18 Joseph Myers <joseph@codesourcery.com>
14334 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
14335 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
14337 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
14338 (exp10l): Define as weak alias.
14339 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
14340 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
14342 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
14343 (remainderl): Define as weak alias.
14345 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
14346 (fmal): Define using libm_alias_ldouble.
14347 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
14348 (acoshl): Define using libm_alias_ldouble.
14349 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
14350 (acosl): Define using libm_alias_ldouble.
14351 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
14352 (asinl): Define using libm_alias_ldouble.
14353 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
14354 (atan2l): Define using libm_alias_ldouble.
14355 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
14356 (atanhl): Define using libm_alias_ldouble.
14357 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
14358 (coshl): Define using libm_alias_ldouble.
14359 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
14360 (exp10l): Define using libm_alias_ldouble.
14361 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
14362 (exp2l): Define using libm_alias_ldouble.
14363 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
14364 (expl): Define using libm_alias_ldouble.
14365 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
14366 (fmodl): Define using libm_alias_ldouble.
14367 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
14368 (hypotl): Define using libm_alias_ldouble.
14369 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
14370 (j0l): Define using libm_alias_ldouble.
14372 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
14373 (j1l): Define using libm_alias_ldouble.
14375 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
14376 (jnl): Define using libm_alias_ldouble.
14378 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
14379 (log10l): Define using libm_alias_ldouble.
14380 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
14381 (log2l): Define using libm_alias_ldouble.
14382 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
14383 (logl): Define using libm_alias_ldouble.
14384 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
14385 (powl): Define using libm_alias_ldouble.
14386 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
14387 (remainderl): Define using libm_alias_ldouble.
14388 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
14389 (sinhl): Define using libm_alias_ldouble.
14390 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
14391 (sqrtl): Define using libm_alias_ldouble.
14392 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
14393 (tgammal): Define using libm_alias_ldouble.
14394 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
14395 (exp10l): Do not use long_double_symbol here.
14396 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
14397 [LIBM_SVID_COMPAT] (remainderl): Likewise.
14398 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
14399 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
14400 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
14401 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
14402 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
14403 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
14404 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
14405 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
14406 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
14407 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
14408 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
14409 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
14410 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
14411 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
14412 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
14413 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
14414 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
14415 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
14416 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
14417 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
14419 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
14421 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
14422 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
14424 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14426 * io/read.c (read): Add libc_hidden_weak.
14427 * sysdeps/mach/hurd/read.c (read): Likewise.
14428 * io/write.c (write): Likewise.
14429 * sysdeps/mach/hurd/write.c (write): Likewise.
14430 * io/pread64.c (__pread64): Likewise.
14431 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
14432 * posix/pread64.c (__pread64): Add libc_hidden_def.
14434 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
14436 * benchtests/scripts/compare_strings.py: New option -g.
14437 (draw_graph): Print a message that a graph is being generated.
14438 (process_results): Generate graph only if -g is passed.
14439 (main): Process option -g.
14441 * benchtests/scripts/compare_strings.py (process_results):
14442 Better spacing for output.
14444 * benchtests/scripts/compare_strings.py: Use argparse.
14445 * benchtests/README: Document existence of compare_strings.py.
14447 2017-09-15 Joseph Myers <joseph@codesourcery.com>
14449 * math/s_fma.c: Include <libm-alias-double.h>.
14450 (fma): Define using libm_alias_double.
14451 * math/s_nextafter.c: Include <libm-alias-double.h>.
14452 (nextafter): Define using libm_alias_double.
14453 * math/w_acos_compat.c: Include <libm-alias-double.h>.
14454 (acos): Define using libm_alias_double.
14455 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
14456 (aocsh): Define using libm_alias_double.
14457 * math/w_asin_compat.c: Include <libm-alias-double.h>.
14458 (asin): Define using libm_alias_double.
14459 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
14460 (atan2): Define using libm_alias_double.
14461 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
14462 (atanh): Define using libm_alias_double.
14463 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
14464 (cosh): Define using libm_alias_double.
14465 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
14466 (exp10): Define using libm_alias_double.
14467 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
14468 (exp2): Define using libm_alias_double.
14469 * math/w_exp_compat.c: Include <libm-alias-double.h>.
14470 (exp): Define using libm_alias_double.
14471 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
14472 (fmod): Define using libm_alias_double.
14473 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
14474 (hypot): Define using libm_alias_double.
14475 * math/w_j0_compat.c: Include <libm-alias-double.h>.
14476 (j0): Define using libm_alias_double.
14478 * math/w_j1_compat.c: Include <libm-alias-double.h>.
14479 (j1): Define using libm_alias_double.
14481 * math/w_jn_compat.c: Include <libm-alias-double.h>.
14482 (jn): Define using libm_alias_double.
14484 * math/w_log10_compat.c: Include <libm-alias-double.h>.
14485 (log10): Define using libm_alias_double.
14486 * math/w_log2_compat.c: Include <libm-alias-double.h>.
14487 (log2): Define using libm_alias_double.
14488 * math/w_log_compat.c: Include <libm-alias-double.h>.
14489 (log): Define using libm_alias_double.
14490 * math/w_pow_compat.c: Include <libm-alias-double.h>.
14491 (pow): Define using libm_alias_double.
14492 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
14493 (remainder): Define using libm_alias_double.
14494 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
14495 (sinh): Define using libm_alias_double.
14496 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
14497 (sqrt): Define using libm_alias_double.
14498 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
14499 (tgamma): Define using libm_alias_double.
14500 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
14501 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
14502 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
14503 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
14504 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
14505 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
14506 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
14507 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
14508 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
14509 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
14510 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
14511 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
14512 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
14513 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
14514 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
14515 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
14516 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
14517 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
14518 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
14519 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
14520 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
14521 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
14522 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
14523 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
14524 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
14526 * math/e_acoshl.c: Remove.
14527 * math/e_acosl.c: Likewise.
14528 * math/e_asinl.c: Likewise.
14529 * math/e_atan2l.c: Likewise.
14530 * math/e_atanhl.c: Likewise.
14531 * math/e_coshl.c: Likewise.
14532 * math/e_expl.c: Likewise.
14533 * math/e_fmodl.c: Likewise.
14534 * math/e_gammal_r.c: Likewise.
14535 * math/e_hypotl.c: Likewise.
14536 * math/e_j0l.c: Likewise.
14537 * math/e_j1l.c: Likewise.
14538 * math/e_jnl.c: Likewise.
14539 * math/e_lgammal_r.c: Likewise.
14540 * math/e_log10l.c: Likewise.
14541 * math/e_log2l.c: Likewise.
14542 * math/e_logl.c: Likewise.
14543 * math/e_powl.c: Likewise.
14544 * math/e_rem_pio2l.c: Likewise.
14545 * math/e_sinhl.c: Likewise.
14546 * math/e_sqrtf128.c: Likewise.
14547 * math/e_sqrtl.c: Likewise.
14548 * math/k_cosl.c: Likewise.
14549 * math/k_sinl.c: Likewise.
14550 * math/k_tanl.c: Likewise.
14551 * math/s_asinhl.c: Likewise.
14552 * math/s_atanl.c: Likewise.
14553 * math/s_cbrtl.c: Likewise.
14554 * math/s_erfl.c: Likewise.
14555 * math/s_expm1l.c: Likewise.
14556 * math/s_log1pl.c: Likewise.
14557 * math/s_tanhl.c: Likewise.
14559 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14562 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
14563 [$(subdir) = math] (sysdep_calls): New variable. Has the
14564 previous contents of sysdep_routines, but re-sorted..
14565 [$(subdir) = math] (sysdep_routines): Re-use the contents from
14567 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
14568 defined in sysdep_calls and replace by the respective m_* names.
14569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
14570 (compat_symbol): Undefine to avoid duplicated compat symbols in
14573 2017-09-15 Joseph Myers <joseph@codesourcery.com>
14575 * math/s_fmaf.c: Include <libm-alias-float.h>.
14576 (fmaf): Define using libm_alias_float.
14577 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
14578 (acosf): Define using libm_alias_float.
14579 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
14580 (acoshf): Define using libm_alias_float.
14581 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
14582 (asinf): Define using libm_alias_float.
14583 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
14584 (atan2f): Define using libm_alias_float.
14585 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
14586 (atanhf): Define using libm_alias_float.
14587 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
14588 (coshf): Define using libm_alias_float.
14589 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
14590 (exp10f): Define using libm_alias_float.
14591 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
14592 (fmodf): Define using libm_alias_float.
14593 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
14594 (hypotf): Define using libm_alias_float.
14595 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
14596 (j0f): Define using libm_alias_float.
14598 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
14599 (j1f): Define using libm_alias_float.
14601 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
14602 (jnf): Define using libm_alias_float.
14604 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
14605 (log10f): Define using libm_alias_float.
14606 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
14607 (log2f): Define using libm_alias_float.
14608 * math/w_logf_compat.c: Include <libm-alias-float.h>.
14609 (logf): Define using libm_alias_float.
14610 * math/w_powf_compat.c: Include <libm-alias-float.h>.
14611 (powf): Define using libm_alias_float.
14612 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
14613 (remainderf): Define using libm_alias_float.
14614 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
14615 (sinhf): Define using libm_alias_float.
14616 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
14617 (sqrtf): Define using libm_alias_float.
14618 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
14619 (tgammaf): Define using libm_alias_float.
14621 2017-09-14 Joseph Myers <joseph@codesourcery.com>
14623 * include/math.h (roundeven): Change hidden_proto call to
14625 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
14627 [NO_LONG_DOUBLE] (__j0l): New strong alias.
14628 (y0): Rename to __y0 and define as weak alias.
14629 [NO_LONG_DOUBLE] (__y0l): New strong alias.
14630 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
14632 (y0f): Rename to __y0f and define as weak alias.
14633 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
14635 [NO_LONG_DOUBLE] (__j1l): New strong alias.
14636 (y1): Rename to __y1 and define as weak alias.
14637 [NO_LONG_DOUBLE] (__y1l): New strong alias.
14638 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
14640 (y1f): Rename to __y1f and define as weak alias.
14641 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
14643 [NO_LONG_DOUBLE] (__jnl): New strong alias.
14644 (yn): Rename to __yn and define as weak alias.
14645 [NO_LONG_DOUBLE] (__ynl): New strong alias.
14646 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
14648 (ynf): Rename to __ynf and define as weak alias.
14649 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
14650 (fromfp): Define as weak alias.
14651 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
14652 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
14653 (fromfpx): Define as weak alias.
14654 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
14655 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
14656 __getpayload and define as weak alias.
14657 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
14658 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
14659 __roundeven and define as weak alias.
14660 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
14661 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
14663 (setpayload): Define as weak alias.
14664 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
14665 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
14667 (setpayloadsig): Define as weak alias.
14668 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
14669 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
14670 __totalorder and define as weak alias.
14671 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
14672 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
14673 to __totalordermag and define as weak alias.
14674 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
14675 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
14676 (ufromfp): Define as weak alias.
14677 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
14678 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
14680 (ufromfpx): Define as weak alias.
14681 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
14682 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
14683 Rename to __getpayload and define as weak alias.
14684 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
14685 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
14686 Rename to __roundeven and define as weak alias.
14687 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
14688 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
14689 Rename to __totalorder and define as weak alias.
14690 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
14691 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
14692 (totalordermag): Rename to __totalordermag and define as weak
14694 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
14695 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
14697 (__roundevenl): Likewise.
14698 (__totalorderl): Likewise.
14699 (__totalordermagl): Likewise
14700 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
14702 (fromfpf128): Define as weak alias.
14703 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
14705 (fromfpxf128): Define as weak alias.
14706 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
14708 (setpayloadf128): Define as weak alias.
14709 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
14710 __setpayloadsigf128.
14711 (setpayloadsigf128): Define as weak alias.
14712 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
14714 (ufromfpf128): Define as weak alias.
14715 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
14717 (ufromfpxf128): Define as weak alias.
14718 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
14719 (fromfpf): Define as weak alias.
14720 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
14722 (fromfpxf): Define as weak alias.
14723 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
14724 __getpayloadf and define as weak alias.
14725 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
14726 __roundevenf and define as weak alias.
14727 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
14729 (setpayloadf): Define as weak alias.
14730 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
14732 (setpayloadsigf): Define as weak alias.
14733 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
14734 __totalorderf and define as weak alias.
14735 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
14736 Rename to __totalordermagf and define as weak alias.
14737 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
14739 (ufromfpf): Define as weak alias.
14740 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
14742 (ufromfpxf): Define as weak alias.
14743 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
14745 (fromfpl): Define as weak alias.
14746 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
14748 (fromfpxl): Define as weak alias.
14749 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
14750 to __getpayloadl and define as weak alias.
14751 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
14752 __roundevenl and define as weak alias.
14753 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
14755 (setpayloadl): Define as weak alias.
14756 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
14758 (setpayloadsigl): Define as weak alias.
14759 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
14760 to __totalorderl and define as weak alias.
14761 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
14762 Rename to __totalordermagl and define as weak alias.
14763 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
14765 (ufromfpl): Define as weak alias.
14766 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
14768 (ufromfpxl): Define as weak alias.
14769 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
14771 (fromfpl): Define as weak alias.
14772 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
14774 (fromfpxl): Define as weak alias.
14775 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
14776 Rename to __getpayloadl and define as weak alias.
14777 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
14778 to __roundevenl and define as weak alias. Call __roundeven
14779 instead of roundeven.
14780 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
14782 (setpayloadl): Define as weak alias.
14783 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
14785 (setpayloadsigl): Define as weak alias.
14786 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
14787 Rename to __totalorderl and define as weak alias.
14788 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
14789 Rename to __totalordermagl and define as weak alias.
14790 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
14792 (ufromfpl): Define as weak alias.
14793 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
14795 (ufromfpxl): Define as weak alias.
14796 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
14798 (fromfpl): Define as weak alias.
14799 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
14801 (fromfpxl): Define as weak alias.
14802 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
14803 __getpayloadl and define as weak alias.
14804 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
14805 __roundevenl and define as weak alias.
14806 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
14808 (setpayloadl): Define as weak alias.
14809 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
14811 (setpayloadsigl): Define as weak alias.
14812 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
14813 __totalorderl and define as weak alias.
14814 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
14815 Rename to __totalordermagl and define as weak alias.
14816 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
14818 (ufromfpl): Define as weak alias.
14819 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
14821 (ufromfpxl): Define as weak alias.
14823 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14825 * benchtests/bench-string.h (realloc_bufs): New function.
14826 (test_init): Call it.
14827 * benchtests/bench-memset-large.c (do_test): Likewise.
14828 * benchtests/bench-memset.c (do_test): Likewise.
14830 * benchtests/bench-memset-large.c: Print output in JSON
14832 * benchtests/bench-memset.c: Likewise.
14834 2017-09-14 Mike FABIAN <mfabian@redhat.com>
14837 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
14838 * iconvdata/Makefile: Add IBM858.
14839 * iconvdata/gconv-modules: Likewise.
14840 * iconvdata/tst-tables.sh: Likewise.
14841 * iconvdata/ibm858.c: New file.
14842 * localedata/charmaps/IBM858: Likewise.
14844 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
14847 * locales/niu_NZ (LC_TIME): copy "niu_NU".
14848 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
14850 2017-09-14 Mike FABIAN <mfabian@redhat.com>
14853 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
14854 and add tel_int_fmt.
14856 2017-09-14 Joseph Myers <joseph@codesourcery.com>
14858 * sysdeps/generic/libm-alias-float128.h: New file.
14859 * sysdeps/generic/math-type-macros-float128.h: Include
14860 <libm-alias-float128.h>.
14861 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
14863 2017-09-13 Joseph Myers <joseph@codesourcery.com>
14865 * sysdeps/generic/libm-alias-ldouble.h: New file.
14866 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
14867 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
14868 * sysdeps/generic/math-type-macros-ldouble.h: Include
14869 <libm-alias-ldouble.h>.
14870 [!declare_mgen_alias] (declare_mgen_alias): Define to use
14871 libm_alias_ldouble.
14873 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
14875 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
14876 * math/w_exp_compat.c: ... here.
14877 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
14878 * math/w_expf_compat.c: ... here.
14879 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
14880 * math/w_expl_compat.c: ... here.
14881 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
14882 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
14883 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
14884 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
14886 2017-09-13 Joseph Myers <joseph@codesourcery.com>
14888 * math/w_scalbln_template.c (strong_alias): Do not undefine and
14890 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
14892 (ldexpl): Only define as compat symbol for libc, not libm.
14893 (scalbnl): Define as compat symbol for libc here.
14894 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
14895 define for [IS_IN (libc)].
14896 (__ldexpl_2): Remove alias.
14897 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
14898 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
14899 name in long_double_symbol call.
14900 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
14901 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
14902 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
14903 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
14904 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
14906 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
14907 Define as compat symbol.
14909 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14911 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
14912 * sysdeps/unix/sysv/linux/alpha/Makefile
14913 [$(subdir) = csu] (sysdep_routines): Remove rule.
14915 2017-09-13 Joseph Myers <joseph@codesourcery.com>
14917 * sysdeps/generic/libm-alias-double.h: New file.
14918 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
14919 * sysdeps/generic/math-type-macros-double.h: Include
14920 <libm-alias-double.h>.
14921 [declare_mgen_alias] (declare_mgen_alias): Define to use
14923 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
14924 (M_LIBM_NEED_COMPAT): Remove macro.
14925 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
14926 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
14927 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
14929 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14930 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14931 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14932 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14933 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14934 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14935 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14936 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14937 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14938 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14939 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14940 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14941 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14942 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14943 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14944 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14945 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14946 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14947 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14948 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14949 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14950 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14951 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14952 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14953 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14954 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14955 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14956 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
14957 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
14959 (declare_mgen_alias): New macro.
14960 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
14961 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
14962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
14963 (M_LIBM_NEED_COMPAT): Remove macro.
14964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
14965 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
14966 <first-versions.h>.
14967 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
14968 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
14970 2017-09-12 Joseph Myers <joseph@codesourcery.com>
14972 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
14973 (declare_mgen_alias_2): Remove.
14974 * sysdeps/generic/math-type-macros-double.h
14975 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
14977 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
14979 (ldexp): Define with declare_mgen_alias.
14980 (scalbn): Likewise.
14982 2017-09-12 Steve Ellcey <sellcey@cavium.com>
14984 * grp/initgroups.c: Include config.h.
14985 (DEFAULT_CONFIG): New macro.
14986 (internal_getgrouplist): Use DEFAULT_CONFIG.
14987 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14988 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
14989 (DEFAULT_DEFCONFIG): New macro.
14990 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
14991 * nss/grp-lookup.c: Include config.h
14992 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
14993 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
14994 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
14995 * manual/nss.texi: Update default values section.
14997 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
15000 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
15002 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
15003 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
15004 Handle MathVec_Prefer_No_AVX512.
15005 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
15006 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
15009 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
15011 * posix/sched_primax.c (__sched_get_priority_max): Add
15013 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
15014 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
15015 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
15016 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
15017 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
15018 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
15019 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
15020 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
15023 2017-09-11 Joseph Myers <joseph@codesourcery.com>
15025 * sysdeps/generic/libm-alias-float.h: New file.
15026 * sysdeps/generic/math-type-macros-float.h: Include
15027 <libm-alias-float.h>.
15028 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
15030 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
15033 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
15034 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
15035 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
15036 (HWCAP_IMPORTANT): Likewise.
15037 (HWCAP_X86_64): New enum.
15038 (HWCAP_X86_AVX512_1): Updated.
15039 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
15040 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
15041 (modules-names): Add x86_64/tst-x86_64mod-1.
15042 (LDFLAGS-tst-x86_64mod-1.so): New.
15043 ($(objpfx)tst-x86_64-1): Likewise.
15044 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
15045 (tst-x86_64-1-clean): Likewise.
15046 * sysdeps/x86_64/tst-x86_64-1.c: New file.
15047 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
15049 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
15051 * po/sv.po: Update translations.
15052 * po/fr.po: Likewise.
15054 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15056 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
15058 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
15060 * elf/rtld-Rules: Fix $(error) use.
15062 2017-09-09 Mike FABIAN <mfabian@redhat.com>
15065 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
15066 * locale/iso-639.def: Change “Bengali” to “Bangla”.
15067 * localedata/locales/bn_BD: “Bengali” was still used in some
15068 comments. Change it to “Bangla”.
15070 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
15072 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
15074 2017-09-08 Steve Ellcey <sellcey@cavium.com>
15076 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
15077 thunderx2t99p1 to list of cpu names.
15078 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
15079 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
15081 2017-09-08 Steve Ellcey <sellcey@cavium.com>
15083 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
15084 Use strcmp instead of tunable_is_name.
15086 2017-09-08 Joseph Myers <joseph@codesourcery.com>
15088 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15089 (F_GET_RW_HINT): New macro.
15090 [__USE_GNU] (F_SET_RW_HINT): Likewise.
15091 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
15092 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
15093 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
15094 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
15095 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
15096 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
15097 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
15098 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
15100 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15101 (F_ADD_SEALS): New macro.
15102 [__USE_GNU] (F_GET_SEALS): Likewise.
15103 [__USE_GNU] (F_SEAL_SEAL): Likewise.
15104 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
15105 [__USE_GNU] (F_SEAL_GROW): Likewise.
15106 [__USE_GNU] (F_SEAL_WRITE): Likewise.
15108 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15110 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
15111 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
15112 * posix/glob_internal.h (__glob_pattern_type):
15113 * posix/glob.c (glob):
15114 * posix/glob_pattern_p.c (__glob_pattern_p):
15117 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
15118 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15119 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
15120 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
15121 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
15122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
15123 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
15124 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
15125 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
15126 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
15127 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
15128 * sysdeps/wordsize-64/glob.c: Likewise.
15129 * sysdeps/wordsize-64/glob64.c: Likewise.
15130 * sysdeps/wordsize-64/globfree.c: Likewise.
15131 * sysdeps/wordsize-64/globfree64.c: Likewise.
15132 * sysdeps/unix/sysv/linux/glob.c: New file.
15133 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
15134 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
15135 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
15136 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
15137 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
15138 adds !GLOB_NO_OLD_VERSION as an extra condition.
15139 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
15140 using relative path instead of absolute one.
15141 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15142 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15143 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15144 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15145 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
15146 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
15149 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
15150 (glob): Use the same scratch buffer for both getlogin_r and
15151 getpwnam_r. Don’t require preallocation of the login name. This
15152 simplifies storage allocation, and corrects the handling of
15156 * posix/glob.c (glob): Port recent patches to platforms
15157 lacking getpwnam_r.
15158 (glob): Fix longstanding misuse of errno after getpwnam_r, which
15159 returns an error number rather than setting errno.
15161 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
15162 instead of GCC extension.
15163 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
15164 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
15165 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
15169 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
15170 * posix/bug-glob1.c: Remove file.
15171 * posix/tst-glob_symlinks.c: New file.
15172 * posix/glob.c (__lstat64): New macro.
15173 (is_dir): New function.
15174 (glob, glob_in_dir): Match symlinks even if they are dangling.
15175 (link_stat, link_exists_p): Remove. All uses removed.
15179 * posix/glob.c (struct readdir_result): Remove skip_entry member.
15180 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
15185 * posix/Makefile (routines): Add globfree, globfree64, and
15187 * posix/flexmember.h: New file.
15188 * posix/glob_internal.h: Likewise.
15189 * posix/glob_pattern_p.c: Likewise.
15190 * posix/globfree.c: Likewise.
15191 * posix/globfree64.c: Likewise.
15192 * sysdeps/gnu/globfree64.c: Likewise.
15193 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
15194 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
15195 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
15196 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
15197 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
15198 * sysdeps/wordsize-64/globfree.c: Likewise.
15199 * sysdeps/wordsize-64/globfree64.c: Likewise.
15200 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
15201 [NDEBUG): Remove comments.
15202 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
15203 (dirent_type): New type. Use uint_fast8_t not
15204 uint8_t, as C99 does not require uint8_t.
15205 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
15206 (struct readdir_result): Use dirent_type. Do not define skip_entry
15207 unless it is needed; this saves a byte on platforms lacking d_ino.
15208 (readdir_result_type, readdir_result_skip_entry):
15209 New functions, replacing ...
15210 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
15211 these functions, which were removed. This makes the callers
15212 easier to read. All callers changed.
15213 (D_INO_TO_RESULT): Now empty if there is no d_ino.
15214 (size_add_wrapv, glob_use_alloca): New static functions.
15215 (glob, glob_in_dir): Check for size_t overflow in several places,
15216 and fix some size_t checks that were not quite right.
15217 Remove old code using SHELL since Bash no longer
15219 (glob, prefix_array): Separate MS code better.
15220 (glob_in_dir): Remove old Amiga and VMS code.
15221 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
15223 (glob_in_dir): Do not rely on undefined behavior in accessing
15224 struct members beyond their bounds. Use a flexible array member
15226 (link_stat): Rename from link_exists2_p and return -1/0 instead of
15227 0/1. Caller changed.
15228 (glob): Fix memory leaks.
15229 * posix/glob64 (globfree64): Move to separate file.
15230 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
15231 (globfree64): Remove hidden alias.
15232 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
15234 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
15236 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
15238 Move compat code to separate file.
15239 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
15242 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
15244 * resolv/tst-resolv-qtypes.c (domain): Changed to
15245 "const char domain[] =".
15247 2017-09-07 Joseph Myers <joseph@codesourcery.com>
15249 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15252 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
15253 (TCP_MD5SIG_EXT): Likewise.
15254 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
15255 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
15256 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
15258 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
15260 2017-09-07 Mike FABIAN <mfabian@redhat.com>
15262 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
15264 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
15267 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
15269 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
15271 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
15272 before assuming that the file is empty. Avoid testing buffer content
15275 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15278 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
15280 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
15282 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
15284 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
15286 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
15288 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
15290 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
15293 2017-09-06 Florian Weimer <fweimer@redhat.com>
15295 * malloc/dynarray_emplace_enlarge.c
15296 (__libc_dynarray_emplace_enlarge): Add missing else.
15298 2017-09-06 Florian Weimer <fweimer@redhat.com>
15301 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
15302 case of failure to obtain the global conf object.
15304 2017-09-06 Florian Weimer <fweimer@redhat.com>
15307 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
15308 dynarray allocation failure.
15310 2017-09-06 Florian Weimer <fweimer@redhat.com>
15312 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
15313 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
15314 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
15316 (response): Call them. Add 'p', '6' flag processing.
15317 (test_reverse): New function.
15318 (test_get2_any): Call it.
15319 (test_no_inet6): Add 'p' test.
15320 (test_inet6): Likewise.
15322 2017-09-06 Florian Weimer <fweimer@redhat.com>
15324 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
15325 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
15327 (test_gai): Adjust query names. Add additional tests.
15328 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
15329 test_get2. Adjust query names. Add additional tests.
15330 (test_no_inet6): New function, extracted from threadfunc.
15331 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
15332 Add additional tests.
15334 2017-09-06 Mike FABIAN <mfabian@redhat.com>
15337 * localedata/unicode-gen/utf8_gen.py: Set the width for
15338 characters with Prepended_Concatenation_Mark property to 1
15339 * localedata/charmaps/UTF-8: Updated using the improved script.
15341 2017-09-06 Mike FABIAN <mfabian@redhat.com>
15344 * localedata/unicode-gen/utf8_gen.py: Improve the script to
15345 use the range notation for all ranges of neighbouring characters
15346 with the same width.
15348 2017-09-05 Joseph Myers <joseph@codesourcery.com>
15350 * sysdeps/generic/math-type-macros-double.h: Include
15351 <math-svid-compat.h>.
15352 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
15353 * sysdeps/generic/math-type-macros-float.h: Include
15354 <math-svid-compat.h>.
15355 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
15356 * sysdeps/generic/math-type-macros-ldouble.h: Include
15357 <math-svid-compat.h>.
15358 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
15359 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
15361 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
15362 * math/w_acosf_compat.c: Likewise.
15363 * math/w_acosh_compat.c: Likewise.
15364 * math/w_acoshf_compat.c: Likewise.
15365 * math/w_acoshl_compat.c: Likewise.
15366 * math/w_acosl_compat.c: Likewise.
15367 * math/w_asin_compat.c: Likewise.
15368 * math/w_asinf_compat.c: Likewise.
15369 * math/w_asinl_compat.c: Likewise.
15370 * math/w_atan2_compat.c: Likewise.
15371 * math/w_atan2f_compat.c: Likewise.
15372 * math/w_atan2l_compat.c: Likewise.
15373 * math/w_atanh_compat.c: Likewise.
15374 * math/w_atanhf_compat.c: Likewise.
15375 * math/w_atanhl_compat.c: Likewise.
15376 * math/w_cosh_compat.c: Likewise.
15377 * math/w_coshf_compat.c: Likewise.
15378 * math/w_coshl_compat.c: Likewise.
15379 * math/w_exp10_compat.c: Likewise.
15380 * math/w_exp10f_compat.c: Likewise.
15381 * math/w_exp10l_compat.c: Likewise.
15382 * math/w_exp2_compat.c: Likewise.
15383 * math/w_exp2f_compat.c: Likewise.
15384 * math/w_exp2l_compat.c: Likewise.
15385 * math/w_fmod_compat.c: Likewise.
15386 * math/w_fmodf_compat.c: Likewise.
15387 * math/w_fmodl_compat.c: Likewise.
15388 * math/w_hypot_compat.c: Likewise.
15389 * math/w_hypotf_compat.c: Likewise.
15390 * math/w_hypotl_compat.c: Likewise.
15391 * math/w_j0_compat.c: Likewise.
15392 * math/w_j0f_compat.c: Likewise.
15393 * math/w_j0l_compat.c: Likewise.
15394 * math/w_j1_compat.c: Likewise.
15395 * math/w_j1f_compat.c: Likewise.
15396 * math/w_j1l_compat.c: Likewise.
15397 * math/w_jn_compat.c: Likewise.
15398 * math/w_jnf_compat.c: Likewise.
15399 * math/w_jnl_compat.c: Likewise.
15400 * math/w_lgamma_r_compat.c: Likewise.
15401 * math/w_lgammaf_r_compat.c: Likewise.
15402 * math/w_lgammal_r_compat.c: Likewise.
15403 * math/w_log10_compat.c: Likewise.
15404 * math/w_log10f_compat.c: Likewise.
15405 * math/w_log10l_compat.c: Likewise.
15406 * math/w_log2_compat.c: Likewise.
15407 * math/w_log2f_compat.c: Likewise.
15408 * math/w_log2l_compat.c: Likewise.
15409 * math/w_log_compat.c: Likewise.
15410 * math/w_logf_compat.c: Likewise.
15411 * math/w_logl_compat.c: Likewise.
15412 * math/w_pow_compat.c: Likewise.
15413 * math/w_powf_compat.c: Likewise.
15414 * math/w_powl_compat.c: Likewise.
15415 * math/w_remainder_compat.c: Likewise.
15416 * math/w_remainderf_compat.c: Likewise.
15417 * math/w_remainderl_compat.c: Likewise.
15418 * math/w_sinh_compat.c: Likewise.
15419 * math/w_sinhf_compat.c: Likewise.
15420 * math/w_sinhl_compat.c: Likewise.
15421 * math/w_sqrt_compat.c: Likewise.
15422 * math/w_sqrtf_compat.c: Likewise.
15423 * math/w_sqrtl_compat.c: Likewise.
15424 * math/w_tgamma_compat.c: Likewise.
15425 * math/w_tgammaf_compat.c: Likewise.
15426 * math/w_tgammal_compat.c: Likewise.
15427 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
15428 [LIBM_SVID_COMPAT].
15429 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
15430 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
15431 [LIBM_SVID_COMPAT].
15432 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
15433 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
15434 [LIBM_SVID_COMPAT].
15435 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
15436 * sysdeps/i386/fpu/w_sqrt.c: New file.
15437 * sysdeps/ia64/fpu/w_acos.c: Likewise.
15438 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
15439 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
15440 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
15441 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
15442 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
15443 * sysdeps/ia64/fpu/w_asin.c: Likewise.
15444 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
15445 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
15446 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
15447 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
15448 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
15449 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
15450 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
15451 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
15452 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
15453 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
15454 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
15455 * sysdeps/ia64/fpu/w_exp.c: Likewise.
15456 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
15457 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
15458 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
15459 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
15460 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
15461 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
15462 * sysdeps/ia64/fpu/w_expf.c: Likewise.
15463 * sysdeps/ia64/fpu/w_expl.c: Likewise.
15464 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
15465 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
15466 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
15467 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
15468 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
15469 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
15470 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
15471 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
15472 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
15473 * sysdeps/ia64/fpu/w_log.c: Likewise.
15474 * sysdeps/ia64/fpu/w_log10.c: Likewise.
15475 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
15476 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
15477 * sysdeps/ia64/fpu/w_log2.c: Likewise.
15478 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
15479 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
15480 * sysdeps/ia64/fpu/w_logf.c: Likewise.
15481 * sysdeps/ia64/fpu/w_logl.c: Likewise.
15482 * sysdeps/ia64/fpu/w_pow.c: Likewise.
15483 * sysdeps/ia64/fpu/w_powf.c: Likewise.
15484 * sysdeps/ia64/fpu/w_powl.c: Likewise.
15485 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
15486 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
15487 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
15488 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
15489 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
15490 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
15491 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
15492 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
15493 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
15494 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
15495 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
15496 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
15497 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
15498 [LIBM_SVID_COMPAT].
15499 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
15500 * sysdeps/ieee754/k_standard.c: Likewise.
15501 * sysdeps/ieee754/k_standardf.c: Likewise.
15502 * sysdeps/ieee754/k_standardl.c: Likewise.
15503 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
15504 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
15505 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
15506 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
15507 long_double_symbol call on [LIBM_SVID_COMPAT].
15508 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
15509 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
15510 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
15511 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
15512 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
15513 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
15514 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
15515 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
15516 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
15517 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
15518 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
15519 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
15520 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
15521 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
15522 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
15523 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
15524 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
15525 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
15526 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
15527 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
15528 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
15529 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
15531 2017-09-05 Steve Ellcey <sellcey@cavium.com>
15533 * include/shlib-compat.h (TEST_COMPAT): New Macro.
15534 * malloc/tst-mallocstate.c: Convert from test-skeleton
15535 to test-driver. Ifdef code using TEST_COMPAT macro.
15536 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
15537 * math/test-matherr.c: Likewise.
15539 2017-09-05 Joseph Myers <joseph@codesourcery.com>
15542 * debug/pcprofiledump.c (main): Use byte-swapped mask when
15543 comparing word with byte-swapped constant.
15545 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
15548 * locale/iso-639.def: add Miskito.
15549 * localedata/SUPPORTED: Add miq_NI/UTF-8.
15550 * localedata/locales/miq_NI: New file.
15552 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
15555 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
15556 (__mkdir): Likewise.
15557 * io/chmod.c (__chmod): Add libc_hidden_def.
15558 * io/mkdir.c (__mkdir): Likewise.
15559 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
15560 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
15561 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
15562 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
15564 2017-09-04 Joseph Myers <joseph@codesourcery.com>
15566 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15570 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
15571 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
15573 2017-09-04 Florian Weimer <fweimer@redhat.com>
15575 * math/math.h: Issue warning if log is defined.
15577 2017-09-04 Joseph Myers <joseph@codesourcery.com>
15579 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15580 kernel version to 4.13.
15582 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15584 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
15585 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
15587 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
15588 just <bits/types.h>.
15589 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
15590 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
15591 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
15592 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
15593 * misc/preadv2.c: Include <errno.h>.
15594 * misc/preadv64v2.c: Include <errno.h>.
15595 * misc/pwritev2.c: Include <errno.h>.
15596 * misc/pwritev64v2.c: Include <errno.h>.
15597 * sysdeps/posix/preadv2.c: Include <errno.h>.
15598 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
15599 Fix <unistd.h> inclusion.
15600 * sysdeps/posix/pwritev2.c: Include <errno.h>.
15601 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
15602 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
15603 __strtoul_internal): New functions.
15604 * sysdeps/posix/pause.c: Include <sigsetops.h>.
15605 * sysdeps/posix/system.c: Include <sigsetops.h>.
15606 * sysdeps/mach/hurd/i386/Makefile
15607 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
15608 [$(subdir) = csu] (sysdep-only-routines): Likewise.
15609 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
15610 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
15611 __feraiseexcept_renamed to feraiseexcept instead of
15612 __GI_feraiseexcept.
15613 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
15614 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
15615 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
15616 RWF_NOWAIT): Define to 0 if undefined already.
15617 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
15619 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
15620 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
15622 2017-09-01 Joseph Myers <joseph@codesourcery.com>
15624 * manual/math.texi (pow10): Do not document.
15625 (pow10f): Likewise.
15626 (pow10l): Likewise.
15627 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
15628 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
15629 * math/libm-test-exp10.inc (pow10_test): Remove.
15630 (do_test): Do not call pow10.
15631 * math/w_exp10_compat.c (pow10): Make into compat symbol.
15632 [NO_LONG_DOUBLE] (pow10l): Likewise.
15633 * math/w_exp10f_compat.c (pow10f): Likewise.
15634 * math/w_exp10l_compat.c (pow10l): Likewise.
15635 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
15636 (pow10): Make into compat symbol.
15637 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
15638 (pow10f): Make into compat symbol.
15639 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
15640 (pow10l): Make into compat symbol.
15641 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
15643 (CFLAGS-nldbl-pow10.c): Remove variable..
15644 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
15645 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
15646 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
15647 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
15648 Undefine and redefine.
15649 (pow10l): Make into compat symbol.
15650 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
15651 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15652 * sysdeps/arm/libm-test-ulps: Likewise.
15653 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
15654 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15655 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15656 * sysdeps/microblaze/libm-test-ulps: Likewise.
15657 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15658 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15659 * sysdeps/nios2/libm-test-ulps: Likewise.
15660 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15661 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15662 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15663 * sysdeps/sh/libm-test-ulps: Likewise.
15664 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15665 * sysdeps/tile/libm-test-ulps: Likewise.
15666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15668 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
15670 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
15672 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
15674 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
15675 "../ChangeLog.old/ChangeLog.8".
15676 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
15677 "../ChangeLog.old/ChangeLog.14".
15679 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
15681 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
15684 2017-09-01 Joseph Myers <joseph@codesourcery.com>
15686 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
15688 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
15690 * csu/version.c (banner): Remove "by Roland McGrath et al.".
15691 * nptl/Banner: Remove "by Ulrich Drepper et al.".
15693 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
15695 * stdlib/tst-atexit-common.c (do_test): Test support for at least
15696 32 atexit handlers.
15698 2017-09-01 Zack Weinberg <zackw@panix.com>
15700 * math/math.h (HUGE_VAL): Improve commentary.
15702 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15703 Andreas Schwab <schwab@suse.de>
15706 * include/stdio.h (__gen_tempfd): New function.
15707 * stdio-common/Makefile (routines): Add gentempfd.
15708 * stdio-common/gentempfd.c: New file.
15709 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
15710 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
15711 unnamed file first.
15713 2017-09-01 Florian Weimer <fweimer@redhat.com>
15717 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
15718 result to determine success or failure, not the errno value.
15719 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
15720 (tst-nss-files-hosts-erange): Link with -ldl.
15721 * nss/tst-nss-files-hosts-erange.c: New file.
15722 * nss/tst-resolv-basic.c (response): Handle nodata.example.
15723 (do_test): Add NO_DATA tests.
15724 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
15725 (do_test): Call it.
15727 2017-09-01 Florian Weimer <fweimer@redhat.com>
15730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
15731 coming from gethostbyname2_r.
15733 2017-09-01 Florian Weimer <fweimer@redhat.com>
15735 * support/namespace.h (struct support_chroot_configuration): Add
15737 (struct support_chroot): Add path_hosts, path_host_conf.
15738 * support/support_chroot.c (write_file): New function.
15739 (support_chroot_create): Call it to process /etc/resolv.conf,
15740 /etc/hosts, /etc/host.conf.
15741 (support_chroot_free): Update.
15743 2017-09-01 Florian Weimer <fweimer@redhat.com>
15745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
15746 status indicates it is set.
15748 2017-09-01 Florian Weimer <fweimer@redhat.com>
15751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
15752 function lookup failures more reliable.
15754 2017-09-01 Florian Weimer <fweimer@redhat.com>
15756 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
15757 (getcanonname): Likewise.
15758 (gaih_inet): Likewise.
15760 2017-09-01 Florian Weimer <fweimer@redhat.com>
15762 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
15763 (getcanonname): Likewise.
15764 (gaih_inet): Likewise.
15766 2017-08-31 Steve Ellcey <sellcey@cavium.com>
15767 Richard Henderson <rth@twiddle.net>
15769 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
15770 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
15771 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
15772 (IREG_SIZE, OREG_SIZE): New macros.
15773 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
15774 (IREG_SIZE, OREG_SIZE): New macros.
15775 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
15776 (IREG_SIZE): New macro.
15777 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
15778 (IREG_SIZE): New macro.
15779 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
15781 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
15782 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
15783 (__CONCATX): Handle exceptions correctly on large values that may
15785 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
15786 Initialize if not already set.
15787 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
15789 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15791 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
15792 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
15794 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
15796 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
15798 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
15800 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
15802 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
15804 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
15806 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
15807 (NO_CANCELLATION): Likewise.
15808 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
15810 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
15812 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
15814 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
15815 (NO_CANCELLATION): Likewise.
15816 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
15817 (NO_CANCELLATION): Likewise.
15818 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
15820 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
15822 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
15824 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
15826 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
15828 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
15829 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
15831 2017-08-31 Steve Ellcey <sellcey@cavium.com>
15833 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
15836 2017-08-31 Florian Weimer <fweimer@redhat.com>
15838 * include/libc-symbols.h (internal_function): Remove.
15840 2017-08-31 Florian Weimer <fweimer@redhat.com>
15842 * stdlib/fmtmsg.c (internal_addseverity): Remove
15845 2017-08-31 Florian Weimer <fweimer@redhat.com>
15847 * stdio-common/printf_fp.c (group_number): Remove
15849 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
15851 2017-08-31 Florian Weimer <fweimer@redhat.com>
15853 * posix/fnmatch.c (internal_function): Remove definition.
15854 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
15855 * posix/regcomp.c (peek_token, init_word_char)
15856 (duplicate_node_closure, fetch_token, peek_token)
15857 (peek_token_bracket, build_range_exp, build_collating_symbol):
15859 * posix/regex_internal.c (re_string_construct_common)
15860 (create_ci_newstate, create_cd_newstate, re_string_allocate)
15861 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
15862 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
15863 (re_string_translate_buffer, re_string_reconstruct)
15864 (re_string_peek_byte_case, re_string_fetch_byte_case)
15865 (re_string_destruct, re_string_context_at, re_node_set_alloc)
15866 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
15867 (re_node_set_add_intersect, re_node_set_init_union)
15868 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
15869 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
15870 (re_dfa_add_node, calc_state_hash, re_acquire_state)
15871 (re_acquire_state_context): Likewise.
15872 * posix/regex_internal.h (internal_function): Remove definition.
15873 (re_string_realloc_buffers, build_wcs_buffer)
15874 (build_wcs_upper_buffer, build_upper_buffer)
15875 (re_string_translate_buffer, re_string_context_at)
15876 (re_string_char_size_at, re_string_wchar_at)
15877 (re_string_elem_size_at): Likewise.
15878 * posix/regexec.c (match_ctx_init, match_ctx_clean)
15879 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
15880 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
15881 (re_search_internal, re_search_2_stub, re_search_stub)
15882 (re_copy_regs, prune_impossible_nodes, check_matching)
15883 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
15884 (free_fail_stack_return, sift_states_iter_mb)
15885 (sift_states_backward, build_sifted_states)
15886 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
15887 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
15888 (check_subexp_limits, sift_states_bkref, merge_state_array)
15889 (find_recover_state, transit_state, merge_state_with_log)
15890 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
15891 (transit_state_mb, transit_state_bkref, get_subexp)
15892 (get_subexp_sub, find_subexp_node, check_arrival)
15893 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
15894 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
15895 (check_node_accept_bytes, find_collation_sequence_value)
15896 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
15897 (acquire_init_state_context, check_halt_node_context)
15898 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
15899 (sub_epsilon_src_nodes): Likewise.
15900 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
15901 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
15902 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
15903 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
15904 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
15905 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
15906 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
15907 * sysdeps/posix/ttyname.c (getttyname): Likewise.
15908 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
15909 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
15910 (PREADV): Likewise.
15911 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
15912 (PREADV): Likewise.
15913 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
15914 (PWRITEV): Likewise.
15915 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
15916 (PWRITEV): Likewise.
15917 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
15918 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
15920 2017-08-31 Florian Weimer <fweimer@redhat.com>
15922 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
15923 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
15924 Remove internal_function.
15925 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15926 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
15927 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
15928 (__deallocate_stack, __libc_pthread_init)
15929 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
15930 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
15931 (__libc_disable_asynccancel, __librt_disable_asynccancel):
15933 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
15934 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
15935 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
15937 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
15938 (__pthread_mutex_unlock_usercnt): Likewise.
15940 2017-08-31 Florian Weimer <fweimer@redhat.com>
15942 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
15943 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
15944 (fts_safe_changedir): Remove internal_function.
15945 * io/ftw.c (internal_function): Remove definition.
15946 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
15948 2017-08-31 Florian Weimer <fweimer@redhat.com>
15950 * inet/deadline.c (__deadline_current_time)
15951 (__deadline_from_timeval, __deadline_to_ms): Remove
15953 * inet/getnameinfo.c (nrl_domainname): Likewise.
15954 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
15955 * inet/inet6_option.c (add_pad): Likewise.
15956 * inet/net-internal.h (__deadline_current_time)
15957 (__deadline_from_timeval, __deadline_to_ms): Likewise.
15958 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
15959 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
15960 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
15962 2017-08-31 Joseph Myers <joseph@codesourcery.com>
15964 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
15965 include <bits/nan.h>.
15966 * math/Makefile (headers): Remove bits/nan.h.
15967 * bits/nan.h: Remove.
15968 * sysdeps/ieee754/bits/nan.h: Likewise.
15969 * sysdeps/mips/bits/nan.h: Likewise.
15971 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
15972 not include <bits/inf.h>.
15973 * math/Makefile (headers): Remove bits/inf.h.
15974 * bits/inf.h: Remove.
15975 * sysdeps/ieee754/bits/inf.h: Likewise.
15977 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
15978 bits/huge_vall.h or bits/huge_val_flt128.h.
15979 (HUGE_VAL): Define directly here.
15980 [__USE_ISOC99] (HUGE_VALF): Likewise.
15981 [__USE_ISOC99] (HUGE_VALL): Likewise.
15982 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15983 (HUGE_VAL_F128): Likewise.
15984 * math/Makefile (headers): Remove bits/huge_val.h,
15985 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
15986 * bits/huge_val.h: Remove.
15987 * bits/huge_val_flt128.h: Likewise.
15988 * bits/huge_valf.h: Likewise.
15989 * bits/huge_vall.h: Likewise.
15990 * sysdeps/ia64/bits/huge_vall.h: Likewise.
15991 * sysdeps/ieee754/bits/huge_val.h: Likewise.
15992 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
15993 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
15994 * sysdeps/sh/bits/huge_val.h: Likewise.
15995 * sysdeps/sparc/bits/huge_vall.h: Likewise.
15996 * sysdeps/x86/bits/huge_vall.h: Likewise.
15998 2017-08-31 Florian Weimer <fweimer@redhat.com>
16000 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
16002 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
16004 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
16005 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16006 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
16007 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
16008 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16009 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16010 * elf/dl-libc.c (dlerror_run): Likewise.
16011 * elf/dl-load.c (add_name_to_object, decompose_rpath)
16012 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
16013 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
16014 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
16016 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
16017 (_dl_higher_prime_number, _dl_strtoul): Likewise.
16018 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
16019 * elf/dl-profile.c (_dl_start_profile): Likewise.
16020 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
16021 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
16023 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
16024 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
16025 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
16026 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
16027 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
16028 (_dl_allocate_tls_storage): Likewise.
16029 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
16030 (_dl_check_all_versions): Likewise.
16031 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
16032 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
16033 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
16034 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
16035 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
16036 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
16037 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
16038 internal_function from __dl_start.
16039 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
16040 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
16041 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
16042 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
16043 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
16044 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
16045 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
16046 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
16047 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
16048 (_dl_next_ld_env_entry, _dl_important_hwcaps)
16049 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
16050 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
16051 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
16052 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
16053 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
16055 (struct rtld_global_ro): Remove internal_function from the
16056 _dl_lookup_symbol_x member.
16057 (_dl_symbol_value): Remove. No longer defined anywhere.
16058 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
16060 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
16061 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16062 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
16063 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
16064 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
16065 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
16066 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
16067 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
16068 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
16069 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
16070 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
16071 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16073 2017-08-31 Florian Weimer <fweimer@redhat.com>
16075 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
16076 Remove internal_function.
16077 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
16079 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
16082 2017-08-31 Florian Weimer <fweimer@redhat.com>
16084 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
16085 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
16086 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
16088 2017-08-31 Florian Weimer <fweimer@redhat.com>
16090 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
16091 (__gai_enqueue_request): Remove internal_function.
16092 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
16093 (__gai_remove_request, __gai_notify, __gai_notify_only)
16094 (__gai_sigqueue): Likewise.
16095 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
16096 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
16097 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
16098 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16101 2017-08-31 Florian Weimer <fweimer@redhat.com>
16103 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
16104 * include/dirent.h (__opendirat, __getdents, __getdents64)
16105 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
16106 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
16107 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
16108 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
16110 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
16112 2017-08-31 Florian Weimer <fweimer@redhat.com>
16114 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
16116 (GETCWD_RETURN_TYPE): Likewise.
16118 2017-08-31 Florian Weimer <fweimer@redhat.com>
16120 * include/time.h (__tz_compute, __strptime_internal): Remove
16122 * time/strptime_l.c (__strptime_internal): Likewise.
16123 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
16125 2017-08-31 Florian Weimer <fweimer@redhat.com>
16127 * iconv/gconv.c (__gconv): Remove internal_function.
16128 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
16129 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
16130 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
16131 (__gconv_release_cache): Likewise.
16132 * iconv/gconv_close.c (__gconv_close): Likewise.
16133 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
16134 (read_conf_file, __gconv_get_path): Likewise.
16135 * iconv/gconv_db.c (derivation_lookup, add_derivation)
16136 (__gconv_release_step, gen_steps, increment_counter)
16137 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
16138 (__gconv_close_transform, free_modules_db): Likewise.
16139 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
16141 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
16142 (__gconv_find_transform, __gconv_lookup_cache)
16143 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
16144 (__gconv_close_transform, __gconv_release_cache)
16145 (__gconv_loaded_object, __gconv_release_shlib)
16146 (__gconv_compare_alias): Likewise.
16147 * iconv/gconv_open.c (__gconv_open): Likewise.
16148 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
16149 * iconv/iconvconfig.c (add_module): Likewise.
16150 * intl/dcigettext.c (plural_lookup, guess_category_value)
16151 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
16152 * intl/eval-plural.h (plural_eval): Likewise.
16153 * intl/finddomain.c (_nl_find_domain): Likewise.
16154 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
16155 (_nl_load_domain, _nl_find_msg): Likewise.
16156 (internal_function): Remove definition.
16157 * intl/loadinfo.h (internal_function): Likewise.
16158 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
16160 * intl/localealias.c (internal_function): Remove definition.
16161 (read_alias_file): Remove internal_function.
16162 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
16163 * intl/plural-exp.h (internal_function): Remove definition.
16164 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
16166 * intl/plural.c: Regenerate.
16167 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
16168 * locale/coll-lookup.c (__collidx_table_lookup)
16169 (__collseq_table_lookup): Likewise.
16170 * locale/coll-lookup.h (__collidx_table_lookup)
16171 (__collseq_table_lookup): Likewise.
16172 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
16173 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16174 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
16175 (_nl_unload_locale): Likewise.
16176 * locale/localeinfo.h (struct __locale_data): Remove
16177 internal_function from cleanup member.
16178 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
16179 (_nl_remove_locale, _nl_load_locale_from_archive)
16180 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
16181 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
16182 (_nl_cleanup_time): Remove internal_function.
16183 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
16184 (_nl_parse_alt_digit): Likewise.
16185 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
16186 (_nl_select_era_entry): Likewise.
16187 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
16188 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
16189 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
16190 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
16191 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
16193 2017-08-31 Florian Weimer <fweimer@redhat.com>
16195 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
16196 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
16197 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
16198 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
16200 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
16201 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
16202 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
16203 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
16205 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
16207 2017-08-31 Florian Weimer <fweimer@redhat.com>
16209 * misc/getttyent.c (skip, value): Remove internal_function.
16210 * misc/syslog.c (openlog_internal): Likewise.
16211 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
16213 2017-08-31 Florian Weimer <fweimer@redhat.com>
16215 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
16216 (__nss_rewrite_field): Remove internal_function.
16217 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16218 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
16219 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16220 * nss/nsswitch.c (nss_parse_file, nss_getline)
16221 (nss_parse_service_list, nss_new_service): Likewise.
16222 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
16223 * nss/valid_field.c (__nss_valid_field): Likewise.
16224 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
16226 2017-08-31 Florian Weimer <fweimer@redhat.com>
16228 * malloc/arena.c (__malloc_fork_lock_parent)
16229 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
16230 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
16231 internal_function from defintions.
16232 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
16233 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
16234 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
16235 internal_function from declarations.
16236 * malloc/malloc.c (internal_function): Do not define.
16237 (mem2mem_check): Remove internal_function from declaration.
16238 (munmap_chunk, mremap_chunk): Remove internal_function.
16239 * malloc/mtrace.c (tr_where): Likewise.
16241 2017-08-31 Florian Weimer <fweimer@redhat.com>
16243 * include/rpc/pmap_clnt.h (__get_socket): Remove
16245 * sunrpc/auth_des.c (synchronize): Likewise.
16246 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
16247 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
16248 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
16249 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
16250 (key_call): Likewise.
16251 * sunrpc/pm_getport.c (__get_socket): Likewise.
16252 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
16253 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
16254 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
16255 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
16256 (invalidate): Likewise.
16257 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
16258 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
16259 (set_input_fragment, get_input_bytes): Likewise.
16261 2017-08-31 Florian Weimer <fweimer@redhat.com>
16263 * malloc/malloc.c (_int_free): Remove locked variable and related
16266 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
16269 * Makerules (build-module-helper-objlist): Filter out
16270 $(elf-objpfx)sofini.os.
16271 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
16274 2017-08-31 Florian Weimer <fweimer@redhat.com>
16276 * libio/fcloseall.c: Assume weak_alias is defined.
16277 * libio/feof.c: Likewise.
16278 * libio/fileno.c: Likewise.
16279 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
16280 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
16282 (_IO_file_open): Call __open directly.
16283 (_IO_new_file_sync): Assume ESPIPE is defined.
16284 (_IO_file_seekoff_maybe_mmap): Call __read directly.
16285 (_IO_new_file_write): Call __write directly.
16286 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
16287 * libio/ftello64.c (__ftello64): Assume EIO is defined.
16288 * libio/genops.c: Assume _LIBC is defined.
16289 (save_for_backup): Remove internal_function.
16290 * libio/getc.c: Assume weak_alias is defined.
16291 * libio/getwc.c: Likewise.
16292 * libio/iofclose.c: Assume _LIBC is defined.
16293 * libio/iofdopen.c: Likewise.
16294 (_IO_fcntl): Remove macro definition.
16295 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
16296 Call __fcntl directly.
16297 * libio/iofflush.c: Assume weak_alias is defined.
16298 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
16300 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
16301 * libio/iofgets.c: Likewise.
16302 * libio/iofopen.c: Assume _LIBC is defined.
16303 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
16304 * libio/iofputs.c: Assume weak_alias is defined.
16305 * libio/iofread.c: Likewise.
16306 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
16307 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
16308 * libio/ioftell.c: Assume weak_alias is defined.
16309 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
16310 * libio/iofwide.c: Assume _LIBC is defined.
16311 (_IO_fwide): Drop SHARED conditional because it is implied by
16313 * libio/iofwrite.c: Assume weak_alias is defined.
16314 * libio/iogetdelim.c: Likewise.
16315 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
16316 * libio/iogetwline.c (wmemcpy): Remove macro definition.
16317 (_IO_getwline): Call __wmemcpy directly.
16318 * libio/iopopen.c: Assume _LIBC is defined.
16319 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
16320 (_IO_close): Remove macro definitions.
16321 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
16323 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
16325 * libio/ioputs.c: Assume weak_alias is defined.
16326 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
16327 * libio/iosetbuffer.c: Assume weak_alias is defined.
16328 * libio/iosetvbuf.c: Likewise.
16329 * libio/ioungetc.c: Likewise.
16330 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
16331 libc_hidden_def, libc_hidden_weak, NULL are defined.
16332 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
16333 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
16335 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
16337 (_IO_old_file_init_internal): Drop SHARED conditional because it
16338 is implied by SHLIB_COMPAT.
16339 (_IO_old_file_fopen): Call __open directly.
16340 (_IO_old_file_sync): Assume ESPIPE is defined.
16341 (_IO_old_file_write): Call __write directly.
16342 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
16343 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
16344 Call __fcntl directly.
16345 * libio/oldiofgetpos.c: Assume weak_alias is defined.
16346 (_IO_old_fgetpos): Assume EIO is defined.
16347 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
16348 (_IO_old_fgetpos64): Assume EIO is defined.
16349 * libio/oldiofsetpos.c: Assume weak_alias is defined.
16350 (_IO_old_fsetpos): Assume EIO is defined.
16351 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
16352 (_IO_old_fsetpos64): Assume EIO is defined.
16353 * libio/oldiopopen.c: Assume _LIBC is defined.
16354 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
16355 (_IO_close): Remove macro definitions.
16356 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
16358 (_IO_old_proc_close): Call __close, __waitpid directly.
16359 * libio/put.c: Assume weak_alias is defined.
16360 * libio/stdfiles.c: Assume _LIBC is defined.
16361 * libio/stdio.c: Likewise.
16362 * libio/wfileops.c: Likewise.
16363 (_IO_wfile_sync): Assume ESPIPE is defined.
16364 * libio/wgenops.c: Assume _LIBC is defined.
16365 (save_for_wbackup): Remove internal_function.
16367 2017-08-31 Florian Weimer <fweimer@redhat.com>
16369 * malloc/malloc.c (top_check): Change return type to void. Remove
16371 * malloc/hooks.c (top_check): Likewise.
16372 (malloc_check, realloc_check, memalign_check): Adjust.
16374 2017-08-30 Joseph Myers <joseph@codesourcery.com>
16377 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
16378 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
16379 sigcontext and namespace requirements.
16380 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
16381 * sysdeps/m68k/sys/ucontext.h: Likewise.
16382 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
16383 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
16384 <bits/sigcontext.h>.
16385 (__ctx): Define earlier.
16386 (mcontext_t): Define structure contents rather than using struct
16388 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
16389 __glibc_reserved1 instead of __reserved.
16390 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
16391 <bits/sigcontext.h>.
16392 (__ctx): Define earlier.
16393 (mcontext_t): Define structure contents rather than using struct
16395 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
16396 mcontext_t instead of struct sigcontext.
16397 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
16398 <bits/sigcontext.h>.
16399 (__ctx): Define earlier.
16400 (mcontext_t): Define structure contents rather than using struct
16402 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
16403 <bits/sigcontext.h>.
16404 (__ctx): Define earlier.
16405 (mcontext_t): Define structure contents rather than using struct
16407 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
16408 mcontext_t instead of struct sigcontext.
16409 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
16410 mcontext_t instead of struct sigcontext.
16411 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
16412 <bits/sigcontext.h>.
16413 (__ctx): New macro.
16414 (struct __ia64_fpreg_mcontext): New type.
16415 (mcontext_t): Define structure contents rather than using struct
16417 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
16418 (uc_sigmask): Define using __ctx.
16419 (uc_stack): Likewise.
16420 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
16421 <bits/sigcontext.h>.
16422 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16423 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
16424 <bits/sigcontext.h>.
16425 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
16426 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
16427 <bits/sigcontext.h>.
16428 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
16429 <bits/sigcontext.h>.
16430 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
16431 <bits/sigcontext.h>.
16432 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
16433 <bits/sigcontext.h>.
16434 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
16435 <bits/sigcontext.h>.
16436 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
16437 <bits/sigcontext.h>.
16438 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
16439 <bits/sigcontext.h>.
16440 (__ctx): Define earlier.
16441 (mcontext_t): Define structure contents rather than using struct
16443 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
16444 <bits/sigcontext.h>. Include <bits/types.h>.
16445 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
16446 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
16447 (test-xfail-XPG42/ucontext.h/conform): Likewise.
16448 (test-xfail-UNIX98/signal.h/conform): Likewise.
16449 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16450 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16451 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16452 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16453 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16454 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16455 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16456 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16457 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16459 2017-08-30 Florian Weimer <fweimer@redhat.com>
16461 * malloc/dynarray_emplace_enlarge.c
16462 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
16463 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
16464 * malloc/tst-dynarray.c (test_long_overflow): New function.
16465 (do_test): Call it.
16467 2017-08-30 Florian Weimer <fweimer@redhat.com>
16469 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
16470 (set_arena_corrupt): Remove definitions.
16471 (mtrim): Do not check for corrupt arena.
16472 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
16475 2017-08-30 Florian Weimer <fweimer@redhat.com>
16478 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
16480 (ptmalloc_init): Do not set or use check_action.
16481 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
16482 call to malloc_printerr. Remove return statement.
16483 (free_check): Likewise. Remove arena unlock.
16484 (top_check): Update comment. Adjust call to malloc_printerr.
16485 Remove heap repair code.
16486 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
16487 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
16488 (sysmalloc): Adjust call to malloc_printerr.
16489 (munmap_chunk, __libc_realloc): Likewise. Remove return
16491 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
16492 Remove errout label and corresponding gotos.
16493 (_int_free): Likewise. Remove arena unlock.
16494 (do_set_mallopt_check): Do not set check_action.
16495 (malloc_printerr): Adjust parameter list. Do not mark arena as
16497 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
16499 * manual/probes.texi (Memory Allocation Probes): Remove
16500 memory_mallopt_check_action.
16502 2017-08-30 Steve Ellcey <sellcey@cavium.com>
16504 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
16505 Use pointer to uint64_t instead of long int for sp.
16507 2017-08-30 Florian Weimer <fweimer@redhat.com>
16510 * malloc/malloc.c (malloc_printerr): Always terminate the process,
16511 without printing a backtrace. Do not leak any information in the
16513 * manual/memory.texi (Heap Consistency Checking): Update.
16514 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
16516 2017-08-30 Florian Weimer <fweimer@redhat.com>
16518 Do not scale NPTL tests with available number of CPUs.
16519 * nptl/tst-cond16.c (count): Set to constant value of 8.
16520 * nptl/tst-cond18.c (count): Likewise.
16522 2017-08-29 Joseph Myers <joseph@codesourcery.com>
16525 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
16526 Define to take a second argument that is a macro that
16527 concatentates a suffix, not the suffix itself.
16528 (__CONCAT_d): New macro.
16529 (__CONCAT_f): Likewise.
16530 (__CONCAT_l): Likewise.
16532 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
16534 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
16537 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16538 Aurelien Jarno <aurelien@aurel32.net>
16539 Maciej W. Rozycki <macro@imgtec.com>
16542 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
16543 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
16544 `mips16-syscall6' and `mips16-syscall7'.
16545 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
16546 (CFLAGS-mips16-syscall7.c): Remove.
16547 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
16548 Remove `__mips16_syscall5', `__mips16_syscall6' and
16549 `__mips16_syscall7'.
16550 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
16551 (__mips16_syscall0): Rename `__mips16_syscall_return' to
16552 `__mips_syscall_return'.
16553 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
16554 (__mips16_syscall1): Likewise.
16555 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
16556 (__mips16_syscall2): Likewise.
16557 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
16558 (__mips16_syscall3): Likewise.
16559 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
16560 (__mips16_syscall4): Likewise.
16561 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
16563 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
16565 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
16567 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
16568 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
16569 `__mips16_syscall5'. Remove prototype.
16570 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
16571 `__mips16_syscall6'. Remove prototype.
16572 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
16573 `__mips16_syscall7'. Remove prototype.
16574 (__nomips16, __mips16_syscall_return): Move to...
16575 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
16576 (__nomips16, __mips_syscall_return): ... here.
16577 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
16578 `__mips16_syscall_return' to `__mips_syscall_return'.
16579 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
16580 `internal_syscall##nr'.
16581 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
16582 `internal_syscall##nr'.
16583 (FORCE_FRAME_POINTER): Remove.
16584 (__mips_syscall5): New prototype.
16585 (internal_syscall5): Rewrite to call `__mips_syscall5'.
16586 (__mips_syscall6): New prototype.
16587 (internal_syscall6): Rewrite to call `__mips_syscall6'.
16588 (__mips_syscall7): New prototype.
16589 (internal_syscall7): Rewrite to call `__mips_syscall7'.
16590 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
16591 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
16592 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
16593 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
16594 (sysdep_routines): Add libc-do-syscall.
16595 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
16596 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
16598 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16601 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
16602 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
16603 (advise_stack_range): New function.
16604 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
16605 stack non required to advise_stack_range at allocatestack.c
16607 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
16609 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
16611 2017-08-29 Florian Weimer <fweimer@redhat.com>
16614 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
16615 __end_fct. Mangle __end_fct after setting it to NULL.
16616 * iconv/Makefile (tests): Add tst-gconv-init-failure.
16617 (modules-names, modules-names-tests): Add
16618 tst-gconv-init-failure-mod.
16619 (gconv-modules): New target.
16620 (tst-gconv-init-failure-mod.so): Link against libsupport.
16621 (tst-gconv-init-failure): Depend on gconv-modules,
16622 tst-gconv-init-failure-mod.so.
16623 * iconv/tst-gconv-init-failure-mod.c: New file.
16624 * iconv/tst-gconv-init-failure.c: Likewise.
16625 * iconv/test-gconv-modules: Likewise.
16627 2017-08-29 Florian Weimer <fweimer@redhat.com>
16630 * iconv/gconv_db.c (free_derivation): Remove redundant
16632 (gen_steps): Unconditionally mangle __btowc_fct after
16634 (increment_counter): Likewise. Do not call init_fct for internal
16637 2017-08-29 Joseph Myers <joseph@codesourcery.com>
16640 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
16641 (_MSUF_): Remove macro.
16642 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
16644 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
16645 (__REDIRFROM_X): New macro.
16646 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
16648 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
16649 (__REDIRTO_X): Likewise.
16650 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
16652 (__MATH_REDIRCALL_2): Likewise.
16653 (__MATH_REDIRCALL_INTERNAL): Likewise.
16654 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
16655 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
16656 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
16657 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
16658 * math/test-finite-macros.c: New file.
16659 * math/Makefile (tests): Add test-finite-macros.
16660 (CFLAGS-test-finite-macros.c): New variable.
16662 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
16663 Jeff Law <law@redhat.com>
16666 Mangle NULL pointers in iconv/gconv.
16667 * iconv/gconv_cache.c (find_module): Demangle init_fct before
16668 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
16669 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
16670 is non-NULL before demangling the end_fct. Check for NULL
16671 end_fct after demangling.
16672 (__gconv_release_step): Demangle the end_fct before checking
16673 it for NULL. Remove assert on __shlibc_handle != NULL.
16674 (gen_steps): Don't check btowc_fct for NULL before mangling.
16675 Demangle init_fct before checking for NULL.
16676 (increment_counter): Likewise.
16677 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
16678 end_fct for NULL before mangling.
16679 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
16682 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
16685 * locale/iso-639.def: add Morisyen.
16687 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16690 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
16691 (iszero): New C++ implementation that does not use
16692 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
16693 signaling nans are enabled, since __builtin_types_compatible_p
16694 is a C-only feature.
16695 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
16696 defined, include ieee754_float128.h for access to the union and
16697 member ieee854_float128.ieee.
16698 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
16699 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
16700 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
16701 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
16702 options of test-math-zero on powerpc64le.
16704 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
16706 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
16707 Change double to float.
16709 2017-08-28 Joseph Myers <joseph@codesourcery.com>
16711 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
16713 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
16714 conditional code; define contents only for [LIBM_SVID_COMPAT].
16716 2017-08-28 Florian Weimer <fweimer@redhat.com>
16718 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
16719 (abi-lp64_be-options): Remove.
16720 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
16721 (abi-hard-options): Likewise.
16722 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
16723 (abi-o32_hard-options, abi-o32_soft_2008-options)
16724 (abi-o32_hard_2008-options, abi-n32_soft-options)
16725 (abi-n32_hard-options, abi-n32_soft_2008-options)
16726 (abi-n32_hard_2008-options, abi-n64_soft-options)
16727 (abi-n64_hard-options, abi-n64_soft_2008-options)
16728 (abi-n64_hard_2008-options): Likewise.
16729 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
16730 (abi-64-v1-options, abi-64-v2-options): Likewise.
16731 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
16732 (abi-64-options): Likewise.
16733 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
16734 (abi-64-options): Likewise.
16735 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
16736 (abi-64-options): Likewise.
16737 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
16738 (abi-64-options, abi-x32-options): Likewise.
16740 2017-08-28 Florian Weimer <fweimer@redhat.com>
16742 Store supported list of SYS_* system calls in the source tree.
16743 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
16744 (bits/syscall.h): Generate from list file.
16745 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
16746 [$(subdir) = misc] (tests): Add tst-syscall-list.
16747 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
16748 [$(subdir) = misc] (tst-syscall-list-macros.list)
16749 [$(subdir) = misc] (tst-syscall-list-nr.list)
16750 (tst-syscall-list-sys.list): Helper targets for new
16751 tst-syscall-list test.
16752 [$(subdir) = misc] (tst-syscall-list.out): Run test script
16753 tst-syscall-list.sh.
16754 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
16755 target. Do not include bits/syscall.d.
16756 [$(subdir) = misc] (generated): Do not update.
16757 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
16758 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
16759 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
16760 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
16762 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
16764 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
16765 (tst-cxa_atexit, tst-on_exit): Likewise.
16766 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
16767 tst-cxa_atexit, and tst-on_exit.
16768 * stdlib/tst-atexit-common.c: New file.
16769 * stdlib/tst-atexit.c: New file.
16770 * stdlib/tst-at_quick_exit.c: New file.
16771 * stdlib/tst-cxa_atexit.c: New file.
16772 * stdlib/tst-on_exit.c: New file.
16774 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16776 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
16777 * mach/stack_chk_fail_local.c: New file.
16778 * hurd/stack_chk_fail_local.c: New file.
16779 * mach/Machrules ($(interface-library)-routines): Add
16780 stack_chk_fail_local.
16781 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
16782 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
16783 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
16784 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
16785 * hurd/Makefile (CFLAGS-hurdstartup.o,
16786 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
16788 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
16790 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
16791 (index_cpu_*, index_arch_*): Removed.
16793 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
16795 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
16796 Use uint64_t instead of unsigned long.
16798 2017-08-25 Joseph Myers <joseph@codesourcery.com>
16800 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
16801 [__HAVE_DISTINCT_FLOAT128].
16803 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
16804 of <bits/math-finite.h>.
16805 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
16806 inclusion of <bits/math-finite.h>.
16807 * math/bits/math-finite.h (__REDIRTO_X): Do not define
16808 conditionally on [__MATH_DECLARING_LDOUBLE && defined
16809 __NO_LONG_DOUBLE_MATH].
16810 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
16811 (__MATH_REDIRCALL_2): Likewise.
16812 (__MATH_REDIRCALL_INTERNAL): Likewise.
16813 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
16814 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
16815 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
16817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
16819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
16821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
16823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
16825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
16827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
16829 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
16830 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
16831 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
16832 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
16833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
16834 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
16835 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
16836 w_sqrtf_compat-ppc32.
16838 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16840 * math/math.h [defined __cplusplus] (issignaling): In the long
16841 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
16842 is not defined. Call __issignaling, otherwise.
16844 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16846 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
16847 syscall definitions and replace __builtin_expect with __glibc_likely.
16848 * sysdeps/unix/syscall-template.S: Update comment about cancellable
16850 (SYSCALL_CANCELLABLE): Removedefinition
16851 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
16853 (PSEUDO_END): Likewise.
16854 [IS_IN (libpthread)] (CENABLE): Likewise.
16855 [IS_IN (libpthread)] (CDISABLE): Likewise.
16856 [IS_IN (libc)] (CENABLE): Likewise.
16857 [IS_IN (libc)] (CENABLE): Likewise.
16858 [IS_IN (librt)] (CDISABLE): Likewise.
16859 [IS_IN (librt)] (CDISABLE): Likewise.
16860 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16861 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
16863 (PSEUDO_END): Likewise.
16864 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
16865 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
16866 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
16867 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
16868 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
16869 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
16870 (CENABLE): Likewise.
16871 (CDISABLE): Likewise.
16872 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16873 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
16875 (PSEUDO_END): Likewise.
16876 [IS_IN (libpthread)] (CENABLE): Likewise.
16877 [IS_IN (libpthread)] (CDISABLE): Likewise.
16878 [IS_IN (libc)] (CENABLE): Likewise.
16879 [IS_IN (libc)] (CENABLE): Likewise.
16880 [IS_IN (librt)] (CDISABLE): Likewise.
16881 [IS_IN (librt)] (CDISABLE): Likewise.
16882 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16883 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
16885 (PSEUDO_END): Likewise.
16886 [IS_IN (libpthread)] (CENABLE): Likewise.
16887 [IS_IN (libpthread)] (CDISABLE): Likewise.
16888 [IS_IN (libc)] (CENABLE): Likewise.
16889 [IS_IN (libc)] (CENABLE): Likewise.
16890 [IS_IN (librt)] (CDISABLE): Likewise.
16891 [IS_IN (librt)] (CDISABLE): Likewise.
16892 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16893 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
16895 (PSEUDO_END): Likewise.
16896 [IS_IN (libpthread)] (CENABLE): Likewise.
16897 [IS_IN (libpthread)] (CDISABLE): Likewise.
16898 [IS_IN (libc)] (CENABLE): Likewise.
16899 [IS_IN (libc)] (CENABLE): Likewise.
16900 [IS_IN (librt)] (CDISABLE): Likewise.
16901 [IS_IN (librt)] (CDISABLE): Likewise.
16902 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16903 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
16905 (PSEUDO_END): Likewise.
16906 [IS_IN (libpthread)] (CENABLE): Likewise.
16907 [IS_IN (libpthread)] (CDISABLE): Likewise.
16908 [IS_IN (libc)] (CENABLE): Likewise.
16909 [IS_IN (libc)] (CENABLE): Likewise.
16910 [IS_IN (librt)] (CDISABLE): Likewise.
16911 [IS_IN (librt)] (CDISABLE): Likewise.
16912 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16913 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
16915 (PSEUDO_END): Likewise.
16916 [IS_IN (libpthread)] (CENABLE): Likewise.
16917 [IS_IN (libpthread)] (CDISABLE): Likewise.
16918 [IS_IN (libc)] (CENABLE): Likewise.
16919 [IS_IN (libc)] (CENABLE): Likewise.
16920 [IS_IN (librt)] (CDISABLE): Likewise.
16921 [IS_IN (librt)] (CDISABLE): Likewise.
16922 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16923 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
16925 (PSEUDO_END): Likewise.
16926 [IS_IN (libpthread)] (CENABLE): Likewise.
16927 [IS_IN (libpthread)] (CDISABLE): Likewise.
16928 [IS_IN (libc)] (CENABLE): Likewise.
16929 [IS_IN (libc)] (CENABLE): Likewise.
16930 [IS_IN (librt)] (CDISABLE): Likewise.
16931 [IS_IN (librt)] (CDISABLE): Likewise.
16932 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16933 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
16935 (PSEUDO_END): Likewise.
16936 [IS_IN (libpthread)] (CENABLE): Likewise.
16937 [IS_IN (libpthread)] (CDISABLE): Likewise.
16938 [IS_IN (libc)] (CENABLE): Likewise.
16939 [IS_IN (libc)] (CENABLE): Likewise.
16940 [IS_IN (librt)] (CDISABLE): Likewise.
16941 [IS_IN (librt)] (CDISABLE): Likewise.
16942 (SINGLE_THREAD_P): Likewise.
16943 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
16945 (PSEUDO_END): Likewise.
16946 [IS_IN (libpthread)] (CENABLE): Likewise.
16947 [IS_IN (libpthread)] (CDISABLE): Likewise.
16948 [IS_IN (libc)] (CENABLE): Likewise.
16949 [IS_IN (libc)] (CENABLE): Likewise.
16950 [IS_IN (librt)] (CDISABLE): Likewise.
16951 [IS_IN (librt)] (CDISABLE): Likewise.
16952 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16953 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
16955 (PSEUDO_END): Likewise.
16956 [IS_IN (libpthread)] (CENABLE): Likewise.
16957 [IS_IN (libpthread)] (CDISABLE): Likewise.
16958 [IS_IN (libc)] (CENABLE): Likewise.
16959 [IS_IN (libc)] (CENABLE): Likewise.
16960 [IS_IN (librt)] (CDISABLE): Likewise.
16961 [IS_IN (librt)] (CDISABLE): Likewise.
16962 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16963 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
16964 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
16965 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
16966 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
16968 (PSEUDO_END): Likewise.
16969 [IS_IN (libpthread)] (CENABLE): Likewise.
16970 [IS_IN (libpthread)] (CDISABLE): Likewise.
16971 [IS_IN (libc)] (CENABLE): Likewise.
16972 [IS_IN (libc)] (CENABLE): Likewise.
16973 [IS_IN (librt)] (CDISABLE): Likewise.
16974 [IS_IN (librt)] (CDISABLE): Likewise.
16975 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16976 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
16978 (PSEUDO_END): Likewise.
16979 [IS_IN (libpthread)] (CENABLE): Likewise.
16980 [IS_IN (libpthread)] (CDISABLE): Likewise.
16981 [IS_IN (libc)] (CENABLE): Likewise.
16982 [IS_IN (libc)] (CENABLE): Likewise.
16983 [IS_IN (librt)] (CDISABLE): Likewise.
16984 [IS_IN (librt)] (CDISABLE): Likewise.
16985 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16986 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
16988 (PSEUDO_END): Likewise.
16989 [IS_IN (libpthread)] (CENABLE): Likewise.
16990 [IS_IN (libpthread)] (CDISABLE): Likewise.
16991 [IS_IN (libc)] (CENABLE): Likewise.
16992 [IS_IN (libc)] (CENABLE): Likewise.
16993 [IS_IN (librt)] (CDISABLE): Likewise.
16994 [IS_IN (librt)] (CDISABLE): Likewise.
16995 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16996 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
16997 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16998 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
16999 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
17001 (PSEUDO_END): Likewise.
17002 [IS_IN (libpthread)] (CENABLE): Likewise.
17003 [IS_IN (libpthread)] (CDISABLE): Likewise.
17004 [IS_IN (libc)] (CENABLE): Likewise.
17005 [IS_IN (libc)] (CENABLE): Likewise.
17006 [IS_IN (librt)] (CDISABLE): Likewise.
17007 [IS_IN (librt)] (CDISABLE): Likewise.
17008 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
17009 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
17011 (PSEUDO_END): Likewise.
17012 [IS_IN (libpthread)] (CENABLE): Likewise.
17013 [IS_IN (libpthread)] (CDISABLE): Likewise.
17014 [IS_IN (libc)] (CENABLE): Likewise.
17015 [IS_IN (libc)] (CENABLE): Likewise.
17016 [IS_IN (librt)] (CDISABLE): Likewise.
17017 [IS_IN (librt)] (CDISABLE): Likewise.
17018 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
17020 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17022 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
17024 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
17026 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17028 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
17031 * string/stratcliff.c (do_test): Declare size, nchars, inner,
17032 middle and outer with size_t instead of int. Repleace %d and
17033 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
17034 "MAX (outer, nchars - 64)" to support unsigned outer and
17035 nchars. Also exit loop when outer == 0.
17037 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17039 * include/fcntl.h (__fcntl_nocancel): Remove definition.
17040 * include/signal.h (__sigsuspend_nocancel): Likewise.
17041 * include/time.h (__nanosleep_nocancel): Likewise.
17042 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
17043 * login/utmp_file.c: Include non cancellable syscall header.
17044 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
17047 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
17049 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
17050 .byte sequences with AVX512F instructions.
17051 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
17052 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
17053 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17054 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
17056 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
17059 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
17060 Steve Ellcey <sellcey@cavium.com>
17062 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
17063 Use PTR_REG macro in cmp instruction.
17065 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17067 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
17068 Change the return type of the ifunc resolver to match the return
17069 type of the target function.
17071 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17073 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
17074 (preadv64): Likewise.
17075 (pwrite64(: Likewise.
17076 (pwritev64): Likewise.
17078 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17079 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
17080 (LOAD_ARGS_0): Likewise.
17081 (LOAD_ARGS_1): Likewise.
17082 (LOAD_ARGS_2): Likewise.
17083 (LOAD_ARGS_3): Likewise.
17084 (LOAD_ARGS_4): Likewise.
17085 (LOAD_ARGS_5): Likewise.
17086 (LOAD_ARGS_6): Likewise.
17087 (LOAD_REGS_0): Likewise.
17088 (LOAD_REGS_1): Likewise.
17089 (LOAD_REGS_2): Likewise.
17090 (LOAD_REGS_3): Likewise.
17091 (LOAD_REGS_4): Likewise.
17092 (LOAD_REGS_5): Likewise.
17093 (LOAD_REGS_6): Likewise.
17094 (ASM_ARGS_0): Likewise.
17095 (ASM_ARGS_1): Likewise.
17096 (ASM_ARGS_2): Likewise.
17097 (ASM_ARGS_3): Likewise.
17098 (ASM_ARGS_4): Likewise.
17099 (ASM_ARGS_5): Likewise.
17100 (ASM_ARGS_6): Likewise.
17101 (LOAD_ARGS_TYPES_1): Likewise.
17102 (LOAD_ARGS_TYPES_2): Likewise.
17103 (LOAD_ARGS_TYPES_3): Likewise.
17104 (LOAD_ARGS_TYPES_4): Likewise.
17105 (LOAD_ARGS_TYPES_5): Likewise.
17106 (LOAD_ARGS_TYPES_6): Likewise.
17107 (LOAD_REGS_TYPES_1): Likewise.
17108 (LOAD_REGS_TYPES_2): Likewise.
17109 (LOAD_REGS_TYPES_3): Likewise.
17110 (LOAD_REGS_TYPES_4): Likewise.
17111 (LOAD_REGS_TYPES_5): Likewise.
17112 (LOAD_REGS_TYPES_6): Likewise.
17113 (TYPEFY): New define.
17114 (ARGIFY): Likewise.
17115 (internal_syscall0): Likewise.
17116 (internal_syscall1): Likewise.
17117 (internal_syscall2): Likewise.
17118 (internal_syscall3): Likewise.
17119 (internal_syscall4): Likewise.
17120 (internal_syscall5): Likewise.
17121 (internal_syscall6): Likewise.
17122 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
17123 (INTERNAL_SYSCALL_NCS): Remove define.
17124 (internal_syscall1): Add define.
17126 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17128 * math/w_remainder_compat.c: Remove duplicate inclusion of
17129 math-svid-compat.h.
17130 * math/w_remainderf_compat.c: Likewise.
17131 * math/w_remainderl_compat.c: Likewise.
17133 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17137 2017-08-22 Joseph Myers <joseph@codesourcery.com>
17140 * math/tgmath.h (__floating_type): Simplify definitions.
17141 (__real_integer_type): New macro.
17142 (__complex_integer_type): Likewise.
17143 (__expr_is_real): Likewise.
17144 (__tgmath_real_type_sub): Update comment to describe handling of
17146 (__tgmath_complex_type_sub): New macro.
17147 (__tgmath_complex_type): Likewise.
17148 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
17149 (__TGMATH_CF128): Use __expr_is_real.
17150 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
17152 (__TGMATH_BINARY_REAL_IMAG): Likewise.
17153 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
17154 * math/gen-tgmath-tests.py (Type.create_type): Create complex
17157 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17159 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
17161 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
17163 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
17166 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
17167 nanosleep_not_cancel with __nanosleep_nocancel.
17168 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
17169 (__nanosleep_nocancel): New macro.
17170 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
17172 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
17174 (__nanosleep_nocancel): New prototype.
17176 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
17177 pause_not_cancel with __pause_nocancel.
17178 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
17179 (__pause_nocancel): New macro.
17180 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
17182 (__pause_nocancel): New prototype.
17183 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
17185 2017-08-22 Martin Sebor <msebor@redhat.com>
17187 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
17188 to return a pointer to the same type as the target function.
17190 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
17194 * include/printf.h (__printf_fphex): Add attribute_hidden.
17195 (__guess_grouping): New prototype.
17196 * stdio-common/printf_fp.c (__guess_grouping): Removed.
17197 * stdio-common/reg-printf.c (__register_printf_specifier): Add
17198 libc_hidden_proto and libc_hidden_def.
17199 * stdlib/strfmon_l.c (__guess_grouping): Removed.
17200 (__vstrfmon_l): Remove the third argument passed to
17203 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17205 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
17206 definition for issignaling that does not rely on __MATH_TG,
17207 since __MATH_TG uses __builtin_types_compatible_p, which is only
17208 available in C mode.
17209 (CFLAGS-test-math-issignaling.cc): New variable.
17210 * math/Makefile [CXX] (tests): Add test-math-issignaling.
17211 * math/test-math-issignaling.cc: New test for C++ implementation
17212 of type-generic issignaling.
17213 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
17214 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
17215 options of test-math-issignaling on powerpc64le.
17217 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
17219 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
17221 (hidden_proto): Likewise.
17222 (hidden_tls_proto): Likewise.
17223 (__hidden_proto): Likewise.
17225 2017-08-22 Florian Weimer <fweimer@redhat.com>
17227 math: Statically link tests of internal functionality.
17228 * math/Makefile (tests): Remove atest-exp, atest-sincos,
17230 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
17231 (gmp-objs): Remove assignment.
17232 (atest-exp, atest-sincos, atest-exp2): Remove targets.
17234 2017-08-22 Joseph Myers <joseph@codesourcery.com>
17237 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
17239 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
17241 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
17244 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
17245 variable definitions above inclusion of ../Rules.
17247 2017-08-21 Joseph Myers <joseph@codesourcery.com>
17249 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
17250 case calling __builtin_unreachable.
17252 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17254 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
17255 __waitpid_nocancel.
17256 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
17257 (__waitpid_nocancel): New macro.
17258 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
17260 (__waitpid_nocancel): Replace macro with a function.
17261 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
17264 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
17266 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
17267 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
17269 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
17270 __writev_nocancel_nostatus.
17271 (write_call_graph): Likewise.
17272 (write_bb_counts): Likewise.
17273 * resolv/herror.c (herror): Likewise.
17274 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
17276 (__writev_nocancel_nostatus): New macro.
17277 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
17279 (__writev_nocancel_nostatus): New function.
17281 2017-08-21 Joseph Myers <joseph@codesourcery.com>
17284 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
17286 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
17288 (hidden_proto): Likewise.
17289 (hidden_tls_proto): Likewise.
17290 (__hidden_proto): Likewise.
17293 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
17294 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
17295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
17297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
17299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
17301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
17303 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
17304 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
17305 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
17306 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
17307 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
17308 GLIBC_2.0 sqrtl symbol.
17310 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
17311 [__USE_MISC] (_LIB_VERSION): Likewise.
17312 [__USE_MISC] (struct exception): Likewise.
17313 [__USE_MISC] (matherr): Likewise.
17314 [__USE_MISC] (DOMAIN): Likewise.
17315 [__USE_MISC] (SING): Likewise.
17316 [__USE_MISC] (OVERFLOW): Likewise.
17317 [__USE_MISC] (UNDERFLOW): Likewise.
17318 [__USE_MISC] (TLOSS): Likewise.
17319 [__USE_MISC] (PLOSS): Likewise.
17320 [__USE_MISC] (HUGE): Likewise.
17321 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
17322 * math/math-svid-compat.h: New file.
17323 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
17325 * include/math.h [!_ISOMAC] (__matherr): Remove.
17326 * manual/arith.texi (FP Exceptions): Do not document matherr.
17327 * math/Makefile (tests): Change test-matherr to test-matherr-3.
17328 (tests-internal): New variable.
17329 (install-lib): Do not add libieee.a.
17330 (non-lib.a): Likewise.
17331 (extra-objs): Do not add libieee.a and ieee-math.o.
17332 (CPPFLAGS-s_lib_version.c): Remove variable.
17333 ($(objpfx)libieee.a): Remove rule.
17334 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
17335 * math/ieee-math.c: Remove.
17336 * math/libm-test-support.c (matherr): Remove.
17337 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
17338 and license notices. Include <math-svid-compat.h> and
17340 (matherr): Undefine as macro. Use compat_symbol_reference.
17341 (_LIB_VERSION): Likewise.
17342 * math/test-matherr-2.c: New file.
17343 * math/test-matherr-3.c: Likewise.
17344 * sysdeps/generic/math_private.h (__kernel_standard): Remove
17346 (__kernel_standard_f): Likewise.
17347 (__kernel_standard_l): Likewise.
17348 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
17349 <math_private.h>. Include <math-svid-compat.h>.
17350 (_LIB_VERSION): Undefine as macro.
17351 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
17352 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
17353 [LIBM_SVID_COMPAT], use compat_symbol.
17354 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
17355 <math_private.h>. Include <math-svid-compat.h>.
17356 (matherr): Undefine as macro.
17357 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
17359 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
17360 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
17361 compat_symbol_reference.
17362 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
17363 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
17364 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
17365 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
17366 (MATHERR_D): Remove declaration.
17367 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
17368 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
17369 [LIBM_BUILD] (pmatherrf): Likewise.
17370 [LIBM_BUILD] (pmatherr): Likewise.
17371 [LIBM_BUILD] (pmatherrl): Likewise.
17372 (DOMAIN): Likewise.
17374 (OVERFLOW): Likewise.
17375 (UNDERFLOW): Likewise.
17378 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
17379 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
17381 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
17382 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
17384 * math/lgamma-compat.h: Include <math-svid-compat.h>.
17385 * math/w_acos_compat.c: Likewise.
17386 * math/w_acosf_compat.c: Likewise.
17387 * math/w_acosh_compat.c: Likewise.
17388 * math/w_acoshf_compat.c: Likewise.
17389 * math/w_acoshl_compat.c: Likewise.
17390 * math/w_acosl_compat.c: Likewise.
17391 * math/w_asin_compat.c: Likewise.
17392 * math/w_asinf_compat.c: Likewise.
17393 * math/w_asinl_compat.c: Likewise.
17394 * math/w_atan2_compat.c: Likewise.
17395 * math/w_atan2f_compat.c: Likewise.
17396 * math/w_atan2l_compat.c: Likewise.
17397 * math/w_atanh_compat.c: Likewise.
17398 * math/w_atanhf_compat.c: Likewise.
17399 * math/w_atanhl_compat.c: Likewise.
17400 * math/w_cosh_compat.c: Likewise.
17401 * math/w_coshf_compat.c: Likewise.
17402 * math/w_coshl_compat.c: Likewise.
17403 * math/w_exp10_compat.c: Likewise.
17404 * math/w_exp10f_compat.c: Likewise.
17405 * math/w_exp10l_compat.c: Likewise.
17406 * math/w_exp2_compat.c: Likewise.
17407 * math/w_exp2f_compat.c: Likewise.
17408 * math/w_exp2l_compat.c: Likewise.
17409 * math/w_fmod_compat.c: Likewise.
17410 * math/w_fmodf_compat.c: Likewise.
17411 * math/w_fmodl_compat.c: Likewise.
17412 * math/w_hypot_compat.c: Likewise.
17413 * math/w_hypotf_compat.c: Likewise.
17414 * math/w_hypotl_compat.c: Likewise.
17415 * math/w_j0_compat.c: Likewise.
17416 * math/w_j0f_compat.c: Likewise.
17417 * math/w_j0l_compat.c: Likewise.
17418 * math/w_j1_compat.c: Likewise.
17419 * math/w_j1f_compat.c: Likewise.
17420 * math/w_j1l_compat.c: Likewise.
17421 * math/w_jn_compat.c: Likewise.
17422 * math/w_jnf_compat.c: Likewise.
17423 * math/w_jnl_compat.c: Likewise.
17424 * math/w_lgamma_main.c: Likewise.
17425 * math/w_lgamma_r_compat.c: Likewise.
17426 * math/w_lgammaf_main.c: Likewise.
17427 * math/w_lgammaf_r_compat.c: Likewise.
17428 * math/w_lgammal_main.c: Likewise.
17429 * math/w_lgammal_r_compat.c: Likewise.
17430 * math/w_log10_compat.c: Likewise.
17431 * math/w_log10f_compat.c: Likewise.
17432 * math/w_log10l_compat.c: Likewise.
17433 * math/w_log2_compat.c: Likewise.
17434 * math/w_log2f_compat.c: Likewise.
17435 * math/w_log2l_compat.c: Likewise.
17436 * math/w_log_compat.c: Likewise.
17437 * math/w_logf_compat.c: Likewise.
17438 * math/w_logl_compat.c: Likewise.
17439 * math/w_pow_compat.c: Likewise.
17440 * math/w_powf_compat.c: Likewise.
17441 * math/w_powl_compat.c: Likewise.
17442 * math/w_remainder_compat.c: Likewise.
17443 * math/w_remainderf_compat.c: Likewise.
17444 * math/w_remainderl_compat.c: Likewise.
17445 * math/w_scalb_compat.c: Likewise.
17446 * math/w_scalbf_compat.c: Likewise.
17447 * math/w_scalbl_compat.c: Likewise.
17448 * math/w_sinh_compat.c: Likewise.
17449 * math/w_sinhf_compat.c: Likewise.
17450 * math/w_sinhl_compat.c: Likewise.
17451 * math/w_sqrt_compat.c: Likewise.
17452 * math/w_sqrtf_compat.c: Likewise.
17453 * math/w_sqrtl_compat.c: Likewise.
17454 * math/w_tgamma_compat.c: Likewise.
17455 * math/w_tgammaf_compat.c: Likewise.
17456 * math/w_tgammal_compat.c: Likewise.
17457 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
17458 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
17459 * sysdeps/ieee754/k_standard.c: Likewise.
17460 * sysdeps/ieee754/k_standardf.c: Likewise.
17461 * sysdeps/ieee754/k_standardl.c: Likewise.
17462 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
17463 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
17464 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
17465 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
17466 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
17467 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
17468 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
17469 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
17470 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
17471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
17473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
17475 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
17476 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
17477 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
17478 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
17480 2017-08-21 Florian Weimer <fweimer@redhat.com>
17483 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
17484 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
17485 Move before inclusion of ../Rules.
17487 2017-08-21 Florian Weimer <fweimer@redhat.com>
17490 * assert/assert.h (assert): Use static_cast (bool) for C++.
17491 Use the ternary operator in the warning branch for GNU C.
17492 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
17493 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
17494 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
17495 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
17496 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
17498 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
17501 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17502 (__syscall_clock_gettime): Add attribute_hidden.
17503 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
17504 (__start_context): Likewise.
17506 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
17508 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
17510 (hidden_proto): Likewise.
17511 (hidden_tls_proto): Likewise.
17512 (__hidden_proto): Likewise.
17514 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
17516 * include/libc-symbols.h (attribute_hidden): Enable hidden
17517 visibility in libc.a compiled with PIE.
17519 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
17522 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
17523 Add attribute_hidden.
17525 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
17528 * Makerules (all-nonlib): Add $(others-extras).
17529 * catgets/Makefile (others-extras): New.
17530 * elf/Makefile (others-extras): Likewise.
17531 * nss/Makefile (others-extras): Likewise.
17533 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
17536 * csu/libc-start.c (__libc_multiple_libcs): Removed.
17537 * elf/dl-open.c: Include <libc-internal.h>.
17538 (__libc_multiple_libcs): Removed.
17539 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
17541 * include/libc-internal.h (__libc_multiple_libcs): New.
17542 * misc/sbrk.c: Include <libc-internal.h>.
17543 (__libc_multiple_libcs): Removed.
17545 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
17548 * grp/initgroups.c (__nss_group_database): Removed.
17549 (__nss_initgroups_database): Likewise.
17550 * nscd/gai.c (__nss_hosts_database): Likewise.
17551 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
17552 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17553 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17554 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17555 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
17556 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
17558 * nss/nsswitch.c (__nss_database_custom): Define only if
17559 USE_NSCD is defined.
17560 (__nss_configure_lookup): Use __nss_database_custom only if
17561 USE_NSCD is defined.
17562 * nss/nsswitch.h (__nss_database_custom): Declare only if
17563 USE_NSCD is defined. Add attribute_hidden.
17564 (__nss_setent): Add attribute_hidden.
17565 (__nss_endent): Likewise.
17566 (__nss_getent_r): Likewise.
17567 (__nss_getent): Likewise.
17568 (DEFINE_DATABASE): Declare __nss_##arg##_database.
17570 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
17573 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
17574 libc_hidden_proto and libc_hidden_def.
17576 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
17579 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
17580 Add libc_hidden_proto.
17581 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
17582 Add libc_hidden_def.
17584 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
17587 * gmon/Makefile (routines): Remove bb_init_func and
17589 (elide-routines.os): Removed.
17590 * gmon/bb_exit_func.c: Likewise.
17591 * gmon/bb_init_func.c: Likewise.
17592 * include/sys/gmon.h (__bb): Likewise.
17593 (__bb_init_func): Likewise.
17594 (__bb_exit_func): Likewise.
17595 * sysdeps/alpha/bb_init_func.S: Likewise.
17597 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
17599 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
17600 * include/setjmp.h (____longjmp_chk): Here. Add
17603 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
17606 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
17608 (__strspn_sse2): Likewise.
17610 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17612 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
17613 (close_not_cancel_no_status): Likewise.
17614 (__close_nocancel): New macro.
17615 (__close_nocancel_nostatus): Likewise.
17616 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
17618 (close_not_cancel): Likewise.
17619 (close_not_cancel_no_status): Likewise.
17620 (__close_nocancel): New prototype.
17621 (__close_nocancel_nostatus): New function.
17622 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
17623 * catgets/open_catalog.c (__open_catalog): Replace
17624 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
17625 * gmon/gmon.c (write_gmon): Likewise.
17626 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17627 * intl/loadmsgcat.c (close): Likewise.
17628 * io/ftw.c (open_dir_stream): Likewise.
17629 (ftw_startup): Likewise.
17630 * libio/fileops.c (_IO_file_open): Likewise.
17631 (_IO_file_close_mmap): Likewise.
17632 (_IO_file_close): Likewise.
17633 * libio/iopopen.c (_IO_dup2): Likewise.
17634 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17635 * locale/loadlocale.c (_nl_load_locale): Likewise.
17636 * login/utmp_file.c (pututline_file): Likewise.
17637 (endutent_file): Likewise.
17638 * misc/daemon.c (daemon): Likewise.
17639 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17640 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17641 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
17642 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17643 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17644 * nscd/nscd_helper.c (open_socket): Likewise.
17645 (__nscd_open_socket): Likewise.
17646 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17647 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
17648 (__nscd_innetgr): Likewise.
17649 * nss/nss_db/db-open.c (internal_setent): Likewise.
17650 * resolv/res-close.c (__res_iclose): Likewise.
17651 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
17652 * sysdeps/posix/closedir.c (__closedir): Likewise.
17653 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
17654 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17655 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
17656 (opendir_tail): Likewise.
17657 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
17658 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
17659 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17660 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17661 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
17662 (gethostid): Likewise.
17663 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
17664 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17666 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17667 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
17668 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
17669 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
17671 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
17672 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
17673 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
17675 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
17676 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17678 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17680 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
17681 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
17682 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
17685 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
17686 (openat_not_cancel_3): Likewise.
17687 (openat64_not_cancel_3): Likewise).
17688 (openat_not_cancel_3): Likewise).
17689 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
17691 (openat_not_cancel_3): Likewise.
17692 (openat64_not_cancel): Likewise.
17693 (openat64_not_cancel_3): Likewise.
17694 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
17695 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
17696 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
17697 __open{64}_nocancel.
17698 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
17699 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17700 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17702 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
17705 * include/argz.h (__argz_create_sep): New function prototype.
17706 (__argz_append): Likewise.
17707 (__argz_add): Likewise.
17708 (__argz_add_sep): Likewise.
17709 (__argz_delete): Likewise.
17710 (__argz_insert): Likewise.
17711 (__argz_replace): Likewise.
17712 * string/argz.h (__argz_create_sep): Removed.
17713 (__argz_append): Likewise.
17714 (__argz_add): Likewise.
17715 (__argz_add_sep): Likewise.
17716 (__argz_delete): Likewise.
17717 (__argz_insert): Likewise.
17718 (__argz_replace): Likewise.
17720 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
17722 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
17723 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
17724 (GNU_PROPERTY_STACK_SIZE): Likewie.
17725 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
17726 (GNU_PROPERTY_LOPROC): Likewise.
17727 (GNU_PROPERTY_HIPROC): Likewise.
17728 (GNU_PROPERTY_LOUSER): Likewise.
17729 (GNU_PROPERTY_HIUSER): Likewise.
17730 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
17731 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
17732 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
17733 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
17734 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
17735 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
17736 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
17737 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
17738 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
17739 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
17740 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
17741 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
17742 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
17743 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
17744 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
17745 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
17746 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
17747 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
17748 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
17749 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
17750 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
17751 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
17752 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
17754 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17756 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
17759 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17762 * math/math.h (isinf): Check if in C or C++ mode before using
17763 __builtin_types_compatible_p, since this is a C mode feature.
17765 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17767 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
17768 (__write_nocancel): New macro.
17769 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
17770 Rewrite as a function prototype.
17771 (write_not_cancel): Remove macro.
17772 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
17773 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
17774 (write_gmon): Likewise.
17775 * libio/fileops.c (_IO_new_file_write): Likewise.
17776 * login/utmp_file.c (pututline_file): Likewise.
17777 (updwtmp_file): Likewise.
17778 * stdio-common/psiginfo.c (psiginfo): Likewise.
17779 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
17780 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
17781 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
17783 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17786 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
17787 (__read_nocancel): New macro.
17788 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
17790 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
17792 (__read_nocancel): New prototype.
17793 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
17794 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
17795 with __read_nocancel.
17796 * intl/loadmsgcat.c (read): Likewise.
17797 * libio/fileops.c (_IO_file_read): Likewise.
17798 * locale/loadlocale.c (_nl_load_locale): Likewise.
17799 * login/utmp_file.c (getutent_r_file): Likewise.
17800 (internal_getut_r): Likewise.
17801 (getutline_r_file): Likewise.
17802 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
17803 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17804 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
17805 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17807 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
17808 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
17809 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
17811 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
17813 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
17815 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17817 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
17819 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
17822 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
17823 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
17826 2017-08-17 DJ Delorie <dj@redhat.com>
17828 * bug17079.c: Update to new test harness.
17829 * test-digits-dots.c: Likewise.
17830 * test-netdb.c: Likewise.
17831 * tst-field.c: Likewise.
17832 * tst-nss-getpwent.c: Likewise.
17833 * tst-nss-static.c: Likewise.
17834 * tst-nss-test1.c: Likewise.
17835 * tst-nss-test2.c: Likewise.
17836 * tst-nss-test3.c: Likewise.
17837 * tst-nss-test4.c: Likewise.
17838 * tst-nss-test5.c: Likewise.
17840 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17842 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
17843 (open_not_cancel_2): Likewise.
17844 (open_nocancel): New macro.
17845 (open64_nocancel): Likewise.
17846 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
17847 (open_not_cancel_2): Likewise.
17848 (__open_nocancel): New prototype.
17849 (__open64_nocancel): Likewise.
17850 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
17852 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
17853 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
17854 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
17855 with __open_nocancel.
17856 * csu/check_fds.c (check_one_fd): Likewise.
17857 * gmon/gmon.c (write_gmon): Likewise.
17858 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
17859 * intl/loadmsgcat.c (open): Likewise.
17860 * libio/fileops.c (_IO_file_open): Likewise.
17861 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17862 * locale/loadlocale.c (_nl_load_locale): Likewise.
17863 * login/utmp_file.c (setutent_file): Likewise.
17864 * misc/daemon.c (daemon): Likewise.
17865 * nss/nss_db/db-open.c (internal_setent): Likewise.
17866 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
17867 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
17868 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
17869 (__opendir): Likewise.
17870 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
17871 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
17872 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
17873 (gethostid): Likewise.
17874 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
17875 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17877 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17878 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
17879 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
17880 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
17882 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
17884 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
17886 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
17888 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17890 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17892 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
17893 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
17895 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
17897 * benchtests/bench-skeleton.c (main): Add support for
17898 latency benchmarking.
17899 * benchtests/scripts/bench.py: Add support for latency benchmarking.
17901 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
17903 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
17904 the startup object.
17906 2017-08-17 Florian Weimer <fweimer@redhat.com>
17908 * include/sys/socket.h (__opensock): Remove internal_function.
17909 * socket/opensock.c (__opensock): Likewise.
17910 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
17912 2017-08-16 Joseph Myers <joseph@codesourcery.com>
17915 * signal/bits/types/__sigval_t.h: New file.
17916 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
17917 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
17918 and define sigval_t using __sigval_t.
17919 * include/bits/types/__sigval_t.h: New file.
17920 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
17921 instead of <bits/types/__sigval_t.h>.
17922 (struct sigevent): Use __sigval_t instead of sigval_t.
17923 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
17924 instead of <bits/types/__sigval_t.h>.
17925 (siginfo_t): Use __sigval_t instead of sigval_t.
17926 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
17927 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
17928 (struct sigevent): Use __sigval_t instead of sigval_t.
17929 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
17930 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
17931 (siginfo_t): Use __sigval_t instead of sigval_t.
17932 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
17934 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
17936 * NEWS: Remove "[Add new features here]" for 2.27.
17938 2017-08-16 Joseph Myers <joseph@codesourcery.com>
17940 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
17943 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
17945 * NEWS: Mention x86-64 FMA optimization.
17947 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
17950 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17952 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
17953 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
17954 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
17956 2017-08-16 Andreas Schwab <schwab@suse.de>
17960 * elf/ldd.bash.in: Never run file directly.
17962 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
17965 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
17966 (L(SP_INF_0)): Likewise.
17968 2017-08-15 Florian Weimer <fweimer@redhat.com>
17970 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
17973 2017-08-15 Florian Weimer <fweimer@redhat.com>
17975 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
17976 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
17977 BROKEN_THREAD_SIGNALS code.
17978 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
17979 request_list): Remove caller_pid member used for
17980 BROKEN_THREAD_SIGNALS.
17981 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
17982 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
17983 Remove BROKEN_THREAD_SIGNALS support.
17984 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
17985 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
17987 2017-08-15 Florian Weimer <fweimer@redhat.com>
17989 * gmon/Makefile (tests): Add tst-gmon.
17990 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
17992 (tests-special): Add tst-gmon-prof.out.
17993 (tst-gmon.out): Depend on clean-tst-gmon-data.
17994 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
17995 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
17996 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
17998 * aclocal.m4 (GPROF): Set and substitute.
17999 * config.amke.in (GPROF): Set.
18000 * configure: Regenerate.
18002 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
18004 * elf/elf.h A (NT_PPC_TAR): New macro.
18005 (NT_PPC_PPR): Likewise.
18006 (NT_PPC_DSCR): Likewise.
18007 (NT_PPC_EBB): Likewise.
18008 (NT_PPC_PMU): Likewise.
18009 (NT_PPC_TM_CGPR): Likewise.
18010 (NT_PPC_TM_CFPR): Likewise.
18011 (NT_PPC_TM_CVMX): Likewise.
18012 (NT_PPC_TM_CVSX): Likewise.
18013 (NT_PPC_TM_SPR): Likewise.
18014 (NT_PPC_TM_CTAR): Likewise.
18015 (NT_PPC_TM_CPPR): Likewise.
18016 (NT_PPC_TM_CDSCR): Likewise.
18018 2017-08-15 Florian Weimer <fweimer@redhat.com>
18020 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
18021 regparm (2) instead of internal_function.
18022 (_MCOUNT_DECL): Adjust.
18024 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18026 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
18027 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
18029 2017-08-14 Joseph Myers <joseph@codesourcery.com>
18031 * conform/data/sys/wait.h-data (si_value): Do not expect for
18034 2017-08-14 Florian Weimer <fweimer@redhat.com>
18037 NSS: Create stubs for accidentally exported lookup functions.
18038 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
18039 Remove declaration.
18040 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
18041 (ether_hostton): Call __nss_ethers_lookup2 instead.
18042 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
18043 (ether_ntohost): Call __nss_ethers_lookup2 instead.
18044 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
18045 (setup): Call __nss_netgroup_lookup2 instead.
18046 * nss/Makefile (routines): Add compat-lookup.
18047 * nss/Versions (GLIBC_2.27): Add symbol version.
18048 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
18049 (DB_COMPAT_FCT): Remove.
18050 * nss/compat-lookup.c: New file.
18051 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
18052 from databases.def.
18053 * nss/service-lookup.c (NO_COMPAT): Remove definition.
18054 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
18055 (netname2user): Call __nss_publickey_lookup2 instead.
18056 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
18057 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
18060 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18061 Sergei Trofimovich <slyfox@inbox.ru>
18064 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
18065 Rename to MMAP2_PAGE_UNIT.
18066 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
18067 __OFF_T_MATCHES_OFF64_T is not defined.
18068 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
18070 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
18071 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
18073 2017-08-14 Florian Weimer <fweimer@redhat.com>
18075 i386: Do not set internal_function.
18076 * config.h.in (USE_REGPARMS, internal_function): Remove.
18077 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
18078 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
18080 2017-08-14 Florian Weimer <fweimer@redhat.com>
18082 * elf/dl-init.c (_dl_init): Remove internal_function.
18083 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
18084 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
18086 2017-08-14 Florian Weimer <fweimer@redhat.com>
18088 * elf/rtld.c (_dl_start): Remove internal_function.
18089 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
18092 2017-08-14 Florian Weimer <fweimer@redhat.com>
18094 * elf/dl-fini.c (_dl_fini): Remove internal_function
18095 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
18097 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
18099 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
18100 (bit_cpu_SHSTK): Likewise.
18101 (index_cpu_IBT): Likewise.
18102 (index_cpu_SHSTK): Likewise.
18103 (reg_IBT): Likewise.
18104 (reg_SHSTK): Likewise.
18105 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
18106 Handle index_cpu_IBT and index_cpu_SHSTK.
18108 2017-08-14 Mike FABIAN <mfabian@redhat.com>
18111 * po/fr.po: Fix spelling mistake.
18113 2017-08-13 Florian Weimer <fweimer@redhat.com>
18115 * elf/dl-addr.c (_dl_addr): Remove internal_function.
18116 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
18117 (_dl_catch_error, _dl_receive_error): Likewise.
18118 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
18119 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
18120 (_dl_deallocate_tls): Likewise.
18121 * include/dlfcn.h (_dl_addr): Likewise.
18122 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
18123 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
18124 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
18127 2017-08-13 Florian Weimer <fweimer@redhat.com>
18129 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
18130 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
18132 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
18134 2017-08-13 Florian Weimer <fweimer@redhat.com>
18136 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
18138 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
18139 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
18140 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
18141 internal_function from _dl_make_stack_executable_hook member.
18142 (_dl_make_stack_executable): Remove internal_function.
18143 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
18145 * sysdeps/unix/sysv/linux/dl-execstack.c
18146 (_dl_make_stack_executable): Likewise.
18148 2017-08-13 Florian Weimer <fweimer@redhat.com>
18150 * sysdeps/unix/sysv/linux/netlinkaccess.h
18151 (__netlink_assert_response): Remove internal_function.
18152 * sysdeps/unix/sysv/linux/netlink_assert_response.c
18153 (__netlink_assert_response): Likewise.
18155 2017-08-13 Florian Weimer <fweimer@redhat.com>
18157 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
18159 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
18161 2017-08-13 Florian Weimer <fweimer@redhat.com>
18163 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
18165 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
18166 * inet/netgroup.h (__internal_setnetgrent)
18167 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
18168 * inet/getnetgrent_r.c (__internal_setnetgrent)
18169 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
18170 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
18171 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
18172 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
18173 * nss/nsswitch.h (db_lookup_function): Likewise.
18175 2017-08-13 Florian Weimer <fweimer@redhat.com>
18177 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
18178 Remove internal_function.
18179 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
18180 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
18181 message argument on the stack.
18182 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
18185 2017-08-12 Mike FABIAN <mfabian@redhat.com>
18187 Adapt test case data to the changes in the thousands
18191 * localedata/tst-langinfo.sh: Adapt test case data.
18192 * stdlib/tst-strfmon_l.c: Likewise.
18193 * stdlib/tst-strtod4.c: Likewise.
18194 * stdlib/tst-strtod5i.c: Likewise.
18196 2017-08-11 Florian Weimer <fweimer@redhat.com>
18199 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
18200 Suppress pedantic warning resulting from statement expression.
18201 (__ASSERT_FUNCTION): Add missing __extension__.
18203 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
18205 * benchtests/bench-memmove-large.c: Print output in JSON
18207 * benchtests/bench-memmove.c: Likewise.
18209 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
18210 * benchtests/bench-memchr.c (do_one_test): Likewise.
18211 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
18212 * benchtests/bench-memcpy.c (do_one_test): Likewise.
18213 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
18214 * benchtests/bench-memmove.c (do_one_test): Likewise.
18215 * benchtests/bench-memset-large.c (do_one_test): Likewise.
18216 * benchtests/bench-memset.c (do_one_test): Likewise.
18217 * benchtests/bench-string.h (test_init): Remove memsets.
18219 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
18222 (Computing the Width of an Integer Data Type): Rename section to
18223 "Width of an Integer Type". Remove inaccurate statement regarding
18224 lack of C language facilities for determining width of integer
18225 types, and reorder content to improve flow and context of
18228 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
18230 * lang.texi (va_copy): Change standard from ISO to C99.
18231 (__va_copy): Add standard and header annotation.
18232 Update description for clarity of origins and current use.
18234 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18237 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
18238 xssqrtqp requires operands to be in Vector Registers
18239 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
18240 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
18241 (__ieee754_sqrtf128): Likewise.
18243 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
18245 * sysdeps/aarch64/memcmp.S (memcmp):
18246 Rewrite of optimized memcmp.
18248 2017-08-10 Florian Weimer <fweimer@redhat.com>
18250 Introduce ld.so exceptions.
18251 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
18252 (_dl_exception_create, _dl_exception_create_format)
18253 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
18254 (_dl_catch_exception): Declare.
18255 (_dl_catch_error): Update comment.
18256 * elf/dl-error-skeleton.c (struct catch): Replace objname,
18257 errstring, malloced members with exception member.
18258 (_dl_out_of_memory): Remove.
18259 (fatal_error): New function, extracted from _dl_signal_error.
18260 (_dl_signal_exception, _dl_signal_cexception): New functions.
18261 (_dl_signal_error): Call _dl_exception_create to allocate an
18263 (_dl_catch_exception): New function, based on _dl_catch_error.
18264 (_dl_catch_error): Implement using _dl_catch_exception.
18265 * elf/dl-exception.c: New file.
18266 * elf/Makefile (dl-routines): Add dl-exception.
18267 (elide-routines.os): Likewise.
18268 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
18269 _dl_exception_create_format, _dl_exception_free.
18270 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
18271 _dl_signal_exception.
18272 * elf/dl-lookup.c (make_string): Remove.
18273 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
18274 _dl_signal_cexception, _dl_exception_free.
18275 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
18276 _dl_signal_exception.
18277 * elf/dl-sym.c (do_sym): Likewise.
18278 * elf/dl-version.c (make_string): Remove.
18279 (match_symbol): Use _dl_exception_create_format,
18280 _dl_signal_cexception, _dl_exception_free.
18281 (_dl_check_map_versions): Likewise.
18282 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
18283 _dl_catch_exception.
18284 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
18285 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
18286 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
18287 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
18288 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
18289 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
18290 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
18291 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
18293 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
18294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
18296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
18298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
18300 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
18301 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
18302 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
18304 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
18306 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
18308 2017-08-10 Florian Weimer <fweimer@redhat.com>
18310 * inet/net-internal.h (__inet6_scopeid_pton): Remove
18311 attribute_hidden, internal_function.
18312 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
18315 2017-08-10 Florian Weimer <fweimer@redhat.com>
18317 * malloc/malloc.c (get_max_fast): Reimplement as an inline
18318 function which calls __builtin_unreachable.
18320 2017-08-10 Mike FABIAN <mfabian@redhat.com>
18322 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
18323 Indian monetary formatting
18324 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
18327 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
18329 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
18330 Fix typo in comment.
18333 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
18334 PTRACE_SEIZE_DEVEL): Remove.
18335 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18336 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18337 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18338 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18339 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18341 2017-08-09 Joseph Myers <joseph@codesourcery.com>
18343 * posix/bits/types.h (__qaddr_t): Remove.
18346 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
18347 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
18349 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
18350 (ucontext_t): Use __ctx with uc_flags.
18351 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
18352 (__ctxt): Likewise.
18353 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
18355 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
18356 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
18358 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
18359 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
18361 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
18363 (ucontext_t): Use __ctx with uc_flags.
18364 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
18365 (ucontext_t): Use __ctx with uc_flags.
18366 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
18367 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
18368 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
18369 (ucontext_t): Use __ctx with uc_flags.
18370 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
18371 undefine further down.
18372 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
18374 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
18375 undefine further down.
18376 (ucontext_t): Use __ctx with uc_flags.
18377 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
18378 undefine further down.
18379 (ucontext_t): Use __ctx with uc_flags.
18380 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
18381 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
18382 Rename uc_pad to __glibc_reserved1.
18383 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
18384 undefine further down.
18385 (ucontext_t): Use __ctx with uc_flags.
18386 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
18388 (ucontext_t): Use __ctx with uc_flags.
18389 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
18390 __ctx with uc_flags.
18391 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
18392 (ucontext_t): Use __ctx with uc_flags.
18393 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
18394 __ctx with uc_flags.
18396 2017-08-09 Florian Weimer <fweimer@redhat.com>
18399 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
18400 before early return.
18402 2017-08-09 Andreas Schwab <schwab@suse.de>
18405 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
18409 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
18410 tst-compat-forwarder.
18411 (modules-names): Add tst-compat-forwarder-mod.
18412 ($(objpfx)tst-compat-forwarder): Depend on
18413 $(objpfx)tst-compat-forwarder-mod.so.
18414 * nptl/tst-compat-forwarder.c: New file.
18415 * nptl/tst-compat-forwarder-mod.c: New file.
18417 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
18419 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
18422 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
18423 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
18425 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
18427 (__libc_ifunc_impl_list): Add __memcpy_falkor.
18428 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
18429 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
18430 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
18432 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
18435 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18438 * manual/setjmp.texi (getcontex): Document uc_stack value
18439 compatibility differences.
18441 2017-08-08 Joseph Myers <joseph@codesourcery.com>
18443 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
18444 (old_malloc_hook): Likewise.
18445 (old_memalign_hook): Likewise.
18446 (old_realloc_hook): Likewise.
18447 (struct hdr): Likewise.
18449 (freehook): Likewise.
18450 (mallochook): Likewise.
18451 (memalignhook): Likewise.
18452 (reallochook): Likewise.
18453 (mprobe): Likewise.
18454 * malloc/mtrace.c (mallwatch): Likewise.
18455 (tr_old_free_hook): Likewise.
18456 (tr_old_malloc_hook): Likewise.
18457 (tr_old_realloc_hook): Likewise.
18458 (tr_old_memalign_hook): Likewise.
18459 (tr_where): Likewise.
18460 (lock_and_info): Likewise.
18461 (tr_freehook): Likewise.
18462 (tr_mallochook): Likewise.
18463 (tr_reallochook): Likewise.
18464 (tr_memalignhook): Likewise.
18465 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
18466 * misc/mmap.c (__mmap): Likewise.
18467 * misc/mmap64.c (__mmap64): Likewise.
18468 * misc/mprotect.c (__mprotect): Likewise.
18469 * misc/msync.c (msync): Likewise.
18470 * misc/munmap.c (__munmap): Likewise.
18471 * posix/posix_madvise.c (posix_madvise): Likewise.
18472 * socket/send.c (__send): Likewise.
18473 * socket/sendto.c (__sendto): Likewise.
18474 * socket/setsockopt.c (__setsockopt): Likewise.
18475 * string/memcmp.c (__ptr_t): Remove macro.
18476 (MEMCMP): Use void * instead of ptr_t.
18477 * string/memrchr.c (__ptr_t): Remove macro.
18478 (__memrchr): Use void * instead of ptr_t.
18479 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
18480 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
18481 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
18482 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
18483 * sysdeps/mach/msync.c (msync): Likewise.
18484 * sysdeps/mach/munmap.c (__munmap): Likewise.
18485 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
18487 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
18488 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
18489 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
18490 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
18491 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
18492 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18493 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
18494 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
18496 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18497 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
18498 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
18499 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
18500 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
18501 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
18502 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
18503 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
18504 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
18506 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
18507 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
18508 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
18509 (MEMCMP): Use void * instead of ptr_t.
18510 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
18511 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
18513 2017-08-08 Florian Weimer <fweimer@redhat.com>
18515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
18518 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
18521 * csu/libc-tls.c: Include <startup.h> first.
18522 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
18523 * elf/dl-tunables.c: Include <startup.h> first.
18524 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
18525 * sysdeps/generic/startup.h: New file.
18526 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
18527 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
18528 (I386_USE_SYSENTER): New. Defined to 0.
18530 2017-08-08 Andreas Schwab <schwab@suse.de>
18533 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
18534 * nptl/pt-system.c (system): Likewise.
18536 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18539 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
18541 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18542 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18543 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
18544 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18545 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18546 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18547 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
18549 2017-08-07 Joseph Myers <joseph@codesourcery.com>
18552 * bits/sigaction.h (struct sigaction): Define sa_handler and
18553 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
18554 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18555 [__USE_XOPEN_EXTENDED].
18556 (SA_RESTART): Likewise.
18557 (SA_NODEFER): Likewise.
18558 (SA_RESETHAND): Likewise.
18559 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
18560 (struct sigaction): Define sa_handler and sa_sigaction using union
18561 also for [__USE_XOPEN_EXTENDED].
18562 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18563 [__USE_XOPEN_EXTENDED].
18564 (SA_RESTART): Likewise.
18565 (SA_NODEFER): Likewise.
18566 (SA_RESETHAND): Likewise.
18567 * sysdeps/unix/sysv/linux/bits/sigaction.h
18568 (struct sigaction): Define sa_handler and sa_sigaction using union
18569 also for [__USE_XOPEN_EXTENDED].
18570 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18571 [__USE_XOPEN_EXTENDED].
18572 (SA_RESTART): Likewise.
18573 (SA_NODEFER): Likewise.
18574 (SA_RESETHAND): Likewise.
18575 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
18576 (struct sigaction): Define sa_handler and sa_sigaction using union
18577 also for [__USE_XOPEN_EXTENDED].
18578 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18579 [__USE_XOPEN_EXTENDED].
18580 (SA_RESTART): Likewise.
18581 (SA_NODEFER): Likewise.
18582 (SA_RESETHAND): Likewise.
18583 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
18584 (struct sigaction): Define sa_handler and sa_sigaction using union
18585 also for [__USE_XOPEN_EXTENDED].
18586 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18587 [__USE_XOPEN_EXTENDED].
18588 (SA_RESTART): Likewise.
18589 (SA_NODEFER): Likewise.
18590 (SA_RESETHAND): Likewise.
18591 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
18592 (struct sigaction): Define sa_handler and sa_sigaction using union
18593 also for [__USE_XOPEN_EXTENDED].
18594 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18595 [__USE_XOPEN_EXTENDED].
18596 (SA_RESTART): Likewise.
18597 (SA_NODEFER): Likewise.
18598 (SA_RESETHAND): Likewise.
18599 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18600 (struct sigaction): Define sa_handler and sa_sigaction using union
18601 also for [__USE_XOPEN_EXTENDED].
18602 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18603 [__USE_XOPEN_EXTENDED].
18604 (SA_RESTART): Likewise.
18605 (SA_NODEFER): Likewise.
18606 (SA_RESETHAND): Likewise.
18607 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18608 (struct sigaction): Define sa_handler and sa_sigaction using union
18609 also for [__USE_XOPEN_EXTENDED].
18610 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18611 [__USE_XOPEN_EXTENDED].
18612 (SA_RESTART): Likewise.
18613 (SA_NODEFER): Likewise. Define directly rather than as alias.
18614 (SA_RESETHAND): Likewise.
18615 (SA_INTERRUPT): Define only for [__USE_MISC].
18616 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
18617 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
18619 (SA_STACK): Define only for [__USE_MISC].
18620 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
18621 (struct sigaction): Define sa_handler and sa_sigaction using union
18622 also for [__USE_XOPEN_EXTENDED].
18623 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18624 [__USE_XOPEN_EXTENDED].
18625 (SA_RESTART): Likewise.
18626 (SA_NODEFER): Likewise.
18627 (SA_RESETHAND): Likewise.
18628 (SA_NOPTRACE): Define only for [__USE_MISC].
18630 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
18631 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
18632 (struct catalog_info): Likewise.
18633 * inet/htontest.c (lo): Likewise.
18635 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18636 * inet/inet_net.c (inet_network): Likewise.
18637 * inet/inet_netof.c (inet_netof): Likewise.
18638 * inet/rcmd.c (__ivaliduser): Likewise.
18639 (iruserok): Likewise.
18640 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
18641 * locale/programs/locale-spec.c (locale_special): Likewise.
18642 * nis/nis_findserv.c (struct findserv_req): Likewise.
18643 (__nis_findfastest_with_timeout): Likewise.
18644 * nss/test-netdb.c (test_network): Likewise.
18645 * resolv/inet_neta.c (inet_neta): Likewise.
18646 * resolv/ns_date.c (ns_datetosecs): Likewise.
18647 (SECS_PER_DAY): Likewise.
18648 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
18650 * resolv/res_comp.c (__putlong): Likewise.
18651 (__putshort): Likewise.
18652 (_getlong): Likewise.
18653 (_getshort): Likewise.
18654 * resolv/res_debug.c (p_time): Likewise.
18655 (precsize_ntoa): Likewise.
18656 (precsize_aton): Likewise.
18657 (latlon2ul): Likewise.
18658 (loc_aton): Likewise.
18659 (loc_ntoa): Likewise.
18660 * resolv/res_hconf.c (struct netaddr): Likewise.
18661 (_res_hconf_reorder_addrs): Likewise.
18662 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
18663 (clnttcp_control): Likewise.
18664 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18665 (clntudp_control): Likewise.
18666 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
18667 (clntunix_control): Likewise.
18668 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
18669 * sunrpc/rpc/auth.h (union des_block): Likewise.
18670 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
18671 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
18672 (xdrrec_create): Likewise.
18673 (xdrrec_endofrecord): Likewise.
18674 (flush_out): Likewise.
18675 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
18676 (xdrstdio_putlong): Likewise.
18677 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
18680 * misc/sys/cdefs.h (__long_double_t): Remove.
18681 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
18682 instead of __long_double_t,
18683 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
18685 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
18687 * benchtests/scripts/compare_strings.py: Avoid display error when
18688 running on a text terminal.
18690 * benchtests/scripts/compare_strings.py (main): Add an
18691 optional -base option.
18692 (process_results): New argument base_func.
18694 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
18696 * benchtests/bench-memcpy-large.c (test_name): Likewise.
18697 * benchtests/bench-memcpy-random.c (test_name): Likewise.
18699 2017-08-07 Andreas Schwab <schwab@suse.de>
18701 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
18702 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18703 * intl/Makefile ($(objpfx)tst-gettext.out)
18704 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
18705 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
18706 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18707 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18708 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
18709 * posix/Makefile ($(objpfx)globtest.out)
18710 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
18711 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
18712 ($(objpfx)tst-printf.out): Likewise.
18713 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
18714 ($(objpfx)tst-setcontext3.out): Likewise.
18716 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
18718 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18719 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
18720 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
18721 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
18722 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
18724 (CFLAGS-doasin-fma.c): New.
18725 (CFLAGS-dosincos-fma.c): Likewise.
18726 (CFLAGS-e_asin-fma.c): Likewise.
18727 (CFLAGS-e_atan2-fma.c): Likewise.
18728 (CFLAGS-e_exp-fma.c): Likewise.
18729 (CFLAGS-e_log-fma.c): Likewise.
18730 (CFLAGS-e_pow-fma.c): Likewise.
18731 (CFLAGS-halfulp-fma.c): Likewise.
18732 (CFLAGS-mpa-fma.c): Likewise.
18733 (CFLAGS-mpatan-fma.c): Likewise.
18734 (CFLAGS-mpatan2-fma.c): Likewise.
18735 (CFLAGS-mpexp-fma.c): Likewise.
18736 (CFLAGS-mplog-fma.c): Likewise.
18737 (CFLAGS-mpsqrt-fma.c): Likewise.
18738 (CFLAGS-mptan-fma.c): Likewise.
18739 (CFLAGS-s_atan-fma.c): Likewise.
18740 (CFLAGS-sincos32-fma.c): Likewise.
18741 (CFLAGS-slowexp-fma.c): Likewise.
18742 (CFLAGS-slowpow-fma.c): Likewise.
18743 (CFLAGS-s_sin-fma.c): Likewise.
18744 (CFLAGS-s_tan-fma.c): Likewise.
18745 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
18746 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
18747 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
18748 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
18749 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
18750 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18751 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
18752 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
18753 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
18754 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
18755 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
18756 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
18757 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
18758 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18759 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18760 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
18761 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
18762 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
18763 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
18764 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
18765 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
18766 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18767 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18768 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
18769 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18770 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18771 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18772 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
18773 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18774 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18775 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18777 2017-08-04 Joseph Myers <joseph@codesourcery.com>
18779 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
18780 (min_of_type_f): New macro.
18781 (min_of_type_): Likewise.
18782 (min_of_type_l): Likewise.
18783 (min_of_type_f128): Likewise.
18784 (min_of_type): Define using __MATH_TG and taking an expression
18786 (math_check_force_underflow): Pass expression instead of type to
18788 (math_check_force_underflow_nonneg): Likewise.
18790 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18792 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
18793 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
18794 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
18796 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18798 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18799 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
18800 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
18801 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
18802 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
18803 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
18804 memcpy_chk-nonshared, mempcpy_chk-nonshared,
18805 memmove_chk-nonshared and memset_chk-nonshared
18806 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
18807 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
18808 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
18809 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
18810 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
18811 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
18812 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
18813 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
18814 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
18815 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
18816 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
18817 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
18818 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
18819 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
18820 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
18821 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
18822 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
18823 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
18824 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
18825 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
18826 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
18827 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
18828 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
18829 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
18830 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
18831 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
18832 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
18833 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
18834 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
18835 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
18836 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
18837 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
18838 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
18839 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
18840 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
18841 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
18842 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
18843 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
18844 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
18845 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
18846 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
18847 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
18848 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
18849 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
18850 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
18851 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
18852 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
18853 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
18854 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
18855 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
18856 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
18857 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
18858 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
18859 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
18860 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
18861 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
18862 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
18863 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
18864 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
18865 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
18866 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
18867 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
18868 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
18869 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
18870 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
18871 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
18872 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
18873 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
18874 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
18875 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
18876 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
18877 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18878 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18879 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18880 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18881 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18882 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18883 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18884 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18885 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18886 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18887 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18888 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18889 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18890 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18891 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18892 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18893 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18894 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18895 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18896 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18897 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18898 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18899 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18900 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18901 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18902 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18903 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18904 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18905 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18906 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18907 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18908 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18909 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18910 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18911 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18912 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18913 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18915 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18917 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
18918 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
18919 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
18920 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
18921 svml_d_log2_core-sse2, svml_d_log4_core-sse,
18922 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
18923 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
18924 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
18925 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
18926 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
18927 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
18928 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
18929 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
18930 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
18931 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
18932 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
18933 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
18934 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
18935 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
18936 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
18937 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
18938 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
18939 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
18940 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
18941 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
18942 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
18943 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
18944 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
18945 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
18946 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
18947 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
18948 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
18949 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
18950 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
18951 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
18952 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
18953 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
18954 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
18955 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
18956 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
18957 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
18958 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
18959 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
18960 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
18961 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
18962 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
18963 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
18964 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
18965 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
18966 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
18967 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
18968 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
18969 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
18970 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
18971 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
18972 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
18973 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
18974 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
18975 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
18977 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
18978 Don't include <sysdep.h> nor <init-arch.h>.
18979 (_ZGVbN2v_cos): Removed.
18980 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
18982 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
18983 Don't include <sysdep.h> nor <init-arch.h>.
18984 (_ZGVdN4v_cos): Removed.
18985 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
18987 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
18988 Don't include <sysdep.h> nor <init-arch.h>.
18989 (_ZGVeN8v_cos): Removed.
18990 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
18992 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
18993 Don't include <sysdep.h> nor <init-arch.h>.
18994 (_ZGVbN2v_exp): Removed.
18995 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
18997 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
18998 Don't include <sysdep.h> nor <init-arch.h>.
18999 (_ZGVdN4v_exp): Removed.
19000 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
19002 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
19003 Don't include <sysdep.h> nor <init-arch.h>.
19004 (_ZGVeN8v_exp): Removed.
19005 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
19007 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
19008 Don't include <sysdep.h> nor <init-arch.h>.
19009 (_ZGVbN2v_log): Removed.
19010 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
19012 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
19013 Don't include <sysdep.h> nor <init-arch.h>.
19014 (_ZGVdN4v_log): Removed.
19015 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
19017 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
19018 Don't include <sysdep.h> nor <init-arch.h>.
19019 (_ZGVeN8v_log): Removed.
19020 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
19022 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
19023 Don't include <sysdep.h> nor <init-arch.h>.
19024 (_ZGVbN2vv_pow): Removed.
19025 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
19027 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
19028 Don't include <sysdep.h> nor <init-arch.h>.
19029 (_ZGVdN4vv_pow): Removed.
19030 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
19032 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
19033 Don't include <sysdep.h> nor <init-arch.h>.
19034 (_ZGVeN8vv_pow): Removed.
19035 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
19037 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
19038 Don't include <sysdep.h> nor <init-arch.h>.
19039 (_ZGVbN2v_sin): Removed.
19040 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
19042 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
19043 Don't include <sysdep.h> nor <init-arch.h>.
19044 (_ZGVbN4v_sin): Removed.
19045 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
19047 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
19048 Don't include <sysdep.h> nor <init-arch.h>.
19049 (_ZGVbN8v_sin): Removed.
19050 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
19052 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
19053 Don't include <sysdep.h> nor <init-arch.h>.
19054 (_ZGVbN2vvv_sincos): Removed.
19055 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
19057 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
19058 Don't include <sysdep.h> nor <init-arch.h>.
19059 (_ZGVdN4vvv_sincos): Removed.
19060 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
19062 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
19063 Don't include <sysdep.h> nor <init-arch.h>.
19064 (_ZGVeN8vvv_sincos): Removed.
19065 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
19067 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
19068 Don't include <sysdep.h> nor <init-arch.h>.
19069 (_ZGVeN16v_cosf): Removed.
19070 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
19072 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
19073 Don't include <sysdep.h> nor <init-arch.h>.
19074 (_ZGVbN4v_cosf): Removed.
19075 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
19077 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
19078 Don't include <sysdep.h> nor <init-arch.h>.
19079 (_ZGVdN8v_cosf): Removed.
19080 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
19082 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
19083 Don't include <sysdep.h> nor <init-arch.h>.
19084 (_ZGVeN16v_expf): Removed.
19085 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
19087 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
19088 Don't include <sysdep.h> nor <init-arch.h>.
19089 (_ZGVbN4v_expf): Removed.
19090 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
19092 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
19093 Don't include <sysdep.h> nor <init-arch.h>.
19094 (_ZGVdN8v_expf): Removed.
19095 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
19097 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
19098 Don't include <sysdep.h> nor <init-arch.h>.
19099 (_ZGVeN16v_logf): Removed.
19100 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
19102 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
19103 Don't include <sysdep.h> nor <init-arch.h>.
19104 (_ZGVbN4v_logf): Removed.
19105 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
19107 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
19108 Don't include <sysdep.h> nor <init-arch.h>.
19109 (_ZGVdN8v_logf): Removed.
19110 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
19112 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
19113 Don't include <sysdep.h> nor <init-arch.h>.
19114 (_ZGVeN16vv_powf): Removed.
19115 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
19117 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
19118 Don't include <sysdep.h> nor <init-arch.h>.
19119 (_ZGVbN4vv_powf): Removed.
19120 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
19122 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
19123 Don't include <sysdep.h> nor <init-arch.h>.
19124 (_ZGVdN8vv_powf): Removed.
19125 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
19127 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
19128 Don't include <sysdep.h> nor <init-arch.h>.
19129 (_ZGVeN16vvv_sincosf): Removed.
19130 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
19132 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
19133 Don't include <sysdep.h> nor <init-arch.h>.
19134 (_ZGVbN4vvv_sincosf): Removed.
19135 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
19137 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
19138 Don't include <sysdep.h> nor <init-arch.h>.
19139 (_ZGVdN8vvv_sincosf): Removed.
19140 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
19142 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
19143 Don't include <sysdep.h> nor <init-arch.h>.
19144 (_ZGVeN16v_sinf): Removed.
19145 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
19147 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
19148 Don't include <sysdep.h> nor <init-arch.h>.
19149 (_ZGVbN4v_sinf): Removed.
19150 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
19152 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
19153 Don't include <sysdep.h> nor <init-arch.h>.
19154 (_ZGVdN8v_sinf): Removed.
19156 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19158 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19159 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
19160 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
19161 s_rint-sse4_1 and s_rintf-sse4_1.
19162 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
19163 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
19164 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
19165 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
19166 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
19167 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
19168 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
19169 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
19170 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
19171 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
19172 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
19173 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
19175 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
19176 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
19177 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
19178 (__ceilf): Removed.
19179 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
19180 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
19181 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
19182 (__floor): Removed.
19183 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
19184 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
19185 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
19186 (__floorf): Removed.
19187 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
19188 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
19189 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
19190 (__nearbyint): Removed.
19191 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
19192 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
19193 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
19194 (__nearbyintf): Removed.
19195 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
19196 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
19197 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
19199 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
19200 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
19201 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
19202 (__rintf): Removed.
19204 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19206 * sysdeps/i386/start.S (_start): Check Check PIC instead of
19207 SHARED. Avoid dynamic relocation against main in static PIE.
19209 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19212 * elf/Makefile (CFLAGS-tst-prelink.c): New.
19213 (LDFLAGS-tst-prelink): Likewise.
19215 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19217 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
19218 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
19219 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
19220 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
19221 (INTERNAL_SYSCALL_NCS): Likewise.
19222 (LOADARGS_1): Likewise.
19223 (LOADARGS_5): Likewise.
19224 (RESTOREARGS_1): Likewise.
19225 (RESTOREARGS_5): Likewise.
19227 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19229 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
19230 (MEMPCPY_SYMBOL): Likewise.
19231 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19232 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
19233 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
19235 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19236 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19238 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
19239 (__hidden_ver1): Don't use in libc.a.
19240 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
19241 (__mempcpy): Don't create a weak alias in libc.a.
19242 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
19244 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
19245 (__hidden_ver1): Don't use in libc.a.
19247 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19249 * config.make.in (have-insert): New.
19250 * configure.ac (libc_cv_insert): New. Set to yes if linker
19251 supports INSERT in linker script.
19252 (AC_SUBST(libc_cv_insert): New.
19253 * configure: Regenerated.
19254 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
19255 if $(have-insert) == yes.
19257 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19259 * elf/Makefile (tests): Add vismain only if
19260 $(have-protected-data) == yes.
19261 (tests-pie): Likewise.
19263 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19266 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
19267 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
19269 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19272 * sysdeps/i386/i586/memset.S
19273 (__memset_zero_constant_len_parameter): Removed.
19274 * sysdeps/i386/i686/memset.S
19275 (__memset_zero_constant_len_parameter): Likewise.
19276 * sysdeps/i386/i686/multiarch/memset_chk.S
19277 (__memset_zero_constant_len_parameter): Likewise.
19278 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
19281 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
19283 * stdlib/getentropy.c (getentropy): Change return type to int.
19285 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
19287 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19289 2017-08-03 Joseph Myers <joseph@codesourcery.com>
19291 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
19293 * math/s_nexttowardf.c (__nexttowardf): Likewise.
19294 * sysdeps/generic/math_private.h (ieee_double_shape_type):
19296 (ieee_float_shape_type): Likewise.
19297 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
19298 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
19299 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19300 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19301 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19302 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
19303 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
19304 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19305 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
19307 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19308 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19309 (__ieee754_yn): Likewise.
19310 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19311 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19312 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
19314 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19315 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
19316 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
19317 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
19318 (__erfc): Likewise.
19319 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
19320 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
19321 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
19322 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
19323 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
19324 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
19326 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
19327 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
19328 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
19329 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
19330 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19331 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
19332 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
19333 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
19334 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
19335 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
19336 (__issignaling): Likewise.
19337 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
19338 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
19339 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19341 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19342 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
19343 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
19344 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
19346 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
19348 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
19349 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
19350 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
19351 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
19352 (__erfcf): Likewise.
19353 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
19354 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
19355 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
19356 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
19358 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
19359 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
19361 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
19362 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
19363 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
19364 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
19365 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
19366 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19367 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
19368 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
19370 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
19372 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
19374 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
19375 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19377 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19379 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19380 (__ieee754_ynl): Likewise.
19381 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19382 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
19384 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
19386 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
19387 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
19388 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19390 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
19391 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
19392 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
19393 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
19394 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
19395 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
19396 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
19397 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
19399 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
19400 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
19401 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
19403 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
19404 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
19405 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
19406 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
19407 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
19408 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19410 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19412 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19414 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19416 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
19417 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19418 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19419 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
19420 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
19421 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
19422 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
19424 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19426 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19427 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19429 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
19430 (__ieee754_remainderl): Likewise.
19431 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19432 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19433 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19434 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19436 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19437 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19439 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19440 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
19441 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19442 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
19443 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
19444 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19446 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19447 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
19448 (__ieee754_y0l): Likewise.
19451 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19452 (__ieee754_y1l): Likewise.
19455 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19456 (__ieee754_ynl): Likewise.
19457 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
19458 (__ieee754_lgammal_r): Likewise.
19459 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
19461 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
19462 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
19463 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
19464 (__erfcl): Likewise.
19465 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
19466 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
19468 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
19469 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
19470 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
19471 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
19472 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
19473 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19474 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19476 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
19477 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19478 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
19479 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
19480 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19482 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
19483 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
19485 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
19486 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
19487 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
19488 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19489 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
19491 2017-08-03 Florian Weimer <fweimer@redhat.com>
19494 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
19495 on memory allocation failure.
19497 2017-08-03 Alan Modra <amodra@gmail.com>
19499 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
19500 tst-tlsopt-powerpc.c with function name change and no test harness.
19501 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
19502 Call tls_get_addr_opt_test.
19503 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
19504 (modules-names): Add mod-tlsopt-powerpc.
19505 (mod-tlsopt-powerpc.so-no-z-defs): Define.
19506 (tst-tlsopt-powerpc): Depend on .so.
19507 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
19508 define. Expand use in TLS_GD and TLS_LD.
19510 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19512 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
19514 * sysdeps/posix/shm_open.c: Include <pthread.h>.
19516 2017-08-02 Joseph Myers <joseph@codesourcery.com>
19519 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
19520 comparing size with that of double.
19521 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
19522 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
19523 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
19524 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
19525 (__TGMATH_BINARY_REAL_IMAG): Likewise.
19526 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
19527 unsigned __int128 types.
19529 2017-08-02 Steve Ellcey <sellcey@cavium.com>
19531 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
19532 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
19533 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
19534 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
19535 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
19537 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
19539 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
19541 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
19543 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
19545 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
19546 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19547 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19548 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19549 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19550 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19551 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19553 2017-08-02 Joseph Myers <joseph@codesourcery.com>
19556 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
19557 bit-field expressions passed to sizeof or typeof.
19558 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19559 (__TGMATH_F128): Likewise.
19560 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19561 (__TGMATH_CF128): Likewise.
19562 (__TGMATH_UNARY_REAL_ONLY): Likewise.
19563 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
19564 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
19565 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
19566 (__TGMATH_BINARY_REAL_ONLY): Likewise.
19567 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
19568 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
19569 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
19570 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
19571 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
19572 (__TGMATH_UNARY_REAL_IMAG): Likewise.
19573 (__TGMATH_UNARY_IMAG): Likewise.
19574 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
19575 (__TGMATH_BINARY_REAL_IMAG): Likewise.
19576 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
19578 (define_vars_for_type): Handle bit_field type specially.
19579 (Tests.__init__): Declare structure with bit-field element.
19581 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
19584 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
19585 (MEMCPY_CHK): Define only if SHARED is defined.
19586 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
19588 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
19591 See ChangeLog.18 for earlier changes.